@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 @@
|
|
|
1
|
+
{"version":3,"file":"table.component.js","sourceRoot":"","sources":["../../../../src/components/organisms/table/table.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACR,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAE9E,OAAO,EACH,WAAW,EACX,kBAAkB,GACrB,MAAM,4CAA4C,CAAC;AASpD,MAAM,OAAO,KAAK;;IAsQN,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;;mBA9PV,KAAK;yBAKC,KAAK;yBAKL,KAAK;+BAKA,CAAC;8BAKD,IAAI;0BAKR,IAAI;wBAKR,EAAE;;;wBA0CA,IAAI;wBAKE,EAAE;;wBAUR,IAAI;;wBAUJ,IAAI;;;sBAeN,IAAI;6BAKG,KAAK;0BAKJ,QAAQ;;;wBAqCd,IAAI;0BAKF,IAAI;4BAKF,IAAI;wBAKR,IAAI;gBAKmB,CAAC;;oBAe7B,WAAW;2BAKF,kBAAkB;4BAelB,IAAI;4BAGC,GAAG,EAAE,WAC1C,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA;6BACxB,GAAG,EAAE,WAC3C,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,OAAO,CAAC,CAAA,EAAA;4BAC1B,GAAG,EAAE,WAC1C,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA;kCAIxB,IAAI;oCAEG,GAAG,EAAE,CAClD,iBAAiB,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { QuickFilter, RowClickEvent } from '../../../types/table';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport {\n defaultSize,\n defaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\n\n@Component({\n tag: 'p-table',\n styleUrl: 'table.component.scss',\n})\nexport class Table {\n /**\n * The items to be fed to the table\n */\n @Prop() items: string;\n\n /**\n * Wether data is loading\n */\n @Prop() loading: boolean = false;\n\n /**\n * Wether the header should show loading state\n */\n @Prop() headerLoading: boolean = false;\n\n /**\n * Wether the footer should show loading state\n */\n @Prop() footerLoading: boolean = false;\n\n /**\n * The amount of loading rows to show\n */\n @Prop() amountOfLoadingRows: number = 6;\n\n /**\n * Wether to enable selection\n */\n @Prop() enableRowSelection: boolean = true;\n\n /**\n * Wether to enable row clicking\n */\n @Prop() enableRowClick: boolean = true;\n\n /**\n * The current selection of items\n */\n @Prop() selectedRows: any[] = [];\n\n /**\n * Event whenever the current selection changes\n */\n @Event() selectedRowsChange: EventEmitter<any>;\n\n /**\n * The key to determine if a row is selected\n */\n @Prop() selectionKey: string;\n\n /**\n * A key to determine if a row can be selected\n */\n @Prop() canSelectKey: string;\n\n /**\n * Event whenever a row is clicked\n */\n @Event() rowClick: EventEmitter<RowClickEvent>;\n\n /**\n * Event whenever a row is selected\n */\n @Event() rowSelected: EventEmitter<any>;\n\n /**\n * Event whenever a row is deselected\n */\n @Event() rowDeselected: EventEmitter<any>;\n\n /**\n * Event when the table has rendered\n */\n @Event() hasRendered: EventEmitter<number>;\n\n /** START HEADER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableHeader: boolean = true;\n\n /**\n * Quick filters to show\n */\n @Prop() quickFilters: QuickFilter[] = [];\n\n /**\n * Active quick filter identifier\n */\n @Prop() activeQuickFilterIdentifier: string;\n\n /**\n * Wether to show the search input\n */\n @Prop() enableSearch: boolean = true;\n\n /**\n * The query to show in the search bar\n */\n @Prop({ mutable: true }) query: string;\n\n /**\n * Wether to show the filter button\n */\n @Prop() enableFilter: boolean = true;\n\n /**\n * The amount of filters being selected\n */\n @Prop() selectedFiltersAmount: number;\n\n /**\n * The template for the filter button text\n */\n @Prop() filterButtonTemplate: templateFunc;\n\n /**\n * Wether to show the edit button\n */\n @Prop() enableEdit: boolean = true;\n\n /**\n * Wether the edit button is loading\n */\n @Prop() editButtonLoading: boolean = false;\n\n /**\n * The edit button icon\n */\n @Prop() editButtonIcon: IconVariant = 'pencil';\n\n /**\n * The edit button text if changed\n */\n @Prop() editButtonText: string;\n\n /**\n * The template for the edit button text\n */\n @Prop() editButtonTemplate: buttonTemplateFunc;\n\n /**\n * Event when one of the quick filters is clicked\n */\n @Event() quickFilter: EventEmitter<QuickFilter>;\n\n /**\n * Event when the query changes\n */\n @Event() queryChange: EventEmitter<string>;\n\n /**\n * Event when the filter button is clicked\n */\n @Event() filter: EventEmitter<null>;\n\n /**\n * Event when the edit button is clicked\n */\n @Event() edit: EventEmitter<null>;\n\n /** START FOOTER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableFooter: boolean = true;\n\n /**\n * Wether to enable page size select\n */\n @Prop() enablePageSize: boolean = true;\n\n /**\n * Wether to enable pagination\n */\n @Prop() enablePagination: boolean = true;\n\n /**\n * Wether to enable export\n */\n @Prop() enableExport: boolean = true;\n\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\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 = defaultSize;\n\n /**\n * The options for the page size\n */\n @Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageSizeChange: EventEmitter<number>;\n\n /**\n * Event whenever the page changes\n */\n @Event() export: EventEmitter<number>;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = true;\n\n /* Empty state start */\n @Prop() emptyStateHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.header);\n @Prop() emptyStateContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.content);\n @Prop() emptyStateAction: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.action);\n /**\n * Wether to enable empty state action\n */\n @Prop() enableEmptyStateAction: boolean = true;\n\n @Prop() emptyStateFilteredHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.header);\n @Prop() emptyStateFilteredContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.content);\n\n /**\n * Event whenever the empty state is clicked\n */\n @Event() emptyStateActionClick: EventEmitter<null>;\n\n /* Empty state end */\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n @State() private _columns: any[] = [];\n @State() private _items: any[] = [];\n\n private _ctrlDown = false;\n private _hasCustomFilterSlot = false;\n\n componentWillLoad() {\n this._hasCustomFilterSlot = !!this._el.querySelector(\n ':scope > [slot=\"custom-filter\"]'\n );\n\n this._setLocales();\n this._parseItems(this.items);\n this._generateColumns();\n }\n\n componentDidRender() {\n this.hasRendered.emit();\n }\n\n render() {\n return (\n <Host class=\"p-table\">\n <p-table-container>\n {this.enableHeader && (\n <p-table-header\n // quick filters\n quickFilters={this.quickFilters}\n activeQuickFilterIdentifier={\n this.activeQuickFilterIdentifier\n }\n onQuickFilter={({ detail }) =>\n this.quickFilter.emit(detail)\n }\n // search\n enableSearch={this.enableSearch}\n query={this.query}\n onQueryChange={({ detail }) =>\n this.queryChange.emit(detail)\n }\n // filter button\n enableFilter={this.enableFilter}\n selectedFiltersAmount={this.selectedFiltersAmount}\n filterButtonTemplate={this.filterButtonTemplate}\n onFilter={() => this.filter.emit()}\n // edit button\n enableEdit={this.enableEdit}\n editIcon={this.editButtonIcon}\n editText={this.editButtonText}\n editLoading={this.editButtonLoading}\n canEdit={!!this.selectedRows?.length}\n editButtonTemplate={this.editButtonTemplate}\n onEdit={() => this.edit.emit()}\n itemsSelectedAmount={this.selectedRows?.length}\n //loading\n loading={this.headerLoading}\n >\n {this._hasCustomFilterSlot && (\n <slot\n name=\"custom-filter\"\n slot=\"custom-filter\"\n />\n )}\n </p-table-header>\n )}\n\n {this._getHeader()}\n <div class=\"flex flex-col\">{this._getRows()}</div>\n\n {this.enableFooter && (\n <p-table-footer\n // overall\n hideOnSinglePage={this.hideOnSinglePage}\n // page size select\n enablePageSize={this.enablePageSize}\n pageSize={this.pageSize}\n pageSizeOptions={this.pageSizeOptions}\n onPageSizeChange={({ detail }) =>\n this.pageSizeChange.emit(detail)\n }\n // pagination\n enablePagination={this.enablePagination}\n page={this.page}\n total={this.total}\n onPageChange={({ detail }) =>\n this.pageChange.emit(detail)\n }\n // export\n enableExport={this.enableExport}\n onExport={() => this.export.emit()}\n //loading\n loading={this.footerLoading}\n ></p-table-footer>\n )}\n </p-table-container>\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 @Listen('tableDefinitionChanged', { target: 'body' })\n onTableDefinitionUpdated() {\n this._generateColumns();\n }\n\n @Listen('keydown', { target: 'document' })\n keyDown({ key }) {\n if (key !== 'Control' || this._ctrlDown === true) {\n return;\n }\n\n this._ctrlDown = true;\n }\n\n @Listen('keyup', { target: 'document' })\n keyUp({ key }) {\n if (key !== 'Control' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Listen('visibilitychange', { target: 'document' })\n visibilityChange() {\n if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Watch('items')\n private _parseItems(items: string) {\n if (!items) {\n this._items = [];\n return;\n }\n\n if (Array.isArray(items)) {\n this._items = items;\n return;\n }\n\n this._items = JSON.parse(items);\n }\n\n private _generateColumns() {\n const definitions = this._el.querySelectorAll('p-table-column');\n const definitionsArray = Array.from(definitions);\n\n definitionsArray[definitionsArray.length - 1]['isLast'] = true;\n\n this._columns = definitionsArray;\n }\n\n private _getHeader() {\n return (\n <p-table-row variant=\"header\">\n {this._columns.map((col: TableColumn, index) => (\n <p-table-cell\n definition={col}\n value={col.name}\n variant=\"header\"\n checkbox={\n index === 0 || col.hasCheckbox\n ? this._getCheckbox(null, 'loading')\n : null\n }\n index={index}\n ></p-table-cell>\n ))}\n </p-table-row>\n );\n }\n\n private _getRows() {\n if (this.loading) {\n return Array.from(\n {\n length: this.amountOfLoadingRows,\n },\n (_, i) => (\n <p-table-row\n enableHover={\n this.enableRowSelection || this.enableRowClick\n }\n >\n {this._getLoadingColumns(i)}\n </p-table-row>\n )\n );\n }\n\n if (!this._items.length) {\n return this._getEmptyState();\n }\n\n return this._items.map((item, index) => (\n <p-table-row\n enableHover={this.enableRowSelection || this.enableRowClick}\n onClick={(ev) => this._rowClick(ev, index)}\n >\n {this._getRowColumns(item, index)}\n </p-table-row>\n ));\n }\n\n private _getRowColumns(item, index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n item={item}\n checkbox={\n colIndex === 0 || col.hasCheckbox\n ? this._getCheckbox(index)\n : null\n }\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getLoadingColumns(index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n variant=\"loading\"\n checkbox={\n colIndex === 0 || col.hasCheckbox\n ? this._getCheckbox(index, 'loading')\n : null\n }\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getCheckbox(\n rowIndex,\n variant: 'header' | 'default' | 'loading' = 'default'\n ) {\n if (!this.enableRowSelection || !this.selectionKey) {\n return;\n }\n\n if (variant === 'loading') {\n return <p-loader variant=\"ghost\" class=\"h-6 w-6 rounded\" />;\n }\n\n if (variant === 'header') {\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._selectAllChange(ev)}\n checked={this._selectionContainsAll()}\n indeterminate={this._selectionIndeterminate()}\n />\n );\n }\n\n const item = this._items[rowIndex];\n\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}\n disabled={this.canSelectKey && !item[this.canSelectKey]}\n checked={this._selectionContains(item, rowIndex)}\n />\n );\n }\n\n private _getEmptyState() {\n if (this.query?.length || this.selectedFiltersAmount) {\n return (\n <div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n <p-illustration variant=\"empty-state-search\" class=\"mb-6\" />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateFilteredHeader()}\n </p>\n <p class=\"mb-14 text-sm text-storm-medium\">\n {this.emptyStateFilteredContent()}\n </p>\n </div>\n );\n }\n\n return (\n <div\n class={`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${\n this.enableEmptyStateAction && 'cursor-pointer'\n }`}\n onClick={() =>\n this.enableEmptyStateAction &&\n this.emptyStateActionClick.emit(null)\n }\n >\n <p-illustration variant=\"empty-state-add\" class=\"mb-6\" />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateHeader()}\n </p>\n <p class=\"mb-6 text-sm text-storm-medium\">\n {this.emptyStateContent()}\n </p>\n {this.enableEmptyStateAction && (\n <p-button variant=\"secondary\" icon=\"plus\" size=\"small\">\n {this.emptyStateAction()}\n </p-button>\n )}\n </div>\n );\n }\n\n private _selectAllChange($event: any) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const value = this._getCheckedValue($event.target);\n if (value) {\n const toAdd = [];\n for (let i = 0; i < this._items.length; i++) {\n const row = this._items[i];\n if (this.canSelectKey && !row[this.canSelectKey]) {\n continue;\n }\n\n if (this._selectionContains(row, i)) {\n continue;\n }\n\n toAdd.push(row);\n this.rowSelected.emit(row);\n }\n\n this.selectedRows = [...this.selectedRows, ...toAdd];\n this.selectedRowsChange.emit(this.selectedRows);\n return;\n }\n\n for (let i = 0; i < this.selectedRows.length; i++) {\n const value = this.selectedRows[i];\n const row = this._items.find(\n (d) =>\n this._getSelectionValue(d, i) ===\n this._getSelectionValue(value, i)\n );\n\n if (!row) {\n continue;\n }\n\n this.rowDeselected.emit(row);\n }\n\n this.selectedRows = [];\n this.selectedRowsChange.emit(this.selectedRows);\n }\n\n private _checkboxChange(target: any, index: number) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const row = this._items[index];\n\n if (this.canSelectKey && !row[this.canSelectKey]) {\n target.checked = false;\n return;\n }\n\n const value = this._getCheckedValue(target);\n if (value) {\n this.selectedRows = [...this.selectedRows, row];\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowSelected.emit(row);\n return;\n }\n\n const indexOfToRemove = this._selectionContains(row, index, true);\n\n // we need to do this, because splice does not trigger the selection setter.\n const selection = [...this.selectedRows];\n selection.splice(indexOfToRemove, 1);\n this.selectedRows = selection;\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowDeselected.emit(row);\n }\n\n private _getCheckedValue(target: any) {\n return target?.checked;\n }\n\n private _getSelectionValue(row: any, index: number) {\n return this.selectionKey ? row?.[this.selectionKey] || index : index;\n }\n\n private _selectionContains(row, index, returnIndex = false): any {\n const returnValue = this.selectedRows.findIndex(\n (item) =>\n this._getSelectionValue(row, index) ===\n this._getSelectionValue(item, index)\n );\n return !returnIndex ? returnValue >= 0 : returnValue;\n }\n\n private _selectionContainsAll() {\n let returnValue = true;\n if (!this._items?.length) {\n return false;\n }\n\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (!contains) {\n returnValue = false;\n break;\n }\n }\n\n return returnValue;\n }\n\n private _selectionIndeterminate() {\n if (!this._items?.length || !this.selectedRows?.length) {\n return false;\n }\n\n let containsCount = 0;\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (contains) {\n containsCount++;\n }\n }\n\n return containsCount > 0 && containsCount !== this._items.length;\n }\n\n private _rowClick($event, index) {\n const target = $event.target;\n\n if (\n target.tagName.toLowerCase() === 'input' ||\n target.type === 'checkbox'\n ) {\n return;\n }\n\n const row = this._findRow($event.target);\n\n if (this.enableRowClick) {\n const action = this._findRowAction($event.target);\n\n if (action) {\n return;\n }\n\n const item = this._items[index];\n this.rowClick.emit({\n item,\n ctrlDown: this._ctrlDown,\n });\n return;\n }\n\n if (!this.enableRowSelection) {\n return;\n }\n\n const checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n if (!checkbox) {\n return;\n }\n\n checkbox.checked = !checkbox.checked;\n this._checkboxChange(checkbox, index);\n }\n\n private _findRow(el: HTMLElement) {\n if (!el) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return el;\n }\n\n return this._findRow(el?.parentElement);\n }\n\n private _findRowAction(el: HTMLElement) {\n if (!el) {\n return null;\n }\n\n if (\n el.getAttribute('data-is-action') !== null &&\n el.getAttribute('data-is-action') !== 'false'\n ) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return null;\n }\n\n return this._findRowAction(el?.parentElement);\n }\n}\n"]}
|
package/dist/collection/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC","sourcesContent":["export { Components, JSX } from './components';\nexport * from './types';\nexport * from './utils';\n"]}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
animation: {
|
|
3
|
-
'fade-in': 'fadeIn .2s ease
|
|
4
|
-
'fade-out': 'fadeOut .2s ease
|
|
3
|
+
'fade-in': 'forwards fadeIn .2s ease',
|
|
4
|
+
'fade-out': 'forwards fadeOut .2s ease',
|
|
5
|
+
'slide-in-right': 'forwards slideInRight .5s ease',
|
|
6
|
+
'slide-in-left': 'forwards slideInLeft .5s ease',
|
|
7
|
+
'slide-in-top': 'forwards slideInTop .25 ease',
|
|
8
|
+
'slide-in-bottom': 'forwards slideInBottom .5s ease',
|
|
9
|
+
'slide-in-right-small': 'forwards slideInRightSmall .5s ease',
|
|
10
|
+
'slide-in-left-small': 'forwards slideInLeftSmall .5s ease',
|
|
11
|
+
'slide-in-top-small': 'forwards slideInTopSmall .5s ease',
|
|
12
|
+
'slide-in-bottom-small': 'forwards slideInBottomSmall .5s ease',
|
|
13
|
+
'slide-out-right': 'forwards slideOutRight .2s ease',
|
|
14
|
+
'slide-out-left': 'forwards slideOutLeft .2s ease',
|
|
15
|
+
'slide-out-top': 'forwards slideOutTop .2s ease',
|
|
16
|
+
'slide-out-bottom': 'forwards slideOutBottom .5s ease',
|
|
17
|
+
'slide-out-top-small': 'forwards slideOutTopSmall .5s ease',
|
|
18
|
+
'slide-out-bottom-small': 'forwards slideOutBottomSmall .5s ease',
|
|
5
19
|
},
|
|
6
20
|
|
|
7
21
|
keyframes: {
|
|
@@ -13,5 +27,61 @@ module.exports = {
|
|
|
13
27
|
'0%': { opacity: 100 },
|
|
14
28
|
'100%': { opacity: 0 },
|
|
15
29
|
},
|
|
30
|
+
slideInRight: {
|
|
31
|
+
'0%': { transform: 'translateX(100%)' },
|
|
32
|
+
'100%': { transform: 'translateX(0)' },
|
|
33
|
+
},
|
|
34
|
+
slideInLeft: {
|
|
35
|
+
'0%': { transform: 'translateX(-100%)' },
|
|
36
|
+
'100%': { transform: 'translateX(0)' },
|
|
37
|
+
},
|
|
38
|
+
slideInTop: {
|
|
39
|
+
'0%': { transform: 'translateY(-100%)' },
|
|
40
|
+
'100%': { transform: 'translateY(0)' },
|
|
41
|
+
},
|
|
42
|
+
slideInBottom: {
|
|
43
|
+
'0%': { transform: 'translateY(100%)' },
|
|
44
|
+
'100%': { transform: 'translateY(0)' },
|
|
45
|
+
},
|
|
46
|
+
slideInRightSmall: {
|
|
47
|
+
'0%': { transform: 'translateX(20%)' },
|
|
48
|
+
'100%': { transform: 'translateX(0)' },
|
|
49
|
+
},
|
|
50
|
+
slideInLeftSmall: {
|
|
51
|
+
'0%': { transform: 'translateX(-20%)' },
|
|
52
|
+
'100%': { transform: 'translateX(0)' },
|
|
53
|
+
},
|
|
54
|
+
slideInTopSmall: {
|
|
55
|
+
'0%': { transform: 'translateY(-20%)' },
|
|
56
|
+
'100%': { transform: 'translateY(0)' },
|
|
57
|
+
},
|
|
58
|
+
slideInBottomSmall: {
|
|
59
|
+
'0%': { transform: 'translateY(20%)' },
|
|
60
|
+
'100%': { transform: 'translateY(0)' },
|
|
61
|
+
},
|
|
62
|
+
slideOutRight: {
|
|
63
|
+
'0%': { transform: 'translateX(0)' },
|
|
64
|
+
'100%': { transform: 'translateX(100%)' },
|
|
65
|
+
},
|
|
66
|
+
slideOutLeft: {
|
|
67
|
+
'0%': { transform: 'translateX(0)' },
|
|
68
|
+
'100%': { transform: 'translateX(-100%)' },
|
|
69
|
+
},
|
|
70
|
+
slideOutTop: {
|
|
71
|
+
'0%': { transform: 'translateY(0)' },
|
|
72
|
+
'100%': { transform: 'translateY(-100%)' },
|
|
73
|
+
},
|
|
74
|
+
slideOutBottom: {
|
|
75
|
+
'0%': { transform: 'translateY(0)' },
|
|
76
|
+
'100%': { transform: 'translateY(100%)' },
|
|
77
|
+
},
|
|
78
|
+
slideOutTopSmall: {
|
|
79
|
+
'0%': { transform: 'translateY(0)' },
|
|
80
|
+
'100%': { transform: 'translateY(-20%)' },
|
|
81
|
+
},
|
|
82
|
+
slideOutBottomSmall: {
|
|
83
|
+
'0%': { transform: 'translateY(0)' },
|
|
84
|
+
'100%': { transform: 'translateY(20%)' },
|
|
85
|
+
},
|
|
16
86
|
},
|
|
17
87
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// eslint-disable-next-line unicorn/prefer-module
|
|
2
|
+
const plugin = require('tailwindcss/plugin');
|
|
3
|
+
|
|
4
|
+
const safeArea = plugin(({ addUtilities }) => {
|
|
5
|
+
const utilities = {
|
|
6
|
+
'.m-safe': {
|
|
7
|
+
marginTop: 'env(safe-area-inset-top)',
|
|
8
|
+
marginRight: 'env(safe-area-inset-right)',
|
|
9
|
+
marginBottom: 'env(safe-area-inset-bottom)',
|
|
10
|
+
marginLeft: 'env(safe-area-inset-left)',
|
|
11
|
+
},
|
|
12
|
+
'.mx-safe': {
|
|
13
|
+
marginRight: 'env(safe-area-inset-right)',
|
|
14
|
+
marginLeft: 'env(safe-area-inset-left)',
|
|
15
|
+
},
|
|
16
|
+
'.my-safe': {
|
|
17
|
+
marginTop: 'env(safe-area-inset-top)',
|
|
18
|
+
marginBottom: 'env(safe-area-inset-bottom)',
|
|
19
|
+
},
|
|
20
|
+
'.mt-safe': {
|
|
21
|
+
marginTop: 'env(safe-area-inset-top)',
|
|
22
|
+
},
|
|
23
|
+
'.mr-safe': {
|
|
24
|
+
marginRight: 'env(safe-area-inset-right)',
|
|
25
|
+
},
|
|
26
|
+
'.mb-safe': {
|
|
27
|
+
marginBottom: 'env(safe-area-inset-bottom)',
|
|
28
|
+
},
|
|
29
|
+
'.ml-safe': {
|
|
30
|
+
marginLeft: 'env(safe-area-inset-left)',
|
|
31
|
+
},
|
|
32
|
+
'.p-safe': {
|
|
33
|
+
paddingTop: 'env(safe-area-inset-top)',
|
|
34
|
+
paddingRight: 'env(safe-area-inset-right)',
|
|
35
|
+
paddingBottom: 'env(safe-area-inset-bottom)',
|
|
36
|
+
paddingLeft: 'env(safe-area-inset-left)',
|
|
37
|
+
},
|
|
38
|
+
'.px-safe': {
|
|
39
|
+
paddingRight: 'env(safe-area-inset-right)',
|
|
40
|
+
paddingLeft: 'env(safe-area-inset-left)',
|
|
41
|
+
},
|
|
42
|
+
'.py-safe': {
|
|
43
|
+
paddingTop: 'env(safe-area-inset-top)',
|
|
44
|
+
paddingBottom: 'env(safe-area-inset-bottom)',
|
|
45
|
+
},
|
|
46
|
+
'.pt-safe': {
|
|
47
|
+
paddingTop: 'env(safe-area-inset-top)',
|
|
48
|
+
},
|
|
49
|
+
'.pr-safe': {
|
|
50
|
+
paddingRight: 'env(safe-area-inset-right)',
|
|
51
|
+
},
|
|
52
|
+
'.pb-safe': {
|
|
53
|
+
paddingBottom: 'env(safe-area-inset-bottom)',
|
|
54
|
+
},
|
|
55
|
+
'.pl-safe': {
|
|
56
|
+
paddingLeft: 'env(safe-area-inset-left)',
|
|
57
|
+
},
|
|
58
|
+
'.min-h-screen': {
|
|
59
|
+
minHeight: '100vh',
|
|
60
|
+
},
|
|
61
|
+
'.min-h-screen-safe': {
|
|
62
|
+
minHeight:
|
|
63
|
+
'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
|
|
64
|
+
},
|
|
65
|
+
'.max-h-screen': {
|
|
66
|
+
maxHeight: '100vh',
|
|
67
|
+
},
|
|
68
|
+
'.max-h-screen-safe': {
|
|
69
|
+
maxHeight:
|
|
70
|
+
'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
|
|
71
|
+
},
|
|
72
|
+
'.h-screen-safe': {
|
|
73
|
+
height: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
|
|
74
|
+
},
|
|
75
|
+
'.min-w-screen': {
|
|
76
|
+
minWidth: '100vw',
|
|
77
|
+
},
|
|
78
|
+
'.min-w-screen-safe': {
|
|
79
|
+
minWidth:
|
|
80
|
+
'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
|
|
81
|
+
},
|
|
82
|
+
'.max-w-screen': {
|
|
83
|
+
maxWidth: '100vw',
|
|
84
|
+
},
|
|
85
|
+
'.max-w-screen-safe': {
|
|
86
|
+
maxWidth:
|
|
87
|
+
'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
|
|
88
|
+
},
|
|
89
|
+
'.w-screen-safe': {
|
|
90
|
+
width: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
addUtilities(utilities);
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
// eslint-disable-next-line unicorn/prefer-module
|
|
98
|
+
module.exports = safeArea;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
tablet: '40rem',
|
|
3
|
-
'desktop-xs': '64rem',
|
|
4
|
-
'desktop-sm': '80rem',
|
|
5
|
-
desktop: '85.375rem',
|
|
6
|
-
'desktop-lg': '90rem',
|
|
7
|
-
'desktop-xl': '120rem',
|
|
2
|
+
tablet: '40rem', // 640 px
|
|
3
|
+
'desktop-xs': '64rem', // 1024 px
|
|
4
|
+
'desktop-sm': '80rem', // 1360 px
|
|
5
|
+
desktop: '85.375rem', // 1366
|
|
6
|
+
'desktop-lg': '90rem', // 1440
|
|
7
|
+
'desktop-xl': '120rem', // 1920
|
|
8
8
|
};
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
2
|
+
width: {
|
|
3
|
+
unset: 'unset',
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// default variant
|
|
6
|
+
'sidebar-mobile': '100%',
|
|
7
|
+
'sidebar-desktop': '15rem',
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
'content-mobile': '100%',
|
|
10
|
+
'content-desktop-xs': '100%',
|
|
11
|
+
'content-desktop-sm': '100%',
|
|
12
|
+
'content-desktop': '69rem',
|
|
13
|
+
'content-desktop-lg': '69rem',
|
|
14
|
+
'content-desktop-xl': '69rem',
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
// login variant
|
|
17
|
+
'sidebar-desktop-login': '100%',
|
|
18
|
+
'content-desktop-login': '30rem',
|
|
19
|
+
|
|
20
|
+
// office variant
|
|
21
|
+
'sidebar-office-desktop': '19.5rem',
|
|
22
|
+
'sidebar-office-desktop-minimal': '4.5rem'
|
|
23
|
+
},
|
|
18
24
|
};
|
|
@@ -9,6 +9,7 @@ const zIndex = require('./tailwind/z-index');
|
|
|
9
9
|
const animation = require('./tailwind/animation');
|
|
10
10
|
const screens = require('./tailwind/screens');
|
|
11
11
|
const width = require('./tailwind/width');
|
|
12
|
+
const height = require('./tailwind/height');
|
|
12
13
|
const spacing = require('./tailwind/spacing');
|
|
13
14
|
|
|
14
15
|
module.exports = {
|
|
@@ -27,9 +28,15 @@ module.exports = {
|
|
|
27
28
|
backdropBlur,
|
|
28
29
|
zIndex,
|
|
29
30
|
screens,
|
|
30
|
-
width,
|
|
31
|
+
width: width.width,
|
|
32
|
+
maxWidth: width.maxWidth,
|
|
33
|
+
height: height.height,
|
|
31
34
|
spacing,
|
|
32
35
|
},
|
|
33
36
|
},
|
|
34
|
-
plugins: [
|
|
37
|
+
plugins: [
|
|
38
|
+
require('@tailwindcss/aspect-ratio'),
|
|
39
|
+
require('tailwind-scrollbar-hide'),
|
|
40
|
+
require('./tailwind/plugins/safe-area'),
|
|
41
|
+
],
|
|
35
42
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC","sourcesContent":["export * from './table';\nexport * from './tailwind';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/types/table.ts"],"names":[],"mappings":"AA0CA,MAAM,UAAU,qBAAqB,CACjC,CAAmB,EACnB,CAAc;EAEd,OAAO,CAAC,IAAI,CAAC,CAAC;AAClB,CAAC","sourcesContent":["export type QuickFilterTextFunction = () => string;\n\nexport interface QuickFilter {\n identifier: string;\n text: string | QuickFilterTextFunction;\n count?: number;\n default?: boolean;\n}\n\nexport interface RowClickEvent {\n item: any;\n ctrlDown: boolean;\n}\n\nexport interface TableDefinitionData {\n value: any;\n item: any;\n index: number;\n rowIndex: number;\n}\n\nexport type TableDefinitionTemplateFunc = (data: TableDefinitionData) => any;\n\nexport interface TableColumnSizes {\n default: number | 'hidden' | 'full';\n tablet?: number | 'hidden' | 'full';\n 'desktop-xs'?: number | 'hidden' | 'full';\n 'desktop-sm'?: number | 'hidden' | 'full';\n desktop?: number | 'hidden' | 'full';\n 'desktop-lg'?: number | 'hidden' | 'full';\n 'desktop-xl'?: number | 'hidden' | 'full';\n}\n\nexport type TableColumnSizesKey =\n | 'default'\n | 'tablet'\n | 'desktop-xs'\n | 'desktop-sm'\n | 'desktop'\n | 'desktop-lg'\n | 'desktop-xl';\n\nexport function isTableColumnSizesKey(\n x: TableColumnSizes,\n k: PropertyKey\n): k is keyof TableColumnSizes {\n return k in x;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailwind.js","sourceRoot":"","sources":["../../src/types/tailwind.ts"],"names":[],"mappings":"","sourcesContent":["export type TextSizeOptions =\n | 'auto'\n | 'xxs'\n | 'xs'\n | 'sm'\n | 'base'\n | 'lg'\n | 'xl'\n | '2xl'\n | '3xl'\n | '4xl'\n | '5xl'\n | '6xl';\n\nexport type RotateOptions =\n | -315\n | -270\n | -225\n | -180\n | -135\n | -90\n | -45\n | -25\n | 0\n | 25\n | 45\n | 90\n | 135\n | 180\n | 225\n | 270\n | 315;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child-of.js","sourceRoot":"","sources":["../../src/utils/child-of.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;EAC5B,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;IAAC,CAAC;EACtC,OAAO,CAAC,CAAC,CAAC,CAAC;AACf,CAAC,CAAC","sourcesContent":["export const childOf = (c, p) => {\n while ((c = c.parentNode) && c !== p);\n return !!c;\n};\n"]}
|
|
@@ -2,6 +2,7 @@ import arrow from '../assets/icons/arrow.svg';
|
|
|
2
2
|
import attachment from '../assets/icons/attachment.svg';
|
|
3
3
|
import bread from '../assets/icons/bread.svg';
|
|
4
4
|
import calendar from '../assets/icons/calendar.svg';
|
|
5
|
+
import camera from '../assets/icons/camera.svg';
|
|
5
6
|
import car from '../assets/icons/car.svg';
|
|
6
7
|
import checklist from '../assets/icons/checklist.svg';
|
|
7
8
|
import checkmark from '../assets/icons/checkmark.svg';
|
|
@@ -14,6 +15,9 @@ import download from '../assets/icons/download.svg';
|
|
|
14
15
|
import envelope from '../assets/icons/envelope.svg';
|
|
15
16
|
import explanation from '../assets/icons/explanation.svg';
|
|
16
17
|
import eye from '../assets/icons/eye.svg';
|
|
18
|
+
import faBuilding from '../assets/icons/fa/building.svg';
|
|
19
|
+
import faBuildings from '../assets/icons/fa/buildings.svg';
|
|
20
|
+
import faPiggy from '../assets/icons/fa/piggy.svg';
|
|
17
21
|
import filter from '../assets/icons/filter.svg';
|
|
18
22
|
import folder from '../assets/icons/folder.svg';
|
|
19
23
|
import grid from '../assets/icons/grid.svg';
|
|
@@ -26,6 +30,7 @@ import menu from '../assets/icons/menu.svg';
|
|
|
26
30
|
import minus from '../assets/icons/minus.svg';
|
|
27
31
|
import more from '../assets/icons/more.svg';
|
|
28
32
|
import negative from '../assets/icons/negative.svg';
|
|
33
|
+
import notification from '../assets/icons/notification.svg';
|
|
29
34
|
import pagination from '../assets/icons/pagination.svg';
|
|
30
35
|
import payment from '../assets/icons/payment.svg';
|
|
31
36
|
import pencil from '../assets/icons/pencil.svg';
|
|
@@ -33,6 +38,7 @@ import person from '../assets/icons/person.svg';
|
|
|
33
38
|
import plus from '../assets/icons/plus.svg';
|
|
34
39
|
import question from '../assets/icons/question.svg';
|
|
35
40
|
import receipt from '../assets/icons/receipt.svg';
|
|
41
|
+
import reload from '../assets/icons/reload.svg';
|
|
36
42
|
import report from '../assets/icons/report.svg';
|
|
37
43
|
import search from '../assets/icons/search.svg';
|
|
38
44
|
import settings from '../assets/icons/settings.svg';
|
|
@@ -52,6 +58,7 @@ export default {
|
|
|
52
58
|
attachment,
|
|
53
59
|
bread,
|
|
54
60
|
calendar,
|
|
61
|
+
camera,
|
|
55
62
|
car,
|
|
56
63
|
checklist,
|
|
57
64
|
checkmark,
|
|
@@ -64,6 +71,9 @@ export default {
|
|
|
64
71
|
envelope,
|
|
65
72
|
explanation,
|
|
66
73
|
eye,
|
|
74
|
+
faBuilding,
|
|
75
|
+
faBuildings,
|
|
76
|
+
faPiggy,
|
|
67
77
|
filter,
|
|
68
78
|
folder,
|
|
69
79
|
grid,
|
|
@@ -76,12 +86,14 @@ export default {
|
|
|
76
86
|
minus,
|
|
77
87
|
more,
|
|
78
88
|
negative,
|
|
89
|
+
notification,
|
|
79
90
|
pagination,
|
|
80
91
|
payment,
|
|
81
92
|
pencil,
|
|
82
93
|
person,
|
|
83
94
|
plus,
|
|
84
95
|
question,
|
|
96
|
+
reload,
|
|
85
97
|
receipt,
|
|
86
98
|
report,
|
|
87
99
|
search,
|
|
@@ -98,3 +110,4 @@ export default {
|
|
|
98
110
|
upload,
|
|
99
111
|
warning,
|
|
100
112
|
};
|
|
113
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/utils/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAC9C,OAAO,UAAU,MAAM,gCAAgC,CAAC;AACxD,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAC9C,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AACpD,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,GAAG,MAAM,yBAAyB,CAAC;AAC1C,OAAO,SAAS,MAAM,+BAA+B,CAAC;AACtD,OAAO,SAAS,MAAM,+BAA+B,CAAC;AACtD,OAAO,OAAO,MAAM,6BAA6B,CAAC;AAClD,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAC9C,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,OAAO,MAAM,6BAA6B,CAAC;AAClD,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AACpD,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AACpD,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AACpD,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,GAAG,MAAM,yBAAyB,CAAC;AAC1C,OAAO,UAAU,MAAM,iCAAiC,CAAC;AACzD,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BAA8B,CAAC;AACpD,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAC9C,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,OAAO,MAAM,6BAA6B,CAAC;AAElD,eAAe;EACX,KAAK;EACL,UAAU;EACV,KAAK;EACL,QAAQ;EACR,MAAM;EACN,GAAG;EACH,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,IAAI;EACJ,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,WAAW;EACX,GAAG;EACH,UAAU;EACV,WAAW;EACX,OAAO;EACP,MAAM;EACN,MAAM;EACN,IAAI;EACJ,OAAO;EACP,WAAW;EACX,IAAI;EACJ,QAAQ;EACR,SAAS;EACT,IAAI;EACJ,KAAK;EACL,IAAI;EACJ,QAAQ;EACR,YAAY;EACZ,UAAU;EACV,OAAO;EACP,MAAM;EACN,MAAM;EACN,IAAI;EACJ,QAAQ;EACR,MAAM;EACN,OAAO;EACP,MAAM;EACN,MAAM;EACN,QAAQ;EACR,IAAI;EACJ,OAAO;EACP,MAAM,EAAE,UAAU;EAClB,UAAU;EACV,IAAI;EACJ,QAAQ;EACR,IAAI;EACJ,KAAK;EACL,IAAI;EACJ,MAAM;EACN,OAAO;CACV,CAAC","sourcesContent":["import arrow from '../assets/icons/arrow.svg';\nimport attachment from '../assets/icons/attachment.svg';\nimport bread from '../assets/icons/bread.svg';\nimport calendar from '../assets/icons/calendar.svg';\nimport camera from '../assets/icons/camera.svg';\nimport car from '../assets/icons/car.svg';\nimport checklist from '../assets/icons/checklist.svg';\nimport checkmark from '../assets/icons/checkmark.svg';\nimport chevron from '../assets/icons/chevron.svg';\nimport clock from '../assets/icons/clock.svg';\nimport cogs from '../assets/icons/cogs.svg';\nimport comment from '../assets/icons/comment.svg';\nimport document from '../assets/icons/document.svg';\nimport download from '../assets/icons/download.svg';\nimport envelope from '../assets/icons/envelope.svg';\nimport explanation from '../assets/icons/explanation.svg';\nimport eye from '../assets/icons/eye.svg';\nimport faBuilding from '../assets/icons/fa/building.svg';\nimport faBuildings from '../assets/icons/fa/buildings.svg';\nimport faPiggy from '../assets/icons/fa/piggy.svg';\nimport filter from '../assets/icons/filter.svg';\nimport folder from '../assets/icons/folder.svg';\nimport grid from '../assets/icons/grid.svg';\nimport headset from '../assets/icons/headset.svg';\nimport integration from '../assets/icons/integration.svg';\nimport list from '../assets/icons/list.svg';\nimport location from '../assets/icons/location.svg';\nimport megaphone from '../assets/icons/megaphone.svg';\nimport menu from '../assets/icons/menu.svg';\nimport minus from '../assets/icons/minus.svg';\nimport more from '../assets/icons/more.svg';\nimport negative from '../assets/icons/negative.svg';\nimport notification from '../assets/icons/notification.svg';\nimport pagination from '../assets/icons/pagination.svg';\nimport payment from '../assets/icons/payment.svg';\nimport pencil from '../assets/icons/pencil.svg';\nimport person from '../assets/icons/person.svg';\nimport plus from '../assets/icons/plus.svg';\nimport question from '../assets/icons/question.svg';\nimport receipt from '../assets/icons/receipt.svg';\nimport reload from '../assets/icons/reload.svg';\nimport report from '../assets/icons/report.svg';\nimport search from '../assets/icons/search.svg';\nimport settings from '../assets/icons/settings.svg';\nimport sick from '../assets/icons/sick.svg';\nimport signout from '../assets/icons/signout.svg';\nimport switchIcon from '../assets/icons/switch.svg';\nimport tachometer from '../assets/icons/tachometer.svg';\nimport task from '../assets/icons/task.svg';\nimport template from '../assets/icons/template.svg';\nimport tool from '../assets/icons/tool.svg';\nimport trash from '../assets/icons/trash.svg';\nimport turn from '../assets/icons/turn.svg';\nimport upload from '../assets/icons/upload.svg';\nimport warning from '../assets/icons/warning.svg';\n\nexport default {\n arrow,\n attachment,\n bread,\n calendar,\n camera,\n car,\n checklist,\n checkmark,\n chevron,\n clock,\n cogs,\n comment,\n document,\n download,\n envelope,\n explanation,\n eye,\n faBuilding,\n faBuildings,\n faPiggy,\n filter,\n folder,\n grid,\n headset,\n integration,\n list,\n location,\n megaphone,\n menu,\n minus,\n more,\n negative,\n notification,\n pagination,\n payment,\n pencil,\n person,\n plus,\n question,\n reload,\n receipt,\n report,\n search,\n settings,\n sick,\n signout,\n switch: switchIcon,\n tachometer,\n task,\n template,\n tool,\n trash,\n turn,\n upload,\n warning,\n};\n"]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import emptyState from '../assets/illustrations/default-empty-state.svg';
|
|
2
2
|
import departments from '../assets/illustrations/departments.svg';
|
|
3
3
|
import email from '../assets/illustrations/e-mail.svg';
|
|
4
|
+
import emptyStateAdd from '../assets/illustrations/empty-state-add.svg';
|
|
5
|
+
import emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';
|
|
6
|
+
import emptyStateSearch from '../assets/illustrations/empty-state-search.svg';
|
|
4
7
|
import expenses from '../assets/illustrations/expenses.svg';
|
|
5
8
|
import functions from '../assets/illustrations/functions.svg';
|
|
6
9
|
import questions from '../assets/illustrations/questions.svg';
|
|
@@ -9,6 +12,9 @@ import timeOff from '../assets/illustrations/time-off.svg';
|
|
|
9
12
|
import upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';
|
|
10
13
|
export default {
|
|
11
14
|
'empty-state': emptyState,
|
|
15
|
+
'empty-state-search': emptyStateSearch,
|
|
16
|
+
'empty-state-overview': emptyStateOverview,
|
|
17
|
+
'empty-state-add': emptyStateAdd,
|
|
12
18
|
departments,
|
|
13
19
|
expenses,
|
|
14
20
|
functions,
|
|
@@ -18,3 +24,4 @@ export default {
|
|
|
18
24
|
'upgrade-to-hr': upgradeToHr,
|
|
19
25
|
'e-mail': email,
|
|
20
26
|
};
|
|
27
|
+
//# sourceMappingURL=illustrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"illustrations.js","sourceRoot":"","sources":["../../src/utils/illustrations.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,iDAAiD,CAAC;AACzE,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,KAAK,MAAM,oCAAoC,CAAC;AACvD,OAAO,aAAa,MAAM,6CAA6C,CAAC;AACxE,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,QAAQ,MAAM,sCAAsC,CAAC;AAC5D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,OAAO,MAAM,sCAAsC,CAAC;AAC3D,OAAO,WAAW,MAAM,2CAA2C,CAAC;AAEpE,eAAe;EACX,aAAa,EAAE,UAAU;EACzB,oBAAoB,EAAE,gBAAgB;EACtC,sBAAsB,EAAE,kBAAkB;EAC1C,iBAAiB,EAAE,aAAa;EAChC,WAAW;EACX,QAAQ;EACR,SAAS;EACT,SAAS;EACT,YAAY,EAAE,SAAS;EACvB,UAAU,EAAE,OAAO;EACnB,eAAe,EAAE,WAAW;EAC5B,QAAQ,EAAE,KAAK;CAClB,CAAC","sourcesContent":["import emptyState from '../assets/illustrations/default-empty-state.svg';\nimport departments from '../assets/illustrations/departments.svg';\nimport email from '../assets/illustrations/e-mail.svg';\nimport emptyStateAdd from '../assets/illustrations/empty-state-add.svg';\nimport emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';\nimport emptyStateSearch from '../assets/illustrations/empty-state-search.svg';\nimport expenses from '../assets/illustrations/expenses.svg';\nimport functions from '../assets/illustrations/functions.svg';\nimport questions from '../assets/illustrations/questions.svg';\nimport sickLeave from '../assets/illustrations/sick-leave.svg';\nimport timeOff from '../assets/illustrations/time-off.svg';\nimport upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';\n\nexport default {\n 'empty-state': emptyState,\n 'empty-state-search': emptyStateSearch,\n 'empty-state-overview': emptyStateOverview,\n 'empty-state-add': emptyStateAdd,\n departments,\n expenses,\n functions,\n questions,\n 'sick-leave': sickLeave,\n 'time-off': timeOff,\n 'upgrade-to-hr': upgradeToHr,\n 'e-mail': email,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './child-of';\nexport * from './icons';\nexport * from './illustrations';\nexport * from './localization';\nexport * from './object-get-by-path';\nexport * from './transformers';\n"]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
const getComponentClosestLanguage = (element) => {
|
|
2
|
+
const closestElement = element.closest('[lang]');
|
|
3
|
+
const htmlElement = document.documentElement;
|
|
4
|
+
return closestElement
|
|
5
|
+
? closestElement.lang
|
|
6
|
+
: (htmlElement === null || htmlElement === void 0 ? void 0 : htmlElement.lang)
|
|
7
|
+
? htmlElement.lang
|
|
8
|
+
: 'en';
|
|
9
|
+
};
|
|
10
|
+
const fetchLocaleStringsForComponent = (componentName, locale) => {
|
|
11
|
+
return new Promise((resolve, reject) => {
|
|
12
|
+
fetch(`/assets/i18n/${componentName}.i18n.${locale}.json`).then((result) => {
|
|
13
|
+
if (result.ok) {
|
|
14
|
+
resolve(result.json());
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
reject();
|
|
18
|
+
}, () => reject());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
const cache = {};
|
|
22
|
+
export const getLocaleComponentStrings = async (element) => {
|
|
23
|
+
var _a;
|
|
24
|
+
let componentName = element.tagName.toLowerCase().replace('p-', '');
|
|
25
|
+
let componentLanguage = getComponentClosestLanguage(element);
|
|
26
|
+
let strings;
|
|
27
|
+
if ((_a = cache[componentName]) === null || _a === void 0 ? void 0 : _a[componentLanguage]) {
|
|
28
|
+
return cache[componentName][componentLanguage];
|
|
29
|
+
}
|
|
30
|
+
try {
|
|
31
|
+
strings = await fetchLocaleStringsForComponent(componentName, componentLanguage);
|
|
32
|
+
}
|
|
33
|
+
catch (e) {
|
|
34
|
+
console.warn(`no locale for ${componentName} (${componentLanguage}) loading default locale en.`);
|
|
35
|
+
strings = await fetchLocaleStringsForComponent(componentName, 'en');
|
|
36
|
+
}
|
|
37
|
+
if (!cache[componentName]) {
|
|
38
|
+
cache[componentName] = {};
|
|
39
|
+
}
|
|
40
|
+
if (!cache[componentName][componentLanguage]) {
|
|
41
|
+
cache[componentName][componentLanguage] = {};
|
|
42
|
+
}
|
|
43
|
+
cache[componentName][componentLanguage] = strings;
|
|
44
|
+
return strings;
|
|
45
|
+
};
|
|
46
|
+
export const formatTranslation = (str, data) => {
|
|
47
|
+
if (!str || !data) {
|
|
48
|
+
return str;
|
|
49
|
+
}
|
|
50
|
+
for (const key of Object.keys(data)) {
|
|
51
|
+
const regex = `{${key}}`;
|
|
52
|
+
str = str.replace(new RegExp(regex, 'g'), data[key]);
|
|
53
|
+
}
|
|
54
|
+
return str;
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=localization.js.map
|