@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,107 @@
|
|
|
1
|
+
import { Component, Element, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class Stepper {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The currently active step
|
|
6
|
+
*/
|
|
7
|
+
this.activeStep = 1;
|
|
8
|
+
/**
|
|
9
|
+
* The direction of the stepper
|
|
10
|
+
*/
|
|
11
|
+
this.direction = 'horizontal';
|
|
12
|
+
}
|
|
13
|
+
componentWillRender() {
|
|
14
|
+
const activeStep = this.activeStep - 1;
|
|
15
|
+
this._steps = this._generateSteps(activeStep);
|
|
16
|
+
console.log(this._steps);
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
return h(Host, { class: "p-stepper" }, this._steps);
|
|
20
|
+
}
|
|
21
|
+
_generateSteps(activeStep) {
|
|
22
|
+
const elements = [];
|
|
23
|
+
const steps = this._el.querySelectorAll('p-stepper-step');
|
|
24
|
+
for (let i = 0; i < (steps === null || steps === void 0 ? void 0 : steps.length); i++) {
|
|
25
|
+
const step = steps.item(i);
|
|
26
|
+
if (i > 0) {
|
|
27
|
+
elements.push(h("p-stepper-line", { direction: this.direction, active: i <= activeStep }));
|
|
28
|
+
}
|
|
29
|
+
const newStep = (h("p-stepper-step", { active: i === activeStep, finished: i < activeStep, direction: this.direction, align: i === 0
|
|
30
|
+
? 'start'
|
|
31
|
+
: i === (steps === null || steps === void 0 ? void 0 : steps.length) - 1
|
|
32
|
+
? 'end'
|
|
33
|
+
: 'center' }, step.innerHTML));
|
|
34
|
+
elements.push(newStep);
|
|
35
|
+
}
|
|
36
|
+
return elements;
|
|
37
|
+
// return this._el
|
|
38
|
+
// .querySelectorAll('p-stepper-step')
|
|
39
|
+
// .map((child: any, index) => {
|
|
40
|
+
// return (
|
|
41
|
+
// <>
|
|
42
|
+
// {index > 0 && (
|
|
43
|
+
// <div
|
|
44
|
+
// className={`flex-auto transform ${
|
|
45
|
+
// direction === 'horizontal'
|
|
46
|
+
// ? 'border-t-2 mb-3 -translate-y-1/2'
|
|
47
|
+
// : 'border-r-2 ml-2 -translate-x-1/2'
|
|
48
|
+
// } transition duration-500 ease-in-out ${
|
|
49
|
+
// index <= activeStep
|
|
50
|
+
// ? 'border-indigo'
|
|
51
|
+
// : 'border-mystic-dark'
|
|
52
|
+
// }`}
|
|
53
|
+
// ></div>
|
|
54
|
+
// )}
|
|
55
|
+
// {child}
|
|
56
|
+
// </>
|
|
57
|
+
// );
|
|
58
|
+
// });
|
|
59
|
+
}
|
|
60
|
+
static get is() { return "p-stepper"; }
|
|
61
|
+
static get encapsulation() { return "shadow"; }
|
|
62
|
+
static get originalStyleUrls() { return {
|
|
63
|
+
"$": ["stepper.component.scss"]
|
|
64
|
+
}; }
|
|
65
|
+
static get styleUrls() { return {
|
|
66
|
+
"$": ["stepper.component.css"]
|
|
67
|
+
}; }
|
|
68
|
+
static get properties() { return {
|
|
69
|
+
"activeStep": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "number",
|
|
74
|
+
"resolved": "number",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "The currently active step"
|
|
82
|
+
},
|
|
83
|
+
"attribute": "active-step",
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "1"
|
|
86
|
+
},
|
|
87
|
+
"direction": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "'horizontal' | 'vertical'",
|
|
92
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "The direction of the stepper"
|
|
100
|
+
},
|
|
101
|
+
"attribute": "direction",
|
|
102
|
+
"reflect": true,
|
|
103
|
+
"defaultValue": "'horizontal'"
|
|
104
|
+
}
|
|
105
|
+
}; }
|
|
106
|
+
static get elementRef() { return "_el"; }
|
|
107
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Component, Element, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class Modal {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The size of the modal container
|
|
6
|
+
*/
|
|
7
|
+
this.size = 'md';
|
|
8
|
+
/**
|
|
9
|
+
* The variant of the modal body
|
|
10
|
+
*/
|
|
11
|
+
this.variant = 'default';
|
|
12
|
+
/**
|
|
13
|
+
* Wether to show the modal or not
|
|
14
|
+
*/
|
|
15
|
+
this.show = false;
|
|
16
|
+
this._hasFooterSlot = false;
|
|
17
|
+
}
|
|
18
|
+
componentWillLoad() {
|
|
19
|
+
this._hasFooterSlot = !!this._el.querySelector('[slot="footer"]');
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
if (!this.show) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const headerContent = h("slot", { name: "header" });
|
|
26
|
+
const bodyContent = h("slot", { name: "content" });
|
|
27
|
+
const footerContent = h("slot", { name: "footer" });
|
|
28
|
+
return (h(Host, { class: "p-modal" },
|
|
29
|
+
h("p-modal-backdrop", null,
|
|
30
|
+
h("p-modal-container", { size: this.size },
|
|
31
|
+
h("p-modal-header", null, this.header ? this.header : headerContent),
|
|
32
|
+
h("p-modal-body", { variant: this.variant }, bodyContent),
|
|
33
|
+
this._hasFooterSlot && (h("p-modal-footer", null, footerContent))))));
|
|
34
|
+
}
|
|
35
|
+
static get is() { return "p-modal"; }
|
|
36
|
+
static get encapsulation() { return "shadow"; }
|
|
37
|
+
static get properties() { return {
|
|
38
|
+
"size": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"mutable": false,
|
|
41
|
+
"complexType": {
|
|
42
|
+
"original": "'sm' | 'md' | 'lg' | 'xl'",
|
|
43
|
+
"resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
|
|
44
|
+
"references": {}
|
|
45
|
+
},
|
|
46
|
+
"required": false,
|
|
47
|
+
"optional": false,
|
|
48
|
+
"docs": {
|
|
49
|
+
"tags": [],
|
|
50
|
+
"text": "The size of the modal container"
|
|
51
|
+
},
|
|
52
|
+
"attribute": "size",
|
|
53
|
+
"reflect": false,
|
|
54
|
+
"defaultValue": "'md'"
|
|
55
|
+
},
|
|
56
|
+
"variant": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "'default' | 'table'",
|
|
61
|
+
"resolved": "\"default\" | \"table\"",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "The variant of the modal body"
|
|
69
|
+
},
|
|
70
|
+
"attribute": "variant",
|
|
71
|
+
"reflect": false,
|
|
72
|
+
"defaultValue": "'default'"
|
|
73
|
+
},
|
|
74
|
+
"header": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "string",
|
|
79
|
+
"resolved": "string",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "The Header of the modal"
|
|
87
|
+
},
|
|
88
|
+
"attribute": "header",
|
|
89
|
+
"reflect": false
|
|
90
|
+
},
|
|
91
|
+
"show": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "boolean",
|
|
96
|
+
"resolved": "boolean",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "Wether to show the modal or not"
|
|
104
|
+
},
|
|
105
|
+
"attribute": "show",
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"defaultValue": "false"
|
|
108
|
+
}
|
|
109
|
+
}; }
|
|
110
|
+
static get elementRef() { return "_el"; }
|
|
111
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
animation: {
|
|
3
|
+
'fade-in': 'fadeIn .2s ease-in-out',
|
|
4
|
+
'fade-out': 'fadeOut .2s ease-in-out',
|
|
5
|
+
},
|
|
6
|
+
|
|
7
|
+
keyframes: {
|
|
8
|
+
fadeIn: {
|
|
9
|
+
'0%': { opacity: 0 },
|
|
10
|
+
'100%': { opacity: 100 },
|
|
11
|
+
},
|
|
12
|
+
fadeOut: {
|
|
13
|
+
'0%': { opacity: 100 },
|
|
14
|
+
'100%': { opacity: 0 },
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
xxlarge: '0.75rem',
|
|
3
|
+
xlarge: '0.5625rem',
|
|
4
|
+
large: '0.375rem',
|
|
5
|
+
DEFAULT: '0.25rem',
|
|
6
|
+
medium: '0.25rem',
|
|
7
|
+
small: '0.125rem',
|
|
8
|
+
none: 0,
|
|
9
|
+
round: '100%',
|
|
8
10
|
};
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
gridTemplateColumns: {
|
|
3
|
+
'13': 'repeat(13, minmax(0, 1fr))',
|
|
4
|
+
'14': 'repeat(14, minmax(0, 1fr))',
|
|
5
|
+
'15': 'repeat(15, minmax(0, 1fr))',
|
|
6
|
+
'16': 'repeat(16, minmax(0, 1fr))',
|
|
7
|
+
},
|
|
8
|
+
gridColumn: {
|
|
9
|
+
'span-13': 'span 13 / span 13',
|
|
10
|
+
'span-14': 'span 14 / span 14',
|
|
11
|
+
'span-15': 'span 15 / span 15',
|
|
12
|
+
'span-16': 'span 16 / span 16',
|
|
13
|
+
},
|
|
14
|
+
gridColumnStart: {
|
|
15
|
+
'13': '13',
|
|
16
|
+
'14': '14',
|
|
17
|
+
'15': '15',
|
|
18
|
+
'16': '16',
|
|
19
|
+
},
|
|
20
|
+
gridColumnEnd: {
|
|
21
|
+
'13': '13',
|
|
22
|
+
'14': '14',
|
|
23
|
+
'15': '15',
|
|
24
|
+
'16': '16',
|
|
25
|
+
},
|
|
6
26
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
fontSize: {
|
|
3
|
+
'h1': '2.5rem',
|
|
4
|
+
'h2': '2rem',
|
|
5
|
+
'h3': '1.5rem',
|
|
6
|
+
'h4': '1.25rem',
|
|
7
|
+
'h5': '1.125rem',
|
|
8
|
+
'body': '1rem',
|
|
9
|
+
'body-2': '1.125rem',
|
|
10
|
+
'xxs': '0.6875rem'
|
|
11
|
+
},
|
|
12
|
+
lineHeight: {
|
|
13
|
+
'h1': '3rem',
|
|
14
|
+
'h2': '2.5rem',
|
|
15
|
+
'h3': '1.875rem',
|
|
16
|
+
'h4': '1.625rem',
|
|
17
|
+
'h5': '1.375rem',
|
|
18
|
+
'body': '1.75rem',
|
|
19
|
+
'body-2': '1.875rem',
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -4,20 +4,28 @@ const borderRadius = require('./tailwind/border-radius');
|
|
|
4
4
|
const grid = require('./tailwind/grid');
|
|
5
5
|
const scale = require('./tailwind/scale');
|
|
6
6
|
const rotate = require('./tailwind/rotate');
|
|
7
|
+
const typeograhpy = require('./tailwind/typography');
|
|
8
|
+
const backdropBlur = require('./tailwind/backdrop-blur');
|
|
9
|
+
const zIndex = require('./tailwind/z-index');
|
|
10
|
+
const animation = require('./tailwind/animation');
|
|
7
11
|
|
|
8
12
|
module.exports = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
important: true,
|
|
14
|
+
theme: {
|
|
15
|
+
colors,
|
|
16
|
+
boxShadow: shadows,
|
|
17
|
+
dropShadow: shadows,
|
|
18
|
+
borderRadius,
|
|
19
|
+
extend: {
|
|
20
|
+
...grid,
|
|
21
|
+
...animation,
|
|
22
|
+
scale,
|
|
23
|
+
rotate,
|
|
24
|
+
fontSize: typeograhpy.fontSize,
|
|
25
|
+
lineHeight: typeograhpy.lineHeight,
|
|
26
|
+
backdropBlur,
|
|
27
|
+
zIndex,
|
|
28
|
+
},
|
|
19
29
|
},
|
|
20
|
-
|
|
21
|
-
variants: {},
|
|
22
|
-
plugins: [require('@tailwindcss/aspect-ratio')],
|
|
30
|
+
plugins: [require('@tailwindcss/aspect-ratio')],
|
|
23
31
|
};
|
|
@@ -3,6 +3,7 @@ import attachment from '../assets/icons/attachment.svg';
|
|
|
3
3
|
import bread from '../assets/icons/bread.svg';
|
|
4
4
|
import calendar from '../assets/icons/calendar.svg';
|
|
5
5
|
import car from '../assets/icons/car.svg';
|
|
6
|
+
import checklist from '../assets/icons/checklist.svg';
|
|
6
7
|
import checkmark from '../assets/icons/checkmark.svg';
|
|
7
8
|
import chevron from '../assets/icons/chevron.svg';
|
|
8
9
|
import clock from '../assets/icons/clock.svg';
|
|
@@ -14,8 +15,10 @@ import envelope from '../assets/icons/envelope.svg';
|
|
|
14
15
|
import explanation from '../assets/icons/explanation.svg';
|
|
15
16
|
import eye from '../assets/icons/eye.svg';
|
|
16
17
|
import filter from '../assets/icons/filter.svg';
|
|
18
|
+
import folder from '../assets/icons/folder.svg';
|
|
17
19
|
import grid from '../assets/icons/grid.svg';
|
|
18
20
|
import headset from '../assets/icons/headset.svg';
|
|
21
|
+
import integration from '../assets/icons/integration.svg';
|
|
19
22
|
import list from '../assets/icons/list.svg';
|
|
20
23
|
import location from '../assets/icons/location.svg';
|
|
21
24
|
import megaphone from '../assets/icons/megaphone.svg';
|
|
@@ -33,6 +36,8 @@ import search from '../assets/icons/search.svg';
|
|
|
33
36
|
import settings from '../assets/icons/settings.svg';
|
|
34
37
|
import sick from '../assets/icons/sick.svg';
|
|
35
38
|
import tachometer from '../assets/icons/tachometer.svg';
|
|
39
|
+
import task from '../assets/icons/task.svg';
|
|
40
|
+
import template from '../assets/icons/template.svg';
|
|
36
41
|
import tool from '../assets/icons/tool.svg';
|
|
37
42
|
import trash from '../assets/icons/trash.svg';
|
|
38
43
|
import turn from '../assets/icons/turn.svg';
|
|
@@ -44,6 +49,7 @@ export default {
|
|
|
44
49
|
bread,
|
|
45
50
|
calendar,
|
|
46
51
|
car,
|
|
52
|
+
checklist,
|
|
47
53
|
checkmark,
|
|
48
54
|
chevron,
|
|
49
55
|
clock,
|
|
@@ -55,8 +61,10 @@ export default {
|
|
|
55
61
|
explanation,
|
|
56
62
|
eye,
|
|
57
63
|
filter,
|
|
64
|
+
folder,
|
|
58
65
|
grid,
|
|
59
66
|
headset,
|
|
67
|
+
integration,
|
|
60
68
|
list,
|
|
61
69
|
location,
|
|
62
70
|
megaphone,
|
|
@@ -74,6 +82,8 @@ export default {
|
|
|
74
82
|
settings,
|
|
75
83
|
sick,
|
|
76
84
|
tachometer,
|
|
85
|
+
task,
|
|
86
|
+
template,
|
|
77
87
|
tool,
|
|
78
88
|
trash,
|
|
79
89
|
turn,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const counterComponentCss = ".static{position:static!important}.flex{display:flex!important}.h-4{height:1rem!important}.justify-center{justify-content:center!important}.bg-indigo{--tw-bg-opacity:1!important;background-color:rgb(82 138 250/var(--tw-bg-opacity))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.uppercase{text-transform:uppercase!important}.leading-3{line-height:.75rem!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}:host{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-radius:.5625rem;color:rgb(255 255 255/var(--tw-text-opacity));display:flex;font-size:.75rem;font-weight:700;height:1rem;justify-content:center;line-height:.75rem;padding-left:.5rem;padding-right:.5rem;text-transform:uppercase}";
|
|
4
|
+
|
|
5
|
+
const Counter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, { class: "p-counter" }, h("slot", null)));
|
|
13
|
+
}
|
|
14
|
+
static get style() { return counterComponentCss; }
|
|
15
|
+
}, [1, "p-counter"]);
|
|
16
|
+
function defineCustomElement() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["p-counter"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "p-counter":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, Counter);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { Counter as C, defineCustomElement as d };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const dividerComponentCss = ".static{position:static!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.block{display:block!important}.h-px{height:1px!important}.w-80{width:20rem!important}.bg-mystic-medium{--tw-bg-opacity:1!important;background-color:rgb(227 236 243/var(--tw-bg-opacity))!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}:host{--tw-bg-opacity:1;background-color:rgb(227 236 243/var(--tw-bg-opacity));display:block;height:1px;margin-bottom:.5rem;margin-top:.5rem;width:100%}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
|
|
4
|
+
|
|
5
|
+
const Divider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return h(Host, { class: "p-divider" });
|
|
13
|
+
}
|
|
14
|
+
static get style() { return dividerComponentCss; }
|
|
15
|
+
}, [1, "p-divider"]);
|
|
16
|
+
function defineCustomElement() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["p-divider"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "p-divider":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, Divider);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { Divider as D, defineCustomElement as d };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const dropdownMenuContainerComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.flex{display:flex!important}.min-w-\\[222px\\]{min-width:222px!important}.flex-col{flex-direction:column!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.filter{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}p-dropdown-menu-container{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.75rem;display:flex;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);flex-direction:column;min-width:222px;padding-bottom:.5rem;padding-top:.5rem}";
|
|
4
|
+
|
|
5
|
+
const DropdownMenuContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, { class: "p-dropdown-menu-container" }, h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get style() { return dropdownMenuContainerComponentCss; }
|
|
14
|
+
}, [4, "p-dropdown-menu-container"]);
|
|
15
|
+
function defineCustomElement() {
|
|
16
|
+
if (typeof customElements === "undefined") {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const components = ["p-dropdown-menu-container"];
|
|
20
|
+
components.forEach(tagName => { switch (tagName) {
|
|
21
|
+
case "p-dropdown-menu-container":
|
|
22
|
+
if (!customElements.get(tagName)) {
|
|
23
|
+
customElements.define(tagName, DropdownMenuContainer);
|
|
24
|
+
}
|
|
25
|
+
break;
|
|
26
|
+
} });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { DropdownMenuContainer as D, defineCustomElement as d };
|