@paperless/core 0.1.0-alpha.99 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3838 -0
- package/README.md +9 -1
- package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
- package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
- package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
- package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
- package/dist/assets/i18n/table-header.i18n.en.json +6 -0
- package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
- package/dist/assets/i18n/table.i18n.en.json +13 -0
- package/dist/assets/i18n/table.i18n.nl.json +13 -0
- package/dist/assets/icons/bread.svg +5 -12
- package/dist/assets/icons/camera.svg +10 -0
- package/dist/assets/icons/car.svg +5 -12
- package/dist/assets/icons/fa/building.svg +3 -0
- package/dist/assets/icons/fa/buildings.svg +3 -0
- package/dist/assets/icons/fa/piggy.svg +3 -0
- package/dist/assets/icons/filter.svg +6 -13
- package/dist/assets/icons/notification.svg +10 -0
- package/dist/assets/icons/reload.svg +10 -0
- package/dist/assets/icons/search.svg +5 -12
- package/dist/assets/illustrations/empty-state-add.svg +65 -0
- package/dist/assets/illustrations/empty-state-overview.svg +58 -0
- package/dist/assets/illustrations/empty-state-search.svg +88 -0
- package/dist/assets/images/helper/helper-hover.svg +6 -6
- package/dist/assets/images/helper/helper.svg +2 -2
- package/dist/build/index.esm.js +2 -0
- package/dist/build/index.esm.js.map +1 -0
- package/dist/build/p-07259c61.entry.js +2 -0
- package/dist/build/p-07259c61.entry.js.map +1 -0
- package/dist/build/p-11f5c8c7.entry.js +2 -0
- package/dist/build/p-11f5c8c7.entry.js.map +1 -0
- package/dist/build/p-12171df4.entry.js +2 -0
- package/dist/build/p-12171df4.entry.js.map +1 -0
- package/dist/build/p-1630e39b.entry.js +2 -0
- package/dist/build/p-1630e39b.entry.js.map +1 -0
- package/dist/build/p-18c0dd17.entry.js +2 -0
- package/dist/build/p-18c0dd17.entry.js.map +1 -0
- package/dist/build/p-195632a8.entry.js +2 -0
- package/dist/build/p-195632a8.entry.js.map +1 -0
- package/dist/build/p-1f55126f.entry.js +2 -0
- package/dist/build/p-1f55126f.entry.js.map +1 -0
- package/dist/build/p-26da620b.entry.js +2 -0
- package/dist/build/p-26da620b.entry.js.map +1 -0
- package/dist/build/p-2a668e75.entry.js +2 -0
- package/dist/build/p-2a668e75.entry.js.map +1 -0
- package/dist/build/p-350d452b.entry.js +2 -0
- package/dist/build/p-350d452b.entry.js.map +1 -0
- package/dist/build/p-36967a97.entry.js +2 -0
- package/dist/build/p-36967a97.entry.js.map +1 -0
- package/dist/build/p-3d8b2178.entry.js +2 -0
- package/dist/build/p-3d8b2178.entry.js.map +1 -0
- package/dist/build/p-47bcc23e.entry.js +2 -0
- package/dist/build/p-47bcc23e.entry.js.map +1 -0
- package/dist/build/p-47e461b7.entry.js +2 -0
- package/dist/build/p-47e461b7.entry.js.map +1 -0
- package/dist/build/p-4c51a801.entry.js +2 -0
- package/dist/build/p-4c51a801.entry.js.map +1 -0
- package/dist/build/p-4e650fe4.js +2 -0
- package/dist/build/p-4e650fe4.js.map +1 -0
- package/dist/build/p-51408aca.entry.js +2 -0
- package/dist/build/p-51408aca.entry.js.map +1 -0
- package/dist/build/p-594b28a7.entry.js +2 -0
- package/dist/build/p-594b28a7.entry.js.map +1 -0
- package/dist/build/p-5c7b20a3.entry.js +2 -0
- package/dist/build/p-5c7b20a3.entry.js.map +1 -0
- package/dist/build/p-6124f388.entry.js +2 -0
- package/dist/build/p-6124f388.entry.js.map +1 -0
- package/dist/build/p-6c60fd3d.js +2 -0
- package/dist/build/p-6c60fd3d.js.map +1 -0
- package/dist/build/p-6ccf5cdd.js +3 -0
- package/dist/build/p-6ccf5cdd.js.map +1 -0
- package/dist/build/p-6d5aa646.entry.js +2 -0
- package/dist/build/p-6d5aa646.entry.js.map +1 -0
- package/dist/build/p-6f1352e0.entry.js +2 -0
- package/dist/build/p-6f1352e0.entry.js.map +1 -0
- package/dist/build/p-8a6728d5.js +2 -0
- package/dist/build/p-8a6728d5.js.map +1 -0
- package/dist/build/p-910bd6bc.entry.js +2 -0
- package/dist/build/p-910bd6bc.entry.js.map +1 -0
- package/dist/build/p-91725831.entry.js +2 -0
- package/dist/build/p-91725831.entry.js.map +1 -0
- package/dist/build/p-946286e2.entry.js +2 -0
- package/dist/build/p-946286e2.entry.js.map +1 -0
- package/dist/build/p-a1c1d95b.entry.js +2 -0
- package/dist/build/p-a1c1d95b.entry.js.map +1 -0
- package/dist/build/p-a23ea8fe.entry.js +2 -0
- package/dist/build/p-a23ea8fe.entry.js.map +1 -0
- package/dist/build/p-abcd80e9.entry.js +2 -0
- package/dist/build/p-abcd80e9.entry.js.map +1 -0
- package/dist/build/p-ae248aef.js +2 -0
- package/dist/build/p-ae248aef.js.map +1 -0
- package/dist/build/p-b0398d3b.entry.js +2 -0
- package/dist/build/p-b0398d3b.entry.js.map +1 -0
- package/dist/build/p-b2bc1d2a.entry.js +2 -0
- package/dist/build/p-b2bc1d2a.entry.js.map +1 -0
- package/dist/build/p-b5ce8cd4.entry.js +2 -0
- package/dist/build/p-b5ce8cd4.entry.js.map +1 -0
- package/dist/build/p-b92dd098.entry.js +2 -0
- package/dist/build/p-b92dd098.entry.js.map +1 -0
- package/dist/build/p-b9f742e0.entry.js +2 -0
- package/dist/build/p-b9f742e0.entry.js.map +1 -0
- package/dist/build/p-bf0eca4f.entry.js +2 -0
- package/dist/build/p-bf0eca4f.entry.js.map +1 -0
- package/dist/build/p-ce1abd74.entry.js +2 -0
- package/dist/build/p-ce1abd74.entry.js.map +1 -0
- package/dist/build/p-ce443f5b.entry.js +2 -0
- package/dist/build/p-ce443f5b.entry.js.map +1 -0
- package/dist/build/p-da2426c7.js +2 -0
- package/dist/build/p-da2426c7.js.map +1 -0
- package/dist/build/p-da6e5abd.entry.js +2 -0
- package/dist/build/p-da6e5abd.entry.js.map +1 -0
- package/dist/build/p-e17560e6.entry.js +2 -0
- package/dist/build/p-e17560e6.entry.js.map +1 -0
- package/dist/build/p-e1da7376.entry.js +2 -0
- package/dist/build/p-e1da7376.entry.js.map +1 -0
- package/dist/build/p-e9a1b51e.entry.js +2 -0
- package/dist/build/p-e9a1b51e.entry.js.map +1 -0
- package/dist/build/p-ec850aca.entry.js +2 -0
- package/dist/build/p-ec850aca.entry.js.map +1 -0
- package/dist/build/p-ed6edf0a.entry.js +2 -0
- package/dist/build/p-ed6edf0a.entry.js.map +1 -0
- package/dist/build/p-f47247a6.entry.js +2 -0
- package/dist/build/p-f47247a6.entry.js.map +1 -0
- package/dist/build/p-fef32402.js +2 -0
- package/dist/build/p-fef32402.js.map +1 -0
- package/dist/build/paperless.css +1 -253
- package/dist/build/paperless.esm.js +2 -1
- package/dist/build/paperless.esm.js.map +1 -0
- package/dist/cjs/child-of-e472f812.js +11 -0
- package/dist/cjs/child-of-e472f812.js.map +1 -0
- package/dist/cjs/constants-a4459ec9.js +9 -0
- package/dist/cjs/constants-a4459ec9.js.map +1 -0
- package/dist/cjs/floating-ui.dom.esm-62336770.js +1334 -0
- package/dist/cjs/floating-ui.dom.esm-62336770.js.map +1 -0
- package/dist/cjs/index-b59a0544.js +2324 -0
- package/dist/cjs/index-b59a0544.js.map +1 -0
- package/dist/cjs/{index-9d3b51c9.js → index-dfc4dfec.js} +980 -339
- package/dist/cjs/index-dfc4dfec.js.map +1 -0
- package/dist/cjs/index.cjs.js +20 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/localization-9e2ac7f3.js +62 -0
- package/dist/cjs/localization-9e2ac7f3.js.map +1 -0
- package/dist/cjs/object-get-by-path-ee5540a5.js +19 -0
- package/dist/cjs/object-get-by-path-ee5540a5.js.map +1 -0
- package/dist/cjs/p-accordion.cjs.entry.js +5 -11
- package/dist/cjs/p-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/p-attachment.cjs.entry.js +39 -0
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -0
- package/dist/cjs/p-avatar-group.cjs.entry.js +5 -2
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -0
- package/dist/cjs/p-avatar.cjs.entry.js +45 -0
- package/dist/cjs/p-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/p-backdrop.cjs.entry.js +43 -0
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -0
- package/dist/cjs/p-button_3.cjs.entry.js +142 -148
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-calendar.cjs.entry.js +703 -0
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -0
- package/dist/cjs/p-card-body.cjs.entry.js +4 -5
- package/dist/cjs/p-card-body.cjs.entry.js.map +1 -0
- package/dist/cjs/p-card-container.cjs.entry.js +4 -8
- package/dist/cjs/p-card-container.cjs.entry.js.map +1 -0
- package/dist/cjs/p-card-header.cjs.entry.js +5 -5
- package/dist/cjs/p-card-header.cjs.entry.js.map +1 -0
- package/dist/cjs/p-content-slider.cjs.entry.js +115 -56
- package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/p-counter.cjs.entry.js +4 -8
- package/dist/cjs/p-counter.cjs.entry.js.map +1 -0
- package/dist/cjs/p-datepicker.cjs.entry.js +3043 -0
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -0
- package/dist/cjs/p-divider.cjs.entry.js +4 -2
- package/dist/cjs/p-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +51 -0
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-drawer.cjs.entry.js +65 -0
- package/dist/cjs/p-drawer.cjs.entry.js.map +1 -0
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +7 -3
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -0
- package/dist/cjs/p-dropdown_2.cjs.entry.js +163 -0
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-helper_3.cjs.entry.js +150 -0
- package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-illustration_6.cjs.entry.js +2840 -0
- package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -0
- package/dist/cjs/p-info-panel.cjs.entry.js +6 -8
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/p-label_3.cjs.entry.js +65 -0
- package/dist/cjs/p-label_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-layout.cjs.entry.js +4 -5
- package/dist/cjs/p-layout.cjs.entry.js.map +1 -0
- package/dist/cjs/p-modal-body_4.cjs.entry.js +79 -0
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -0
- package/dist/cjs/p-modal.cjs.entry.js +34 -21
- package/dist/cjs/p-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/p-navbar.cjs.entry.js +5 -9
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -0
- package/dist/cjs/p-navigation-item.cjs.entry.js +8 -5
- package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +224 -0
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-profile.cjs.entry.js +14 -15
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -0
- package/dist/cjs/p-select.cjs.entry.js +245 -0
- package/dist/cjs/p-select.cjs.entry.js.map +1 -0
- package/dist/cjs/p-slider-indicator.cjs.entry.js +4 -5
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -0
- package/dist/cjs/p-status.cjs.entry.js +7 -5
- package/dist/cjs/p-status.cjs.entry.js.map +1 -0
- package/dist/cjs/p-stepper-item.cjs.entry.js +26 -0
- package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/p-stepper-line.cjs.entry.js +23 -0
- package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -0
- package/dist/cjs/p-stepper.cjs.entry.js +53 -44
- package/dist/cjs/p-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tab-group.cjs.entry.js +11 -10
- package/dist/cjs/p-tab-group.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tab-item.cjs.entry.js +4 -5
- package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -0
- package/dist/cjs/p-table-column.cjs.entry.js +30 -0
- package/dist/cjs/p-table-column.cjs.entry.js.map +1 -0
- package/dist/cjs/p-table.cjs.entry.js +360 -0
- package/dist/cjs/p-table.cjs.entry.js.map +1 -0
- package/dist/cjs/p-toast-container.cjs.entry.js +22 -0
- package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -0
- package/dist/cjs/p-toast.cjs.entry.js +35 -0
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tooltip.cjs.entry.js +59 -61
- package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/paperless.cjs.js +12 -3
- package/dist/cjs/paperless.cjs.js.map +1 -0
- package/dist/collection/assets/icons/bread.svg +5 -12
- package/dist/collection/assets/icons/camera.svg +10 -0
- package/dist/collection/assets/icons/car.svg +5 -12
- package/dist/collection/assets/icons/fa/building.svg +3 -0
- package/dist/collection/assets/icons/fa/buildings.svg +3 -0
- package/dist/collection/assets/icons/fa/piggy.svg +3 -0
- package/dist/collection/assets/icons/filter.svg +6 -13
- package/dist/collection/assets/icons/notification.svg +10 -0
- package/dist/collection/assets/icons/reload.svg +10 -0
- package/dist/collection/assets/icons/search.svg +5 -12
- package/dist/collection/assets/illustrations/empty-state-add.svg +65 -0
- package/dist/collection/assets/illustrations/empty-state-overview.svg +58 -0
- package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
- package/dist/collection/assets/images/helper/helper-hover.svg +6 -6
- package/dist/collection/assets/images/helper/helper.svg +2 -2
- package/dist/collection/collection-manifest.json +23 -4
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -24
- package/dist/collection/components/atoms/avatar/avatar.component.js +105 -89
- package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -0
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -18
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +37 -31
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +149 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -0
- package/dist/collection/components/atoms/button/button.component.css +1 -95
- package/dist/collection/components/atoms/button/button.component.js +305 -319
- package/dist/collection/components/atoms/button/button.component.js.map +1 -0
- package/dist/collection/components/atoms/card-body/card-body.component.css +1 -9
- package/dist/collection/components/atoms/card-body/card-body.component.js +35 -32
- package/dist/collection/components/atoms/card-body/card-body.component.js.map +1 -0
- package/dist/collection/components/atoms/card-container/card-container.component.css +1 -17
- package/dist/collection/components/atoms/card-container/card-container.component.js +52 -52
- package/dist/collection/components/atoms/card-container/card-container.component.js.map +1 -0
- package/dist/collection/components/atoms/card-header/card-header.component.css +1 -17
- package/dist/collection/components/atoms/card-header/card-header.component.js +52 -51
- package/dist/collection/components/atoms/card-header/card-header.component.js.map +1 -0
- package/dist/collection/components/atoms/counter/counter.component.css +1 -30
- package/dist/collection/components/atoms/counter/counter.component.js +52 -52
- package/dist/collection/components/atoms/counter/counter.component.js.map +1 -0
- package/dist/collection/components/atoms/divider/divider.component.css +1 -10
- package/dist/collection/components/atoms/divider/divider.component.js +13 -11
- package/dist/collection/components/atoms/divider/divider.component.js.map +1 -0
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -0
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +44 -0
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js.map +1 -0
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -0
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +48 -0
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js.map +1 -0
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -0
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +66 -0
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -6
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +57 -9
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -0
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -13
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +74 -52
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -0
- package/dist/collection/components/atoms/helper/helper.component.css +1 -7
- package/dist/collection/components/atoms/helper/helper.component.js +39 -39
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -0
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +101 -100
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -0
- package/dist/collection/components/atoms/illustration/illustration.component.js +30 -23
- package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -0
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +86 -89
- package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -0
- package/dist/collection/components/atoms/label/label.component.css +1 -0
- package/dist/collection/components/atoms/label/label.component.js +171 -0
- package/dist/collection/components/atoms/label/label.component.js.map +1 -0
- package/dist/collection/components/atoms/layout/layout.component.css +1 -73
- package/dist/collection/components/atoms/layout/layout.component.js +35 -38
- package/dist/collection/components/atoms/layout/layout.component.js.map +1 -0
- package/dist/collection/components/atoms/loader/loader.component.css +1 -26
- package/dist/collection/components/atoms/loader/loader.component.js +113 -114
- package/dist/collection/components/atoms/loader/loader.component.js.map +1 -0
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -7
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +53 -31
- package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -0
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -6
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -31
- package/dist/collection/components/atoms/modal-container/modal-container.component.js.map +1 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -8
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +13 -36
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js.map +1 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -16
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +56 -54
- package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -0
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +35 -32
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +1 -0
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -5
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +13 -9
- package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -0
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -21
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +97 -90
- package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -0
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -7
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +34 -30
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js.map +1 -0
- package/dist/collection/components/atoms/status/status.component.css +1 -16
- package/dist/collection/components/atoms/status/status.component.js +98 -93
- package/dist/collection/components/atoms/status/status.component.js.map +1 -0
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -59
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +104 -93
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js.map +1 -0
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -18
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +51 -50
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js.map +1 -0
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +3 -11
- package/dist/collection/components/atoms/tab-group/tab-group.component.js.map +1 -0
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -10
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +35 -32
- package/dist/collection/components/atoms/tab-item/tab-item.component.js.map +1 -0
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -0
- package/dist/collection/components/atoms/table-container/table-container.component.js +19 -0
- package/dist/collection/components/atoms/table-container/table-container.component.js.map +1 -0
- package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -0
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +44 -0
- package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -0
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -43
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +255 -235
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -0
- package/dist/collection/components/helpers/table-column/table-column.component.js +189 -0
- package/dist/collection/components/helpers/table-column/table-column.component.js.map +1 -0
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -3
- package/dist/collection/components/molecules/accordion/accordion.component.js +103 -108
- package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js +145 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -0
- package/dist/collection/components/molecules/calendar/calendar.component.css +1 -0
- package/dist/collection/components/molecules/calendar/calendar.component.js +515 -0
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -26
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +227 -139
- package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +527 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -12
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +289 -187
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -0
- package/dist/collection/components/molecules/input-error/input-error.component.js +60 -0
- package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -0
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -204
- package/dist/collection/components/molecules/input-group/input-group.component.js +366 -227
- package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -22
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +107 -104
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -0
- package/dist/collection/components/molecules/page-size-select/constants.js +3 -0
- package/dist/collection/components/molecules/page-size-select/constants.js.map +1 -0
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +207 -0
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -0
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
- package/dist/collection/components/molecules/pagination/pagination.component.js +119 -94
- package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -0
- package/dist/collection/components/molecules/profile/profile.component.css +1 -36
- package/dist/collection/components/molecules/profile/profile.component.js +66 -68
- package/dist/collection/components/molecules/profile/profile.component.js.map +1 -0
- package/dist/collection/components/molecules/select/select.component.css +1 -0
- package/dist/collection/components/molecules/select/select.component.js +739 -0
- package/dist/collection/components/molecules/select/select.component.js.map +1 -0
- package/dist/collection/components/molecules/stepper/stepper.component.css +1 -12
- package/dist/collection/components/molecules/stepper/stepper.component.js +120 -85
- package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -0
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -0
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +306 -0
- package/dist/collection/components/molecules/table-cell/table-cell.component.js.map +1 -0
- package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -0
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +276 -0
- package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -0
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -0
- package/dist/collection/components/molecules/table-header/table-header.component.js +452 -0
- package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -0
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -0
- package/dist/collection/components/molecules/table-row/table-row.component.js +65 -0
- package/dist/collection/components/molecules/table-row/table-row.component.js.map +1 -0
- package/dist/collection/components/molecules/toast/toast.component.css +1 -0
- package/dist/collection/components/molecules/toast/toast.component.js +197 -0
- package/dist/collection/components/molecules/toast/toast.component.js.map +1 -0
- package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
- package/dist/collection/components/organisms/drawer/drawer.component.js +234 -0
- package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -0
- package/dist/collection/components/organisms/modal/modal.component.js +228 -144
- package/dist/collection/components/organisms/modal/modal.component.js.map +1 -0
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -56
- package/dist/collection/components/organisms/navbar/navbar.component.js +72 -81
- package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -0
- package/dist/collection/components/organisms/table/table.component.css +1 -0
- package/dist/collection/components/organisms/table/table.component.js +1300 -0
- package/dist/collection/components/organisms/table/table.component.js.map +1 -0
- package/dist/collection/index.js +3 -1
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/tailwind/animation.js +72 -2
- package/dist/collection/tailwind/border-radius.js +1 -0
- package/dist/collection/tailwind/height.js +5 -0
- package/dist/collection/tailwind/plugins/safe-area.js +98 -0
- package/dist/collection/tailwind/screens.js +6 -6
- package/dist/collection/tailwind/shadows.js +2 -0
- package/dist/collection/tailwind/width.js +19 -13
- package/dist/collection/tailwind/z-index.js +15 -1
- package/dist/collection/tailwind.config.js +9 -2
- package/dist/collection/types/index.js +3 -0
- package/dist/collection/types/index.js.map +1 -0
- package/dist/collection/types/table.js +4 -0
- package/dist/collection/types/table.js.map +1 -0
- package/dist/collection/types/tailwind.js +2 -0
- package/dist/collection/types/tailwind.js.map +1 -0
- package/dist/collection/utils/child-of.js +1 -0
- package/dist/collection/utils/child-of.js.map +1 -0
- package/dist/collection/utils/icons.js +13 -0
- package/dist/collection/utils/icons.js.map +1 -0
- package/dist/collection/utils/illustrations.js +7 -0
- package/dist/collection/utils/illustrations.js.map +1 -0
- package/dist/collection/utils/index.js +7 -0
- package/dist/collection/utils/index.js.map +1 -0
- package/dist/collection/utils/localization.js +56 -0
- package/dist/collection/utils/localization.js.map +1 -0
- package/dist/collection/utils/object-get-by-path.js +9 -0
- package/dist/collection/utils/object-get-by-path.js.map +1 -0
- package/dist/collection/utils/transformers.js +5 -0
- package/dist/collection/utils/transformers.js.map +1 -0
- package/dist/components/backdrop.component.js +59 -0
- package/dist/components/backdrop.component.js.map +1 -0
- package/dist/components/button.component.js +16 -33
- package/dist/components/button.component.js.map +1 -0
- package/dist/components/calendar.component.js +3031 -0
- package/dist/components/calendar.component.js.map +1 -0
- package/dist/components/child-of.js +9 -0
- package/dist/components/child-of.js.map +1 -0
- package/dist/components/counter.component.js +4 -8
- package/dist/components/counter.component.js.map +1 -0
- package/dist/components/divider.component.js +4 -2
- package/dist/components/divider.component.js.map +1 -0
- package/dist/components/drawer-body.component.js +35 -0
- package/dist/components/drawer-body.component.js.map +1 -0
- package/dist/components/drawer-container.component.js +34 -0
- package/dist/components/drawer-container.component.js.map +1 -0
- package/dist/components/drawer-header.component.js +54 -0
- package/dist/components/drawer-header.component.js.map +1 -0
- package/dist/components/dropdown-menu-container.component.js +11 -4
- package/dist/components/dropdown-menu-container.component.js.map +1 -0
- package/dist/components/dropdown-menu-item.component.js +45 -0
- package/dist/components/dropdown-menu-item.component.js.map +1 -0
- package/dist/components/dropdown.component.js +77 -72
- package/dist/components/dropdown.component.js.map +1 -0
- package/dist/components/floating-ui.dom.esm.js +1327 -0
- package/dist/components/floating-ui.dom.esm.js.map +1 -0
- package/dist/components/helper.component.js +4 -5
- package/dist/components/helper.component.js.map +1 -0
- package/dist/components/icon.component.js +77 -60
- package/dist/components/icon.component.js.map +1 -0
- package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +247 -16
- package/dist/components/illustration.component.js.map +1 -0
- package/dist/components/index.d.ts +9 -45
- package/dist/components/index.js +13 -43
- package/dist/components/index.js.map +1 -0
- package/dist/components/input-error.component.js +50 -0
- package/dist/components/input-error.component.js.map +1 -0
- package/dist/components/input-group.component.js +172 -0
- package/dist/components/input-group.component.js.map +1 -0
- package/dist/components/label.component.js +54 -0
- package/dist/components/label.component.js.map +1 -0
- package/dist/components/loader.component.js +12 -14
- package/dist/components/loader.component.js.map +1 -0
- package/dist/components/localization.js +59 -0
- package/dist/components/localization.js.map +1 -0
- package/dist/components/modal-body.component.js +8 -7
- package/dist/components/modal-body.component.js.map +1 -0
- package/dist/components/modal-container.component.js +8 -7
- package/dist/components/modal-container.component.js.map +1 -0
- package/dist/components/modal-footer.component.js +6 -10
- package/dist/components/modal-footer.component.js.map +1 -0
- package/dist/components/modal-header.component.js +21 -10
- package/dist/components/modal-header.component.js.map +1 -0
- package/dist/components/object-get-by-path.js +16 -0
- package/dist/components/object-get-by-path.js.map +1 -0
- package/dist/components/p-accordion.js +5 -11
- package/dist/components/p-accordion.js.map +1 -0
- package/dist/components/{p-modal-backdrop.d.ts → p-attachment.d.ts} +4 -4
- package/dist/components/p-attachment.js +88 -0
- package/dist/components/p-attachment.js.map +1 -0
- package/dist/components/p-avatar-group.js +5 -2
- package/dist/components/p-avatar-group.js.map +1 -0
- package/dist/components/p-avatar.js +59 -1
- package/dist/components/p-avatar.js.map +1 -0
- package/dist/components/p-backdrop.d.ts +11 -0
- package/dist/components/p-backdrop.js +8 -0
- package/dist/components/p-backdrop.js.map +1 -0
- package/dist/components/p-button.js +2 -0
- package/dist/components/p-button.js.map +1 -0
- package/dist/components/p-calendar.d.ts +11 -0
- package/dist/components/p-calendar.js +8 -0
- package/dist/components/p-calendar.js.map +1 -0
- package/dist/components/p-card-body.js +4 -5
- package/dist/components/p-card-body.js.map +1 -0
- package/dist/components/p-card-container.js +4 -8
- package/dist/components/p-card-container.js.map +1 -0
- package/dist/components/p-card-header.js +5 -5
- package/dist/components/p-card-header.js.map +1 -0
- package/dist/components/p-content-slider.js +117 -57
- package/dist/components/p-content-slider.js.map +1 -0
- package/dist/components/p-counter.js +2 -0
- package/dist/components/p-counter.js.map +1 -0
- package/dist/components/p-datepicker.d.ts +11 -0
- package/dist/components/p-datepicker.js +3125 -0
- package/dist/components/p-datepicker.js.map +1 -0
- package/dist/components/p-divider.js +2 -0
- package/dist/components/p-divider.js.map +1 -0
- package/dist/components/p-drawer-body.d.ts +11 -0
- package/dist/components/p-drawer-body.js +8 -0
- package/dist/components/p-drawer-body.js.map +1 -0
- package/dist/components/p-drawer-container.d.ts +11 -0
- package/dist/components/p-drawer-container.js +8 -0
- package/dist/components/p-drawer-container.js.map +1 -0
- package/dist/components/p-drawer-header.d.ts +11 -0
- package/dist/components/p-drawer-header.js +8 -0
- package/dist/components/p-drawer-header.js.map +1 -0
- package/dist/components/p-drawer.d.ts +11 -0
- package/dist/components/p-drawer.js +130 -0
- package/dist/components/p-drawer.js.map +1 -0
- package/dist/components/p-dropdown-menu-container.js +2 -0
- package/dist/components/p-dropdown-menu-container.js.map +1 -0
- package/dist/components/p-dropdown-menu-item.js +3 -41
- package/dist/components/p-dropdown-menu-item.js.map +1 -0
- package/dist/components/p-dropdown.js +2 -0
- package/dist/components/p-dropdown.js.map +1 -0
- package/dist/components/p-helper.js +2 -0
- package/dist/components/p-helper.js.map +1 -0
- package/dist/components/p-icon.js +2 -0
- package/dist/components/p-icon.js.map +1 -0
- package/dist/components/p-illustration.js +3 -1435
- package/dist/components/p-illustration.js.map +1 -0
- package/dist/components/p-info-panel.js +6 -8
- package/dist/components/p-info-panel.js.map +1 -0
- package/dist/components/p-input-error.d.ts +11 -0
- package/dist/components/p-input-error.js +8 -0
- package/dist/components/p-input-error.js.map +1 -0
- package/dist/components/p-input-group.js +3 -91
- package/dist/components/p-input-group.js.map +1 -0
- package/dist/components/{p-tag.d.ts → p-label.d.ts} +4 -4
- package/dist/components/p-label.js +8 -0
- package/dist/components/p-label.js.map +1 -0
- package/dist/components/p-layout.js +4 -5
- package/dist/components/p-layout.js.map +1 -0
- package/dist/components/p-loader.js +2 -0
- package/dist/components/p-loader.js.map +1 -0
- package/dist/components/p-modal-body.js +2 -0
- package/dist/components/p-modal-body.js.map +1 -0
- package/dist/components/p-modal-container.js +2 -0
- package/dist/components/p-modal-container.js.map +1 -0
- package/dist/components/p-modal-footer.js +2 -0
- package/dist/components/p-modal-footer.js.map +1 -0
- package/dist/components/p-modal-header.js +2 -0
- package/dist/components/p-modal-header.js.map +1 -0
- package/dist/components/p-modal.js +55 -26
- package/dist/components/p-modal.js.map +1 -0
- package/dist/components/p-navbar.js +12 -10
- package/dist/components/p-navbar.js.map +1 -0
- package/dist/components/p-navigation-item.js +8 -5
- package/dist/components/p-navigation-item.js.map +1 -0
- package/dist/components/p-page-size-select.d.ts +11 -0
- package/dist/components/p-page-size-select.js +8 -0
- package/dist/components/p-page-size-select.js.map +1 -0
- package/dist/components/p-pagination-item.js +2 -0
- package/dist/components/p-pagination-item.js.map +1 -0
- package/dist/components/p-pagination.js +3 -195
- package/dist/components/p-pagination.js.map +1 -0
- package/dist/components/p-profile.js +15 -22
- package/dist/components/p-profile.js.map +1 -0
- package/dist/components/p-segment-container.js +3 -27
- package/dist/components/p-segment-container.js.map +1 -0
- package/dist/components/p-segment-item.js +3 -49
- package/dist/components/p-segment-item.js.map +1 -0
- package/dist/components/p-select.d.ts +11 -0
- package/dist/components/p-select.js +340 -0
- package/dist/components/p-select.js.map +1 -0
- package/dist/components/p-slider-indicator.js +2 -0
- package/dist/components/p-slider-indicator.js.map +1 -0
- package/dist/components/p-status.js +7 -5
- package/dist/components/p-status.js.map +1 -0
- package/dist/components/p-stepper-item.js +47 -1
- package/dist/components/p-stepper-item.js.map +1 -0
- package/dist/components/p-stepper-line.js +2 -0
- package/dist/components/p-stepper-line.js.map +1 -0
- package/dist/components/p-stepper.js +56 -58
- package/dist/components/p-stepper.js.map +1 -0
- package/dist/components/p-tab-group.js +4 -5
- package/dist/components/p-tab-group.js.map +1 -0
- package/dist/components/p-tab-item.js +4 -5
- package/dist/components/p-tab-item.js.map +1 -0
- package/dist/components/p-table-cell.d.ts +11 -0
- package/dist/components/p-table-cell.js +8 -0
- package/dist/components/p-table-cell.js.map +1 -0
- package/dist/components/p-table-column.d.ts +11 -0
- package/dist/components/p-table-column.js +52 -0
- package/dist/components/p-table-column.js.map +1 -0
- package/dist/components/p-table-container.d.ts +11 -0
- package/dist/components/p-table-container.js +8 -0
- package/dist/components/p-table-container.js.map +1 -0
- package/dist/components/p-table-footer.d.ts +11 -0
- package/dist/components/p-table-footer.js +8 -0
- package/dist/components/p-table-footer.js.map +1 -0
- package/dist/components/p-table-header.d.ts +11 -0
- package/dist/components/p-table-header.js +8 -0
- package/dist/components/p-table-header.js.map +1 -0
- package/dist/components/p-table-row.d.ts +11 -0
- package/dist/components/p-table-row.js +8 -0
- package/dist/components/p-table-row.js.map +1 -0
- package/dist/components/p-table.d.ts +11 -0
- package/dist/components/p-table.js +552 -0
- package/dist/components/p-table.js.map +1 -0
- package/dist/components/p-toast-container.d.ts +11 -0
- package/dist/components/p-toast-container.js +38 -0
- package/dist/components/p-toast-container.js.map +1 -0
- package/dist/components/p-toast.d.ts +11 -0
- package/dist/components/p-toast.js +75 -0
- package/dist/components/p-toast.js.map +1 -0
- package/dist/components/p-tooltip.js +2 -0
- package/dist/components/p-tooltip.js.map +1 -0
- package/dist/components/page-size-select.component.js +107 -0
- package/dist/components/page-size-select.component.js.map +1 -0
- package/dist/components/pagination-item.component.js +4 -5
- package/dist/components/pagination-item.component.js.map +1 -0
- package/dist/components/pagination.component.js +196 -0
- package/dist/components/pagination.component.js.map +1 -0
- package/dist/components/segment-container.component.js +31 -0
- package/dist/components/segment-container.component.js.map +1 -0
- package/dist/components/segment-item.component.js +53 -0
- package/dist/components/segment-item.component.js.map +1 -0
- package/dist/components/slider-indicator.component.js +4 -5
- package/dist/components/slider-indicator.component.js.map +1 -0
- package/dist/components/stepper-line.component.js +4 -8
- package/dist/components/stepper-line.component.js.map +1 -0
- package/dist/components/table-cell.component.js +179 -0
- package/dist/components/table-cell.component.js.map +1 -0
- package/dist/components/table-container.component.js +32 -0
- package/dist/components/table-container.component.js.map +1 -0
- package/dist/components/table-footer.component.js +129 -0
- package/dist/components/table-footer.component.js.map +1 -0
- package/dist/components/table-header.component.js +1070 -0
- package/dist/components/table-header.component.js.map +1 -0
- package/dist/components/table-row.component.js +45 -0
- package/dist/components/table-row.component.js.map +1 -0
- package/dist/components/tooltip.component.js +60 -61
- package/dist/components/tooltip.component.js.map +1 -0
- package/dist/esm/child-of-90a8c4b5.js +9 -0
- package/dist/esm/child-of-90a8c4b5.js.map +1 -0
- package/dist/esm/constants-826f9460.js +6 -0
- package/dist/esm/constants-826f9460.js.map +1 -0
- package/dist/esm/floating-ui.dom.esm-314a52b2.js +1327 -0
- package/dist/esm/floating-ui.dom.esm-314a52b2.js.map +1 -0
- package/dist/esm/{index-9062156b.js → index-2c1bdb40.js} +980 -340
- package/dist/esm/index-2c1bdb40.js.map +1 -0
- package/dist/esm/index-934ac6da.js +2300 -0
- package/dist/esm/index-934ac6da.js.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/localization-901dc2d3.js +59 -0
- package/dist/esm/localization-901dc2d3.js.map +1 -0
- package/dist/esm/object-get-by-path-8f4f94b8.js +16 -0
- package/dist/esm/object-get-by-path-8f4f94b8.js.map +1 -0
- package/dist/esm/p-accordion.entry.js +5 -11
- package/dist/esm/p-accordion.entry.js.map +1 -0
- package/dist/esm/p-attachment.entry.js +35 -0
- package/dist/esm/p-attachment.entry.js.map +1 -0
- package/dist/esm/p-avatar-group.entry.js +5 -2
- package/dist/esm/p-avatar-group.entry.js.map +1 -0
- package/dist/esm/p-avatar.entry.js +41 -0
- package/dist/esm/p-avatar.entry.js.map +1 -0
- package/dist/esm/p-backdrop.entry.js +39 -0
- package/dist/esm/p-backdrop.entry.js.map +1 -0
- package/dist/esm/p-button_3.entry.js +142 -148
- package/dist/esm/p-button_3.entry.js.map +1 -0
- package/dist/esm/p-calendar.entry.js +699 -0
- package/dist/esm/p-calendar.entry.js.map +1 -0
- package/dist/esm/p-card-body.entry.js +4 -5
- package/dist/esm/p-card-body.entry.js.map +1 -0
- package/dist/esm/p-card-container.entry.js +4 -8
- package/dist/esm/p-card-container.entry.js.map +1 -0
- package/dist/esm/p-card-header.entry.js +5 -5
- package/dist/esm/p-card-header.entry.js.map +1 -0
- package/dist/esm/p-content-slider.entry.js +115 -56
- package/dist/esm/p-content-slider.entry.js.map +1 -0
- package/dist/esm/p-counter.entry.js +4 -8
- package/dist/esm/p-counter.entry.js.map +1 -0
- package/dist/esm/p-datepicker.entry.js +3039 -0
- package/dist/esm/p-datepicker.entry.js.map +1 -0
- package/dist/esm/p-divider.entry.js +4 -2
- package/dist/esm/p-divider.entry.js.map +1 -0
- package/dist/esm/p-drawer-body_3.entry.js +45 -0
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -0
- package/dist/esm/p-drawer.entry.js +61 -0
- package/dist/esm/p-drawer.entry.js.map +1 -0
- package/dist/esm/p-dropdown-menu-container.entry.js +7 -3
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -0
- package/dist/esm/p-dropdown_2.entry.js +158 -0
- package/dist/esm/p-dropdown_2.entry.js.map +1 -0
- package/dist/esm/p-helper_3.entry.js +144 -0
- package/dist/esm/p-helper_3.entry.js.map +1 -0
- package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1417 -8
- package/dist/esm/p-illustration_6.entry.js.map +1 -0
- package/dist/esm/p-info-panel.entry.js +6 -8
- package/dist/esm/p-info-panel.entry.js.map +1 -0
- package/dist/esm/p-label_3.entry.js +59 -0
- package/dist/esm/p-label_3.entry.js.map +1 -0
- package/dist/esm/p-layout.entry.js +4 -5
- package/dist/esm/p-layout.entry.js.map +1 -0
- package/dist/esm/p-modal-body_4.entry.js +72 -0
- package/dist/esm/p-modal-body_4.entry.js.map +1 -0
- package/dist/esm/p-modal.entry.js +34 -21
- package/dist/esm/p-modal.entry.js.map +1 -0
- package/dist/esm/p-navbar.entry.js +5 -9
- package/dist/esm/p-navbar.entry.js.map +1 -0
- package/dist/esm/p-navigation-item.entry.js +8 -5
- package/dist/esm/p-navigation-item.entry.js.map +1 -0
- package/dist/esm/p-page-size-select_3.entry.js +218 -0
- package/dist/esm/p-page-size-select_3.entry.js.map +1 -0
- package/dist/esm/p-profile.entry.js +14 -15
- package/dist/esm/p-profile.entry.js.map +1 -0
- package/dist/esm/p-select.entry.js +241 -0
- package/dist/esm/p-select.entry.js.map +1 -0
- package/dist/esm/p-slider-indicator.entry.js +4 -5
- package/dist/esm/p-slider-indicator.entry.js.map +1 -0
- package/dist/esm/p-status.entry.js +7 -5
- package/dist/esm/p-status.entry.js.map +1 -0
- package/dist/esm/p-stepper-item.entry.js +22 -0
- package/dist/esm/p-stepper-item.entry.js.map +1 -0
- package/dist/esm/p-stepper-line.entry.js +19 -0
- package/dist/esm/p-stepper-line.entry.js.map +1 -0
- package/dist/esm/p-stepper.entry.js +53 -44
- package/dist/esm/p-stepper.entry.js.map +1 -0
- package/dist/esm/p-tab-group.entry.js +11 -10
- package/dist/esm/p-tab-group.entry.js.map +1 -0
- package/dist/esm/p-tab-item.entry.js +4 -5
- package/dist/esm/p-tab-item.entry.js.map +1 -0
- package/dist/esm/p-table-column.entry.js +26 -0
- package/dist/esm/p-table-column.entry.js.map +1 -0
- package/dist/esm/p-table.entry.js +356 -0
- package/dist/esm/p-table.entry.js.map +1 -0
- package/dist/esm/p-toast-container.entry.js +18 -0
- package/dist/esm/p-toast-container.entry.js.map +1 -0
- package/dist/esm/p-toast.entry.js +31 -0
- package/dist/esm/p-toast.entry.js.map +1 -0
- package/dist/esm/p-tooltip.entry.js +59 -61
- package/dist/esm/p-tooltip.entry.js.map +1 -0
- package/dist/esm/paperless.js +9 -3
- package/dist/esm/paperless.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +2 -0
- package/dist/paperless/index.esm.js.map +1 -0
- package/dist/paperless/p-07259c61.entry.js +2 -0
- package/dist/paperless/p-07259c61.entry.js.map +1 -0
- package/dist/paperless/p-11f5c8c7.entry.js +2 -0
- package/dist/paperless/p-11f5c8c7.entry.js.map +1 -0
- package/dist/paperless/p-12171df4.entry.js +2 -0
- package/dist/paperless/p-12171df4.entry.js.map +1 -0
- package/dist/paperless/p-1630e39b.entry.js +2 -0
- package/dist/paperless/p-1630e39b.entry.js.map +1 -0
- package/dist/paperless/p-18c0dd17.entry.js +2 -0
- package/dist/paperless/p-18c0dd17.entry.js.map +1 -0
- package/dist/paperless/p-195632a8.entry.js +2 -0
- package/dist/paperless/p-195632a8.entry.js.map +1 -0
- package/dist/paperless/p-1f55126f.entry.js +2 -0
- package/dist/paperless/p-1f55126f.entry.js.map +1 -0
- package/dist/paperless/p-26da620b.entry.js +2 -0
- package/dist/paperless/p-26da620b.entry.js.map +1 -0
- package/dist/paperless/p-2a668e75.entry.js +2 -0
- package/dist/paperless/p-2a668e75.entry.js.map +1 -0
- package/dist/paperless/p-350d452b.entry.js +2 -0
- package/dist/paperless/p-350d452b.entry.js.map +1 -0
- package/dist/paperless/p-36967a97.entry.js +2 -0
- package/dist/paperless/p-36967a97.entry.js.map +1 -0
- package/dist/paperless/p-3d8b2178.entry.js +2 -0
- package/dist/paperless/p-3d8b2178.entry.js.map +1 -0
- package/dist/paperless/p-47bcc23e.entry.js +2 -0
- package/dist/paperless/p-47bcc23e.entry.js.map +1 -0
- package/dist/paperless/p-47e461b7.entry.js +2 -0
- package/dist/paperless/p-47e461b7.entry.js.map +1 -0
- package/dist/paperless/p-4c51a801.entry.js +2 -0
- package/dist/paperless/p-4c51a801.entry.js.map +1 -0
- package/dist/paperless/p-4e650fe4.js +2 -0
- package/dist/paperless/p-4e650fe4.js.map +1 -0
- package/dist/paperless/p-51408aca.entry.js +2 -0
- package/dist/paperless/p-51408aca.entry.js.map +1 -0
- package/dist/paperless/p-594b28a7.entry.js +2 -0
- package/dist/paperless/p-594b28a7.entry.js.map +1 -0
- package/dist/paperless/p-5c7b20a3.entry.js +2 -0
- package/dist/paperless/p-5c7b20a3.entry.js.map +1 -0
- package/dist/paperless/p-6124f388.entry.js +2 -0
- package/dist/paperless/p-6124f388.entry.js.map +1 -0
- package/dist/paperless/p-6c60fd3d.js +2 -0
- package/dist/paperless/p-6c60fd3d.js.map +1 -0
- package/dist/paperless/p-6ccf5cdd.js +3 -0
- package/dist/paperless/p-6ccf5cdd.js.map +1 -0
- package/dist/paperless/p-6d5aa646.entry.js +2 -0
- package/dist/paperless/p-6d5aa646.entry.js.map +1 -0
- package/dist/paperless/p-6f1352e0.entry.js +2 -0
- package/dist/paperless/p-6f1352e0.entry.js.map +1 -0
- package/dist/paperless/p-8a6728d5.js +2 -0
- package/dist/paperless/p-8a6728d5.js.map +1 -0
- package/dist/paperless/p-910bd6bc.entry.js +2 -0
- package/dist/paperless/p-910bd6bc.entry.js.map +1 -0
- package/dist/paperless/p-91725831.entry.js +2 -0
- package/dist/paperless/p-91725831.entry.js.map +1 -0
- package/dist/paperless/p-946286e2.entry.js +2 -0
- package/dist/paperless/p-946286e2.entry.js.map +1 -0
- package/dist/paperless/p-a1c1d95b.entry.js +2 -0
- package/dist/paperless/p-a1c1d95b.entry.js.map +1 -0
- package/dist/paperless/p-a23ea8fe.entry.js +2 -0
- package/dist/paperless/p-a23ea8fe.entry.js.map +1 -0
- package/dist/paperless/p-abcd80e9.entry.js +2 -0
- package/dist/paperless/p-abcd80e9.entry.js.map +1 -0
- package/dist/paperless/p-ae248aef.js +2 -0
- package/dist/paperless/p-ae248aef.js.map +1 -0
- package/dist/paperless/p-b0398d3b.entry.js +2 -0
- package/dist/paperless/p-b0398d3b.entry.js.map +1 -0
- package/dist/paperless/p-b2bc1d2a.entry.js +2 -0
- package/dist/paperless/p-b2bc1d2a.entry.js.map +1 -0
- package/dist/paperless/p-b5ce8cd4.entry.js +2 -0
- package/dist/paperless/p-b5ce8cd4.entry.js.map +1 -0
- package/dist/paperless/p-b92dd098.entry.js +2 -0
- package/dist/paperless/p-b92dd098.entry.js.map +1 -0
- package/dist/paperless/p-b9f742e0.entry.js +2 -0
- package/dist/paperless/p-b9f742e0.entry.js.map +1 -0
- package/dist/paperless/p-bf0eca4f.entry.js +2 -0
- package/dist/paperless/p-bf0eca4f.entry.js.map +1 -0
- package/dist/paperless/p-ce1abd74.entry.js +2 -0
- package/dist/paperless/p-ce1abd74.entry.js.map +1 -0
- package/dist/paperless/p-ce443f5b.entry.js +2 -0
- package/dist/paperless/p-ce443f5b.entry.js.map +1 -0
- package/dist/paperless/p-da2426c7.js +2 -0
- package/dist/paperless/p-da2426c7.js.map +1 -0
- package/dist/paperless/p-da6e5abd.entry.js +2 -0
- package/dist/paperless/p-da6e5abd.entry.js.map +1 -0
- package/dist/paperless/p-e17560e6.entry.js +2 -0
- package/dist/paperless/p-e17560e6.entry.js.map +1 -0
- package/dist/paperless/p-e1da7376.entry.js +2 -0
- package/dist/paperless/p-e1da7376.entry.js.map +1 -0
- package/dist/paperless/p-e9a1b51e.entry.js +2 -0
- package/dist/paperless/p-e9a1b51e.entry.js.map +1 -0
- package/dist/paperless/p-ec850aca.entry.js +2 -0
- package/dist/paperless/p-ec850aca.entry.js.map +1 -0
- package/dist/paperless/p-ed6edf0a.entry.js +2 -0
- package/dist/paperless/p-ed6edf0a.entry.js.map +1 -0
- package/dist/paperless/p-f47247a6.entry.js +2 -0
- package/dist/paperless/p-f47247a6.entry.js.map +1 -0
- package/dist/paperless/p-fef32402.js +2 -0
- package/dist/paperless/p-fef32402.js.map +1 -0
- package/dist/paperless/paperless.css +1003 -801
- package/dist/paperless/paperless.esm.js +2 -1
- package/dist/paperless/paperless.esm.js.map +1 -0
- package/dist/style/_fonts.scss +70 -0
- package/dist/style/_helpers.scss +5 -0
- package/dist/style/_mixins.scss +1 -0
- package/dist/style/_reset.scss +30 -0
- package/dist/style/_tailwind.scss +3 -0
- package/dist/style/_typograhpy.scss +29 -0
- package/dist/style/_variables.scss +2 -0
- package/dist/style/form/_checkbox.scss +111 -0
- package/dist/style/form/_input.scss +31 -0
- package/dist/style/form/_mixins.scss +114 -0
- package/dist/style/form/_radio.scss +58 -0
- package/dist/style/form/_textarea.scss +18 -0
- package/dist/style/form/index.scss +4 -0
- package/dist/style/mixins/_scrollbar.scss +32 -0
- package/dist/style/paperless.scss +12 -0
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/animation.js +72 -2
- package/dist/tailwind/border-radius.js +1 -0
- package/dist/tailwind/height.js +5 -0
- package/dist/tailwind/plugins/safe-area.js +98 -0
- package/dist/tailwind/screens.js +6 -6
- package/dist/tailwind/shadows.js +2 -0
- package/dist/tailwind/width.js +19 -13
- package/dist/tailwind/z-index.js +15 -1
- package/dist/tailwind.config.js +9 -2
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +31 -0
- package/dist/types/components/atoms/button/button.component.d.ts +5 -5
- package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +7 -0
- package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +7 -0
- package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +12 -0
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +8 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
- package/dist/types/components/atoms/helper/helper.component.d.ts +1 -1
- package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
- package/dist/types/components/atoms/illustration/illustration.component.d.ts +1 -1
- package/dist/types/components/atoms/label/label.component.d.ts +33 -0
- package/dist/types/components/atoms/layout/layout.component.d.ts +1 -1
- package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
- package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +4 -0
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +4 -0
- package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +0 -4
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +1 -1
- package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +1 -1
- package/dist/types/components/atoms/status/status.component.d.ts +1 -1
- package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +4 -0
- package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
- package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +7 -0
- package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +10 -5
- package/dist/types/components/helpers/table-column/table-column.component.d.ts +42 -0
- package/dist/types/components/molecules/attachment/attachment.component.d.ts +28 -0
- package/dist/types/components/molecules/calendar/calendar.component.d.ts +76 -0
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +14 -5
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +97 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +29 -6
- package/dist/types/components/molecules/input-error/input-error.component.d.ts +12 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +22 -3
- package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
- package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +50 -0
- package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
- package/dist/types/components/molecules/profile/profile.component.d.ts +2 -1
- package/dist/types/components/molecules/select/select.component.d.ts +141 -0
- package/dist/types/components/molecules/stepper/stepper.component.d.ts +5 -2
- package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -0
- package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +63 -0
- package/dist/types/components/molecules/table-header/table-header.component.d.ts +101 -0
- package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
- package/dist/types/components/molecules/toast/toast.component.d.ts +39 -0
- package/dist/types/components/organisms/drawer/drawer.component.d.ts +52 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +24 -4
- package/dist/types/components/organisms/table/table.component.d.ts +240 -0
- package/dist/types/components.d.ts +2508 -535
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +92 -19
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/table.d.ts +29 -0
- package/dist/types/types/tailwind.d.ts +2 -0
- package/dist/types/utils/icons.d.ts +6 -0
- package/dist/types/utils/illustrations.d.ts +3 -0
- package/dist/types/utils/index.d.ts +6 -0
- package/dist/types/utils/localization.d.ts +2 -0
- package/dist/types/utils/object-get-by-path.d.ts +1 -0
- package/dist/types/utils/transformers.d.ts +2 -0
- package/dist/{workbox-5fe694da.js → workbox-bc53c9ad.js} +2 -2
- package/dist/workbox-bc53c9ad.js.map +1 -0
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +21136 -0
- package/hydrate/package.json +6 -0
- package/loader/index.d.ts +9 -0
- package/loader/package.json +1 -0
- package/package.json +24 -18
- package/dist/build/p-113baa35.entry.js +0 -1
- package/dist/build/p-1e7d45e4.entry.js +0 -1
- package/dist/build/p-1ef22f4e.entry.js +0 -1
- package/dist/build/p-2672f14b.entry.js +0 -1
- package/dist/build/p-2beaf0e8.entry.js +0 -1
- package/dist/build/p-3f6c9d44.entry.js +0 -1
- package/dist/build/p-4336cbbc.entry.js +0 -1
- package/dist/build/p-58ce5668.entry.js +0 -1
- package/dist/build/p-6088647a.entry.js +0 -1
- package/dist/build/p-6835a9e3.entry.js +0 -1
- package/dist/build/p-6e778574.entry.js +0 -1
- package/dist/build/p-79d3258f.entry.js +0 -1
- package/dist/build/p-801d05b6.entry.js +0 -1
- package/dist/build/p-829c4101.entry.js +0 -1
- package/dist/build/p-89fda3a8.entry.js +0 -1
- package/dist/build/p-8ac8a69d.entry.js +0 -1
- package/dist/build/p-8b743795.entry.js +0 -1
- package/dist/build/p-92b6c76c.entry.js +0 -1
- package/dist/build/p-938f52ee.entry.js +0 -1
- package/dist/build/p-9d98d0d9.entry.js +0 -1
- package/dist/build/p-a5ebbd0c.entry.js +0 -1
- package/dist/build/p-a6127c75.entry.js +0 -1
- package/dist/build/p-a7086ffa.js +0 -1
- package/dist/build/p-aa14483b.entry.js +0 -1
- package/dist/build/p-bc7e8cc4.js +0 -2
- package/dist/build/p-bd50db3d.entry.js +0 -1
- package/dist/build/p-c27046e6.entry.js +0 -1
- package/dist/build/p-c59d9fc2.entry.js +0 -1
- package/dist/build/p-cc177072.entry.js +0 -1
- package/dist/build/p-d32f2578.entry.js +0 -1
- package/dist/build/p-e20a1842.entry.js +0 -1
- package/dist/build/p-e2a98d53.entry.js +0 -1
- package/dist/build/p-e934ef94.entry.js +0 -1
- package/dist/build/p-e9e20ac3.entry.js +0 -1
- package/dist/build/p-ec2a5f95.entry.js +0 -1
- package/dist/build/p-ede5e914.entry.js +0 -1
- package/dist/cjs/p-avatar_2.cjs.entry.js +0 -179
- package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
- package/dist/cjs/p-helper.cjs.entry.js +0 -23
- package/dist/cjs/p-input-group.cjs.entry.js +0 -51
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +0 -101
- package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
- package/dist/cjs/p-pagination.cjs.entry.js +0 -171
- package/dist/cjs/p-segment-container.cjs.entry.js +0 -19
- package/dist/cjs/p-segment-item.cjs.entry.js +0 -29
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +0 -56
- package/dist/cjs/p-tag.cjs.entry.js +0 -27
- package/dist/cjs/popper-e0c4ed4c.js +0 -1790
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +0 -7
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +0 -15
- package/dist/collection/components/atoms/tab-group/tab-group.component.css +0 -9
- package/dist/collection/components/atoms/tag/tag.component.css +0 -51
- package/dist/collection/components/atoms/tag/tag.component.js +0 -64
- package/dist/collection/utils/types.js +0 -1
- package/dist/collection/utils/utils.js +0 -3
- package/dist/components/avatar.component.js +0 -54
- package/dist/components/modal-backdrop.component.js +0 -30
- package/dist/components/p-modal-backdrop.js +0 -6
- package/dist/components/p-tag.js +0 -44
- package/dist/components/popper.js +0 -1788
- package/dist/components/stepper-item.component.js +0 -57
- package/dist/esm/p-avatar_2.entry.js +0 -174
- package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
- package/dist/esm/p-helper.entry.js +0 -19
- package/dist/esm/p-input-group.entry.js +0 -47
- package/dist/esm/p-modal-backdrop_5.entry.js +0 -93
- package/dist/esm/p-pagination-item.entry.js +0 -19
- package/dist/esm/p-pagination.entry.js +0 -167
- package/dist/esm/p-segment-container.entry.js +0 -15
- package/dist/esm/p-segment-item.entry.js +0 -25
- package/dist/esm/p-stepper-item_2.entry.js +0 -51
- package/dist/esm/p-tag.entry.js +0 -23
- package/dist/esm/popper-41c6f9cd.js +0 -1788
- package/dist/paperless/p-113baa35.entry.js +0 -1
- package/dist/paperless/p-1e7d45e4.entry.js +0 -1
- package/dist/paperless/p-1ef22f4e.entry.js +0 -1
- package/dist/paperless/p-2672f14b.entry.js +0 -1
- package/dist/paperless/p-2beaf0e8.entry.js +0 -1
- package/dist/paperless/p-3f6c9d44.entry.js +0 -1
- package/dist/paperless/p-4336cbbc.entry.js +0 -1
- package/dist/paperless/p-58ce5668.entry.js +0 -1
- package/dist/paperless/p-6088647a.entry.js +0 -1
- package/dist/paperless/p-6835a9e3.entry.js +0 -1
- package/dist/paperless/p-6e778574.entry.js +0 -1
- package/dist/paperless/p-79d3258f.entry.js +0 -1
- package/dist/paperless/p-801d05b6.entry.js +0 -1
- package/dist/paperless/p-829c4101.entry.js +0 -1
- package/dist/paperless/p-89fda3a8.entry.js +0 -1
- package/dist/paperless/p-8ac8a69d.entry.js +0 -1
- package/dist/paperless/p-8b743795.entry.js +0 -1
- package/dist/paperless/p-92b6c76c.entry.js +0 -1
- package/dist/paperless/p-938f52ee.entry.js +0 -1
- package/dist/paperless/p-9d98d0d9.entry.js +0 -1
- package/dist/paperless/p-a5ebbd0c.entry.js +0 -1
- package/dist/paperless/p-a6127c75.entry.js +0 -1
- package/dist/paperless/p-a7086ffa.js +0 -1
- package/dist/paperless/p-aa14483b.entry.js +0 -1
- package/dist/paperless/p-bc7e8cc4.js +0 -2
- package/dist/paperless/p-bd50db3d.entry.js +0 -1
- package/dist/paperless/p-c27046e6.entry.js +0 -1
- package/dist/paperless/p-c59d9fc2.entry.js +0 -1
- package/dist/paperless/p-cc177072.entry.js +0 -1
- package/dist/paperless/p-d32f2578.entry.js +0 -1
- package/dist/paperless/p-e20a1842.entry.js +0 -1
- package/dist/paperless/p-e2a98d53.entry.js +0 -1
- package/dist/paperless/p-e934ef94.entry.js +0 -1
- package/dist/paperless/p-e9e20ac3.entry.js +0 -1
- package/dist/paperless/p-ec2a5f95.entry.js +0 -1
- package/dist/paperless/p-ede5e914.entry.js +0 -1
- package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +0 -3
- package/dist/types/components/atoms/tag/tag.component.d.ts +0 -11
- package/dist/types/utils/types.d.ts +0 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/dist/workbox-5fe694da.js.map +0 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dfc4dfec.js');
|
|
6
|
+
const localization = require('./localization-9e2ac7f3.js');
|
|
7
|
+
const constants = require('./constants-a4459ec9.js');
|
|
8
|
+
|
|
9
|
+
const PageSizeSelect = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.sizeChange = index.createEvent(this, "sizeChange", 7);
|
|
13
|
+
this._defaultButtonTemplate = (size) => localization.formatTranslation(this._locales.item, { size });
|
|
14
|
+
this._defaultItemTemplate = (size) => localization.formatTranslation(this._locales.item, { size });
|
|
15
|
+
this.size = constants.defaultSize;
|
|
16
|
+
this.sizeOptions = constants.defaultSizeOptions;
|
|
17
|
+
this.chevronPosition = 'start';
|
|
18
|
+
this.buttonSize = 'small';
|
|
19
|
+
this.buttonTemplate = this._defaultButtonTemplate;
|
|
20
|
+
this.itemTemplate = this._defaultItemTemplate;
|
|
21
|
+
this.hidden = false;
|
|
22
|
+
this._locales = {};
|
|
23
|
+
}
|
|
24
|
+
componentWillLoad() {
|
|
25
|
+
this._setLocales();
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return (index.h(index.Host, { class: `p-page-size-select ${this.hidden && 'hidden'}` }, index.h("p-dropdown", { placement: "top-start", chevronPosition: this.chevronPosition, chevronDirection: "down" }, index.h("p-button", { variant: "secondary", slot: "trigger", size: this.buttonSize }, this.buttonTemplate
|
|
29
|
+
? this.buttonTemplate(this.size)
|
|
30
|
+
: this._defaultButtonTemplate(this.size)), index.h("slot", { slot: "items" }, this.sizeOptions.map((option) => (index.h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
31
|
+
? this.itemTemplate(option)
|
|
32
|
+
: this._defaultItemTemplate(option))))))));
|
|
33
|
+
}
|
|
34
|
+
async _setLocales() {
|
|
35
|
+
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
36
|
+
}
|
|
37
|
+
_changeSize(s) {
|
|
38
|
+
if (!s) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.size = s;
|
|
42
|
+
this.sizeChange.emit(this.size);
|
|
43
|
+
}
|
|
44
|
+
get _el() { return index.getElement(this); }
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const paginationComponentCss = ".flex{display:flex!important}*{box-sizing:border-box}p-pagination{display:flex}.static{position:static!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.table-cell{display:table-cell!important}.w-1\\/12{width:8.333333%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.pr-4{padding-right:1rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\\/4{width:75%!important}.gap-4{gap:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-48{width:12rem!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!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}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{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-25{--tw-rotate:-25deg!important}.-rotate-25,.-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-315,.-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-90,.rotate-0{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-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-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-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}.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}.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}.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}.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-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}.hover\\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.ml-2{margin-left:.5rem!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.inline{display:inline!important}";
|
|
48
|
+
|
|
49
|
+
const Pagination = class {
|
|
50
|
+
constructor(hostRef) {
|
|
51
|
+
index.registerInstance(this, hostRef);
|
|
52
|
+
this.pageChange = index.createEvent(this, "pageChange", 7);
|
|
53
|
+
this._pages = [];
|
|
54
|
+
this._set = [];
|
|
55
|
+
this._nextClick = () => {
|
|
56
|
+
const nextPage = this.page + 1;
|
|
57
|
+
if (nextPage > this._pages[this._pages.length - 1]) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
this._changePage(nextPage);
|
|
61
|
+
};
|
|
62
|
+
this._pageClick = (p) => this._changePage(p);
|
|
63
|
+
this._generateSet = (range = 1, enableBoundaries = true) => {
|
|
64
|
+
const totalPages = this._pages.length;
|
|
65
|
+
if (!totalPages) {
|
|
66
|
+
return [];
|
|
67
|
+
}
|
|
68
|
+
let start = this.page - range;
|
|
69
|
+
let end = this.page + range;
|
|
70
|
+
if (end > totalPages) {
|
|
71
|
+
end = totalPages;
|
|
72
|
+
start = totalPages - range * 2;
|
|
73
|
+
start = start < 1 ? 1 : start;
|
|
74
|
+
}
|
|
75
|
+
if (start <= 1) {
|
|
76
|
+
start = 1;
|
|
77
|
+
end = Math.min(range * 2 + 1, totalPages);
|
|
78
|
+
}
|
|
79
|
+
const set = [];
|
|
80
|
+
const previous = {
|
|
81
|
+
type: 'previous',
|
|
82
|
+
value: index.h("p-icon", { variant: "chevron", rotate: 90 }),
|
|
83
|
+
};
|
|
84
|
+
const next = {
|
|
85
|
+
type: 'next',
|
|
86
|
+
value: index.h("p-icon", { variant: "chevron", rotate: -90 }),
|
|
87
|
+
};
|
|
88
|
+
// Disable page range, display all the pages
|
|
89
|
+
if (range === null) {
|
|
90
|
+
const p = this._pages.map((p) => ({
|
|
91
|
+
type: 'page',
|
|
92
|
+
value: p,
|
|
93
|
+
}));
|
|
94
|
+
return enableBoundaries ? [previous, ...p, next] : p;
|
|
95
|
+
}
|
|
96
|
+
if (enableBoundaries) {
|
|
97
|
+
set.push(previous);
|
|
98
|
+
}
|
|
99
|
+
if (start <= 3) {
|
|
100
|
+
for (let i = 1; i < start; i++) {
|
|
101
|
+
set.push({
|
|
102
|
+
type: 'page',
|
|
103
|
+
value: this._pages[i - 1],
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
set.push({
|
|
109
|
+
type: 'page',
|
|
110
|
+
value: 1,
|
|
111
|
+
});
|
|
112
|
+
set.push({
|
|
113
|
+
type: 'ellipsis',
|
|
114
|
+
value: 'ellipsis',
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
for (let i = start; i <= end; i++) {
|
|
118
|
+
set.push({
|
|
119
|
+
type: 'page',
|
|
120
|
+
value: this._pages[i - 1],
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
if (end >= totalPages - 2) {
|
|
124
|
+
for (let i = end + 1; i <= totalPages; i++) {
|
|
125
|
+
set.push({
|
|
126
|
+
type: 'page',
|
|
127
|
+
value: this._pages[i - 1],
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
set.push({
|
|
133
|
+
type: 'ellipsis',
|
|
134
|
+
});
|
|
135
|
+
set.push({
|
|
136
|
+
type: 'page',
|
|
137
|
+
value: this._pages[this._pages.length - 1],
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
if (enableBoundaries) {
|
|
141
|
+
set.push(next);
|
|
142
|
+
}
|
|
143
|
+
return set;
|
|
144
|
+
};
|
|
145
|
+
this.page = 1;
|
|
146
|
+
this.pageSize = 12;
|
|
147
|
+
this.hideOnSinglePage = false;
|
|
148
|
+
this.total = undefined;
|
|
149
|
+
}
|
|
150
|
+
componentWillRender() {
|
|
151
|
+
this._generate();
|
|
152
|
+
}
|
|
153
|
+
render() {
|
|
154
|
+
var _a, _b;
|
|
155
|
+
return (index.h(index.Host, { class: `p-pagination ${this.hideOnSinglePage && ((_a = this._set) === null || _a === void 0 ? void 0 : _a.length) === 3 && 'hidden'}` }, (_b = this._set) === null || _b === void 0 ? void 0 : _b.map((p) => {
|
|
156
|
+
if (p.type === 'previous' || p.type === 'next') {
|
|
157
|
+
return (index.h("p-pagination-item", { onClick: () => p.type === 'previous'
|
|
158
|
+
? this._previousClick()
|
|
159
|
+
: this._nextClick() }, p.value));
|
|
160
|
+
}
|
|
161
|
+
if (p.type === 'ellipsis') {
|
|
162
|
+
return index.h("p-pagination-item", null, "...");
|
|
163
|
+
}
|
|
164
|
+
return (index.h("p-pagination-item", { active: p.value === this.page, onClick: () => this._pageClick(p.value) }, p.value));
|
|
165
|
+
})));
|
|
166
|
+
}
|
|
167
|
+
pageChangeHandler() {
|
|
168
|
+
this._generate();
|
|
169
|
+
}
|
|
170
|
+
_generate() {
|
|
171
|
+
var _a;
|
|
172
|
+
this._pages = this._generatePages();
|
|
173
|
+
this._set = this._generateSet();
|
|
174
|
+
if (this.page > ((_a = this._pages) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
175
|
+
this._changePage(this._pages.length);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
_changePage(p) {
|
|
179
|
+
if (!p) {
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
this.page = p;
|
|
183
|
+
this.pageChange.emit(this.page);
|
|
184
|
+
}
|
|
185
|
+
_previousClick() {
|
|
186
|
+
const previousPage = this.page - 1;
|
|
187
|
+
if (previousPage < this._pages[0]) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
this._changePage(previousPage);
|
|
191
|
+
}
|
|
192
|
+
_generatePages() {
|
|
193
|
+
if (!this.total || !this.pageSize) {
|
|
194
|
+
return [];
|
|
195
|
+
}
|
|
196
|
+
const pages = Math.ceil(this.total / this.pageSize);
|
|
197
|
+
return new Array(pages).fill(undefined).map((_, i) => i + 1);
|
|
198
|
+
}
|
|
199
|
+
static get watchers() { return {
|
|
200
|
+
"page": ["pageChangeHandler"],
|
|
201
|
+
"pageSize": ["pageChangeHandler"],
|
|
202
|
+
"total": ["pageChangeHandler"]
|
|
203
|
+
}; }
|
|
204
|
+
};
|
|
205
|
+
Pagination.style = paginationComponentCss;
|
|
206
|
+
|
|
207
|
+
const paginationItemComponentCss = ".flex{display:flex!important}.h-8{height:2rem!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(128 130 158/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:2rem;justify-content:center;line-height:1.25rem;width:2rem}:host(:focus),:host(:hover){--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!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}.table-cell{display:table-cell!important}.w-1\\/12{width:8.333333%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.pr-4{padding-right:1rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\\/4{width:75%!important}.gap-4{gap:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-48{width:12rem!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!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}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{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-25{--tw-rotate:-25deg!important}.-rotate-25,.-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-315,.-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-90,.rotate-0{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-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-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-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}.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}.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}.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}.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-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}.hover\\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.ml-2{margin-left:.5rem!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.inline{display:inline!important}";
|
|
208
|
+
|
|
209
|
+
const PaginationItem = class {
|
|
210
|
+
constructor(hostRef) {
|
|
211
|
+
index.registerInstance(this, hostRef);
|
|
212
|
+
this.active = false;
|
|
213
|
+
}
|
|
214
|
+
render() {
|
|
215
|
+
return (index.h(index.Host, { class: `p-pagination-item ${this.active && 'active'}` }, index.h("slot", null)));
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
PaginationItem.style = paginationItemComponentCss;
|
|
219
|
+
|
|
220
|
+
exports.p_page_size_select = PageSizeSelect;
|
|
221
|
+
exports.p_pagination = Pagination;
|
|
222
|
+
exports.p_pagination_item = PaginationItem;
|
|
223
|
+
|
|
224
|
+
//# sourceMappingURL=p-page-size-select_3.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-page-size-select.p-pagination.p-pagination-item.entry.cjs.js","mappings":"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","names":["formatTranslation","defaultSize","defaultSizeOptions","h","Host","getLocaleComponentStrings"],"sources":["./src/components/molecules/page-size-select/page-size-select.component.tsx","./src/components/molecules/pagination/pagination.component.scss?tag=p-pagination","./src/components/molecules/pagination/pagination.component.tsx","./src/components/atoms/pagination-item/pagination-item.component.scss?tag=p-pagination-item&encapsulation=shadow","./src/components/atoms/pagination-item/pagination-item.component.tsx"],"sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\nimport {\n formatTranslation,\n getLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\n\nexport type templateFunc = (value: number) => string;\n\n@Component({\n tag: 'p-page-size-select',\n shadow: true,\n})\nexport class PageSizeSelect {\n private _defaultButtonTemplate: templateFunc = (size) =>\n formatTranslation(this._locales.item, { size });\n private _defaultItemTemplate: templateFunc = (size) =>\n formatTranslation(this._locales.item, { size });\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n /**\n * The available sizes\n */\n @Prop() sizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the size changes\n */\n @Event() sizeChange: EventEmitter<number>;\n\n /**\n * Chevron position\n */\n @Prop() chevronPosition: 'start' | 'end' = 'start';\n\n /**\n * The size of the button\n */\n @Prop() buttonSize: 'small' | 'medium' = 'small';\n\n /**\n * The template for the data view\n */\n @Prop() buttonTemplate: templateFunc = this._defaultButtonTemplate;\n\n /**\n * The template for the data view\n */\n @Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hidden: boolean = false;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n componentWillLoad() {\n this._setLocales();\n }\n\n render() {\n return (\n <Host class={`p-page-size-select ${this.hidden && 'hidden'}`}>\n <p-dropdown\n placement=\"top-start\"\n chevronPosition={this.chevronPosition}\n chevronDirection=\"down\"\n >\n <p-button\n variant=\"secondary\"\n slot=\"trigger\"\n size={this.buttonSize}\n >\n {this.buttonTemplate\n ? this.buttonTemplate(this.size)\n : this._defaultButtonTemplate(this.size)}\n </p-button>\n <slot slot=\"items\">\n {this.sizeOptions.map((option) => (\n <p-dropdown-menu-item\n active={option === this.size}\n onClick={() => this._changeSize(option)}\n >\n {this.itemTemplate\n ? this.itemTemplate(option)\n : this._defaultItemTemplate(option)}\n </p-dropdown-menu-item>\n ))}\n </slot>\n </p-dropdown>\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n private _changeSize(s?: number) {\n if (!s) {\n return;\n }\n\n this.size = s;\n this.sizeChange.emit(this.size);\n }\n}\n","p-pagination {\n @apply flex;\n}\n","import {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\n\ntype PaginationSetItem = {\n type: string;\n value?: number | Element | JSX.Element | string;\n};\n\n@Component({\n tag: 'p-pagination',\n styleUrl: 'pagination.component.scss',\n})\nexport class Pagination {\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = 12;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = false;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n private _pages: number[] = [];\n private _set: PaginationSetItem[] = [];\n\n componentWillRender() {\n this._generate();\n }\n\n render() {\n return (\n <Host\n class={`p-pagination ${\n this.hideOnSinglePage && this._set?.length === 3 && 'hidden'\n }`}\n >\n {this._set?.map((p) => {\n if (p.type === 'previous' || p.type === 'next') {\n return (\n <p-pagination-item\n onClick={() =>\n p.type === 'previous'\n ? this._previousClick()\n : this._nextClick()\n }\n >\n {p.value}\n </p-pagination-item>\n );\n }\n\n if (p.type === 'ellipsis') {\n return <p-pagination-item>...</p-pagination-item>;\n }\n\n return (\n <p-pagination-item\n active={p.value === this.page}\n onClick={() => this._pageClick(p.value as number)}\n >\n {p.value}\n </p-pagination-item>\n );\n })}\n </Host>\n );\n }\n\n @Watch('page')\n @Watch('pageSize')\n @Watch('total')\n protected pageChangeHandler() {\n this._generate();\n }\n\n private _generate() {\n this._pages = this._generatePages();\n this._set = this._generateSet();\n\n if (this.page > this._pages?.length) {\n this._changePage(this._pages.length);\n }\n }\n\n private _changePage(p?: number) {\n if (!p) {\n return;\n }\n\n this.page = p;\n this.pageChange.emit(this.page);\n }\n\n private _previousClick() {\n const previousPage = this.page - 1;\n if (previousPage < this._pages[0]) {\n return;\n }\n\n this._changePage(previousPage);\n }\n\n private _nextClick = () => {\n const nextPage = this.page + 1;\n if (nextPage > this._pages[this._pages.length - 1]) {\n return;\n }\n\n this._changePage(nextPage);\n };\n\n private _pageClick = (p?: number) => this._changePage(p);\n\n private _generatePages() {\n if (!this.total || !this.pageSize) {\n return [];\n }\n\n const pages = Math.ceil(this.total / this.pageSize);\n return new Array(pages).fill(undefined).map((_, i) => i + 1);\n }\n\n private _generateSet = (\n range: number = 1,\n enableBoundaries: boolean = true\n ): PaginationSetItem[] => {\n const totalPages = this._pages.length;\n\n if (!totalPages) {\n return [];\n }\n\n let start = this.page - range;\n let end = this.page + range;\n\n if (end > totalPages) {\n end = totalPages;\n start = totalPages - range * 2;\n start = start < 1 ? 1 : start;\n }\n\n if (start <= 1) {\n start = 1;\n end = Math.min(range * 2 + 1, totalPages);\n }\n\n const set = [];\n\n const previous = {\n type: 'previous',\n value: <p-icon variant=\"chevron\" rotate={90} />,\n };\n\n const next = {\n type: 'next',\n value: <p-icon variant=\"chevron\" rotate={-90} />,\n };\n\n // Disable page range, display all the pages\n if (range === null) {\n const p = this._pages.map((p) => ({\n type: 'page',\n value: p,\n }));\n\n return enableBoundaries ? [previous, ...p, next] : p;\n }\n\n if (enableBoundaries) {\n set.push(previous);\n }\n\n if (start <= 3) {\n for (let i = 1; i < start; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n } else {\n set.push({\n type: 'page',\n value: 1,\n });\n\n set.push({\n type: 'ellipsis',\n value: 'ellipsis',\n });\n }\n\n for (let i = start; i <= end; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n\n if (end >= totalPages - 2) {\n for (let i = end + 1; i <= totalPages; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n } else {\n set.push({\n type: 'ellipsis',\n });\n\n set.push({\n type: 'page',\n value: this._pages[this._pages.length - 1],\n });\n }\n\n if (enableBoundaries) {\n set.push(next);\n }\n\n return set;\n };\n}\n",":host {\n @apply h-8 w-8;\n @apply flex justify-center items-center;\n @apply font-semibold text-storm-medium text-sm;\n @apply rounded;\n @apply cursor-pointer;\n}\n\n:host(:hover),\n:host(:focus) {\n @apply text-storm;\n}\n\n:host(.active) {\n @apply text-indigo bg-indigo-light;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-pagination-item',\n styleUrl: 'pagination-item.component.scss',\n shadow: true,\n})\nexport class PaginationItem {\n /**\n * Wether the pagination item is active\n */\n @Prop() active: boolean = false;\n\n render() {\n return (\n <Host class={`p-pagination-item ${this.active && 'active'}`}>\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,39 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dfc4dfec.js');
|
|
6
6
|
|
|
7
|
-
const profileComponentCss = ".
|
|
7
|
+
const profileComponentCss = ".flex{display:flex!important}.h-\\[3\\.125rem\\]{height:3.125rem!important}.h-\\[4\\.125rem\\]{height:4.125rem!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-3{gap:.75rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!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}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center;overflow:hidden}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host .content .name ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([size=small]){height:2rem}:host([size=medium]){height:3.125rem}:host([size=large]){height:4rem}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding:.5rem}:host(.has-dropdown[size=small]){height:3rem}:host(.has-dropdown[size=medium]){height:4.125rem}:host(.has-dropdown[size=large]){height:5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.visible{visibility:visible!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{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-25{--tw-rotate:-25deg!important}.-rotate-25,.-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-315,.-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-90,.rotate-0{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-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-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-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}.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}.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}.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}.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-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}";
|
|
8
8
|
|
|
9
9
|
const Profile = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* The variant of the profile
|
|
14
|
-
*/
|
|
15
12
|
this.variant = 'user';
|
|
16
|
-
/**
|
|
17
|
-
* The size of the profile avatar
|
|
18
|
-
*/
|
|
19
13
|
this.size = 'small';
|
|
20
14
|
this._dropdownOpen = false;
|
|
21
15
|
}
|
|
16
|
+
componentWillRender() {
|
|
17
|
+
this._updateAvatar();
|
|
18
|
+
}
|
|
22
19
|
render() {
|
|
23
|
-
const hasDropdownSlot = !!this._el.querySelector('[slot="dropdown"]');
|
|
20
|
+
const hasDropdownSlot = !!this._el.querySelector(':scope > [slot="dropdown"]');
|
|
24
21
|
const content = this._getContent(hasDropdownSlot);
|
|
25
|
-
return (index.h(index.Host, { class: `p-profile ${hasDropdownSlot && 'has-dropdown'} ${this._dropdownOpen && 'active'}` }, hasDropdownSlot ? (index.h("p-dropdown", { class: "w-full min-w-0", strategy: "absolute", placement: this.variant === 'user' ? 'top-end' : 'bottom-end', onIsOpen: (ev) => (this._dropdownOpen = ev.detail) }, content, index.h("div", { slot: "items" }, index.h("slot", { name: "dropdown" })))) : (content)));
|
|
22
|
+
return (index.h(index.Host, { class: `p-profile ${hasDropdownSlot && 'has-dropdown'} ${this._dropdownOpen && 'active'}` }, hasDropdownSlot ? (index.h("p-dropdown", { class: "w-full min-w-0", strategy: "absolute", placement: this.variant === 'user' ? 'top-end' : 'bottom-end', applyFullWidth: true, applyMaxWidth: false, onIsOpen: (ev) => (this._dropdownOpen = ev.detail) }, content, index.h("div", { slot: "items" }, index.h("slot", { name: "dropdown" })))) : (content)));
|
|
26
23
|
}
|
|
27
24
|
_getContent(hasDropdownSlot) {
|
|
28
|
-
|
|
29
|
-
return (index.h("div", { class: "content", slot: "trigger" }, avatar, index.h("div", { class: "name" }, index.h("slot", { name: "title" }), index.h("slot", { name: "subtitle" })), hasDropdownSlot && this._getIcon()));
|
|
25
|
+
return (index.h("div", { class: "content", slot: "trigger" }, index.h("slot", { name: "avatar" }), index.h("div", { class: "name" }, index.h("slot", { name: "title" }), index.h("slot", { name: "subtitle" })), hasDropdownSlot && this._getIcon()));
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
var _a, _b
|
|
27
|
+
_updateAvatar() {
|
|
28
|
+
var _a, _b;
|
|
33
29
|
const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
|
|
34
30
|
if (!avatar) {
|
|
35
31
|
return;
|
|
36
32
|
}
|
|
37
|
-
|
|
33
|
+
avatar.variant = (_a = this.variant) !== null && _a !== void 0 ? _a : avatar.variant;
|
|
34
|
+
avatar.size = (_b = this.size) !== null && _b !== void 0 ? _b : avatar === null || avatar === void 0 ? void 0 : avatar.size;
|
|
38
35
|
}
|
|
39
36
|
_getIcon() {
|
|
40
37
|
return (index.h("p-icon", { class: "ml-auto", variant: this.variant === 'company' ? 'chevron' : 'more' }));
|
|
@@ -44,3 +41,5 @@ const Profile = class {
|
|
|
44
41
|
Profile.style = profileComponentCss;
|
|
45
42
|
|
|
46
43
|
exports.p_profile = Profile;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=p-profile.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-profile.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,mBAAmB,GAAG,yrMAAyrM;;MCOxsM,OAAO;;;mBAIsB,MAAM;gBAKkB,OAAO;yBAOpC,KAAK;;EAEtC,mBAAmB;IACf,IAAI,CAAC,aAAa,EAAE,CAAC;GACxB;EAED,MAAM;IACF,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC5C,4BAA4B,CAC/B,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAClD,QACIA,QAACC,UAAI,IACD,KAAK,EAAE,aAAa,eAAe,IAAI,cAAc,IACjD,IAAI,CAAC,aAAa,IAAI,QAC1B,EAAE,IAED,eAAe,IACZD,wBACI,KAAK,EAAC,gBAAgB,EACtB,QAAQ,EAAC,UAAU,EACnB,SAAS,EACL,IAAI,CAAC,OAAO,KAAK,MAAM,GAAG,SAAS,GAAG,YAAY,EAEtD,cAAc,EAAE,IAAI,EACpB,aAAa,EAAE,KAAK,EACpB,QAAQ,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC,MAAM,CAAC,IAEjD,OAAO,EACRA,iBAAK,IAAI,EAAC,OAAO,IACbA,kBAAM,IAAI,EAAC,UAAU,GAAG,CACtB,CACG,KAEb,OAAO,CACV,CACE,EACT;GACL;EAEO,WAAW,CAAC,eAAe;IAC/B,QACIA,iBAAK,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,IAC/BA,kBAAM,IAAI,EAAC,QAAQ,GAAG,EACtBA,iBAAK,KAAK,EAAC,MAAM,IACbA,kBAAM,IAAI,EAAC,OAAO,GAAG,EACrBA,kBAAM,IAAI,EAAC,UAAU,GAAG,CACtB,EAEL,eAAe,IAAI,IAAI,CAAC,QAAQ,EAAE,CACjC,EACR;GACL;EAEO,aAAa;;IACjB,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CACjC,yBAAyB,CACN,CAAC;IAExB,IAAI,CAAC,MAAM,EAAE;MACT,OAAO;KACV;IAED,MAAM,CAAC,OAAO,GAAG,MAAA,IAAI,CAAC,OAAO,mCAAI,MAAM,CAAC,OAAO,CAAC;IAChD,MAAM,CAAC,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC;GAC3C;EAEO,QAAQ;IACZ,QACIA,oBACI,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM,GAC1D,EACJ;GACL;;;;;;;","names":["h","Host"],"sources":["./src/components/molecules/profile/profile.component.scss?tag=p-profile&encapsulation=shadow","./src/components/molecules/profile/profile.component.tsx"],"sourcesContent":[":host {\n @apply flex;\n\n .content {\n @apply flex gap-3 items-center w-full;\n\n .name {\n @apply flex flex-col justify-center overflow-hidden;\n\n > *:nth-child(1) {\n @apply text-sm text-storm-dark;\n @apply font-semibold;\n }\n\n > *:nth-child(2) {\n @apply text-sm text-storm-vague;\n }\n\n ::slotted(*) {\n @apply text-ellipsis overflow-hidden whitespace-nowrap;\n }\n }\n }\n}\n\n:host([size='small']) {\n @apply h-8;\n}\n\n:host([size='medium']) {\n @apply h-[3.125rem];\n}\n\n:host([size='large']) {\n @apply h-16;\n}\n\n:host(.has-dropdown) {\n @apply cursor-pointer;\n\n .content {\n @apply p-2 rounded;\n @apply border border-solid border-mystic-dark #{!important};\n }\n}\n\n:host(.has-dropdown[size='small']) {\n @apply h-12;\n}\n\n:host(.has-dropdown[size='medium']) {\n @apply h-[4.125rem];\n}\n\n:host(.has-dropdown[size='large']) {\n @apply h-20;\n}\n\n:host(.has-dropdown:hover),\n:host(.active) {\n .content {\n @apply shadow-4;\n }\n}\n\n:host(.active) {\n .content {\n p-icon {\n @apply text-indigo;\n }\n }\n}\n","import { Component, Element, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'p-profile',\n styleUrl: 'profile.component.scss',\n shadow: true,\n})\nexport class Profile {\n /**\n * The variant of the profile\n */\n @Prop() variant: 'company' | 'user' = 'user';\n\n /**\n * The size of the profile avatar\n */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'small';\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n @State() private _dropdownOpen = false;\n\n componentWillRender() {\n this._updateAvatar();\n }\n\n render() {\n const hasDropdownSlot = !!this._el.querySelector(\n ':scope > [slot=\"dropdown\"]'\n );\n const content = this._getContent(hasDropdownSlot);\n return (\n <Host\n class={`p-profile ${hasDropdownSlot && 'has-dropdown'} ${\n this._dropdownOpen && 'active'\n }`}\n >\n {hasDropdownSlot ? (\n <p-dropdown\n class=\"w-full min-w-0\"\n strategy=\"absolute\"\n placement={\n this.variant === 'user' ? 'top-end' : 'bottom-end'\n }\n applyFullWidth={true}\n applyMaxWidth={false}\n onIsOpen={(ev) => (this._dropdownOpen = ev.detail)}\n >\n {content}\n <div slot=\"items\">\n <slot name=\"dropdown\" />\n </div>\n </p-dropdown>\n ) : (\n content\n )}\n </Host>\n );\n }\n\n private _getContent(hasDropdownSlot) {\n return (\n <div class=\"content\" slot=\"trigger\">\n <slot name=\"avatar\" />\n <div class=\"name\">\n <slot name=\"title\" />\n <slot name=\"subtitle\" />\n </div>\n\n {hasDropdownSlot && this._getIcon()}\n </div>\n );\n }\n\n private _updateAvatar() {\n const avatar = this._el.querySelector(\n 'p-avatar[slot=\"avatar\"]'\n ) as HTMLPAvatarElement;\n\n if (!avatar) {\n return;\n }\n\n avatar.variant = this.variant ?? avatar.variant;\n avatar.size = this.size ?? avatar?.size;\n }\n\n private _getIcon() {\n return (\n <p-icon\n class=\"ml-auto\"\n variant={this.variant === 'company' ? 'chevron' : 'more'}\n />\n );\n }\n}\n"],"version":3}
|