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