@paperless/core 0.1.0-alpha.4 → 0.1.0-alpha.43

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 (303) hide show
  1. package/CHANGELOG.md +381 -0
  2. package/README.md +18 -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/images/avatar/company-default.svg +12 -0
  9. package/dist/assets/images/avatar/user-default.svg +12 -0
  10. package/dist/assets/images/helper/helper-hover.svg +15 -0
  11. package/dist/assets/images/helper/helper.svg +15 -0
  12. package/dist/build/p-0100c1a2.js +2 -0
  13. package/dist/build/p-11d24001.entry.js +1 -0
  14. package/dist/build/p-19d84fe7.entry.js +1 -0
  15. package/dist/build/p-2120a0b7.entry.js +1 -0
  16. package/dist/build/p-3b491ca2.entry.js +1 -0
  17. package/dist/build/p-3f6d3736.entry.js +1 -0
  18. package/dist/build/p-463f354c.entry.js +1 -0
  19. package/dist/build/p-4a85b858.entry.js +1 -0
  20. package/dist/build/p-5101f35f.entry.js +1 -0
  21. package/dist/build/p-5438d70e.entry.js +1 -0
  22. package/dist/build/p-63e5f5e1.entry.js +1 -0
  23. package/dist/build/p-67fc89a6.entry.js +1 -0
  24. package/dist/build/p-6e60b92a.entry.js +1 -0
  25. package/dist/build/p-7784ee14.entry.js +1 -0
  26. package/dist/build/p-864ac423.entry.js +1 -0
  27. package/dist/build/p-94cef335.entry.js +1 -0
  28. package/dist/build/p-a7086ffa.js +1 -0
  29. package/dist/build/p-b68368f3.entry.js +1 -0
  30. package/dist/build/p-c64e2313.entry.js +1 -0
  31. package/dist/build/p-ccbddcbb.entry.js +1 -0
  32. package/dist/build/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
  33. package/dist/build/p-f50c6e5b.entry.js +1 -0
  34. package/dist/build/p-fb1e33eb.entry.js +1 -0
  35. package/dist/build/p-ffeed7c6.entry.js +1 -0
  36. package/dist/build/paperless.css +29 -18
  37. package/dist/build/paperless.esm.js +1 -1
  38. package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +189 -3
  39. package/dist/cjs/loader.cjs.js +2 -2
  40. package/dist/cjs/p-avatar.cjs.entry.js +35 -0
  41. package/dist/cjs/p-button_3.cjs.entry.js +164 -19
  42. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  43. package/dist/cjs/p-card-container.cjs.entry.js +23 -0
  44. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  45. package/dist/cjs/p-counter.cjs.entry.js +19 -0
  46. package/dist/cjs/p-divider.cjs.entry.js +19 -0
  47. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  48. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  49. package/dist/cjs/p-dropdown.cjs.entry.js +141 -0
  50. package/dist/cjs/p-helper.cjs.entry.js +19 -0
  51. package/dist/cjs/p-illustration.cjs.entry.js +9 -12
  52. package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
  53. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
  54. package/dist/cjs/p-modal.cjs.entry.js +39 -0
  55. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  56. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  57. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  58. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  59. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  60. package/dist/cjs/p-status.cjs.entry.js +49 -0
  61. package/dist/cjs/p-tooltip.cjs.entry.js +75 -1811
  62. package/dist/cjs/paperless.cjs.js +2 -2
  63. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  64. package/dist/collection/assets/icons/checklist.svg +17 -0
  65. package/dist/collection/assets/icons/folder.svg +19 -0
  66. package/dist/collection/assets/icons/integration.svg +17 -0
  67. package/dist/collection/assets/icons/task.svg +17 -0
  68. package/dist/collection/assets/icons/template.svg +17 -0
  69. package/dist/collection/assets/images/avatar/company-default.svg +12 -0
  70. package/dist/collection/assets/images/avatar/user-default.svg +12 -0
  71. package/dist/collection/assets/images/helper/helper-hover.svg +15 -0
  72. package/dist/collection/assets/images/helper/helper.svg +15 -0
  73. package/dist/collection/collection-manifest.json +24 -1
  74. package/dist/collection/components/atoms/avatar/avatar.component.css +31 -0
  75. package/dist/collection/components/atoms/avatar/avatar.component.js +108 -0
  76. package/dist/collection/components/atoms/button/button.component.css +23 -1
  77. package/dist/collection/components/atoms/button/button.component.js +90 -14
  78. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  79. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  80. package/dist/collection/components/atoms/card-container/card-container.component.css +13 -0
  81. package/dist/collection/components/atoms/card-container/card-container.component.js +41 -0
  82. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  83. package/dist/collection/components/atoms/card-header/card-header.component.js +60 -0
  84. package/dist/collection/components/atoms/counter/counter.component.css +5 -0
  85. package/dist/collection/components/atoms/counter/counter.component.js +15 -0
  86. package/dist/collection/components/atoms/divider/divider.component.css +3 -0
  87. package/dist/collection/components/atoms/divider/divider.component.js +14 -0
  88. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +5 -0
  89. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  90. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  91. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +41 -0
  92. package/dist/collection/components/atoms/helper/helper.component.css +7 -0
  93. package/dist/collection/components/atoms/helper/helper.component.js +18 -0
  94. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  95. package/dist/collection/components/atoms/icon/icon.component.js +63 -20
  96. package/dist/collection/components/atoms/illustration/illustration.component.js +2 -9
  97. package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
  98. package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
  99. package/dist/collection/components/atoms/loader/loader.component.css +2 -2
  100. package/dist/collection/components/atoms/loader/loader.component.js +4 -3
  101. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  102. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  103. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  104. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  105. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  106. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  107. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
  108. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
  109. package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
  110. package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -0
  111. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  112. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  113. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  114. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  115. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  116. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  117. package/dist/collection/components/atoms/status/status.component.css +16 -0
  118. package/dist/collection/components/atoms/status/status.component.js +133 -0
  119. package/dist/collection/components/atoms/tooltip/tooltip.component.css +19 -13
  120. package/dist/collection/components/atoms/tooltip/tooltip.component.js +133 -35
  121. package/dist/collection/components/molecules/dropdown/dropdown.component.css +9 -0
  122. package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -0
  123. package/dist/collection/components/molecules/modal/modal.component.js +111 -0
  124. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +28 -0
  125. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  126. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  127. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  128. package/dist/collection/tailwind/animation.js +17 -0
  129. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  130. package/dist/collection/tailwind/border-radius.js +8 -6
  131. package/dist/collection/tailwind/grid.js +24 -4
  132. package/dist/collection/tailwind/typography.js +21 -0
  133. package/dist/collection/tailwind/z-index.js +3 -0
  134. package/dist/collection/tailwind.config.js +21 -13
  135. package/dist/collection/utils/child-of.js +5 -0
  136. package/dist/collection/utils/icons.js +10 -0
  137. package/dist/collection/utils/types.js +1 -0
  138. package/dist/components/counter.component.js +30 -0
  139. package/dist/components/divider.component.js +30 -0
  140. package/dist/components/dropdown-menu-container.component.js +29 -0
  141. package/dist/components/icon.component.js +137 -9
  142. package/dist/components/index.d.ts +23 -0
  143. package/dist/components/index.js +23 -0
  144. package/dist/components/loader.component.js +5 -4
  145. package/dist/components/modal-backdrop.component.js +30 -0
  146. package/dist/components/modal-body.component.js +36 -0
  147. package/dist/components/modal-container.component.js +48 -0
  148. package/dist/components/modal-footer.component.js +36 -0
  149. package/dist/components/modal-header.component.js +30 -0
  150. package/dist/components/p-avatar.d.ts +11 -0
  151. package/dist/components/p-avatar.js +55 -0
  152. package/dist/components/p-button.js +25 -6
  153. package/dist/components/p-card-body.d.ts +11 -0
  154. package/dist/components/p-card-body.js +38 -0
  155. package/dist/components/p-card-container.d.ts +11 -0
  156. package/dist/components/p-card-container.js +39 -0
  157. package/dist/components/p-card-header.d.ts +11 -0
  158. package/dist/components/p-card-header.js +46 -0
  159. package/dist/components/p-counter.d.ts +11 -0
  160. package/dist/components/p-counter.js +6 -0
  161. package/dist/components/p-divider.d.ts +11 -0
  162. package/dist/components/p-divider.js +6 -0
  163. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  164. package/dist/components/p-dropdown-menu-container.js +6 -0
  165. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  166. package/dist/components/p-dropdown-menu-item.js +39 -0
  167. package/dist/components/p-dropdown.d.ts +11 -0
  168. package/dist/components/p-dropdown.js +166 -0
  169. package/dist/components/p-helper.d.ts +11 -0
  170. package/dist/components/p-helper.js +39 -0
  171. package/dist/components/p-illustration.js +0 -4
  172. package/dist/components/p-info-panel.d.ts +11 -0
  173. package/dist/components/p-info-panel.js +56 -0
  174. package/dist/components/p-modal-backdrop.d.ts +11 -0
  175. package/dist/components/p-modal-backdrop.js +6 -0
  176. package/dist/components/p-modal-body.d.ts +11 -0
  177. package/dist/components/p-modal-body.js +6 -0
  178. package/dist/components/p-modal-container.d.ts +11 -0
  179. package/dist/components/p-modal-container.js +6 -0
  180. package/dist/components/p-modal-footer.d.ts +11 -0
  181. package/dist/components/p-modal-footer.js +6 -0
  182. package/dist/components/p-modal-header.d.ts +11 -0
  183. package/dist/components/p-modal-header.js +6 -0
  184. package/dist/components/p-modal.d.ts +11 -0
  185. package/dist/components/p-modal.js +94 -0
  186. package/dist/components/p-navigation-item.d.ts +11 -0
  187. package/dist/components/p-navigation-item.js +55 -0
  188. package/dist/components/p-pagination-item.d.ts +11 -0
  189. package/dist/components/p-pagination-item.js +6 -0
  190. package/dist/components/p-pagination.d.ts +11 -0
  191. package/dist/components/p-pagination.js +200 -0
  192. package/dist/components/p-segment-container.d.ts +11 -0
  193. package/dist/components/p-segment-container.js +32 -0
  194. package/dist/components/p-segment-item.d.ts +11 -0
  195. package/dist/components/p-segment-item.js +54 -0
  196. package/dist/components/p-status.d.ts +11 -0
  197. package/dist/components/p-status.js +73 -0
  198. package/dist/components/p-tooltip.js +1 -1886
  199. package/dist/components/pagination-item.component.js +36 -0
  200. package/dist/components/popper.js +1788 -0
  201. package/dist/components/tooltip.component.js +154 -0
  202. package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +189 -3
  203. package/dist/esm/loader.js +2 -2
  204. package/dist/esm/p-avatar.entry.js +31 -0
  205. package/dist/esm/p-button_3.entry.js +164 -19
  206. package/dist/esm/p-card-body.entry.js +19 -0
  207. package/dist/esm/p-card-container.entry.js +19 -0
  208. package/dist/esm/p-card-header.entry.js +20 -0
  209. package/dist/esm/p-counter.entry.js +15 -0
  210. package/dist/esm/p-divider.entry.js +15 -0
  211. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  212. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  213. package/dist/esm/p-dropdown.entry.js +137 -0
  214. package/dist/esm/p-helper.entry.js +15 -0
  215. package/dist/esm/p-illustration.entry.js +9 -12
  216. package/dist/esm/p-info-panel.entry.js +27 -0
  217. package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
  218. package/dist/esm/p-modal.entry.js +35 -0
  219. package/dist/esm/p-navigation-item.entry.js +19 -0
  220. package/dist/esm/p-pagination-item.entry.js +19 -0
  221. package/dist/esm/p-pagination.entry.js +167 -0
  222. package/dist/esm/p-segment-container.entry.js +15 -0
  223. package/dist/esm/p-segment-item.entry.js +25 -0
  224. package/dist/esm/p-status.entry.js +45 -0
  225. package/dist/esm/p-tooltip.entry.js +75 -1811
  226. package/dist/esm/paperless.js +2 -2
  227. package/dist/esm/popper-41c6f9cd.js +1788 -0
  228. package/dist/index.html +1 -1
  229. package/dist/paperless/p-0100c1a2.js +2 -0
  230. package/dist/paperless/p-11d24001.entry.js +1 -0
  231. package/dist/paperless/p-19d84fe7.entry.js +1 -0
  232. package/dist/paperless/p-2120a0b7.entry.js +1 -0
  233. package/dist/paperless/p-3b491ca2.entry.js +1 -0
  234. package/dist/paperless/p-3f6d3736.entry.js +1 -0
  235. package/dist/paperless/p-463f354c.entry.js +1 -0
  236. package/dist/paperless/p-4a85b858.entry.js +1 -0
  237. package/dist/paperless/p-5101f35f.entry.js +1 -0
  238. package/dist/paperless/p-5438d70e.entry.js +1 -0
  239. package/dist/paperless/p-63e5f5e1.entry.js +1 -0
  240. package/dist/paperless/p-67fc89a6.entry.js +1 -0
  241. package/dist/paperless/p-6e60b92a.entry.js +1 -0
  242. package/dist/paperless/p-7784ee14.entry.js +1 -0
  243. package/dist/paperless/p-864ac423.entry.js +1 -0
  244. package/dist/paperless/p-94cef335.entry.js +1 -0
  245. package/dist/paperless/p-a7086ffa.js +1 -0
  246. package/dist/paperless/p-b68368f3.entry.js +1 -0
  247. package/dist/paperless/p-c64e2313.entry.js +1 -0
  248. package/dist/paperless/p-ccbddcbb.entry.js +1 -0
  249. package/dist/paperless/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
  250. package/dist/paperless/p-f50c6e5b.entry.js +1 -0
  251. package/dist/paperless/p-fb1e33eb.entry.js +1 -0
  252. package/dist/paperless/p-ffeed7c6.entry.js +1 -0
  253. package/dist/paperless/paperless.css +81 -26375
  254. package/dist/paperless/paperless.esm.js +1 -1
  255. package/dist/sw.js +683 -37
  256. package/dist/tailwind/animation.js +17 -0
  257. package/dist/tailwind/backdrop-blur.js +3 -0
  258. package/dist/tailwind/border-radius.js +10 -0
  259. package/dist/tailwind/colors.js +52 -0
  260. package/dist/tailwind/grid.js +26 -0
  261. package/dist/tailwind/rotate.js +8 -0
  262. package/dist/tailwind/scale.js +3 -0
  263. package/dist/tailwind/shadows.js +7 -0
  264. package/dist/tailwind/typography.js +21 -0
  265. package/dist/tailwind/z-index.js +3 -0
  266. package/dist/tailwind.config.js +21 -13
  267. package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
  268. package/dist/types/components/atoms/button/button.component.d.ts +16 -3
  269. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  270. package/dist/types/components/atoms/card-container/card-container.component.d.ts +7 -0
  271. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  272. package/dist/types/components/atoms/counter/counter.component.d.ts +3 -0
  273. package/dist/types/components/atoms/divider/divider.component.d.ts +3 -0
  274. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  275. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +7 -0
  276. package/dist/types/components/atoms/helper/helper.component.d.ts +3 -0
  277. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  278. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
  279. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  280. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  281. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  282. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  283. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
  284. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  285. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  286. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  287. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  288. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +20 -8
  289. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -0
  290. package/dist/types/components/molecules/modal/modal.component.d.ts +25 -0
  291. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  292. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  293. package/dist/types/components.d.ts +695 -22
  294. package/dist/types/utils/child-of.d.ts +1 -0
  295. package/dist/types/utils/icons.d.ts +5 -0
  296. package/dist/types/utils/types.d.ts +2 -0
  297. package/package.json +61 -61
  298. package/dist/build/p-31acefc4.entry.js +0 -1
  299. package/dist/build/p-4144f8a0.entry.js +0 -1
  300. package/dist/build/p-f33e1285.js +0 -2
  301. package/dist/paperless/p-31acefc4.entry.js +0 -1
  302. package/dist/paperless/p-4144f8a0.entry.js +0 -1
  303. package/dist/paperless/p-f33e1285.js +0 -2
@@ -0,0 +1 @@
1
+ import{r as t,h as r,H as o,g as a}from"./p-0100c1a2.js";import{c as e}from"./p-a7086ffa.js";const i=class{constructor(r){t(this,r),this.variant="hover",this.popover=null,this.placement="top",this.show=!1,this.canManuallyClose=!0,this._loaded=!1}componentShouldUpdate(){this._setOptions(),this._loaded&&this.show&&this._show()}render(){return r(o,{class:"p-popover"},r("slot",{name:"content"}),r("div",{class:`popover variant-${this.variant}`,role:"popover",ref:t=>this._load(t)},this.popover?this.popover:r("slot",{name:"popover"}),r("div",{class:"arrow","data-popper-arrow":!0})))}clickHandler(){"click"===this.variant&&(this._popover.hasAttribute("data-show")||this._show())}documentClickHandler(){"click"===this.variant&&this.canManuallyClose&&this._popover.hasAttribute("data-show")&&this._hide()}mouseEnterHandler(){"hover"===this.variant&&this._show()}mouseLeaveHandler(){this.show||"hover"!==this.variant||this._hide()}_show(){this._loaded&&(this._popover.setAttribute("data-show",""),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),this._popper.update())}_hide(){this._loaded&&(this._popover.removeAttribute("data-show"),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]}))))}_load(t){this._popover=t,t&&(this._popper=e(this._el,t),this._setOptions(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_setOptions(){this._popper&&this._popper.setOptions({placement:"error"===this.variant?"bottom-start":this.placement,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"arrow",options:{padding:4}}]})}get _el(){return a(this)}};i.style='.visible{visibility:visible!important}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.hidden{display:none!important}.w-2{width:.5rem!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}.cursor-pointer{cursor:pointer!important}.rounded{border-radius:.25rem!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-storm,.bg-white{--tw-bg-opacity:1!important}.bg-storm{background-color:rgb(81 83 107/var(--tw-bg-opacity))!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important;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}:host{cursor:pointer;display:inline-block}:host .popover{--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:none;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);font-size:.75rem;font-weight:500;line-height:1rem;max-width:14.5rem;padding:.5rem .75rem}:host .popover.variant-error,:host .popover.variant-hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(81 83 107/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));padding-bottom:.25rem;padding-top:.25rem}:host .popover.variant-error{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host .popover[data-show]{display:block}:host .popover .arrow,:host .popover .arrow:before{background:inherit;height:.5rem;position:absolute;width:.5rem}:host .popover .arrow{visibility:hidden}:host .popover .arrow:before{--tw-rotate:45deg;content:"";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));visibility:visible}:host .popover[data-popper-placement^=top]>.arrow{bottom:-.25rem}:host .popover[data-popper-placement^=bottom]>.arrow{top:-.25rem}:host .popover[data-popper-placement^=left]>.arrow{right:-.25rem}:host .popover[data-popper-placement^=right]>.arrow{left:-.25rem}';export{i as p_tooltip}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as i}from"./p-0100c1a2.js";const r=class{constructor(o){t(this,o),this.active=!1}render(){return o(i,{class:`p-navigation-item ${this.active&&"active"}`},o("a",{href:this.href,target:this.target},this.icon&&o("p-icon",{variant:this.icon}),o("span",{class:this.counter&&"has-counter"},o("slot",null)),this.counter&&o("p-counter",null,this.counter)))}};r.style=".static{position:static!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.text-mystic-dark{--tw-text-opacity:1!important;color:rgb(218 230 240/var(--tw-text-opacity))!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}:host{display:inline-block;margin-bottom:.25rem;width:100%}:host>a{--tw-text-opacity:1;align-items:center;border-radius:.375rem;color:rgb(128 130 158/var(--tw-text-opacity));cursor:pointer;display:flex;font-weight:500;height:2rem;padding-left:.5rem;padding-right:.5rem;width:100%}:host>a:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(39 40 56/var(--tw-text-opacity))}:host>a>p-icon{--tw-text-opacity:1;color:rgb(218 230 240/var(--tw-text-opacity));margin-right:.75rem}:host>a>p-counter{margin-left:auto}:host>a>span.has-counter{margin-right:.75rem}:host>a:hover>p-icon{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity))}:host(.active)>a{--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(.active)>a>p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.hover\\:bg-indigo-light:hover{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}";export{r as p_navigation_item}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,H as s}from"./p-0100c1a2.js";const a=class{constructor(s){t(this,s),this.pageChange=i(this,"pageChange",7),this.page=1,this.pageSize=12,this._pages=[],this._set=[],this._nextClick=()=>{const t=this.page+1;t>this._pages[this._pages.length-1]||this._changePage(t)},this._pageClick=t=>this._changePage(t),this._generateSet=(t=1,i=!0)=>{const s=this._pages.length;if(!s)return[];let a=this.page-t,n=this.page+t;n>s&&(n=s,a=s-2*t,a=a<1?1:a),a<=1&&(a=1,n=Math.min(2*t+1,s));const h=[],p={type:"previous",value:e("p-icon",{variant:"chevron",rotate:90})},r={type:"next",value:e("p-icon",{variant:"chevron",rotate:-90})};if(null===t){const t=this._pages.map((t=>({type:"page",value:t})));return i?[p,...t,r]:t}if(i&&h.push(p),a<=3)for(let t=1;t<a;t++)h.push({type:"page",value:this._pages[t-1]});else h.push({type:"page",value:1}),h.push({type:"ellipsis",value:"ellipsis"});for(let t=a;t<=n;t++)h.push({type:"page",value:this._pages[t-1]});if(n>=s-2)for(let t=n+1;t<=s;t++)h.push({type:"page",value:this._pages[t-1]});else h.push({type:"ellipsis"}),h.push({type:"page",value:this._pages[this._pages.length-1]});return i&&h.push(r),h}}componentWillRender(){this._generate()}render(){var t;return e(s,{class:"p-pagination"},null===(t=this._set)||void 0===t?void 0:t.map((t=>"previous"===t.type||"next"===t.type?e("p-pagination-item",{onClick:()=>"previous"===t.type?this._previousClick():this._nextClick()},t.value):"ellipsis"===t.type?e("p-pagination-item",null,"..."):e("p-pagination-item",{active:t.value===this.page,onClick:()=>this._pageClick(t.value)},t.value))))}pageChangeHandler(){this._generate()}_generate(){var t;this._pages=this._generatePages(),this._set=this._generateSet(),this.page>(null===(t=this._pages)||void 0===t?void 0:t.length)&&this._changePage(this._pages.length)}_changePage(t){t&&(this.page=t,this.pageChange.emit(this.page))}_previousClick(){const t=this.page-1;t<this._pages[0]||this._changePage(t)}_generatePages(){if(!this.total||!this.pageSize)return[];const t=Math.ceil(this.total/this.pageSize);return new Array(t).fill(void 0).map(((t,i)=>i+1))}static get watchers(){return{page:["pageChangeHandler"],pageSize:["pageChangeHandler"],total:["pageChangeHandler"]}}};a.style=".static{position:static!important}.flex{display:flex!important}p-pagination{display:flex}";export{a as p_pagination}
@@ -1,19 +1,4 @@
1
1
  @tailwind base;
2
- @tailwind utilities;
3
- @tailwind components;
4
- .sbdocs .boson-collection {
5
- @apply flex flex-row w-full justify-start;
6
- }
7
- .sbdocs .boson-collection .boson {
8
- @apply w-1/5;
9
- }
10
- .sbdocs .boson-collection .boson > span {
11
- @apply p-0 text-storm-vague text-xs font-semibold uppercase;
12
- }
13
- .sbdocs .boson-collection .boson > div {
14
- @apply w-16 h-16 rounded-large bg-storm-light;
15
- }
16
-
17
2
  @layer base {
18
3
  html,
19
4
  body {
@@ -21,7 +6,7 @@ body {
21
6
  min-height: 100vh;
22
7
  width: 100%;
23
8
  max-width: 100vw;
24
- @apply bg-mystic text-storm;
9
+ @apply bg-mystic;
25
10
  text-rendering: optimizeLegibility;
26
11
  -webkit-font-smoothing: antialiased;
27
12
  }
@@ -76,6 +61,32 @@ body {
76
61
  src: local("IBM Plex Sans Bold"), local("IBMPlexSans-Bold"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.eot?#iefix) format("embedded-opentype"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.woff2) format("woff2"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.woff) format("woff"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.ttf) format("truetype"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.svg#IBMPlexSans) format("svg");
77
62
  /* Legacy iOS */
78
63
  }
79
- body {
80
- @apply bg-mystic;
64
+ @layer base {
65
+ h1 {
66
+ @apply text-h1 font-bold leading-h1;
67
+ }
68
+
69
+ h2 {
70
+ @apply text-h2 font-bold leading-h2;
71
+ }
72
+
73
+ h3 {
74
+ @apply text-h3 font-semibold leading-h3;
75
+ }
76
+
77
+ h4 {
78
+ @apply text-h4 font-semibold leading-h4;
79
+ }
80
+
81
+ h5 {
82
+ @apply text-h5 font-medium leading-h5;
83
+ }
84
+
85
+ body {
86
+ @apply text-body leading-body text-storm !important;
87
+ }
88
+
89
+ .body-2 {
90
+ @apply text-body-2 leading-body-2 text-storm !important;
91
+ }
81
92
  }
@@ -1 +1 @@
1
- import{p as o,b as i}from"./p-f33e1285.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),o(t)})().then((o=>i([["p-f04c4de0",[[0,"p-illustration",{variant:[1]}]]],["p-4144f8a0",[[1,"p-tooltip",{content:[8],placement:[1],forceShow:[4,"force-show"]},[[1,"mouseenter","_show"],[0,"focus","_show"],[1,"mouseleave","_hide"],[0,"blur","_hide"]]]]],["p-31acefc4",[[4,"p-button",{variant:[1],href:[1],target:[1],size:[1],loading:[4],disabled:[4],icon:[1],iconPosition:[1,"icon-position"],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]},[[2,"click","handleClick"]]],[0,"p-icon",{variant:[1],size:[1],rotate:[2],flip:[1]}],[1,"p-loader",{show:[4],variant:[1],color:[1],modalTitle:[1,"modal-title"],modalDescription:[1,"modal-description"]}]]]],o)));
1
+ import{p as e,b as i}from"./p-0100c1a2.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((e=>i([["p-94cef335",[[1,"p-modal",{size:[1],variant:[1],title:[1],show:[4]}]]],["p-fb1e33eb",[[1,"p-navigation-item",{active:[4],icon:[1],counter:[8],href:[1],target:[1]}]]],["p-ffeed7c6",[[0,"p-pagination",{page:[1538],pageSize:[2,"page-size"],total:[2]}]]],["p-463f354c",[[4,"p-card-header",{title:[1],arrow:[4]}]]],["p-b68368f3",[[1,"p-dropdown",{placement:[1],show:[4],insideClick:[4,"inside-click"],disableTriggerClick:[4,"disable-trigger-click"]},[[6,"click","documentClickHandler"]]]]],["p-6e60b92a",[[1,"p-helper"]]],["p-4a85b858",[[1,"p-info-panel",{variant:[1],header:[1],content:[1],closeable:[4]}]]],["p-3b491ca2",[[1,"p-segment-item",{active:[4],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]]],["p-7784ee14",[[4,"p-status",{variant:[1],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]]],["p-19d84fe7",[[1,"p-avatar",{variant:[1],size:[1],defaultImage:[1,"default-image"],src:[1],_src:[32]}]]],["p-ccbddcbb",[[4,"p-card-body",{inheritText:[4,"inherit-text"]}]]],["p-67fc89a6",[[1,"p-card-container",{hoverable:[4]}]]],["p-3f6d3736",[[1,"p-dropdown-menu-item",{active:[4]}]]],["p-d069673f",[[0,"p-illustration",{variant:[1]}]]],["p-864ac423",[[4,"p-segment-container"]]],["p-11d24001",[[1,"p-counter"]]],["p-c64e2313",[[4,"p-dropdown-menu-container"]]],["p-2120a0b7",[[1,"p-pagination-item",{active:[4]}]]],["p-f50c6e5b",[[1,"p-tooltip",{variant:[1],popover:[8],placement:[1],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]]]]],["p-5438d70e",[[1,"p-divider"]]],["p-5101f35f",[[1,"p-modal-footer"],[1,"p-modal-backdrop"],[1,"p-modal-body",{variant:[1]}],[4,"p-modal-container",{size:[1]}],[1,"p-modal-header"]]],["p-63e5f5e1",[[4,"p-button",{variant:[1],href:[1],target:[1],size:[1],loading:[4],chevron:[8],disabled:[4],icon:[1],iconOnly:[4,"icon-only"],iconPosition:[1,"icon-position"],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"],inheritText:[4,"inherit-text"]},[[2,"click","handleClick"]]],[1,"p-loader",{show:[4],variant:[1],color:[1],modalTitle:[1,"modal-title"],modalDescription:[1,"modal-description"]}],[0,"p-icon",{variant:[1],size:[1],rotate:[2],flip:[1]}]]]],e)));
@@ -54,7 +54,7 @@ const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
54
54
  const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
55
55
  if (listeners) {
56
56
  listeners.map(([flags, name, method]) => {
57
- const target = elm;
57
+ const target = getHostListenerTarget(elm, flags) ;
58
58
  const handler = hostListenerProxy(hostRef, method);
59
59
  const opts = hostListenerOpts(flags);
60
60
  plt.ael(target, name, handler, opts);
@@ -78,6 +78,11 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
78
78
  consoleError(e);
79
79
  }
80
80
  };
81
+ const getHostListenerTarget = (elm, flags) => {
82
+ if (flags & 4 /* TargetDocument */)
83
+ return doc;
84
+ return elm;
85
+ };
81
86
  // prettier-ignore
82
87
  const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
83
88
  const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
@@ -303,7 +308,7 @@ const convertToPrivate = (node) => {
303
308
  const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
304
309
  if (oldValue !== newValue) {
305
310
  let isProp = isMemberInElement(elm, memberName);
306
- memberName.toLowerCase();
311
+ let ln = memberName.toLowerCase();
307
312
  if (memberName === 'class') {
308
313
  const classList = elm.classList;
309
314
  const oldClasses = parseClassList(oldValue);
@@ -317,6 +322,45 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
317
322
  newValue(elm);
318
323
  }
319
324
  }
325
+ else if ((!isProp ) &&
326
+ memberName[0] === 'o' &&
327
+ memberName[1] === 'n') {
328
+ // Event Handlers
329
+ // so if the member name starts with "on" and the 3rd characters is
330
+ // a capital letter, and it's not already a member on the element,
331
+ // then we're assuming it's an event listener
332
+ if (memberName[2] === '-') {
333
+ // on- prefixed events
334
+ // allows to be explicit about the dom event to listen without any magic
335
+ // under the hood:
336
+ // <my-cmp on-click> // listens for "click"
337
+ // <my-cmp on-Click> // listens for "Click"
338
+ // <my-cmp on-ionChange> // listens for "ionChange"
339
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
340
+ memberName = memberName.slice(3);
341
+ }
342
+ else if (isMemberInElement(win, ln)) {
343
+ // standard event
344
+ // the JSX attribute could have been "onMouseOver" and the
345
+ // member name "onmouseover" is on the window's prototype
346
+ // so let's add the listener "mouseover", which is all lowercased
347
+ memberName = ln.slice(2);
348
+ }
349
+ else {
350
+ // custom event
351
+ // the JSX attribute could have been "onMyCustomEvent"
352
+ // so let's trim off the "on" prefix and lowercase the first character
353
+ // and add the listener "myCustomEvent"
354
+ // except for the first character, we keep the event name case
355
+ memberName = ln[2] + memberName.slice(3);
356
+ }
357
+ if (oldValue) {
358
+ plt.rel(elm, memberName, oldValue, false);
359
+ }
360
+ if (newValue) {
361
+ plt.ael(elm, memberName, newValue, false);
362
+ }
363
+ }
320
364
  else {
321
365
  // Set property if it exists and it's not a SVG
322
366
  const isComplex = isComplexType(newValue);
@@ -802,6 +846,10 @@ const renderVdom = (hostRef, renderFnResults) => {
802
846
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
803
847
  const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
804
848
  hostTagName = hostElm.tagName;
849
+ if (cmpMeta.$attrsToReflect$) {
850
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
851
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
852
+ }
805
853
  rootVnode.$tag$ = null;
806
854
  rootVnode.$flags$ |= 4 /* isHost */;
807
855
  hostRef.$vnode$ = rootVnode;
@@ -952,6 +1000,9 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
952
1000
  hostRef.$queuedListeners$ = null;
953
1001
  }
954
1002
  }
1003
+ {
1004
+ promise = safeCall(instance, 'componentWillLoad');
1005
+ }
955
1006
  }
956
1007
  {
957
1008
  promise = then(promise, () => safeCall(instance, 'componentWillRender'));
@@ -1132,6 +1183,7 @@ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propNam
1132
1183
  const setValue = (ref, propName, newVal, cmpMeta) => {
1133
1184
  // check our new property value against our internal value
1134
1185
  const hostRef = getHostRef(ref);
1186
+ const elm = hostRef.$hostElement$ ;
1135
1187
  const oldVal = hostRef.$instanceValues$.get(propName);
1136
1188
  const flags = hostRef.$flags$;
1137
1189
  const instance = hostRef.$lazyInstance$ ;
@@ -1144,6 +1196,22 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1144
1196
  // set our new value!
1145
1197
  hostRef.$instanceValues$.set(propName, newVal);
1146
1198
  if (instance) {
1199
+ // get an array of method names of watch functions to call
1200
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1201
+ const watchMethods = cmpMeta.$watchers$[propName];
1202
+ if (watchMethods) {
1203
+ // this instance is watching for when this property changed
1204
+ watchMethods.map((watchMethodName) => {
1205
+ try {
1206
+ // fire off each of the watch methods that are watching this property
1207
+ instance[watchMethodName](newVal, oldVal, propName);
1208
+ }
1209
+ catch (e) {
1210
+ consoleError(e, elm);
1211
+ }
1212
+ });
1213
+ }
1214
+ }
1147
1215
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1148
1216
  if (instance.componentShouldUpdate) {
1149
1217
  if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
@@ -1161,6 +1229,9 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1161
1229
  };
1162
1230
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1163
1231
  if (cmpMeta.$members$) {
1232
+ if (Cstr.watchers) {
1233
+ cmpMeta.$watchers$ = Cstr.watchers;
1234
+ }
1164
1235
  // It's better to have a const than two Object.entries()
1165
1236
  const members = Object.entries(cmpMeta.$members$);
1166
1237
  const prototype = Cstr.prototype;
@@ -1242,6 +1313,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1242
1313
  .map(([propName, m]) => {
1243
1314
  const attrName = m[1] || propName;
1244
1315
  attrNameToPropName.set(attrName, propName);
1316
+ if (m[0] & 512 /* ReflectAttr */) {
1317
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1318
+ }
1245
1319
  return attrName;
1246
1320
  });
1247
1321
  }
@@ -1265,6 +1339,12 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1265
1339
  endLoad();
1266
1340
  }
1267
1341
  if (!Cstr.isProxied) {
1342
+ // we've never proxied this Constructor before
1343
+ // let's add the getters/setters to its prototype before
1344
+ // the first time we create an instance of the implementation
1345
+ {
1346
+ cmpMeta.$watchers$ = Cstr.watchers;
1347
+ }
1268
1348
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1269
1349
  Cstr.isProxied = true;
1270
1350
  }
@@ -1288,6 +1368,9 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1288
1368
  {
1289
1369
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1290
1370
  }
1371
+ {
1372
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1373
+ }
1291
1374
  endNewInstance();
1292
1375
  }
1293
1376
  if (Cstr.style) {
@@ -1422,6 +1505,12 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1422
1505
  {
1423
1506
  cmpMeta.$listeners$ = compactMeta[3];
1424
1507
  }
1508
+ {
1509
+ cmpMeta.$attrsToReflect$ = [];
1510
+ }
1511
+ {
1512
+ cmpMeta.$watchers$ = {};
1513
+ }
1425
1514
  const tagName = cmpMeta.$tagName$;
1426
1515
  const HostElement = class extends HTMLElement {
1427
1516
  // StencilLazyHost
@@ -1516,7 +1605,104 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1516
1605
  if (module) {
1517
1606
  return module[exportName];
1518
1607
  }
1519
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1608
+
1609
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1610
+ const processMod = importedModule => {
1611
+ cmpModules.set(bundleId, importedModule);
1612
+ return importedModule[exportName];
1613
+ }
1614
+ switch(bundleId) {
1615
+
1616
+ case 'p-button_3.cjs':
1617
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1618
+ /* webpackMode: "lazy" */
1619
+ './p-button_3.cjs.entry.js')); }).then(processMod, consoleError);
1620
+ case 'p-avatar.cjs':
1621
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1622
+ /* webpackMode: "lazy" */
1623
+ './p-avatar.cjs.entry.js')); }).then(processMod, consoleError);
1624
+ case 'p-card-body.cjs':
1625
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1626
+ /* webpackMode: "lazy" */
1627
+ './p-card-body.cjs.entry.js')); }).then(processMod, consoleError);
1628
+ case 'p-card-container.cjs':
1629
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1630
+ /* webpackMode: "lazy" */
1631
+ './p-card-container.cjs.entry.js')); }).then(processMod, consoleError);
1632
+ case 'p-card-header.cjs':
1633
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1634
+ /* webpackMode: "lazy" */
1635
+ './p-card-header.cjs.entry.js')); }).then(processMod, consoleError);
1636
+ case 'p-dropdown.cjs':
1637
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1638
+ /* webpackMode: "lazy" */
1639
+ './p-dropdown.cjs.entry.js')); }).then(processMod, consoleError);
1640
+ case 'p-dropdown-menu-item.cjs':
1641
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1642
+ /* webpackMode: "lazy" */
1643
+ './p-dropdown-menu-item.cjs.entry.js')); }).then(processMod, consoleError);
1644
+ case 'p-helper.cjs':
1645
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1646
+ /* webpackMode: "lazy" */
1647
+ './p-helper.cjs.entry.js')); }).then(processMod, consoleError);
1648
+ case 'p-illustration.cjs':
1649
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1650
+ /* webpackMode: "lazy" */
1651
+ './p-illustration.cjs.entry.js')); }).then(processMod, consoleError);
1652
+ case 'p-info-panel.cjs':
1653
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1654
+ /* webpackMode: "lazy" */
1655
+ './p-info-panel.cjs.entry.js')); }).then(processMod, consoleError);
1656
+ case 'p-modal.cjs':
1657
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1658
+ /* webpackMode: "lazy" */
1659
+ './p-modal.cjs.entry.js')); }).then(processMod, consoleError);
1660
+ case 'p-navigation-item.cjs':
1661
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1662
+ /* webpackMode: "lazy" */
1663
+ './p-navigation-item.cjs.entry.js')); }).then(processMod, consoleError);
1664
+ case 'p-pagination.cjs':
1665
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1666
+ /* webpackMode: "lazy" */
1667
+ './p-pagination.cjs.entry.js')); }).then(processMod, consoleError);
1668
+ case 'p-segment-container.cjs':
1669
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1670
+ /* webpackMode: "lazy" */
1671
+ './p-segment-container.cjs.entry.js')); }).then(processMod, consoleError);
1672
+ case 'p-segment-item.cjs':
1673
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1674
+ /* webpackMode: "lazy" */
1675
+ './p-segment-item.cjs.entry.js')); }).then(processMod, consoleError);
1676
+ case 'p-status.cjs':
1677
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1678
+ /* webpackMode: "lazy" */
1679
+ './p-status.cjs.entry.js')); }).then(processMod, consoleError);
1680
+ case 'p-counter.cjs':
1681
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1682
+ /* webpackMode: "lazy" */
1683
+ './p-counter.cjs.entry.js')); }).then(processMod, consoleError);
1684
+ case 'p-dropdown-menu-container.cjs':
1685
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1686
+ /* webpackMode: "lazy" */
1687
+ './p-dropdown-menu-container.cjs.entry.js')); }).then(processMod, consoleError);
1688
+ case 'p-modal-backdrop_5.cjs':
1689
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1690
+ /* webpackMode: "lazy" */
1691
+ './p-modal-backdrop_5.cjs.entry.js')); }).then(processMod, consoleError);
1692
+ case 'p-pagination-item.cjs':
1693
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1694
+ /* webpackMode: "lazy" */
1695
+ './p-pagination-item.cjs.entry.js')); }).then(processMod, consoleError);
1696
+ case 'p-tooltip.cjs':
1697
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1698
+ /* webpackMode: "lazy" */
1699
+ './p-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
1700
+ case 'p-divider.cjs':
1701
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1702
+ /* webpackMode: "lazy" */
1703
+ './p-divider.cjs.entry.js')); }).then(processMod, consoleError);
1704
+ }
1705
+ }
1520
1706
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1521
1707
  /* @vite-ignore */
1522
1708
  /* webpackInclude: /\.entry\.js$/ */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a2da05ae.js');
5
+ const index = require('./index-f9c302b6.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.17.0 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["p-illustration.cjs",[[0,"p-illustration",{"variant":[1]}]]],["p-tooltip.cjs",[[1,"p-tooltip",{"content":[8],"placement":[1],"forceShow":[4,"force-show"]},[[1,"mouseenter","_show"],[0,"focus","_show"],[1,"mouseleave","_hide"],[0,"blur","_hide"]]]]],["p-button_3.cjs",[[4,"p-button",{"variant":[1],"href":[1],"target":[1],"size":[1],"loading":[4],"disabled":[4],"icon":[1],"iconPosition":[1,"icon-position"],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]},[[2,"click","handleClick"]]],[0,"p-icon",{"variant":[1],"size":[1],"rotate":[2],"flip":[1]}],[1,"p-loader",{"show":[4],"variant":[1],"color":[1],"modalTitle":[1,"modal-title"],"modalDescription":[1,"modal-description"]}]]]], options);
17
+ return index.bootstrapLazy([["p-modal.cjs",[[1,"p-modal",{"size":[1],"variant":[1],"title":[1],"show":[4]}]]],["p-navigation-item.cjs",[[1,"p-navigation-item",{"active":[4],"icon":[1],"counter":[8],"href":[1],"target":[1]}]]],["p-pagination.cjs",[[0,"p-pagination",{"page":[1538],"pageSize":[2,"page-size"],"total":[2]}]]],["p-card-header.cjs",[[4,"p-card-header",{"title":[1],"arrow":[4]}]]],["p-dropdown.cjs",[[1,"p-dropdown",{"placement":[1],"show":[4],"insideClick":[4,"inside-click"],"disableTriggerClick":[4,"disable-trigger-click"]},[[6,"click","documentClickHandler"]]]]],["p-helper.cjs",[[1,"p-helper"]]],["p-info-panel.cjs",[[1,"p-info-panel",{"variant":[1],"header":[1],"content":[1],"closeable":[4]}]]],["p-segment-item.cjs",[[1,"p-segment-item",{"active":[4],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]}]]],["p-status.cjs",[[4,"p-status",{"variant":[1],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]}]]],["p-avatar.cjs",[[1,"p-avatar",{"variant":[1],"size":[1],"defaultImage":[1,"default-image"],"src":[1],"_src":[32]}]]],["p-card-body.cjs",[[4,"p-card-body",{"inheritText":[4,"inherit-text"]}]]],["p-card-container.cjs",[[1,"p-card-container",{"hoverable":[4]}]]],["p-dropdown-menu-item.cjs",[[1,"p-dropdown-menu-item",{"active":[4]}]]],["p-illustration.cjs",[[0,"p-illustration",{"variant":[1]}]]],["p-segment-container.cjs",[[4,"p-segment-container"]]],["p-counter.cjs",[[1,"p-counter"]]],["p-dropdown-menu-container.cjs",[[4,"p-dropdown-menu-container"]]],["p-pagination-item.cjs",[[1,"p-pagination-item",{"active":[4]}]]],["p-tooltip.cjs",[[1,"p-tooltip",{"variant":[1],"popover":[8],"placement":[1],"show":[4],"canManuallyClose":[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]]]]],["p-divider.cjs",[[1,"p-divider"]]],["p-modal-backdrop_5.cjs",[[1,"p-modal-footer"],[1,"p-modal-backdrop"],[1,"p-modal-body",{"variant":[1]}],[4,"p-modal-container",{"size":[1]}],[1,"p-modal-header"]]],["p-button_3.cjs",[[4,"p-button",{"variant":[1],"href":[1],"target":[1],"size":[1],"loading":[4],"chevron":[8],"disabled":[4],"icon":[1],"iconOnly":[4,"icon-only"],"iconPosition":[1,"icon-position"],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"],"inheritText":[4,"inherit-text"]},[[2,"click","handleClick"]]],[1,"p-loader",{"show":[4],"variant":[1],"color":[1],"modalTitle":[1,"modal-title"],"modalDescription":[1,"modal-description"]}],[0,"p-icon",{"variant":[1],"size":[1],"rotate":[2],"flip":[1]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-f9c302b6.js');
6
+
7
+ const avatarComponentCss = ".static{position:static!important}.w-10{width:2.5rem!important}.w-20{width:5rem!important}.w-28{width:7rem!important}.rounded{border-radius:.25rem!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}:host{display:inline-block}:host>img{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}:host(.size-small)>img{height:2.5rem;width:2.5rem}:host(.size-medium)>img{height:5rem;width:5rem}:host(.size-large)>img{height:7rem;width:7rem}:host(.variant-company)>img{border-radius:.25rem}:host(.variant-company.size-large),:host(.variant-company.size-medium){border-radius:.375rem}:host(.variant-user)>img{border-radius:100%}";
8
+
9
+ const Avatar = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ /**
13
+ * The variant of the avatar
14
+ */
15
+ this.variant = 'user';
16
+ /**
17
+ * The size of the avatar
18
+ */
19
+ this.size = 'medium';
20
+ this._src = this.src;
21
+ }
22
+ render() {
23
+ return (index.h(index.Host, { class: `p-avatar size-${this.size} variant-${this.variant}` }, index.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
+ };
33
+ Avatar.style = avatarComponentCss;
34
+
35
+ exports.p_avatar = Avatar;