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