@paperless/core 0.1.0-alpha.5 → 0.1.0-alpha.50
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 +441 -0
- package/README.md +18 -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/helper-hover.svg +15 -0
- package/dist/assets/images/helper/helper.svg +15 -0
- package/dist/build/p-0100c1a2.js +2 -0
- package/dist/build/p-0fc4e043.entry.js +1 -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-27914eed.entry.js +1 -0
- package/dist/build/p-2c23d197.entry.js +1 -0
- package/dist/build/p-2c7eebe0.entry.js +1 -0
- package/dist/build/p-3b491ca2.entry.js +1 -0
- package/dist/build/p-3f6d3736.entry.js +1 -0
- package/dist/build/p-4a85b858.entry.js +1 -0
- package/dist/build/p-5101f35f.entry.js +1 -0
- package/dist/build/p-5438d70e.entry.js +1 -0
- package/dist/build/p-67079a0b.entry.js +1 -0
- package/dist/build/p-67fc89a6.entry.js +1 -0
- package/dist/build/p-6e60b92a.entry.js +1 -0
- package/dist/build/p-7784ee14.entry.js +1 -0
- package/dist/build/p-7cf04cb4.entry.js +1 -0
- package/dist/build/p-864ac423.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-c64e2313.entry.js +1 -0
- package/dist/build/p-ccbddcbb.entry.js +1 -0
- package/dist/build/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/build/p-f50c6e5b.entry.js +1 -0
- package/dist/build/p-fb1e33eb.entry.js +1 -0
- package/dist/build/p-ffeed7c6.entry.js +1 -0
- package/dist/build/paperless.css +29 -18
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +201 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
- package/dist/cjs/p-avatar.cjs.entry.js +35 -0
- package/dist/cjs/p-button_3.cjs.entry.js +162 -17
- package/dist/cjs/p-card-body.cjs.entry.js +23 -0
- package/dist/cjs/p-card-container.cjs.entry.js +23 -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 +19 -0
- 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-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-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-line_2.cjs.entry.js +56 -0
- package/dist/cjs/p-stepper.cjs.entry.js +72 -0
- package/dist/cjs/p-tooltip.cjs.entry.js +75 -1811
- 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/helper-hover.svg +15 -0
- package/dist/collection/assets/images/helper/helper.svg +15 -0
- package/dist/collection/collection-manifest.json +28 -1
- package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
- package/dist/collection/components/atoms/avatar/avatar.component.js +107 -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 +23 -1
- package/dist/collection/components/atoms/button/button.component.js +86 -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 +13 -0
- package/dist/collection/components/atoms/card-container/card-container.component.js +41 -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 +60 -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 +7 -0
- package/dist/collection/components/atoms/helper/helper.component.js +18 -0
- package/dist/collection/components/atoms/icon/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon/icon.component.js +63 -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/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/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-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/stepper-step/stepper-step.component.css +59 -0
- package/dist/collection/components/atoms/stepper-step/stepper-step.component.js +109 -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/dropdown/dropdown.component.css +9 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -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 +107 -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/grid.js +24 -4
- package/dist/collection/tailwind/typography.js +21 -0
- package/dist/collection/tailwind/z-index.js +3 -0
- package/dist/collection/tailwind.config.js +21 -13
- 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/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/icon.component.js +137 -9
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.js +27 -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-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 +54 -0
- package/dist/components/p-button.js +23 -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 +39 -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.d.ts +11 -0
- package/dist/components/p-helper.js +39 -0
- 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-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-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-line.d.ts +11 -0
- package/dist/components/p-stepper-line.js +6 -0
- package/dist/components/p-stepper-step.d.ts +11 -0
- package/dist/components/p-stepper-step.js +6 -0
- package/dist/components/p-stepper.d.ts +11 -0
- package/dist/components/p-stepper.js +107 -0
- package/dist/components/p-tooltip.js +1 -1886
- package/dist/components/pagination-item.component.js +36 -0
- package/dist/components/popper.js +1788 -0
- package/dist/components/stepper-line.component.js +41 -0
- package/dist/components/stepper-step.component.js +57 -0
- package/dist/components/tooltip.component.js +154 -0
- package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +201 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-avatar-group.entry.js +15 -0
- package/dist/esm/p-avatar.entry.js +31 -0
- package/dist/esm/p-button_3.entry.js +162 -17
- package/dist/esm/p-card-body.entry.js +19 -0
- package/dist/esm/p-card-container.entry.js +19 -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 +15 -0
- package/dist/esm/p-illustration.entry.js +9 -12
- package/dist/esm/p-info-panel.entry.js +27 -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-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-line_2.entry.js +51 -0
- package/dist/esm/p-stepper.entry.js +68 -0
- package/dist/esm/p-tooltip.entry.js +75 -1811
- 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-0fc4e043.entry.js +1 -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-27914eed.entry.js +1 -0
- package/dist/paperless/p-2c23d197.entry.js +1 -0
- package/dist/paperless/p-2c7eebe0.entry.js +1 -0
- package/dist/paperless/p-3b491ca2.entry.js +1 -0
- package/dist/paperless/p-3f6d3736.entry.js +1 -0
- package/dist/paperless/p-4a85b858.entry.js +1 -0
- package/dist/paperless/p-5101f35f.entry.js +1 -0
- package/dist/paperless/p-5438d70e.entry.js +1 -0
- package/dist/paperless/p-67079a0b.entry.js +1 -0
- package/dist/paperless/p-67fc89a6.entry.js +1 -0
- package/dist/paperless/p-6e60b92a.entry.js +1 -0
- package/dist/paperless/p-7784ee14.entry.js +1 -0
- package/dist/paperless/p-7cf04cb4.entry.js +1 -0
- package/dist/paperless/p-864ac423.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-c64e2313.entry.js +1 -0
- package/dist/paperless/p-ccbddcbb.entry.js +1 -0
- package/dist/paperless/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/paperless/p-f50c6e5b.entry.js +1 -0
- package/dist/paperless/p-fb1e33eb.entry.js +1 -0
- package/dist/paperless/p-ffeed7c6.entry.js +1 -0
- package/dist/paperless/paperless.css +82 -26376
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +2 -260
- 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/grid.js +26 -0
- package/dist/tailwind/rotate.js +8 -0
- package/dist/tailwind/scale.js +3 -0
- package/dist/tailwind/shadows.js +7 -0
- package/dist/tailwind/typography.js +21 -0
- package/dist/tailwind/z-index.js +3 -0
- package/dist/tailwind.config.js +21 -13
- 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 +14 -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 +7 -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 +3 -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/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/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-line/stepper-line.component.d.ts +11 -0
- package/dist/types/components/atoms/stepper-step/stepper-step.component.d.ts +19 -0
- package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +20 -8
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -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 +817 -20
- 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-4144f8a0.entry.js +0 -1
- package/dist/build/p-c04e9d44.entry.js +0 -1
- package/dist/build/p-f33e1285.js +0 -2
- package/dist/paperless/p-4144f8a0.entry.js +0 -1
- package/dist/paperless/p-c04e9d44.entry.js +0 -1
- package/dist/paperless/p-f33e1285.js +0 -2
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class StepperLine {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the line is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
/**
|
|
9
|
+
* The direction of the stepper line
|
|
10
|
+
*/
|
|
11
|
+
this.direction = 'horizontal';
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return h(Host, { class: "p-stepper-line" });
|
|
15
|
+
}
|
|
16
|
+
static get is() { return "p-stepper-line"; }
|
|
17
|
+
static get encapsulation() { return "shadow"; }
|
|
18
|
+
static get originalStyleUrls() { return {
|
|
19
|
+
"$": ["stepper-line.component.scss"]
|
|
20
|
+
}; }
|
|
21
|
+
static get styleUrls() { return {
|
|
22
|
+
"$": ["stepper-line.component.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get properties() { return {
|
|
25
|
+
"active": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"mutable": false,
|
|
28
|
+
"complexType": {
|
|
29
|
+
"original": "boolean",
|
|
30
|
+
"resolved": "boolean",
|
|
31
|
+
"references": {}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": false,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": "Wether the line is active"
|
|
38
|
+
},
|
|
39
|
+
"attribute": "active",
|
|
40
|
+
"reflect": true,
|
|
41
|
+
"defaultValue": "false"
|
|
42
|
+
},
|
|
43
|
+
"direction": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"mutable": false,
|
|
46
|
+
"complexType": {
|
|
47
|
+
"original": "'horizontal' | 'vertical'",
|
|
48
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
49
|
+
"references": {}
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"optional": false,
|
|
53
|
+
"docs": {
|
|
54
|
+
"tags": [],
|
|
55
|
+
"text": "The direction of the stepper line"
|
|
56
|
+
},
|
|
57
|
+
"attribute": "direction",
|
|
58
|
+
"reflect": true,
|
|
59
|
+
"defaultValue": "'horizontal'"
|
|
60
|
+
}
|
|
61
|
+
}; }
|
|
62
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex items-end justify-center relative;
|
|
3
|
+
}
|
|
4
|
+
:host .content {
|
|
5
|
+
@apply whitespace-nowrap;
|
|
6
|
+
@apply text-sm font-semibold text-storm-light;
|
|
7
|
+
}
|
|
8
|
+
:host .circle {
|
|
9
|
+
@apply transition duration-500 ease-in-out;
|
|
10
|
+
@apply flex items-center justify-center;
|
|
11
|
+
@apply rounded-round h-4 w-4;
|
|
12
|
+
@apply bg-mystic-dark text-white;
|
|
13
|
+
}
|
|
14
|
+
:host .circle p-icon {
|
|
15
|
+
@apply flex !important;
|
|
16
|
+
font-size: 0.625rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([direction=horizontal]) {
|
|
20
|
+
@apply h-10;
|
|
21
|
+
}
|
|
22
|
+
:host([direction=horizontal]) .content {
|
|
23
|
+
@apply absolute top-0;
|
|
24
|
+
@apply order-1;
|
|
25
|
+
}
|
|
26
|
+
:host([direction=horizontal]) .circle {
|
|
27
|
+
@apply order-2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([direction=vertical]) {
|
|
31
|
+
@apply h-4;
|
|
32
|
+
}
|
|
33
|
+
:host([direction=vertical]) .content {
|
|
34
|
+
@apply ml-4 order-2;
|
|
35
|
+
}
|
|
36
|
+
:host([direction=vertical]) .circle {
|
|
37
|
+
@apply order-1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([active]) .content,
|
|
41
|
+
:host([finished]) .content {
|
|
42
|
+
@apply text-indigo;
|
|
43
|
+
}
|
|
44
|
+
:host([active]) .circle,
|
|
45
|
+
:host([finished]) .circle {
|
|
46
|
+
@apply bg-indigo;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host([direction=horizontal][align=start]) .content {
|
|
50
|
+
@apply left-0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host([direction=horizontal][align=end]) .content {
|
|
54
|
+
@apply right-0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host([direction=horizontal][align=center]) .content {
|
|
58
|
+
@apply left-1/2 text-center transform -translate-x-1/2;
|
|
59
|
+
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-indigo,.border-mystic-dark{--tw-border-opacity:1!important}.border-mystic-dark{border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.static{position:static!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class StepperStep {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The alignment of the step content
|
|
6
|
+
*/
|
|
7
|
+
this.align = 'center';
|
|
8
|
+
/**
|
|
9
|
+
* The direction of the stepper step
|
|
10
|
+
*/
|
|
11
|
+
this.direction = 'horizontal';
|
|
12
|
+
/**
|
|
13
|
+
* Wether the step is finished
|
|
14
|
+
*/
|
|
15
|
+
this.finished = false;
|
|
16
|
+
/**
|
|
17
|
+
* Wether the step is active
|
|
18
|
+
*/
|
|
19
|
+
this.active = false;
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return (h(Host, { class: "p-stepper-step" },
|
|
23
|
+
h("div", { class: "content" },
|
|
24
|
+
h("slot", null)),
|
|
25
|
+
h("div", { class: "circle" }, this.finished && h("p-icon", { variant: "checkmark" }))));
|
|
26
|
+
}
|
|
27
|
+
static get is() { return "p-stepper-step"; }
|
|
28
|
+
static get encapsulation() { return "shadow"; }
|
|
29
|
+
static get originalStyleUrls() { return {
|
|
30
|
+
"$": ["stepper-step.component.scss"]
|
|
31
|
+
}; }
|
|
32
|
+
static get styleUrls() { return {
|
|
33
|
+
"$": ["stepper-step.component.css"]
|
|
34
|
+
}; }
|
|
35
|
+
static get properties() { return {
|
|
36
|
+
"align": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "'start' | 'center' | 'end'",
|
|
41
|
+
"resolved": "\"center\" | \"end\" | \"start\"",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": false,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": "The alignment of the step content"
|
|
49
|
+
},
|
|
50
|
+
"attribute": "align",
|
|
51
|
+
"reflect": true,
|
|
52
|
+
"defaultValue": "'center'"
|
|
53
|
+
},
|
|
54
|
+
"direction": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "'horizontal' | 'vertical'",
|
|
59
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "The direction of the stepper step"
|
|
67
|
+
},
|
|
68
|
+
"attribute": "direction",
|
|
69
|
+
"reflect": true,
|
|
70
|
+
"defaultValue": "'horizontal'"
|
|
71
|
+
},
|
|
72
|
+
"finished": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "boolean",
|
|
77
|
+
"resolved": "boolean",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Wether the step is finished"
|
|
85
|
+
},
|
|
86
|
+
"attribute": "finished",
|
|
87
|
+
"reflect": true,
|
|
88
|
+
"defaultValue": "false"
|
|
89
|
+
},
|
|
90
|
+
"active": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "boolean",
|
|
95
|
+
"resolved": "boolean",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Wether the step is active"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "active",
|
|
105
|
+
"reflect": true,
|
|
106
|
+
"defaultValue": "false"
|
|
107
|
+
}
|
|
108
|
+
}; }
|
|
109
|
+
}
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
@apply cursor-pointer;
|
|
2
|
+
@apply cursor-pointer inline-block;
|
|
3
3
|
}
|
|
4
|
-
:host .
|
|
5
|
-
@apply bg-
|
|
4
|
+
:host .popover {
|
|
5
|
+
@apply bg-white hidden text-xs font-medium py-2 px-3 rounded drop-shadow-4;
|
|
6
6
|
max-width: 14.5rem;
|
|
7
7
|
}
|
|
8
|
-
:host .
|
|
8
|
+
:host .popover.variant-hover, :host .popover.variant-error {
|
|
9
|
+
@apply bg-storm text-white py-1;
|
|
10
|
+
}
|
|
11
|
+
:host .popover.variant-error {
|
|
12
|
+
@apply bg-negative;
|
|
13
|
+
}
|
|
14
|
+
:host .popover[data-show] {
|
|
9
15
|
@apply block;
|
|
10
16
|
}
|
|
11
|
-
:host .
|
|
12
|
-
:host .
|
|
17
|
+
:host .popover .arrow,
|
|
18
|
+
:host .popover .arrow::before {
|
|
13
19
|
background: inherit;
|
|
14
20
|
@apply absolute w-2 h-2;
|
|
15
21
|
}
|
|
16
|
-
:host .
|
|
22
|
+
:host .popover .arrow {
|
|
17
23
|
visibility: hidden;
|
|
18
24
|
}
|
|
19
|
-
:host .
|
|
25
|
+
:host .popover .arrow::before {
|
|
20
26
|
@apply visible transform rotate-45;
|
|
21
27
|
content: "";
|
|
22
28
|
}
|
|
23
|
-
:host .
|
|
29
|
+
:host .popover[data-popper-placement^=top] > .arrow {
|
|
24
30
|
@apply -bottom-1;
|
|
25
31
|
}
|
|
26
|
-
:host .
|
|
32
|
+
:host .popover[data-popper-placement^=bottom] > .arrow {
|
|
27
33
|
@apply -top-1;
|
|
28
34
|
}
|
|
29
|
-
:host .
|
|
35
|
+
:host .popover[data-popper-placement^=left] > .arrow {
|
|
30
36
|
@apply -right-1;
|
|
31
37
|
}
|
|
32
|
-
:host .
|
|
38
|
+
:host .popover[data-popper-placement^=right] > .arrow {
|
|
33
39
|
@apply -left-1;
|
|
34
|
-
}
|
|
40
|
+
} .visible{visibility:visible!important}.static{position:static!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.static{position:static!important}.visible{visibility:visible!important}.static{position:static!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}
|
|
@@ -3,60 +3,104 @@ import { Component, Element, h, Host, Listen, Prop } from '@stencil/core';
|
|
|
3
3
|
export class Tooltip {
|
|
4
4
|
constructor() {
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
6
|
+
* The variant of the popover
|
|
7
7
|
*/
|
|
8
|
-
this.
|
|
8
|
+
this.variant = 'hover';
|
|
9
9
|
/**
|
|
10
|
-
* The content of the
|
|
10
|
+
* The content of the popover
|
|
11
|
+
*/
|
|
12
|
+
this.popover = null;
|
|
13
|
+
/**
|
|
14
|
+
* The content of the popover
|
|
11
15
|
*/
|
|
12
16
|
this.placement = 'top';
|
|
13
17
|
/**
|
|
14
|
-
* Wether to
|
|
18
|
+
* Wether to show the popover
|
|
19
|
+
*/
|
|
20
|
+
this.show = false;
|
|
21
|
+
/**
|
|
22
|
+
* Wether to someone can manually close the popover
|
|
15
23
|
*/
|
|
16
|
-
this.
|
|
24
|
+
this.canManuallyClose = true;
|
|
17
25
|
this._loaded = false;
|
|
18
26
|
}
|
|
19
27
|
componentShouldUpdate() {
|
|
20
28
|
this._setOptions();
|
|
21
|
-
if (this.
|
|
29
|
+
if (this._loaded && this.show) {
|
|
22
30
|
this._show();
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
render() {
|
|
26
|
-
return (h(Host, { class: "p-
|
|
27
|
-
h("slot",
|
|
28
|
-
h("div", { class:
|
|
29
|
-
this.
|
|
34
|
+
return (h(Host, { class: "p-popover" },
|
|
35
|
+
h("slot", { name: "content" }),
|
|
36
|
+
h("div", { class: `popover variant-${this.variant}`, role: "popover", ref: (el) => this._load(el) },
|
|
37
|
+
this.popover ? this.popover : h("slot", { name: "popover" }),
|
|
30
38
|
h("div", { class: "arrow", "data-popper-arrow": true }))));
|
|
31
39
|
}
|
|
40
|
+
clickHandler() {
|
|
41
|
+
if (this.variant !== 'click') {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (this._popover.hasAttribute('data-show')) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
this._show();
|
|
48
|
+
}
|
|
49
|
+
documentClickHandler() {
|
|
50
|
+
if (this.variant !== 'click' || !this.canManuallyClose) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (!this._popover.hasAttribute('data-show')) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
this._hide();
|
|
57
|
+
}
|
|
58
|
+
mouseEnterHandler() {
|
|
59
|
+
if (this.variant !== 'hover') {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
this._show();
|
|
63
|
+
}
|
|
64
|
+
mouseLeaveHandler() {
|
|
65
|
+
if (this.show || this.variant !== 'hover') {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
this._hide();
|
|
69
|
+
}
|
|
32
70
|
_show() {
|
|
33
71
|
if (!this._loaded) {
|
|
34
72
|
return;
|
|
35
73
|
}
|
|
36
|
-
// Make the
|
|
37
|
-
this.
|
|
74
|
+
// Make the popover visible
|
|
75
|
+
this._popover.setAttribute('data-show', '');
|
|
38
76
|
// Enable the event listeners
|
|
39
|
-
this._popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [
|
|
77
|
+
this._popper.setOptions((options) => (Object.assign(Object.assign({}, options), { modifiers: [
|
|
78
|
+
...options.modifiers,
|
|
79
|
+
{ name: 'eventListeners', enabled: true },
|
|
80
|
+
] })));
|
|
40
81
|
// Update its position
|
|
41
82
|
this._popper.update();
|
|
42
83
|
}
|
|
43
84
|
_hide() {
|
|
44
|
-
if (!this._loaded
|
|
85
|
+
if (!this._loaded) {
|
|
45
86
|
return;
|
|
46
87
|
}
|
|
47
|
-
// Hide the
|
|
48
|
-
this.
|
|
88
|
+
// Hide the popover
|
|
89
|
+
this._popover.removeAttribute('data-show');
|
|
49
90
|
// Disable the event listeners
|
|
50
|
-
this._popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [
|
|
91
|
+
this._popper.setOptions((options) => (Object.assign(Object.assign({}, options), { modifiers: [
|
|
92
|
+
...options.modifiers,
|
|
93
|
+
{ name: 'eventListeners', enabled: false },
|
|
94
|
+
] })));
|
|
51
95
|
}
|
|
52
|
-
_load(
|
|
53
|
-
this.
|
|
54
|
-
if (
|
|
55
|
-
this._popper = createPopper(this._el,
|
|
96
|
+
_load(popover) {
|
|
97
|
+
this._popover = popover;
|
|
98
|
+
if (popover) {
|
|
99
|
+
this._popper = createPopper(this._el, popover);
|
|
56
100
|
this._setOptions();
|
|
57
101
|
this._loaded = true;
|
|
58
|
-
if (this.
|
|
59
|
-
this._show();
|
|
102
|
+
if (this.show) {
|
|
103
|
+
setTimeout(() => this._show(), 100);
|
|
60
104
|
}
|
|
61
105
|
}
|
|
62
106
|
}
|
|
@@ -65,7 +109,7 @@ export class Tooltip {
|
|
|
65
109
|
return;
|
|
66
110
|
}
|
|
67
111
|
this._popper.setOptions({
|
|
68
|
-
placement: this.placement,
|
|
112
|
+
placement: this.variant === 'error' ? 'bottom-start' : this.placement,
|
|
69
113
|
modifiers: [
|
|
70
114
|
{
|
|
71
115
|
name: 'offset',
|
|
@@ -73,6 +117,12 @@ export class Tooltip {
|
|
|
73
117
|
offset: [0, 8],
|
|
74
118
|
},
|
|
75
119
|
},
|
|
120
|
+
{
|
|
121
|
+
name: 'arrow',
|
|
122
|
+
options: {
|
|
123
|
+
padding: 4,
|
|
124
|
+
},
|
|
125
|
+
},
|
|
76
126
|
],
|
|
77
127
|
});
|
|
78
128
|
}
|
|
@@ -85,7 +135,25 @@ export class Tooltip {
|
|
|
85
135
|
"$": ["tooltip.component.css"]
|
|
86
136
|
}; }
|
|
87
137
|
static get properties() { return {
|
|
88
|
-
"
|
|
138
|
+
"variant": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "'hover' | 'click' | 'error'",
|
|
143
|
+
"resolved": "\"click\" | \"error\" | \"hover\"",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": false,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "The variant of the popover"
|
|
151
|
+
},
|
|
152
|
+
"attribute": "variant",
|
|
153
|
+
"reflect": false,
|
|
154
|
+
"defaultValue": "'hover'"
|
|
155
|
+
},
|
|
156
|
+
"popover": {
|
|
89
157
|
"type": "any",
|
|
90
158
|
"mutable": false,
|
|
91
159
|
"complexType": {
|
|
@@ -97,9 +165,9 @@ export class Tooltip {
|
|
|
97
165
|
"optional": false,
|
|
98
166
|
"docs": {
|
|
99
167
|
"tags": [],
|
|
100
|
-
"text": "The content of the
|
|
168
|
+
"text": "The content of the popover"
|
|
101
169
|
},
|
|
102
|
-
"attribute": "
|
|
170
|
+
"attribute": "popover",
|
|
103
171
|
"reflect": false,
|
|
104
172
|
"defaultValue": "null"
|
|
105
173
|
},
|
|
@@ -120,13 +188,13 @@ export class Tooltip {
|
|
|
120
188
|
"optional": false,
|
|
121
189
|
"docs": {
|
|
122
190
|
"tags": [],
|
|
123
|
-
"text": "The content of the
|
|
191
|
+
"text": "The content of the popover"
|
|
124
192
|
},
|
|
125
193
|
"attribute": "placement",
|
|
126
194
|
"reflect": false,
|
|
127
195
|
"defaultValue": "'top'"
|
|
128
196
|
},
|
|
129
|
-
"
|
|
197
|
+
"show": {
|
|
130
198
|
"type": "boolean",
|
|
131
199
|
"mutable": false,
|
|
132
200
|
"complexType": {
|
|
@@ -138,35 +206,65 @@ export class Tooltip {
|
|
|
138
206
|
"optional": false,
|
|
139
207
|
"docs": {
|
|
140
208
|
"tags": [],
|
|
141
|
-
"text": "Wether to
|
|
209
|
+
"text": "Wether to show the popover"
|
|
142
210
|
},
|
|
143
|
-
"attribute": "
|
|
211
|
+
"attribute": "show",
|
|
144
212
|
"reflect": false,
|
|
145
213
|
"defaultValue": "false"
|
|
214
|
+
},
|
|
215
|
+
"canManuallyClose": {
|
|
216
|
+
"type": "boolean",
|
|
217
|
+
"mutable": false,
|
|
218
|
+
"complexType": {
|
|
219
|
+
"original": "boolean",
|
|
220
|
+
"resolved": "boolean",
|
|
221
|
+
"references": {}
|
|
222
|
+
},
|
|
223
|
+
"required": false,
|
|
224
|
+
"optional": false,
|
|
225
|
+
"docs": {
|
|
226
|
+
"tags": [],
|
|
227
|
+
"text": "Wether to someone can manually close the popover"
|
|
228
|
+
},
|
|
229
|
+
"attribute": "can-manually-close",
|
|
230
|
+
"reflect": false,
|
|
231
|
+
"defaultValue": "true"
|
|
146
232
|
}
|
|
147
233
|
}; }
|
|
148
234
|
static get elementRef() { return "_el"; }
|
|
149
235
|
static get listeners() { return [{
|
|
236
|
+
"name": "click",
|
|
237
|
+
"method": "clickHandler",
|
|
238
|
+
"target": undefined,
|
|
239
|
+
"capture": true,
|
|
240
|
+
"passive": false
|
|
241
|
+
}, {
|
|
242
|
+
"name": "click",
|
|
243
|
+
"method": "documentClickHandler",
|
|
244
|
+
"target": "document",
|
|
245
|
+
"capture": true,
|
|
246
|
+
"passive": false
|
|
247
|
+
}, {
|
|
150
248
|
"name": "mouseenter",
|
|
151
|
-
"method": "
|
|
249
|
+
"method": "mouseEnterHandler",
|
|
152
250
|
"target": undefined,
|
|
153
251
|
"capture": false,
|
|
154
252
|
"passive": true
|
|
155
253
|
}, {
|
|
156
254
|
"name": "focus",
|
|
157
|
-
"method": "
|
|
255
|
+
"method": "mouseEnterHandler",
|
|
158
256
|
"target": undefined,
|
|
159
257
|
"capture": false,
|
|
160
258
|
"passive": false
|
|
161
259
|
}, {
|
|
162
260
|
"name": "mouseleave",
|
|
163
|
-
"method": "
|
|
261
|
+
"method": "mouseLeaveHandler",
|
|
164
262
|
"target": undefined,
|
|
165
263
|
"capture": false,
|
|
166
264
|
"passive": true
|
|
167
265
|
}, {
|
|
168
266
|
"name": "blur",
|
|
169
|
-
"method": "
|
|
267
|
+
"method": "mouseLeaveHandler",
|
|
170
268
|
"target": undefined,
|
|
171
269
|
"capture": false,
|
|
172
270
|
"passive": false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
:host .trigger {
|
|
2
|
+
@apply w-auto h-auto inline-block;
|
|
3
|
+
}
|
|
4
|
+
:host p-dropdown-menu-container {
|
|
5
|
+
@apply hidden;
|
|
6
|
+
}
|
|
7
|
+
:host p-dropdown-menu-container[data-show] {
|
|
8
|
+
@apply flex;
|
|
9
|
+
} .visible{visibility:visible!important}.static{position:static!important}.static{position:static!important}
|