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