@paperless/core 0.1.0-alpha.7 → 0.1.0-alpha.70
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 +624 -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/task.svg +17 -0
- package/dist/assets/icons/template.svg +17 -0
- package/dist/assets/images/avatar/company-default.svg +12 -0
- package/dist/assets/images/avatar/user-default.svg +12 -0
- package/dist/assets/images/{helper-hover.svg → helper/helper-hover.svg} +0 -0
- package/dist/assets/images/{helper.svg → helper/helper.svg} +0 -0
- package/dist/build/p-0100c1a2.js +2 -0
- package/dist/build/p-11d24001.entry.js +1 -0
- package/dist/build/p-19254809.entry.js +1 -0
- package/dist/build/p-2120a0b7.entry.js +1 -0
- package/dist/build/p-2a3dd70b.entry.js +1 -0
- package/dist/build/p-2c7eebe0.entry.js +1 -0
- package/dist/build/p-30026c58.entry.js +1 -0
- package/dist/build/p-33abd97e.entry.js +1 -0
- package/dist/build/p-3f6d3736.entry.js +1 -0
- package/dist/build/p-40f9ac13.entry.js +1 -0
- package/dist/build/p-41693695.entry.js +1 -0
- package/dist/build/p-4a85b858.entry.js +1 -0
- package/dist/build/p-6421cd2a.entry.js +1 -0
- package/dist/build/p-73184004.entry.js +1 -0
- package/dist/build/p-75c92a9d.entry.js +1 -0
- package/dist/build/p-7784ee14.entry.js +1 -0
- package/dist/build/p-7933cf7c.entry.js +1 -0
- package/dist/build/p-7e05bc4b.entry.js +1 -0
- package/dist/build/p-864ac423.entry.js +1 -0
- package/dist/build/p-a28114e6.entry.js +1 -0
- package/dist/build/p-a5b0a5bd.entry.js +1 -0
- package/dist/build/p-a69581db.entry.js +1 -0
- package/dist/build/p-a7086ffa.js +1 -0
- package/dist/build/p-b68368f3.entry.js +1 -0
- package/dist/build/p-bf2e2185.entry.js +1 -0
- package/dist/build/p-c64e2313.entry.js +1 -0
- package/dist/build/p-cadb7366.entry.js +1 -0
- package/dist/build/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/build/p-df237d9a.entry.js +1 -0
- package/dist/build/p-e8dfce4a.entry.js +1 -0
- package/dist/build/p-f8bb6e8d.entry.js +1 -0
- package/dist/build/p-fb1e33eb.entry.js +1 -0
- package/dist/build/p-fcd30824.entry.js +1 -0
- package/dist/build/p-ffeed7c6.entry.js +1 -0
- package/dist/build/paperless.css +186 -18
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +229 -3
- package/dist/cjs/loader.cjs.js +2 -2
- 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 +38 -0
- package/dist/cjs/p-button_3.cjs.entry.js +167 -17
- 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-counter.cjs.entry.js +19 -0
- package/dist/cjs/p-divider.cjs.entry.js +19 -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-dropdown.cjs.entry.js +141 -0
- package/dist/cjs/p-helper.cjs.entry.js +7 -3
- package/dist/cjs/p-illustration.cjs.entry.js +9 -12
- package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
- package/dist/cjs/p-input-group.cjs.entry.js +41 -0
- package/dist/cjs/p-layout.cjs.entry.js +23 -0
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
- package/dist/cjs/p-modal.cjs.entry.js +39 -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 +26 -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-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 +76 -1812
- package/dist/cjs/paperless.cjs.js +2 -2
- 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/task.svg +17 -0
- package/dist/collection/assets/icons/template.svg +17 -0
- package/dist/collection/assets/images/avatar/company-default.svg +12 -0
- package/dist/collection/assets/images/avatar/user-default.svg +12 -0
- package/dist/collection/assets/images/{helper-hover.svg → helper/helper-hover.svg} +0 -0
- package/dist/collection/assets/images/{helper.svg → helper/helper.svg} +0 -0
- package/dist/collection/collection-manifest.json +34 -1
- package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
- package/dist/collection/components/atoms/avatar/avatar.component.js +110 -0
- 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 +28 -2
- package/dist/collection/components/atoms/button/button.component.js +108 -10
- 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 +5 -0
- package/dist/collection/components/atoms/counter/counter.component.js +15 -0
- package/dist/collection/components/atoms/divider/divider.component.css +3 -0
- package/dist/collection/components/atoms/divider/divider.component.js +14 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +5 -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 +41 -0
- package/dist/collection/components/atoms/helper/helper.component.css +3 -3
- package/dist/collection/components/atoms/helper/helper.component.js +34 -3
- package/dist/collection/components/atoms/icon/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon/icon.component.js +64 -20
- package/dist/collection/components/atoms/illustration/illustration.component.js +2 -9
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
- package/dist/collection/components/atoms/layout/layout.component.css +59 -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 +4 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -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/profile/profile.component.css +13 -0
- package/dist/collection/components/atoms/profile/profile.component.js +25 -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/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 +133 -35
- 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/dropdown/dropdown.component.css +9 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -0
- package/dist/collection/components/molecules/input-group/input-group.component.css +205 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js +237 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +28 -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/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 +111 -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 -6
- package/dist/collection/tailwind/screens.js +8 -0
- 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 +10 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/components/avatar.component.js +54 -0
- package/dist/components/counter.component.js +30 -0
- package/dist/components/divider.component.js +30 -0
- package/dist/components/dropdown-menu-container.component.js +29 -0
- package/dist/components/helper.component.js +42 -0
- package/dist/components/icon.component.js +138 -9
- package/dist/components/index.d.ts +33 -0
- 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 +36 -0
- package/dist/components/modal-header.component.js +30 -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.d.ts +11 -0
- package/dist/components/p-avatar.js +6 -0
- package/dist/components/p-button.js +28 -4
- 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-counter.d.ts +11 -0
- package/dist/components/p-counter.js +6 -0
- 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 +39 -0
- package/dist/components/p-dropdown.d.ts +11 -0
- package/dist/components/p-dropdown.js +166 -0
- package/dist/components/p-helper.js +1 -34
- package/dist/components/p-illustration.js +0 -4
- package/dist/components/p-info-panel.d.ts +11 -0
- package/dist/components/p-info-panel.js +56 -0
- package/dist/components/p-input-group.d.ts +11 -0
- package/dist/components/p-input-group.js +84 -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 +94 -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 +46 -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-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/stepper-item.component.js +57 -0
- package/dist/components/stepper-line.component.js +41 -0
- package/dist/components/tooltip.component.js +82 -1816
- package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +229 -3
- package/dist/esm/loader.js +2 -2
- 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 +34 -0
- package/dist/esm/p-button_3.entry.js +167 -17
- 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-counter.entry.js +15 -0
- package/dist/esm/p-divider.entry.js +15 -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-dropdown.entry.js +137 -0
- package/dist/esm/p-helper.entry.js +7 -3
- package/dist/esm/p-illustration.entry.js +9 -12
- package/dist/esm/p-info-panel.entry.js +27 -0
- package/dist/esm/p-input-group.entry.js +37 -0
- package/dist/esm/p-layout.entry.js +19 -0
- package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
- package/dist/esm/p-modal.entry.js +35 -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 +22 -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-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 +76 -1812
- package/dist/esm/paperless.js +2 -2
- 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-0100c1a2.js +2 -0
- package/dist/paperless/p-11d24001.entry.js +1 -0
- package/dist/paperless/p-19254809.entry.js +1 -0
- package/dist/paperless/p-2120a0b7.entry.js +1 -0
- package/dist/paperless/p-2a3dd70b.entry.js +1 -0
- package/dist/paperless/p-2c7eebe0.entry.js +1 -0
- package/dist/paperless/p-30026c58.entry.js +1 -0
- package/dist/paperless/p-33abd97e.entry.js +1 -0
- package/dist/paperless/p-3f6d3736.entry.js +1 -0
- package/dist/paperless/p-40f9ac13.entry.js +1 -0
- package/dist/paperless/p-41693695.entry.js +1 -0
- package/dist/paperless/p-4a85b858.entry.js +1 -0
- package/dist/paperless/p-6421cd2a.entry.js +1 -0
- package/dist/paperless/p-73184004.entry.js +1 -0
- package/dist/paperless/p-75c92a9d.entry.js +1 -0
- package/dist/paperless/p-7784ee14.entry.js +1 -0
- package/dist/paperless/p-7933cf7c.entry.js +1 -0
- package/dist/paperless/p-7e05bc4b.entry.js +1 -0
- package/dist/paperless/p-864ac423.entry.js +1 -0
- package/dist/paperless/p-a28114e6.entry.js +1 -0
- package/dist/paperless/p-a5b0a5bd.entry.js +1 -0
- package/dist/paperless/p-a69581db.entry.js +1 -0
- package/dist/paperless/p-a7086ffa.js +1 -0
- package/dist/paperless/p-b68368f3.entry.js +1 -0
- package/dist/paperless/p-bf2e2185.entry.js +1 -0
- package/dist/paperless/p-c64e2313.entry.js +1 -0
- package/dist/paperless/p-cadb7366.entry.js +1 -0
- package/dist/paperless/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/paperless/p-df237d9a.entry.js +1 -0
- package/dist/paperless/p-e8dfce4a.entry.js +1 -0
- package/dist/paperless/p-f8bb6e8d.entry.js +1 -0
- package/dist/paperless/p-fb1e33eb.entry.js +1 -0
- package/dist/paperless/p-fcd30824.entry.js +1 -0
- package/dist/paperless/p-ffeed7c6.entry.js +1 -0
- package/dist/paperless/paperless.css +284 -26355
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +2 -290
- 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 +7 -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/avatar.component.d.ts +21 -0
- 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 +3 -0
- package/dist/types/components/atoms/divider/divider.component.d.ts +3 -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 +7 -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/info-panel/info-panel.component.d.ts +24 -0
- 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 +3 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
- package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
- package/dist/types/components/atoms/profile/profile.component.d.ts +8 -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/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 +20 -8
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +49 -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/stepper/stepper.component.d.ts +18 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +25 -0
- package/dist/types/components.d.ts +1078 -21
- package/dist/types/utils/child-of.d.ts +1 -0
- package/dist/types/utils/icons.d.ts +5 -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-092ba1be.entry.js +0 -1
- package/dist/build/p-c04e9d44.entry.js +0 -1
- package/dist/build/p-f33e1285.js +0 -2
- package/dist/build/p-f64e0b3a.entry.js +0 -1
- package/dist/collection/tailwind/grid.js +0 -6
- package/dist/paperless/p-092ba1be.entry.js +0 -1
- package/dist/paperless/p-c04e9d44.entry.js +0 -1
- package/dist/paperless/p-f33e1285.js +0 -2
- package/dist/paperless/p-f64e0b3a.entry.js +0 -1
|
@@ -6,12 +6,59 @@
|
|
|
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 } 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
|
+
}
|
|
33
|
+
interface PAvatar {
|
|
34
|
+
/**
|
|
35
|
+
* The default image to show on errors
|
|
36
|
+
*/
|
|
37
|
+
"defaultImage": string;
|
|
38
|
+
/**
|
|
39
|
+
* The size of the avatar
|
|
40
|
+
*/
|
|
41
|
+
"size": 'small' | 'medium' | 'large';
|
|
42
|
+
/**
|
|
43
|
+
* The image used for the avatar
|
|
44
|
+
*/
|
|
45
|
+
"src": string;
|
|
46
|
+
/**
|
|
47
|
+
* The variant of the avatar
|
|
48
|
+
*/
|
|
49
|
+
"variant": 'user' | 'company';
|
|
50
|
+
}
|
|
51
|
+
interface PAvatarGroup {
|
|
52
|
+
/**
|
|
53
|
+
* The amount to show after the avatars
|
|
54
|
+
*/
|
|
55
|
+
"extra": number;
|
|
56
|
+
}
|
|
14
57
|
interface PButton {
|
|
58
|
+
/**
|
|
59
|
+
* Wether to show a chevron or not
|
|
60
|
+
*/
|
|
61
|
+
"chevron": boolean | 'up' | 'down';
|
|
15
62
|
/**
|
|
16
63
|
* Wether the button is disabled
|
|
17
64
|
*/
|
|
@@ -28,6 +75,10 @@ export namespace Components {
|
|
|
28
75
|
* Icon flip
|
|
29
76
|
*/
|
|
30
77
|
"iconFlip": IconFlipOptions;
|
|
78
|
+
/**
|
|
79
|
+
* Wether the button is icon only
|
|
80
|
+
*/
|
|
81
|
+
"iconOnly": boolean;
|
|
31
82
|
/**
|
|
32
83
|
* Icon position
|
|
33
84
|
*/
|
|
@@ -35,7 +86,11 @@ export namespace Components {
|
|
|
35
86
|
/**
|
|
36
87
|
* Icon rotate
|
|
37
88
|
*/
|
|
38
|
-
"iconRotate":
|
|
89
|
+
"iconRotate": RotateOptions;
|
|
90
|
+
/**
|
|
91
|
+
* Wether the button should inherit text styles
|
|
92
|
+
*/
|
|
93
|
+
"inheritText": boolean;
|
|
39
94
|
/**
|
|
40
95
|
* Wether to show a loader or not
|
|
41
96
|
*/
|
|
@@ -52,8 +107,72 @@ export namespace Components {
|
|
|
52
107
|
* The variant of the button
|
|
53
108
|
*/
|
|
54
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 PCounter {
|
|
142
|
+
}
|
|
143
|
+
interface PDivider {
|
|
144
|
+
}
|
|
145
|
+
interface PDropdown {
|
|
146
|
+
/**
|
|
147
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
148
|
+
*/
|
|
149
|
+
"disableTriggerClick": boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
152
|
+
*/
|
|
153
|
+
"insideClick": boolean;
|
|
154
|
+
/**
|
|
155
|
+
* The content of the dropdown menu
|
|
156
|
+
*/
|
|
157
|
+
"placement": 'bottom' | 'top';
|
|
158
|
+
/**
|
|
159
|
+
* Wether to show the dropdown menu
|
|
160
|
+
*/
|
|
161
|
+
"show": boolean;
|
|
162
|
+
}
|
|
163
|
+
interface PDropdownMenuContainer {
|
|
164
|
+
}
|
|
165
|
+
interface PDropdownMenuItem {
|
|
166
|
+
/**
|
|
167
|
+
* Wether the dropdown menu item is active
|
|
168
|
+
*/
|
|
169
|
+
"active": boolean;
|
|
55
170
|
}
|
|
56
171
|
interface PHelper {
|
|
172
|
+
/**
|
|
173
|
+
* The placement of the helper popover
|
|
174
|
+
*/
|
|
175
|
+
"placement": Placement;
|
|
57
176
|
}
|
|
58
177
|
interface PIcon {
|
|
59
178
|
/**
|
|
@@ -63,11 +182,11 @@ export namespace Components {
|
|
|
63
182
|
/**
|
|
64
183
|
* Wether to rotate the icon x degrees
|
|
65
184
|
*/
|
|
66
|
-
"rotate":
|
|
185
|
+
"rotate": RotateOptions;
|
|
67
186
|
/**
|
|
68
187
|
* The size of the icon, using tailwind sizes
|
|
69
188
|
*/
|
|
70
|
-
"size":
|
|
189
|
+
"size": TextSizeOptions;
|
|
71
190
|
/**
|
|
72
191
|
* The icon the be displayed
|
|
73
192
|
*/
|
|
@@ -79,6 +198,72 @@ export namespace Components {
|
|
|
79
198
|
*/
|
|
80
199
|
"variant": IllustrationVariant;
|
|
81
200
|
}
|
|
201
|
+
interface PInfoPanel {
|
|
202
|
+
/**
|
|
203
|
+
* Wether the panel can be closed
|
|
204
|
+
*/
|
|
205
|
+
"closeable": boolean;
|
|
206
|
+
/**
|
|
207
|
+
* The content of the info panel
|
|
208
|
+
*/
|
|
209
|
+
"content": string;
|
|
210
|
+
/**
|
|
211
|
+
* The header of the info panel
|
|
212
|
+
*/
|
|
213
|
+
"header": string;
|
|
214
|
+
/**
|
|
215
|
+
* The variant of the info panel
|
|
216
|
+
*/
|
|
217
|
+
"variant": 'info' | 'negative' | 'positive' | 'unbiased';
|
|
218
|
+
}
|
|
219
|
+
interface PInputGroup {
|
|
220
|
+
/**
|
|
221
|
+
* Wether the input group is disabled
|
|
222
|
+
*/
|
|
223
|
+
"disabled": boolean;
|
|
224
|
+
/**
|
|
225
|
+
* The helper of the input group
|
|
226
|
+
*/
|
|
227
|
+
"error": string;
|
|
228
|
+
/**
|
|
229
|
+
* Wether the input group is focused
|
|
230
|
+
*/
|
|
231
|
+
"focused": boolean;
|
|
232
|
+
/**
|
|
233
|
+
* The helper of the input group
|
|
234
|
+
*/
|
|
235
|
+
"helper": string;
|
|
236
|
+
/**
|
|
237
|
+
* Icon of the navigation item
|
|
238
|
+
*/
|
|
239
|
+
"icon": IconVariant;
|
|
240
|
+
/**
|
|
241
|
+
* Icon flip
|
|
242
|
+
*/
|
|
243
|
+
"iconFlip": IconFlipOptions;
|
|
244
|
+
/**
|
|
245
|
+
* Icon rotate
|
|
246
|
+
*/
|
|
247
|
+
"iconRotate": RotateOptions;
|
|
248
|
+
/**
|
|
249
|
+
* The label of the input group
|
|
250
|
+
*/
|
|
251
|
+
"label": string;
|
|
252
|
+
/**
|
|
253
|
+
* The prefix of the input group
|
|
254
|
+
*/
|
|
255
|
+
"prefix": string;
|
|
256
|
+
/**
|
|
257
|
+
* The suffix of the input group
|
|
258
|
+
*/
|
|
259
|
+
"suffix": string;
|
|
260
|
+
}
|
|
261
|
+
interface PLayout {
|
|
262
|
+
/**
|
|
263
|
+
* Variant of the layout
|
|
264
|
+
*/
|
|
265
|
+
"variant": 'default' | 'login';
|
|
266
|
+
}
|
|
82
267
|
interface PLoader {
|
|
83
268
|
/**
|
|
84
269
|
* Color of the loader
|
|
@@ -101,32 +286,295 @@ export namespace Components {
|
|
|
101
286
|
*/
|
|
102
287
|
"variant": 'inline' | 'full-width' | 'full-screen' | 'modal';
|
|
103
288
|
}
|
|
104
|
-
interface
|
|
289
|
+
interface PModal {
|
|
290
|
+
/**
|
|
291
|
+
* The Header of the modal
|
|
292
|
+
*/
|
|
293
|
+
"header": string;
|
|
294
|
+
/**
|
|
295
|
+
* Wether to show the modal or not
|
|
296
|
+
*/
|
|
297
|
+
"show": boolean;
|
|
298
|
+
/**
|
|
299
|
+
* The size of the modal container
|
|
300
|
+
*/
|
|
301
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
302
|
+
/**
|
|
303
|
+
* The variant of the modal body
|
|
304
|
+
*/
|
|
305
|
+
"variant": 'default' | 'table';
|
|
306
|
+
}
|
|
307
|
+
interface PModalBackdrop {
|
|
308
|
+
}
|
|
309
|
+
interface PModalBody {
|
|
310
|
+
/**
|
|
311
|
+
* The variant of the modal body
|
|
312
|
+
*/
|
|
313
|
+
"variant": 'default' | 'table';
|
|
314
|
+
}
|
|
315
|
+
interface PModalContainer {
|
|
316
|
+
/**
|
|
317
|
+
* The size of the modal container
|
|
318
|
+
*/
|
|
319
|
+
"size": 'sm' | 'md' | 'lg' | 'xl';
|
|
320
|
+
}
|
|
321
|
+
interface PModalFooter {
|
|
322
|
+
}
|
|
323
|
+
interface PModalHeader {
|
|
324
|
+
}
|
|
325
|
+
interface PNavigationItem {
|
|
326
|
+
/**
|
|
327
|
+
* Wether the navigation item is active
|
|
328
|
+
*/
|
|
329
|
+
"active": boolean;
|
|
105
330
|
/**
|
|
106
|
-
*
|
|
331
|
+
* Icon of the navigation item
|
|
107
332
|
*/
|
|
108
|
-
"
|
|
333
|
+
"counter": number | string;
|
|
109
334
|
/**
|
|
110
|
-
*
|
|
335
|
+
* The href of the navigation item
|
|
111
336
|
*/
|
|
112
|
-
"
|
|
337
|
+
"href": string;
|
|
338
|
+
/**
|
|
339
|
+
* Icon of the navigation item
|
|
340
|
+
*/
|
|
341
|
+
"icon": IconVariant;
|
|
342
|
+
/**
|
|
343
|
+
* The target of the navigation item
|
|
344
|
+
*/
|
|
345
|
+
"target": string;
|
|
346
|
+
}
|
|
347
|
+
interface PPagination {
|
|
113
348
|
/**
|
|
114
|
-
* The
|
|
349
|
+
* The current page
|
|
350
|
+
*/
|
|
351
|
+
"page": number;
|
|
352
|
+
/**
|
|
353
|
+
* The amount of items per page
|
|
354
|
+
*/
|
|
355
|
+
"pageSize": number;
|
|
356
|
+
/**
|
|
357
|
+
* The total amount of items
|
|
358
|
+
*/
|
|
359
|
+
"total": number;
|
|
360
|
+
}
|
|
361
|
+
interface PPaginationItem {
|
|
362
|
+
/**
|
|
363
|
+
* Wether the pagination item is active
|
|
364
|
+
*/
|
|
365
|
+
"active": boolean;
|
|
366
|
+
}
|
|
367
|
+
interface PProfile {
|
|
368
|
+
}
|
|
369
|
+
interface PSegmentContainer {
|
|
370
|
+
}
|
|
371
|
+
interface PSegmentItem {
|
|
372
|
+
/**
|
|
373
|
+
* Wether the segment item is active
|
|
374
|
+
*/
|
|
375
|
+
"active": boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Icon to show on the segment item
|
|
378
|
+
*/
|
|
379
|
+
"icon": IconVariant;
|
|
380
|
+
/**
|
|
381
|
+
* Icon flip
|
|
382
|
+
*/
|
|
383
|
+
"iconFlip": IconFlipOptions;
|
|
384
|
+
/**
|
|
385
|
+
* Icon rotate
|
|
386
|
+
*/
|
|
387
|
+
"iconRotate": RotateOptions;
|
|
388
|
+
}
|
|
389
|
+
interface PStatus {
|
|
390
|
+
/**
|
|
391
|
+
* Icon to show on the status
|
|
392
|
+
*/
|
|
393
|
+
"icon": IconVariant;
|
|
394
|
+
/**
|
|
395
|
+
* Icon flip
|
|
396
|
+
*/
|
|
397
|
+
"iconFlip": IconFlipOptions;
|
|
398
|
+
/**
|
|
399
|
+
* Icon rotate
|
|
400
|
+
*/
|
|
401
|
+
"iconRotate": RotateOptions;
|
|
402
|
+
/**
|
|
403
|
+
* The variant of the status
|
|
404
|
+
*/
|
|
405
|
+
"variant": 'default' | 'positive' | 'unbiased' | 'negative';
|
|
406
|
+
}
|
|
407
|
+
interface PStepper {
|
|
408
|
+
/**
|
|
409
|
+
* The currently active step
|
|
410
|
+
*/
|
|
411
|
+
"activeStep": number;
|
|
412
|
+
/**
|
|
413
|
+
* The direction of the stepper
|
|
414
|
+
*/
|
|
415
|
+
"direction": 'horizontal' | 'vertical';
|
|
416
|
+
}
|
|
417
|
+
interface PStepperItem {
|
|
418
|
+
/**
|
|
419
|
+
* Wether the step is active
|
|
420
|
+
*/
|
|
421
|
+
"active": boolean;
|
|
422
|
+
/**
|
|
423
|
+
* The alignment of the step content
|
|
424
|
+
*/
|
|
425
|
+
"align": 'start' | 'center' | 'end';
|
|
426
|
+
/**
|
|
427
|
+
* The direction of the stepper step
|
|
428
|
+
*/
|
|
429
|
+
"direction": 'horizontal' | 'vertical';
|
|
430
|
+
/**
|
|
431
|
+
* Wether the step is finished
|
|
432
|
+
*/
|
|
433
|
+
"finished": boolean;
|
|
434
|
+
}
|
|
435
|
+
interface PStepperLine {
|
|
436
|
+
/**
|
|
437
|
+
* Wether the line is active
|
|
438
|
+
*/
|
|
439
|
+
"active": boolean;
|
|
440
|
+
/**
|
|
441
|
+
* The direction of the stepper line
|
|
442
|
+
*/
|
|
443
|
+
"direction": 'horizontal' | 'vertical';
|
|
444
|
+
}
|
|
445
|
+
interface PTabGroup {
|
|
446
|
+
}
|
|
447
|
+
interface PTabItem {
|
|
448
|
+
/**
|
|
449
|
+
* Wether the tab item is active
|
|
450
|
+
*/
|
|
451
|
+
"active": boolean;
|
|
452
|
+
}
|
|
453
|
+
interface PTag {
|
|
454
|
+
/**
|
|
455
|
+
* Wether to add the circle or not
|
|
456
|
+
*/
|
|
457
|
+
"circle": boolean;
|
|
458
|
+
/**
|
|
459
|
+
* Variant of the tag
|
|
460
|
+
*/
|
|
461
|
+
"variant": | 'positive'
|
|
462
|
+
| 'unbiased'
|
|
463
|
+
| 'negative'
|
|
464
|
+
| 'info';
|
|
465
|
+
}
|
|
466
|
+
interface PTooltip {
|
|
467
|
+
/**
|
|
468
|
+
* Wether to someone can manually close the popover
|
|
469
|
+
*/
|
|
470
|
+
"canManuallyClose": boolean;
|
|
471
|
+
/**
|
|
472
|
+
* The placement of the popover
|
|
115
473
|
*/
|
|
116
474
|
"placement": Placement;
|
|
475
|
+
/**
|
|
476
|
+
* The content of the popover
|
|
477
|
+
*/
|
|
478
|
+
"popover": any;
|
|
479
|
+
/**
|
|
480
|
+
* Wether to show the popover
|
|
481
|
+
*/
|
|
482
|
+
"show": boolean;
|
|
483
|
+
/**
|
|
484
|
+
* The variant of the popover
|
|
485
|
+
*/
|
|
486
|
+
"variant": 'hover' | 'click' | 'error';
|
|
117
487
|
}
|
|
118
488
|
}
|
|
489
|
+
export interface PAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
490
|
+
detail: T;
|
|
491
|
+
target: HTMLPAccordionElement;
|
|
492
|
+
}
|
|
119
493
|
export interface PButtonCustomEvent<T> extends CustomEvent<T> {
|
|
120
494
|
detail: T;
|
|
121
495
|
target: HTMLPButtonElement;
|
|
122
496
|
}
|
|
497
|
+
export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
498
|
+
detail: T;
|
|
499
|
+
target: HTMLPDropdownElement;
|
|
500
|
+
}
|
|
501
|
+
export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
502
|
+
detail: T;
|
|
503
|
+
target: HTMLPPaginationElement;
|
|
504
|
+
}
|
|
123
505
|
declare global {
|
|
506
|
+
interface HTMLPAccordionElement extends Components.PAccordion, HTMLStencilElement {
|
|
507
|
+
}
|
|
508
|
+
var HTMLPAccordionElement: {
|
|
509
|
+
prototype: HTMLPAccordionElement;
|
|
510
|
+
new (): HTMLPAccordionElement;
|
|
511
|
+
};
|
|
512
|
+
interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
|
|
513
|
+
}
|
|
514
|
+
var HTMLPAvatarElement: {
|
|
515
|
+
prototype: HTMLPAvatarElement;
|
|
516
|
+
new (): HTMLPAvatarElement;
|
|
517
|
+
};
|
|
518
|
+
interface HTMLPAvatarGroupElement extends Components.PAvatarGroup, HTMLStencilElement {
|
|
519
|
+
}
|
|
520
|
+
var HTMLPAvatarGroupElement: {
|
|
521
|
+
prototype: HTMLPAvatarGroupElement;
|
|
522
|
+
new (): HTMLPAvatarGroupElement;
|
|
523
|
+
};
|
|
124
524
|
interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
|
|
125
525
|
}
|
|
126
526
|
var HTMLPButtonElement: {
|
|
127
527
|
prototype: HTMLPButtonElement;
|
|
128
528
|
new (): HTMLPButtonElement;
|
|
129
529
|
};
|
|
530
|
+
interface HTMLPCardBodyElement extends Components.PCardBody, HTMLStencilElement {
|
|
531
|
+
}
|
|
532
|
+
var HTMLPCardBodyElement: {
|
|
533
|
+
prototype: HTMLPCardBodyElement;
|
|
534
|
+
new (): HTMLPCardBodyElement;
|
|
535
|
+
};
|
|
536
|
+
interface HTMLPCardContainerElement extends Components.PCardContainer, HTMLStencilElement {
|
|
537
|
+
}
|
|
538
|
+
var HTMLPCardContainerElement: {
|
|
539
|
+
prototype: HTMLPCardContainerElement;
|
|
540
|
+
new (): HTMLPCardContainerElement;
|
|
541
|
+
};
|
|
542
|
+
interface HTMLPCardHeaderElement extends Components.PCardHeader, HTMLStencilElement {
|
|
543
|
+
}
|
|
544
|
+
var HTMLPCardHeaderElement: {
|
|
545
|
+
prototype: HTMLPCardHeaderElement;
|
|
546
|
+
new (): HTMLPCardHeaderElement;
|
|
547
|
+
};
|
|
548
|
+
interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
|
|
549
|
+
}
|
|
550
|
+
var HTMLPCounterElement: {
|
|
551
|
+
prototype: HTMLPCounterElement;
|
|
552
|
+
new (): HTMLPCounterElement;
|
|
553
|
+
};
|
|
554
|
+
interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
|
|
555
|
+
}
|
|
556
|
+
var HTMLPDividerElement: {
|
|
557
|
+
prototype: HTMLPDividerElement;
|
|
558
|
+
new (): HTMLPDividerElement;
|
|
559
|
+
};
|
|
560
|
+
interface HTMLPDropdownElement extends Components.PDropdown, HTMLStencilElement {
|
|
561
|
+
}
|
|
562
|
+
var HTMLPDropdownElement: {
|
|
563
|
+
prototype: HTMLPDropdownElement;
|
|
564
|
+
new (): HTMLPDropdownElement;
|
|
565
|
+
};
|
|
566
|
+
interface HTMLPDropdownMenuContainerElement extends Components.PDropdownMenuContainer, HTMLStencilElement {
|
|
567
|
+
}
|
|
568
|
+
var HTMLPDropdownMenuContainerElement: {
|
|
569
|
+
prototype: HTMLPDropdownMenuContainerElement;
|
|
570
|
+
new (): HTMLPDropdownMenuContainerElement;
|
|
571
|
+
};
|
|
572
|
+
interface HTMLPDropdownMenuItemElement extends Components.PDropdownMenuItem, HTMLStencilElement {
|
|
573
|
+
}
|
|
574
|
+
var HTMLPDropdownMenuItemElement: {
|
|
575
|
+
prototype: HTMLPDropdownMenuItemElement;
|
|
576
|
+
new (): HTMLPDropdownMenuItemElement;
|
|
577
|
+
};
|
|
130
578
|
interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
|
|
131
579
|
}
|
|
132
580
|
var HTMLPHelperElement: {
|
|
@@ -145,12 +593,144 @@ declare global {
|
|
|
145
593
|
prototype: HTMLPIllustrationElement;
|
|
146
594
|
new (): HTMLPIllustrationElement;
|
|
147
595
|
};
|
|
596
|
+
interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
|
|
597
|
+
}
|
|
598
|
+
var HTMLPInfoPanelElement: {
|
|
599
|
+
prototype: HTMLPInfoPanelElement;
|
|
600
|
+
new (): HTMLPInfoPanelElement;
|
|
601
|
+
};
|
|
602
|
+
interface HTMLPInputGroupElement extends Components.PInputGroup, HTMLStencilElement {
|
|
603
|
+
}
|
|
604
|
+
var HTMLPInputGroupElement: {
|
|
605
|
+
prototype: HTMLPInputGroupElement;
|
|
606
|
+
new (): HTMLPInputGroupElement;
|
|
607
|
+
};
|
|
608
|
+
interface HTMLPLayoutElement extends Components.PLayout, HTMLStencilElement {
|
|
609
|
+
}
|
|
610
|
+
var HTMLPLayoutElement: {
|
|
611
|
+
prototype: HTMLPLayoutElement;
|
|
612
|
+
new (): HTMLPLayoutElement;
|
|
613
|
+
};
|
|
148
614
|
interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
|
|
149
615
|
}
|
|
150
616
|
var HTMLPLoaderElement: {
|
|
151
617
|
prototype: HTMLPLoaderElement;
|
|
152
618
|
new (): HTMLPLoaderElement;
|
|
153
619
|
};
|
|
620
|
+
interface HTMLPModalElement extends Components.PModal, HTMLStencilElement {
|
|
621
|
+
}
|
|
622
|
+
var HTMLPModalElement: {
|
|
623
|
+
prototype: HTMLPModalElement;
|
|
624
|
+
new (): HTMLPModalElement;
|
|
625
|
+
};
|
|
626
|
+
interface HTMLPModalBackdropElement extends Components.PModalBackdrop, HTMLStencilElement {
|
|
627
|
+
}
|
|
628
|
+
var HTMLPModalBackdropElement: {
|
|
629
|
+
prototype: HTMLPModalBackdropElement;
|
|
630
|
+
new (): HTMLPModalBackdropElement;
|
|
631
|
+
};
|
|
632
|
+
interface HTMLPModalBodyElement extends Components.PModalBody, HTMLStencilElement {
|
|
633
|
+
}
|
|
634
|
+
var HTMLPModalBodyElement: {
|
|
635
|
+
prototype: HTMLPModalBodyElement;
|
|
636
|
+
new (): HTMLPModalBodyElement;
|
|
637
|
+
};
|
|
638
|
+
interface HTMLPModalContainerElement extends Components.PModalContainer, HTMLStencilElement {
|
|
639
|
+
}
|
|
640
|
+
var HTMLPModalContainerElement: {
|
|
641
|
+
prototype: HTMLPModalContainerElement;
|
|
642
|
+
new (): HTMLPModalContainerElement;
|
|
643
|
+
};
|
|
644
|
+
interface HTMLPModalFooterElement extends Components.PModalFooter, HTMLStencilElement {
|
|
645
|
+
}
|
|
646
|
+
var HTMLPModalFooterElement: {
|
|
647
|
+
prototype: HTMLPModalFooterElement;
|
|
648
|
+
new (): HTMLPModalFooterElement;
|
|
649
|
+
};
|
|
650
|
+
interface HTMLPModalHeaderElement extends Components.PModalHeader, HTMLStencilElement {
|
|
651
|
+
}
|
|
652
|
+
var HTMLPModalHeaderElement: {
|
|
653
|
+
prototype: HTMLPModalHeaderElement;
|
|
654
|
+
new (): HTMLPModalHeaderElement;
|
|
655
|
+
};
|
|
656
|
+
interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
|
|
657
|
+
}
|
|
658
|
+
var HTMLPNavigationItemElement: {
|
|
659
|
+
prototype: HTMLPNavigationItemElement;
|
|
660
|
+
new (): HTMLPNavigationItemElement;
|
|
661
|
+
};
|
|
662
|
+
interface HTMLPPaginationElement extends Components.PPagination, HTMLStencilElement {
|
|
663
|
+
}
|
|
664
|
+
var HTMLPPaginationElement: {
|
|
665
|
+
prototype: HTMLPPaginationElement;
|
|
666
|
+
new (): HTMLPPaginationElement;
|
|
667
|
+
};
|
|
668
|
+
interface HTMLPPaginationItemElement extends Components.PPaginationItem, HTMLStencilElement {
|
|
669
|
+
}
|
|
670
|
+
var HTMLPPaginationItemElement: {
|
|
671
|
+
prototype: HTMLPPaginationItemElement;
|
|
672
|
+
new (): HTMLPPaginationItemElement;
|
|
673
|
+
};
|
|
674
|
+
interface HTMLPProfileElement extends Components.PProfile, HTMLStencilElement {
|
|
675
|
+
}
|
|
676
|
+
var HTMLPProfileElement: {
|
|
677
|
+
prototype: HTMLPProfileElement;
|
|
678
|
+
new (): HTMLPProfileElement;
|
|
679
|
+
};
|
|
680
|
+
interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
|
|
681
|
+
}
|
|
682
|
+
var HTMLPSegmentContainerElement: {
|
|
683
|
+
prototype: HTMLPSegmentContainerElement;
|
|
684
|
+
new (): HTMLPSegmentContainerElement;
|
|
685
|
+
};
|
|
686
|
+
interface HTMLPSegmentItemElement extends Components.PSegmentItem, HTMLStencilElement {
|
|
687
|
+
}
|
|
688
|
+
var HTMLPSegmentItemElement: {
|
|
689
|
+
prototype: HTMLPSegmentItemElement;
|
|
690
|
+
new (): HTMLPSegmentItemElement;
|
|
691
|
+
};
|
|
692
|
+
interface HTMLPStatusElement extends Components.PStatus, HTMLStencilElement {
|
|
693
|
+
}
|
|
694
|
+
var HTMLPStatusElement: {
|
|
695
|
+
prototype: HTMLPStatusElement;
|
|
696
|
+
new (): HTMLPStatusElement;
|
|
697
|
+
};
|
|
698
|
+
interface HTMLPStepperElement extends Components.PStepper, HTMLStencilElement {
|
|
699
|
+
}
|
|
700
|
+
var HTMLPStepperElement: {
|
|
701
|
+
prototype: HTMLPStepperElement;
|
|
702
|
+
new (): HTMLPStepperElement;
|
|
703
|
+
};
|
|
704
|
+
interface HTMLPStepperItemElement extends Components.PStepperItem, HTMLStencilElement {
|
|
705
|
+
}
|
|
706
|
+
var HTMLPStepperItemElement: {
|
|
707
|
+
prototype: HTMLPStepperItemElement;
|
|
708
|
+
new (): HTMLPStepperItemElement;
|
|
709
|
+
};
|
|
710
|
+
interface HTMLPStepperLineElement extends Components.PStepperLine, HTMLStencilElement {
|
|
711
|
+
}
|
|
712
|
+
var HTMLPStepperLineElement: {
|
|
713
|
+
prototype: HTMLPStepperLineElement;
|
|
714
|
+
new (): HTMLPStepperLineElement;
|
|
715
|
+
};
|
|
716
|
+
interface HTMLPTabGroupElement extends Components.PTabGroup, HTMLStencilElement {
|
|
717
|
+
}
|
|
718
|
+
var HTMLPTabGroupElement: {
|
|
719
|
+
prototype: HTMLPTabGroupElement;
|
|
720
|
+
new (): HTMLPTabGroupElement;
|
|
721
|
+
};
|
|
722
|
+
interface HTMLPTabItemElement extends Components.PTabItem, HTMLStencilElement {
|
|
723
|
+
}
|
|
724
|
+
var HTMLPTabItemElement: {
|
|
725
|
+
prototype: HTMLPTabItemElement;
|
|
726
|
+
new (): HTMLPTabItemElement;
|
|
727
|
+
};
|
|
728
|
+
interface HTMLPTagElement extends Components.PTag, HTMLStencilElement {
|
|
729
|
+
}
|
|
730
|
+
var HTMLPTagElement: {
|
|
731
|
+
prototype: HTMLPTagElement;
|
|
732
|
+
new (): HTMLPTagElement;
|
|
733
|
+
};
|
|
154
734
|
interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
|
|
155
735
|
}
|
|
156
736
|
var HTMLPTooltipElement: {
|
|
@@ -158,16 +738,99 @@ declare global {
|
|
|
158
738
|
new (): HTMLPTooltipElement;
|
|
159
739
|
};
|
|
160
740
|
interface HTMLElementTagNameMap {
|
|
741
|
+
"p-accordion": HTMLPAccordionElement;
|
|
742
|
+
"p-avatar": HTMLPAvatarElement;
|
|
743
|
+
"p-avatar-group": HTMLPAvatarGroupElement;
|
|
161
744
|
"p-button": HTMLPButtonElement;
|
|
745
|
+
"p-card-body": HTMLPCardBodyElement;
|
|
746
|
+
"p-card-container": HTMLPCardContainerElement;
|
|
747
|
+
"p-card-header": HTMLPCardHeaderElement;
|
|
748
|
+
"p-counter": HTMLPCounterElement;
|
|
749
|
+
"p-divider": HTMLPDividerElement;
|
|
750
|
+
"p-dropdown": HTMLPDropdownElement;
|
|
751
|
+
"p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
|
|
752
|
+
"p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
|
|
162
753
|
"p-helper": HTMLPHelperElement;
|
|
163
754
|
"p-icon": HTMLPIconElement;
|
|
164
755
|
"p-illustration": HTMLPIllustrationElement;
|
|
756
|
+
"p-info-panel": HTMLPInfoPanelElement;
|
|
757
|
+
"p-input-group": HTMLPInputGroupElement;
|
|
758
|
+
"p-layout": HTMLPLayoutElement;
|
|
165
759
|
"p-loader": HTMLPLoaderElement;
|
|
760
|
+
"p-modal": HTMLPModalElement;
|
|
761
|
+
"p-modal-backdrop": HTMLPModalBackdropElement;
|
|
762
|
+
"p-modal-body": HTMLPModalBodyElement;
|
|
763
|
+
"p-modal-container": HTMLPModalContainerElement;
|
|
764
|
+
"p-modal-footer": HTMLPModalFooterElement;
|
|
765
|
+
"p-modal-header": HTMLPModalHeaderElement;
|
|
766
|
+
"p-navigation-item": HTMLPNavigationItemElement;
|
|
767
|
+
"p-pagination": HTMLPPaginationElement;
|
|
768
|
+
"p-pagination-item": HTMLPPaginationItemElement;
|
|
769
|
+
"p-profile": HTMLPProfileElement;
|
|
770
|
+
"p-segment-container": HTMLPSegmentContainerElement;
|
|
771
|
+
"p-segment-item": HTMLPSegmentItemElement;
|
|
772
|
+
"p-status": HTMLPStatusElement;
|
|
773
|
+
"p-stepper": HTMLPStepperElement;
|
|
774
|
+
"p-stepper-item": HTMLPStepperItemElement;
|
|
775
|
+
"p-stepper-line": HTMLPStepperLineElement;
|
|
776
|
+
"p-tab-group": HTMLPTabGroupElement;
|
|
777
|
+
"p-tab-item": HTMLPTabItemElement;
|
|
778
|
+
"p-tag": HTMLPTagElement;
|
|
166
779
|
"p-tooltip": HTMLPTooltipElement;
|
|
167
780
|
}
|
|
168
781
|
}
|
|
169
782
|
declare namespace LocalJSX {
|
|
783
|
+
interface PAccordion {
|
|
784
|
+
/**
|
|
785
|
+
* Wether the accordion can be closed
|
|
786
|
+
*/
|
|
787
|
+
"closeable"?: boolean;
|
|
788
|
+
/**
|
|
789
|
+
* Header of the accordion
|
|
790
|
+
*/
|
|
791
|
+
"header": string;
|
|
792
|
+
/**
|
|
793
|
+
* Open change event
|
|
794
|
+
*/
|
|
795
|
+
"onIsOpen"?: (event: PAccordionCustomEvent<boolean>) => void;
|
|
796
|
+
/**
|
|
797
|
+
* Wether the accordion is open
|
|
798
|
+
*/
|
|
799
|
+
"open"?: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* Wether the accordion can be opened
|
|
802
|
+
*/
|
|
803
|
+
"openable"?: boolean;
|
|
804
|
+
}
|
|
805
|
+
interface PAvatar {
|
|
806
|
+
/**
|
|
807
|
+
* The default image to show on errors
|
|
808
|
+
*/
|
|
809
|
+
"defaultImage"?: string;
|
|
810
|
+
/**
|
|
811
|
+
* The size of the avatar
|
|
812
|
+
*/
|
|
813
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
814
|
+
/**
|
|
815
|
+
* The image used for the avatar
|
|
816
|
+
*/
|
|
817
|
+
"src": string;
|
|
818
|
+
/**
|
|
819
|
+
* The variant of the avatar
|
|
820
|
+
*/
|
|
821
|
+
"variant"?: 'user' | 'company';
|
|
822
|
+
}
|
|
823
|
+
interface PAvatarGroup {
|
|
824
|
+
/**
|
|
825
|
+
* The amount to show after the avatars
|
|
826
|
+
*/
|
|
827
|
+
"extra"?: number;
|
|
828
|
+
}
|
|
170
829
|
interface PButton {
|
|
830
|
+
/**
|
|
831
|
+
* Wether to show a chevron or not
|
|
832
|
+
*/
|
|
833
|
+
"chevron"?: boolean | 'up' | 'down';
|
|
171
834
|
/**
|
|
172
835
|
* Wether the button is disabled
|
|
173
836
|
*/
|
|
@@ -184,6 +847,10 @@ declare namespace LocalJSX {
|
|
|
184
847
|
* Icon flip
|
|
185
848
|
*/
|
|
186
849
|
"iconFlip"?: IconFlipOptions;
|
|
850
|
+
/**
|
|
851
|
+
* Wether the button is icon only
|
|
852
|
+
*/
|
|
853
|
+
"iconOnly"?: boolean;
|
|
187
854
|
/**
|
|
188
855
|
* Icon position
|
|
189
856
|
*/
|
|
@@ -191,7 +858,11 @@ declare namespace LocalJSX {
|
|
|
191
858
|
/**
|
|
192
859
|
* Icon rotate
|
|
193
860
|
*/
|
|
194
|
-
"iconRotate"?:
|
|
861
|
+
"iconRotate"?: RotateOptions;
|
|
862
|
+
/**
|
|
863
|
+
* Wether the button should inherit text styles
|
|
864
|
+
*/
|
|
865
|
+
"inheritText"?: boolean;
|
|
195
866
|
/**
|
|
196
867
|
* Wether to show a loader or not
|
|
197
868
|
*/
|
|
@@ -212,8 +883,76 @@ declare namespace LocalJSX {
|
|
|
212
883
|
* The variant of the button
|
|
213
884
|
*/
|
|
214
885
|
"variant"?: 'primary' | 'secondary' | 'text';
|
|
886
|
+
/**
|
|
887
|
+
* The width of the button
|
|
888
|
+
*/
|
|
889
|
+
"width"?: 'auto' | 'full';
|
|
890
|
+
}
|
|
891
|
+
interface PCardBody {
|
|
892
|
+
/**
|
|
893
|
+
* Wether the button should inherit text styles
|
|
894
|
+
*/
|
|
895
|
+
"inheritText"?: boolean;
|
|
896
|
+
}
|
|
897
|
+
interface PCardContainer {
|
|
898
|
+
/**
|
|
899
|
+
* Wether the card should be hoverable
|
|
900
|
+
*/
|
|
901
|
+
"hoverable"?: boolean;
|
|
902
|
+
/**
|
|
903
|
+
* Wether the card should have shadow
|
|
904
|
+
*/
|
|
905
|
+
"shadow"?: boolean;
|
|
906
|
+
}
|
|
907
|
+
interface PCardHeader {
|
|
908
|
+
/**
|
|
909
|
+
* Enable the title arrow
|
|
910
|
+
*/
|
|
911
|
+
"arrow"?: boolean;
|
|
912
|
+
/**
|
|
913
|
+
* Content of the card header
|
|
914
|
+
*/
|
|
915
|
+
"header"?: string;
|
|
916
|
+
}
|
|
917
|
+
interface PCounter {
|
|
918
|
+
}
|
|
919
|
+
interface PDivider {
|
|
920
|
+
}
|
|
921
|
+
interface PDropdown {
|
|
922
|
+
/**
|
|
923
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
924
|
+
*/
|
|
925
|
+
"disableTriggerClick"?: boolean;
|
|
926
|
+
/**
|
|
927
|
+
* Wether to automatically close the dropdown menu after clicking inside
|
|
928
|
+
*/
|
|
929
|
+
"insideClick"?: boolean;
|
|
930
|
+
/**
|
|
931
|
+
* Open change event
|
|
932
|
+
*/
|
|
933
|
+
"onIsOpen"?: (event: PDropdownCustomEvent<boolean>) => void;
|
|
934
|
+
/**
|
|
935
|
+
* The content of the dropdown menu
|
|
936
|
+
*/
|
|
937
|
+
"placement"?: 'bottom' | 'top';
|
|
938
|
+
/**
|
|
939
|
+
* Wether to show the dropdown menu
|
|
940
|
+
*/
|
|
941
|
+
"show"?: boolean;
|
|
942
|
+
}
|
|
943
|
+
interface PDropdownMenuContainer {
|
|
944
|
+
}
|
|
945
|
+
interface PDropdownMenuItem {
|
|
946
|
+
/**
|
|
947
|
+
* Wether the dropdown menu item is active
|
|
948
|
+
*/
|
|
949
|
+
"active"?: boolean;
|
|
215
950
|
}
|
|
216
951
|
interface PHelper {
|
|
952
|
+
/**
|
|
953
|
+
* The placement of the helper popover
|
|
954
|
+
*/
|
|
955
|
+
"placement"?: Placement;
|
|
217
956
|
}
|
|
218
957
|
interface PIcon {
|
|
219
958
|
/**
|
|
@@ -223,21 +962,87 @@ declare namespace LocalJSX {
|
|
|
223
962
|
/**
|
|
224
963
|
* Wether to rotate the icon x degrees
|
|
225
964
|
*/
|
|
226
|
-
"rotate"?:
|
|
965
|
+
"rotate"?: RotateOptions;
|
|
227
966
|
/**
|
|
228
967
|
* The size of the icon, using tailwind sizes
|
|
229
968
|
*/
|
|
230
|
-
"size"?:
|
|
969
|
+
"size"?: TextSizeOptions;
|
|
231
970
|
/**
|
|
232
971
|
* The icon the be displayed
|
|
233
972
|
*/
|
|
234
|
-
"variant"
|
|
973
|
+
"variant": IconVariant;
|
|
235
974
|
}
|
|
236
975
|
interface PIllustration {
|
|
237
976
|
/**
|
|
238
977
|
* The icon the be displayed
|
|
239
978
|
*/
|
|
240
|
-
"variant"
|
|
979
|
+
"variant": IllustrationVariant;
|
|
980
|
+
}
|
|
981
|
+
interface PInfoPanel {
|
|
982
|
+
/**
|
|
983
|
+
* Wether the panel can be closed
|
|
984
|
+
*/
|
|
985
|
+
"closeable"?: boolean;
|
|
986
|
+
/**
|
|
987
|
+
* The content of the info panel
|
|
988
|
+
*/
|
|
989
|
+
"content"?: string;
|
|
990
|
+
/**
|
|
991
|
+
* The header of the info panel
|
|
992
|
+
*/
|
|
993
|
+
"header"?: string;
|
|
994
|
+
/**
|
|
995
|
+
* The variant of the info panel
|
|
996
|
+
*/
|
|
997
|
+
"variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
|
|
998
|
+
}
|
|
999
|
+
interface PInputGroup {
|
|
1000
|
+
/**
|
|
1001
|
+
* Wether the input group is disabled
|
|
1002
|
+
*/
|
|
1003
|
+
"disabled"?: boolean;
|
|
1004
|
+
/**
|
|
1005
|
+
* The helper of the input group
|
|
1006
|
+
*/
|
|
1007
|
+
"error"?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* Wether the input group is focused
|
|
1010
|
+
*/
|
|
1011
|
+
"focused"?: boolean;
|
|
1012
|
+
/**
|
|
1013
|
+
* The helper of the input group
|
|
1014
|
+
*/
|
|
1015
|
+
"helper"?: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* Icon of the navigation item
|
|
1018
|
+
*/
|
|
1019
|
+
"icon"?: IconVariant;
|
|
1020
|
+
/**
|
|
1021
|
+
* Icon flip
|
|
1022
|
+
*/
|
|
1023
|
+
"iconFlip"?: IconFlipOptions;
|
|
1024
|
+
/**
|
|
1025
|
+
* Icon rotate
|
|
1026
|
+
*/
|
|
1027
|
+
"iconRotate"?: RotateOptions;
|
|
1028
|
+
/**
|
|
1029
|
+
* The label of the input group
|
|
1030
|
+
*/
|
|
1031
|
+
"label"?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* The prefix of the input group
|
|
1034
|
+
*/
|
|
1035
|
+
"prefix"?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* The suffix of the input group
|
|
1038
|
+
*/
|
|
1039
|
+
"suffix"?: string;
|
|
1040
|
+
}
|
|
1041
|
+
interface PLayout {
|
|
1042
|
+
/**
|
|
1043
|
+
* Variant of the layout
|
|
1044
|
+
*/
|
|
1045
|
+
"variant"?: 'default' | 'login';
|
|
241
1046
|
}
|
|
242
1047
|
interface PLoader {
|
|
243
1048
|
/**
|
|
@@ -261,26 +1066,245 @@ declare namespace LocalJSX {
|
|
|
261
1066
|
*/
|
|
262
1067
|
"variant"?: 'inline' | 'full-width' | 'full-screen' | 'modal';
|
|
263
1068
|
}
|
|
264
|
-
interface
|
|
1069
|
+
interface PModal {
|
|
1070
|
+
/**
|
|
1071
|
+
* The Header of the modal
|
|
1072
|
+
*/
|
|
1073
|
+
"header"?: string;
|
|
265
1074
|
/**
|
|
266
|
-
*
|
|
1075
|
+
* Wether to show the modal or not
|
|
267
1076
|
*/
|
|
268
|
-
"
|
|
1077
|
+
"show"?: boolean;
|
|
269
1078
|
/**
|
|
270
|
-
*
|
|
1079
|
+
* The size of the modal container
|
|
271
1080
|
*/
|
|
272
|
-
"
|
|
1081
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1082
|
+
/**
|
|
1083
|
+
* The variant of the modal body
|
|
1084
|
+
*/
|
|
1085
|
+
"variant"?: 'default' | 'table';
|
|
1086
|
+
}
|
|
1087
|
+
interface PModalBackdrop {
|
|
1088
|
+
}
|
|
1089
|
+
interface PModalBody {
|
|
273
1090
|
/**
|
|
274
|
-
* The
|
|
1091
|
+
* The variant of the modal body
|
|
1092
|
+
*/
|
|
1093
|
+
"variant"?: 'default' | 'table';
|
|
1094
|
+
}
|
|
1095
|
+
interface PModalContainer {
|
|
1096
|
+
/**
|
|
1097
|
+
* The size of the modal container
|
|
1098
|
+
*/
|
|
1099
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1100
|
+
}
|
|
1101
|
+
interface PModalFooter {
|
|
1102
|
+
}
|
|
1103
|
+
interface PModalHeader {
|
|
1104
|
+
}
|
|
1105
|
+
interface PNavigationItem {
|
|
1106
|
+
/**
|
|
1107
|
+
* Wether the navigation item is active
|
|
1108
|
+
*/
|
|
1109
|
+
"active"?: boolean;
|
|
1110
|
+
/**
|
|
1111
|
+
* Icon of the navigation item
|
|
1112
|
+
*/
|
|
1113
|
+
"counter"?: number | string;
|
|
1114
|
+
/**
|
|
1115
|
+
* The href of the navigation item
|
|
1116
|
+
*/
|
|
1117
|
+
"href"?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Icon of the navigation item
|
|
1120
|
+
*/
|
|
1121
|
+
"icon"?: IconVariant;
|
|
1122
|
+
/**
|
|
1123
|
+
* The target of the navigation item
|
|
1124
|
+
*/
|
|
1125
|
+
"target"?: string;
|
|
1126
|
+
}
|
|
1127
|
+
interface PPagination {
|
|
1128
|
+
"onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
|
|
1129
|
+
/**
|
|
1130
|
+
* The current page
|
|
1131
|
+
*/
|
|
1132
|
+
"page"?: number;
|
|
1133
|
+
/**
|
|
1134
|
+
* The amount of items per page
|
|
1135
|
+
*/
|
|
1136
|
+
"pageSize"?: number;
|
|
1137
|
+
/**
|
|
1138
|
+
* The total amount of items
|
|
1139
|
+
*/
|
|
1140
|
+
"total": number;
|
|
1141
|
+
}
|
|
1142
|
+
interface PPaginationItem {
|
|
1143
|
+
/**
|
|
1144
|
+
* Wether the pagination item is active
|
|
1145
|
+
*/
|
|
1146
|
+
"active"?: boolean;
|
|
1147
|
+
}
|
|
1148
|
+
interface PProfile {
|
|
1149
|
+
}
|
|
1150
|
+
interface PSegmentContainer {
|
|
1151
|
+
}
|
|
1152
|
+
interface PSegmentItem {
|
|
1153
|
+
/**
|
|
1154
|
+
* Wether the segment item is active
|
|
1155
|
+
*/
|
|
1156
|
+
"active"?: boolean;
|
|
1157
|
+
/**
|
|
1158
|
+
* Icon to show on the segment item
|
|
1159
|
+
*/
|
|
1160
|
+
"icon"?: IconVariant;
|
|
1161
|
+
/**
|
|
1162
|
+
* Icon flip
|
|
1163
|
+
*/
|
|
1164
|
+
"iconFlip"?: IconFlipOptions;
|
|
1165
|
+
/**
|
|
1166
|
+
* Icon rotate
|
|
1167
|
+
*/
|
|
1168
|
+
"iconRotate"?: RotateOptions;
|
|
1169
|
+
}
|
|
1170
|
+
interface PStatus {
|
|
1171
|
+
/**
|
|
1172
|
+
* Icon to show on the status
|
|
1173
|
+
*/
|
|
1174
|
+
"icon"?: IconVariant;
|
|
1175
|
+
/**
|
|
1176
|
+
* Icon flip
|
|
1177
|
+
*/
|
|
1178
|
+
"iconFlip"?: IconFlipOptions;
|
|
1179
|
+
/**
|
|
1180
|
+
* Icon rotate
|
|
1181
|
+
*/
|
|
1182
|
+
"iconRotate"?: RotateOptions;
|
|
1183
|
+
/**
|
|
1184
|
+
* The variant of the status
|
|
1185
|
+
*/
|
|
1186
|
+
"variant"?: 'default' | 'positive' | 'unbiased' | 'negative';
|
|
1187
|
+
}
|
|
1188
|
+
interface PStepper {
|
|
1189
|
+
/**
|
|
1190
|
+
* The currently active step
|
|
1191
|
+
*/
|
|
1192
|
+
"activeStep"?: number;
|
|
1193
|
+
/**
|
|
1194
|
+
* The direction of the stepper
|
|
1195
|
+
*/
|
|
1196
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
1197
|
+
}
|
|
1198
|
+
interface PStepperItem {
|
|
1199
|
+
/**
|
|
1200
|
+
* Wether the step is active
|
|
1201
|
+
*/
|
|
1202
|
+
"active"?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* The alignment of the step content
|
|
1205
|
+
*/
|
|
1206
|
+
"align"?: 'start' | 'center' | 'end';
|
|
1207
|
+
/**
|
|
1208
|
+
* The direction of the stepper step
|
|
1209
|
+
*/
|
|
1210
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
1211
|
+
/**
|
|
1212
|
+
* Wether the step is finished
|
|
1213
|
+
*/
|
|
1214
|
+
"finished"?: boolean;
|
|
1215
|
+
}
|
|
1216
|
+
interface PStepperLine {
|
|
1217
|
+
/**
|
|
1218
|
+
* Wether the line is active
|
|
1219
|
+
*/
|
|
1220
|
+
"active"?: boolean;
|
|
1221
|
+
/**
|
|
1222
|
+
* The direction of the stepper line
|
|
1223
|
+
*/
|
|
1224
|
+
"direction"?: 'horizontal' | 'vertical';
|
|
1225
|
+
}
|
|
1226
|
+
interface PTabGroup {
|
|
1227
|
+
}
|
|
1228
|
+
interface PTabItem {
|
|
1229
|
+
/**
|
|
1230
|
+
* Wether the tab item is active
|
|
1231
|
+
*/
|
|
1232
|
+
"active"?: boolean;
|
|
1233
|
+
}
|
|
1234
|
+
interface PTag {
|
|
1235
|
+
/**
|
|
1236
|
+
* Wether to add the circle or not
|
|
1237
|
+
*/
|
|
1238
|
+
"circle"?: boolean;
|
|
1239
|
+
/**
|
|
1240
|
+
* Variant of the tag
|
|
1241
|
+
*/
|
|
1242
|
+
"variant"?: | 'positive'
|
|
1243
|
+
| 'unbiased'
|
|
1244
|
+
| 'negative'
|
|
1245
|
+
| 'info';
|
|
1246
|
+
}
|
|
1247
|
+
interface PTooltip {
|
|
1248
|
+
/**
|
|
1249
|
+
* Wether to someone can manually close the popover
|
|
1250
|
+
*/
|
|
1251
|
+
"canManuallyClose"?: boolean;
|
|
1252
|
+
/**
|
|
1253
|
+
* The placement of the popover
|
|
275
1254
|
*/
|
|
276
1255
|
"placement"?: Placement;
|
|
1256
|
+
/**
|
|
1257
|
+
* The content of the popover
|
|
1258
|
+
*/
|
|
1259
|
+
"popover"?: any;
|
|
1260
|
+
/**
|
|
1261
|
+
* Wether to show the popover
|
|
1262
|
+
*/
|
|
1263
|
+
"show"?: boolean;
|
|
1264
|
+
/**
|
|
1265
|
+
* The variant of the popover
|
|
1266
|
+
*/
|
|
1267
|
+
"variant"?: 'hover' | 'click' | 'error';
|
|
277
1268
|
}
|
|
278
1269
|
interface IntrinsicElements {
|
|
1270
|
+
"p-accordion": PAccordion;
|
|
1271
|
+
"p-avatar": PAvatar;
|
|
1272
|
+
"p-avatar-group": PAvatarGroup;
|
|
279
1273
|
"p-button": PButton;
|
|
1274
|
+
"p-card-body": PCardBody;
|
|
1275
|
+
"p-card-container": PCardContainer;
|
|
1276
|
+
"p-card-header": PCardHeader;
|
|
1277
|
+
"p-counter": PCounter;
|
|
1278
|
+
"p-divider": PDivider;
|
|
1279
|
+
"p-dropdown": PDropdown;
|
|
1280
|
+
"p-dropdown-menu-container": PDropdownMenuContainer;
|
|
1281
|
+
"p-dropdown-menu-item": PDropdownMenuItem;
|
|
280
1282
|
"p-helper": PHelper;
|
|
281
1283
|
"p-icon": PIcon;
|
|
282
1284
|
"p-illustration": PIllustration;
|
|
1285
|
+
"p-info-panel": PInfoPanel;
|
|
1286
|
+
"p-input-group": PInputGroup;
|
|
1287
|
+
"p-layout": PLayout;
|
|
283
1288
|
"p-loader": PLoader;
|
|
1289
|
+
"p-modal": PModal;
|
|
1290
|
+
"p-modal-backdrop": PModalBackdrop;
|
|
1291
|
+
"p-modal-body": PModalBody;
|
|
1292
|
+
"p-modal-container": PModalContainer;
|
|
1293
|
+
"p-modal-footer": PModalFooter;
|
|
1294
|
+
"p-modal-header": PModalHeader;
|
|
1295
|
+
"p-navigation-item": PNavigationItem;
|
|
1296
|
+
"p-pagination": PPagination;
|
|
1297
|
+
"p-pagination-item": PPaginationItem;
|
|
1298
|
+
"p-profile": PProfile;
|
|
1299
|
+
"p-segment-container": PSegmentContainer;
|
|
1300
|
+
"p-segment-item": PSegmentItem;
|
|
1301
|
+
"p-status": PStatus;
|
|
1302
|
+
"p-stepper": PStepper;
|
|
1303
|
+
"p-stepper-item": PStepperItem;
|
|
1304
|
+
"p-stepper-line": PStepperLine;
|
|
1305
|
+
"p-tab-group": PTabGroup;
|
|
1306
|
+
"p-tab-item": PTabItem;
|
|
1307
|
+
"p-tag": PTag;
|
|
284
1308
|
"p-tooltip": PTooltip;
|
|
285
1309
|
}
|
|
286
1310
|
}
|
|
@@ -288,11 +1312,44 @@ export { LocalJSX as JSX };
|
|
|
288
1312
|
declare module "@stencil/core" {
|
|
289
1313
|
export namespace JSX {
|
|
290
1314
|
interface IntrinsicElements {
|
|
1315
|
+
"p-accordion": LocalJSX.PAccordion & JSXBase.HTMLAttributes<HTMLPAccordionElement>;
|
|
1316
|
+
"p-avatar": LocalJSX.PAvatar & JSXBase.HTMLAttributes<HTMLPAvatarElement>;
|
|
1317
|
+
"p-avatar-group": LocalJSX.PAvatarGroup & JSXBase.HTMLAttributes<HTMLPAvatarGroupElement>;
|
|
291
1318
|
"p-button": LocalJSX.PButton & JSXBase.HTMLAttributes<HTMLPButtonElement>;
|
|
1319
|
+
"p-card-body": LocalJSX.PCardBody & JSXBase.HTMLAttributes<HTMLPCardBodyElement>;
|
|
1320
|
+
"p-card-container": LocalJSX.PCardContainer & JSXBase.HTMLAttributes<HTMLPCardContainerElement>;
|
|
1321
|
+
"p-card-header": LocalJSX.PCardHeader & JSXBase.HTMLAttributes<HTMLPCardHeaderElement>;
|
|
1322
|
+
"p-counter": LocalJSX.PCounter & JSXBase.HTMLAttributes<HTMLPCounterElement>;
|
|
1323
|
+
"p-divider": LocalJSX.PDivider & JSXBase.HTMLAttributes<HTMLPDividerElement>;
|
|
1324
|
+
"p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
|
|
1325
|
+
"p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
|
|
1326
|
+
"p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
|
|
292
1327
|
"p-helper": LocalJSX.PHelper & JSXBase.HTMLAttributes<HTMLPHelperElement>;
|
|
293
1328
|
"p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
|
|
294
1329
|
"p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
|
|
1330
|
+
"p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
|
|
1331
|
+
"p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
|
|
1332
|
+
"p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
|
|
295
1333
|
"p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
|
|
1334
|
+
"p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
|
|
1335
|
+
"p-modal-backdrop": LocalJSX.PModalBackdrop & JSXBase.HTMLAttributes<HTMLPModalBackdropElement>;
|
|
1336
|
+
"p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
|
|
1337
|
+
"p-modal-container": LocalJSX.PModalContainer & JSXBase.HTMLAttributes<HTMLPModalContainerElement>;
|
|
1338
|
+
"p-modal-footer": LocalJSX.PModalFooter & JSXBase.HTMLAttributes<HTMLPModalFooterElement>;
|
|
1339
|
+
"p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
|
|
1340
|
+
"p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
|
|
1341
|
+
"p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
|
|
1342
|
+
"p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
|
|
1343
|
+
"p-profile": LocalJSX.PProfile & JSXBase.HTMLAttributes<HTMLPProfileElement>;
|
|
1344
|
+
"p-segment-container": LocalJSX.PSegmentContainer & JSXBase.HTMLAttributes<HTMLPSegmentContainerElement>;
|
|
1345
|
+
"p-segment-item": LocalJSX.PSegmentItem & JSXBase.HTMLAttributes<HTMLPSegmentItemElement>;
|
|
1346
|
+
"p-status": LocalJSX.PStatus & JSXBase.HTMLAttributes<HTMLPStatusElement>;
|
|
1347
|
+
"p-stepper": LocalJSX.PStepper & JSXBase.HTMLAttributes<HTMLPStepperElement>;
|
|
1348
|
+
"p-stepper-item": LocalJSX.PStepperItem & JSXBase.HTMLAttributes<HTMLPStepperItemElement>;
|
|
1349
|
+
"p-stepper-line": LocalJSX.PStepperLine & JSXBase.HTMLAttributes<HTMLPStepperLineElement>;
|
|
1350
|
+
"p-tab-group": LocalJSX.PTabGroup & JSXBase.HTMLAttributes<HTMLPTabGroupElement>;
|
|
1351
|
+
"p-tab-item": LocalJSX.PTabItem & JSXBase.HTMLAttributes<HTMLPTabItemElement>;
|
|
1352
|
+
"p-tag": LocalJSX.PTag & JSXBase.HTMLAttributes<HTMLPTagElement>;
|
|
296
1353
|
"p-tooltip": LocalJSX.PTooltip & JSXBase.HTMLAttributes<HTMLPTooltipElement>;
|
|
297
1354
|
}
|
|
298
1355
|
}
|