@paperless/core 0.1.0-alpha.10 → 0.1.0-alpha.103
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 +954 -0
- package/README.md +1 -1
- 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/p-113baa35.entry.js +1 -0
- package/dist/build/p-19c20c8e.entry.js +1 -0
- package/dist/build/p-1ef22f4e.entry.js +1 -0
- package/dist/build/p-2beaf0e8.entry.js +1 -0
- package/dist/build/p-3f6c9d44.entry.js +1 -0
- package/dist/build/p-4336cbbc.entry.js +1 -0
- package/dist/build/p-4ca40a0a.entry.js +1 -0
- package/dist/build/p-58ce5668.entry.js +1 -0
- package/dist/build/p-6088647a.entry.js +1 -0
- package/dist/build/p-6835a9e3.entry.js +1 -0
- package/dist/build/p-6e778574.entry.js +1 -0
- package/dist/build/p-7947115e.entry.js +1 -0
- package/dist/build/p-79d3258f.entry.js +1 -0
- package/dist/build/p-801d05b6.entry.js +1 -0
- package/dist/build/p-829c4101.entry.js +1 -0
- package/dist/build/p-89fda3a8.entry.js +1 -0
- package/dist/build/p-8ac8a69d.entry.js +1 -0
- package/dist/build/{p-22129b00.entry.js → p-8b743795.entry.js} +1 -1
- package/dist/build/p-92b6c76c.entry.js +1 -0
- package/dist/build/p-938f52ee.entry.js +1 -0
- package/dist/build/p-9d98d0d9.entry.js +1 -0
- package/dist/build/p-a5ebbd0c.entry.js +1 -0
- package/dist/build/p-a6127c75.entry.js +1 -0
- package/dist/build/p-a7086ffa.js +1 -0
- package/dist/build/p-bc7e8cc4.js +2 -0
- package/dist/build/p-bd50db3d.entry.js +1 -0
- package/dist/build/p-c27046e6.entry.js +1 -0
- package/dist/build/p-c59d9fc2.entry.js +1 -0
- package/dist/build/p-cc177072.entry.js +1 -0
- package/dist/build/p-d32f2578.entry.js +1 -0
- package/dist/build/p-e20a1842.entry.js +1 -0
- package/dist/build/p-e2a98d53.entry.js +1 -0
- package/dist/build/p-e934ef94.entry.js +1 -0
- package/dist/build/p-e9e20ac3.entry.js +1 -0
- package/dist/build/p-ec2a5f95.entry.js +1 -0
- package/dist/build/p-ede5e914.entry.js +1 -0
- package/dist/build/paperless.css +190 -18
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-7caa3dae.js → index-9d3b51c9.js} +235 -5
- package/dist/cjs/loader.cjs.js +3 -3
- 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_2.cjs.entry.js +179 -0
- package/dist/cjs/p-button_3.cjs.entry.js +265 -13
- 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 +153 -0
- package/dist/cjs/p-counter.cjs.entry.js +11 -3
- package/dist/cjs/p-divider.cjs.entry.js +22 -0
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
- package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
- package/dist/cjs/p-helper.cjs.entry.js +7 -3
- 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.cjs.entry.js +51 -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 +48 -0
- package/dist/cjs/p-navbar.cjs.entry.js +34 -0
- package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
- package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
- package/dist/cjs/p-pagination.cjs.entry.js +171 -0
- package/dist/cjs/p-profile.cjs.entry.js +46 -0
- package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
- package/dist/cjs/p-segment-item.cjs.entry.js +29 -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 +71 -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-tag.cjs.entry.js +27 -0
- package/dist/cjs/p-tooltip.cjs.entry.js +35 -1807
- package/dist/cjs/paperless.cjs.js +3 -3
- package/dist/cjs/popper-e0c4ed4c.js +1790 -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 +35 -2
- package/dist/collection/components/atoms/avatar/avatar.component.css +12 -19
- package/dist/collection/components/atoms/avatar/avatar.component.js +10 -5
- 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 +41 -17
- package/dist/collection/components/atoms/button/button.component.js +109 -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 +10 -0
- package/dist/collection/components/atoms/divider/divider.component.js +20 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +6 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +64 -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/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 +2 -2
- package/dist/collection/components/atoms/loader/loader.component.js +4 -3
- 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 +16 -0
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
- 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/tag/tag.component.css +51 -0
- package/dist/collection/components/atoms/tag/tag.component.js +64 -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/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 +26 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +229 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +12 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +267 -0
- package/dist/collection/components/molecules/input-group/input-group.component.css +204 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js +264 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +22 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
- package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
- package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
- package/dist/collection/components/molecules/profile/profile.component.css +60 -0
- package/dist/collection/components/molecules/profile/profile.component.js +92 -0
- package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
- package/dist/collection/components/molecules/stepper/stepper.component.js +106 -0
- package/dist/collection/components/organisms/modal/modal.component.js +175 -0
- package/dist/collection/components/organisms/navbar/navbar.component.css +56 -0
- package/dist/collection/components/organisms/navbar/navbar.component.js +99 -0
- 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/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 +26 -14
- package/dist/collection/utils/child-of.js +5 -0
- package/dist/collection/utils/icons.js +18 -0
- package/dist/collection/utils/illustrations.js +2 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/components/avatar.component.js +54 -0
- package/dist/components/button.component.js +119 -0
- package/dist/components/counter.component.js +41 -0
- package/dist/components/divider.component.js +33 -0
- package/dist/components/dropdown-menu-container.component.js +29 -0
- package/dist/components/dropdown.component.js +170 -0
- package/dist/components/helper.component.js +42 -0
- package/dist/components/icon.component.js +236 -5
- package/dist/components/index.d.ts +42 -9
- package/dist/components/index.js +33 -0
- package/dist/components/loader.component.js +5 -4
- 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 +1 -47
- 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 +181 -0
- package/dist/components/p-counter.js +1 -28
- package/dist/components/p-divider.d.ts +11 -0
- package/dist/components/p-divider.js +6 -0
- 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 +46 -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 +96 -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 +111 -0
- package/dist/components/p-navbar.d.ts +11 -0
- package/dist/components/p-navbar.js +70 -0
- package/dist/components/p-navigation-item.d.ts +11 -0
- package/dist/components/p-navigation-item.js +55 -0
- package/dist/components/p-pagination-item.d.ts +11 -0
- package/dist/components/p-pagination-item.js +6 -0
- package/dist/components/p-pagination.d.ts +11 -0
- package/dist/components/p-pagination.js +200 -0
- package/dist/components/p-profile.d.ts +11 -0
- package/dist/components/p-profile.js +88 -0
- package/dist/components/p-segment-container.d.ts +11 -0
- package/dist/components/p-segment-container.js +32 -0
- package/dist/components/p-segment-item.d.ts +11 -0
- package/dist/components/p-segment-item.js +54 -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 +106 -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-tag.d.ts +11 -0
- package/dist/components/p-tag.js +44 -0
- package/dist/components/pagination-item.component.js +36 -0
- package/dist/components/popper.js +1788 -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/tooltip.component.js +37 -1808
- package/dist/esm/{index-d61d31b2.js → index-9062156b.js} +235 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +38 -0
- package/dist/esm/p-avatar-group.entry.js +15 -0
- package/dist/esm/p-avatar_2.entry.js +174 -0
- package/dist/esm/p-button_3.entry.js +265 -13
- 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 +149 -0
- package/dist/esm/p-counter.entry.js +11 -3
- package/dist/esm/p-divider.entry.js +18 -0
- package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
- package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
- package/dist/esm/p-helper.entry.js +7 -3
- 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.entry.js +47 -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 +44 -0
- package/dist/esm/p-navbar.entry.js +30 -0
- package/dist/esm/p-navigation-item.entry.js +19 -0
- package/dist/esm/p-pagination-item.entry.js +19 -0
- package/dist/esm/p-pagination.entry.js +167 -0
- package/dist/esm/p-profile.entry.js +42 -0
- package/dist/esm/p-segment-container.entry.js +15 -0
- package/dist/esm/p-segment-item.entry.js +25 -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 +67 -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-tag.entry.js +23 -0
- package/dist/esm/p-tooltip.entry.js +35 -1807
- 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/p-113baa35.entry.js +1 -0
- package/dist/paperless/p-19c20c8e.entry.js +1 -0
- package/dist/paperless/p-1ef22f4e.entry.js +1 -0
- package/dist/paperless/p-2beaf0e8.entry.js +1 -0
- package/dist/paperless/p-3f6c9d44.entry.js +1 -0
- package/dist/paperless/p-4336cbbc.entry.js +1 -0
- package/dist/paperless/p-4ca40a0a.entry.js +1 -0
- package/dist/paperless/p-58ce5668.entry.js +1 -0
- package/dist/paperless/p-6088647a.entry.js +1 -0
- package/dist/paperless/p-6835a9e3.entry.js +1 -0
- package/dist/paperless/p-6e778574.entry.js +1 -0
- package/dist/paperless/p-7947115e.entry.js +1 -0
- package/dist/paperless/p-79d3258f.entry.js +1 -0
- package/dist/paperless/p-801d05b6.entry.js +1 -0
- package/dist/paperless/p-829c4101.entry.js +1 -0
- package/dist/paperless/p-89fda3a8.entry.js +1 -0
- package/dist/paperless/p-8ac8a69d.entry.js +1 -0
- package/dist/paperless/{p-22129b00.entry.js → p-8b743795.entry.js} +1 -1
- package/dist/paperless/p-92b6c76c.entry.js +1 -0
- package/dist/paperless/p-938f52ee.entry.js +1 -0
- package/dist/paperless/p-9d98d0d9.entry.js +1 -0
- package/dist/paperless/p-a5ebbd0c.entry.js +1 -0
- package/dist/paperless/p-a6127c75.entry.js +1 -0
- package/dist/paperless/p-a7086ffa.js +1 -0
- package/dist/paperless/p-bc7e8cc4.js +2 -0
- package/dist/paperless/p-bd50db3d.entry.js +1 -0
- package/dist/paperless/p-c27046e6.entry.js +1 -0
- package/dist/paperless/p-c59d9fc2.entry.js +1 -0
- package/dist/paperless/p-cc177072.entry.js +1 -0
- package/dist/paperless/p-d32f2578.entry.js +1 -0
- package/dist/paperless/p-e20a1842.entry.js +1 -0
- package/dist/paperless/p-e2a98d53.entry.js +1 -0
- package/dist/paperless/p-e934ef94.entry.js +1 -0
- package/dist/paperless/p-e9e20ac3.entry.js +1 -0
- package/dist/paperless/p-ec2a5f95.entry.js +1 -0
- package/dist/paperless/p-ede5e914.entry.js +1 -0
- package/dist/paperless/paperless.css +288 -26451
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +2 -368
- 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/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 +26 -14
- package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
- package/dist/types/components/atoms/button/button.component.d.ts +18 -1
- package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
- package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
- package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
- package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
- package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +12 -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/layout/layout.component.d.ts +7 -0
- 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/pagination-item/pagination-item.component.d.ts +7 -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/tag/tag.component.d.ts +11 -0
- package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +12 -3
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +44 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +47 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +53 -0
- package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
- package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
- package/dist/types/components/molecules/profile/profile.component.d.ts +19 -0
- package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +38 -0
- package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
- package/dist/types/components.d.ts +1277 -140
- package/dist/types/utils/child-of.d.ts +1 -0
- package/dist/types/utils/icons.d.ts +9 -0
- package/dist/types/utils/illustrations.d.ts +1 -0
- package/dist/types/utils/types.d.ts +2 -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-44a929c9.entry.js +0 -1
- package/dist/build/p-6794871e.entry.js +0 -1
- package/dist/build/p-8cb80a47.entry.js +0 -1
- package/dist/build/p-a2fc051b.entry.js +0 -1
- package/dist/build/p-a4ea5760.entry.js +0 -1
- package/dist/build/p-b4ef7a57.entry.js +0 -1
- package/dist/build/p-fa6ab882.js +0 -2
- package/dist/cjs/p-avatar.cjs.entry.js +0 -32
- package/dist/collection/tailwind/grid.js +0 -26
- package/dist/esm/p-avatar.entry.js +0 -28
- package/dist/paperless/p-44a929c9.entry.js +0 -1
- package/dist/paperless/p-6794871e.entry.js +0 -1
- package/dist/paperless/p-8cb80a47.entry.js +0 -1
- package/dist/paperless/p-a2fc051b.entry.js +0 -1
- package/dist/paperless/p-a4ea5760.entry.js +0 -1
- package/dist/paperless/p-b4ef7a57.entry.js +0 -1
- package/dist/paperless/p-fa6ab882.js +0 -2
|
@@ -6,11 +6,30 @@
|
|
|
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 "./utils/types";
|
|
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 { Placement } from "@popperjs/core";
|
|
13
14
|
export namespace Components {
|
|
15
|
+
interface PAccordion {
|
|
16
|
+
/**
|
|
17
|
+
* Wether the accordion can be closed
|
|
18
|
+
*/
|
|
19
|
+
"closeable": boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Header of the accordion
|
|
22
|
+
*/
|
|
23
|
+
"header": string;
|
|
24
|
+
/**
|
|
25
|
+
* Wether the accordion is open
|
|
26
|
+
*/
|
|
27
|
+
"open": boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Wether the accordion can be opened
|
|
30
|
+
*/
|
|
31
|
+
"openable": boolean;
|
|
32
|
+
}
|
|
14
33
|
interface PAvatar {
|
|
15
34
|
/**
|
|
16
35
|
* The default image to show on errors
|
|
@@ -29,7 +48,17 @@ export namespace Components {
|
|
|
29
48
|
*/
|
|
30
49
|
"variant": 'user' | 'company';
|
|
31
50
|
}
|
|
51
|
+
interface PAvatarGroup {
|
|
52
|
+
/**
|
|
53
|
+
* The amount to show after the avatars
|
|
54
|
+
*/
|
|
55
|
+
"extra": number;
|
|
56
|
+
}
|
|
32
57
|
interface PButton {
|
|
58
|
+
/**
|
|
59
|
+
* Wether to show a chevron or not
|
|
60
|
+
*/
|
|
61
|
+
"chevron": boolean | 'up' | 'down';
|
|
33
62
|
/**
|
|
34
63
|
* Wether the button is disabled
|
|
35
64
|
*/
|
|
@@ -46,6 +75,10 @@ export namespace Components {
|
|
|
46
75
|
* Icon flip
|
|
47
76
|
*/
|
|
48
77
|
"iconFlip": IconFlipOptions;
|
|
78
|
+
/**
|
|
79
|
+
* Wether the button is icon only
|
|
80
|
+
*/
|
|
81
|
+
"iconOnly": boolean;
|
|
49
82
|
/**
|
|
50
83
|
* Icon position
|
|
51
84
|
*/
|
|
@@ -53,7 +86,11 @@ export namespace Components {
|
|
|
53
86
|
/**
|
|
54
87
|
* Icon rotate
|
|
55
88
|
*/
|
|
56
|
-
"iconRotate":
|
|
89
|
+
"iconRotate": RotateOptions;
|
|
90
|
+
/**
|
|
91
|
+
* Wether the button should inherit text styles
|
|
92
|
+
*/
|
|
93
|
+
"inheritText": boolean;
|
|
57
94
|
/**
|
|
58
95
|
* Wether to show a loader or not
|
|
59
96
|
*/
|
|
@@ -70,10 +107,102 @@ export namespace Components {
|
|
|
70
107
|
* The variant of the button
|
|
71
108
|
*/
|
|
72
109
|
"variant": 'primary' | 'secondary' | 'text';
|
|
110
|
+
/**
|
|
111
|
+
* The width of the button
|
|
112
|
+
*/
|
|
113
|
+
"width": 'auto' | 'full';
|
|
114
|
+
}
|
|
115
|
+
interface PCardBody {
|
|
116
|
+
/**
|
|
117
|
+
* Wether the button should inherit text styles
|
|
118
|
+
*/
|
|
119
|
+
"inheritText": boolean;
|
|
120
|
+
}
|
|
121
|
+
interface PCardContainer {
|
|
122
|
+
/**
|
|
123
|
+
* Wether the card should be hoverable
|
|
124
|
+
*/
|
|
125
|
+
"hoverable": boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Wether the card should have shadow
|
|
128
|
+
*/
|
|
129
|
+
"shadow": boolean;
|
|
130
|
+
}
|
|
131
|
+
interface PCardHeader {
|
|
132
|
+
/**
|
|
133
|
+
* Enable the title arrow
|
|
134
|
+
*/
|
|
135
|
+
"arrow": boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Content of the card header
|
|
138
|
+
*/
|
|
139
|
+
"header": string;
|
|
140
|
+
}
|
|
141
|
+
interface PContentSlider {
|
|
142
|
+
/**
|
|
143
|
+
* Wether to disable dragging the content
|
|
144
|
+
*/
|
|
145
|
+
"disableDrag": boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Wether to disable clicking the indicator scrolls content
|
|
148
|
+
*/
|
|
149
|
+
"disableIndicatorClick": boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Wether to hide the indicator on mobile
|
|
152
|
+
*/
|
|
153
|
+
"hideMobileIndicator": boolean;
|
|
73
154
|
}
|
|
74
155
|
interface PCounter {
|
|
156
|
+
/**
|
|
157
|
+
* The size of the counter
|
|
158
|
+
*/
|
|
159
|
+
"size": 'default' | 'mini';
|
|
160
|
+
/**
|
|
161
|
+
* The variant of the counter
|
|
162
|
+
*/
|
|
163
|
+
"variant": 'info' | 'negative' | 'positive' | 'unbiased';
|
|
164
|
+
}
|
|
165
|
+
interface PDivider {
|
|
166
|
+
}
|
|
167
|
+
interface PDropdown {
|
|
168
|
+
/**
|
|
169
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
170
|
+
*/
|
|
171
|
+
"disableTriggerClick": boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
174
|
+
*/
|
|
175
|
+
"insideClick": boolean;
|
|
176
|
+
/**
|
|
177
|
+
* The content of the dropdown menu
|
|
178
|
+
*/
|
|
179
|
+
"placement": Placement;
|
|
180
|
+
/**
|
|
181
|
+
* Wether to show the dropdown menu
|
|
182
|
+
*/
|
|
183
|
+
"show": boolean;
|
|
184
|
+
/**
|
|
185
|
+
* The strategy of the popover placement
|
|
186
|
+
*/
|
|
187
|
+
"strategy": PositioningStrategy;
|
|
188
|
+
}
|
|
189
|
+
interface PDropdownMenuContainer {
|
|
190
|
+
}
|
|
191
|
+
interface PDropdownMenuItem {
|
|
192
|
+
/**
|
|
193
|
+
* Wether the dropdown menu item is active
|
|
194
|
+
*/
|
|
195
|
+
"active": boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Icon of the navigation item
|
|
198
|
+
*/
|
|
199
|
+
"icon": IconVariant;
|
|
75
200
|
}
|
|
76
201
|
interface PHelper {
|
|
202
|
+
/**
|
|
203
|
+
* The placement of the helper popover
|
|
204
|
+
*/
|
|
205
|
+
"placement": Placement;
|
|
77
206
|
}
|
|
78
207
|
interface PIcon {
|
|
79
208
|
/**
|
|
@@ -83,11 +212,11 @@ export namespace Components {
|
|
|
83
212
|
/**
|
|
84
213
|
* Wether to rotate the icon x degrees
|
|
85
214
|
*/
|
|
86
|
-
"rotate":
|
|
215
|
+
"rotate": RotateOptions;
|
|
87
216
|
/**
|
|
88
217
|
* The size of the icon, using tailwind sizes
|
|
89
218
|
*/
|
|
90
|
-
"size":
|
|
219
|
+
"size": TextSizeOptions;
|
|
91
220
|
/**
|
|
92
221
|
* The icon the be displayed
|
|
93
222
|
*/
|
|
@@ -117,6 +246,54 @@ export namespace Components {
|
|
|
117
246
|
*/
|
|
118
247
|
"variant": 'info' | 'negative' | 'positive' | 'unbiased';
|
|
119
248
|
}
|
|
249
|
+
interface PInputGroup {
|
|
250
|
+
/**
|
|
251
|
+
* Wether the input group is disabled
|
|
252
|
+
*/
|
|
253
|
+
"disabled": boolean;
|
|
254
|
+
/**
|
|
255
|
+
* The helper of the input group
|
|
256
|
+
*/
|
|
257
|
+
"error": string;
|
|
258
|
+
/**
|
|
259
|
+
* Wether the input group is focused
|
|
260
|
+
*/
|
|
261
|
+
"focused": boolean;
|
|
262
|
+
/**
|
|
263
|
+
* The helper of the input group
|
|
264
|
+
*/
|
|
265
|
+
"helper": string;
|
|
266
|
+
/**
|
|
267
|
+
* Icon of the navigation item
|
|
268
|
+
*/
|
|
269
|
+
"icon": IconVariant;
|
|
270
|
+
/**
|
|
271
|
+
* Icon flip
|
|
272
|
+
*/
|
|
273
|
+
"iconFlip": IconFlipOptions;
|
|
274
|
+
/**
|
|
275
|
+
* Icon rotate
|
|
276
|
+
*/
|
|
277
|
+
"iconRotate": RotateOptions;
|
|
278
|
+
/**
|
|
279
|
+
* The label of the input group
|
|
280
|
+
*/
|
|
281
|
+
"label": string;
|
|
282
|
+
/**
|
|
283
|
+
* The prefix of the input group
|
|
284
|
+
*/
|
|
285
|
+
"prefix": string;
|
|
286
|
+
/**
|
|
287
|
+
* The suffix of the input group
|
|
288
|
+
*/
|
|
289
|
+
"suffix": string;
|
|
290
|
+
}
|
|
291
|
+
interface PLayout {
|
|
292
|
+
/**
|
|
293
|
+
* Variant of the layout
|
|
294
|
+
*/
|
|
295
|
+
"variant": 'default' | 'login';
|
|
296
|
+
}
|
|
120
297
|
interface PLoader {
|
|
121
298
|
/**
|
|
122
299
|
* Color of the loader
|
|
@@ -139,204 +316,816 @@ export namespace Components {
|
|
|
139
316
|
*/
|
|
140
317
|
"variant": 'inline' | 'full-width' | 'full-screen' | 'modal';
|
|
141
318
|
}
|
|
142
|
-
interface
|
|
319
|
+
interface PModal {
|
|
143
320
|
/**
|
|
144
|
-
*
|
|
321
|
+
* The Header of the modal
|
|
145
322
|
*/
|
|
146
|
-
"
|
|
323
|
+
"header": string;
|
|
147
324
|
/**
|
|
148
|
-
*
|
|
325
|
+
* Wether to show the modal or not
|
|
149
326
|
*/
|
|
150
|
-
"
|
|
327
|
+
"show": boolean;
|
|
151
328
|
/**
|
|
152
|
-
*
|
|
329
|
+
* Wether to show the close on mobile in the header
|
|
153
330
|
*/
|
|
154
|
-
"
|
|
331
|
+
"showMobileClose": boolean;
|
|
155
332
|
/**
|
|
156
|
-
* Wether to show the
|
|
333
|
+
* Wether to show the footer on mobile
|
|
157
334
|
*/
|
|
158
|
-
"
|
|
335
|
+
"showMobileFooter": boolean;
|
|
159
336
|
/**
|
|
160
|
-
* The
|
|
337
|
+
* The size of the modal container
|
|
161
338
|
*/
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
target: HTMLPButtonElement;
|
|
168
|
-
}
|
|
169
|
-
declare global {
|
|
170
|
-
interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
|
|
171
|
-
}
|
|
172
|
-
var HTMLPAvatarElement: {
|
|
173
|
-
prototype: HTMLPAvatarElement;
|
|
174
|
-
new (): HTMLPAvatarElement;
|
|
175
|
-
};
|
|
176
|
-
interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
|
|
177
|
-
}
|
|
178
|
-
var HTMLPButtonElement: {
|
|
179
|
-
prototype: HTMLPButtonElement;
|
|
180
|
-
new (): HTMLPButtonElement;
|
|
181
|
-
};
|
|
182
|
-
interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
|
|
183
|
-
}
|
|
184
|
-
var HTMLPCounterElement: {
|
|
185
|
-
prototype: HTMLPCounterElement;
|
|
186
|
-
new (): HTMLPCounterElement;
|
|
187
|
-
};
|
|
188
|
-
interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
|
|
189
|
-
}
|
|
190
|
-
var HTMLPHelperElement: {
|
|
191
|
-
prototype: HTMLPHelperElement;
|
|
192
|
-
new (): HTMLPHelperElement;
|
|
193
|
-
};
|
|
194
|
-
interface HTMLPIconElement extends Components.PIcon, HTMLStencilElement {
|
|
195
|
-
}
|
|
196
|
-
var HTMLPIconElement: {
|
|
197
|
-
prototype: HTMLPIconElement;
|
|
198
|
-
new (): HTMLPIconElement;
|
|
199
|
-
};
|
|
200
|
-
interface HTMLPIllustrationElement extends Components.PIllustration, HTMLStencilElement {
|
|
201
|
-
}
|
|
202
|
-
var HTMLPIllustrationElement: {
|
|
203
|
-
prototype: HTMLPIllustrationElement;
|
|
204
|
-
new (): HTMLPIllustrationElement;
|
|
205
|
-
};
|
|
206
|
-
interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
|
|
339
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
340
|
+
/**
|
|
341
|
+
* The variant of the modal body
|
|
342
|
+
*/
|
|
343
|
+
"variant": 'default' | 'table';
|
|
207
344
|
}
|
|
208
|
-
|
|
209
|
-
prototype: HTMLPInfoPanelElement;
|
|
210
|
-
new (): HTMLPInfoPanelElement;
|
|
211
|
-
};
|
|
212
|
-
interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
|
|
345
|
+
interface PModalBackdrop {
|
|
213
346
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
347
|
+
interface PModalBody {
|
|
348
|
+
/**
|
|
349
|
+
* The variant of the modal body
|
|
350
|
+
*/
|
|
351
|
+
"variant": 'default' | 'table';
|
|
219
352
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
"p-avatar": HTMLPAvatarElement;
|
|
226
|
-
"p-button": HTMLPButtonElement;
|
|
227
|
-
"p-counter": HTMLPCounterElement;
|
|
228
|
-
"p-helper": HTMLPHelperElement;
|
|
229
|
-
"p-icon": HTMLPIconElement;
|
|
230
|
-
"p-illustration": HTMLPIllustrationElement;
|
|
231
|
-
"p-info-panel": HTMLPInfoPanelElement;
|
|
232
|
-
"p-loader": HTMLPLoaderElement;
|
|
233
|
-
"p-tooltip": HTMLPTooltipElement;
|
|
353
|
+
interface PModalContainer {
|
|
354
|
+
/**
|
|
355
|
+
* The size of the modal container
|
|
356
|
+
*/
|
|
357
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
234
358
|
}
|
|
235
|
-
|
|
236
|
-
declare namespace LocalJSX {
|
|
237
|
-
interface PAvatar {
|
|
359
|
+
interface PModalFooter {
|
|
238
360
|
/**
|
|
239
|
-
*
|
|
361
|
+
* Wether to show the footer on mobile
|
|
240
362
|
*/
|
|
241
|
-
"
|
|
363
|
+
"hideOnMobile": boolean;
|
|
364
|
+
}
|
|
365
|
+
interface PModalHeader {
|
|
242
366
|
/**
|
|
243
|
-
*
|
|
367
|
+
* Wether to show the close button on mobile
|
|
244
368
|
*/
|
|
245
|
-
"
|
|
369
|
+
"showMobileClose": boolean;
|
|
370
|
+
}
|
|
371
|
+
interface PNavbar {
|
|
246
372
|
/**
|
|
247
|
-
* The
|
|
373
|
+
* The text to display for the close button
|
|
248
374
|
*/
|
|
249
|
-
"
|
|
375
|
+
"closeText": string;
|
|
250
376
|
/**
|
|
251
|
-
* The
|
|
377
|
+
* The text to display for the menu button & sidebar title
|
|
252
378
|
*/
|
|
253
|
-
"
|
|
379
|
+
"menuText": string;
|
|
254
380
|
}
|
|
255
|
-
interface
|
|
381
|
+
interface PNavigationItem {
|
|
256
382
|
/**
|
|
257
|
-
* Wether the
|
|
383
|
+
* Wether the navigation item is active
|
|
258
384
|
*/
|
|
259
|
-
"
|
|
385
|
+
"active": boolean;
|
|
260
386
|
/**
|
|
261
|
-
*
|
|
387
|
+
* Icon of the navigation item
|
|
262
388
|
*/
|
|
263
|
-
"
|
|
389
|
+
"counter": number | string;
|
|
264
390
|
/**
|
|
265
|
-
*
|
|
391
|
+
* The href of the navigation item
|
|
266
392
|
*/
|
|
267
|
-
"
|
|
393
|
+
"href": string;
|
|
268
394
|
/**
|
|
269
|
-
* Icon
|
|
395
|
+
* Icon of the navigation item
|
|
270
396
|
*/
|
|
271
|
-
"
|
|
397
|
+
"icon": IconVariant;
|
|
272
398
|
/**
|
|
273
|
-
*
|
|
399
|
+
* The target of the navigation item
|
|
274
400
|
*/
|
|
275
|
-
"
|
|
401
|
+
"target": string;
|
|
402
|
+
}
|
|
403
|
+
interface PPagination {
|
|
276
404
|
/**
|
|
277
|
-
*
|
|
405
|
+
* The current page
|
|
278
406
|
*/
|
|
279
|
-
"
|
|
407
|
+
"page": number;
|
|
280
408
|
/**
|
|
281
|
-
*
|
|
409
|
+
* The amount of items per page
|
|
282
410
|
*/
|
|
283
|
-
"
|
|
411
|
+
"pageSize": number;
|
|
284
412
|
/**
|
|
285
|
-
*
|
|
413
|
+
* The total amount of items
|
|
286
414
|
*/
|
|
287
|
-
"
|
|
415
|
+
"total": number;
|
|
416
|
+
}
|
|
417
|
+
interface PPaginationItem {
|
|
288
418
|
/**
|
|
289
|
-
*
|
|
419
|
+
* Wether the pagination item is active
|
|
290
420
|
*/
|
|
291
|
-
"
|
|
421
|
+
"active": boolean;
|
|
422
|
+
}
|
|
423
|
+
interface PProfile {
|
|
292
424
|
/**
|
|
293
|
-
*
|
|
425
|
+
* The size of the profile avatar
|
|
294
426
|
*/
|
|
295
|
-
"
|
|
427
|
+
"size": 'small' | 'medium' | 'large';
|
|
296
428
|
/**
|
|
297
|
-
* The variant of the
|
|
429
|
+
* The variant of the profile
|
|
298
430
|
*/
|
|
299
|
-
"variant"
|
|
300
|
-
}
|
|
301
|
-
interface PCounter {
|
|
431
|
+
"variant": 'company' | 'user';
|
|
302
432
|
}
|
|
303
|
-
interface
|
|
433
|
+
interface PSegmentContainer {
|
|
304
434
|
}
|
|
305
|
-
interface
|
|
435
|
+
interface PSegmentItem {
|
|
306
436
|
/**
|
|
307
|
-
* Wether
|
|
437
|
+
* Wether the segment item is active
|
|
308
438
|
*/
|
|
309
|
-
"
|
|
439
|
+
"active": boolean;
|
|
310
440
|
/**
|
|
311
|
-
*
|
|
441
|
+
* Icon to show on the segment item
|
|
312
442
|
*/
|
|
313
|
-
"
|
|
443
|
+
"icon": IconVariant;
|
|
314
444
|
/**
|
|
315
|
-
*
|
|
445
|
+
* Icon flip
|
|
316
446
|
*/
|
|
317
|
-
"
|
|
447
|
+
"iconFlip": IconFlipOptions;
|
|
318
448
|
/**
|
|
319
|
-
*
|
|
449
|
+
* Icon rotate
|
|
320
450
|
*/
|
|
321
|
-
"
|
|
451
|
+
"iconRotate": RotateOptions;
|
|
322
452
|
}
|
|
323
|
-
interface
|
|
453
|
+
interface PSliderIndicator {
|
|
324
454
|
/**
|
|
325
|
-
*
|
|
455
|
+
* Wether the slider indicator is active
|
|
326
456
|
*/
|
|
327
|
-
"
|
|
457
|
+
"active": boolean;
|
|
328
458
|
}
|
|
329
|
-
interface
|
|
459
|
+
interface PStatus {
|
|
330
460
|
/**
|
|
331
|
-
*
|
|
461
|
+
* Icon to show on the status
|
|
332
462
|
*/
|
|
333
|
-
"
|
|
463
|
+
"icon": IconVariant;
|
|
334
464
|
/**
|
|
335
|
-
*
|
|
465
|
+
* Icon flip
|
|
336
466
|
*/
|
|
337
|
-
"
|
|
467
|
+
"iconFlip": IconFlipOptions;
|
|
338
468
|
/**
|
|
339
|
-
*
|
|
469
|
+
* Icon rotate
|
|
470
|
+
*/
|
|
471
|
+
"iconRotate": RotateOptions;
|
|
472
|
+
/**
|
|
473
|
+
* The variant of the status
|
|
474
|
+
*/
|
|
475
|
+
"variant": 'default' | 'positive' | 'unbiased' | 'negative';
|
|
476
|
+
}
|
|
477
|
+
interface PStepper {
|
|
478
|
+
/**
|
|
479
|
+
* The currently active step
|
|
480
|
+
*/
|
|
481
|
+
"activeStep": number;
|
|
482
|
+
/**
|
|
483
|
+
* The direction of the stepper
|
|
484
|
+
*/
|
|
485
|
+
"direction": 'horizontal' | 'vertical';
|
|
486
|
+
}
|
|
487
|
+
interface PStepperItem {
|
|
488
|
+
/**
|
|
489
|
+
* Wether the step is active
|
|
490
|
+
*/
|
|
491
|
+
"active": boolean;
|
|
492
|
+
/**
|
|
493
|
+
* The alignment of the step content
|
|
494
|
+
*/
|
|
495
|
+
"align": 'start' | 'center' | 'end';
|
|
496
|
+
/**
|
|
497
|
+
* The direction of the stepper step
|
|
498
|
+
*/
|
|
499
|
+
"direction": 'horizontal' | 'vertical';
|
|
500
|
+
/**
|
|
501
|
+
* Wether the step is finished
|
|
502
|
+
*/
|
|
503
|
+
"finished": boolean;
|
|
504
|
+
}
|
|
505
|
+
interface PStepperLine {
|
|
506
|
+
/**
|
|
507
|
+
* Wether the line is active
|
|
508
|
+
*/
|
|
509
|
+
"active": boolean;
|
|
510
|
+
/**
|
|
511
|
+
* The direction of the stepper line
|
|
512
|
+
*/
|
|
513
|
+
"direction": 'horizontal' | 'vertical';
|
|
514
|
+
}
|
|
515
|
+
interface PTabGroup {
|
|
516
|
+
}
|
|
517
|
+
interface PTabItem {
|
|
518
|
+
/**
|
|
519
|
+
* Wether the tab item is active
|
|
520
|
+
*/
|
|
521
|
+
"active": boolean;
|
|
522
|
+
}
|
|
523
|
+
interface PTag {
|
|
524
|
+
/**
|
|
525
|
+
* Wether to add the circle or not
|
|
526
|
+
*/
|
|
527
|
+
"circle": boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Variant of the tag
|
|
530
|
+
*/
|
|
531
|
+
"variant": | 'positive'
|
|
532
|
+
| 'unbiased'
|
|
533
|
+
| 'negative'
|
|
534
|
+
| 'info';
|
|
535
|
+
}
|
|
536
|
+
interface PTooltip {
|
|
537
|
+
/**
|
|
538
|
+
* Wether to someone can manually close the popover
|
|
539
|
+
*/
|
|
540
|
+
"canManuallyClose": boolean;
|
|
541
|
+
/**
|
|
542
|
+
* The placement of the popover
|
|
543
|
+
*/
|
|
544
|
+
"placement": Placement;
|
|
545
|
+
/**
|
|
546
|
+
* The content of the popover
|
|
547
|
+
*/
|
|
548
|
+
"popover": any;
|
|
549
|
+
/**
|
|
550
|
+
* Wether to show the popover
|
|
551
|
+
*/
|
|
552
|
+
"show": boolean;
|
|
553
|
+
/**
|
|
554
|
+
* The strategy of the popover placement
|
|
555
|
+
*/
|
|
556
|
+
"strategy": PositioningStrategy;
|
|
557
|
+
/**
|
|
558
|
+
* The variant of the popover
|
|
559
|
+
*/
|
|
560
|
+
"variant": 'hover' | 'click' | 'error';
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
export interface PAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
564
|
+
detail: T;
|
|
565
|
+
target: HTMLPAccordionElement;
|
|
566
|
+
}
|
|
567
|
+
export interface PButtonCustomEvent<T> extends CustomEvent<T> {
|
|
568
|
+
detail: T;
|
|
569
|
+
target: HTMLPButtonElement;
|
|
570
|
+
}
|
|
571
|
+
export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
572
|
+
detail: T;
|
|
573
|
+
target: HTMLPDropdownElement;
|
|
574
|
+
}
|
|
575
|
+
export interface PModalCustomEvent<T> extends CustomEvent<T> {
|
|
576
|
+
detail: T;
|
|
577
|
+
target: HTMLPModalElement;
|
|
578
|
+
}
|
|
579
|
+
export interface PModalHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
580
|
+
detail: T;
|
|
581
|
+
target: HTMLPModalHeaderElement;
|
|
582
|
+
}
|
|
583
|
+
export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
584
|
+
detail: T;
|
|
585
|
+
target: HTMLPPaginationElement;
|
|
586
|
+
}
|
|
587
|
+
export interface PTooltipCustomEvent<T> extends CustomEvent<T> {
|
|
588
|
+
detail: T;
|
|
589
|
+
target: HTMLPTooltipElement;
|
|
590
|
+
}
|
|
591
|
+
declare global {
|
|
592
|
+
interface HTMLPAccordionElement extends Components.PAccordion, HTMLStencilElement {
|
|
593
|
+
}
|
|
594
|
+
var HTMLPAccordionElement: {
|
|
595
|
+
prototype: HTMLPAccordionElement;
|
|
596
|
+
new (): HTMLPAccordionElement;
|
|
597
|
+
};
|
|
598
|
+
interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
|
|
599
|
+
}
|
|
600
|
+
var HTMLPAvatarElement: {
|
|
601
|
+
prototype: HTMLPAvatarElement;
|
|
602
|
+
new (): HTMLPAvatarElement;
|
|
603
|
+
};
|
|
604
|
+
interface HTMLPAvatarGroupElement extends Components.PAvatarGroup, HTMLStencilElement {
|
|
605
|
+
}
|
|
606
|
+
var HTMLPAvatarGroupElement: {
|
|
607
|
+
prototype: HTMLPAvatarGroupElement;
|
|
608
|
+
new (): HTMLPAvatarGroupElement;
|
|
609
|
+
};
|
|
610
|
+
interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
|
|
611
|
+
}
|
|
612
|
+
var HTMLPButtonElement: {
|
|
613
|
+
prototype: HTMLPButtonElement;
|
|
614
|
+
new (): HTMLPButtonElement;
|
|
615
|
+
};
|
|
616
|
+
interface HTMLPCardBodyElement extends Components.PCardBody, HTMLStencilElement {
|
|
617
|
+
}
|
|
618
|
+
var HTMLPCardBodyElement: {
|
|
619
|
+
prototype: HTMLPCardBodyElement;
|
|
620
|
+
new (): HTMLPCardBodyElement;
|
|
621
|
+
};
|
|
622
|
+
interface HTMLPCardContainerElement extends Components.PCardContainer, HTMLStencilElement {
|
|
623
|
+
}
|
|
624
|
+
var HTMLPCardContainerElement: {
|
|
625
|
+
prototype: HTMLPCardContainerElement;
|
|
626
|
+
new (): HTMLPCardContainerElement;
|
|
627
|
+
};
|
|
628
|
+
interface HTMLPCardHeaderElement extends Components.PCardHeader, HTMLStencilElement {
|
|
629
|
+
}
|
|
630
|
+
var HTMLPCardHeaderElement: {
|
|
631
|
+
prototype: HTMLPCardHeaderElement;
|
|
632
|
+
new (): HTMLPCardHeaderElement;
|
|
633
|
+
};
|
|
634
|
+
interface HTMLPContentSliderElement extends Components.PContentSlider, HTMLStencilElement {
|
|
635
|
+
}
|
|
636
|
+
var HTMLPContentSliderElement: {
|
|
637
|
+
prototype: HTMLPContentSliderElement;
|
|
638
|
+
new (): HTMLPContentSliderElement;
|
|
639
|
+
};
|
|
640
|
+
interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
|
|
641
|
+
}
|
|
642
|
+
var HTMLPCounterElement: {
|
|
643
|
+
prototype: HTMLPCounterElement;
|
|
644
|
+
new (): HTMLPCounterElement;
|
|
645
|
+
};
|
|
646
|
+
interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
|
|
647
|
+
}
|
|
648
|
+
var HTMLPDividerElement: {
|
|
649
|
+
prototype: HTMLPDividerElement;
|
|
650
|
+
new (): HTMLPDividerElement;
|
|
651
|
+
};
|
|
652
|
+
interface HTMLPDropdownElement extends Components.PDropdown, HTMLStencilElement {
|
|
653
|
+
}
|
|
654
|
+
var HTMLPDropdownElement: {
|
|
655
|
+
prototype: HTMLPDropdownElement;
|
|
656
|
+
new (): HTMLPDropdownElement;
|
|
657
|
+
};
|
|
658
|
+
interface HTMLPDropdownMenuContainerElement extends Components.PDropdownMenuContainer, HTMLStencilElement {
|
|
659
|
+
}
|
|
660
|
+
var HTMLPDropdownMenuContainerElement: {
|
|
661
|
+
prototype: HTMLPDropdownMenuContainerElement;
|
|
662
|
+
new (): HTMLPDropdownMenuContainerElement;
|
|
663
|
+
};
|
|
664
|
+
interface HTMLPDropdownMenuItemElement extends Components.PDropdownMenuItem, HTMLStencilElement {
|
|
665
|
+
}
|
|
666
|
+
var HTMLPDropdownMenuItemElement: {
|
|
667
|
+
prototype: HTMLPDropdownMenuItemElement;
|
|
668
|
+
new (): HTMLPDropdownMenuItemElement;
|
|
669
|
+
};
|
|
670
|
+
interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
|
|
671
|
+
}
|
|
672
|
+
var HTMLPHelperElement: {
|
|
673
|
+
prototype: HTMLPHelperElement;
|
|
674
|
+
new (): HTMLPHelperElement;
|
|
675
|
+
};
|
|
676
|
+
interface HTMLPIconElement extends Components.PIcon, HTMLStencilElement {
|
|
677
|
+
}
|
|
678
|
+
var HTMLPIconElement: {
|
|
679
|
+
prototype: HTMLPIconElement;
|
|
680
|
+
new (): HTMLPIconElement;
|
|
681
|
+
};
|
|
682
|
+
interface HTMLPIllustrationElement extends Components.PIllustration, HTMLStencilElement {
|
|
683
|
+
}
|
|
684
|
+
var HTMLPIllustrationElement: {
|
|
685
|
+
prototype: HTMLPIllustrationElement;
|
|
686
|
+
new (): HTMLPIllustrationElement;
|
|
687
|
+
};
|
|
688
|
+
interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
|
|
689
|
+
}
|
|
690
|
+
var HTMLPInfoPanelElement: {
|
|
691
|
+
prototype: HTMLPInfoPanelElement;
|
|
692
|
+
new (): HTMLPInfoPanelElement;
|
|
693
|
+
};
|
|
694
|
+
interface HTMLPInputGroupElement extends Components.PInputGroup, HTMLStencilElement {
|
|
695
|
+
}
|
|
696
|
+
var HTMLPInputGroupElement: {
|
|
697
|
+
prototype: HTMLPInputGroupElement;
|
|
698
|
+
new (): HTMLPInputGroupElement;
|
|
699
|
+
};
|
|
700
|
+
interface HTMLPLayoutElement extends Components.PLayout, HTMLStencilElement {
|
|
701
|
+
}
|
|
702
|
+
var HTMLPLayoutElement: {
|
|
703
|
+
prototype: HTMLPLayoutElement;
|
|
704
|
+
new (): HTMLPLayoutElement;
|
|
705
|
+
};
|
|
706
|
+
interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
|
|
707
|
+
}
|
|
708
|
+
var HTMLPLoaderElement: {
|
|
709
|
+
prototype: HTMLPLoaderElement;
|
|
710
|
+
new (): HTMLPLoaderElement;
|
|
711
|
+
};
|
|
712
|
+
interface HTMLPModalElement extends Components.PModal, HTMLStencilElement {
|
|
713
|
+
}
|
|
714
|
+
var HTMLPModalElement: {
|
|
715
|
+
prototype: HTMLPModalElement;
|
|
716
|
+
new (): HTMLPModalElement;
|
|
717
|
+
};
|
|
718
|
+
interface HTMLPModalBackdropElement extends Components.PModalBackdrop, HTMLStencilElement {
|
|
719
|
+
}
|
|
720
|
+
var HTMLPModalBackdropElement: {
|
|
721
|
+
prototype: HTMLPModalBackdropElement;
|
|
722
|
+
new (): HTMLPModalBackdropElement;
|
|
723
|
+
};
|
|
724
|
+
interface HTMLPModalBodyElement extends Components.PModalBody, HTMLStencilElement {
|
|
725
|
+
}
|
|
726
|
+
var HTMLPModalBodyElement: {
|
|
727
|
+
prototype: HTMLPModalBodyElement;
|
|
728
|
+
new (): HTMLPModalBodyElement;
|
|
729
|
+
};
|
|
730
|
+
interface HTMLPModalContainerElement extends Components.PModalContainer, HTMLStencilElement {
|
|
731
|
+
}
|
|
732
|
+
var HTMLPModalContainerElement: {
|
|
733
|
+
prototype: HTMLPModalContainerElement;
|
|
734
|
+
new (): HTMLPModalContainerElement;
|
|
735
|
+
};
|
|
736
|
+
interface HTMLPModalFooterElement extends Components.PModalFooter, HTMLStencilElement {
|
|
737
|
+
}
|
|
738
|
+
var HTMLPModalFooterElement: {
|
|
739
|
+
prototype: HTMLPModalFooterElement;
|
|
740
|
+
new (): HTMLPModalFooterElement;
|
|
741
|
+
};
|
|
742
|
+
interface HTMLPModalHeaderElement extends Components.PModalHeader, HTMLStencilElement {
|
|
743
|
+
}
|
|
744
|
+
var HTMLPModalHeaderElement: {
|
|
745
|
+
prototype: HTMLPModalHeaderElement;
|
|
746
|
+
new (): HTMLPModalHeaderElement;
|
|
747
|
+
};
|
|
748
|
+
interface HTMLPNavbarElement extends Components.PNavbar, HTMLStencilElement {
|
|
749
|
+
}
|
|
750
|
+
var HTMLPNavbarElement: {
|
|
751
|
+
prototype: HTMLPNavbarElement;
|
|
752
|
+
new (): HTMLPNavbarElement;
|
|
753
|
+
};
|
|
754
|
+
interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
|
|
755
|
+
}
|
|
756
|
+
var HTMLPNavigationItemElement: {
|
|
757
|
+
prototype: HTMLPNavigationItemElement;
|
|
758
|
+
new (): HTMLPNavigationItemElement;
|
|
759
|
+
};
|
|
760
|
+
interface HTMLPPaginationElement extends Components.PPagination, HTMLStencilElement {
|
|
761
|
+
}
|
|
762
|
+
var HTMLPPaginationElement: {
|
|
763
|
+
prototype: HTMLPPaginationElement;
|
|
764
|
+
new (): HTMLPPaginationElement;
|
|
765
|
+
};
|
|
766
|
+
interface HTMLPPaginationItemElement extends Components.PPaginationItem, HTMLStencilElement {
|
|
767
|
+
}
|
|
768
|
+
var HTMLPPaginationItemElement: {
|
|
769
|
+
prototype: HTMLPPaginationItemElement;
|
|
770
|
+
new (): HTMLPPaginationItemElement;
|
|
771
|
+
};
|
|
772
|
+
interface HTMLPProfileElement extends Components.PProfile, HTMLStencilElement {
|
|
773
|
+
}
|
|
774
|
+
var HTMLPProfileElement: {
|
|
775
|
+
prototype: HTMLPProfileElement;
|
|
776
|
+
new (): HTMLPProfileElement;
|
|
777
|
+
};
|
|
778
|
+
interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
|
|
779
|
+
}
|
|
780
|
+
var HTMLPSegmentContainerElement: {
|
|
781
|
+
prototype: HTMLPSegmentContainerElement;
|
|
782
|
+
new (): HTMLPSegmentContainerElement;
|
|
783
|
+
};
|
|
784
|
+
interface HTMLPSegmentItemElement extends Components.PSegmentItem, HTMLStencilElement {
|
|
785
|
+
}
|
|
786
|
+
var HTMLPSegmentItemElement: {
|
|
787
|
+
prototype: HTMLPSegmentItemElement;
|
|
788
|
+
new (): HTMLPSegmentItemElement;
|
|
789
|
+
};
|
|
790
|
+
interface HTMLPSliderIndicatorElement extends Components.PSliderIndicator, HTMLStencilElement {
|
|
791
|
+
}
|
|
792
|
+
var HTMLPSliderIndicatorElement: {
|
|
793
|
+
prototype: HTMLPSliderIndicatorElement;
|
|
794
|
+
new (): HTMLPSliderIndicatorElement;
|
|
795
|
+
};
|
|
796
|
+
interface HTMLPStatusElement extends Components.PStatus, HTMLStencilElement {
|
|
797
|
+
}
|
|
798
|
+
var HTMLPStatusElement: {
|
|
799
|
+
prototype: HTMLPStatusElement;
|
|
800
|
+
new (): HTMLPStatusElement;
|
|
801
|
+
};
|
|
802
|
+
interface HTMLPStepperElement extends Components.PStepper, HTMLStencilElement {
|
|
803
|
+
}
|
|
804
|
+
var HTMLPStepperElement: {
|
|
805
|
+
prototype: HTMLPStepperElement;
|
|
806
|
+
new (): HTMLPStepperElement;
|
|
807
|
+
};
|
|
808
|
+
interface HTMLPStepperItemElement extends Components.PStepperItem, HTMLStencilElement {
|
|
809
|
+
}
|
|
810
|
+
var HTMLPStepperItemElement: {
|
|
811
|
+
prototype: HTMLPStepperItemElement;
|
|
812
|
+
new (): HTMLPStepperItemElement;
|
|
813
|
+
};
|
|
814
|
+
interface HTMLPStepperLineElement extends Components.PStepperLine, HTMLStencilElement {
|
|
815
|
+
}
|
|
816
|
+
var HTMLPStepperLineElement: {
|
|
817
|
+
prototype: HTMLPStepperLineElement;
|
|
818
|
+
new (): HTMLPStepperLineElement;
|
|
819
|
+
};
|
|
820
|
+
interface HTMLPTabGroupElement extends Components.PTabGroup, HTMLStencilElement {
|
|
821
|
+
}
|
|
822
|
+
var HTMLPTabGroupElement: {
|
|
823
|
+
prototype: HTMLPTabGroupElement;
|
|
824
|
+
new (): HTMLPTabGroupElement;
|
|
825
|
+
};
|
|
826
|
+
interface HTMLPTabItemElement extends Components.PTabItem, HTMLStencilElement {
|
|
827
|
+
}
|
|
828
|
+
var HTMLPTabItemElement: {
|
|
829
|
+
prototype: HTMLPTabItemElement;
|
|
830
|
+
new (): HTMLPTabItemElement;
|
|
831
|
+
};
|
|
832
|
+
interface HTMLPTagElement extends Components.PTag, HTMLStencilElement {
|
|
833
|
+
}
|
|
834
|
+
var HTMLPTagElement: {
|
|
835
|
+
prototype: HTMLPTagElement;
|
|
836
|
+
new (): HTMLPTagElement;
|
|
837
|
+
};
|
|
838
|
+
interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
|
|
839
|
+
}
|
|
840
|
+
var HTMLPTooltipElement: {
|
|
841
|
+
prototype: HTMLPTooltipElement;
|
|
842
|
+
new (): HTMLPTooltipElement;
|
|
843
|
+
};
|
|
844
|
+
interface HTMLElementTagNameMap {
|
|
845
|
+
"p-accordion": HTMLPAccordionElement;
|
|
846
|
+
"p-avatar": HTMLPAvatarElement;
|
|
847
|
+
"p-avatar-group": HTMLPAvatarGroupElement;
|
|
848
|
+
"p-button": HTMLPButtonElement;
|
|
849
|
+
"p-card-body": HTMLPCardBodyElement;
|
|
850
|
+
"p-card-container": HTMLPCardContainerElement;
|
|
851
|
+
"p-card-header": HTMLPCardHeaderElement;
|
|
852
|
+
"p-content-slider": HTMLPContentSliderElement;
|
|
853
|
+
"p-counter": HTMLPCounterElement;
|
|
854
|
+
"p-divider": HTMLPDividerElement;
|
|
855
|
+
"p-dropdown": HTMLPDropdownElement;
|
|
856
|
+
"p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
|
|
857
|
+
"p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
|
|
858
|
+
"p-helper": HTMLPHelperElement;
|
|
859
|
+
"p-icon": HTMLPIconElement;
|
|
860
|
+
"p-illustration": HTMLPIllustrationElement;
|
|
861
|
+
"p-info-panel": HTMLPInfoPanelElement;
|
|
862
|
+
"p-input-group": HTMLPInputGroupElement;
|
|
863
|
+
"p-layout": HTMLPLayoutElement;
|
|
864
|
+
"p-loader": HTMLPLoaderElement;
|
|
865
|
+
"p-modal": HTMLPModalElement;
|
|
866
|
+
"p-modal-backdrop": HTMLPModalBackdropElement;
|
|
867
|
+
"p-modal-body": HTMLPModalBodyElement;
|
|
868
|
+
"p-modal-container": HTMLPModalContainerElement;
|
|
869
|
+
"p-modal-footer": HTMLPModalFooterElement;
|
|
870
|
+
"p-modal-header": HTMLPModalHeaderElement;
|
|
871
|
+
"p-navbar": HTMLPNavbarElement;
|
|
872
|
+
"p-navigation-item": HTMLPNavigationItemElement;
|
|
873
|
+
"p-pagination": HTMLPPaginationElement;
|
|
874
|
+
"p-pagination-item": HTMLPPaginationItemElement;
|
|
875
|
+
"p-profile": HTMLPProfileElement;
|
|
876
|
+
"p-segment-container": HTMLPSegmentContainerElement;
|
|
877
|
+
"p-segment-item": HTMLPSegmentItemElement;
|
|
878
|
+
"p-slider-indicator": HTMLPSliderIndicatorElement;
|
|
879
|
+
"p-status": HTMLPStatusElement;
|
|
880
|
+
"p-stepper": HTMLPStepperElement;
|
|
881
|
+
"p-stepper-item": HTMLPStepperItemElement;
|
|
882
|
+
"p-stepper-line": HTMLPStepperLineElement;
|
|
883
|
+
"p-tab-group": HTMLPTabGroupElement;
|
|
884
|
+
"p-tab-item": HTMLPTabItemElement;
|
|
885
|
+
"p-tag": HTMLPTagElement;
|
|
886
|
+
"p-tooltip": HTMLPTooltipElement;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
declare namespace LocalJSX {
|
|
890
|
+
interface PAccordion {
|
|
891
|
+
/**
|
|
892
|
+
* Wether the accordion can be closed
|
|
893
|
+
*/
|
|
894
|
+
"closeable"?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* Header of the accordion
|
|
897
|
+
*/
|
|
898
|
+
"header": string;
|
|
899
|
+
/**
|
|
900
|
+
* Open change event
|
|
901
|
+
*/
|
|
902
|
+
"onIsOpen"?: (event: PAccordionCustomEvent<boolean>) => void;
|
|
903
|
+
/**
|
|
904
|
+
* Wether the accordion is open
|
|
905
|
+
*/
|
|
906
|
+
"open"?: boolean;
|
|
907
|
+
/**
|
|
908
|
+
* Wether the accordion can be opened
|
|
909
|
+
*/
|
|
910
|
+
"openable"?: boolean;
|
|
911
|
+
}
|
|
912
|
+
interface PAvatar {
|
|
913
|
+
/**
|
|
914
|
+
* The default image to show on errors
|
|
915
|
+
*/
|
|
916
|
+
"defaultImage"?: string;
|
|
917
|
+
/**
|
|
918
|
+
* The size of the avatar
|
|
919
|
+
*/
|
|
920
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
921
|
+
/**
|
|
922
|
+
* The image used for the avatar
|
|
923
|
+
*/
|
|
924
|
+
"src": string;
|
|
925
|
+
/**
|
|
926
|
+
* The variant of the avatar
|
|
927
|
+
*/
|
|
928
|
+
"variant"?: 'user' | 'company';
|
|
929
|
+
}
|
|
930
|
+
interface PAvatarGroup {
|
|
931
|
+
/**
|
|
932
|
+
* The amount to show after the avatars
|
|
933
|
+
*/
|
|
934
|
+
"extra"?: number;
|
|
935
|
+
}
|
|
936
|
+
interface PButton {
|
|
937
|
+
/**
|
|
938
|
+
* Wether to show a chevron or not
|
|
939
|
+
*/
|
|
940
|
+
"chevron"?: boolean | 'up' | 'down';
|
|
941
|
+
/**
|
|
942
|
+
* Wether the button is disabled
|
|
943
|
+
*/
|
|
944
|
+
"disabled"?: boolean;
|
|
945
|
+
/**
|
|
946
|
+
* Href in case of "text" version
|
|
947
|
+
*/
|
|
948
|
+
"href"?: string;
|
|
949
|
+
/**
|
|
950
|
+
* Icon to show on the button
|
|
951
|
+
*/
|
|
952
|
+
"icon"?: IconVariant;
|
|
953
|
+
/**
|
|
954
|
+
* Icon flip
|
|
955
|
+
*/
|
|
956
|
+
"iconFlip"?: IconFlipOptions;
|
|
957
|
+
/**
|
|
958
|
+
* Wether the button is icon only
|
|
959
|
+
*/
|
|
960
|
+
"iconOnly"?: boolean;
|
|
961
|
+
/**
|
|
962
|
+
* Icon position
|
|
963
|
+
*/
|
|
964
|
+
"iconPosition"?: 'start' | 'end';
|
|
965
|
+
/**
|
|
966
|
+
* Icon rotate
|
|
967
|
+
*/
|
|
968
|
+
"iconRotate"?: RotateOptions;
|
|
969
|
+
/**
|
|
970
|
+
* Wether the button should inherit text styles
|
|
971
|
+
*/
|
|
972
|
+
"inheritText"?: boolean;
|
|
973
|
+
/**
|
|
974
|
+
* Wether to show a loader or not
|
|
975
|
+
*/
|
|
976
|
+
"loading"?: boolean;
|
|
977
|
+
/**
|
|
978
|
+
* Button click event
|
|
979
|
+
*/
|
|
980
|
+
"onOnClick"?: (event: PButtonCustomEvent<MouseEvent>) => void;
|
|
981
|
+
/**
|
|
982
|
+
* The size of the button
|
|
983
|
+
*/
|
|
984
|
+
"size"?: 'small' | 'medium';
|
|
985
|
+
/**
|
|
986
|
+
* Target in case of "text" version
|
|
987
|
+
*/
|
|
988
|
+
"target"?: string;
|
|
989
|
+
/**
|
|
990
|
+
* The variant of the button
|
|
991
|
+
*/
|
|
992
|
+
"variant"?: 'primary' | 'secondary' | 'text';
|
|
993
|
+
/**
|
|
994
|
+
* The width of the button
|
|
995
|
+
*/
|
|
996
|
+
"width"?: 'auto' | 'full';
|
|
997
|
+
}
|
|
998
|
+
interface PCardBody {
|
|
999
|
+
/**
|
|
1000
|
+
* Wether the button should inherit text styles
|
|
1001
|
+
*/
|
|
1002
|
+
"inheritText"?: boolean;
|
|
1003
|
+
}
|
|
1004
|
+
interface PCardContainer {
|
|
1005
|
+
/**
|
|
1006
|
+
* Wether the card should be hoverable
|
|
1007
|
+
*/
|
|
1008
|
+
"hoverable"?: boolean;
|
|
1009
|
+
/**
|
|
1010
|
+
* Wether the card should have shadow
|
|
1011
|
+
*/
|
|
1012
|
+
"shadow"?: boolean;
|
|
1013
|
+
}
|
|
1014
|
+
interface PCardHeader {
|
|
1015
|
+
/**
|
|
1016
|
+
* Enable the title arrow
|
|
1017
|
+
*/
|
|
1018
|
+
"arrow"?: boolean;
|
|
1019
|
+
/**
|
|
1020
|
+
* Content of the card header
|
|
1021
|
+
*/
|
|
1022
|
+
"header"?: string;
|
|
1023
|
+
}
|
|
1024
|
+
interface PContentSlider {
|
|
1025
|
+
/**
|
|
1026
|
+
* Wether to disable dragging the content
|
|
1027
|
+
*/
|
|
1028
|
+
"disableDrag"?: boolean;
|
|
1029
|
+
/**
|
|
1030
|
+
* Wether to disable clicking the indicator scrolls content
|
|
1031
|
+
*/
|
|
1032
|
+
"disableIndicatorClick"?: boolean;
|
|
1033
|
+
/**
|
|
1034
|
+
* Wether to hide the indicator on mobile
|
|
1035
|
+
*/
|
|
1036
|
+
"hideMobileIndicator"?: boolean;
|
|
1037
|
+
}
|
|
1038
|
+
interface PCounter {
|
|
1039
|
+
/**
|
|
1040
|
+
* The size of the counter
|
|
1041
|
+
*/
|
|
1042
|
+
"size"?: 'default' | 'mini';
|
|
1043
|
+
/**
|
|
1044
|
+
* The variant of the counter
|
|
1045
|
+
*/
|
|
1046
|
+
"variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
|
|
1047
|
+
}
|
|
1048
|
+
interface PDivider {
|
|
1049
|
+
}
|
|
1050
|
+
interface PDropdown {
|
|
1051
|
+
/**
|
|
1052
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
1053
|
+
*/
|
|
1054
|
+
"disableTriggerClick"?: boolean;
|
|
1055
|
+
/**
|
|
1056
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
1057
|
+
*/
|
|
1058
|
+
"insideClick"?: boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* Open change event
|
|
1061
|
+
*/
|
|
1062
|
+
"onIsOpen"?: (event: PDropdownCustomEvent<boolean>) => void;
|
|
1063
|
+
/**
|
|
1064
|
+
* The content of the dropdown menu
|
|
1065
|
+
*/
|
|
1066
|
+
"placement"?: Placement;
|
|
1067
|
+
/**
|
|
1068
|
+
* Wether to show the dropdown menu
|
|
1069
|
+
*/
|
|
1070
|
+
"show"?: boolean;
|
|
1071
|
+
/**
|
|
1072
|
+
* The strategy of the popover placement
|
|
1073
|
+
*/
|
|
1074
|
+
"strategy"?: PositioningStrategy;
|
|
1075
|
+
}
|
|
1076
|
+
interface PDropdownMenuContainer {
|
|
1077
|
+
}
|
|
1078
|
+
interface PDropdownMenuItem {
|
|
1079
|
+
/**
|
|
1080
|
+
* Wether the dropdown menu item is active
|
|
1081
|
+
*/
|
|
1082
|
+
"active"?: boolean;
|
|
1083
|
+
/**
|
|
1084
|
+
* Icon of the navigation item
|
|
1085
|
+
*/
|
|
1086
|
+
"icon"?: IconVariant;
|
|
1087
|
+
}
|
|
1088
|
+
interface PHelper {
|
|
1089
|
+
/**
|
|
1090
|
+
* The placement of the helper popover
|
|
1091
|
+
*/
|
|
1092
|
+
"placement"?: Placement;
|
|
1093
|
+
}
|
|
1094
|
+
interface PIcon {
|
|
1095
|
+
/**
|
|
1096
|
+
* Wether to flip the icon horizontally or vertically
|
|
1097
|
+
*/
|
|
1098
|
+
"flip"?: IconFlipOptions;
|
|
1099
|
+
/**
|
|
1100
|
+
* Wether to rotate the icon x degrees
|
|
1101
|
+
*/
|
|
1102
|
+
"rotate"?: RotateOptions;
|
|
1103
|
+
/**
|
|
1104
|
+
* The size of the icon, using tailwind sizes
|
|
1105
|
+
*/
|
|
1106
|
+
"size"?: TextSizeOptions;
|
|
1107
|
+
/**
|
|
1108
|
+
* The icon the be displayed
|
|
1109
|
+
*/
|
|
1110
|
+
"variant": IconVariant;
|
|
1111
|
+
}
|
|
1112
|
+
interface PIllustration {
|
|
1113
|
+
/**
|
|
1114
|
+
* The icon the be displayed
|
|
1115
|
+
*/
|
|
1116
|
+
"variant": IllustrationVariant;
|
|
1117
|
+
}
|
|
1118
|
+
interface PInfoPanel {
|
|
1119
|
+
/**
|
|
1120
|
+
* Wether the panel can be closed
|
|
1121
|
+
*/
|
|
1122
|
+
"closeable"?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* The content of the info panel
|
|
1125
|
+
*/
|
|
1126
|
+
"content"?: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* The header of the info panel
|
|
340
1129
|
*/
|
|
341
1130
|
"header"?: string;
|
|
342
1131
|
/**
|
|
@@ -344,6 +1133,54 @@ declare namespace LocalJSX {
|
|
|
344
1133
|
*/
|
|
345
1134
|
"variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
|
|
346
1135
|
}
|
|
1136
|
+
interface PInputGroup {
|
|
1137
|
+
/**
|
|
1138
|
+
* Wether the input group is disabled
|
|
1139
|
+
*/
|
|
1140
|
+
"disabled"?: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* The helper of the input group
|
|
1143
|
+
*/
|
|
1144
|
+
"error"?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Wether the input group is focused
|
|
1147
|
+
*/
|
|
1148
|
+
"focused"?: boolean;
|
|
1149
|
+
/**
|
|
1150
|
+
* The helper of the input group
|
|
1151
|
+
*/
|
|
1152
|
+
"helper"?: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* Icon of the navigation item
|
|
1155
|
+
*/
|
|
1156
|
+
"icon"?: IconVariant;
|
|
1157
|
+
/**
|
|
1158
|
+
* Icon flip
|
|
1159
|
+
*/
|
|
1160
|
+
"iconFlip"?: IconFlipOptions;
|
|
1161
|
+
/**
|
|
1162
|
+
* Icon rotate
|
|
1163
|
+
*/
|
|
1164
|
+
"iconRotate"?: RotateOptions;
|
|
1165
|
+
/**
|
|
1166
|
+
* The label of the input group
|
|
1167
|
+
*/
|
|
1168
|
+
"label"?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* The prefix of the input group
|
|
1171
|
+
*/
|
|
1172
|
+
"prefix"?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* The suffix of the input group
|
|
1175
|
+
*/
|
|
1176
|
+
"suffix"?: string;
|
|
1177
|
+
}
|
|
1178
|
+
interface PLayout {
|
|
1179
|
+
/**
|
|
1180
|
+
* Variant of the layout
|
|
1181
|
+
*/
|
|
1182
|
+
"variant"?: 'default' | 'login';
|
|
1183
|
+
}
|
|
347
1184
|
interface PLoader {
|
|
348
1185
|
/**
|
|
349
1186
|
* Color of the loader
|
|
@@ -366,13 +1203,243 @@ declare namespace LocalJSX {
|
|
|
366
1203
|
*/
|
|
367
1204
|
"variant"?: 'inline' | 'full-width' | 'full-screen' | 'modal';
|
|
368
1205
|
}
|
|
1206
|
+
interface PModal {
|
|
1207
|
+
/**
|
|
1208
|
+
* The Header of the modal
|
|
1209
|
+
*/
|
|
1210
|
+
"header"?: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* Close click event
|
|
1213
|
+
*/
|
|
1214
|
+
"onClose"?: (event: PModalCustomEvent<MouseEvent>) => void;
|
|
1215
|
+
/**
|
|
1216
|
+
* Wether to show the modal or not
|
|
1217
|
+
*/
|
|
1218
|
+
"show"?: boolean;
|
|
1219
|
+
/**
|
|
1220
|
+
* Wether to show the close on mobile in the header
|
|
1221
|
+
*/
|
|
1222
|
+
"showMobileClose"?: boolean;
|
|
1223
|
+
/**
|
|
1224
|
+
* Wether to show the footer on mobile
|
|
1225
|
+
*/
|
|
1226
|
+
"showMobileFooter"?: boolean;
|
|
1227
|
+
/**
|
|
1228
|
+
* The size of the modal container
|
|
1229
|
+
*/
|
|
1230
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1231
|
+
/**
|
|
1232
|
+
* The variant of the modal body
|
|
1233
|
+
*/
|
|
1234
|
+
"variant"?: 'default' | 'table';
|
|
1235
|
+
}
|
|
1236
|
+
interface PModalBackdrop {
|
|
1237
|
+
}
|
|
1238
|
+
interface PModalBody {
|
|
1239
|
+
/**
|
|
1240
|
+
* The variant of the modal body
|
|
1241
|
+
*/
|
|
1242
|
+
"variant"?: 'default' | 'table';
|
|
1243
|
+
}
|
|
1244
|
+
interface PModalContainer {
|
|
1245
|
+
/**
|
|
1246
|
+
* The size of the modal container
|
|
1247
|
+
*/
|
|
1248
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1249
|
+
}
|
|
1250
|
+
interface PModalFooter {
|
|
1251
|
+
/**
|
|
1252
|
+
* Wether to show the footer on mobile
|
|
1253
|
+
*/
|
|
1254
|
+
"hideOnMobile"?: boolean;
|
|
1255
|
+
}
|
|
1256
|
+
interface PModalHeader {
|
|
1257
|
+
/**
|
|
1258
|
+
* Close click event
|
|
1259
|
+
*/
|
|
1260
|
+
"onClose"?: (event: PModalHeaderCustomEvent<MouseEvent>) => void;
|
|
1261
|
+
/**
|
|
1262
|
+
* Wether to show the close button on mobile
|
|
1263
|
+
*/
|
|
1264
|
+
"showMobileClose"?: boolean;
|
|
1265
|
+
}
|
|
1266
|
+
interface PNavbar {
|
|
1267
|
+
/**
|
|
1268
|
+
* The text to display for the close button
|
|
1269
|
+
*/
|
|
1270
|
+
"closeText"?: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* The text to display for the menu button & sidebar title
|
|
1273
|
+
*/
|
|
1274
|
+
"menuText"?: string;
|
|
1275
|
+
}
|
|
1276
|
+
interface PNavigationItem {
|
|
1277
|
+
/**
|
|
1278
|
+
* Wether the navigation item is active
|
|
1279
|
+
*/
|
|
1280
|
+
"active"?: boolean;
|
|
1281
|
+
/**
|
|
1282
|
+
* Icon of the navigation item
|
|
1283
|
+
*/
|
|
1284
|
+
"counter"?: number | string;
|
|
1285
|
+
/**
|
|
1286
|
+
* The href of the navigation item
|
|
1287
|
+
*/
|
|
1288
|
+
"href"?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* Icon of the navigation item
|
|
1291
|
+
*/
|
|
1292
|
+
"icon"?: IconVariant;
|
|
1293
|
+
/**
|
|
1294
|
+
* The target of the navigation item
|
|
1295
|
+
*/
|
|
1296
|
+
"target"?: string;
|
|
1297
|
+
}
|
|
1298
|
+
interface PPagination {
|
|
1299
|
+
"onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
|
|
1300
|
+
/**
|
|
1301
|
+
* The current page
|
|
1302
|
+
*/
|
|
1303
|
+
"page"?: number;
|
|
1304
|
+
/**
|
|
1305
|
+
* The amount of items per page
|
|
1306
|
+
*/
|
|
1307
|
+
"pageSize"?: number;
|
|
1308
|
+
/**
|
|
1309
|
+
* The total amount of items
|
|
1310
|
+
*/
|
|
1311
|
+
"total": number;
|
|
1312
|
+
}
|
|
1313
|
+
interface PPaginationItem {
|
|
1314
|
+
/**
|
|
1315
|
+
* Wether the pagination item is active
|
|
1316
|
+
*/
|
|
1317
|
+
"active"?: boolean;
|
|
1318
|
+
}
|
|
1319
|
+
interface PProfile {
|
|
1320
|
+
/**
|
|
1321
|
+
* The size of the profile avatar
|
|
1322
|
+
*/
|
|
1323
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
1324
|
+
/**
|
|
1325
|
+
* The variant of the profile
|
|
1326
|
+
*/
|
|
1327
|
+
"variant"?: 'company' | 'user';
|
|
1328
|
+
}
|
|
1329
|
+
interface PSegmentContainer {
|
|
1330
|
+
}
|
|
1331
|
+
interface PSegmentItem {
|
|
1332
|
+
/**
|
|
1333
|
+
* Wether the segment item is active
|
|
1334
|
+
*/
|
|
1335
|
+
"active"?: boolean;
|
|
1336
|
+
/**
|
|
1337
|
+
* Icon to show on the segment item
|
|
1338
|
+
*/
|
|
1339
|
+
"icon"?: IconVariant;
|
|
1340
|
+
/**
|
|
1341
|
+
* Icon flip
|
|
1342
|
+
*/
|
|
1343
|
+
"iconFlip"?: IconFlipOptions;
|
|
1344
|
+
/**
|
|
1345
|
+
* Icon rotate
|
|
1346
|
+
*/
|
|
1347
|
+
"iconRotate"?: RotateOptions;
|
|
1348
|
+
}
|
|
1349
|
+
interface PSliderIndicator {
|
|
1350
|
+
/**
|
|
1351
|
+
* Wether the slider indicator is active
|
|
1352
|
+
*/
|
|
1353
|
+
"active"?: boolean;
|
|
1354
|
+
}
|
|
1355
|
+
interface PStatus {
|
|
1356
|
+
/**
|
|
1357
|
+
* Icon to show on the status
|
|
1358
|
+
*/
|
|
1359
|
+
"icon"?: IconVariant;
|
|
1360
|
+
/**
|
|
1361
|
+
* Icon flip
|
|
1362
|
+
*/
|
|
1363
|
+
"iconFlip"?: IconFlipOptions;
|
|
1364
|
+
/**
|
|
1365
|
+
* Icon rotate
|
|
1366
|
+
*/
|
|
1367
|
+
"iconRotate"?: RotateOptions;
|
|
1368
|
+
/**
|
|
1369
|
+
* The variant of the status
|
|
1370
|
+
*/
|
|
1371
|
+
"variant"?: 'default' | 'positive' | 'unbiased' | 'negative';
|
|
1372
|
+
}
|
|
1373
|
+
interface PStepper {
|
|
1374
|
+
/**
|
|
1375
|
+
* The currently active step
|
|
1376
|
+
*/
|
|
1377
|
+
"activeStep"?: number;
|
|
1378
|
+
/**
|
|
1379
|
+
* The direction of the stepper
|
|
1380
|
+
*/
|
|
1381
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
1382
|
+
}
|
|
1383
|
+
interface PStepperItem {
|
|
1384
|
+
/**
|
|
1385
|
+
* Wether the step is active
|
|
1386
|
+
*/
|
|
1387
|
+
"active"?: boolean;
|
|
1388
|
+
/**
|
|
1389
|
+
* The alignment of the step content
|
|
1390
|
+
*/
|
|
1391
|
+
"align"?: 'start' | 'center' | 'end';
|
|
1392
|
+
/**
|
|
1393
|
+
* The direction of the stepper step
|
|
1394
|
+
*/
|
|
1395
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
1396
|
+
/**
|
|
1397
|
+
* Wether the step is finished
|
|
1398
|
+
*/
|
|
1399
|
+
"finished"?: boolean;
|
|
1400
|
+
}
|
|
1401
|
+
interface PStepperLine {
|
|
1402
|
+
/**
|
|
1403
|
+
* Wether the line is active
|
|
1404
|
+
*/
|
|
1405
|
+
"active"?: boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* The direction of the stepper line
|
|
1408
|
+
*/
|
|
1409
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
1410
|
+
}
|
|
1411
|
+
interface PTabGroup {
|
|
1412
|
+
}
|
|
1413
|
+
interface PTabItem {
|
|
1414
|
+
/**
|
|
1415
|
+
* Wether the tab item is active
|
|
1416
|
+
*/
|
|
1417
|
+
"active"?: boolean;
|
|
1418
|
+
}
|
|
1419
|
+
interface PTag {
|
|
1420
|
+
/**
|
|
1421
|
+
* Wether to add the circle or not
|
|
1422
|
+
*/
|
|
1423
|
+
"circle"?: boolean;
|
|
1424
|
+
/**
|
|
1425
|
+
* Variant of the tag
|
|
1426
|
+
*/
|
|
1427
|
+
"variant"?: | 'positive'
|
|
1428
|
+
| 'unbiased'
|
|
1429
|
+
| 'negative'
|
|
1430
|
+
| 'info';
|
|
1431
|
+
}
|
|
369
1432
|
interface PTooltip {
|
|
370
1433
|
/**
|
|
371
1434
|
* Wether to someone can manually close the popover
|
|
372
1435
|
*/
|
|
373
1436
|
"canManuallyClose"?: boolean;
|
|
374
1437
|
/**
|
|
375
|
-
*
|
|
1438
|
+
* Open change event
|
|
1439
|
+
*/
|
|
1440
|
+
"onIsOpen"?: (event: PTooltipCustomEvent<boolean>) => void;
|
|
1441
|
+
/**
|
|
1442
|
+
* The placement of the popover
|
|
376
1443
|
*/
|
|
377
1444
|
"placement"?: Placement;
|
|
378
1445
|
/**
|
|
@@ -383,20 +1450,57 @@ declare namespace LocalJSX {
|
|
|
383
1450
|
* Wether to show the popover
|
|
384
1451
|
*/
|
|
385
1452
|
"show"?: boolean;
|
|
1453
|
+
/**
|
|
1454
|
+
* The strategy of the popover placement
|
|
1455
|
+
*/
|
|
1456
|
+
"strategy"?: PositioningStrategy;
|
|
386
1457
|
/**
|
|
387
1458
|
* The variant of the popover
|
|
388
1459
|
*/
|
|
389
|
-
"variant"?: 'hover' | 'click';
|
|
1460
|
+
"variant"?: 'hover' | 'click' | 'error';
|
|
390
1461
|
}
|
|
391
1462
|
interface IntrinsicElements {
|
|
1463
|
+
"p-accordion": PAccordion;
|
|
392
1464
|
"p-avatar": PAvatar;
|
|
1465
|
+
"p-avatar-group": PAvatarGroup;
|
|
393
1466
|
"p-button": PButton;
|
|
1467
|
+
"p-card-body": PCardBody;
|
|
1468
|
+
"p-card-container": PCardContainer;
|
|
1469
|
+
"p-card-header": PCardHeader;
|
|
1470
|
+
"p-content-slider": PContentSlider;
|
|
394
1471
|
"p-counter": PCounter;
|
|
1472
|
+
"p-divider": PDivider;
|
|
1473
|
+
"p-dropdown": PDropdown;
|
|
1474
|
+
"p-dropdown-menu-container": PDropdownMenuContainer;
|
|
1475
|
+
"p-dropdown-menu-item": PDropdownMenuItem;
|
|
395
1476
|
"p-helper": PHelper;
|
|
396
1477
|
"p-icon": PIcon;
|
|
397
1478
|
"p-illustration": PIllustration;
|
|
398
1479
|
"p-info-panel": PInfoPanel;
|
|
1480
|
+
"p-input-group": PInputGroup;
|
|
1481
|
+
"p-layout": PLayout;
|
|
399
1482
|
"p-loader": PLoader;
|
|
1483
|
+
"p-modal": PModal;
|
|
1484
|
+
"p-modal-backdrop": PModalBackdrop;
|
|
1485
|
+
"p-modal-body": PModalBody;
|
|
1486
|
+
"p-modal-container": PModalContainer;
|
|
1487
|
+
"p-modal-footer": PModalFooter;
|
|
1488
|
+
"p-modal-header": PModalHeader;
|
|
1489
|
+
"p-navbar": PNavbar;
|
|
1490
|
+
"p-navigation-item": PNavigationItem;
|
|
1491
|
+
"p-pagination": PPagination;
|
|
1492
|
+
"p-pagination-item": PPaginationItem;
|
|
1493
|
+
"p-profile": PProfile;
|
|
1494
|
+
"p-segment-container": PSegmentContainer;
|
|
1495
|
+
"p-segment-item": PSegmentItem;
|
|
1496
|
+
"p-slider-indicator": PSliderIndicator;
|
|
1497
|
+
"p-status": PStatus;
|
|
1498
|
+
"p-stepper": PStepper;
|
|
1499
|
+
"p-stepper-item": PStepperItem;
|
|
1500
|
+
"p-stepper-line": PStepperLine;
|
|
1501
|
+
"p-tab-group": PTabGroup;
|
|
1502
|
+
"p-tab-item": PTabItem;
|
|
1503
|
+
"p-tag": PTag;
|
|
400
1504
|
"p-tooltip": PTooltip;
|
|
401
1505
|
}
|
|
402
1506
|
}
|
|
@@ -404,14 +1508,47 @@ export { LocalJSX as JSX };
|
|
|
404
1508
|
declare module "@stencil/core" {
|
|
405
1509
|
export namespace JSX {
|
|
406
1510
|
interface IntrinsicElements {
|
|
1511
|
+
"p-accordion": LocalJSX.PAccordion & JSXBase.HTMLAttributes<HTMLPAccordionElement>;
|
|
407
1512
|
"p-avatar": LocalJSX.PAvatar & JSXBase.HTMLAttributes<HTMLPAvatarElement>;
|
|
1513
|
+
"p-avatar-group": LocalJSX.PAvatarGroup & JSXBase.HTMLAttributes<HTMLPAvatarGroupElement>;
|
|
408
1514
|
"p-button": LocalJSX.PButton & JSXBase.HTMLAttributes<HTMLPButtonElement>;
|
|
1515
|
+
"p-card-body": LocalJSX.PCardBody & JSXBase.HTMLAttributes<HTMLPCardBodyElement>;
|
|
1516
|
+
"p-card-container": LocalJSX.PCardContainer & JSXBase.HTMLAttributes<HTMLPCardContainerElement>;
|
|
1517
|
+
"p-card-header": LocalJSX.PCardHeader & JSXBase.HTMLAttributes<HTMLPCardHeaderElement>;
|
|
1518
|
+
"p-content-slider": LocalJSX.PContentSlider & JSXBase.HTMLAttributes<HTMLPContentSliderElement>;
|
|
409
1519
|
"p-counter": LocalJSX.PCounter & JSXBase.HTMLAttributes<HTMLPCounterElement>;
|
|
1520
|
+
"p-divider": LocalJSX.PDivider & JSXBase.HTMLAttributes<HTMLPDividerElement>;
|
|
1521
|
+
"p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
|
|
1522
|
+
"p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
|
|
1523
|
+
"p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
|
|
410
1524
|
"p-helper": LocalJSX.PHelper & JSXBase.HTMLAttributes<HTMLPHelperElement>;
|
|
411
1525
|
"p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
|
|
412
1526
|
"p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
|
|
413
1527
|
"p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
|
|
1528
|
+
"p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
|
|
1529
|
+
"p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
|
|
414
1530
|
"p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
|
|
1531
|
+
"p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
|
|
1532
|
+
"p-modal-backdrop": LocalJSX.PModalBackdrop & JSXBase.HTMLAttributes<HTMLPModalBackdropElement>;
|
|
1533
|
+
"p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
|
|
1534
|
+
"p-modal-container": LocalJSX.PModalContainer & JSXBase.HTMLAttributes<HTMLPModalContainerElement>;
|
|
1535
|
+
"p-modal-footer": LocalJSX.PModalFooter & JSXBase.HTMLAttributes<HTMLPModalFooterElement>;
|
|
1536
|
+
"p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
|
|
1537
|
+
"p-navbar": LocalJSX.PNavbar & JSXBase.HTMLAttributes<HTMLPNavbarElement>;
|
|
1538
|
+
"p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
|
|
1539
|
+
"p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
|
|
1540
|
+
"p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
|
|
1541
|
+
"p-profile": LocalJSX.PProfile & JSXBase.HTMLAttributes<HTMLPProfileElement>;
|
|
1542
|
+
"p-segment-container": LocalJSX.PSegmentContainer & JSXBase.HTMLAttributes<HTMLPSegmentContainerElement>;
|
|
1543
|
+
"p-segment-item": LocalJSX.PSegmentItem & JSXBase.HTMLAttributes<HTMLPSegmentItemElement>;
|
|
1544
|
+
"p-slider-indicator": LocalJSX.PSliderIndicator & JSXBase.HTMLAttributes<HTMLPSliderIndicatorElement>;
|
|
1545
|
+
"p-status": LocalJSX.PStatus & JSXBase.HTMLAttributes<HTMLPStatusElement>;
|
|
1546
|
+
"p-stepper": LocalJSX.PStepper & JSXBase.HTMLAttributes<HTMLPStepperElement>;
|
|
1547
|
+
"p-stepper-item": LocalJSX.PStepperItem & JSXBase.HTMLAttributes<HTMLPStepperItemElement>;
|
|
1548
|
+
"p-stepper-line": LocalJSX.PStepperLine & JSXBase.HTMLAttributes<HTMLPStepperLineElement>;
|
|
1549
|
+
"p-tab-group": LocalJSX.PTabGroup & JSXBase.HTMLAttributes<HTMLPTabGroupElement>;
|
|
1550
|
+
"p-tab-item": LocalJSX.PTabItem & JSXBase.HTMLAttributes<HTMLPTabItemElement>;
|
|
1551
|
+
"p-tag": LocalJSX.PTag & JSXBase.HTMLAttributes<HTMLPTagElement>;
|
|
415
1552
|
"p-tooltip": LocalJSX.PTooltip & JSXBase.HTMLAttributes<HTMLPTooltipElement>;
|
|
416
1553
|
}
|
|
417
1554
|
}
|