@paperless/core 0.1.0-alpha.5 → 0.1.0-alpha.52
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 +463 -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-2a3dd70b.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-30026c58.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-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-7e05bc4b.entry.js +1 -0
- package/dist/build/p-864ac423.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-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} +213 -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 +38 -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-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-line_2.cjs.entry.js +56 -0
- package/dist/cjs/p-stepper.cjs.entry.js +72 -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-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 +31 -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 +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/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-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/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/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/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/icon.component.js +137 -9
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.js +30 -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 +6 -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-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-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-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-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} +213 -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 +34 -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-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-line_2.entry.js +51 -0
- package/dist/esm/p-stepper.entry.js +68 -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-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-2a3dd70b.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-30026c58.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-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-7e05bc4b.entry.js +1 -0
- package/dist/paperless/p-864ac423.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-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/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-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/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/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 +864 -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
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@apply fixed top-0 left-0 w-screen h-screen;
|
|
14
14
|
@apply flex items-center justify-center;
|
|
15
15
|
@apply bg-mystic;
|
|
16
|
-
z-index:
|
|
16
|
+
z-index: 1001;
|
|
17
17
|
}
|
|
18
18
|
:host .loading-screen .content {
|
|
19
19
|
@apply max-w-xs;
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
}
|
|
24
24
|
:host .loading-screen .content .loader-wrapper .loader {
|
|
25
25
|
@apply text-4xl;
|
|
26
|
-
}
|
|
26
|
+
} .static{position:static!important}.inline{display:inline!important}.flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.static{position:static!important}.static{position:static!important}.inline-block{display:inline-block!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{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}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{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}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{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}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{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}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{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}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{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}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{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}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{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}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{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}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{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}.scale-y-flip{--tw-scale-y:-1!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}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.static{position:static!important}.inline{display:inline!important}.flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}
|
|
@@ -27,13 +27,14 @@ export class Loader {
|
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
if (this.variant === 'full-screen') {
|
|
30
|
-
return (h(Host, { class: "p-loader" },
|
|
30
|
+
return (h(Host, { class: "p-loader variant-full-screen" },
|
|
31
31
|
h("div", { class: "loading-screen" },
|
|
32
32
|
h("div", { class: "content" },
|
|
33
33
|
h("slot", null),
|
|
34
34
|
h("div", { class: "loader-wrapper" }, this._loader)))));
|
|
35
35
|
}
|
|
36
|
-
return h(Host, { class: `p-loader ${this.variant === 'full-width' &&
|
|
36
|
+
return (h(Host, { class: `p-loader flex ${this.variant === 'full-width' &&
|
|
37
|
+
'w-full flex justify-center text-4xl'}` }, this._loader));
|
|
37
38
|
}
|
|
38
39
|
_checkShow() {
|
|
39
40
|
var _a;
|
|
@@ -42,7 +43,7 @@ export class Loader {
|
|
|
42
43
|
this._showSubscriber = null;
|
|
43
44
|
}
|
|
44
45
|
if (typeof this.show !== 'boolean') {
|
|
45
|
-
this._showSubscriber = (_a = this.show) === null || _a === void 0 ? void 0 : _a.subscribe(show => (this._show = show));
|
|
46
|
+
this._showSubscriber = (_a = this.show) === null || _a === void 0 ? void 0 : _a.subscribe((show) => (this._show = show));
|
|
46
47
|
return;
|
|
47
48
|
}
|
|
48
49
|
this._show = this.show;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply fixed top-0 left-0 z-modal;
|
|
3
|
+
@apply h-screen w-screen p-16;
|
|
4
|
+
@apply backdrop-blur-xs bg-storm/50;
|
|
5
|
+
@apply flex justify-center items-center;
|
|
6
|
+
@apply animate-fade-in;
|
|
7
|
+
} .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}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.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}.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}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class ModalBackdrop {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-modal-backdrop" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "p-modal-backdrop"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["modal-backdrop.component.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["modal-backdrop.component.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply px-14 py-6;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host(.variant-table) {
|
|
6
|
+
@apply px-6;
|
|
7
|
+
} .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}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.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}.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}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class ModalBody {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The variant of the modal body
|
|
6
|
+
*/
|
|
7
|
+
this.variant = 'default';
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-modal-body variant-${this.variant}` },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "p-modal-body"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get originalStyleUrls() { return {
|
|
16
|
+
"$": ["modal-body.component.scss"]
|
|
17
|
+
}; }
|
|
18
|
+
static get styleUrls() { return {
|
|
19
|
+
"$": ["modal-body.component.css"]
|
|
20
|
+
}; }
|
|
21
|
+
static get properties() { return {
|
|
22
|
+
"variant": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"mutable": false,
|
|
25
|
+
"complexType": {
|
|
26
|
+
"original": "'default' | 'table'",
|
|
27
|
+
"resolved": "\"default\" | \"table\"",
|
|
28
|
+
"references": {}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": false,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": "The variant of the modal body"
|
|
35
|
+
},
|
|
36
|
+
"attribute": "variant",
|
|
37
|
+
"reflect": false,
|
|
38
|
+
"defaultValue": "'default'"
|
|
39
|
+
}
|
|
40
|
+
}; }
|
|
41
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
p-modal-container {
|
|
2
|
+
@apply flex flex-col;
|
|
3
|
+
@apply bg-white rounded-xxlarge;
|
|
4
|
+
@apply overflow-hidden;
|
|
5
|
+
@apply shadow-4 !important;
|
|
6
|
+
} .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}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.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}.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}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.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}.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}}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
// $modal-xs: 20rem;
|
|
3
|
+
// $modal-sm: 33.5rem;
|
|
4
|
+
// $modal-md: 38rem;
|
|
5
|
+
// $modal-lg: 47.5rem;
|
|
6
|
+
// $modal-xl: 57.5rem;
|
|
7
|
+
const modalSizes = {
|
|
8
|
+
xs: 'w-80',
|
|
9
|
+
sm: 'w-[33.5rem]',
|
|
10
|
+
md: 'w-[38rem]',
|
|
11
|
+
lg: 'w-[47.5rem]',
|
|
12
|
+
xl: 'w-[57.5rem]',
|
|
13
|
+
};
|
|
14
|
+
export class ModalContainer {
|
|
15
|
+
constructor() {
|
|
16
|
+
/**
|
|
17
|
+
* The size of the modal container
|
|
18
|
+
*/
|
|
19
|
+
this.size = 'md';
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
const sizeClass = modalSizes[this.size];
|
|
23
|
+
return (h(Host, { class: `p-modal-container ${sizeClass}` },
|
|
24
|
+
h("slot", null)));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "p-modal-container"; }
|
|
27
|
+
static get originalStyleUrls() { return {
|
|
28
|
+
"$": ["modal-container.component.scss"]
|
|
29
|
+
}; }
|
|
30
|
+
static get styleUrls() { return {
|
|
31
|
+
"$": ["modal-container.component.css"]
|
|
32
|
+
}; }
|
|
33
|
+
static get properties() { return {
|
|
34
|
+
"size": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"mutable": false,
|
|
37
|
+
"complexType": {
|
|
38
|
+
"original": "'sm' | 'md' | 'lg' | 'xl'",
|
|
39
|
+
"resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
|
|
40
|
+
"references": {}
|
|
41
|
+
},
|
|
42
|
+
"required": false,
|
|
43
|
+
"optional": false,
|
|
44
|
+
"docs": {
|
|
45
|
+
"tags": [],
|
|
46
|
+
"text": "The size of the modal container"
|
|
47
|
+
},
|
|
48
|
+
"attribute": "size",
|
|
49
|
+
"reflect": false,
|
|
50
|
+
"defaultValue": "'md'"
|
|
51
|
+
}
|
|
52
|
+
}; }
|
|
53
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex flex-col;
|
|
3
|
+
@apply pb-6 px-6;
|
|
4
|
+
} .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}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.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}.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}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class ModalFooter {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-modal-footer" },
|
|
5
|
+
h("p-divider", { class: "mb-6 mt-0" }),
|
|
6
|
+
h("slot", null)));
|
|
7
|
+
}
|
|
8
|
+
static get is() { return "p-modal-footer"; }
|
|
9
|
+
static get encapsulation() { return "shadow"; }
|
|
10
|
+
static get originalStyleUrls() { return {
|
|
11
|
+
"$": ["modal-footer.component.scss"]
|
|
12
|
+
}; }
|
|
13
|
+
static get styleUrls() { return {
|
|
14
|
+
"$": ["modal-footer.component.css"]
|
|
15
|
+
}; }
|
|
16
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply bg-mystic;
|
|
3
|
+
@apply block px-8 py-6;
|
|
4
|
+
@apply text-storm-dark text-3xl font-bold;
|
|
5
|
+
@apply border-b border-b-mystic-medium !important;
|
|
6
|
+
} .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}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.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}.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}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class ModalHeader {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-modal-header" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "p-modal-header"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["modal-header.component.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["modal-header.component.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply h-8 w-8;
|
|
3
|
+
@apply flex justify-center items-center;
|
|
4
|
+
@apply font-semibold text-storm-medium text-sm;
|
|
5
|
+
@apply rounded;
|
|
6
|
+
@apply cursor-pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host(:hover),
|
|
10
|
+
:host(:focus) {
|
|
11
|
+
@apply text-storm;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host(.active) {
|
|
15
|
+
@apply text-indigo bg-indigo-light;
|
|
16
|
+
} .static{position:static!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class PaginationItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the pagination item is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-pagination-item ${this.active && 'active'}` },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "p-pagination-item"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get originalStyleUrls() { return {
|
|
16
|
+
"$": ["pagination-item.component.scss"]
|
|
17
|
+
}; }
|
|
18
|
+
static get styleUrls() { return {
|
|
19
|
+
"$": ["pagination-item.component.css"]
|
|
20
|
+
}; }
|
|
21
|
+
static get properties() { return {
|
|
22
|
+
"active": {
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"mutable": false,
|
|
25
|
+
"complexType": {
|
|
26
|
+
"original": "boolean",
|
|
27
|
+
"resolved": "boolean",
|
|
28
|
+
"references": {}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": false,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": "Wether the pagination item is active"
|
|
35
|
+
},
|
|
36
|
+
"attribute": "active",
|
|
37
|
+
"reflect": false,
|
|
38
|
+
"defaultValue": "false"
|
|
39
|
+
}
|
|
40
|
+
}; }
|
|
41
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex gap-4 items-center;
|
|
3
|
+
}
|
|
4
|
+
:host .name {
|
|
5
|
+
@apply flex flex-col justify-center;
|
|
6
|
+
}
|
|
7
|
+
:host .name > *:nth-child(1) {
|
|
8
|
+
@apply text-sm text-storm-dark;
|
|
9
|
+
@apply font-semibold;
|
|
10
|
+
}
|
|
11
|
+
:host .name > *:nth-child(2) {
|
|
12
|
+
@apply text-sm text-storm-vague;
|
|
13
|
+
} .static{position:static!important}.flex{display:flex!important}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component, Element, h, Host } from '@stencil/core';
|
|
2
|
+
export class Profile {
|
|
3
|
+
render() {
|
|
4
|
+
const avatar = this._generateAvatar();
|
|
5
|
+
return (h(Host, { class: "p-profile" },
|
|
6
|
+
avatar,
|
|
7
|
+
h("div", { class: "name" },
|
|
8
|
+
h("slot", { name: "title" }),
|
|
9
|
+
h("slot", { name: "subtitle" }))));
|
|
10
|
+
}
|
|
11
|
+
_generateAvatar() {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
|
|
14
|
+
return (h("p-avatar", { class: "flex", src: (_a = avatar.src) !== null && _a !== void 0 ? _a : null, "default-image": (_b = avatar.defaultImage) !== null && _b !== void 0 ? _b : null, variant: avatar.variant, size: "small" }));
|
|
15
|
+
}
|
|
16
|
+
static get is() { return "p-profile"; }
|
|
17
|
+
static get encapsulation() { return "shadow"; }
|
|
18
|
+
static get originalStyleUrls() { return {
|
|
19
|
+
"$": ["profile.component.scss"]
|
|
20
|
+
}; }
|
|
21
|
+
static get styleUrls() { return {
|
|
22
|
+
"$": ["profile.component.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get elementRef() { return "_el"; }
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class SegmentContainer {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-segment-container" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "p-segment-container"; }
|
|
8
|
+
static get originalStyleUrls() { return {
|
|
9
|
+
"$": ["segment-container.component.scss"]
|
|
10
|
+
}; }
|
|
11
|
+
static get styleUrls() { return {
|
|
12
|
+
"$": ["segment-container.component.css"]
|
|
13
|
+
}; }
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply h-6 flex items-center px-2 rounded font-medium mr-1;
|
|
3
|
+
@apply text-storm-light text-sm;
|
|
4
|
+
@apply cursor-pointer;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host(.variant-icon) {
|
|
8
|
+
@apply w-6 justify-center px-0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host(:hover) {
|
|
12
|
+
@apply text-storm-medium;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host(.active) {
|
|
16
|
+
@apply text-indigo bg-indigo-light;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host(:last-child) {
|
|
20
|
+
@apply mr-0;
|
|
21
|
+
} .static{position:static!important}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class SegmentItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the segment item is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-segment-item variant-${this.icon ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon ? this._getIcon() : h("slot", null)));
|
|
11
|
+
}
|
|
12
|
+
_getIcon() {
|
|
13
|
+
if (!this.icon) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
return (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "p-segment-item"; }
|
|
19
|
+
static get encapsulation() { return "shadow"; }
|
|
20
|
+
static get originalStyleUrls() { return {
|
|
21
|
+
"$": ["segment-item.component.scss"]
|
|
22
|
+
}; }
|
|
23
|
+
static get styleUrls() { return {
|
|
24
|
+
"$": ["segment-item.component.css"]
|
|
25
|
+
}; }
|
|
26
|
+
static get properties() { return {
|
|
27
|
+
"active": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "boolean",
|
|
32
|
+
"resolved": "boolean",
|
|
33
|
+
"references": {}
|
|
34
|
+
},
|
|
35
|
+
"required": false,
|
|
36
|
+
"optional": false,
|
|
37
|
+
"docs": {
|
|
38
|
+
"tags": [],
|
|
39
|
+
"text": "Wether the segment item is active"
|
|
40
|
+
},
|
|
41
|
+
"attribute": "active",
|
|
42
|
+
"reflect": false,
|
|
43
|
+
"defaultValue": "false"
|
|
44
|
+
},
|
|
45
|
+
"icon": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "IconVariant",
|
|
50
|
+
"resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
51
|
+
"references": {
|
|
52
|
+
"IconVariant": {
|
|
53
|
+
"location": "import",
|
|
54
|
+
"path": "../icon/icon.component"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": "Icon to show on the segment item"
|
|
63
|
+
},
|
|
64
|
+
"attribute": "icon",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
67
|
+
"iconFlip": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "IconFlipOptions",
|
|
72
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
73
|
+
"references": {
|
|
74
|
+
"IconFlipOptions": {
|
|
75
|
+
"location": "import",
|
|
76
|
+
"path": "../icon/icon.component"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Icon flip"
|
|
85
|
+
},
|
|
86
|
+
"attribute": "icon-flip",
|
|
87
|
+
"reflect": false
|
|
88
|
+
},
|
|
89
|
+
"iconRotate": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "RotateOptions",
|
|
94
|
+
"resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
|
|
95
|
+
"references": {
|
|
96
|
+
"RotateOptions": {
|
|
97
|
+
"location": "import",
|
|
98
|
+
"path": "../../../utils/types"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": "Icon rotate"
|
|
107
|
+
},
|
|
108
|
+
"attribute": "icon-rotate",
|
|
109
|
+
"reflect": false
|
|
110
|
+
}
|
|
111
|
+
}; }
|
|
112
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
p-status {
|
|
2
|
+
@apply flex items-center;
|
|
3
|
+
@apply text-sm text-storm-vague font-medium;
|
|
4
|
+
}
|
|
5
|
+
p-status p-icon {
|
|
6
|
+
@apply mr-2 text-base;
|
|
7
|
+
}
|
|
8
|
+
p-status.variant-positive {
|
|
9
|
+
@apply text-positive;
|
|
10
|
+
}
|
|
11
|
+
p-status.variant-unbiased {
|
|
12
|
+
@apply text-unbiased;
|
|
13
|
+
}
|
|
14
|
+
p-status.variant-negative {
|
|
15
|
+
@apply text-negative;
|
|
16
|
+
} .static{position:static!important}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class Status {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The variant of the status
|
|
6
|
+
*/
|
|
7
|
+
this.variant = 'default';
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-status variant-${this.variant}
|
|
11
|
+
}` },
|
|
12
|
+
this._getIcon(),
|
|
13
|
+
h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
_getIcon() {
|
|
16
|
+
const icon = this.icon || this._getVariantIcon();
|
|
17
|
+
if (!icon) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
return (h("p-icon", { variant: icon, flip: this.iconFlip, rotate: this.iconRotate }));
|
|
21
|
+
}
|
|
22
|
+
_getVariantIcon() {
|
|
23
|
+
let icon = null;
|
|
24
|
+
switch (this.variant) {
|
|
25
|
+
case 'positive':
|
|
26
|
+
icon = 'checkmark';
|
|
27
|
+
break;
|
|
28
|
+
case 'negative':
|
|
29
|
+
icon = 'negative';
|
|
30
|
+
break;
|
|
31
|
+
case 'unbiased':
|
|
32
|
+
icon = 'clock';
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
icon = null;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
return icon;
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "p-status"; }
|
|
41
|
+
static get originalStyleUrls() { return {
|
|
42
|
+
"$": ["status.component.scss"]
|
|
43
|
+
}; }
|
|
44
|
+
static get styleUrls() { return {
|
|
45
|
+
"$": ["status.component.css"]
|
|
46
|
+
}; }
|
|
47
|
+
static get properties() { return {
|
|
48
|
+
"variant": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"mutable": false,
|
|
51
|
+
"complexType": {
|
|
52
|
+
"original": "'default' | 'positive' | 'unbiased' | 'negative'",
|
|
53
|
+
"resolved": "\"default\" | \"negative\" | \"positive\" | \"unbiased\"",
|
|
54
|
+
"references": {}
|
|
55
|
+
},
|
|
56
|
+
"required": false,
|
|
57
|
+
"optional": false,
|
|
58
|
+
"docs": {
|
|
59
|
+
"tags": [],
|
|
60
|
+
"text": "The variant of the status"
|
|
61
|
+
},
|
|
62
|
+
"attribute": "variant",
|
|
63
|
+
"reflect": false,
|
|
64
|
+
"defaultValue": "'default'"
|
|
65
|
+
},
|
|
66
|
+
"icon": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "IconVariant",
|
|
71
|
+
"resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
72
|
+
"references": {
|
|
73
|
+
"IconVariant": {
|
|
74
|
+
"location": "import",
|
|
75
|
+
"path": "../icon/icon.component"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": false,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Icon to show on the status"
|
|
84
|
+
},
|
|
85
|
+
"attribute": "icon",
|
|
86
|
+
"reflect": false
|
|
87
|
+
},
|
|
88
|
+
"iconFlip": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"mutable": false,
|
|
91
|
+
"complexType": {
|
|
92
|
+
"original": "IconFlipOptions",
|
|
93
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
94
|
+
"references": {
|
|
95
|
+
"IconFlipOptions": {
|
|
96
|
+
"location": "import",
|
|
97
|
+
"path": "../icon/icon.component"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"required": false,
|
|
102
|
+
"optional": false,
|
|
103
|
+
"docs": {
|
|
104
|
+
"tags": [],
|
|
105
|
+
"text": "Icon flip"
|
|
106
|
+
},
|
|
107
|
+
"attribute": "icon-flip",
|
|
108
|
+
"reflect": false
|
|
109
|
+
},
|
|
110
|
+
"iconRotate": {
|
|
111
|
+
"type": "number",
|
|
112
|
+
"mutable": false,
|
|
113
|
+
"complexType": {
|
|
114
|
+
"original": "RotateOptions",
|
|
115
|
+
"resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
|
|
116
|
+
"references": {
|
|
117
|
+
"RotateOptions": {
|
|
118
|
+
"location": "import",
|
|
119
|
+
"path": "../../../utils/types"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": false,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": "Icon rotate"
|
|
128
|
+
},
|
|
129
|
+
"attribute": "icon-rotate",
|
|
130
|
+
"reflect": false
|
|
131
|
+
}
|
|
132
|
+
}; }
|
|
133
|
+
}
|