@paperless/core 2.0.1-beta.25 → 2.0.1-beta.27
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 +23 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/{paperless/p-dbbf732c.entry.js → build/p-04f4b015.entry.js} +2 -2
- package/dist/build/p-04f4b015.entry.js.map +1 -0
- package/dist/build/{p-291573c4.entry.js → p-13e12e68.entry.js} +2 -2
- package/dist/build/p-13e12e68.entry.js.map +1 -0
- package/dist/build/{p-0e1935d5.entry.js → p-1543f3a0.entry.js} +2 -2
- package/dist/build/p-1543f3a0.entry.js.map +1 -0
- package/dist/build/p-28601ee5.entry.js +2 -0
- package/dist/build/p-28601ee5.entry.js.map +1 -0
- package/dist/{paperless/p-9a9c8ce9.entry.js → build/p-38edcb47.entry.js} +2 -2
- package/dist/build/p-38edcb47.entry.js.map +1 -0
- package/dist/build/p-3d8db318.css +1 -0
- package/dist/build/p-3e3983ec.js +2 -0
- package/dist/build/{p-ccbd2de0.entry.js → p-3fec2247.entry.js} +2 -2
- package/dist/build/{p-83055eac.entry.js → p-45d789f5.entry.js} +2 -2
- package/dist/build/p-45d789f5.entry.js.map +1 -0
- package/dist/build/{p-1f464c93.entry.js → p-52ff5017.entry.js} +2 -2
- package/dist/build/p-52ff5017.entry.js.map +1 -0
- package/dist/build/{p-f56de35e.entry.js → p-610eb0ff.entry.js} +2 -2
- package/dist/build/{p-401ff01b.entry.js → p-68647b9e.entry.js} +2 -2
- package/dist/{paperless/p-9cac28b6.js → build/p-6bcfa4d5.js} +2 -2
- package/dist/build/p-859c4fb1.entry.js +2 -0
- package/dist/build/{p-479bdcc8.entry.js → p-886c060f.entry.js} +2 -2
- package/dist/build/p-886c060f.entry.js.map +1 -0
- package/dist/build/p-92f5d9d5.entry.js +2 -0
- package/dist/build/p-92f5d9d5.entry.js.map +1 -0
- package/dist/build/p-963f037a.entry.js +2 -0
- package/dist/build/p-963f037a.entry.js.map +1 -0
- package/dist/build/p-96ad9c58.entry.js +2 -0
- package/dist/build/p-96ad9c58.entry.js.map +1 -0
- package/dist/{paperless/p-e5a54d05.entry.js → build/p-971aac89.entry.js} +2 -2
- package/dist/build/p-9a0262b1.entry.js +2 -0
- package/dist/build/p-9a0262b1.entry.js.map +1 -0
- package/dist/build/{p-fde8b75b.entry.js → p-a0fad3d8.entry.js} +2 -2
- package/dist/build/{p-4e31af7e.entry.js → p-a93ce615.entry.js} +2 -2
- package/dist/build/p-a93ce615.entry.js.map +1 -0
- package/dist/{paperless/p-8a8663ae.entry.js → build/p-b59372b5.entry.js} +2 -2
- package/dist/build/p-b59372b5.entry.js.map +1 -0
- package/dist/build/p-ba01a4ff.entry.js +2 -0
- package/dist/build/p-ba01a4ff.entry.js.map +1 -0
- package/dist/build/p-e839a672.entry.js +2 -0
- package/dist/build/p-e839a672.entry.js.map +1 -0
- package/dist/build/p-efbc122f.js +2 -0
- package/dist/build/p-efbc122f.js.map +1 -0
- package/dist/build/{p-8b1a485b.entry.js → p-f173bb97.entry.js} +2 -2
- package/dist/build/p-f66c7368.entry.js +2 -0
- package/dist/build/p-f66c7368.entry.js.map +1 -0
- package/dist/build/p-f70908cc.entry.js +2 -0
- package/dist/build/p-f70908cc.entry.js.map +1 -0
- package/dist/build/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/is-mobile-browser-0e393879.js +19 -0
- package/dist/cjs/is-mobile-browser-0e393879.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +2 -2
- package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js +5 -1
- package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +8 -8
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +7 -7
- package/dist/cjs/p-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +64 -3
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +4 -4
- package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +4 -4
- package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-navbar.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-select.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.js +3 -3
- package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +2 -2
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
- package/dist/collection/components/atoms/badge/badge.component.js +2 -2
- package/dist/collection/components/atoms/badge/badge.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +4 -4
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +2 -2
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +3 -2
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +5 -5
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
- package/dist/collection/components/molecules/button/button.component.css +1 -1
- package/dist/collection/components/molecules/button/button.component.js +6 -5
- package/dist/collection/components/molecules/button/button.component.js.map +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.css +1 -0
- package/dist/collection/components/molecules/button-group/button-group.component.js +11 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +2 -2
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +63 -6
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field.component.js +3 -3
- package/dist/collection/components/molecules/field-container/field-container.component.js +2 -2
- package/dist/collection/components/molecules/field-container/field-container.component.js.map +1 -1
- package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.js +3 -3
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +2 -2
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +2 -2
- package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/select/select.component.js.map +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/collection/utils/is-mobile-browser.js +14 -0
- package/dist/collection/utils/is-mobile-browser.js.map +1 -0
- package/dist/components/avatar.component.js +2 -2
- package/dist/components/avatar.component.js.map +1 -1
- package/dist/components/backdrop.component.js +2 -2
- package/dist/components/backdrop.component.js.map +1 -1
- package/dist/components/badge.component.js +1 -1
- package/dist/components/badge.component.js.map +1 -1
- package/dist/components/button.component.js +7 -6
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/calendar.component.js +2 -2
- package/dist/components/calendar.component.js.map +1 -1
- package/dist/components/dropdown-menu-container.component.js +2 -2
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +3 -3
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +4 -4
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/field-container.component.js +1 -1
- package/dist/components/field-container.component.js.map +1 -1
- package/dist/components/field.component.js +3 -3
- package/dist/components/icon.component.js +2 -2
- package/dist/components/icon.component.js.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-error.component.js +1 -1
- package/dist/components/is-mobile-browser.js +17 -0
- package/dist/components/is-mobile-browser.js.map +1 -0
- package/dist/components/loader.component.js +1 -1
- package/dist/components/loader.component.js.map +1 -1
- package/dist/components/navigation-title.component.js +3 -2
- package/dist/components/navigation-title.component.js.map +1 -1
- package/dist/components/p-avatar-group.js +2 -2
- package/dist/components/p-avatar-group.js.map +1 -1
- package/dist/components/p-button-group.js +5 -1
- package/dist/components/p-button-group.js.map +1 -1
- package/dist/components/p-datepicker.js +68 -5
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-input-group.js +3 -3
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-navbar.js +2 -2
- package/dist/components/p-navbar.js.map +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-item.js.map +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-section.js.map +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-profile.js.map +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-row.component.js +2 -2
- package/dist/components/tooltip.component.js +4 -4
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/esm/{index-538f1fd8.js → index-64e10183.js} +2 -2
- package/dist/esm/{index-538f1fd8.js.map → index-64e10183.js.map} +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/is-mobile-browser-0f0bfd54.js +17 -0
- package/dist/esm/is-mobile-browser-0f0bfd54.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-avatar-group.entry.js +2 -2
- package/dist/esm/p-avatar-group.entry.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +2 -2
- package/dist/esm/p-avatar.entry.js.map +1 -1
- package/dist/esm/p-backdrop.entry.js +2 -2
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +1 -1
- package/dist/esm/p-badge_3.entry.js.map +1 -1
- package/dist/esm/p-button-group.entry.js +5 -1
- package/dist/esm/p-button-group.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +8 -8
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +2 -2
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-checkbox_3.entry.js +7 -7
- package/dist/esm/p-checkbox_3.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +65 -4
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +4 -4
- package/dist/esm/p-field_2.entry.js.map +1 -1
- package/dist/esm/p-floating-menu-container_8.entry.js +4 -4
- package/dist/esm/p-helper_2.entry.js +4 -4
- package/dist/esm/p-helper_2.entry.js.map +1 -1
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-input-group.entry.js +3 -3
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-navbar.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js.map +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-item.entry.js.map +1 -1
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-section.entry.js.map +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js.map +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-profile.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-select.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/{build/p-dbbf732c.entry.js → paperless/p-04f4b015.entry.js} +2 -2
- package/dist/paperless/p-04f4b015.entry.js.map +1 -0
- package/dist/paperless/{p-291573c4.entry.js → p-13e12e68.entry.js} +2 -2
- package/dist/paperless/p-13e12e68.entry.js.map +1 -0
- package/dist/paperless/{p-0e1935d5.entry.js → p-1543f3a0.entry.js} +2 -2
- package/dist/paperless/p-1543f3a0.entry.js.map +1 -0
- package/dist/paperless/p-28601ee5.entry.js +2 -0
- package/dist/paperless/p-28601ee5.entry.js.map +1 -0
- package/dist/{build/p-9a9c8ce9.entry.js → paperless/p-38edcb47.entry.js} +2 -2
- package/dist/paperless/p-38edcb47.entry.js.map +1 -0
- package/dist/paperless/{p-ccbd2de0.entry.js → p-3fec2247.entry.js} +2 -2
- package/dist/paperless/{p-83055eac.entry.js → p-45d789f5.entry.js} +2 -2
- package/dist/paperless/p-45d789f5.entry.js.map +1 -0
- package/dist/paperless/{p-1f464c93.entry.js → p-52ff5017.entry.js} +2 -2
- package/dist/paperless/p-52ff5017.entry.js.map +1 -0
- package/dist/paperless/{p-f56de35e.entry.js → p-610eb0ff.entry.js} +2 -2
- package/dist/paperless/{p-401ff01b.entry.js → p-68647b9e.entry.js} +2 -2
- package/dist/{build/p-9cac28b6.js → paperless/p-6bcfa4d5.js} +2 -2
- package/dist/paperless/p-859c4fb1.entry.js +2 -0
- package/dist/paperless/{p-479bdcc8.entry.js → p-886c060f.entry.js} +2 -2
- package/dist/paperless/p-886c060f.entry.js.map +1 -0
- package/dist/paperless/p-92f5d9d5.entry.js +2 -0
- package/dist/paperless/p-92f5d9d5.entry.js.map +1 -0
- package/dist/paperless/p-963f037a.entry.js +2 -0
- package/dist/paperless/p-963f037a.entry.js.map +1 -0
- package/dist/paperless/p-96ad9c58.entry.js +2 -0
- package/dist/paperless/p-96ad9c58.entry.js.map +1 -0
- package/dist/{build/p-e5a54d05.entry.js → paperless/p-971aac89.entry.js} +2 -2
- package/dist/paperless/p-9a0262b1.entry.js +2 -0
- package/dist/paperless/p-9a0262b1.entry.js.map +1 -0
- package/dist/paperless/{p-fde8b75b.entry.js → p-a0fad3d8.entry.js} +2 -2
- package/dist/paperless/{p-4e31af7e.entry.js → p-a93ce615.entry.js} +2 -2
- package/dist/paperless/p-a93ce615.entry.js.map +1 -0
- package/dist/{build/p-8a8663ae.entry.js → paperless/p-b59372b5.entry.js} +2 -2
- package/dist/paperless/p-b59372b5.entry.js.map +1 -0
- package/dist/paperless/p-ba01a4ff.entry.js +2 -0
- package/dist/paperless/p-ba01a4ff.entry.js.map +1 -0
- package/dist/paperless/p-e839a672.entry.js +2 -0
- package/dist/paperless/p-e839a672.entry.js.map +1 -0
- package/dist/paperless/p-efbc122f.js +2 -0
- package/dist/paperless/p-efbc122f.js.map +1 -0
- package/dist/paperless/{p-8b1a485b.entry.js → p-f173bb97.entry.js} +2 -2
- package/dist/paperless/p-f66c7368.entry.js +2 -0
- package/dist/paperless/p-f66c7368.entry.js.map +1 -0
- package/dist/paperless/p-f70908cc.entry.js +2 -0
- package/dist/paperless/p-f70908cc.entry.js.map +1 -0
- package/dist/paperless/paperless.css +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/style/_fonts.scss +6 -4
- package/dist/style/_reset.scss +4 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +7 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/is-mobile-browser.d.ts +1 -0
- package/hydrate/index.js +142 -62
- package/hydrate/index.mjs +142 -62
- package/package.json +1 -1
- package/dist/build/p-0669c7e2.entry.js +0 -2
- package/dist/build/p-0669c7e2.entry.js.map +0 -1
- package/dist/build/p-0a1cf938.entry.js +0 -2
- package/dist/build/p-0a1cf938.entry.js.map +0 -1
- package/dist/build/p-0e1935d5.entry.js.map +0 -1
- package/dist/build/p-1f464c93.entry.js.map +0 -1
- package/dist/build/p-250b3f90.entry.js +0 -2
- package/dist/build/p-250b3f90.entry.js.map +0 -1
- package/dist/build/p-291573c4.entry.js.map +0 -1
- package/dist/build/p-2f613a2a.entry.js +0 -2
- package/dist/build/p-35080e8e.entry.js +0 -2
- package/dist/build/p-35080e8e.entry.js.map +0 -1
- package/dist/build/p-3ffe9aca.js +0 -2
- package/dist/build/p-479bdcc8.entry.js.map +0 -1
- package/dist/build/p-4e31af7e.entry.js.map +0 -1
- package/dist/build/p-562029b4.entry.js +0 -2
- package/dist/build/p-562029b4.entry.js.map +0 -1
- package/dist/build/p-83055eac.entry.js.map +0 -1
- package/dist/build/p-868d5746.entry.js +0 -2
- package/dist/build/p-868d5746.entry.js.map +0 -1
- package/dist/build/p-8a8663ae.entry.js.map +0 -1
- package/dist/build/p-9a9c8ce9.entry.js.map +0 -1
- package/dist/build/p-cb8ecae7.entry.js +0 -2
- package/dist/build/p-cb8ecae7.entry.js.map +0 -1
- package/dist/build/p-d63066b0.css +0 -1
- package/dist/build/p-dbbf732c.entry.js.map +0 -1
- package/dist/build/p-e3b04c17.entry.js +0 -2
- package/dist/build/p-e3b04c17.entry.js.map +0 -1
- package/dist/build/p-fc9cfbd1.entry.js +0 -2
- package/dist/build/p-fc9cfbd1.entry.js.map +0 -1
- package/dist/paperless/p-0669c7e2.entry.js +0 -2
- package/dist/paperless/p-0669c7e2.entry.js.map +0 -1
- package/dist/paperless/p-0a1cf938.entry.js +0 -2
- package/dist/paperless/p-0a1cf938.entry.js.map +0 -1
- package/dist/paperless/p-0e1935d5.entry.js.map +0 -1
- package/dist/paperless/p-1f464c93.entry.js.map +0 -1
- package/dist/paperless/p-250b3f90.entry.js +0 -2
- package/dist/paperless/p-250b3f90.entry.js.map +0 -1
- package/dist/paperless/p-291573c4.entry.js.map +0 -1
- package/dist/paperless/p-2f613a2a.entry.js +0 -2
- package/dist/paperless/p-35080e8e.entry.js +0 -2
- package/dist/paperless/p-35080e8e.entry.js.map +0 -1
- package/dist/paperless/p-479bdcc8.entry.js.map +0 -1
- package/dist/paperless/p-4e31af7e.entry.js.map +0 -1
- package/dist/paperless/p-562029b4.entry.js +0 -2
- package/dist/paperless/p-562029b4.entry.js.map +0 -1
- package/dist/paperless/p-83055eac.entry.js.map +0 -1
- package/dist/paperless/p-868d5746.entry.js +0 -2
- package/dist/paperless/p-868d5746.entry.js.map +0 -1
- package/dist/paperless/p-8a8663ae.entry.js.map +0 -1
- package/dist/paperless/p-9a9c8ce9.entry.js.map +0 -1
- package/dist/paperless/p-cb8ecae7.entry.js +0 -2
- package/dist/paperless/p-cb8ecae7.entry.js.map +0 -1
- package/dist/paperless/p-dbbf732c.entry.js.map +0 -1
- package/dist/paperless/p-e3b04c17.entry.js +0 -2
- package/dist/paperless/p-e3b04c17.entry.js.map +0 -1
- package/dist/paperless/p-fc9cfbd1.entry.js +0 -2
- package/dist/paperless/p-fc9cfbd1.entry.js.map +0 -1
- /package/dist/build/{p-ccbd2de0.entry.js.map → p-3fec2247.entry.js.map} +0 -0
- /package/dist/build/{p-f56de35e.entry.js.map → p-610eb0ff.entry.js.map} +0 -0
- /package/dist/build/{p-401ff01b.entry.js.map → p-68647b9e.entry.js.map} +0 -0
- /package/dist/build/{p-9cac28b6.js.map → p-6bcfa4d5.js.map} +0 -0
- /package/dist/build/{p-2f613a2a.entry.js.map → p-859c4fb1.entry.js.map} +0 -0
- /package/dist/build/{p-e5a54d05.entry.js.map → p-971aac89.entry.js.map} +0 -0
- /package/dist/build/{p-fde8b75b.entry.js.map → p-a0fad3d8.entry.js.map} +0 -0
- /package/dist/build/{p-8b1a485b.entry.js.map → p-f173bb97.entry.js.map} +0 -0
- /package/dist/paperless/{p-ccbd2de0.entry.js.map → p-3fec2247.entry.js.map} +0 -0
- /package/dist/paperless/{p-f56de35e.entry.js.map → p-610eb0ff.entry.js.map} +0 -0
- /package/dist/paperless/{p-401ff01b.entry.js.map → p-68647b9e.entry.js.map} +0 -0
- /package/dist/paperless/{p-9cac28b6.js.map → p-6bcfa4d5.js.map} +0 -0
- /package/dist/paperless/{p-2f613a2a.entry.js.map → p-859c4fb1.entry.js.map} +0 -0
- /package/dist/paperless/{p-e5a54d05.entry.js.map → p-971aac89.entry.js.map} +0 -0
- /package/dist/paperless/{p-fde8b75b.entry.js.map → p-a0fad3d8.entry.js.map} +0 -0
- /package/dist/paperless/{p-8b1a485b.entry.js.map → p-f173bb97.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"loader.component.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG
|
|
1
|
+
{"file":"loader.component.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG,oyGAAoyG,CAAC;AACh0G,sBAAe,kBAAkB;;MCOpB,MAAM;;;;;oBAI4B,IAAI;uBAMjD,QAAQ;qBAKqC,QAAQ;;;;IAY9C,KAAK,GAAkC,KAAK,CAAC;IAC7C,eAAe,CAAe;IAEtC,gBAAgB;QACf,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;KACvB;IAED,mBAAmB;QAClB,IAAI,CAAC,UAAU,EAAE,CAAC;KAClB;IAED,qBAAqB;QACpB,IAAI,CAAC,UAAU,EAAE,CAAC;KAClB;IAED,MAAM;QACL,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YAChB,OAAO;SACP;QAED,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO,EAAE;YAC7B,OAAO,EAAC,IAAI,IAAC,KAAK,EAAC,wBAAwB,GAAQ,CAAC;SACpD;QAED,MAAM,MAAM,GAAG,WAAK,KAAK,EAAE,gBAAgB,IAAI,CAAC,KAAK,EAAE,GAAQ,CAAC;QAEhE,IAAI,IAAI,CAAC,OAAO,KAAK,aAAa,EAAE;YACnC,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,8BAA8B,IACzC,WAAK,KAAK,EAAC,gBAAgB,IAC1B,WAAK,KAAK,EAAC,SAAS,IACnB,eAAQ,EAER,WAAK,KAAK,EAAC,gBAAgB,IAAE,MAAM,CAAO,CACrC,CACD,CACA,EACN;SACF;QAED,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,iCACN,IAAI,CAAC,OAAO,KAAK,YAAY,IAAI,qCAClC,EAAE,IAED,MAAM,CACD,EACN;KACF;IAEO,UAAU;QACjB,IAAI,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;SAC5B;QAED,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC;YACzE,OAAO;SACP;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;KACvB;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/atoms/loader/loader.component.tsx"],"sourcesContent":[":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-full;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply fixed left-0 top-0 h-screen-safe w-screen-safe;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant: 'inline' | 'full-width' | 'full-screen' | 'modal' | 'ghost' =\n\t\t'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show: boolean | Observable<boolean> = false;\n\tprivate _showSubscriber: Subscription;\n\n\tcomponendDidLoad() {\n\t\tthis._show = this.show;\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class='p-loader variant-ghost'></Host>;\n\t\t}\n\n\t\tconst loader = <div class={`loader color-${this.color}`}></div>;\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class='p-loader variant-full-screen'>\n\t\t\t\t\t<div class='loading-screen'>\n\t\t\t\t\t\t<div class='content'>\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class='loader-wrapper'>{loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' && 'flex w-full justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(show => (this._show = show));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"version":3}
|
|
@@ -7,12 +7,13 @@ const NavigationTitle = /*@__PURE__*/ proxyCustomElement(class NavigationTitle e
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
10
11
|
}
|
|
11
12
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'd51756470d5725ba1a1d9b1128d72b6d51db7588', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: 'fa9b64875c9973c7001fdc7cfff81131b965985b' })));
|
|
13
14
|
}
|
|
14
15
|
static get style() { return PNavigationTitleStyle0; }
|
|
15
|
-
}, [
|
|
16
|
+
}, [1, "p-navigation-title"]);
|
|
16
17
|
function defineCustomElement() {
|
|
17
18
|
if (typeof customElements === "undefined") {
|
|
18
19
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"navigation-title.component.js","mappings":";;AAAA,MAAM,2BAA2B,GAAG,+QAA+Q,CAAC;AACpT,+BAAe,2BAA2B;;MCM7B,eAAe
|
|
1
|
+
{"file":"navigation-title.component.js","mappings":";;AAAA,MAAM,2BAA2B,GAAG,+QAA+Q,CAAC;AACpT,+BAAe,2BAA2B;;MCM7B,eAAe;;;;;;IAC3B,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,4DAA4D,IACvE,8DAAQ,CACF,EACN;KACF;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/navigation-title/navigation-title.component.css?tag=p-navigation-title&encapsulation=shadow","src/components/atoms/navigation-title/navigation-title.component.tsx"],"sourcesContent":["","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-navigation-title',\n\tstyleUrl: 'navigation-title.component.css',\n\tshadow: true,\n})\nexport class NavigationTitle {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-navigation-title text-xs font-medium text-black-teal-300'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const avatarGroupComponentCss = "*{box-sizing:border-box}p-avatar-group
|
|
3
|
+
const avatarGroupComponentCss = "*{box-sizing:border-box}p-avatar-group{p-avatar:first-child{z-index:3}p-avatar:nth-child(2){z-index:2}p-avatar:nth-child(3){z-index:1}";
|
|
4
4
|
const PAvatarGroupStyle0 = avatarGroupComponentCss;
|
|
5
5
|
|
|
6
6
|
const AvatarGroup = /*@__PURE__*/ proxyCustomElement(class AvatarGroup extends HTMLElement {
|
|
@@ -10,7 +10,7 @@ const AvatarGroup = /*@__PURE__*/ proxyCustomElement(class AvatarGroup extends H
|
|
|
10
10
|
this.extra = undefined;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '0f128c1dd49b27333ce1da071243cadfda801579', class: 'p-avatar-group flex items-center -space-x-1 overflow-hidden' }, h("slot", { key: 'ef01ad1f5e1fb9fefbac5af9c46e5d3eedb35135' }), this.extra && (h("span", { key: '1d90f8bea1bc821e21be312a74b8fc82540eb776', class: 'pl-3 text-sm text-black-teal-300' }, "+", this.extra))));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return PAvatarGroupStyle0; }
|
|
16
16
|
}, [4, "p-avatar-group", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-avatar-group.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,
|
|
1
|
+
{"file":"p-avatar-group.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,wIAAwI,CAAC;AACzK,2BAAe,uBAAuB;;MCKzB,WAAW;;;;;;IAMvB,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,6DAA6D,IACxE,8DAAQ,EAEP,IAAI,CAAC,KAAK,KACV,6DAAM,KAAK,EAAC,kCAAkC,SAAG,IAAI,CAAC,KAAK,CAAQ,CACnE,CACK,EACN;KACF;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/avatar-group/avatar-group.component.css?tag=p-avatar-group","src/components/atoms/avatar-group/avatar-group.component.tsx"],"sourcesContent":["p-avatar-group {\n\tp-avatar:nth-child(1) {\n\t\tz-index: 3;\n\t}\n\n\tp-avatar:nth-child(2) {\n\t\tz-index: 2;\n\t}\n\n\tp-avatar:nth-child(3) {\n\t\tz-index: 1;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-avatar-group',\n\tstyleUrl: 'avatar-group.component.css',\n})\nexport class AvatarGroup {\n\t/**\n\t * The amount to show after the avatars\n\t */\n\t@Prop() extra: number;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-avatar-group flex items-center -space-x-1 overflow-hidden'>\n\t\t\t\t<slot />\n\n\t\t\t\t{this.extra && (\n\t\t\t\t\t<span class='pl-3 text-sm text-black-teal-300'>+{this.extra}</span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
+
const buttonGroupComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.items-center{align-items:center!important}";
|
|
4
|
+
const PButtonGroupStyle0 = buttonGroupComponentCss;
|
|
5
|
+
|
|
3
6
|
const ButtonGroup = /*@__PURE__*/ proxyCustomElement(class ButtonGroup extends HTMLElement {
|
|
4
7
|
constructor() {
|
|
5
8
|
super();
|
|
@@ -12,7 +15,7 @@ const ButtonGroup = /*@__PURE__*/ proxyCustomElement(class ButtonGroup extends H
|
|
|
12
15
|
this._checkButtons();
|
|
13
16
|
}
|
|
14
17
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'a1c1dd1e920c892679145e3e03a1779a82e9ad3d', class: 'p-button-group flex items-center' }, h("slot", { key: '715f24ba0349e5fc8597a125d6ad5976f63fdc96' })));
|
|
16
19
|
}
|
|
17
20
|
slotchange() {
|
|
18
21
|
this._checkButtons();
|
|
@@ -36,6 +39,7 @@ const ButtonGroup = /*@__PURE__*/ proxyCustomElement(class ButtonGroup extends H
|
|
|
36
39
|
button.buttonGroupPosition = 'center';
|
|
37
40
|
}
|
|
38
41
|
}
|
|
42
|
+
static get style() { return PButtonGroupStyle0; }
|
|
39
43
|
}, [1, "p-button-group", {
|
|
40
44
|
"size": [1]
|
|
41
45
|
}, [[0, "slotchange", "slotchange"]]]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-button-group.js","mappings":";;
|
|
1
|
+
{"file":"p-button-group.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,oIAAoI,CAAC;AACrK,2BAAe,uBAAuB;;MCOzB,WAAW;;;;;oBAIc,MAAM;;;IAO3C,iBAAiB;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;KACrB;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,kCAAkC,IAC7C,8DAAQ,CACF,EACN;KACF;IAGD,UAAU;QACT,IAAI,CAAC,aAAa,EAAE,CAAC;KACrB;IAEO,aAAa;QACpB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CACzB,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAC3B,CAAC;QAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACxC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;YAE1B,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;;YAGxB,IAAI,CAAC,KAAK,CAAC,EAAE;gBACZ,MAAM,CAAC,mBAAmB,GAAG,OAAO,CAAC;gBACrC,SAAS;aACT;;YAGD,IAAI,CAAC,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC7B,MAAM,CAAC,mBAAmB,GAAG,KAAK,CAAC;gBACnC,SAAS;aACT;;YAGD,MAAM,CAAC,mBAAmB,GAAG,QAAQ,CAAC;SACtC;KACD;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/molecules/button-group/button-group.component.css?tag=p-button-group&encapsulation=shadow","src/components/molecules/button-group/button-group.component.tsx"],"sourcesContent":["","import { Component, Element, h, Host, Listen, Prop } from '@stencil/core';\nimport { Button } from '../button/button.component';\n\n@Component({\n\ttag: 'p-button-group',\n\tstyleUrl: 'button-group.component.css',\n\tshadow: true,\n})\nexport class ButtonGroup {\n\t/**\n\t * The size of the child buttons\n\t */\n\t@Prop() size: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tcomponentWillLoad() {\n\t\tthis._checkButtons();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-button-group flex items-center'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('slotchange')\n\tslotchange() {\n\t\tthis._checkButtons();\n\t}\n\n\tprivate _checkButtons() {\n\t\tconst buttons = Array.from(\n\t\t\tthis._el.querySelectorAll(':scope > p-button')\n\t\t) as any as Button[];\n\n\t\tfor (let i = 0; i < buttons.length; i++) {\n\t\t\tconst button = buttons[i];\n\n\t\t\tbutton.size = this.size;\n\n\t\t\t// first\n\t\t\tif (i === 0) {\n\t\t\t\tbutton.buttonGroupPosition = 'start';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// last\n\t\t\tif (i === buttons.length - 1) {\n\t\t\t\tbutton.buttonGroupPosition = 'end';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// rest\n\t\t\tbutton.buttonGroupPosition = 'center';\n\t\t}\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as childOf } from './child-of.js';
|
|
3
|
+
import { i as isMobileBrowser } from './is-mobile-browser.js';
|
|
3
4
|
import { d as defineCustomElement$c } from './button.component.js';
|
|
4
|
-
import {
|
|
5
|
+
import { r as requiredArgs, t as toDate, _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, b as getUTCWeek, c as toInteger, e as getUTCISOWeek, f as getDefaultOptions, l as longFormatters, h as subMilliseconds, i as getTimezoneOffsetInMilliseconds, j as defaultLocale, k as isProtectedWeekYearToken, m as throwProtectedError, n as isProtectedDayOfYearToken, o as isValid, p as isBefore, q as isAfter, u as format, v as startOfDay, w as isSameDay, d as defineCustomElement$b } from './calendar.component.js';
|
|
5
6
|
import { d as defineCustomElement$a } from './dropdown.component.js';
|
|
6
7
|
import { d as defineCustomElement$9 } from './dropdown-menu-container.component.js';
|
|
7
8
|
import { d as defineCustomElement$8 } from './field.component.js';
|
|
@@ -12,6 +13,30 @@ import { d as defineCustomElement$4 } from './loader.component.js';
|
|
|
12
13
|
import { d as defineCustomElement$3 } from './portal.component.js';
|
|
13
14
|
import { d as defineCustomElement$2 } from './tooltip.component.js';
|
|
14
15
|
|
|
16
|
+
/**
|
|
17
|
+
* @name isWeekend
|
|
18
|
+
* @category Weekday Helpers
|
|
19
|
+
* @summary Does the given date fall on a weekend?
|
|
20
|
+
*
|
|
21
|
+
* @description
|
|
22
|
+
* Does the given date fall on a weekend?
|
|
23
|
+
*
|
|
24
|
+
* @param {Date|Number} date - the date to check
|
|
25
|
+
* @returns {Boolean} the date falls on a weekend
|
|
26
|
+
* @throws {TypeError} 1 argument required
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* // Does 5 October 2014 fall on a weekend?
|
|
30
|
+
* const result = isWeekend(new Date(2014, 9, 5))
|
|
31
|
+
* //=> true
|
|
32
|
+
*/
|
|
33
|
+
function isWeekend(dirtyDate) {
|
|
34
|
+
requiredArgs(1, arguments);
|
|
35
|
+
var date = toDate(dirtyDate);
|
|
36
|
+
var day = date.getDay();
|
|
37
|
+
return day === 0 || day === 6;
|
|
38
|
+
}
|
|
39
|
+
|
|
15
40
|
/**
|
|
16
41
|
* Days in 1 week.
|
|
17
42
|
*
|
|
@@ -2835,7 +2860,7 @@ function cleanEscapedString(input) {
|
|
|
2835
2860
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
2836
2861
|
}
|
|
2837
2862
|
|
|
2838
|
-
const datepickerComponentCss = "
|
|
2863
|
+
const datepickerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.h-0{height:0!important}.overflow-hidden{overflow:hidden!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}";
|
|
2839
2864
|
const PDatepickerStyle0 = datepickerComponentCss;
|
|
2840
2865
|
|
|
2841
2866
|
const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTMLElement {
|
|
@@ -2846,6 +2871,7 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2846
2871
|
this.placeholder = undefined;
|
|
2847
2872
|
this.value = undefined;
|
|
2848
2873
|
this.preselectToday = false;
|
|
2874
|
+
this.enableNativePicker = true;
|
|
2849
2875
|
this.disabledDates = undefined;
|
|
2850
2876
|
this.minDate = undefined;
|
|
2851
2877
|
this.maxDate = undefined;
|
|
@@ -2867,6 +2893,7 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2867
2893
|
this._minDate = undefined;
|
|
2868
2894
|
this._maxDate = undefined;
|
|
2869
2895
|
this._disabledDates = [];
|
|
2896
|
+
this._isMobileBrowser = false;
|
|
2870
2897
|
}
|
|
2871
2898
|
/**
|
|
2872
2899
|
* Event when the value changes
|
|
@@ -2875,6 +2902,7 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2875
2902
|
get _el() { return this; }
|
|
2876
2903
|
_onInputTimeout;
|
|
2877
2904
|
_inputRef;
|
|
2905
|
+
_dateInputRef;
|
|
2878
2906
|
_defaultFormats = {
|
|
2879
2907
|
year: 'yyyy',
|
|
2880
2908
|
month: 'LLLL, yyyy',
|
|
@@ -2946,10 +2974,13 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2946
2974
|
if (this.mode !== 'day' && this.format === this._defaultFormats['day']) {
|
|
2947
2975
|
this.format = this._defaultFormats[this.mode];
|
|
2948
2976
|
}
|
|
2977
|
+
this._isMobileBrowser = isMobileBrowser();
|
|
2949
2978
|
this.parseValue(this.value);
|
|
2950
2979
|
}
|
|
2951
2980
|
render() {
|
|
2952
|
-
return (h(Host, { key: '
|
|
2981
|
+
return (h(Host, { key: 'e881e5fa8232fc6492bf9a51bb8221267e0e0af4', class: 'p-datepicker' }, h("p-dropdown", { key: 'ca71772e6beb08ecd7c728a86f37f68fdb43f009', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '8fbf40b4638c4a7dff3b25acaba3ba5ee097b08b', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'b7bc7ee8e3f52d9d86df4d1b539e2a3126094bf2', slot: 'trigger', type: 'date', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
|
|
2982
|
+
,
|
|
2983
|
+
onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: 'd72b8546a971766cef7aa700b07f5b182c9ced44', slot: 'items' }, h("p-calendar", { key: '2d49eda89f6f88a1f332f7b14748eaa42732475b', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
|
|
2953
2984
|
}
|
|
2954
2985
|
documentClickHandler({ target }) {
|
|
2955
2986
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -2958,9 +2989,17 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2958
2989
|
this._showDropdown = false;
|
|
2959
2990
|
}
|
|
2960
2991
|
_onFocus() {
|
|
2992
|
+
if (this._isMobileBrowser && this._dateInputRef) {
|
|
2993
|
+
this._dateInputRef.showPicker();
|
|
2994
|
+
this._inputRef.blur();
|
|
2995
|
+
return;
|
|
2996
|
+
}
|
|
2961
2997
|
this._showDropdown = true;
|
|
2962
2998
|
}
|
|
2963
2999
|
_onBlur() {
|
|
3000
|
+
if (this._isMobileBrowser && this._dateInputRef) {
|
|
3001
|
+
return;
|
|
3002
|
+
}
|
|
2964
3003
|
const target = this._inputRef;
|
|
2965
3004
|
if (target.value === null) {
|
|
2966
3005
|
return;
|
|
@@ -2988,6 +3027,22 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2988
3027
|
this._setValue(parsedValue, false);
|
|
2989
3028
|
}, 300);
|
|
2990
3029
|
}
|
|
3030
|
+
_onNativeInput(ev) {
|
|
3031
|
+
if (!ev.target.value) {
|
|
3032
|
+
return;
|
|
3033
|
+
}
|
|
3034
|
+
if (this._onInputTimeout) {
|
|
3035
|
+
clearTimeout(this._onInputTimeout);
|
|
3036
|
+
this._onInputTimeout = null;
|
|
3037
|
+
}
|
|
3038
|
+
this._onInputTimeout = setTimeout(() => {
|
|
3039
|
+
const parsedValue = new Date(ev.target.value);
|
|
3040
|
+
if (!isValid(parsedValue)) {
|
|
3041
|
+
return;
|
|
3042
|
+
}
|
|
3043
|
+
this._setValue(parsedValue, false);
|
|
3044
|
+
});
|
|
3045
|
+
}
|
|
2991
3046
|
_setValue(value, hideDropdown = true) {
|
|
2992
3047
|
if (value === null) {
|
|
2993
3048
|
this._value = null;
|
|
@@ -2998,6 +3053,11 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
2998
3053
|
return;
|
|
2999
3054
|
}
|
|
3000
3055
|
if (this._isDisabledDay(value)) {
|
|
3056
|
+
if (!!this._dateInputRef?.value) {
|
|
3057
|
+
this._dateInputRef.value = this._value
|
|
3058
|
+
? format(this._value, 'yyyy-MM-dd')
|
|
3059
|
+
: null;
|
|
3060
|
+
}
|
|
3001
3061
|
return;
|
|
3002
3062
|
}
|
|
3003
3063
|
value = startOfDay(value);
|
|
@@ -3012,7 +3072,8 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
3012
3072
|
this.valueChange.emit(value);
|
|
3013
3073
|
}
|
|
3014
3074
|
_isDisabledDay(day) {
|
|
3015
|
-
return ((
|
|
3075
|
+
return ((this.disableWeekends && isWeekend(day)) ||
|
|
3076
|
+
(isBefore(day, this._minDate) && !isSameDay(day, this._minDate)) ||
|
|
3016
3077
|
(isAfter(day, this._maxDate) && !isSameDay(day, this._maxDate)) ||
|
|
3017
3078
|
this._disabledDates.findIndex(date => isSameDay(date, day)) >= 0);
|
|
3018
3079
|
}
|
|
@@ -3033,6 +3094,7 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
3033
3094
|
"placeholder": [1],
|
|
3034
3095
|
"value": [1],
|
|
3035
3096
|
"preselectToday": [4, "preselect-today"],
|
|
3097
|
+
"enableNativePicker": [4, "enable-native-picker"],
|
|
3036
3098
|
"disabledDates": [1, "disabled-dates"],
|
|
3037
3099
|
"minDate": [1, "min-date"],
|
|
3038
3100
|
"maxDate": [1, "max-date"],
|
|
@@ -3053,7 +3115,8 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTM
|
|
|
3053
3115
|
"_value": [32],
|
|
3054
3116
|
"_minDate": [32],
|
|
3055
3117
|
"_maxDate": [32],
|
|
3056
|
-
"_disabledDates": [32]
|
|
3118
|
+
"_disabledDates": [32],
|
|
3119
|
+
"_isMobileBrowser": [32]
|
|
3057
3120
|
}, [[6, "click", "documentClickHandler"]], {
|
|
3058
3121
|
"value": ["parseValue"],
|
|
3059
3122
|
"minDate": ["parseMinDate"],
|