@paperless/core 0.1.0-alpha.30 → 0.1.0-alpha.300
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 +2788 -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/camera.svg +10 -0
- package/dist/assets/icons/filter.svg +6 -13
- package/dist/assets/icons/menu.svg +25 -0
- package/dist/assets/icons/more.svg +18 -0
- package/dist/assets/icons/reload.svg +10 -0
- package/dist/assets/icons/signout.svg +23 -0
- package/dist/assets/icons/switch.svg +20 -0
- package/dist/assets/illustrations/e-mail.svg +1 -0
- package/dist/assets/illustrations/empty-state-overview.svg +65 -0
- package/dist/assets/illustrations/empty-state-search.svg +88 -0
- package/dist/build/index.esm.js +1 -0
- package/dist/build/p-0688d548.entry.js +1 -0
- package/dist/build/p-07f28695.entry.js +1 -0
- package/dist/build/p-09ea2a1a.js +1 -0
- package/dist/build/p-12f5c483.entry.js +1 -0
- package/dist/build/p-1a4dea17.entry.js +1 -0
- package/dist/build/p-2df7dcab.entry.js +1 -0
- package/dist/build/p-2e47afc7.entry.js +1 -0
- package/dist/build/p-3946e0a3.entry.js +1 -0
- package/dist/build/p-4e650fe4.js +1 -0
- package/dist/build/p-529ccaf7.entry.js +1 -0
- package/dist/build/p-603f7eeb.entry.js +1 -0
- package/dist/build/p-62d49606.entry.js +1 -0
- package/dist/build/p-66ca8871.entry.js +1 -0
- package/dist/build/p-681ed79b.entry.js +1 -0
- package/dist/build/p-6c60fd3d.js +1 -0
- package/dist/build/p-6cc16633.entry.js +1 -0
- package/dist/build/p-7df6230f.entry.js +1 -0
- package/dist/build/p-855a9700.entry.js +1 -0
- package/dist/build/p-86db301b.entry.js +1 -0
- package/dist/build/p-8a6728d5.js +1 -0
- package/dist/build/p-9001f4e3.entry.js +1 -0
- package/dist/build/p-91d032b2.entry.js +1 -0
- package/dist/build/p-9315c1e2.entry.js +1 -0
- package/dist/build/p-98e3dcd7.entry.js +1 -0
- package/dist/build/p-ac5a17c4.entry.js +1 -0
- package/dist/build/p-b4af4b21.entry.js +1 -0
- package/dist/build/p-b6cad89e.entry.js +1 -0
- package/dist/build/p-b72559e4.entry.js +1 -0
- package/dist/build/p-b8a237be.entry.js +1 -0
- package/dist/build/p-b8dd503c.entry.js +1 -0
- package/dist/build/p-c1f6925e.entry.js +1 -0
- package/dist/build/p-c9f2fa8f.js +2 -0
- package/dist/build/p-d0e70650.entry.js +1 -0
- package/dist/build/p-d2cf5ab2.entry.js +1 -0
- package/dist/build/p-d896ab0d.entry.js +1 -0
- package/dist/build/p-dbb409ab.entry.js +1 -0
- package/dist/build/p-ddd388f6.entry.js +1 -0
- package/dist/build/p-f1867cb5.entry.js +1 -0
- package/dist/build/p-f499f696.entry.js +1 -0
- package/dist/build/p-f86fcdf4.js +1 -0
- package/dist/build/p-fa3216a5.entry.js +1 -0
- package/dist/build/p-fbb44fc1.entry.js +1 -0
- package/dist/build/paperless.css +1 -81
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/child-of-e472f812.js +9 -0
- package/dist/cjs/constants-a4459ec9.js +7 -0
- package/dist/cjs/{index-a46a39a5.js → index-195002a8.js} +650 -261
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/localization-9e2ac7f3.js +60 -0
- package/dist/cjs/object-get-by-path-6dc21ed5.js +12 -0
- package/dist/cjs/p-accordion.cjs.entry.js +34 -0
- package/dist/cjs/p-avatar-group.cjs.entry.js +20 -0
- package/dist/cjs/p-avatar.cjs.entry.js +22 -11
- package/dist/cjs/p-backdrop.cjs.entry.js +30 -0
- package/dist/cjs/p-button_3.cjs.entry.js +234 -96
- package/dist/cjs/p-card-body.cjs.entry.js +20 -0
- package/dist/cjs/p-card-container.cjs.entry.js +21 -0
- package/dist/cjs/p-card-header.cjs.entry.js +22 -0
- package/dist/cjs/p-content-slider.cjs.entry.js +210 -0
- package/dist/cjs/p-counter.cjs.entry.js +5 -3
- package/dist/cjs/p-divider.cjs.entry.js +6 -3
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +49 -0
- package/dist/cjs/p-drawer.cjs.entry.js +62 -0
- package/dist/cjs/p-dropdown_3.cjs.entry.js +177 -0
- package/dist/cjs/p-helper_2.cjs.entry.js +139 -0
- package/dist/cjs/p-illustration_6.cjs.entry.js +2725 -0
- package/dist/cjs/p-info-panel.cjs.entry.js +4 -8
- package/dist/cjs/p-input-group_4.cjs.entry.js +125 -0
- package/dist/cjs/p-layout.cjs.entry.js +20 -0
- package/dist/cjs/p-modal-body_4.cjs.entry.js +77 -0
- package/dist/cjs/p-modal.cjs.entry.js +58 -0
- package/dist/cjs/p-navbar.cjs.entry.js +28 -0
- package/dist/cjs/p-navigation-item.cjs.entry.js +7 -6
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +222 -0
- package/dist/cjs/p-profile.cjs.entry.js +43 -0
- package/dist/cjs/p-select.cjs.entry.js +183 -0
- package/dist/cjs/p-slider-indicator.cjs.entry.js +20 -0
- package/dist/cjs/p-status.cjs.entry.js +5 -5
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +38 -0
- package/dist/cjs/p-stepper.cjs.entry.js +43 -0
- package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
- package/dist/cjs/p-tab-item.cjs.entry.js +20 -0
- package/dist/cjs/p-table-column.cjs.entry.js +26 -0
- package/dist/cjs/p-table.cjs.entry.js +341 -0
- package/dist/cjs/p-toast-container.cjs.entry.js +20 -0
- package/dist/cjs/p-toast.cjs.entry.js +33 -0
- package/dist/cjs/paperless.cjs.js +3 -3
- package/dist/cjs/{popper-e0c4ed4c.js → popper-d7a0f999.js} +60 -49
- package/dist/collection/assets/icons/camera.svg +10 -0
- package/dist/collection/assets/icons/filter.svg +6 -13
- package/dist/collection/assets/icons/menu.svg +25 -0
- package/dist/collection/assets/icons/more.svg +18 -0
- package/dist/collection/assets/icons/reload.svg +10 -0
- package/dist/collection/assets/icons/signout.svg +23 -0
- package/dist/collection/assets/icons/switch.svg +20 -0
- package/dist/collection/assets/illustrations/e-mail.svg +1 -0
- package/dist/collection/assets/illustrations/empty-state-overview.svg +65 -0
- package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
- package/dist/collection/collection-manifest.json +41 -3
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -31
- package/dist/collection/components/atoms/avatar/avatar.component.js +110 -90
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -0
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +41 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +119 -0
- package/dist/collection/components/atoms/button/button.component.css +1 -71
- package/dist/collection/components/atoms/button/button.component.js +307 -226
- package/dist/collection/components/atoms/card-body/card-body.component.css +1 -0
- package/dist/collection/components/atoms/card-body/card-body.component.js +42 -0
- package/dist/collection/components/atoms/card-container/card-container.component.css +1 -0
- package/dist/collection/components/atoms/card-container/card-container.component.js +62 -0
- package/dist/collection/components/atoms/card-header/card-header.component.css +1 -0
- package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
- package/dist/collection/components/atoms/counter/counter.component.css +1 -5
- package/dist/collection/components/atoms/counter/counter.component.js +56 -9
- package/dist/collection/components/atoms/divider/divider.component.css +1 -3
- package/dist/collection/components/atoms/divider/divider.component.js +15 -8
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -0
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +43 -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 +47 -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 +65 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -5
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +37 -9
- 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 -30
- package/dist/collection/components/atoms/helper/helper.component.css +1 -7
- package/dist/collection/components/atoms/helper/helper.component.js +42 -12
- package/dist/collection/components/atoms/icon/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon/icon.component.js +138 -91
- package/dist/collection/components/atoms/illustration/illustration.component.js +28 -23
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +85 -89
- package/dist/collection/components/atoms/label/label.component.css +1 -0
- package/dist/collection/components/atoms/label/label.component.js +170 -0
- package/dist/collection/components/atoms/layout/layout.component.css +1 -0
- package/dist/collection/components/atoms/layout/layout.component.js +43 -0
- package/dist/collection/components/atoms/loader/loader.component.css +1 -26
- package/dist/collection/components/atoms/loader/loader.component.js +112 -114
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -0
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +62 -0
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -0
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +74 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +18 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +65 -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 +34 -32
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -5
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +12 -9
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -21
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +98 -87
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -0
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +43 -0
- package/dist/collection/components/atoms/status/status.component.css +1 -16
- package/dist/collection/components/atoms/status/status.component.js +98 -89
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -0
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +100 -0
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -0
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
- package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -0
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +18 -0
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -0
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +43 -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 +18 -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 +43 -0
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -40
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +196 -164
- package/dist/collection/components/helpers/table-column/table-column.component.js +150 -0
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -0
- package/dist/collection/components/molecules/accordion/accordion.component.js +127 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +316 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -9
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +238 -127
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js +334 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -28
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +106 -104
- package/dist/collection/components/molecules/page-size-select/constants.js +2 -0
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +204 -0
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
- package/dist/collection/components/molecules/pagination/pagination.component.js +118 -94
- package/dist/collection/components/molecules/profile/profile.component.css +1 -0
- package/dist/collection/components/molecules/profile/profile.component.js +89 -0
- package/dist/collection/components/molecules/select/select.component.css +1 -0
- package/dist/collection/components/molecules/select/select.component.js +570 -0
- package/dist/collection/components/molecules/stepper/stepper.component.css +1 -0
- package/dist/collection/components/molecules/stepper/stepper.component.js +84 -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 +262 -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 +275 -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 +380 -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 +64 -0
- package/dist/collection/components/molecules/toast/toast.component.css +1 -0
- package/dist/collection/components/molecules/toast/toast.component.js +196 -0
- package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
- package/dist/collection/components/organisms/drawer/drawer.component.js +214 -0
- package/dist/collection/components/organisms/modal/modal.component.js +239 -0
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -0
- package/dist/collection/components/organisms/navbar/navbar.component.js +89 -0
- package/dist/collection/components/organisms/table/table.component.css +1 -0
- package/dist/collection/components/organisms/table/table.component.js +1164 -0
- package/dist/collection/index.js +2 -1
- package/dist/collection/tailwind/animation.js +87 -0
- package/dist/collection/tailwind/backdrop-blur.js +3 -0
- package/dist/collection/tailwind/height.js +3 -0
- package/dist/collection/tailwind/screens.js +8 -0
- package/dist/collection/tailwind/shadows.js +11 -5
- package/dist/collection/tailwind/spacing.js +10 -0
- package/dist/collection/tailwind/typography.js +21 -0
- package/dist/collection/tailwind/width.js +18 -0
- package/dist/collection/tailwind/z-index.js +17 -0
- package/dist/collection/tailwind.config.js +28 -14
- package/dist/collection/types/index.js +2 -0
- package/dist/collection/types/table.js +1 -0
- package/dist/collection/types/tailwind.js +1 -0
- package/dist/collection/utils/icons.js +12 -0
- package/dist/collection/utils/illustrations.js +6 -0
- package/dist/collection/utils/index.js +6 -0
- package/dist/collection/utils/localization.js +55 -0
- package/dist/collection/utils/object-get-by-path.js +8 -0
- package/dist/collection/utils/transformers.js +4 -0
- package/dist/components/backdrop.component.js +45 -0
- package/dist/components/button.component.js +98 -0
- package/dist/components/counter.component.js +8 -3
- package/dist/components/divider.component.js +33 -0
- package/dist/components/drawer-body.component.js +33 -0
- package/dist/components/drawer-container.component.js +32 -0
- package/dist/components/drawer-header.component.js +52 -0
- package/dist/components/dropdown-menu-container.component.js +6 -3
- package/dist/components/dropdown-menu-item.component.js +43 -0
- package/dist/components/dropdown.component.js +178 -0
- package/dist/components/helper.component.js +39 -0
- package/dist/components/icon.component.js +170 -27
- package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +188 -16
- package/dist/components/index.d.ts +57 -19
- package/dist/components/index.js +48 -0
- package/dist/components/input-group.component.js +113 -0
- package/dist/components/label.component.js +52 -0
- package/dist/components/loader.component.js +9 -13
- package/dist/components/localization.js +57 -0
- package/dist/components/modal-body.component.js +35 -0
- package/dist/components/modal-container.component.js +47 -0
- package/dist/components/modal-footer.component.js +36 -0
- package/dist/components/modal-header.component.js +52 -0
- package/dist/components/p-accordion.d.ts +11 -0
- package/dist/components/p-accordion.js +65 -0
- package/dist/components/p-avatar-group.d.ts +11 -0
- package/dist/components/p-avatar-group.js +35 -0
- package/dist/components/p-avatar.js +24 -14
- package/dist/components/p-backdrop.d.ts +11 -0
- package/dist/components/p-backdrop.js +6 -0
- package/dist/components/p-button.js +1 -93
- package/dist/components/p-card-body.d.ts +11 -0
- package/dist/components/p-card-body.js +35 -0
- package/dist/components/p-card-container.d.ts +11 -0
- package/dist/components/p-card-container.js +38 -0
- package/dist/components/p-card-header.d.ts +11 -0
- package/dist/components/p-card-header.js +44 -0
- package/dist/components/p-content-slider.d.ts +11 -0
- package/dist/components/p-content-slider.js +239 -0
- package/dist/components/p-divider.js +1 -28
- package/dist/components/p-drawer-body.d.ts +11 -0
- package/dist/components/p-drawer-body.js +6 -0
- package/dist/components/p-drawer-container.d.ts +11 -0
- package/dist/components/p-drawer-container.js +6 -0
- package/dist/components/p-drawer-header.d.ts +11 -0
- package/dist/components/p-drawer-header.js +6 -0
- package/dist/components/p-drawer.d.ts +11 -0
- package/dist/components/p-drawer.js +126 -0
- package/dist/components/p-dropdown-menu-item.js +1 -34
- package/dist/components/p-dropdown.js +1 -151
- package/dist/components/p-helper.js +1 -34
- package/dist/components/p-illustration.js +1 -1432
- package/dist/components/p-info-panel.js +3 -7
- package/dist/components/p-input-group.d.ts +11 -0
- package/dist/components/p-input-group.js +6 -0
- package/dist/components/p-label.d.ts +11 -0
- package/dist/components/p-label.js +6 -0
- package/dist/components/p-layout.d.ts +11 -0
- package/dist/components/p-layout.js +36 -0
- package/dist/components/p-modal-body.d.ts +11 -0
- package/dist/components/p-modal-body.js +6 -0
- package/dist/components/p-modal-container.d.ts +11 -0
- package/dist/components/p-modal-container.js +6 -0
- package/dist/components/p-modal-footer.d.ts +11 -0
- package/dist/components/p-modal-footer.js +6 -0
- package/dist/components/p-modal-header.d.ts +11 -0
- package/dist/components/p-modal-header.js +6 -0
- package/dist/components/p-modal.d.ts +11 -0
- package/dist/components/p-modal.js +136 -0
- package/dist/components/p-navbar.d.ts +11 -0
- package/dist/components/p-navbar.js +70 -0
- package/dist/components/p-navigation-item.js +6 -5
- package/dist/components/p-page-size-select.d.ts +11 -0
- package/dist/components/p-page-size-select.js +6 -0
- package/dist/components/p-pagination.js +1 -195
- package/dist/components/p-profile.d.ts +11 -0
- package/dist/components/p-profile.js +79 -0
- package/dist/components/p-segment-container.js +1 -27
- package/dist/components/p-segment-item.js +1 -49
- package/dist/components/p-select.d.ts +11 -0
- package/dist/components/p-select.js +265 -0
- package/dist/components/p-slider-indicator.d.ts +11 -0
- package/dist/components/p-slider-indicator.js +6 -0
- package/dist/components/p-status.js +4 -4
- package/dist/components/p-stepper-item.d.ts +11 -0
- package/dist/components/p-stepper-item.js +6 -0
- package/dist/components/p-stepper-line.d.ts +11 -0
- package/dist/components/p-stepper-line.js +6 -0
- package/dist/components/p-stepper.d.ts +11 -0
- package/dist/components/p-stepper.js +78 -0
- package/dist/components/p-tab-group.d.ts +11 -0
- package/dist/components/p-tab-group.js +39 -0
- package/dist/components/p-tab-item.d.ts +11 -0
- package/dist/components/p-tab-item.js +36 -0
- package/dist/components/p-table-cell.d.ts +11 -0
- package/dist/components/p-table-cell.js +6 -0
- package/dist/components/p-table-column.d.ts +11 -0
- package/dist/components/p-table-column.js +46 -0
- package/dist/components/p-table-container.d.ts +11 -0
- package/dist/components/p-table-container.js +6 -0
- package/dist/components/p-table-footer.d.ts +11 -0
- package/dist/components/p-table-footer.js +6 -0
- package/dist/components/p-table-header.d.ts +11 -0
- package/dist/components/p-table-header.js +6 -0
- package/dist/components/p-table-row.d.ts +11 -0
- package/dist/components/p-table-row.js +6 -0
- package/dist/components/p-table.d.ts +11 -0
- package/dist/components/p-table.js +521 -0
- package/dist/components/p-toast-container.d.ts +11 -0
- package/dist/components/p-toast-container.js +36 -0
- package/dist/components/p-toast.d.ts +11 -0
- package/dist/components/p-toast.js +73 -0
- package/dist/components/page-size-select.component.js +105 -0
- package/dist/components/pagination-item.component.js +1 -4
- package/dist/components/pagination.component.js +194 -0
- package/dist/components/popper.js +60 -49
- package/dist/components/segment-container.component.js +29 -0
- package/dist/components/segment-item.component.js +51 -0
- package/dist/components/slider-indicator.component.js +33 -0
- package/dist/components/stepper-item.component.js +45 -0
- package/dist/components/stepper-line.component.js +35 -0
- package/dist/components/table-cell.component.js +143 -0
- package/dist/components/table-container.component.js +30 -0
- package/dist/components/table-footer.component.js +127 -0
- package/dist/components/table-header.component.js +1048 -0
- package/dist/components/table-row.component.js +43 -0
- package/dist/components/tooltip.component.js +16 -27
- package/dist/esm/child-of-90a8c4b5.js +7 -0
- package/dist/esm/constants-826f9460.js +4 -0
- package/dist/esm/{index-a68e547b.js → index-8170b4fb.js} +650 -261
- package/dist/esm/index.js +9 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/localization-901dc2d3.js +57 -0
- package/dist/esm/object-get-by-path-d6427a61.js +10 -0
- package/dist/esm/p-accordion.entry.js +30 -0
- package/dist/esm/p-avatar-group.entry.js +16 -0
- package/dist/esm/p-avatar.entry.js +22 -11
- package/dist/esm/p-backdrop.entry.js +26 -0
- package/dist/esm/p-button_3.entry.js +234 -96
- package/dist/esm/p-card-body.entry.js +16 -0
- package/dist/esm/p-card-container.entry.js +17 -0
- package/dist/esm/p-card-header.entry.js +18 -0
- package/dist/esm/p-content-slider.entry.js +206 -0
- package/dist/esm/p-counter.entry.js +5 -3
- package/dist/esm/p-divider.entry.js +6 -3
- package/dist/esm/p-drawer-body_3.entry.js +43 -0
- package/dist/esm/p-drawer.entry.js +58 -0
- package/dist/esm/p-dropdown_3.entry.js +171 -0
- package/dist/esm/p-helper_2.entry.js +134 -0
- package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1305 -8
- package/dist/esm/p-info-panel.entry.js +4 -8
- package/dist/esm/p-input-group_4.entry.js +118 -0
- package/dist/esm/p-layout.entry.js +16 -0
- package/dist/esm/p-modal-body_4.entry.js +70 -0
- package/dist/esm/p-modal.entry.js +54 -0
- package/dist/esm/p-navbar.entry.js +24 -0
- package/dist/esm/p-navigation-item.entry.js +7 -6
- package/dist/esm/p-page-size-select_3.entry.js +216 -0
- package/dist/esm/p-profile.entry.js +39 -0
- package/dist/esm/p-select.entry.js +179 -0
- package/dist/esm/p-slider-indicator.entry.js +16 -0
- package/dist/esm/p-status.entry.js +5 -5
- package/dist/esm/p-stepper-item_2.entry.js +33 -0
- package/dist/esm/p-stepper.entry.js +39 -0
- package/dist/esm/p-tab-group.entry.js +15 -0
- package/dist/esm/p-tab-item.entry.js +16 -0
- package/dist/esm/p-table-column.entry.js +22 -0
- package/dist/esm/p-table.entry.js +337 -0
- package/dist/esm/p-toast-container.entry.js +16 -0
- package/dist/esm/p-toast.entry.js +29 -0
- package/dist/esm/paperless.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{popper-41c6f9cd.js → popper-42db9fbd.js} +60 -49
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -0
- package/dist/paperless/p-0688d548.entry.js +1 -0
- package/dist/paperless/p-07f28695.entry.js +1 -0
- package/dist/paperless/p-09ea2a1a.js +1 -0
- package/dist/paperless/p-12f5c483.entry.js +1 -0
- package/dist/paperless/p-1a4dea17.entry.js +1 -0
- package/dist/paperless/p-2df7dcab.entry.js +1 -0
- package/dist/paperless/p-2e47afc7.entry.js +1 -0
- package/dist/paperless/p-3946e0a3.entry.js +1 -0
- package/dist/paperless/p-4e650fe4.js +1 -0
- package/dist/paperless/p-529ccaf7.entry.js +1 -0
- package/dist/paperless/p-603f7eeb.entry.js +1 -0
- package/dist/paperless/p-62d49606.entry.js +1 -0
- package/dist/paperless/p-66ca8871.entry.js +1 -0
- package/dist/paperless/p-681ed79b.entry.js +1 -0
- package/dist/paperless/p-6c60fd3d.js +1 -0
- package/dist/paperless/p-6cc16633.entry.js +1 -0
- package/dist/paperless/p-7df6230f.entry.js +1 -0
- package/dist/paperless/p-855a9700.entry.js +1 -0
- package/dist/paperless/p-86db301b.entry.js +1 -0
- package/dist/paperless/p-8a6728d5.js +1 -0
- package/dist/paperless/p-9001f4e3.entry.js +1 -0
- package/dist/paperless/p-91d032b2.entry.js +1 -0
- package/dist/paperless/p-9315c1e2.entry.js +1 -0
- package/dist/paperless/p-98e3dcd7.entry.js +1 -0
- package/dist/paperless/p-ac5a17c4.entry.js +1 -0
- package/dist/paperless/p-b4af4b21.entry.js +1 -0
- package/dist/paperless/p-b6cad89e.entry.js +1 -0
- package/dist/paperless/p-b72559e4.entry.js +1 -0
- package/dist/paperless/p-b8a237be.entry.js +1 -0
- package/dist/paperless/p-b8dd503c.entry.js +1 -0
- package/dist/paperless/p-c1f6925e.entry.js +1 -0
- package/dist/paperless/p-c9f2fa8f.js +2 -0
- package/dist/paperless/p-d0e70650.entry.js +1 -0
- package/dist/paperless/p-d2cf5ab2.entry.js +1 -0
- package/dist/paperless/p-d896ab0d.entry.js +1 -0
- package/dist/paperless/p-dbb409ab.entry.js +1 -0
- package/dist/paperless/p-ddd388f6.entry.js +1 -0
- package/dist/paperless/p-f1867cb5.entry.js +1 -0
- package/dist/paperless/p-f499f696.entry.js +1 -0
- package/dist/paperless/p-f86fcdf4.js +1 -0
- package/dist/paperless/p-fa3216a5.entry.js +1 -0
- package/dist/paperless/p-fbb44fc1.entry.js +1 -0
- package/dist/paperless/paperless.css +589 -26779
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/style/_fonts.scss +70 -0
- package/dist/style/_reset.scss +31 -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 +62 -0
- package/dist/style/form/_input.scss +22 -0
- package/dist/style/form/_mixins.scss +107 -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/paperless.scss +10 -0
- package/dist/sw.js +2 -644
- package/dist/sw.js.map +1 -0
- package/dist/tailwind/animation.js +87 -0
- package/dist/tailwind/backdrop-blur.js +3 -0
- package/dist/tailwind/border-radius.js +10 -0
- package/dist/tailwind/colors.js +52 -0
- package/dist/tailwind/height.js +3 -0
- package/dist/tailwind/rotate.js +8 -0
- package/dist/tailwind/scale.js +3 -0
- package/dist/tailwind/screens.js +8 -0
- package/dist/tailwind/shadows.js +13 -0
- package/dist/tailwind/spacing.js +10 -0
- package/dist/tailwind/typography.js +21 -0
- package/dist/tailwind/width.js +18 -0
- package/dist/tailwind/z-index.js +17 -0
- package/dist/tailwind.config.js +28 -14
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
- package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +25 -0
- package/dist/types/components/atoms/button/button.component.d.ts +18 -1
- package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
- package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
- package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
- package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
- package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
- 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 +4 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +9 -0
- package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
- package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
- package/dist/types/components/atoms/label/label.component.d.ts +33 -0
- package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
- package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
- package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +11 -0
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +11 -0
- package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
- package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +2 -1
- package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
- package/dist/types/components/atoms/status/status.component.d.ts +2 -1
- package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
- package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
- package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
- package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -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 +11 -2
- package/dist/types/components/helpers/table-column/table-column.component.d.ts +34 -0
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +53 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +23 -3
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +67 -0
- 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 +20 -0
- package/dist/types/components/molecules/select/select.component.d.ts +115 -0
- package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
- 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 +87 -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 +48 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +54 -0
- package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
- package/dist/types/components/organisms/table/table.component.d.ts +214 -0
- package/dist/types/components.d.ts +2521 -285
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/table.d.ts +27 -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-5b279812.js +2 -0
- package/dist/workbox-5b279812.js.map +1 -0
- package/loader/package.json +1 -0
- package/package.json +64 -61
- package/dist/build/p-17c11169.entry.js +0 -1
- package/dist/build/p-1d8fa6a1.entry.js +0 -1
- package/dist/build/p-41e5458b.entry.js +0 -1
- package/dist/build/p-42dab9d4.entry.js +0 -1
- package/dist/build/p-47b52f92.entry.js +0 -1
- package/dist/build/p-5ec6ea71.entry.js +0 -1
- package/dist/build/p-75f909ab.entry.js +0 -1
- package/dist/build/p-76464e0b.js +0 -2
- package/dist/build/p-8501ba07.entry.js +0 -1
- package/dist/build/p-a669807e.entry.js +0 -1
- package/dist/build/p-a7086ffa.js +0 -1
- package/dist/build/p-aa28fef8.entry.js +0 -1
- package/dist/build/p-aae3d4f0.entry.js +0 -1
- package/dist/build/p-adcb0b93.entry.js +0 -1
- package/dist/build/p-bbec0e86.entry.js +0 -1
- package/dist/build/p-d7c82962.entry.js +0 -1
- package/dist/build/p-e7019eab.entry.js +0 -1
- package/dist/build/p-f689996b.entry.js +0 -1
- package/dist/build/p-faa4ee42.entry.js +0 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +0 -19
- package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
- package/dist/cjs/p-dropdown.cjs.entry.js +0 -131
- package/dist/cjs/p-helper.cjs.entry.js +0 -19
- 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-tooltip.cjs.entry.js +0 -137
- package/dist/collection/tailwind/grid.js +0 -26
- package/dist/collection/utils/utils.js +0 -3
- package/dist/esm/p-dropdown-menu-container.entry.js +0 -15
- package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
- package/dist/esm/p-dropdown.entry.js +0 -127
- package/dist/esm/p-helper.entry.js +0 -15
- 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-tooltip.entry.js +0 -133
- package/dist/paperless/p-17c11169.entry.js +0 -1
- package/dist/paperless/p-1d8fa6a1.entry.js +0 -1
- package/dist/paperless/p-41e5458b.entry.js +0 -1
- package/dist/paperless/p-42dab9d4.entry.js +0 -1
- package/dist/paperless/p-47b52f92.entry.js +0 -1
- package/dist/paperless/p-5ec6ea71.entry.js +0 -1
- package/dist/paperless/p-75f909ab.entry.js +0 -1
- package/dist/paperless/p-76464e0b.js +0 -2
- package/dist/paperless/p-8501ba07.entry.js +0 -1
- package/dist/paperless/p-a669807e.entry.js +0 -1
- package/dist/paperless/p-a7086ffa.js +0 -1
- package/dist/paperless/p-aa28fef8.entry.js +0 -1
- package/dist/paperless/p-aae3d4f0.entry.js +0 -1
- package/dist/paperless/p-adcb0b93.entry.js +0 -1
- package/dist/paperless/p-bbec0e86.entry.js +0 -1
- package/dist/paperless/p-d7c82962.entry.js +0 -1
- package/dist/paperless/p-e7019eab.entry.js +0 -1
- package/dist/paperless/p-f689996b.entry.js +0 -1
- package/dist/paperless/p-faa4ee42.entry.js +0 -1
- package/dist/types/utils/utils.d.ts +0 -1
|
@@ -6,11 +6,37 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IconFlipOptions, IconVariant } from "./components/atoms/icon/icon.component";
|
|
9
|
+
import { RotateOptions, TextSizeOptions } from "./types/tailwind";
|
|
10
|
+
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
9
11
|
import { IconFlipOptions as IconFlipOptions1, IconVariant as IconVariant1 } from "./components/atoms/icon/icon.component";
|
|
10
12
|
import { IllustrationVariant } from "./components/atoms/illustration/illustration.component";
|
|
13
|
+
import { RotateOptions as RotateOptions1, TableDefinitionData, TableDefinitionTemplateFunc } from "./types";
|
|
11
14
|
import { Observable } from "rxjs";
|
|
12
|
-
import {
|
|
15
|
+
import { templateFunc } from "./components/molecules/page-size-select/page-size-select.component";
|
|
16
|
+
import { QuickFilter, RowClickEvent, TableColumnSizes } from "./types/table";
|
|
17
|
+
import { templateFunc as templateFunc1 } from "./components/organisms/table/table.component";
|
|
18
|
+
import { buttonTemplateFunc } from "./components/molecules/table-header/table-header.component";
|
|
19
|
+
import { TableColumn } from "./components/helpers/table-column/table-column.component";
|
|
20
|
+
import { buttonTemplateFunc as buttonTemplateFunc1, templateFunc as templateFunc2 } from "./components/molecules/table-header/table-header.component";
|
|
13
21
|
export namespace Components {
|
|
22
|
+
interface PAccordion {
|
|
23
|
+
/**
|
|
24
|
+
* Wether the accordion can be closed
|
|
25
|
+
*/
|
|
26
|
+
"closeable": boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Header of the accordion
|
|
29
|
+
*/
|
|
30
|
+
"header": string;
|
|
31
|
+
/**
|
|
32
|
+
* Wether the accordion is open
|
|
33
|
+
*/
|
|
34
|
+
"open": boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Wether the accordion can be opened
|
|
37
|
+
*/
|
|
38
|
+
"openable": boolean;
|
|
39
|
+
}
|
|
14
40
|
interface PAvatar {
|
|
15
41
|
/**
|
|
16
42
|
* The default image to show on errors
|
|
@@ -19,7 +45,7 @@ export namespace Components {
|
|
|
19
45
|
/**
|
|
20
46
|
* The size of the avatar
|
|
21
47
|
*/
|
|
22
|
-
"size": 'small' | 'medium' | 'large';
|
|
48
|
+
"size": 'small' | 'medium' | 'large' | 'xlarge';
|
|
23
49
|
/**
|
|
24
50
|
* The image used for the avatar
|
|
25
51
|
*/
|
|
@@ -29,7 +55,35 @@ export namespace Components {
|
|
|
29
55
|
*/
|
|
30
56
|
"variant": 'user' | 'company';
|
|
31
57
|
}
|
|
58
|
+
interface PAvatarGroup {
|
|
59
|
+
/**
|
|
60
|
+
* The amount to show after the avatars
|
|
61
|
+
*/
|
|
62
|
+
"extra": number;
|
|
63
|
+
}
|
|
64
|
+
interface PBackdrop {
|
|
65
|
+
/**
|
|
66
|
+
* Wether to apply blur on the background of the backdrop
|
|
67
|
+
*/
|
|
68
|
+
"applyBlur": boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Wether the backdrop is closing
|
|
71
|
+
*/
|
|
72
|
+
"closing": boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The variant of the backdrop
|
|
75
|
+
*/
|
|
76
|
+
"variant": 'modal' | 'drawer';
|
|
77
|
+
}
|
|
32
78
|
interface PButton {
|
|
79
|
+
/**
|
|
80
|
+
* Wether to show a chevron or not
|
|
81
|
+
*/
|
|
82
|
+
"chevron": boolean | 'up' | 'down';
|
|
83
|
+
/**
|
|
84
|
+
* Chevron position
|
|
85
|
+
*/
|
|
86
|
+
"chevronPosition": 'start' | 'end';
|
|
33
87
|
/**
|
|
34
88
|
* Wether the button is disabled
|
|
35
89
|
*/
|
|
@@ -46,6 +100,10 @@ export namespace Components {
|
|
|
46
100
|
* Icon flip
|
|
47
101
|
*/
|
|
48
102
|
"iconFlip": IconFlipOptions;
|
|
103
|
+
/**
|
|
104
|
+
* Wether the button is icon only
|
|
105
|
+
*/
|
|
106
|
+
"iconOnly": boolean;
|
|
49
107
|
/**
|
|
50
108
|
* Icon position
|
|
51
109
|
*/
|
|
@@ -53,7 +111,11 @@ export namespace Components {
|
|
|
53
111
|
/**
|
|
54
112
|
* Icon rotate
|
|
55
113
|
*/
|
|
56
|
-
"iconRotate":
|
|
114
|
+
"iconRotate": RotateOptions;
|
|
115
|
+
/**
|
|
116
|
+
* Wether the button should inherit text styles
|
|
117
|
+
*/
|
|
118
|
+
"inheritText": boolean;
|
|
57
119
|
/**
|
|
58
120
|
* Wether to show a loader or not
|
|
59
121
|
*/
|
|
@@ -71,11 +133,119 @@ export namespace Components {
|
|
|
71
133
|
*/
|
|
72
134
|
"variant": 'primary' | 'secondary' | 'text';
|
|
73
135
|
}
|
|
136
|
+
interface PCardBody {
|
|
137
|
+
/**
|
|
138
|
+
* Wether the button should inherit text styles
|
|
139
|
+
*/
|
|
140
|
+
"inheritText": boolean;
|
|
141
|
+
}
|
|
142
|
+
interface PCardContainer {
|
|
143
|
+
/**
|
|
144
|
+
* Wether the card should be hoverable
|
|
145
|
+
*/
|
|
146
|
+
"hoverable": boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Wether the card should have shadow
|
|
149
|
+
*/
|
|
150
|
+
"shadow": boolean;
|
|
151
|
+
}
|
|
152
|
+
interface PCardHeader {
|
|
153
|
+
/**
|
|
154
|
+
* Enable the title arrow
|
|
155
|
+
*/
|
|
156
|
+
"arrow": boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Content of the card header
|
|
159
|
+
*/
|
|
160
|
+
"header": string;
|
|
161
|
+
}
|
|
162
|
+
interface PContentSlider {
|
|
163
|
+
/**
|
|
164
|
+
* Wether to disable auto centering the content
|
|
165
|
+
*/
|
|
166
|
+
"disableAutoCenter": boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Wether to disable dragging the content
|
|
169
|
+
*/
|
|
170
|
+
"disableDrag": boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Wether to disable clicking the indicator scrolls content
|
|
173
|
+
*/
|
|
174
|
+
"disableIndicatorClick": boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Wether to hide the indicator on mobile
|
|
177
|
+
*/
|
|
178
|
+
"hideMobileIndicator": boolean;
|
|
179
|
+
}
|
|
74
180
|
interface PCounter {
|
|
181
|
+
/**
|
|
182
|
+
* The size of the counter
|
|
183
|
+
*/
|
|
184
|
+
"size": 'default' | 'mini';
|
|
185
|
+
/**
|
|
186
|
+
* The variant of the counter
|
|
187
|
+
*/
|
|
188
|
+
"variant": 'info' | 'negative' | 'positive' | 'unbiased';
|
|
75
189
|
}
|
|
76
190
|
interface PDivider {
|
|
77
191
|
}
|
|
192
|
+
interface PDrawer {
|
|
193
|
+
/**
|
|
194
|
+
* Wether to apply blur to the backdrop
|
|
195
|
+
*/
|
|
196
|
+
"applyBlur": boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Wether to hide the drawer when the backdrop is clicked
|
|
199
|
+
*/
|
|
200
|
+
"backdropClickClose": boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Wether the drawer can be closed
|
|
203
|
+
*/
|
|
204
|
+
"canClose": boolean;
|
|
205
|
+
/**
|
|
206
|
+
* The Header of the drawer
|
|
207
|
+
*/
|
|
208
|
+
"header"?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Wether to show the drawer or not
|
|
211
|
+
*/
|
|
212
|
+
"show": boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Wether to show the close on mobile in the header
|
|
215
|
+
*/
|
|
216
|
+
"showClose": boolean;
|
|
217
|
+
}
|
|
218
|
+
interface PDrawerBody {
|
|
219
|
+
/**
|
|
220
|
+
* The variant of the modal body
|
|
221
|
+
*/
|
|
222
|
+
"variant": 'default' | 'table';
|
|
223
|
+
}
|
|
224
|
+
interface PDrawerContainer {
|
|
225
|
+
/**
|
|
226
|
+
* Wether the container is closing
|
|
227
|
+
*/
|
|
228
|
+
"closing": boolean;
|
|
229
|
+
}
|
|
230
|
+
interface PDrawerHeader {
|
|
231
|
+
/**
|
|
232
|
+
* Wether to show the close button on mobile
|
|
233
|
+
*/
|
|
234
|
+
"showClose": boolean;
|
|
235
|
+
}
|
|
78
236
|
interface PDropdown {
|
|
237
|
+
/**
|
|
238
|
+
* Wether to automatically calculate the width of the menu based on the trigger
|
|
239
|
+
*/
|
|
240
|
+
"calculateWidth": boolean;
|
|
241
|
+
/**
|
|
242
|
+
* Chevron direction
|
|
243
|
+
*/
|
|
244
|
+
"chevronDirection": 'up' | 'down';
|
|
245
|
+
/**
|
|
246
|
+
* Chevron position
|
|
247
|
+
*/
|
|
248
|
+
"chevronPosition": 'start' | 'end';
|
|
79
249
|
/**
|
|
80
250
|
* Wether to automatically close the dropdown menu after clicking inside
|
|
81
251
|
*/
|
|
@@ -87,21 +257,41 @@ export namespace Components {
|
|
|
87
257
|
/**
|
|
88
258
|
* The content of the dropdown menu
|
|
89
259
|
*/
|
|
90
|
-
"placement":
|
|
260
|
+
"placement": Placement;
|
|
91
261
|
/**
|
|
92
262
|
* Wether to show the dropdown menu
|
|
93
263
|
*/
|
|
94
264
|
"show": boolean;
|
|
265
|
+
/**
|
|
266
|
+
* The strategy of the popover placement
|
|
267
|
+
*/
|
|
268
|
+
"strategy": PositioningStrategy;
|
|
95
269
|
}
|
|
96
270
|
interface PDropdownMenuContainer {
|
|
271
|
+
/**
|
|
272
|
+
* Wether the container applies it's max width
|
|
273
|
+
*/
|
|
274
|
+
"maxWidth": boolean;
|
|
97
275
|
}
|
|
98
276
|
interface PDropdownMenuItem {
|
|
99
277
|
/**
|
|
100
278
|
* Wether the dropdown menu item is active
|
|
101
279
|
*/
|
|
102
280
|
"active": boolean;
|
|
281
|
+
/**
|
|
282
|
+
* Wether to enable the hover state
|
|
283
|
+
*/
|
|
284
|
+
"enableHover": boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Icon of the navigation item
|
|
287
|
+
*/
|
|
288
|
+
"icon": IconVariant;
|
|
103
289
|
}
|
|
104
290
|
interface PHelper {
|
|
291
|
+
/**
|
|
292
|
+
* The placement of the helper popover
|
|
293
|
+
*/
|
|
294
|
+
"placement": Placement;
|
|
105
295
|
}
|
|
106
296
|
interface PIcon {
|
|
107
297
|
/**
|
|
@@ -111,11 +301,11 @@ export namespace Components {
|
|
|
111
301
|
/**
|
|
112
302
|
* Wether to rotate the icon x degrees
|
|
113
303
|
*/
|
|
114
|
-
"rotate":
|
|
304
|
+
"rotate": RotateOptions;
|
|
115
305
|
/**
|
|
116
306
|
* The size of the icon, using tailwind sizes
|
|
117
307
|
*/
|
|
118
|
-
"size":
|
|
308
|
+
"size": TextSizeOptions;
|
|
119
309
|
/**
|
|
120
310
|
* The icon the be displayed
|
|
121
311
|
*/
|
|
@@ -145,6 +335,103 @@ export namespace Components {
|
|
|
145
335
|
*/
|
|
146
336
|
"variant": 'info' | 'negative' | 'positive' | 'unbiased';
|
|
147
337
|
}
|
|
338
|
+
interface PInputGroup {
|
|
339
|
+
/**
|
|
340
|
+
* Wether the input group is disabled
|
|
341
|
+
*/
|
|
342
|
+
"disabled": boolean;
|
|
343
|
+
/**
|
|
344
|
+
* The helper of the input group
|
|
345
|
+
*/
|
|
346
|
+
"error": string;
|
|
347
|
+
/**
|
|
348
|
+
* Wether the input group is focused
|
|
349
|
+
*/
|
|
350
|
+
"focused": boolean;
|
|
351
|
+
/**
|
|
352
|
+
* The helper of the input group
|
|
353
|
+
*/
|
|
354
|
+
"helper": string;
|
|
355
|
+
/**
|
|
356
|
+
* Icon of the navigation item
|
|
357
|
+
*/
|
|
358
|
+
"icon": IconVariant;
|
|
359
|
+
/**
|
|
360
|
+
* Icon flip
|
|
361
|
+
*/
|
|
362
|
+
"iconFlip": IconFlipOptions;
|
|
363
|
+
/**
|
|
364
|
+
* Icon position
|
|
365
|
+
*/
|
|
366
|
+
"iconPosition": 'start' | 'end';
|
|
367
|
+
/**
|
|
368
|
+
* Icon rotate
|
|
369
|
+
*/
|
|
370
|
+
"iconRotate": RotateOptions;
|
|
371
|
+
/**
|
|
372
|
+
* The label of the input group
|
|
373
|
+
*/
|
|
374
|
+
"label": string;
|
|
375
|
+
/**
|
|
376
|
+
* The prefix of the input group
|
|
377
|
+
*/
|
|
378
|
+
"prefix": string;
|
|
379
|
+
/**
|
|
380
|
+
* Wether the field is required
|
|
381
|
+
*/
|
|
382
|
+
"required": boolean;
|
|
383
|
+
/**
|
|
384
|
+
* The size of the input group
|
|
385
|
+
*/
|
|
386
|
+
"size": 'small' | 'medium';
|
|
387
|
+
/**
|
|
388
|
+
* The suffix of the input group
|
|
389
|
+
*/
|
|
390
|
+
"suffix": string;
|
|
391
|
+
}
|
|
392
|
+
interface PLabel {
|
|
393
|
+
/**
|
|
394
|
+
* Define the behavior of the label
|
|
395
|
+
*/
|
|
396
|
+
"behavior": | 'icon'
|
|
397
|
+
| 'circle'
|
|
398
|
+
| 'combination'
|
|
399
|
+
| 'text'
|
|
400
|
+
| 'icon-only';
|
|
401
|
+
/**
|
|
402
|
+
* Icon to show on the label
|
|
403
|
+
*/
|
|
404
|
+
"icon": IconVariant;
|
|
405
|
+
/**
|
|
406
|
+
* Icon flip
|
|
407
|
+
*/
|
|
408
|
+
"iconFlip": IconFlipOptions;
|
|
409
|
+
/**
|
|
410
|
+
* Icon rotate
|
|
411
|
+
*/
|
|
412
|
+
"iconRotate": RotateOptions1;
|
|
413
|
+
/**
|
|
414
|
+
* Wether to keep the content on mobile
|
|
415
|
+
*/
|
|
416
|
+
"keepMobileContent": boolean;
|
|
417
|
+
/**
|
|
418
|
+
* The size of the label
|
|
419
|
+
*/
|
|
420
|
+
"size": 'small' | 'default';
|
|
421
|
+
/**
|
|
422
|
+
* Variant of the label
|
|
423
|
+
*/
|
|
424
|
+
"variant": | 'positive'
|
|
425
|
+
| 'unbiased'
|
|
426
|
+
| 'negative'
|
|
427
|
+
| 'info';
|
|
428
|
+
}
|
|
429
|
+
interface PLayout {
|
|
430
|
+
/**
|
|
431
|
+
* Variant of the layout
|
|
432
|
+
*/
|
|
433
|
+
"variant": 'default' | 'login';
|
|
434
|
+
}
|
|
148
435
|
interface PLoader {
|
|
149
436
|
/**
|
|
150
437
|
* Color of the loader
|
|
@@ -165,7 +452,83 @@ export namespace Components {
|
|
|
165
452
|
/**
|
|
166
453
|
* Variant of loader
|
|
167
454
|
*/
|
|
168
|
-
"variant":
|
|
455
|
+
"variant": | 'inline'
|
|
456
|
+
| 'full-width'
|
|
457
|
+
| 'full-screen'
|
|
458
|
+
| 'modal'
|
|
459
|
+
| 'ghost';
|
|
460
|
+
}
|
|
461
|
+
interface PModal {
|
|
462
|
+
/**
|
|
463
|
+
* Wether to apply blur to the backdrop
|
|
464
|
+
*/
|
|
465
|
+
"applyBlur": boolean;
|
|
466
|
+
/**
|
|
467
|
+
* Wether to hide the modal when the backdrop is clicked
|
|
468
|
+
*/
|
|
469
|
+
"backdropClickClose": boolean;
|
|
470
|
+
/**
|
|
471
|
+
* The Header of the modal
|
|
472
|
+
*/
|
|
473
|
+
"header"?: string;
|
|
474
|
+
/**
|
|
475
|
+
* Wether to show the modal or not
|
|
476
|
+
*/
|
|
477
|
+
"show": boolean;
|
|
478
|
+
/**
|
|
479
|
+
* Wether to show the close on mobile in the header
|
|
480
|
+
*/
|
|
481
|
+
"showMobileClose": boolean;
|
|
482
|
+
/**
|
|
483
|
+
* Wether to show the footer on mobile
|
|
484
|
+
*/
|
|
485
|
+
"showMobileFooter": boolean;
|
|
486
|
+
/**
|
|
487
|
+
* The size of the modal container
|
|
488
|
+
*/
|
|
489
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
490
|
+
/**
|
|
491
|
+
* The variant of the modal body
|
|
492
|
+
*/
|
|
493
|
+
"variant": 'default' | 'table';
|
|
494
|
+
}
|
|
495
|
+
interface PModalBody {
|
|
496
|
+
/**
|
|
497
|
+
* Wether the modal body should be rounded at the bottom
|
|
498
|
+
*/
|
|
499
|
+
"rounded": boolean;
|
|
500
|
+
/**
|
|
501
|
+
* The variant of the modal body
|
|
502
|
+
*/
|
|
503
|
+
"variant": 'default' | 'table';
|
|
504
|
+
}
|
|
505
|
+
interface PModalContainer {
|
|
506
|
+
/**
|
|
507
|
+
* Wether the container is closing
|
|
508
|
+
*/
|
|
509
|
+
"closing": boolean;
|
|
510
|
+
/**
|
|
511
|
+
* The size of the modal container
|
|
512
|
+
*/
|
|
513
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
514
|
+
}
|
|
515
|
+
interface PModalFooter {
|
|
516
|
+
}
|
|
517
|
+
interface PModalHeader {
|
|
518
|
+
/**
|
|
519
|
+
* Wether to show the close button on mobile
|
|
520
|
+
*/
|
|
521
|
+
"showClose": boolean;
|
|
522
|
+
}
|
|
523
|
+
interface PNavbar {
|
|
524
|
+
/**
|
|
525
|
+
* The text to display for the close button
|
|
526
|
+
*/
|
|
527
|
+
"closeText": string;
|
|
528
|
+
/**
|
|
529
|
+
* The text to display for the menu button & sidebar title
|
|
530
|
+
*/
|
|
531
|
+
"menuText": string;
|
|
169
532
|
}
|
|
170
533
|
interface PNavigationItem {
|
|
171
534
|
/**
|
|
@@ -189,7 +552,41 @@ export namespace Components {
|
|
|
189
552
|
*/
|
|
190
553
|
"target": string;
|
|
191
554
|
}
|
|
555
|
+
interface PPageSizeSelect {
|
|
556
|
+
/**
|
|
557
|
+
* The size of the button
|
|
558
|
+
*/
|
|
559
|
+
"buttonSize": 'small' | 'medium';
|
|
560
|
+
/**
|
|
561
|
+
* The template for the data view
|
|
562
|
+
*/
|
|
563
|
+
"buttonTemplate": templateFunc;
|
|
564
|
+
/**
|
|
565
|
+
* Chevron position
|
|
566
|
+
*/
|
|
567
|
+
"chevronPosition": 'start' | 'end';
|
|
568
|
+
/**
|
|
569
|
+
* Wether to hide when there is only 1 page available
|
|
570
|
+
*/
|
|
571
|
+
"hidden": boolean;
|
|
572
|
+
/**
|
|
573
|
+
* The template for the data view
|
|
574
|
+
*/
|
|
575
|
+
"itemTemplate": templateFunc;
|
|
576
|
+
/**
|
|
577
|
+
* The current page
|
|
578
|
+
*/
|
|
579
|
+
"size": number;
|
|
580
|
+
/**
|
|
581
|
+
* The available sizes
|
|
582
|
+
*/
|
|
583
|
+
"sizeOptions": number[];
|
|
584
|
+
}
|
|
192
585
|
interface PPagination {
|
|
586
|
+
/**
|
|
587
|
+
* Wether to hide when there is only 1 page available
|
|
588
|
+
*/
|
|
589
|
+
"hideOnSinglePage": boolean;
|
|
193
590
|
/**
|
|
194
591
|
* The current page
|
|
195
592
|
*/
|
|
@@ -209,6 +606,16 @@ export namespace Components {
|
|
|
209
606
|
*/
|
|
210
607
|
"active": boolean;
|
|
211
608
|
}
|
|
609
|
+
interface PProfile {
|
|
610
|
+
/**
|
|
611
|
+
* The size of the profile avatar
|
|
612
|
+
*/
|
|
613
|
+
"size": 'small' | 'medium' | 'large';
|
|
614
|
+
/**
|
|
615
|
+
* The variant of the profile
|
|
616
|
+
*/
|
|
617
|
+
"variant": 'company' | 'user';
|
|
618
|
+
}
|
|
212
619
|
interface PSegmentContainer {
|
|
213
620
|
}
|
|
214
621
|
interface PSegmentItem {
|
|
@@ -227,387 +634,2056 @@ export namespace Components {
|
|
|
227
634
|
/**
|
|
228
635
|
* Icon rotate
|
|
229
636
|
*/
|
|
230
|
-
"iconRotate":
|
|
637
|
+
"iconRotate": RotateOptions;
|
|
231
638
|
}
|
|
232
|
-
interface
|
|
639
|
+
interface PSelect {
|
|
233
640
|
/**
|
|
234
|
-
*
|
|
641
|
+
* Wether the input uses async filtering
|
|
235
642
|
*/
|
|
236
|
-
"
|
|
643
|
+
"asyncFilter": boolean;
|
|
237
644
|
/**
|
|
238
|
-
*
|
|
645
|
+
* Wether to automatically select the first item
|
|
239
646
|
*/
|
|
240
|
-
"
|
|
647
|
+
"autoSelectFirst": boolean;
|
|
241
648
|
/**
|
|
242
|
-
*
|
|
649
|
+
* The placeholder of the input when auto completing
|
|
243
650
|
*/
|
|
244
|
-
"
|
|
651
|
+
"autocompletePlaceholder": string;
|
|
245
652
|
/**
|
|
246
|
-
*
|
|
653
|
+
* Wether the input group is disabled used by the select
|
|
247
654
|
*/
|
|
248
|
-
"
|
|
249
|
-
}
|
|
250
|
-
interface PTooltip {
|
|
655
|
+
"disabled": boolean;
|
|
251
656
|
/**
|
|
252
|
-
*
|
|
657
|
+
* The key of the object to display
|
|
253
658
|
*/
|
|
254
|
-
"
|
|
659
|
+
"displayKey": string;
|
|
255
660
|
/**
|
|
256
|
-
*
|
|
661
|
+
* Wether to enable autocomplete
|
|
257
662
|
*/
|
|
258
|
-
"
|
|
663
|
+
"enableAutocomplete": boolean;
|
|
259
664
|
/**
|
|
260
|
-
* The
|
|
665
|
+
* The helper of the input group used by the select
|
|
261
666
|
*/
|
|
262
|
-
"
|
|
667
|
+
"error": string;
|
|
263
668
|
/**
|
|
264
|
-
*
|
|
669
|
+
* The helper of the input group used by the select
|
|
265
670
|
*/
|
|
266
|
-
"
|
|
671
|
+
"helper": string;
|
|
267
672
|
/**
|
|
268
|
-
* The
|
|
673
|
+
* The items to show in the dropdown
|
|
269
674
|
*/
|
|
270
|
-
"
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
675
|
+
"items": string | any[];
|
|
676
|
+
/**
|
|
677
|
+
* The label of the input group used by the select
|
|
678
|
+
*/
|
|
679
|
+
"label": string;
|
|
680
|
+
/**
|
|
681
|
+
* Wether to show loading items
|
|
682
|
+
*/
|
|
683
|
+
"loading": boolean;
|
|
684
|
+
/**
|
|
685
|
+
* The maximum amount of items to display
|
|
686
|
+
*/
|
|
687
|
+
"maxDisplayedItems": number;
|
|
688
|
+
/**
|
|
689
|
+
* The placeholder of the input
|
|
690
|
+
*/
|
|
691
|
+
"placeholder": string;
|
|
692
|
+
/**
|
|
693
|
+
* The prefix of the input group used by the select
|
|
694
|
+
*/
|
|
695
|
+
"prefix": string;
|
|
696
|
+
/**
|
|
697
|
+
* The current query
|
|
698
|
+
*/
|
|
699
|
+
"query": string;
|
|
700
|
+
/**
|
|
701
|
+
* The key of the object to display
|
|
702
|
+
*/
|
|
703
|
+
"queryKey"?: string;
|
|
704
|
+
/**
|
|
705
|
+
* The size of the input group used by the select
|
|
706
|
+
*/
|
|
707
|
+
"size": 'small' | 'medium';
|
|
708
|
+
/**
|
|
709
|
+
* The current value
|
|
710
|
+
*/
|
|
711
|
+
"value": any;
|
|
712
|
+
/**
|
|
713
|
+
* The key of the object to return
|
|
714
|
+
*/
|
|
715
|
+
"valueKey": string;
|
|
716
|
+
}
|
|
717
|
+
interface PSliderIndicator {
|
|
718
|
+
/**
|
|
719
|
+
* Wether the slider indicator is active
|
|
720
|
+
*/
|
|
721
|
+
"active": boolean;
|
|
722
|
+
}
|
|
723
|
+
interface PStatus {
|
|
724
|
+
/**
|
|
725
|
+
* Icon to show on the status
|
|
726
|
+
*/
|
|
727
|
+
"icon": IconVariant;
|
|
728
|
+
/**
|
|
729
|
+
* Icon flip
|
|
730
|
+
*/
|
|
731
|
+
"iconFlip": IconFlipOptions;
|
|
732
|
+
/**
|
|
733
|
+
* Icon rotate
|
|
734
|
+
*/
|
|
735
|
+
"iconRotate": RotateOptions;
|
|
736
|
+
/**
|
|
737
|
+
* The variant of the status
|
|
738
|
+
*/
|
|
739
|
+
"variant": 'default' | 'positive' | 'unbiased' | 'negative';
|
|
740
|
+
}
|
|
741
|
+
interface PStepper {
|
|
742
|
+
/**
|
|
743
|
+
* The currently active step
|
|
744
|
+
*/
|
|
745
|
+
"activeStep": number;
|
|
746
|
+
/**
|
|
747
|
+
* The direction of the stepper
|
|
748
|
+
*/
|
|
749
|
+
"direction": 'horizontal' | 'vertical';
|
|
750
|
+
}
|
|
751
|
+
interface PStepperItem {
|
|
752
|
+
/**
|
|
753
|
+
* Wether the step is active
|
|
754
|
+
*/
|
|
755
|
+
"active": boolean;
|
|
756
|
+
/**
|
|
757
|
+
* The alignment of the step content
|
|
758
|
+
*/
|
|
759
|
+
"align": 'start' | 'center' | 'end';
|
|
760
|
+
/**
|
|
761
|
+
* The direction of the stepper step
|
|
762
|
+
*/
|
|
763
|
+
"direction": 'horizontal' | 'vertical';
|
|
764
|
+
/**
|
|
765
|
+
* Wether the step is finished
|
|
766
|
+
*/
|
|
767
|
+
"finished": boolean;
|
|
768
|
+
}
|
|
769
|
+
interface PStepperLine {
|
|
770
|
+
/**
|
|
771
|
+
* Wether the line is active
|
|
772
|
+
*/
|
|
773
|
+
"active": boolean;
|
|
774
|
+
/**
|
|
775
|
+
* The direction of the stepper line
|
|
776
|
+
*/
|
|
777
|
+
"direction": 'horizontal' | 'vertical';
|
|
778
|
+
}
|
|
779
|
+
interface PTabGroup {
|
|
780
|
+
}
|
|
781
|
+
interface PTabItem {
|
|
782
|
+
/**
|
|
783
|
+
* Wether the tab item is active
|
|
784
|
+
*/
|
|
785
|
+
"active": boolean;
|
|
786
|
+
}
|
|
787
|
+
interface PTable {
|
|
788
|
+
/**
|
|
789
|
+
* Active quick filter identifier
|
|
790
|
+
*/
|
|
791
|
+
"activeQuickFilterIdentifier": string;
|
|
792
|
+
/**
|
|
793
|
+
* The amount of loading rows to show
|
|
794
|
+
*/
|
|
795
|
+
"amountOfLoadingRows": number;
|
|
796
|
+
/**
|
|
797
|
+
* A key to determine if a row can be selected
|
|
798
|
+
*/
|
|
799
|
+
"canSelectKey": string;
|
|
800
|
+
/**
|
|
801
|
+
* The template for the edit button text
|
|
802
|
+
*/
|
|
803
|
+
"editButtonTemplate": buttonTemplateFunc;
|
|
804
|
+
"emptyStateAction": templateFunc;
|
|
805
|
+
"emptyStateContent": templateFunc;
|
|
806
|
+
"emptyStateFilteredContent": templateFunc;
|
|
807
|
+
"emptyStateFilteredHeader": templateFunc;
|
|
808
|
+
"emptyStateHeader": templateFunc;
|
|
809
|
+
/**
|
|
810
|
+
* Wether to show the edit button
|
|
811
|
+
*/
|
|
812
|
+
"enableEdit": boolean;
|
|
813
|
+
/**
|
|
814
|
+
* Wether to enable export
|
|
815
|
+
*/
|
|
816
|
+
"enableExport": boolean;
|
|
817
|
+
/**
|
|
818
|
+
* Wether to show the filter button
|
|
819
|
+
*/
|
|
820
|
+
"enableFilter": boolean;
|
|
821
|
+
/**
|
|
822
|
+
* Wether to enable page size select
|
|
823
|
+
*/
|
|
824
|
+
"enablePageSize": boolean;
|
|
825
|
+
/**
|
|
826
|
+
* Wether to enable pagination
|
|
827
|
+
*/
|
|
828
|
+
"enablePagination": boolean;
|
|
829
|
+
/**
|
|
830
|
+
* Wether to enable row clicking
|
|
831
|
+
*/
|
|
832
|
+
"enableRowClick": boolean;
|
|
833
|
+
/**
|
|
834
|
+
* Wether to enable selection
|
|
835
|
+
*/
|
|
836
|
+
"enableRowSelection": boolean;
|
|
837
|
+
/**
|
|
838
|
+
* Wether to show the search input
|
|
839
|
+
*/
|
|
840
|
+
"enableSearch": boolean;
|
|
841
|
+
/**
|
|
842
|
+
* The template for the filter button text
|
|
843
|
+
*/
|
|
844
|
+
"filterButtonTemplate": templateFunc;
|
|
845
|
+
/**
|
|
846
|
+
* Wether the footer should show loading state
|
|
847
|
+
*/
|
|
848
|
+
"footerLoading": boolean;
|
|
849
|
+
/**
|
|
850
|
+
* Wether the header should show loading state
|
|
851
|
+
*/
|
|
852
|
+
"headerLoading": boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Wether to hide when there is only 1 page available
|
|
855
|
+
*/
|
|
856
|
+
"hideOnSinglePage": boolean;
|
|
857
|
+
/**
|
|
858
|
+
* The items to be fed to the table
|
|
859
|
+
*/
|
|
860
|
+
"items": string;
|
|
861
|
+
/**
|
|
862
|
+
* Wether data is loading
|
|
863
|
+
*/
|
|
864
|
+
"loading": boolean;
|
|
865
|
+
/**
|
|
866
|
+
* The current page
|
|
867
|
+
*/
|
|
868
|
+
"page": number;
|
|
869
|
+
/**
|
|
870
|
+
* The amount of items per page
|
|
871
|
+
*/
|
|
872
|
+
"pageSize": number;
|
|
873
|
+
/**
|
|
874
|
+
* The options for the page size
|
|
875
|
+
*/
|
|
876
|
+
"pageSizeOptions": number[];
|
|
877
|
+
/**
|
|
878
|
+
* The query to show in the search bar
|
|
879
|
+
*/
|
|
880
|
+
"query": string;
|
|
881
|
+
/**
|
|
882
|
+
* Quick filters to show
|
|
883
|
+
*/
|
|
884
|
+
"quickFilters": QuickFilter[];
|
|
885
|
+
/**
|
|
886
|
+
* The amount of filters being selected
|
|
887
|
+
*/
|
|
888
|
+
"selectedFiltersAmount": number;
|
|
889
|
+
/**
|
|
890
|
+
* The current selection of items
|
|
891
|
+
*/
|
|
892
|
+
"selectedRows": any[];
|
|
893
|
+
/**
|
|
894
|
+
* The key to determine if a row is selected
|
|
895
|
+
*/
|
|
896
|
+
"selectionKey": string;
|
|
897
|
+
/**
|
|
898
|
+
* The total amount of items
|
|
899
|
+
*/
|
|
900
|
+
"total": number;
|
|
901
|
+
}
|
|
902
|
+
interface PTableCell {
|
|
903
|
+
/**
|
|
904
|
+
* The checkbox to show
|
|
905
|
+
*/
|
|
906
|
+
"checkbox": any;
|
|
907
|
+
/**
|
|
908
|
+
* The definition of the table column
|
|
909
|
+
*/
|
|
910
|
+
"definition"?: TableColumn;
|
|
911
|
+
/**
|
|
912
|
+
* The index of the column
|
|
913
|
+
*/
|
|
914
|
+
"index": number;
|
|
915
|
+
/**
|
|
916
|
+
* The item in question
|
|
917
|
+
*/
|
|
918
|
+
"item": any;
|
|
919
|
+
/**
|
|
920
|
+
* The index of the row
|
|
921
|
+
*/
|
|
922
|
+
"rowIndex": number;
|
|
923
|
+
/**
|
|
924
|
+
* The template to show
|
|
925
|
+
*/
|
|
926
|
+
"template": TableDefinitionTemplateFunc;
|
|
927
|
+
/**
|
|
928
|
+
* The value of the column
|
|
929
|
+
*/
|
|
930
|
+
"value": any;
|
|
931
|
+
/**
|
|
932
|
+
* The variant of the column
|
|
933
|
+
*/
|
|
934
|
+
"variant": 'default' | 'loading' | 'header';
|
|
935
|
+
}
|
|
936
|
+
interface PTableColumn {
|
|
937
|
+
/**
|
|
938
|
+
* The alignment of the column
|
|
939
|
+
*/
|
|
940
|
+
"align": 'start' | 'center' | 'end';
|
|
941
|
+
/**
|
|
942
|
+
* The name of the column
|
|
943
|
+
*/
|
|
944
|
+
"name": string;
|
|
945
|
+
/**
|
|
946
|
+
* The path of the value of the item you want to display
|
|
947
|
+
*/
|
|
948
|
+
"path": string;
|
|
949
|
+
/**
|
|
950
|
+
* The sizes of the column
|
|
951
|
+
*/
|
|
952
|
+
"sizes": 'auto' | number | TableColumnSizes;
|
|
953
|
+
/**
|
|
954
|
+
* The type of the column
|
|
955
|
+
*/
|
|
956
|
+
"type": 'td' | 'th';
|
|
957
|
+
/**
|
|
958
|
+
* Wether the column should use the slot
|
|
959
|
+
*/
|
|
960
|
+
"useSlot": boolean;
|
|
961
|
+
}
|
|
962
|
+
interface PTableContainer {
|
|
963
|
+
}
|
|
964
|
+
interface PTableFooter {
|
|
965
|
+
/**
|
|
966
|
+
* Wether to enable export
|
|
967
|
+
*/
|
|
968
|
+
"enableExport": boolean;
|
|
969
|
+
/**
|
|
970
|
+
* Wether to enable page size select
|
|
971
|
+
*/
|
|
972
|
+
"enablePageSize": boolean;
|
|
973
|
+
/**
|
|
974
|
+
* Wether to enable pagination
|
|
975
|
+
*/
|
|
976
|
+
"enablePagination": boolean;
|
|
977
|
+
/**
|
|
978
|
+
* Wether to hide when there is only 1 page available
|
|
979
|
+
*/
|
|
980
|
+
"hideOnSinglePage": boolean;
|
|
981
|
+
/**
|
|
982
|
+
* Wether we want to show loading state
|
|
983
|
+
*/
|
|
984
|
+
"loading": boolean;
|
|
985
|
+
/**
|
|
986
|
+
* The current page
|
|
987
|
+
*/
|
|
988
|
+
"page": number;
|
|
989
|
+
/**
|
|
990
|
+
* The amount of items per page
|
|
991
|
+
*/
|
|
992
|
+
"pageSize": number;
|
|
993
|
+
/**
|
|
994
|
+
* The options for the page size
|
|
995
|
+
*/
|
|
996
|
+
"pageSizeOptions": number[];
|
|
997
|
+
/**
|
|
998
|
+
* The total amount of items
|
|
999
|
+
*/
|
|
1000
|
+
"total": number;
|
|
1001
|
+
}
|
|
1002
|
+
interface PTableHeader {
|
|
1003
|
+
/**
|
|
1004
|
+
* Active quick filter identifier
|
|
1005
|
+
*/
|
|
1006
|
+
"activeQuickFilterIdentifier": string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Wether to enable the edit button
|
|
1009
|
+
*/
|
|
1010
|
+
"canEdit": boolean;
|
|
1011
|
+
/**
|
|
1012
|
+
* The template for the edit button text
|
|
1013
|
+
*/
|
|
1014
|
+
"editButtonTemplate": buttonTemplateFunc;
|
|
1015
|
+
/**
|
|
1016
|
+
* Wether to show the edit button
|
|
1017
|
+
*/
|
|
1018
|
+
"enableEdit": boolean;
|
|
1019
|
+
/**
|
|
1020
|
+
* Wether to show the filter button
|
|
1021
|
+
*/
|
|
1022
|
+
"enableFilter": boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* Wether to show the search input
|
|
1025
|
+
*/
|
|
1026
|
+
"enableSearch": boolean;
|
|
1027
|
+
/**
|
|
1028
|
+
* The template for the filter button text
|
|
1029
|
+
*/
|
|
1030
|
+
"filterButtonTemplate": templateFunc;
|
|
1031
|
+
/**
|
|
1032
|
+
* The amount of items that are selected
|
|
1033
|
+
*/
|
|
1034
|
+
"itemsSelectedAmount": number;
|
|
1035
|
+
/**
|
|
1036
|
+
* Wether we want to show loading state
|
|
1037
|
+
*/
|
|
1038
|
+
"loading": boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
* The query to show in the search bar
|
|
1041
|
+
*/
|
|
1042
|
+
"query": string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Quick filters to show
|
|
1045
|
+
*/
|
|
1046
|
+
"quickFilters": QuickFilter[];
|
|
1047
|
+
/**
|
|
1048
|
+
* The amount of filters being selected
|
|
1049
|
+
*/
|
|
1050
|
+
"selectedFiltersAmount": number;
|
|
1051
|
+
}
|
|
1052
|
+
interface PTableRow {
|
|
1053
|
+
/**
|
|
1054
|
+
* Enable hover
|
|
1055
|
+
*/
|
|
1056
|
+
"enableHover": boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* Variant of the header
|
|
1059
|
+
*/
|
|
1060
|
+
"variant": 'default' | 'header';
|
|
1061
|
+
}
|
|
1062
|
+
interface PToast {
|
|
1063
|
+
/**
|
|
1064
|
+
* Icon to show on the button
|
|
1065
|
+
*/
|
|
1066
|
+
"actionIcon": IconVariant;
|
|
1067
|
+
/**
|
|
1068
|
+
* Icon flip
|
|
1069
|
+
*/
|
|
1070
|
+
"actionIconFlip": IconFlipOptions;
|
|
1071
|
+
/**
|
|
1072
|
+
* Icon rotate
|
|
1073
|
+
*/
|
|
1074
|
+
"actionIconRotate": RotateOptions1;
|
|
1075
|
+
/**
|
|
1076
|
+
* The content of the toast
|
|
1077
|
+
*/
|
|
1078
|
+
"content"?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* Wether to enable the close button
|
|
1081
|
+
*/
|
|
1082
|
+
"enableAction": boolean;
|
|
1083
|
+
/**
|
|
1084
|
+
* The header of the toast
|
|
1085
|
+
*/
|
|
1086
|
+
"header"?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* The variant of the toast
|
|
1089
|
+
*/
|
|
1090
|
+
"variant": 'positive' | 'unbiased' | 'negative';
|
|
1091
|
+
}
|
|
1092
|
+
interface PToastContainer {
|
|
1093
|
+
/**
|
|
1094
|
+
* The placement of the container
|
|
1095
|
+
*/
|
|
1096
|
+
"placement": 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
1097
|
+
}
|
|
1098
|
+
interface PTooltip {
|
|
1099
|
+
/**
|
|
1100
|
+
* Wether to someone can manually close the popover
|
|
1101
|
+
*/
|
|
1102
|
+
"canManuallyClose": boolean;
|
|
1103
|
+
/**
|
|
1104
|
+
* The placement of the popover
|
|
1105
|
+
*/
|
|
1106
|
+
"placement": Placement;
|
|
1107
|
+
/**
|
|
1108
|
+
* The content of the popover
|
|
1109
|
+
*/
|
|
1110
|
+
"popover": any;
|
|
1111
|
+
/**
|
|
1112
|
+
* Wether to show the popover
|
|
1113
|
+
*/
|
|
1114
|
+
"show": boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* The strategy of the popover placement
|
|
1117
|
+
*/
|
|
1118
|
+
"strategy": PositioningStrategy;
|
|
1119
|
+
/**
|
|
1120
|
+
* The variant of the popover
|
|
1121
|
+
*/
|
|
1122
|
+
"variant": 'hover' | 'click' | 'error';
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
export interface PAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
1126
|
+
detail: T;
|
|
1127
|
+
target: HTMLPAccordionElement;
|
|
1128
|
+
}
|
|
1129
|
+
export interface PBackdropCustomEvent<T> extends CustomEvent<T> {
|
|
1130
|
+
detail: T;
|
|
1131
|
+
target: HTMLPBackdropElement;
|
|
1132
|
+
}
|
|
1133
|
+
export interface PButtonCustomEvent<T> extends CustomEvent<T> {
|
|
1134
|
+
detail: T;
|
|
1135
|
+
target: HTMLPButtonElement;
|
|
1136
|
+
}
|
|
1137
|
+
export interface PDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
1138
|
+
detail: T;
|
|
1139
|
+
target: HTMLPDrawerElement;
|
|
1140
|
+
}
|
|
1141
|
+
export interface PDrawerHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
1142
|
+
detail: T;
|
|
1143
|
+
target: HTMLPDrawerHeaderElement;
|
|
1144
|
+
}
|
|
1145
|
+
export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
1146
|
+
detail: T;
|
|
1147
|
+
target: HTMLPDropdownElement;
|
|
1148
|
+
}
|
|
1149
|
+
export interface PModalCustomEvent<T> extends CustomEvent<T> {
|
|
1150
|
+
detail: T;
|
|
1151
|
+
target: HTMLPModalElement;
|
|
1152
|
+
}
|
|
1153
|
+
export interface PModalHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
1154
|
+
detail: T;
|
|
1155
|
+
target: HTMLPModalHeaderElement;
|
|
1156
|
+
}
|
|
1157
|
+
export interface PPageSizeSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1158
|
+
detail: T;
|
|
1159
|
+
target: HTMLPPageSizeSelectElement;
|
|
1160
|
+
}
|
|
1161
|
+
export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
1162
|
+
detail: T;
|
|
283
1163
|
target: HTMLPPaginationElement;
|
|
284
1164
|
}
|
|
285
|
-
|
|
286
|
-
|
|
1165
|
+
export interface PSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1166
|
+
detail: T;
|
|
1167
|
+
target: HTMLPSelectElement;
|
|
1168
|
+
}
|
|
1169
|
+
export interface PTableCustomEvent<T> extends CustomEvent<T> {
|
|
1170
|
+
detail: T;
|
|
1171
|
+
target: HTMLPTableElement;
|
|
1172
|
+
}
|
|
1173
|
+
export interface PTableColumnCustomEvent<T> extends CustomEvent<T> {
|
|
1174
|
+
detail: T;
|
|
1175
|
+
target: HTMLPTableColumnElement;
|
|
1176
|
+
}
|
|
1177
|
+
export interface PTableFooterCustomEvent<T> extends CustomEvent<T> {
|
|
1178
|
+
detail: T;
|
|
1179
|
+
target: HTMLPTableFooterElement;
|
|
1180
|
+
}
|
|
1181
|
+
export interface PTableHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
1182
|
+
detail: T;
|
|
1183
|
+
target: HTMLPTableHeaderElement;
|
|
1184
|
+
}
|
|
1185
|
+
export interface PToastCustomEvent<T> extends CustomEvent<T> {
|
|
1186
|
+
detail: T;
|
|
1187
|
+
target: HTMLPToastElement;
|
|
1188
|
+
}
|
|
1189
|
+
export interface PTooltipCustomEvent<T> extends CustomEvent<T> {
|
|
1190
|
+
detail: T;
|
|
1191
|
+
target: HTMLPTooltipElement;
|
|
1192
|
+
}
|
|
1193
|
+
declare global {
|
|
1194
|
+
interface HTMLPAccordionElement extends Components.PAccordion, HTMLStencilElement {
|
|
1195
|
+
}
|
|
1196
|
+
var HTMLPAccordionElement: {
|
|
1197
|
+
prototype: HTMLPAccordionElement;
|
|
1198
|
+
new (): HTMLPAccordionElement;
|
|
1199
|
+
};
|
|
1200
|
+
interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
|
|
1201
|
+
}
|
|
1202
|
+
var HTMLPAvatarElement: {
|
|
1203
|
+
prototype: HTMLPAvatarElement;
|
|
1204
|
+
new (): HTMLPAvatarElement;
|
|
1205
|
+
};
|
|
1206
|
+
interface HTMLPAvatarGroupElement extends Components.PAvatarGroup, HTMLStencilElement {
|
|
1207
|
+
}
|
|
1208
|
+
var HTMLPAvatarGroupElement: {
|
|
1209
|
+
prototype: HTMLPAvatarGroupElement;
|
|
1210
|
+
new (): HTMLPAvatarGroupElement;
|
|
1211
|
+
};
|
|
1212
|
+
interface HTMLPBackdropElement extends Components.PBackdrop, HTMLStencilElement {
|
|
1213
|
+
}
|
|
1214
|
+
var HTMLPBackdropElement: {
|
|
1215
|
+
prototype: HTMLPBackdropElement;
|
|
1216
|
+
new (): HTMLPBackdropElement;
|
|
1217
|
+
};
|
|
1218
|
+
interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
|
|
1219
|
+
}
|
|
1220
|
+
var HTMLPButtonElement: {
|
|
1221
|
+
prototype: HTMLPButtonElement;
|
|
1222
|
+
new (): HTMLPButtonElement;
|
|
1223
|
+
};
|
|
1224
|
+
interface HTMLPCardBodyElement extends Components.PCardBody, HTMLStencilElement {
|
|
1225
|
+
}
|
|
1226
|
+
var HTMLPCardBodyElement: {
|
|
1227
|
+
prototype: HTMLPCardBodyElement;
|
|
1228
|
+
new (): HTMLPCardBodyElement;
|
|
1229
|
+
};
|
|
1230
|
+
interface HTMLPCardContainerElement extends Components.PCardContainer, HTMLStencilElement {
|
|
1231
|
+
}
|
|
1232
|
+
var HTMLPCardContainerElement: {
|
|
1233
|
+
prototype: HTMLPCardContainerElement;
|
|
1234
|
+
new (): HTMLPCardContainerElement;
|
|
1235
|
+
};
|
|
1236
|
+
interface HTMLPCardHeaderElement extends Components.PCardHeader, HTMLStencilElement {
|
|
1237
|
+
}
|
|
1238
|
+
var HTMLPCardHeaderElement: {
|
|
1239
|
+
prototype: HTMLPCardHeaderElement;
|
|
1240
|
+
new (): HTMLPCardHeaderElement;
|
|
1241
|
+
};
|
|
1242
|
+
interface HTMLPContentSliderElement extends Components.PContentSlider, HTMLStencilElement {
|
|
1243
|
+
}
|
|
1244
|
+
var HTMLPContentSliderElement: {
|
|
1245
|
+
prototype: HTMLPContentSliderElement;
|
|
1246
|
+
new (): HTMLPContentSliderElement;
|
|
1247
|
+
};
|
|
1248
|
+
interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
|
|
1249
|
+
}
|
|
1250
|
+
var HTMLPCounterElement: {
|
|
1251
|
+
prototype: HTMLPCounterElement;
|
|
1252
|
+
new (): HTMLPCounterElement;
|
|
1253
|
+
};
|
|
1254
|
+
interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
|
|
1255
|
+
}
|
|
1256
|
+
var HTMLPDividerElement: {
|
|
1257
|
+
prototype: HTMLPDividerElement;
|
|
1258
|
+
new (): HTMLPDividerElement;
|
|
1259
|
+
};
|
|
1260
|
+
interface HTMLPDrawerElement extends Components.PDrawer, HTMLStencilElement {
|
|
1261
|
+
}
|
|
1262
|
+
var HTMLPDrawerElement: {
|
|
1263
|
+
prototype: HTMLPDrawerElement;
|
|
1264
|
+
new (): HTMLPDrawerElement;
|
|
1265
|
+
};
|
|
1266
|
+
interface HTMLPDrawerBodyElement extends Components.PDrawerBody, HTMLStencilElement {
|
|
1267
|
+
}
|
|
1268
|
+
var HTMLPDrawerBodyElement: {
|
|
1269
|
+
prototype: HTMLPDrawerBodyElement;
|
|
1270
|
+
new (): HTMLPDrawerBodyElement;
|
|
1271
|
+
};
|
|
1272
|
+
interface HTMLPDrawerContainerElement extends Components.PDrawerContainer, HTMLStencilElement {
|
|
1273
|
+
}
|
|
1274
|
+
var HTMLPDrawerContainerElement: {
|
|
1275
|
+
prototype: HTMLPDrawerContainerElement;
|
|
1276
|
+
new (): HTMLPDrawerContainerElement;
|
|
1277
|
+
};
|
|
1278
|
+
interface HTMLPDrawerHeaderElement extends Components.PDrawerHeader, HTMLStencilElement {
|
|
1279
|
+
}
|
|
1280
|
+
var HTMLPDrawerHeaderElement: {
|
|
1281
|
+
prototype: HTMLPDrawerHeaderElement;
|
|
1282
|
+
new (): HTMLPDrawerHeaderElement;
|
|
1283
|
+
};
|
|
1284
|
+
interface HTMLPDropdownElement extends Components.PDropdown, HTMLStencilElement {
|
|
1285
|
+
}
|
|
1286
|
+
var HTMLPDropdownElement: {
|
|
1287
|
+
prototype: HTMLPDropdownElement;
|
|
1288
|
+
new (): HTMLPDropdownElement;
|
|
1289
|
+
};
|
|
1290
|
+
interface HTMLPDropdownMenuContainerElement extends Components.PDropdownMenuContainer, HTMLStencilElement {
|
|
1291
|
+
}
|
|
1292
|
+
var HTMLPDropdownMenuContainerElement: {
|
|
1293
|
+
prototype: HTMLPDropdownMenuContainerElement;
|
|
1294
|
+
new (): HTMLPDropdownMenuContainerElement;
|
|
1295
|
+
};
|
|
1296
|
+
interface HTMLPDropdownMenuItemElement extends Components.PDropdownMenuItem, HTMLStencilElement {
|
|
1297
|
+
}
|
|
1298
|
+
var HTMLPDropdownMenuItemElement: {
|
|
1299
|
+
prototype: HTMLPDropdownMenuItemElement;
|
|
1300
|
+
new (): HTMLPDropdownMenuItemElement;
|
|
1301
|
+
};
|
|
1302
|
+
interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
|
|
1303
|
+
}
|
|
1304
|
+
var HTMLPHelperElement: {
|
|
1305
|
+
prototype: HTMLPHelperElement;
|
|
1306
|
+
new (): HTMLPHelperElement;
|
|
1307
|
+
};
|
|
1308
|
+
interface HTMLPIconElement extends Components.PIcon, HTMLStencilElement {
|
|
1309
|
+
}
|
|
1310
|
+
var HTMLPIconElement: {
|
|
1311
|
+
prototype: HTMLPIconElement;
|
|
1312
|
+
new (): HTMLPIconElement;
|
|
1313
|
+
};
|
|
1314
|
+
interface HTMLPIllustrationElement extends Components.PIllustration, HTMLStencilElement {
|
|
1315
|
+
}
|
|
1316
|
+
var HTMLPIllustrationElement: {
|
|
1317
|
+
prototype: HTMLPIllustrationElement;
|
|
1318
|
+
new (): HTMLPIllustrationElement;
|
|
1319
|
+
};
|
|
1320
|
+
interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
|
|
1321
|
+
}
|
|
1322
|
+
var HTMLPInfoPanelElement: {
|
|
1323
|
+
prototype: HTMLPInfoPanelElement;
|
|
1324
|
+
new (): HTMLPInfoPanelElement;
|
|
1325
|
+
};
|
|
1326
|
+
interface HTMLPInputGroupElement extends Components.PInputGroup, HTMLStencilElement {
|
|
1327
|
+
}
|
|
1328
|
+
var HTMLPInputGroupElement: {
|
|
1329
|
+
prototype: HTMLPInputGroupElement;
|
|
1330
|
+
new (): HTMLPInputGroupElement;
|
|
1331
|
+
};
|
|
1332
|
+
interface HTMLPLabelElement extends Components.PLabel, HTMLStencilElement {
|
|
1333
|
+
}
|
|
1334
|
+
var HTMLPLabelElement: {
|
|
1335
|
+
prototype: HTMLPLabelElement;
|
|
1336
|
+
new (): HTMLPLabelElement;
|
|
1337
|
+
};
|
|
1338
|
+
interface HTMLPLayoutElement extends Components.PLayout, HTMLStencilElement {
|
|
1339
|
+
}
|
|
1340
|
+
var HTMLPLayoutElement: {
|
|
1341
|
+
prototype: HTMLPLayoutElement;
|
|
1342
|
+
new (): HTMLPLayoutElement;
|
|
1343
|
+
};
|
|
1344
|
+
interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
|
|
1345
|
+
}
|
|
1346
|
+
var HTMLPLoaderElement: {
|
|
1347
|
+
prototype: HTMLPLoaderElement;
|
|
1348
|
+
new (): HTMLPLoaderElement;
|
|
1349
|
+
};
|
|
1350
|
+
interface HTMLPModalElement extends Components.PModal, HTMLStencilElement {
|
|
1351
|
+
}
|
|
1352
|
+
var HTMLPModalElement: {
|
|
1353
|
+
prototype: HTMLPModalElement;
|
|
1354
|
+
new (): HTMLPModalElement;
|
|
1355
|
+
};
|
|
1356
|
+
interface HTMLPModalBodyElement extends Components.PModalBody, HTMLStencilElement {
|
|
1357
|
+
}
|
|
1358
|
+
var HTMLPModalBodyElement: {
|
|
1359
|
+
prototype: HTMLPModalBodyElement;
|
|
1360
|
+
new (): HTMLPModalBodyElement;
|
|
1361
|
+
};
|
|
1362
|
+
interface HTMLPModalContainerElement extends Components.PModalContainer, HTMLStencilElement {
|
|
1363
|
+
}
|
|
1364
|
+
var HTMLPModalContainerElement: {
|
|
1365
|
+
prototype: HTMLPModalContainerElement;
|
|
1366
|
+
new (): HTMLPModalContainerElement;
|
|
1367
|
+
};
|
|
1368
|
+
interface HTMLPModalFooterElement extends Components.PModalFooter, HTMLStencilElement {
|
|
1369
|
+
}
|
|
1370
|
+
var HTMLPModalFooterElement: {
|
|
1371
|
+
prototype: HTMLPModalFooterElement;
|
|
1372
|
+
new (): HTMLPModalFooterElement;
|
|
1373
|
+
};
|
|
1374
|
+
interface HTMLPModalHeaderElement extends Components.PModalHeader, HTMLStencilElement {
|
|
1375
|
+
}
|
|
1376
|
+
var HTMLPModalHeaderElement: {
|
|
1377
|
+
prototype: HTMLPModalHeaderElement;
|
|
1378
|
+
new (): HTMLPModalHeaderElement;
|
|
1379
|
+
};
|
|
1380
|
+
interface HTMLPNavbarElement extends Components.PNavbar, HTMLStencilElement {
|
|
1381
|
+
}
|
|
1382
|
+
var HTMLPNavbarElement: {
|
|
1383
|
+
prototype: HTMLPNavbarElement;
|
|
1384
|
+
new (): HTMLPNavbarElement;
|
|
1385
|
+
};
|
|
1386
|
+
interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
|
|
1387
|
+
}
|
|
1388
|
+
var HTMLPNavigationItemElement: {
|
|
1389
|
+
prototype: HTMLPNavigationItemElement;
|
|
1390
|
+
new (): HTMLPNavigationItemElement;
|
|
1391
|
+
};
|
|
1392
|
+
interface HTMLPPageSizeSelectElement extends Components.PPageSizeSelect, HTMLStencilElement {
|
|
1393
|
+
}
|
|
1394
|
+
var HTMLPPageSizeSelectElement: {
|
|
1395
|
+
prototype: HTMLPPageSizeSelectElement;
|
|
1396
|
+
new (): HTMLPPageSizeSelectElement;
|
|
1397
|
+
};
|
|
1398
|
+
interface HTMLPPaginationElement extends Components.PPagination, HTMLStencilElement {
|
|
1399
|
+
}
|
|
1400
|
+
var HTMLPPaginationElement: {
|
|
1401
|
+
prototype: HTMLPPaginationElement;
|
|
1402
|
+
new (): HTMLPPaginationElement;
|
|
1403
|
+
};
|
|
1404
|
+
interface HTMLPPaginationItemElement extends Components.PPaginationItem, HTMLStencilElement {
|
|
1405
|
+
}
|
|
1406
|
+
var HTMLPPaginationItemElement: {
|
|
1407
|
+
prototype: HTMLPPaginationItemElement;
|
|
1408
|
+
new (): HTMLPPaginationItemElement;
|
|
1409
|
+
};
|
|
1410
|
+
interface HTMLPProfileElement extends Components.PProfile, HTMLStencilElement {
|
|
1411
|
+
}
|
|
1412
|
+
var HTMLPProfileElement: {
|
|
1413
|
+
prototype: HTMLPProfileElement;
|
|
1414
|
+
new (): HTMLPProfileElement;
|
|
1415
|
+
};
|
|
1416
|
+
interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
|
|
1417
|
+
}
|
|
1418
|
+
var HTMLPSegmentContainerElement: {
|
|
1419
|
+
prototype: HTMLPSegmentContainerElement;
|
|
1420
|
+
new (): HTMLPSegmentContainerElement;
|
|
1421
|
+
};
|
|
1422
|
+
interface HTMLPSegmentItemElement extends Components.PSegmentItem, HTMLStencilElement {
|
|
1423
|
+
}
|
|
1424
|
+
var HTMLPSegmentItemElement: {
|
|
1425
|
+
prototype: HTMLPSegmentItemElement;
|
|
1426
|
+
new (): HTMLPSegmentItemElement;
|
|
1427
|
+
};
|
|
1428
|
+
interface HTMLPSelectElement extends Components.PSelect, HTMLStencilElement {
|
|
1429
|
+
}
|
|
1430
|
+
var HTMLPSelectElement: {
|
|
1431
|
+
prototype: HTMLPSelectElement;
|
|
1432
|
+
new (): HTMLPSelectElement;
|
|
1433
|
+
};
|
|
1434
|
+
interface HTMLPSliderIndicatorElement extends Components.PSliderIndicator, HTMLStencilElement {
|
|
1435
|
+
}
|
|
1436
|
+
var HTMLPSliderIndicatorElement: {
|
|
1437
|
+
prototype: HTMLPSliderIndicatorElement;
|
|
1438
|
+
new (): HTMLPSliderIndicatorElement;
|
|
1439
|
+
};
|
|
1440
|
+
interface HTMLPStatusElement extends Components.PStatus, HTMLStencilElement {
|
|
1441
|
+
}
|
|
1442
|
+
var HTMLPStatusElement: {
|
|
1443
|
+
prototype: HTMLPStatusElement;
|
|
1444
|
+
new (): HTMLPStatusElement;
|
|
1445
|
+
};
|
|
1446
|
+
interface HTMLPStepperElement extends Components.PStepper, HTMLStencilElement {
|
|
1447
|
+
}
|
|
1448
|
+
var HTMLPStepperElement: {
|
|
1449
|
+
prototype: HTMLPStepperElement;
|
|
1450
|
+
new (): HTMLPStepperElement;
|
|
1451
|
+
};
|
|
1452
|
+
interface HTMLPStepperItemElement extends Components.PStepperItem, HTMLStencilElement {
|
|
1453
|
+
}
|
|
1454
|
+
var HTMLPStepperItemElement: {
|
|
1455
|
+
prototype: HTMLPStepperItemElement;
|
|
1456
|
+
new (): HTMLPStepperItemElement;
|
|
1457
|
+
};
|
|
1458
|
+
interface HTMLPStepperLineElement extends Components.PStepperLine, HTMLStencilElement {
|
|
1459
|
+
}
|
|
1460
|
+
var HTMLPStepperLineElement: {
|
|
1461
|
+
prototype: HTMLPStepperLineElement;
|
|
1462
|
+
new (): HTMLPStepperLineElement;
|
|
1463
|
+
};
|
|
1464
|
+
interface HTMLPTabGroupElement extends Components.PTabGroup, HTMLStencilElement {
|
|
1465
|
+
}
|
|
1466
|
+
var HTMLPTabGroupElement: {
|
|
1467
|
+
prototype: HTMLPTabGroupElement;
|
|
1468
|
+
new (): HTMLPTabGroupElement;
|
|
1469
|
+
};
|
|
1470
|
+
interface HTMLPTabItemElement extends Components.PTabItem, HTMLStencilElement {
|
|
1471
|
+
}
|
|
1472
|
+
var HTMLPTabItemElement: {
|
|
1473
|
+
prototype: HTMLPTabItemElement;
|
|
1474
|
+
new (): HTMLPTabItemElement;
|
|
1475
|
+
};
|
|
1476
|
+
interface HTMLPTableElement extends Components.PTable, HTMLStencilElement {
|
|
1477
|
+
}
|
|
1478
|
+
var HTMLPTableElement: {
|
|
1479
|
+
prototype: HTMLPTableElement;
|
|
1480
|
+
new (): HTMLPTableElement;
|
|
1481
|
+
};
|
|
1482
|
+
interface HTMLPTableCellElement extends Components.PTableCell, HTMLStencilElement {
|
|
1483
|
+
}
|
|
1484
|
+
var HTMLPTableCellElement: {
|
|
1485
|
+
prototype: HTMLPTableCellElement;
|
|
1486
|
+
new (): HTMLPTableCellElement;
|
|
1487
|
+
};
|
|
1488
|
+
interface HTMLPTableColumnElement extends Components.PTableColumn, HTMLStencilElement {
|
|
1489
|
+
}
|
|
1490
|
+
var HTMLPTableColumnElement: {
|
|
1491
|
+
prototype: HTMLPTableColumnElement;
|
|
1492
|
+
new (): HTMLPTableColumnElement;
|
|
1493
|
+
};
|
|
1494
|
+
interface HTMLPTableContainerElement extends Components.PTableContainer, HTMLStencilElement {
|
|
1495
|
+
}
|
|
1496
|
+
var HTMLPTableContainerElement: {
|
|
1497
|
+
prototype: HTMLPTableContainerElement;
|
|
1498
|
+
new (): HTMLPTableContainerElement;
|
|
1499
|
+
};
|
|
1500
|
+
interface HTMLPTableFooterElement extends Components.PTableFooter, HTMLStencilElement {
|
|
1501
|
+
}
|
|
1502
|
+
var HTMLPTableFooterElement: {
|
|
1503
|
+
prototype: HTMLPTableFooterElement;
|
|
1504
|
+
new (): HTMLPTableFooterElement;
|
|
1505
|
+
};
|
|
1506
|
+
interface HTMLPTableHeaderElement extends Components.PTableHeader, HTMLStencilElement {
|
|
1507
|
+
}
|
|
1508
|
+
var HTMLPTableHeaderElement: {
|
|
1509
|
+
prototype: HTMLPTableHeaderElement;
|
|
1510
|
+
new (): HTMLPTableHeaderElement;
|
|
1511
|
+
};
|
|
1512
|
+
interface HTMLPTableRowElement extends Components.PTableRow, HTMLStencilElement {
|
|
1513
|
+
}
|
|
1514
|
+
var HTMLPTableRowElement: {
|
|
1515
|
+
prototype: HTMLPTableRowElement;
|
|
1516
|
+
new (): HTMLPTableRowElement;
|
|
1517
|
+
};
|
|
1518
|
+
interface HTMLPToastElement extends Components.PToast, HTMLStencilElement {
|
|
1519
|
+
}
|
|
1520
|
+
var HTMLPToastElement: {
|
|
1521
|
+
prototype: HTMLPToastElement;
|
|
1522
|
+
new (): HTMLPToastElement;
|
|
1523
|
+
};
|
|
1524
|
+
interface HTMLPToastContainerElement extends Components.PToastContainer, HTMLStencilElement {
|
|
1525
|
+
}
|
|
1526
|
+
var HTMLPToastContainerElement: {
|
|
1527
|
+
prototype: HTMLPToastContainerElement;
|
|
1528
|
+
new (): HTMLPToastContainerElement;
|
|
1529
|
+
};
|
|
1530
|
+
interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
|
|
1531
|
+
}
|
|
1532
|
+
var HTMLPTooltipElement: {
|
|
1533
|
+
prototype: HTMLPTooltipElement;
|
|
1534
|
+
new (): HTMLPTooltipElement;
|
|
1535
|
+
};
|
|
1536
|
+
interface HTMLElementTagNameMap {
|
|
1537
|
+
"p-accordion": HTMLPAccordionElement;
|
|
1538
|
+
"p-avatar": HTMLPAvatarElement;
|
|
1539
|
+
"p-avatar-group": HTMLPAvatarGroupElement;
|
|
1540
|
+
"p-backdrop": HTMLPBackdropElement;
|
|
1541
|
+
"p-button": HTMLPButtonElement;
|
|
1542
|
+
"p-card-body": HTMLPCardBodyElement;
|
|
1543
|
+
"p-card-container": HTMLPCardContainerElement;
|
|
1544
|
+
"p-card-header": HTMLPCardHeaderElement;
|
|
1545
|
+
"p-content-slider": HTMLPContentSliderElement;
|
|
1546
|
+
"p-counter": HTMLPCounterElement;
|
|
1547
|
+
"p-divider": HTMLPDividerElement;
|
|
1548
|
+
"p-drawer": HTMLPDrawerElement;
|
|
1549
|
+
"p-drawer-body": HTMLPDrawerBodyElement;
|
|
1550
|
+
"p-drawer-container": HTMLPDrawerContainerElement;
|
|
1551
|
+
"p-drawer-header": HTMLPDrawerHeaderElement;
|
|
1552
|
+
"p-dropdown": HTMLPDropdownElement;
|
|
1553
|
+
"p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
|
|
1554
|
+
"p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
|
|
1555
|
+
"p-helper": HTMLPHelperElement;
|
|
1556
|
+
"p-icon": HTMLPIconElement;
|
|
1557
|
+
"p-illustration": HTMLPIllustrationElement;
|
|
1558
|
+
"p-info-panel": HTMLPInfoPanelElement;
|
|
1559
|
+
"p-input-group": HTMLPInputGroupElement;
|
|
1560
|
+
"p-label": HTMLPLabelElement;
|
|
1561
|
+
"p-layout": HTMLPLayoutElement;
|
|
1562
|
+
"p-loader": HTMLPLoaderElement;
|
|
1563
|
+
"p-modal": HTMLPModalElement;
|
|
1564
|
+
"p-modal-body": HTMLPModalBodyElement;
|
|
1565
|
+
"p-modal-container": HTMLPModalContainerElement;
|
|
1566
|
+
"p-modal-footer": HTMLPModalFooterElement;
|
|
1567
|
+
"p-modal-header": HTMLPModalHeaderElement;
|
|
1568
|
+
"p-navbar": HTMLPNavbarElement;
|
|
1569
|
+
"p-navigation-item": HTMLPNavigationItemElement;
|
|
1570
|
+
"p-page-size-select": HTMLPPageSizeSelectElement;
|
|
1571
|
+
"p-pagination": HTMLPPaginationElement;
|
|
1572
|
+
"p-pagination-item": HTMLPPaginationItemElement;
|
|
1573
|
+
"p-profile": HTMLPProfileElement;
|
|
1574
|
+
"p-segment-container": HTMLPSegmentContainerElement;
|
|
1575
|
+
"p-segment-item": HTMLPSegmentItemElement;
|
|
1576
|
+
"p-select": HTMLPSelectElement;
|
|
1577
|
+
"p-slider-indicator": HTMLPSliderIndicatorElement;
|
|
1578
|
+
"p-status": HTMLPStatusElement;
|
|
1579
|
+
"p-stepper": HTMLPStepperElement;
|
|
1580
|
+
"p-stepper-item": HTMLPStepperItemElement;
|
|
1581
|
+
"p-stepper-line": HTMLPStepperLineElement;
|
|
1582
|
+
"p-tab-group": HTMLPTabGroupElement;
|
|
1583
|
+
"p-tab-item": HTMLPTabItemElement;
|
|
1584
|
+
"p-table": HTMLPTableElement;
|
|
1585
|
+
"p-table-cell": HTMLPTableCellElement;
|
|
1586
|
+
"p-table-column": HTMLPTableColumnElement;
|
|
1587
|
+
"p-table-container": HTMLPTableContainerElement;
|
|
1588
|
+
"p-table-footer": HTMLPTableFooterElement;
|
|
1589
|
+
"p-table-header": HTMLPTableHeaderElement;
|
|
1590
|
+
"p-table-row": HTMLPTableRowElement;
|
|
1591
|
+
"p-toast": HTMLPToastElement;
|
|
1592
|
+
"p-toast-container": HTMLPToastContainerElement;
|
|
1593
|
+
"p-tooltip": HTMLPTooltipElement;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
declare namespace LocalJSX {
|
|
1597
|
+
interface PAccordion {
|
|
1598
|
+
/**
|
|
1599
|
+
* Wether the accordion can be closed
|
|
1600
|
+
*/
|
|
1601
|
+
"closeable"?: boolean;
|
|
1602
|
+
/**
|
|
1603
|
+
* Header of the accordion
|
|
1604
|
+
*/
|
|
1605
|
+
"header": string;
|
|
1606
|
+
/**
|
|
1607
|
+
* Open change event
|
|
1608
|
+
*/
|
|
1609
|
+
"onIsOpen"?: (event: PAccordionCustomEvent<boolean>) => void;
|
|
1610
|
+
/**
|
|
1611
|
+
* Wether the accordion is open
|
|
1612
|
+
*/
|
|
1613
|
+
"open"?: boolean;
|
|
1614
|
+
/**
|
|
1615
|
+
* Wether the accordion can be opened
|
|
1616
|
+
*/
|
|
1617
|
+
"openable"?: boolean;
|
|
1618
|
+
}
|
|
1619
|
+
interface PAvatar {
|
|
1620
|
+
/**
|
|
1621
|
+
* The default image to show on errors
|
|
1622
|
+
*/
|
|
1623
|
+
"defaultImage"?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* The size of the avatar
|
|
1626
|
+
*/
|
|
1627
|
+
"size"?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
1628
|
+
/**
|
|
1629
|
+
* The image used for the avatar
|
|
1630
|
+
*/
|
|
1631
|
+
"src": string;
|
|
1632
|
+
/**
|
|
1633
|
+
* The variant of the avatar
|
|
1634
|
+
*/
|
|
1635
|
+
"variant"?: 'user' | 'company';
|
|
1636
|
+
}
|
|
1637
|
+
interface PAvatarGroup {
|
|
1638
|
+
/**
|
|
1639
|
+
* The amount to show after the avatars
|
|
1640
|
+
*/
|
|
1641
|
+
"extra"?: number;
|
|
1642
|
+
}
|
|
1643
|
+
interface PBackdrop {
|
|
1644
|
+
/**
|
|
1645
|
+
* Wether to apply blur on the background of the backdrop
|
|
1646
|
+
*/
|
|
1647
|
+
"applyBlur"?: boolean;
|
|
1648
|
+
/**
|
|
1649
|
+
* Wether the backdrop is closing
|
|
1650
|
+
*/
|
|
1651
|
+
"closing"?: boolean;
|
|
1652
|
+
/**
|
|
1653
|
+
* When the backdrop is clicked
|
|
1654
|
+
*/
|
|
1655
|
+
"onClicked"?: (event: PBackdropCustomEvent<MouseEvent>) => void;
|
|
1656
|
+
/**
|
|
1657
|
+
* The variant of the backdrop
|
|
1658
|
+
*/
|
|
1659
|
+
"variant"?: 'modal' | 'drawer';
|
|
1660
|
+
}
|
|
1661
|
+
interface PButton {
|
|
1662
|
+
/**
|
|
1663
|
+
* Wether to show a chevron or not
|
|
1664
|
+
*/
|
|
1665
|
+
"chevron"?: boolean | 'up' | 'down';
|
|
1666
|
+
/**
|
|
1667
|
+
* Chevron position
|
|
1668
|
+
*/
|
|
1669
|
+
"chevronPosition"?: 'start' | 'end';
|
|
1670
|
+
/**
|
|
1671
|
+
* Wether the button is disabled
|
|
1672
|
+
*/
|
|
1673
|
+
"disabled"?: boolean;
|
|
1674
|
+
/**
|
|
1675
|
+
* Href in case of "text" version
|
|
1676
|
+
*/
|
|
1677
|
+
"href"?: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* Icon to show on the button
|
|
1680
|
+
*/
|
|
1681
|
+
"icon"?: IconVariant;
|
|
1682
|
+
/**
|
|
1683
|
+
* Icon flip
|
|
1684
|
+
*/
|
|
1685
|
+
"iconFlip"?: IconFlipOptions;
|
|
1686
|
+
/**
|
|
1687
|
+
* Wether the button is icon only
|
|
1688
|
+
*/
|
|
1689
|
+
"iconOnly"?: boolean;
|
|
1690
|
+
/**
|
|
1691
|
+
* Icon position
|
|
1692
|
+
*/
|
|
1693
|
+
"iconPosition"?: 'start' | 'end';
|
|
1694
|
+
/**
|
|
1695
|
+
* Icon rotate
|
|
1696
|
+
*/
|
|
1697
|
+
"iconRotate"?: RotateOptions;
|
|
1698
|
+
/**
|
|
1699
|
+
* Wether the button should inherit text styles
|
|
1700
|
+
*/
|
|
1701
|
+
"inheritText"?: boolean;
|
|
1702
|
+
/**
|
|
1703
|
+
* Wether to show a loader or not
|
|
1704
|
+
*/
|
|
1705
|
+
"loading"?: boolean;
|
|
1706
|
+
/**
|
|
1707
|
+
* Button click event
|
|
1708
|
+
*/
|
|
1709
|
+
"onOnClick"?: (event: PButtonCustomEvent<MouseEvent>) => void;
|
|
1710
|
+
/**
|
|
1711
|
+
* The size of the button
|
|
1712
|
+
*/
|
|
1713
|
+
"size"?: 'small' | 'medium';
|
|
1714
|
+
/**
|
|
1715
|
+
* Target in case of "text" version
|
|
1716
|
+
*/
|
|
1717
|
+
"target"?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* The variant of the button
|
|
1720
|
+
*/
|
|
1721
|
+
"variant"?: 'primary' | 'secondary' | 'text';
|
|
1722
|
+
}
|
|
1723
|
+
interface PCardBody {
|
|
1724
|
+
/**
|
|
1725
|
+
* Wether the button should inherit text styles
|
|
1726
|
+
*/
|
|
1727
|
+
"inheritText"?: boolean;
|
|
1728
|
+
}
|
|
1729
|
+
interface PCardContainer {
|
|
1730
|
+
/**
|
|
1731
|
+
* Wether the card should be hoverable
|
|
1732
|
+
*/
|
|
1733
|
+
"hoverable"?: boolean;
|
|
1734
|
+
/**
|
|
1735
|
+
* Wether the card should have shadow
|
|
1736
|
+
*/
|
|
1737
|
+
"shadow"?: boolean;
|
|
1738
|
+
}
|
|
1739
|
+
interface PCardHeader {
|
|
1740
|
+
/**
|
|
1741
|
+
* Enable the title arrow
|
|
1742
|
+
*/
|
|
1743
|
+
"arrow"?: boolean;
|
|
1744
|
+
/**
|
|
1745
|
+
* Content of the card header
|
|
1746
|
+
*/
|
|
1747
|
+
"header"?: string;
|
|
287
1748
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
1749
|
+
interface PContentSlider {
|
|
1750
|
+
/**
|
|
1751
|
+
* Wether to disable auto centering the content
|
|
1752
|
+
*/
|
|
1753
|
+
"disableAutoCenter"?: boolean;
|
|
1754
|
+
/**
|
|
1755
|
+
* Wether to disable dragging the content
|
|
1756
|
+
*/
|
|
1757
|
+
"disableDrag"?: boolean;
|
|
1758
|
+
/**
|
|
1759
|
+
* Wether to disable clicking the indicator scrolls content
|
|
1760
|
+
*/
|
|
1761
|
+
"disableIndicatorClick"?: boolean;
|
|
1762
|
+
/**
|
|
1763
|
+
* Wether to hide the indicator on mobile
|
|
1764
|
+
*/
|
|
1765
|
+
"hideMobileIndicator"?: boolean;
|
|
293
1766
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
1767
|
+
interface PCounter {
|
|
1768
|
+
/**
|
|
1769
|
+
* The size of the counter
|
|
1770
|
+
*/
|
|
1771
|
+
"size"?: 'default' | 'mini';
|
|
1772
|
+
/**
|
|
1773
|
+
* The variant of the counter
|
|
1774
|
+
*/
|
|
1775
|
+
"variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
|
|
299
1776
|
}
|
|
300
|
-
|
|
301
|
-
prototype: HTMLPCounterElement;
|
|
302
|
-
new (): HTMLPCounterElement;
|
|
303
|
-
};
|
|
304
|
-
interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
|
|
1777
|
+
interface PDivider {
|
|
305
1778
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
1779
|
+
interface PDrawer {
|
|
1780
|
+
/**
|
|
1781
|
+
* Wether to apply blur to the backdrop
|
|
1782
|
+
*/
|
|
1783
|
+
"applyBlur"?: boolean;
|
|
1784
|
+
/**
|
|
1785
|
+
* Wether to hide the drawer when the backdrop is clicked
|
|
1786
|
+
*/
|
|
1787
|
+
"backdropClickClose"?: boolean;
|
|
1788
|
+
/**
|
|
1789
|
+
* Wether the drawer can be closed
|
|
1790
|
+
*/
|
|
1791
|
+
"canClose"?: boolean;
|
|
1792
|
+
/**
|
|
1793
|
+
* The Header of the drawer
|
|
1794
|
+
*/
|
|
1795
|
+
"header"?: string;
|
|
1796
|
+
/**
|
|
1797
|
+
* Close click event
|
|
1798
|
+
*/
|
|
1799
|
+
"onCloseClicked"?: (event: PDrawerCustomEvent<{
|
|
1800
|
+
event: MouseEvent;
|
|
1801
|
+
canClose: boolean;
|
|
1802
|
+
}>) => void;
|
|
1803
|
+
/**
|
|
1804
|
+
* Closed event
|
|
1805
|
+
*/
|
|
1806
|
+
"onClosed"?: (event: PDrawerCustomEvent<null>) => void;
|
|
1807
|
+
/**
|
|
1808
|
+
* Wether to show the drawer or not
|
|
1809
|
+
*/
|
|
1810
|
+
"show"?: boolean;
|
|
1811
|
+
/**
|
|
1812
|
+
* Wether to show the close on mobile in the header
|
|
1813
|
+
*/
|
|
1814
|
+
"showClose"?: boolean;
|
|
1815
|
+
}
|
|
1816
|
+
interface PDrawerBody {
|
|
1817
|
+
/**
|
|
1818
|
+
* The variant of the modal body
|
|
1819
|
+
*/
|
|
1820
|
+
"variant"?: 'default' | 'table';
|
|
1821
|
+
}
|
|
1822
|
+
interface PDrawerContainer {
|
|
1823
|
+
/**
|
|
1824
|
+
* Wether the container is closing
|
|
1825
|
+
*/
|
|
1826
|
+
"closing"?: boolean;
|
|
1827
|
+
}
|
|
1828
|
+
interface PDrawerHeader {
|
|
1829
|
+
/**
|
|
1830
|
+
* Close click event
|
|
1831
|
+
*/
|
|
1832
|
+
"onClose"?: (event: PDrawerHeaderCustomEvent<MouseEvent>) => void;
|
|
1833
|
+
/**
|
|
1834
|
+
* Wether to show the close button on mobile
|
|
1835
|
+
*/
|
|
1836
|
+
"showClose"?: boolean;
|
|
1837
|
+
}
|
|
1838
|
+
interface PDropdown {
|
|
1839
|
+
/**
|
|
1840
|
+
* Wether to automatically calculate the width of the menu based on the trigger
|
|
1841
|
+
*/
|
|
1842
|
+
"calculateWidth"?: boolean;
|
|
1843
|
+
/**
|
|
1844
|
+
* Chevron direction
|
|
1845
|
+
*/
|
|
1846
|
+
"chevronDirection"?: 'up' | 'down';
|
|
1847
|
+
/**
|
|
1848
|
+
* Chevron position
|
|
1849
|
+
*/
|
|
1850
|
+
"chevronPosition"?: 'start' | 'end';
|
|
1851
|
+
/**
|
|
1852
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
1853
|
+
*/
|
|
1854
|
+
"disableTriggerClick"?: boolean;
|
|
1855
|
+
/**
|
|
1856
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
1857
|
+
*/
|
|
1858
|
+
"insideClick"?: boolean;
|
|
1859
|
+
/**
|
|
1860
|
+
* Open change event
|
|
1861
|
+
*/
|
|
1862
|
+
"onIsOpen"?: (event: PDropdownCustomEvent<boolean>) => void;
|
|
1863
|
+
/**
|
|
1864
|
+
* The content of the dropdown menu
|
|
1865
|
+
*/
|
|
1866
|
+
"placement"?: Placement;
|
|
1867
|
+
/**
|
|
1868
|
+
* Wether to show the dropdown menu
|
|
1869
|
+
*/
|
|
1870
|
+
"show"?: boolean;
|
|
1871
|
+
/**
|
|
1872
|
+
* The strategy of the popover placement
|
|
1873
|
+
*/
|
|
1874
|
+
"strategy"?: PositioningStrategy;
|
|
1875
|
+
}
|
|
1876
|
+
interface PDropdownMenuContainer {
|
|
1877
|
+
/**
|
|
1878
|
+
* Wether the container applies it's max width
|
|
1879
|
+
*/
|
|
1880
|
+
"maxWidth"?: boolean;
|
|
1881
|
+
}
|
|
1882
|
+
interface PDropdownMenuItem {
|
|
1883
|
+
/**
|
|
1884
|
+
* Wether the dropdown menu item is active
|
|
1885
|
+
*/
|
|
1886
|
+
"active"?: boolean;
|
|
1887
|
+
/**
|
|
1888
|
+
* Wether to enable the hover state
|
|
1889
|
+
*/
|
|
1890
|
+
"enableHover"?: boolean;
|
|
1891
|
+
/**
|
|
1892
|
+
* Icon of the navigation item
|
|
1893
|
+
*/
|
|
1894
|
+
"icon"?: IconVariant;
|
|
1895
|
+
}
|
|
1896
|
+
interface PHelper {
|
|
1897
|
+
/**
|
|
1898
|
+
* The placement of the helper popover
|
|
1899
|
+
*/
|
|
1900
|
+
"placement"?: Placement;
|
|
1901
|
+
}
|
|
1902
|
+
interface PIcon {
|
|
1903
|
+
/**
|
|
1904
|
+
* Wether to flip the icon horizontally or vertically
|
|
1905
|
+
*/
|
|
1906
|
+
"flip"?: IconFlipOptions;
|
|
1907
|
+
/**
|
|
1908
|
+
* Wether to rotate the icon x degrees
|
|
1909
|
+
*/
|
|
1910
|
+
"rotate"?: RotateOptions;
|
|
1911
|
+
/**
|
|
1912
|
+
* The size of the icon, using tailwind sizes
|
|
1913
|
+
*/
|
|
1914
|
+
"size"?: TextSizeOptions;
|
|
1915
|
+
/**
|
|
1916
|
+
* The icon the be displayed
|
|
1917
|
+
*/
|
|
1918
|
+
"variant": IconVariant;
|
|
1919
|
+
}
|
|
1920
|
+
interface PIllustration {
|
|
1921
|
+
/**
|
|
1922
|
+
* The icon the be displayed
|
|
1923
|
+
*/
|
|
1924
|
+
"variant": IllustrationVariant;
|
|
1925
|
+
}
|
|
1926
|
+
interface PInfoPanel {
|
|
1927
|
+
/**
|
|
1928
|
+
* Wether the panel can be closed
|
|
1929
|
+
*/
|
|
1930
|
+
"closeable"?: boolean;
|
|
1931
|
+
/**
|
|
1932
|
+
* The content of the info panel
|
|
1933
|
+
*/
|
|
1934
|
+
"content"?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* The header of the info panel
|
|
1937
|
+
*/
|
|
1938
|
+
"header"?: string;
|
|
1939
|
+
/**
|
|
1940
|
+
* The variant of the info panel
|
|
1941
|
+
*/
|
|
1942
|
+
"variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
|
|
1943
|
+
}
|
|
1944
|
+
interface PInputGroup {
|
|
1945
|
+
/**
|
|
1946
|
+
* Wether the input group is disabled
|
|
1947
|
+
*/
|
|
1948
|
+
"disabled"?: boolean;
|
|
1949
|
+
/**
|
|
1950
|
+
* The helper of the input group
|
|
1951
|
+
*/
|
|
1952
|
+
"error"?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* Wether the input group is focused
|
|
1955
|
+
*/
|
|
1956
|
+
"focused"?: boolean;
|
|
1957
|
+
/**
|
|
1958
|
+
* The helper of the input group
|
|
1959
|
+
*/
|
|
1960
|
+
"helper"?: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* Icon of the navigation item
|
|
1963
|
+
*/
|
|
1964
|
+
"icon"?: IconVariant;
|
|
1965
|
+
/**
|
|
1966
|
+
* Icon flip
|
|
1967
|
+
*/
|
|
1968
|
+
"iconFlip"?: IconFlipOptions;
|
|
1969
|
+
/**
|
|
1970
|
+
* Icon position
|
|
1971
|
+
*/
|
|
1972
|
+
"iconPosition"?: 'start' | 'end';
|
|
1973
|
+
/**
|
|
1974
|
+
* Icon rotate
|
|
1975
|
+
*/
|
|
1976
|
+
"iconRotate"?: RotateOptions;
|
|
1977
|
+
/**
|
|
1978
|
+
* The label of the input group
|
|
1979
|
+
*/
|
|
1980
|
+
"label"?: string;
|
|
1981
|
+
/**
|
|
1982
|
+
* The prefix of the input group
|
|
1983
|
+
*/
|
|
1984
|
+
"prefix"?: string;
|
|
1985
|
+
/**
|
|
1986
|
+
* Wether the field is required
|
|
1987
|
+
*/
|
|
1988
|
+
"required"?: boolean;
|
|
1989
|
+
/**
|
|
1990
|
+
* The size of the input group
|
|
1991
|
+
*/
|
|
1992
|
+
"size"?: 'small' | 'medium';
|
|
1993
|
+
/**
|
|
1994
|
+
* The suffix of the input group
|
|
1995
|
+
*/
|
|
1996
|
+
"suffix"?: string;
|
|
1997
|
+
}
|
|
1998
|
+
interface PLabel {
|
|
1999
|
+
/**
|
|
2000
|
+
* Define the behavior of the label
|
|
2001
|
+
*/
|
|
2002
|
+
"behavior"?: | 'icon'
|
|
2003
|
+
| 'circle'
|
|
2004
|
+
| 'combination'
|
|
2005
|
+
| 'text'
|
|
2006
|
+
| 'icon-only';
|
|
2007
|
+
/**
|
|
2008
|
+
* Icon to show on the label
|
|
2009
|
+
*/
|
|
2010
|
+
"icon"?: IconVariant;
|
|
2011
|
+
/**
|
|
2012
|
+
* Icon flip
|
|
2013
|
+
*/
|
|
2014
|
+
"iconFlip"?: IconFlipOptions;
|
|
2015
|
+
/**
|
|
2016
|
+
* Icon rotate
|
|
2017
|
+
*/
|
|
2018
|
+
"iconRotate"?: RotateOptions1;
|
|
2019
|
+
/**
|
|
2020
|
+
* Wether to keep the content on mobile
|
|
2021
|
+
*/
|
|
2022
|
+
"keepMobileContent"?: boolean;
|
|
2023
|
+
/**
|
|
2024
|
+
* The size of the label
|
|
2025
|
+
*/
|
|
2026
|
+
"size"?: 'small' | 'default';
|
|
2027
|
+
/**
|
|
2028
|
+
* Variant of the label
|
|
2029
|
+
*/
|
|
2030
|
+
"variant"?: | 'positive'
|
|
2031
|
+
| 'unbiased'
|
|
2032
|
+
| 'negative'
|
|
2033
|
+
| 'info';
|
|
2034
|
+
}
|
|
2035
|
+
interface PLayout {
|
|
2036
|
+
/**
|
|
2037
|
+
* Variant of the layout
|
|
2038
|
+
*/
|
|
2039
|
+
"variant"?: 'default' | 'login';
|
|
2040
|
+
}
|
|
2041
|
+
interface PLoader {
|
|
2042
|
+
/**
|
|
2043
|
+
* Color of the loader
|
|
2044
|
+
*/
|
|
2045
|
+
"color"?: 'indigo' | 'white' | 'storm';
|
|
2046
|
+
/**
|
|
2047
|
+
* !NOT IMPLEMENTED! Modal description for modal variant
|
|
2048
|
+
*/
|
|
2049
|
+
"modalDescription"?: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* !NOT IMPLEMENTED! Modal title for modal variant
|
|
2052
|
+
*/
|
|
2053
|
+
"modalTitle"?: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* Wether to show or hide the loader
|
|
2056
|
+
*/
|
|
2057
|
+
"show"?: boolean | Observable<boolean>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Variant of loader
|
|
2060
|
+
*/
|
|
2061
|
+
"variant"?: | 'inline'
|
|
2062
|
+
| 'full-width'
|
|
2063
|
+
| 'full-screen'
|
|
2064
|
+
| 'modal'
|
|
2065
|
+
| 'ghost';
|
|
2066
|
+
}
|
|
2067
|
+
interface PModal {
|
|
2068
|
+
/**
|
|
2069
|
+
* Wether to apply blur to the backdrop
|
|
2070
|
+
*/
|
|
2071
|
+
"applyBlur"?: boolean;
|
|
2072
|
+
/**
|
|
2073
|
+
* Wether to hide the modal when the backdrop is clicked
|
|
2074
|
+
*/
|
|
2075
|
+
"backdropClickClose"?: boolean;
|
|
2076
|
+
/**
|
|
2077
|
+
* The Header of the modal
|
|
2078
|
+
*/
|
|
2079
|
+
"header"?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Close click event
|
|
2082
|
+
*/
|
|
2083
|
+
"onCloseClicked"?: (event: PModalCustomEvent<MouseEvent>) => void;
|
|
2084
|
+
/**
|
|
2085
|
+
* Closed event
|
|
2086
|
+
*/
|
|
2087
|
+
"onClosed"?: (event: PModalCustomEvent<null>) => void;
|
|
2088
|
+
/**
|
|
2089
|
+
* Wether to show the modal or not
|
|
2090
|
+
*/
|
|
2091
|
+
"show"?: boolean;
|
|
2092
|
+
/**
|
|
2093
|
+
* Wether to show the close on mobile in the header
|
|
2094
|
+
*/
|
|
2095
|
+
"showMobileClose"?: boolean;
|
|
2096
|
+
/**
|
|
2097
|
+
* Wether to show the footer on mobile
|
|
2098
|
+
*/
|
|
2099
|
+
"showMobileFooter"?: boolean;
|
|
2100
|
+
/**
|
|
2101
|
+
* The size of the modal container
|
|
2102
|
+
*/
|
|
2103
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
2104
|
+
/**
|
|
2105
|
+
* The variant of the modal body
|
|
2106
|
+
*/
|
|
2107
|
+
"variant"?: 'default' | 'table';
|
|
311
2108
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
2109
|
+
interface PModalBody {
|
|
2110
|
+
/**
|
|
2111
|
+
* Wether the modal body should be rounded at the bottom
|
|
2112
|
+
*/
|
|
2113
|
+
"rounded"?: boolean;
|
|
2114
|
+
/**
|
|
2115
|
+
* The variant of the modal body
|
|
2116
|
+
*/
|
|
2117
|
+
"variant"?: 'default' | 'table';
|
|
317
2118
|
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
2119
|
+
interface PModalContainer {
|
|
2120
|
+
/**
|
|
2121
|
+
* Wether the container is closing
|
|
2122
|
+
*/
|
|
2123
|
+
"closing"?: boolean;
|
|
2124
|
+
/**
|
|
2125
|
+
* The size of the modal container
|
|
2126
|
+
*/
|
|
2127
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
323
2128
|
}
|
|
324
|
-
|
|
325
|
-
prototype: HTMLPDropdownMenuItemElement;
|
|
326
|
-
new (): HTMLPDropdownMenuItemElement;
|
|
327
|
-
};
|
|
328
|
-
interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
|
|
2129
|
+
interface PModalFooter {
|
|
329
2130
|
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
2131
|
+
interface PModalHeader {
|
|
2132
|
+
/**
|
|
2133
|
+
* Close click event
|
|
2134
|
+
*/
|
|
2135
|
+
"onClose"?: (event: PModalHeaderCustomEvent<MouseEvent>) => void;
|
|
2136
|
+
/**
|
|
2137
|
+
* Wether to show the close button on mobile
|
|
2138
|
+
*/
|
|
2139
|
+
"showClose"?: boolean;
|
|
335
2140
|
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
2141
|
+
interface PNavbar {
|
|
2142
|
+
/**
|
|
2143
|
+
* The text to display for the close button
|
|
2144
|
+
*/
|
|
2145
|
+
"closeText"?: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* The text to display for the menu button & sidebar title
|
|
2148
|
+
*/
|
|
2149
|
+
"menuText"?: string;
|
|
341
2150
|
}
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
2151
|
+
interface PNavigationItem {
|
|
2152
|
+
/**
|
|
2153
|
+
* Wether the navigation item is active
|
|
2154
|
+
*/
|
|
2155
|
+
"active"?: boolean;
|
|
2156
|
+
/**
|
|
2157
|
+
* Icon of the navigation item
|
|
2158
|
+
*/
|
|
2159
|
+
"counter"?: number | string;
|
|
2160
|
+
/**
|
|
2161
|
+
* The href of the navigation item
|
|
2162
|
+
*/
|
|
2163
|
+
"href"?: string;
|
|
2164
|
+
/**
|
|
2165
|
+
* Icon of the navigation item
|
|
2166
|
+
*/
|
|
2167
|
+
"icon"?: IconVariant;
|
|
2168
|
+
/**
|
|
2169
|
+
* The target of the navigation item
|
|
2170
|
+
*/
|
|
2171
|
+
"target"?: string;
|
|
347
2172
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
2173
|
+
interface PPageSizeSelect {
|
|
2174
|
+
/**
|
|
2175
|
+
* The size of the button
|
|
2176
|
+
*/
|
|
2177
|
+
"buttonSize"?: 'small' | 'medium';
|
|
2178
|
+
/**
|
|
2179
|
+
* The template for the data view
|
|
2180
|
+
*/
|
|
2181
|
+
"buttonTemplate"?: templateFunc;
|
|
2182
|
+
/**
|
|
2183
|
+
* Chevron position
|
|
2184
|
+
*/
|
|
2185
|
+
"chevronPosition"?: 'start' | 'end';
|
|
2186
|
+
/**
|
|
2187
|
+
* Wether to hide when there is only 1 page available
|
|
2188
|
+
*/
|
|
2189
|
+
"hidden"?: boolean;
|
|
2190
|
+
/**
|
|
2191
|
+
* The template for the data view
|
|
2192
|
+
*/
|
|
2193
|
+
"itemTemplate"?: templateFunc;
|
|
2194
|
+
/**
|
|
2195
|
+
* Event whenever the size changes
|
|
2196
|
+
*/
|
|
2197
|
+
"onSizeChange"?: (event: PPageSizeSelectCustomEvent<number>) => void;
|
|
2198
|
+
/**
|
|
2199
|
+
* The current page
|
|
2200
|
+
*/
|
|
2201
|
+
"size"?: number;
|
|
2202
|
+
/**
|
|
2203
|
+
* The available sizes
|
|
2204
|
+
*/
|
|
2205
|
+
"sizeOptions"?: number[];
|
|
353
2206
|
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
2207
|
+
interface PPagination {
|
|
2208
|
+
/**
|
|
2209
|
+
* Wether to hide when there is only 1 page available
|
|
2210
|
+
*/
|
|
2211
|
+
"hideOnSinglePage"?: boolean;
|
|
2212
|
+
/**
|
|
2213
|
+
* Event whenever the page changes
|
|
2214
|
+
*/
|
|
2215
|
+
"onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
|
|
2216
|
+
/**
|
|
2217
|
+
* The current page
|
|
2218
|
+
*/
|
|
2219
|
+
"page"?: number;
|
|
2220
|
+
/**
|
|
2221
|
+
* The amount of items per page
|
|
2222
|
+
*/
|
|
2223
|
+
"pageSize"?: number;
|
|
2224
|
+
/**
|
|
2225
|
+
* The total amount of items
|
|
2226
|
+
*/
|
|
2227
|
+
"total": number;
|
|
359
2228
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
2229
|
+
interface PPaginationItem {
|
|
2230
|
+
/**
|
|
2231
|
+
* Wether the pagination item is active
|
|
2232
|
+
*/
|
|
2233
|
+
"active"?: boolean;
|
|
365
2234
|
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
2235
|
+
interface PProfile {
|
|
2236
|
+
/**
|
|
2237
|
+
* The size of the profile avatar
|
|
2238
|
+
*/
|
|
2239
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
2240
|
+
/**
|
|
2241
|
+
* The variant of the profile
|
|
2242
|
+
*/
|
|
2243
|
+
"variant"?: 'company' | 'user';
|
|
371
2244
|
}
|
|
372
|
-
|
|
373
|
-
prototype: HTMLPPaginationItemElement;
|
|
374
|
-
new (): HTMLPPaginationItemElement;
|
|
375
|
-
};
|
|
376
|
-
interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
|
|
2245
|
+
interface PSegmentContainer {
|
|
377
2246
|
}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
2247
|
+
interface PSegmentItem {
|
|
2248
|
+
/**
|
|
2249
|
+
* Wether the segment item is active
|
|
2250
|
+
*/
|
|
2251
|
+
"active"?: boolean;
|
|
2252
|
+
/**
|
|
2253
|
+
* Icon to show on the segment item
|
|
2254
|
+
*/
|
|
2255
|
+
"icon"?: IconVariant;
|
|
2256
|
+
/**
|
|
2257
|
+
* Icon flip
|
|
2258
|
+
*/
|
|
2259
|
+
"iconFlip"?: IconFlipOptions;
|
|
2260
|
+
/**
|
|
2261
|
+
* Icon rotate
|
|
2262
|
+
*/
|
|
2263
|
+
"iconRotate"?: RotateOptions;
|
|
383
2264
|
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
2265
|
+
interface PSelect {
|
|
2266
|
+
/**
|
|
2267
|
+
* Wether the input uses async filtering
|
|
2268
|
+
*/
|
|
2269
|
+
"asyncFilter"?: boolean;
|
|
2270
|
+
/**
|
|
2271
|
+
* Wether to automatically select the first item
|
|
2272
|
+
*/
|
|
2273
|
+
"autoSelectFirst"?: boolean;
|
|
2274
|
+
/**
|
|
2275
|
+
* The placeholder of the input when auto completing
|
|
2276
|
+
*/
|
|
2277
|
+
"autocompletePlaceholder"?: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* Wether the input group is disabled used by the select
|
|
2280
|
+
*/
|
|
2281
|
+
"disabled"?: boolean;
|
|
2282
|
+
/**
|
|
2283
|
+
* The key of the object to display
|
|
2284
|
+
*/
|
|
2285
|
+
"displayKey"?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* Wether to enable autocomplete
|
|
2288
|
+
*/
|
|
2289
|
+
"enableAutocomplete"?: boolean;
|
|
2290
|
+
/**
|
|
2291
|
+
* The helper of the input group used by the select
|
|
2292
|
+
*/
|
|
2293
|
+
"error"?: string;
|
|
2294
|
+
/**
|
|
2295
|
+
* The helper of the input group used by the select
|
|
2296
|
+
*/
|
|
2297
|
+
"helper"?: string;
|
|
2298
|
+
/**
|
|
2299
|
+
* The items to show in the dropdown
|
|
2300
|
+
*/
|
|
2301
|
+
"items"?: string | any[];
|
|
2302
|
+
/**
|
|
2303
|
+
* The label of the input group used by the select
|
|
2304
|
+
*/
|
|
2305
|
+
"label"?: string;
|
|
2306
|
+
/**
|
|
2307
|
+
* Wether to show loading items
|
|
2308
|
+
*/
|
|
2309
|
+
"loading"?: boolean;
|
|
2310
|
+
/**
|
|
2311
|
+
* The maximum amount of items to display
|
|
2312
|
+
*/
|
|
2313
|
+
"maxDisplayedItems"?: number;
|
|
2314
|
+
/**
|
|
2315
|
+
* Event when the query of the autocomplete changes
|
|
2316
|
+
*/
|
|
2317
|
+
"onQueryChange"?: (event: PSelectCustomEvent<string>) => void;
|
|
2318
|
+
/**
|
|
2319
|
+
* Event when the value changes
|
|
2320
|
+
*/
|
|
2321
|
+
"onValueChange"?: (event: PSelectCustomEvent<any>) => void;
|
|
2322
|
+
/**
|
|
2323
|
+
* The placeholder of the input
|
|
2324
|
+
*/
|
|
2325
|
+
"placeholder"?: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* The prefix of the input group used by the select
|
|
2328
|
+
*/
|
|
2329
|
+
"prefix"?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* The current query
|
|
2332
|
+
*/
|
|
2333
|
+
"query"?: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* The key of the object to display
|
|
2336
|
+
*/
|
|
2337
|
+
"queryKey"?: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* The size of the input group used by the select
|
|
2340
|
+
*/
|
|
2341
|
+
"size"?: 'small' | 'medium';
|
|
2342
|
+
/**
|
|
2343
|
+
* The current value
|
|
2344
|
+
*/
|
|
2345
|
+
"value"?: any;
|
|
2346
|
+
/**
|
|
2347
|
+
* The key of the object to return
|
|
2348
|
+
*/
|
|
2349
|
+
"valueKey"?: string;
|
|
389
2350
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
2351
|
+
interface PSliderIndicator {
|
|
2352
|
+
/**
|
|
2353
|
+
* Wether the slider indicator is active
|
|
2354
|
+
*/
|
|
2355
|
+
"active"?: boolean;
|
|
395
2356
|
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
"
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
"
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
"
|
|
413
|
-
"p-navigation-item": HTMLPNavigationItemElement;
|
|
414
|
-
"p-pagination": HTMLPPaginationElement;
|
|
415
|
-
"p-pagination-item": HTMLPPaginationItemElement;
|
|
416
|
-
"p-segment-container": HTMLPSegmentContainerElement;
|
|
417
|
-
"p-segment-item": HTMLPSegmentItemElement;
|
|
418
|
-
"p-status": HTMLPStatusElement;
|
|
419
|
-
"p-tooltip": HTMLPTooltipElement;
|
|
2357
|
+
interface PStatus {
|
|
2358
|
+
/**
|
|
2359
|
+
* Icon to show on the status
|
|
2360
|
+
*/
|
|
2361
|
+
"icon"?: IconVariant;
|
|
2362
|
+
/**
|
|
2363
|
+
* Icon flip
|
|
2364
|
+
*/
|
|
2365
|
+
"iconFlip"?: IconFlipOptions;
|
|
2366
|
+
/**
|
|
2367
|
+
* Icon rotate
|
|
2368
|
+
*/
|
|
2369
|
+
"iconRotate"?: RotateOptions;
|
|
2370
|
+
/**
|
|
2371
|
+
* The variant of the status
|
|
2372
|
+
*/
|
|
2373
|
+
"variant"?: 'default' | 'positive' | 'unbiased' | 'negative';
|
|
420
2374
|
}
|
|
421
|
-
|
|
422
|
-
declare namespace LocalJSX {
|
|
423
|
-
interface PAvatar {
|
|
2375
|
+
interface PStepper {
|
|
424
2376
|
/**
|
|
425
|
-
* The
|
|
2377
|
+
* The currently active step
|
|
426
2378
|
*/
|
|
427
|
-
"
|
|
2379
|
+
"activeStep"?: number;
|
|
428
2380
|
/**
|
|
429
|
-
* The
|
|
2381
|
+
* The direction of the stepper
|
|
430
2382
|
*/
|
|
431
|
-
"
|
|
2383
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
2384
|
+
}
|
|
2385
|
+
interface PStepperItem {
|
|
432
2386
|
/**
|
|
433
|
-
*
|
|
2387
|
+
* Wether the step is active
|
|
434
2388
|
*/
|
|
435
|
-
"
|
|
2389
|
+
"active"?: boolean;
|
|
436
2390
|
/**
|
|
437
|
-
* The
|
|
2391
|
+
* The alignment of the step content
|
|
438
2392
|
*/
|
|
439
|
-
"
|
|
2393
|
+
"align"?: 'start' | 'center' | 'end';
|
|
2394
|
+
/**
|
|
2395
|
+
* The direction of the stepper step
|
|
2396
|
+
*/
|
|
2397
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
2398
|
+
/**
|
|
2399
|
+
* Wether the step is finished
|
|
2400
|
+
*/
|
|
2401
|
+
"finished"?: boolean;
|
|
440
2402
|
}
|
|
441
|
-
interface
|
|
2403
|
+
interface PStepperLine {
|
|
442
2404
|
/**
|
|
443
|
-
* Wether the
|
|
2405
|
+
* Wether the line is active
|
|
444
2406
|
*/
|
|
445
|
-
"
|
|
2407
|
+
"active"?: boolean;
|
|
446
2408
|
/**
|
|
447
|
-
*
|
|
2409
|
+
* The direction of the stepper line
|
|
448
2410
|
*/
|
|
449
|
-
"
|
|
2411
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
2412
|
+
}
|
|
2413
|
+
interface PTabGroup {
|
|
2414
|
+
}
|
|
2415
|
+
interface PTabItem {
|
|
450
2416
|
/**
|
|
451
|
-
*
|
|
2417
|
+
* Wether the tab item is active
|
|
452
2418
|
*/
|
|
453
|
-
"
|
|
2419
|
+
"active"?: boolean;
|
|
2420
|
+
}
|
|
2421
|
+
interface PTable {
|
|
454
2422
|
/**
|
|
455
|
-
*
|
|
2423
|
+
* Active quick filter identifier
|
|
456
2424
|
*/
|
|
457
|
-
"
|
|
2425
|
+
"activeQuickFilterIdentifier"?: string;
|
|
458
2426
|
/**
|
|
459
|
-
*
|
|
2427
|
+
* The amount of loading rows to show
|
|
460
2428
|
*/
|
|
461
|
-
"
|
|
2429
|
+
"amountOfLoadingRows"?: number;
|
|
462
2430
|
/**
|
|
463
|
-
*
|
|
2431
|
+
* A key to determine if a row can be selected
|
|
464
2432
|
*/
|
|
465
|
-
"
|
|
2433
|
+
"canSelectKey"?: string;
|
|
466
2434
|
/**
|
|
467
|
-
*
|
|
2435
|
+
* The template for the edit button text
|
|
2436
|
+
*/
|
|
2437
|
+
"editButtonTemplate"?: buttonTemplateFunc;
|
|
2438
|
+
"emptyStateAction"?: templateFunc;
|
|
2439
|
+
"emptyStateContent"?: templateFunc;
|
|
2440
|
+
"emptyStateFilteredContent"?: templateFunc;
|
|
2441
|
+
"emptyStateFilteredHeader"?: templateFunc;
|
|
2442
|
+
"emptyStateHeader"?: templateFunc;
|
|
2443
|
+
/**
|
|
2444
|
+
* Wether to show the edit button
|
|
2445
|
+
*/
|
|
2446
|
+
"enableEdit"?: boolean;
|
|
2447
|
+
/**
|
|
2448
|
+
* Wether to enable export
|
|
2449
|
+
*/
|
|
2450
|
+
"enableExport"?: boolean;
|
|
2451
|
+
/**
|
|
2452
|
+
* Wether to show the filter button
|
|
2453
|
+
*/
|
|
2454
|
+
"enableFilter"?: boolean;
|
|
2455
|
+
/**
|
|
2456
|
+
* Wether to enable page size select
|
|
2457
|
+
*/
|
|
2458
|
+
"enablePageSize"?: boolean;
|
|
2459
|
+
/**
|
|
2460
|
+
* Wether to enable pagination
|
|
2461
|
+
*/
|
|
2462
|
+
"enablePagination"?: boolean;
|
|
2463
|
+
/**
|
|
2464
|
+
* Wether to enable row clicking
|
|
2465
|
+
*/
|
|
2466
|
+
"enableRowClick"?: boolean;
|
|
2467
|
+
/**
|
|
2468
|
+
* Wether to enable selection
|
|
2469
|
+
*/
|
|
2470
|
+
"enableRowSelection"?: boolean;
|
|
2471
|
+
/**
|
|
2472
|
+
* Wether to show the search input
|
|
2473
|
+
*/
|
|
2474
|
+
"enableSearch"?: boolean;
|
|
2475
|
+
/**
|
|
2476
|
+
* The template for the filter button text
|
|
2477
|
+
*/
|
|
2478
|
+
"filterButtonTemplate"?: templateFunc;
|
|
2479
|
+
/**
|
|
2480
|
+
* Wether the footer should show loading state
|
|
2481
|
+
*/
|
|
2482
|
+
"footerLoading"?: boolean;
|
|
2483
|
+
/**
|
|
2484
|
+
* Wether the header should show loading state
|
|
2485
|
+
*/
|
|
2486
|
+
"headerLoading"?: boolean;
|
|
2487
|
+
/**
|
|
2488
|
+
* Wether to hide when there is only 1 page available
|
|
2489
|
+
*/
|
|
2490
|
+
"hideOnSinglePage"?: boolean;
|
|
2491
|
+
/**
|
|
2492
|
+
* The items to be fed to the table
|
|
2493
|
+
*/
|
|
2494
|
+
"items"?: string;
|
|
2495
|
+
/**
|
|
2496
|
+
* Wether data is loading
|
|
468
2497
|
*/
|
|
469
2498
|
"loading"?: boolean;
|
|
470
2499
|
/**
|
|
471
|
-
*
|
|
2500
|
+
* Event when the edit button is clicked
|
|
472
2501
|
*/
|
|
473
|
-
"
|
|
2502
|
+
"onEdit"?: (event: PTableCustomEvent<null>) => void;
|
|
474
2503
|
/**
|
|
475
|
-
*
|
|
2504
|
+
* Event whenever the empty state is clicked
|
|
476
2505
|
*/
|
|
477
|
-
"
|
|
2506
|
+
"onEmptyStateActionClick"?: (event: PTableCustomEvent<null>) => void;
|
|
478
2507
|
/**
|
|
479
|
-
*
|
|
2508
|
+
* Event whenever the page changes
|
|
480
2509
|
*/
|
|
481
|
-
"
|
|
2510
|
+
"onExport"?: (event: PTableCustomEvent<number>) => void;
|
|
482
2511
|
/**
|
|
483
|
-
*
|
|
2512
|
+
* Event when the filter button is clicked
|
|
484
2513
|
*/
|
|
485
|
-
"
|
|
486
|
-
}
|
|
487
|
-
interface PCounter {
|
|
488
|
-
}
|
|
489
|
-
interface PDivider {
|
|
490
|
-
}
|
|
491
|
-
interface PDropdown {
|
|
2514
|
+
"onFilter"?: (event: PTableCustomEvent<null>) => void;
|
|
492
2515
|
/**
|
|
493
|
-
*
|
|
2516
|
+
* Event when the table has rendered
|
|
494
2517
|
*/
|
|
495
|
-
"
|
|
2518
|
+
"onHasRendered"?: (event: PTableCustomEvent<number>) => void;
|
|
496
2519
|
/**
|
|
497
|
-
*
|
|
2520
|
+
* Event whenever the page changes
|
|
498
2521
|
*/
|
|
499
|
-
"
|
|
2522
|
+
"onPageChange"?: (event: PTableCustomEvent<number>) => void;
|
|
500
2523
|
/**
|
|
501
|
-
*
|
|
2524
|
+
* Event whenever the page changes
|
|
502
2525
|
*/
|
|
503
|
-
"
|
|
2526
|
+
"onPageSizeChange"?: (event: PTableCustomEvent<number>) => void;
|
|
504
2527
|
/**
|
|
505
|
-
*
|
|
2528
|
+
* Event when the query changes
|
|
506
2529
|
*/
|
|
507
|
-
"
|
|
2530
|
+
"onQueryChange"?: (event: PTableCustomEvent<string>) => void;
|
|
508
2531
|
/**
|
|
509
|
-
*
|
|
2532
|
+
* Event when one of the quick filters is clicked
|
|
510
2533
|
*/
|
|
511
|
-
"
|
|
512
|
-
}
|
|
513
|
-
interface PDropdownMenuContainer {
|
|
514
|
-
}
|
|
515
|
-
interface PDropdownMenuItem {
|
|
2534
|
+
"onQuickFilter"?: (event: PTableCustomEvent<QuickFilter>) => void;
|
|
516
2535
|
/**
|
|
517
|
-
*
|
|
2536
|
+
* Event whenever a row is clicked
|
|
518
2537
|
*/
|
|
519
|
-
"
|
|
520
|
-
}
|
|
521
|
-
interface PHelper {
|
|
522
|
-
}
|
|
523
|
-
interface PIcon {
|
|
2538
|
+
"onRowClick"?: (event: PTableCustomEvent<RowClickEvent>) => void;
|
|
524
2539
|
/**
|
|
525
|
-
*
|
|
2540
|
+
* Event whenever a row is deselected
|
|
526
2541
|
*/
|
|
527
|
-
"
|
|
2542
|
+
"onRowDeselected"?: (event: PTableCustomEvent<any>) => void;
|
|
528
2543
|
/**
|
|
529
|
-
*
|
|
2544
|
+
* Event whenever a row is selected
|
|
530
2545
|
*/
|
|
531
|
-
"
|
|
2546
|
+
"onRowSelected"?: (event: PTableCustomEvent<any>) => void;
|
|
532
2547
|
/**
|
|
533
|
-
*
|
|
2548
|
+
* Event whenever the current selection changes
|
|
534
2549
|
*/
|
|
535
|
-
"
|
|
2550
|
+
"onSelectedRowsChange"?: (event: PTableCustomEvent<any>) => void;
|
|
536
2551
|
/**
|
|
537
|
-
* The
|
|
2552
|
+
* The current page
|
|
538
2553
|
*/
|
|
539
|
-
"
|
|
540
|
-
}
|
|
541
|
-
interface PIllustration {
|
|
2554
|
+
"page"?: number;
|
|
542
2555
|
/**
|
|
543
|
-
* The
|
|
2556
|
+
* The amount of items per page
|
|
544
2557
|
*/
|
|
545
|
-
"
|
|
546
|
-
}
|
|
547
|
-
interface PInfoPanel {
|
|
2558
|
+
"pageSize"?: number;
|
|
548
2559
|
/**
|
|
549
|
-
*
|
|
2560
|
+
* The options for the page size
|
|
550
2561
|
*/
|
|
551
|
-
"
|
|
2562
|
+
"pageSizeOptions"?: number[];
|
|
552
2563
|
/**
|
|
553
|
-
* The
|
|
2564
|
+
* The query to show in the search bar
|
|
554
2565
|
*/
|
|
555
|
-
"
|
|
2566
|
+
"query"?: string;
|
|
556
2567
|
/**
|
|
557
|
-
*
|
|
2568
|
+
* Quick filters to show
|
|
558
2569
|
*/
|
|
559
|
-
"
|
|
2570
|
+
"quickFilters"?: QuickFilter[];
|
|
560
2571
|
/**
|
|
561
|
-
* The
|
|
2572
|
+
* The amount of filters being selected
|
|
562
2573
|
*/
|
|
563
|
-
"
|
|
2574
|
+
"selectedFiltersAmount"?: number;
|
|
2575
|
+
/**
|
|
2576
|
+
* The current selection of items
|
|
2577
|
+
*/
|
|
2578
|
+
"selectedRows"?: any[];
|
|
2579
|
+
/**
|
|
2580
|
+
* The key to determine if a row is selected
|
|
2581
|
+
*/
|
|
2582
|
+
"selectionKey"?: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* The total amount of items
|
|
2585
|
+
*/
|
|
2586
|
+
"total": number;
|
|
564
2587
|
}
|
|
565
|
-
interface
|
|
2588
|
+
interface PTableCell {
|
|
566
2589
|
/**
|
|
567
|
-
*
|
|
2590
|
+
* The checkbox to show
|
|
568
2591
|
*/
|
|
569
|
-
"
|
|
2592
|
+
"checkbox"?: any;
|
|
570
2593
|
/**
|
|
571
|
-
*
|
|
2594
|
+
* The definition of the table column
|
|
572
2595
|
*/
|
|
573
|
-
"
|
|
2596
|
+
"definition"?: TableColumn;
|
|
574
2597
|
/**
|
|
575
|
-
*
|
|
2598
|
+
* The index of the column
|
|
576
2599
|
*/
|
|
577
|
-
"
|
|
2600
|
+
"index"?: number;
|
|
578
2601
|
/**
|
|
579
|
-
*
|
|
2602
|
+
* The item in question
|
|
580
2603
|
*/
|
|
581
|
-
"
|
|
2604
|
+
"item"?: any;
|
|
582
2605
|
/**
|
|
583
|
-
*
|
|
2606
|
+
* The index of the row
|
|
584
2607
|
*/
|
|
585
|
-
"
|
|
2608
|
+
"rowIndex"?: number;
|
|
2609
|
+
/**
|
|
2610
|
+
* The template to show
|
|
2611
|
+
*/
|
|
2612
|
+
"template"?: TableDefinitionTemplateFunc;
|
|
2613
|
+
/**
|
|
2614
|
+
* The value of the column
|
|
2615
|
+
*/
|
|
2616
|
+
"value"?: any;
|
|
2617
|
+
/**
|
|
2618
|
+
* The variant of the column
|
|
2619
|
+
*/
|
|
2620
|
+
"variant"?: 'default' | 'loading' | 'header';
|
|
586
2621
|
}
|
|
587
|
-
interface
|
|
2622
|
+
interface PTableColumn {
|
|
588
2623
|
/**
|
|
589
|
-
*
|
|
2624
|
+
* The alignment of the column
|
|
590
2625
|
*/
|
|
591
|
-
"
|
|
2626
|
+
"align"?: 'start' | 'center' | 'end';
|
|
592
2627
|
/**
|
|
593
|
-
*
|
|
2628
|
+
* The name of the column
|
|
594
2629
|
*/
|
|
595
|
-
"
|
|
2630
|
+
"name"?: string;
|
|
596
2631
|
/**
|
|
597
|
-
*
|
|
2632
|
+
* Event to let the table know it has to re render
|
|
598
2633
|
*/
|
|
599
|
-
"
|
|
2634
|
+
"onTableDefinitionChanged"?: (event: PTableColumnCustomEvent<boolean>) => void;
|
|
600
2635
|
/**
|
|
601
|
-
*
|
|
2636
|
+
* The path of the value of the item you want to display
|
|
602
2637
|
*/
|
|
603
|
-
"
|
|
2638
|
+
"path"?: string;
|
|
604
2639
|
/**
|
|
605
|
-
* The
|
|
2640
|
+
* The sizes of the column
|
|
606
2641
|
*/
|
|
607
|
-
"
|
|
2642
|
+
"sizes"?: 'auto' | number | TableColumnSizes;
|
|
2643
|
+
/**
|
|
2644
|
+
* The type of the column
|
|
2645
|
+
*/
|
|
2646
|
+
"type"?: 'td' | 'th';
|
|
2647
|
+
/**
|
|
2648
|
+
* Wether the column should use the slot
|
|
2649
|
+
*/
|
|
2650
|
+
"useSlot"?: boolean;
|
|
608
2651
|
}
|
|
609
|
-
interface
|
|
610
|
-
|
|
2652
|
+
interface PTableContainer {
|
|
2653
|
+
}
|
|
2654
|
+
interface PTableFooter {
|
|
2655
|
+
/**
|
|
2656
|
+
* Wether to enable export
|
|
2657
|
+
*/
|
|
2658
|
+
"enableExport"?: boolean;
|
|
2659
|
+
/**
|
|
2660
|
+
* Wether to enable page size select
|
|
2661
|
+
*/
|
|
2662
|
+
"enablePageSize"?: boolean;
|
|
2663
|
+
/**
|
|
2664
|
+
* Wether to enable pagination
|
|
2665
|
+
*/
|
|
2666
|
+
"enablePagination"?: boolean;
|
|
2667
|
+
/**
|
|
2668
|
+
* Wether to hide when there is only 1 page available
|
|
2669
|
+
*/
|
|
2670
|
+
"hideOnSinglePage"?: boolean;
|
|
2671
|
+
/**
|
|
2672
|
+
* Wether we want to show loading state
|
|
2673
|
+
*/
|
|
2674
|
+
"loading"?: boolean;
|
|
2675
|
+
/**
|
|
2676
|
+
* Event whenever the page changes
|
|
2677
|
+
*/
|
|
2678
|
+
"onExport"?: (event: PTableFooterCustomEvent<number>) => void;
|
|
2679
|
+
/**
|
|
2680
|
+
* Event whenever the page changes
|
|
2681
|
+
*/
|
|
2682
|
+
"onPageChange"?: (event: PTableFooterCustomEvent<number>) => void;
|
|
2683
|
+
/**
|
|
2684
|
+
* Event whenever the page changes
|
|
2685
|
+
*/
|
|
2686
|
+
"onPageSizeChange"?: (event: PTableFooterCustomEvent<number>) => void;
|
|
611
2687
|
/**
|
|
612
2688
|
* The current page
|
|
613
2689
|
*/
|
|
@@ -616,54 +2692,130 @@ declare namespace LocalJSX {
|
|
|
616
2692
|
* The amount of items per page
|
|
617
2693
|
*/
|
|
618
2694
|
"pageSize"?: number;
|
|
2695
|
+
/**
|
|
2696
|
+
* The options for the page size
|
|
2697
|
+
*/
|
|
2698
|
+
"pageSizeOptions"?: number[];
|
|
619
2699
|
/**
|
|
620
2700
|
* The total amount of items
|
|
621
2701
|
*/
|
|
622
2702
|
"total": number;
|
|
623
2703
|
}
|
|
624
|
-
interface
|
|
2704
|
+
interface PTableHeader {
|
|
625
2705
|
/**
|
|
626
|
-
*
|
|
2706
|
+
* Active quick filter identifier
|
|
627
2707
|
*/
|
|
628
|
-
"
|
|
629
|
-
}
|
|
630
|
-
interface PSegmentContainer {
|
|
631
|
-
}
|
|
632
|
-
interface PSegmentItem {
|
|
2708
|
+
"activeQuickFilterIdentifier"?: string;
|
|
633
2709
|
/**
|
|
634
|
-
* Wether
|
|
2710
|
+
* Wether to enable the edit button
|
|
635
2711
|
*/
|
|
636
|
-
"
|
|
2712
|
+
"canEdit"?: boolean;
|
|
637
2713
|
/**
|
|
638
|
-
*
|
|
2714
|
+
* The template for the edit button text
|
|
639
2715
|
*/
|
|
640
|
-
"
|
|
2716
|
+
"editButtonTemplate"?: buttonTemplateFunc;
|
|
641
2717
|
/**
|
|
642
|
-
*
|
|
2718
|
+
* Wether to show the edit button
|
|
643
2719
|
*/
|
|
644
|
-
"
|
|
2720
|
+
"enableEdit"?: boolean;
|
|
645
2721
|
/**
|
|
646
|
-
*
|
|
2722
|
+
* Wether to show the filter button
|
|
2723
|
+
*/
|
|
2724
|
+
"enableFilter"?: boolean;
|
|
2725
|
+
/**
|
|
2726
|
+
* Wether to show the search input
|
|
2727
|
+
*/
|
|
2728
|
+
"enableSearch"?: boolean;
|
|
2729
|
+
/**
|
|
2730
|
+
* The template for the filter button text
|
|
2731
|
+
*/
|
|
2732
|
+
"filterButtonTemplate"?: templateFunc;
|
|
2733
|
+
/**
|
|
2734
|
+
* The amount of items that are selected
|
|
2735
|
+
*/
|
|
2736
|
+
"itemsSelectedAmount"?: number;
|
|
2737
|
+
/**
|
|
2738
|
+
* Wether we want to show loading state
|
|
2739
|
+
*/
|
|
2740
|
+
"loading"?: boolean;
|
|
2741
|
+
/**
|
|
2742
|
+
* Event when the edit button is clicked
|
|
2743
|
+
*/
|
|
2744
|
+
"onEdit"?: (event: PTableHeaderCustomEvent<null>) => void;
|
|
2745
|
+
/**
|
|
2746
|
+
* Event when the filter button is clicked
|
|
2747
|
+
*/
|
|
2748
|
+
"onFilter"?: (event: PTableHeaderCustomEvent<null>) => void;
|
|
2749
|
+
/**
|
|
2750
|
+
* Event when the query changes
|
|
2751
|
+
*/
|
|
2752
|
+
"onQueryChange"?: (event: PTableHeaderCustomEvent<string>) => void;
|
|
2753
|
+
/**
|
|
2754
|
+
* Event when one of the quick filters is clicked
|
|
2755
|
+
*/
|
|
2756
|
+
"onQuickFilter"?: (event: PTableHeaderCustomEvent<QuickFilter>) => void;
|
|
2757
|
+
/**
|
|
2758
|
+
* The query to show in the search bar
|
|
2759
|
+
*/
|
|
2760
|
+
"query"?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* Quick filters to show
|
|
2763
|
+
*/
|
|
2764
|
+
"quickFilters"?: QuickFilter[];
|
|
2765
|
+
/**
|
|
2766
|
+
* The amount of filters being selected
|
|
647
2767
|
*/
|
|
648
|
-
"
|
|
2768
|
+
"selectedFiltersAmount"?: number;
|
|
649
2769
|
}
|
|
650
|
-
interface
|
|
2770
|
+
interface PTableRow {
|
|
651
2771
|
/**
|
|
652
|
-
*
|
|
2772
|
+
* Enable hover
|
|
653
2773
|
*/
|
|
654
|
-
"
|
|
2774
|
+
"enableHover"?: boolean;
|
|
2775
|
+
/**
|
|
2776
|
+
* Variant of the header
|
|
2777
|
+
*/
|
|
2778
|
+
"variant"?: 'default' | 'header';
|
|
2779
|
+
}
|
|
2780
|
+
interface PToast {
|
|
2781
|
+
/**
|
|
2782
|
+
* Icon to show on the button
|
|
2783
|
+
*/
|
|
2784
|
+
"actionIcon"?: IconVariant;
|
|
655
2785
|
/**
|
|
656
2786
|
* Icon flip
|
|
657
2787
|
*/
|
|
658
|
-
"
|
|
2788
|
+
"actionIconFlip"?: IconFlipOptions;
|
|
659
2789
|
/**
|
|
660
2790
|
* Icon rotate
|
|
661
2791
|
*/
|
|
662
|
-
"
|
|
2792
|
+
"actionIconRotate"?: RotateOptions1;
|
|
663
2793
|
/**
|
|
664
|
-
* The
|
|
2794
|
+
* The content of the toast
|
|
665
2795
|
*/
|
|
666
|
-
"
|
|
2796
|
+
"content"?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* Wether to enable the close button
|
|
2799
|
+
*/
|
|
2800
|
+
"enableAction"?: boolean;
|
|
2801
|
+
/**
|
|
2802
|
+
* The header of the toast
|
|
2803
|
+
*/
|
|
2804
|
+
"header"?: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* Button click event
|
|
2807
|
+
*/
|
|
2808
|
+
"onAction"?: (event: PToastCustomEvent<MouseEvent>) => void;
|
|
2809
|
+
/**
|
|
2810
|
+
* The variant of the toast
|
|
2811
|
+
*/
|
|
2812
|
+
"variant"?: 'positive' | 'unbiased' | 'negative';
|
|
2813
|
+
}
|
|
2814
|
+
interface PToastContainer {
|
|
2815
|
+
/**
|
|
2816
|
+
* The placement of the container
|
|
2817
|
+
*/
|
|
2818
|
+
"placement"?: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
667
2819
|
}
|
|
668
2820
|
interface PTooltip {
|
|
669
2821
|
/**
|
|
@@ -671,7 +2823,11 @@ declare namespace LocalJSX {
|
|
|
671
2823
|
*/
|
|
672
2824
|
"canManuallyClose"?: boolean;
|
|
673
2825
|
/**
|
|
674
|
-
*
|
|
2826
|
+
* Open change event
|
|
2827
|
+
*/
|
|
2828
|
+
"onIsOpen"?: (event: PTooltipCustomEvent<boolean>) => void;
|
|
2829
|
+
/**
|
|
2830
|
+
* The placement of the popover
|
|
675
2831
|
*/
|
|
676
2832
|
"placement"?: Placement;
|
|
677
2833
|
/**
|
|
@@ -682,16 +2838,31 @@ declare namespace LocalJSX {
|
|
|
682
2838
|
* Wether to show the popover
|
|
683
2839
|
*/
|
|
684
2840
|
"show"?: boolean;
|
|
2841
|
+
/**
|
|
2842
|
+
* The strategy of the popover placement
|
|
2843
|
+
*/
|
|
2844
|
+
"strategy"?: PositioningStrategy;
|
|
685
2845
|
/**
|
|
686
2846
|
* The variant of the popover
|
|
687
2847
|
*/
|
|
688
2848
|
"variant"?: 'hover' | 'click' | 'error';
|
|
689
2849
|
}
|
|
690
2850
|
interface IntrinsicElements {
|
|
2851
|
+
"p-accordion": PAccordion;
|
|
691
2852
|
"p-avatar": PAvatar;
|
|
2853
|
+
"p-avatar-group": PAvatarGroup;
|
|
2854
|
+
"p-backdrop": PBackdrop;
|
|
692
2855
|
"p-button": PButton;
|
|
2856
|
+
"p-card-body": PCardBody;
|
|
2857
|
+
"p-card-container": PCardContainer;
|
|
2858
|
+
"p-card-header": PCardHeader;
|
|
2859
|
+
"p-content-slider": PContentSlider;
|
|
693
2860
|
"p-counter": PCounter;
|
|
694
2861
|
"p-divider": PDivider;
|
|
2862
|
+
"p-drawer": PDrawer;
|
|
2863
|
+
"p-drawer-body": PDrawerBody;
|
|
2864
|
+
"p-drawer-container": PDrawerContainer;
|
|
2865
|
+
"p-drawer-header": PDrawerHeader;
|
|
695
2866
|
"p-dropdown": PDropdown;
|
|
696
2867
|
"p-dropdown-menu-container": PDropdownMenuContainer;
|
|
697
2868
|
"p-dropdown-menu-item": PDropdownMenuItem;
|
|
@@ -699,13 +2870,40 @@ declare namespace LocalJSX {
|
|
|
699
2870
|
"p-icon": PIcon;
|
|
700
2871
|
"p-illustration": PIllustration;
|
|
701
2872
|
"p-info-panel": PInfoPanel;
|
|
2873
|
+
"p-input-group": PInputGroup;
|
|
2874
|
+
"p-label": PLabel;
|
|
2875
|
+
"p-layout": PLayout;
|
|
702
2876
|
"p-loader": PLoader;
|
|
2877
|
+
"p-modal": PModal;
|
|
2878
|
+
"p-modal-body": PModalBody;
|
|
2879
|
+
"p-modal-container": PModalContainer;
|
|
2880
|
+
"p-modal-footer": PModalFooter;
|
|
2881
|
+
"p-modal-header": PModalHeader;
|
|
2882
|
+
"p-navbar": PNavbar;
|
|
703
2883
|
"p-navigation-item": PNavigationItem;
|
|
2884
|
+
"p-page-size-select": PPageSizeSelect;
|
|
704
2885
|
"p-pagination": PPagination;
|
|
705
2886
|
"p-pagination-item": PPaginationItem;
|
|
2887
|
+
"p-profile": PProfile;
|
|
706
2888
|
"p-segment-container": PSegmentContainer;
|
|
707
2889
|
"p-segment-item": PSegmentItem;
|
|
2890
|
+
"p-select": PSelect;
|
|
2891
|
+
"p-slider-indicator": PSliderIndicator;
|
|
708
2892
|
"p-status": PStatus;
|
|
2893
|
+
"p-stepper": PStepper;
|
|
2894
|
+
"p-stepper-item": PStepperItem;
|
|
2895
|
+
"p-stepper-line": PStepperLine;
|
|
2896
|
+
"p-tab-group": PTabGroup;
|
|
2897
|
+
"p-tab-item": PTabItem;
|
|
2898
|
+
"p-table": PTable;
|
|
2899
|
+
"p-table-cell": PTableCell;
|
|
2900
|
+
"p-table-column": PTableColumn;
|
|
2901
|
+
"p-table-container": PTableContainer;
|
|
2902
|
+
"p-table-footer": PTableFooter;
|
|
2903
|
+
"p-table-header": PTableHeader;
|
|
2904
|
+
"p-table-row": PTableRow;
|
|
2905
|
+
"p-toast": PToast;
|
|
2906
|
+
"p-toast-container": PToastContainer;
|
|
709
2907
|
"p-tooltip": PTooltip;
|
|
710
2908
|
}
|
|
711
2909
|
}
|
|
@@ -713,10 +2911,21 @@ export { LocalJSX as JSX };
|
|
|
713
2911
|
declare module "@stencil/core" {
|
|
714
2912
|
export namespace JSX {
|
|
715
2913
|
interface IntrinsicElements {
|
|
2914
|
+
"p-accordion": LocalJSX.PAccordion & JSXBase.HTMLAttributes<HTMLPAccordionElement>;
|
|
716
2915
|
"p-avatar": LocalJSX.PAvatar & JSXBase.HTMLAttributes<HTMLPAvatarElement>;
|
|
2916
|
+
"p-avatar-group": LocalJSX.PAvatarGroup & JSXBase.HTMLAttributes<HTMLPAvatarGroupElement>;
|
|
2917
|
+
"p-backdrop": LocalJSX.PBackdrop & JSXBase.HTMLAttributes<HTMLPBackdropElement>;
|
|
717
2918
|
"p-button": LocalJSX.PButton & JSXBase.HTMLAttributes<HTMLPButtonElement>;
|
|
2919
|
+
"p-card-body": LocalJSX.PCardBody & JSXBase.HTMLAttributes<HTMLPCardBodyElement>;
|
|
2920
|
+
"p-card-container": LocalJSX.PCardContainer & JSXBase.HTMLAttributes<HTMLPCardContainerElement>;
|
|
2921
|
+
"p-card-header": LocalJSX.PCardHeader & JSXBase.HTMLAttributes<HTMLPCardHeaderElement>;
|
|
2922
|
+
"p-content-slider": LocalJSX.PContentSlider & JSXBase.HTMLAttributes<HTMLPContentSliderElement>;
|
|
718
2923
|
"p-counter": LocalJSX.PCounter & JSXBase.HTMLAttributes<HTMLPCounterElement>;
|
|
719
2924
|
"p-divider": LocalJSX.PDivider & JSXBase.HTMLAttributes<HTMLPDividerElement>;
|
|
2925
|
+
"p-drawer": LocalJSX.PDrawer & JSXBase.HTMLAttributes<HTMLPDrawerElement>;
|
|
2926
|
+
"p-drawer-body": LocalJSX.PDrawerBody & JSXBase.HTMLAttributes<HTMLPDrawerBodyElement>;
|
|
2927
|
+
"p-drawer-container": LocalJSX.PDrawerContainer & JSXBase.HTMLAttributes<HTMLPDrawerContainerElement>;
|
|
2928
|
+
"p-drawer-header": LocalJSX.PDrawerHeader & JSXBase.HTMLAttributes<HTMLPDrawerHeaderElement>;
|
|
720
2929
|
"p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
|
|
721
2930
|
"p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
|
|
722
2931
|
"p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
|
|
@@ -724,13 +2933,40 @@ declare module "@stencil/core" {
|
|
|
724
2933
|
"p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
|
|
725
2934
|
"p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
|
|
726
2935
|
"p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
|
|
2936
|
+
"p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
|
|
2937
|
+
"p-label": LocalJSX.PLabel & JSXBase.HTMLAttributes<HTMLPLabelElement>;
|
|
2938
|
+
"p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
|
|
727
2939
|
"p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
|
|
2940
|
+
"p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
|
|
2941
|
+
"p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
|
|
2942
|
+
"p-modal-container": LocalJSX.PModalContainer & JSXBase.HTMLAttributes<HTMLPModalContainerElement>;
|
|
2943
|
+
"p-modal-footer": LocalJSX.PModalFooter & JSXBase.HTMLAttributes<HTMLPModalFooterElement>;
|
|
2944
|
+
"p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
|
|
2945
|
+
"p-navbar": LocalJSX.PNavbar & JSXBase.HTMLAttributes<HTMLPNavbarElement>;
|
|
728
2946
|
"p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
|
|
2947
|
+
"p-page-size-select": LocalJSX.PPageSizeSelect & JSXBase.HTMLAttributes<HTMLPPageSizeSelectElement>;
|
|
729
2948
|
"p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
|
|
730
2949
|
"p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
|
|
2950
|
+
"p-profile": LocalJSX.PProfile & JSXBase.HTMLAttributes<HTMLPProfileElement>;
|
|
731
2951
|
"p-segment-container": LocalJSX.PSegmentContainer & JSXBase.HTMLAttributes<HTMLPSegmentContainerElement>;
|
|
732
2952
|
"p-segment-item": LocalJSX.PSegmentItem & JSXBase.HTMLAttributes<HTMLPSegmentItemElement>;
|
|
2953
|
+
"p-select": LocalJSX.PSelect & JSXBase.HTMLAttributes<HTMLPSelectElement>;
|
|
2954
|
+
"p-slider-indicator": LocalJSX.PSliderIndicator & JSXBase.HTMLAttributes<HTMLPSliderIndicatorElement>;
|
|
733
2955
|
"p-status": LocalJSX.PStatus & JSXBase.HTMLAttributes<HTMLPStatusElement>;
|
|
2956
|
+
"p-stepper": LocalJSX.PStepper & JSXBase.HTMLAttributes<HTMLPStepperElement>;
|
|
2957
|
+
"p-stepper-item": LocalJSX.PStepperItem & JSXBase.HTMLAttributes<HTMLPStepperItemElement>;
|
|
2958
|
+
"p-stepper-line": LocalJSX.PStepperLine & JSXBase.HTMLAttributes<HTMLPStepperLineElement>;
|
|
2959
|
+
"p-tab-group": LocalJSX.PTabGroup & JSXBase.HTMLAttributes<HTMLPTabGroupElement>;
|
|
2960
|
+
"p-tab-item": LocalJSX.PTabItem & JSXBase.HTMLAttributes<HTMLPTabItemElement>;
|
|
2961
|
+
"p-table": LocalJSX.PTable & JSXBase.HTMLAttributes<HTMLPTableElement>;
|
|
2962
|
+
"p-table-cell": LocalJSX.PTableCell & JSXBase.HTMLAttributes<HTMLPTableCellElement>;
|
|
2963
|
+
"p-table-column": LocalJSX.PTableColumn & JSXBase.HTMLAttributes<HTMLPTableColumnElement>;
|
|
2964
|
+
"p-table-container": LocalJSX.PTableContainer & JSXBase.HTMLAttributes<HTMLPTableContainerElement>;
|
|
2965
|
+
"p-table-footer": LocalJSX.PTableFooter & JSXBase.HTMLAttributes<HTMLPTableFooterElement>;
|
|
2966
|
+
"p-table-header": LocalJSX.PTableHeader & JSXBase.HTMLAttributes<HTMLPTableHeaderElement>;
|
|
2967
|
+
"p-table-row": LocalJSX.PTableRow & JSXBase.HTMLAttributes<HTMLPTableRowElement>;
|
|
2968
|
+
"p-toast": LocalJSX.PToast & JSXBase.HTMLAttributes<HTMLPToastElement>;
|
|
2969
|
+
"p-toast-container": LocalJSX.PToastContainer & JSXBase.HTMLAttributes<HTMLPToastContainerElement>;
|
|
734
2970
|
"p-tooltip": LocalJSX.PTooltip & JSXBase.HTMLAttributes<HTMLPTooltipElement>;
|
|
735
2971
|
}
|
|
736
2972
|
}
|