@paperless/core 2.0.1-beta.32 → 2.0.1-beta.34
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 +109 -0
- package/dist/assets/i18n/floating-menu-container.i18n.en.json +4 -0
- package/dist/assets/i18n/floating-menu-container.i18n.nl.json +4 -0
- package/dist/assets/i18n/pagination-size.i18n.en.json +3 -0
- package/dist/assets/i18n/pagination-size.i18n.nl.json +3 -0
- package/dist/assets/icons/extra/checkmark-thick.svg +10 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/p-0719e72a.js +2 -0
- package/dist/build/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
- package/dist/build/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
- package/dist/build/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
- package/dist/build/p-28dbbce6.entry.js +2 -0
- package/dist/build/p-28ee6cd6.entry.js +2 -0
- package/dist/{paperless/p-b162a142.entry.js → build/p-290d04b0.entry.js} +2 -2
- package/dist/build/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
- package/dist/{paperless/p-e5a54d05.entry.js → build/p-333f614e.entry.js} +2 -2
- package/dist/build/p-37b43ce6.entry.js +2 -0
- package/dist/build/p-37b43ce6.entry.js.map +1 -0
- package/dist/build/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
- package/dist/{paperless/p-4baaed44.entry.js → build/p-3bd145fd.entry.js} +2 -2
- package/dist/build/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
- package/dist/build/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
- package/dist/build/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
- package/dist/build/p-469615ef.entry.js +2 -0
- package/dist/build/p-469615ef.entry.js.map +1 -0
- package/dist/build/p-489013c7.entry.js +2 -0
- package/dist/build/p-489013c7.entry.js.map +1 -0
- package/dist/build/p-4f947801.entry.js +2 -0
- package/dist/build/p-549b2931.entry.js +2 -0
- package/dist/build/p-549b2931.entry.js.map +1 -0
- package/dist/build/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
- package/dist/build/p-59962e55.entry.js +2 -0
- package/dist/{paperless/p-3e2708de.entry.js → build/p-657c6b98.entry.js} +2 -2
- package/dist/build/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
- package/dist/build/p-711bb72e.entry.js +2 -0
- package/dist/build/p-711bb72e.entry.js.map +1 -0
- package/dist/build/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
- package/dist/build/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
- package/dist/{paperless/p-b082e123.js → build/p-7ce3ed33.js} +2 -2
- package/dist/build/p-7ce3ed33.js.map +1 -0
- package/dist/build/{p-da7b6f2c.js → p-83946184.js} +1 -1
- package/dist/build/p-83946184.js.map +1 -0
- package/dist/build/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
- package/dist/build/p-8857d619.entry.js +2 -0
- package/dist/build/p-8857d619.entry.js.map +1 -0
- package/dist/build/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
- package/dist/build/{p-28f44624.entry.js → p-8c8128f9.entry.js} +2 -2
- package/dist/{paperless/p-cd2cd75f.entry.js → build/p-90ad3605.entry.js} +2 -2
- package/dist/build/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
- package/dist/build/p-99352ae4.entry.js +2 -0
- package/dist/build/p-99352ae4.entry.js.map +1 -0
- package/dist/{paperless/p-0ffb8f53.entry.js → build/p-a133d5be.entry.js} +2 -2
- package/dist/build/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
- package/dist/build/p-c55ee8d6.entry.js +2 -0
- package/dist/build/p-c55ee8d6.entry.js.map +1 -0
- package/dist/build/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
- package/dist/build/p-d48ef748.entry.js +2 -0
- package/dist/build/p-d48ef748.entry.js.map +1 -0
- package/dist/{paperless/p-9406a32e.entry.js → build/p-d70fcbe8.entry.js} +2 -2
- package/dist/build/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
- package/dist/build/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
- package/dist/build/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
- package/dist/{paperless/p-697ed735.entry.js → build/p-dc536eb2.entry.js} +2 -2
- package/dist/build/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
- package/dist/build/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
- package/dist/{paperless/p-20ea5e27.entry.js → build/p-ef42fec9.entry.js} +2 -2
- package/dist/build/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
- package/dist/build/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
- package/dist/build/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
- package/dist/build/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
- package/dist/{paperless/p-f762c735.entry.js → build/p-f4cdabb7.entry.js} +2 -2
- package/dist/{paperless/p-3023e8dc.entry.js → build/p-f63feca1.entry.js} +2 -2
- package/dist/build/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/{constants-f911468d.js → constants-eae831f7.js} +1 -1
- package/dist/cjs/constants-eae831f7.js.map +1 -0
- package/dist/cjs/{icons-10aa18f0.js → icons-8fe8c3cf.js} +18 -1
- package/dist/cjs/icons-8fe8c3cf.js.map +1 -0
- package/dist/cjs/index-3f9bbc0c.js +14 -10
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +4 -4
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +5 -5
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +2 -2
- package/dist/cjs/{p-checkbox_3.cjs.entry.js → p-checkbox_2.cjs.entry.js} +22 -167
- package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +10 -9
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +528 -0
- package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -0
- package/dist/cjs/p-field_2.cjs.entry.js +17 -5
- package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +121 -16
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +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-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination.cjs.entry.js +70 -0
- package/dist/cjs/p-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +9 -8
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +8 -18
- package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/assets/icons/extra/checkmark-thick.svg +10 -0
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +2 -2
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card-body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card-container/card-container.component.js +1 -1
- package/dist/collection/components/atoms/card-header/card-header.component.js +2 -2
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +6 -16
- package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
- package/dist/collection/components/atoms/counter/counter.component.js +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +1 -1
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +29 -8
- 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.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +37 -6
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +171 -4
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +180 -3
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.css +1 -0
- package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js +173 -0
- package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js.map +1 -0
- package/dist/collection/components/atoms/portal/portal.component.js +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -3
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
- package/dist/collection/components/atoms/status/status.component.js +3 -3
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +7 -17
- package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/molecules/button/button.component.js +5 -5
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +33 -5
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field.component.js +18 -6
- package/dist/collection/components/molecules/field/field.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 +4 -4
- package/dist/collection/components/molecules/label/label.component.js +4 -4
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +136 -169
- package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.css +1 -0
- package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +321 -0
- package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js.map +1 -0
- package/dist/collection/components/molecules/pagination-size/constants.js.map +1 -0
- package/dist/collection/components/molecules/pagination-size/pagination-size.component.css +1 -0
- package/dist/collection/components/molecules/{page-size-select/page-size-select.component.js → pagination-size/pagination-size.component.js} +44 -76
- package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -0
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +3 -3
- 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.css +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +4 -4
- package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
- package/dist/collection/components/molecules/toast/toast.component.js +2 -2
- package/dist/collection/components/organisms/drawer/drawer.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.css +1 -1
- package/dist/collection/components/organisms/table/table.component.js +9 -8
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/utils/icons.js +6 -0
- package/dist/collection/utils/icons.js.map +1 -1
- package/dist/components/avatar.component.js +1 -1
- package/dist/components/backdrop.component.js +2 -2
- package/dist/components/badge.component.js +1 -1
- package/dist/components/button.component.js +4 -4
- package/dist/components/calendar.component.js +1 -1
- package/dist/components/checkbox.component.js +7 -17
- package/dist/components/checkbox.component.js.map +1 -1
- package/dist/components/divider.component.js +1 -1
- package/dist/components/drawer-body.component.js +1 -1
- package/dist/components/drawer-container.component.js +1 -1
- package/dist/components/drawer-header.component.js +1 -1
- package/dist/components/dropdown-menu-container.component.js +11 -9
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +35 -4
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +15 -6
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/field-container.component.js +8 -2
- package/dist/components/field-container.component.js.map +1 -1
- package/dist/components/field.component.js +17 -5
- package/dist/components/field.component.js.map +1 -1
- package/dist/components/floating-menu-container.component.js +66 -6
- package/dist/components/floating-menu-container.component.js.map +1 -1
- package/dist/components/floating-menu-item.component.js +85 -6
- package/dist/components/floating-menu-item.component.js.map +1 -1
- package/dist/components/helper.component.js +9 -3
- package/dist/components/helper.component.js.map +1 -1
- package/dist/components/icons.js +17 -0
- package/dist/components/icons.js.map +1 -1
- package/dist/components/illustration.component.js +1 -1
- package/dist/components/input-error.component.js +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -1
- package/dist/components/navigation-title.component.js +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +4 -4
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +2 -2
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-counter.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +2 -2
- package/dist/components/p-iban-icon.js +1 -1
- package/dist/components/p-icon-deprecated.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-input-group.js +3 -3
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-pagination-pages-item.d.ts +11 -0
- package/dist/components/p-pagination-pages-item.js +8 -0
- package/dist/components/p-pagination-pages-item.js.map +1 -0
- package/dist/components/{p-pagination-item.d.ts → p-pagination-pages.d.ts} +4 -4
- package/dist/components/p-pagination-pages.js +8 -0
- package/dist/components/p-pagination-pages.js.map +1 -0
- package/dist/components/{p-page-size-select.d.ts → p-pagination-size.d.ts} +4 -4
- package/dist/components/p-pagination-size.js +8 -0
- package/dist/components/p-pagination-size.js.map +1 -0
- package/dist/components/p-pagination.js +143 -1
- package/dist/components/p-pagination.js.map +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-status.js +2 -2
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-group.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table.js +15 -14
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +8 -18
- package/dist/components/p-toggle.js.map +1 -1
- package/dist/components/pagination-pages-item.component.js +106 -0
- package/dist/components/pagination-pages-item.component.js.map +1 -0
- package/dist/components/{pagination.component.js → pagination-pages.component.js} +54 -24
- package/dist/components/pagination-pages.component.js.map +1 -0
- package/dist/components/pagination-size.component.js +134 -0
- package/dist/components/pagination-size.component.js.map +1 -0
- package/dist/components/portal.component.js +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-item.component.js +2 -2
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-footer.component.js +9 -9
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/components/table-header.component.js +3 -3
- package/dist/components/table-row.component.js +2 -2
- package/dist/components/tooltip.component.js +4 -4
- package/dist/esm/{constants-3500ea14.js → constants-1dd98b15.js} +1 -1
- package/dist/esm/constants-1dd98b15.js.map +1 -0
- package/dist/esm/{icons-a3270aaf.js → icons-7312d60c.js} +18 -1
- package/dist/esm/icons-7312d60c.js.map +1 -0
- package/dist/esm/index-2ef94580.js +14 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +4 -4
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +2 -2
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +5 -5
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +1 -1
- package/dist/esm/p-card-header.entry.js +2 -2
- package/dist/esm/{p-checkbox_3.entry.js → p-checkbox_2.entry.js} +23 -167
- package/dist/esm/p-checkbox_2.entry.js.map +1 -0
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +3 -3
- package/dist/esm/p-dropdown-menu-container.entry.js +10 -9
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-dropdown-menu-item_4.entry.js +521 -0
- package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -0
- package/dist/esm/p-field_2.entry.js +17 -5
- package/dist/esm/p-field_2.entry.js.map +1 -1
- package/dist/esm/p-floating-menu-container_8.entry.js +122 -17
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
- package/dist/esm/p-helper_2.entry.js +6 -6
- package/dist/esm/p-helper_2.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +1 -1
- package/dist/esm/p-icon-deprecated.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +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-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +4 -4
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination.entry.js +66 -0
- package/dist/esm/p-pagination.entry.js.map +1 -0
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js +1 -1
- package/dist/esm/p-stepper-line.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +9 -8
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +8 -18
- package/dist/esm/p-toggle.entry.js.map +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/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
- package/dist/paperless/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
- package/dist/paperless/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
- package/dist/paperless/p-28dbbce6.entry.js +2 -0
- package/dist/paperless/p-28ee6cd6.entry.js +2 -0
- package/dist/{build/p-b162a142.entry.js → paperless/p-290d04b0.entry.js} +2 -2
- package/dist/paperless/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
- package/dist/{build/p-e5a54d05.entry.js → paperless/p-333f614e.entry.js} +2 -2
- package/dist/paperless/p-37b43ce6.entry.js +2 -0
- package/dist/paperless/p-37b43ce6.entry.js.map +1 -0
- package/dist/paperless/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
- package/dist/{build/p-4baaed44.entry.js → paperless/p-3bd145fd.entry.js} +2 -2
- package/dist/paperless/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
- package/dist/paperless/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
- package/dist/paperless/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
- package/dist/paperless/p-469615ef.entry.js +2 -0
- package/dist/paperless/p-469615ef.entry.js.map +1 -0
- package/dist/paperless/p-489013c7.entry.js +2 -0
- package/dist/paperless/p-489013c7.entry.js.map +1 -0
- package/dist/paperless/p-4f947801.entry.js +2 -0
- package/dist/paperless/p-549b2931.entry.js +2 -0
- package/dist/paperless/p-549b2931.entry.js.map +1 -0
- package/dist/paperless/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
- package/dist/paperless/p-59962e55.entry.js +2 -0
- package/dist/{build/p-3e2708de.entry.js → paperless/p-657c6b98.entry.js} +2 -2
- package/dist/paperless/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
- package/dist/paperless/p-711bb72e.entry.js +2 -0
- package/dist/paperless/p-711bb72e.entry.js.map +1 -0
- package/dist/paperless/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
- package/dist/paperless/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
- package/dist/{build/p-b082e123.js → paperless/p-7ce3ed33.js} +2 -2
- package/dist/paperless/p-7ce3ed33.js.map +1 -0
- package/dist/paperless/{p-da7b6f2c.js → p-83946184.js} +1 -1
- package/dist/paperless/p-83946184.js.map +1 -0
- package/dist/paperless/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
- package/dist/paperless/p-8857d619.entry.js +2 -0
- package/dist/paperless/p-8857d619.entry.js.map +1 -0
- package/dist/paperless/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
- package/dist/paperless/{p-28f44624.entry.js → p-8c8128f9.entry.js} +2 -2
- package/dist/{build/p-cd2cd75f.entry.js → paperless/p-90ad3605.entry.js} +2 -2
- package/dist/paperless/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
- package/dist/paperless/p-99352ae4.entry.js +2 -0
- package/dist/paperless/p-99352ae4.entry.js.map +1 -0
- package/dist/{build/p-0ffb8f53.entry.js → paperless/p-a133d5be.entry.js} +2 -2
- package/dist/paperless/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
- package/dist/paperless/p-c55ee8d6.entry.js +2 -0
- package/dist/paperless/p-c55ee8d6.entry.js.map +1 -0
- package/dist/paperless/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
- package/dist/paperless/p-d48ef748.entry.js +2 -0
- package/dist/paperless/p-d48ef748.entry.js.map +1 -0
- package/dist/{build/p-9406a32e.entry.js → paperless/p-d70fcbe8.entry.js} +2 -2
- package/dist/paperless/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
- package/dist/paperless/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
- package/dist/paperless/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
- package/dist/{build/p-697ed735.entry.js → paperless/p-dc536eb2.entry.js} +2 -2
- package/dist/paperless/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
- package/dist/paperless/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
- package/dist/{build/p-20ea5e27.entry.js → paperless/p-ef42fec9.entry.js} +2 -2
- package/dist/paperless/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
- package/dist/paperless/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
- package/dist/paperless/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
- package/dist/paperless/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
- package/dist/{build/p-f762c735.entry.js → paperless/p-f4cdabb7.entry.js} +2 -2
- package/dist/{build/p-3023e8dc.entry.js → paperless/p-f63feca1.entry.js} +2 -2
- package/dist/paperless/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
- package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +33 -1
- package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +23 -0
- package/dist/types/components/atoms/pagination-pages-item/pagination-pages-item.component.d.ts +19 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +5 -0
- package/dist/types/components/molecules/pagination/pagination.component.d.ts +24 -17
- package/dist/types/components/molecules/pagination-pages/pagination-pages.component.d.ts +40 -0
- package/dist/types/components/molecules/{page-size-select/page-size-select.component.d.ts → pagination-size/pagination-size.component.d.ts} +5 -14
- package/dist/types/components.d.ts +283 -76
- package/dist/types/utils/icons.d.ts +4 -0
- package/hydrate/index.js +592 -233
- package/hydrate/index.mjs +592 -233
- package/package.json +1 -1
- package/dist/assets/i18n/page-size-select.i18n.en.json +0 -4
- package/dist/assets/i18n/page-size-select.i18n.nl.json +0 -4
- package/dist/build/p-03c70942.entry.js +0 -2
- package/dist/build/p-2f613a2a.entry.js +0 -2
- package/dist/build/p-4cef76cf.entry.js +0 -2
- package/dist/build/p-52056fb3.entry.js +0 -2
- package/dist/build/p-52056fb3.entry.js.map +0 -1
- package/dist/build/p-904049ba.entry.js +0 -2
- package/dist/build/p-904049ba.entry.js.map +0 -1
- package/dist/build/p-9593cbb7.entry.js +0 -2
- package/dist/build/p-9593cbb7.entry.js.map +0 -1
- package/dist/build/p-a483eadb.js +0 -2
- package/dist/build/p-b082e123.js.map +0 -1
- package/dist/build/p-c066c38b.entry.js +0 -2
- package/dist/build/p-c066c38b.entry.js.map +0 -1
- package/dist/build/p-cab0361a.entry.js +0 -2
- package/dist/build/p-cab0361a.entry.js.map +0 -1
- package/dist/build/p-d1da42f4.entry.js +0 -2
- package/dist/build/p-d1da42f4.entry.js.map +0 -1
- package/dist/build/p-da7b6f2c.js.map +0 -1
- package/dist/build/p-df228603.entry.js +0 -2
- package/dist/build/p-df228603.entry.js.map +0 -1
- package/dist/build/p-e078f787.entry.js +0 -2
- package/dist/build/p-e77d5ca1.entry.js +0 -2
- package/dist/build/p-e77d5ca1.entry.js.map +0 -1
- package/dist/cjs/constants-f911468d.js.map +0 -1
- package/dist/cjs/icons-10aa18f0.js.map +0 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js.map +0 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +0 -232
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +0 -1
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +0 -1
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +0 -46
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +0 -1
- package/dist/collection/components/molecules/page-size-select/constants.js.map +0 -1
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +0 -1
- package/dist/components/p-page-size-select.js +0 -8
- package/dist/components/p-page-size-select.js.map +0 -1
- package/dist/components/p-pagination-item.js +0 -8
- package/dist/components/p-pagination-item.js.map +0 -1
- package/dist/components/page-size-select.component.js +0 -123
- package/dist/components/page-size-select.component.js.map +0 -1
- package/dist/components/pagination-item.component.js +0 -36
- package/dist/components/pagination-item.component.js.map +0 -1
- package/dist/components/pagination.component.js.map +0 -1
- package/dist/esm/constants-3500ea14.js.map +0 -1
- package/dist/esm/icons-a3270aaf.js.map +0 -1
- package/dist/esm/p-checkbox_3.entry.js.map +0 -1
- package/dist/esm/p-page-size-select_3.entry.js +0 -226
- package/dist/esm/p-page-size-select_3.entry.js.map +0 -1
- package/dist/paperless/p-03c70942.entry.js +0 -2
- package/dist/paperless/p-2f613a2a.entry.js +0 -2
- package/dist/paperless/p-4cef76cf.entry.js +0 -2
- package/dist/paperless/p-52056fb3.entry.js +0 -2
- package/dist/paperless/p-52056fb3.entry.js.map +0 -1
- package/dist/paperless/p-904049ba.entry.js +0 -2
- package/dist/paperless/p-904049ba.entry.js.map +0 -1
- package/dist/paperless/p-9593cbb7.entry.js +0 -2
- package/dist/paperless/p-9593cbb7.entry.js.map +0 -1
- package/dist/paperless/p-b082e123.js.map +0 -1
- package/dist/paperless/p-c066c38b.entry.js +0 -2
- package/dist/paperless/p-c066c38b.entry.js.map +0 -1
- package/dist/paperless/p-cab0361a.entry.js +0 -2
- package/dist/paperless/p-cab0361a.entry.js.map +0 -1
- package/dist/paperless/p-d1da42f4.entry.js +0 -2
- package/dist/paperless/p-d1da42f4.entry.js.map +0 -1
- package/dist/paperless/p-da7b6f2c.js.map +0 -1
- package/dist/paperless/p-df228603.entry.js +0 -2
- package/dist/paperless/p-df228603.entry.js.map +0 -1
- package/dist/paperless/p-e078f787.entry.js +0 -2
- package/dist/paperless/p-e77d5ca1.entry.js +0 -2
- package/dist/paperless/p-e77d5ca1.entry.js.map +0 -1
- package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +0 -7
- /package/dist/build/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
- /package/dist/build/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
- /package/dist/build/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
- /package/dist/build/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
- /package/dist/build/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
- /package/dist/build/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
- /package/dist/build/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
- /package/dist/build/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
- /package/dist/build/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
- /package/dist/build/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
- /package/dist/build/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
- /package/dist/build/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
- /package/dist/build/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
- /package/dist/build/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
- /package/dist/build/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
- /package/dist/build/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
- /package/dist/build/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
- /package/dist/build/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
- /package/dist/build/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
- /package/dist/build/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
- /package/dist/build/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
- /package/dist/build/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
- /package/dist/build/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
- /package/dist/build/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
- /package/dist/build/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
- /package/dist/build/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
- /package/dist/build/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
- /package/dist/build/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
- /package/dist/build/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
- /package/dist/build/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
- /package/dist/build/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
- /package/dist/build/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
- /package/dist/build/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
- /package/dist/build/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
- /package/dist/build/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
- /package/dist/build/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
- /package/dist/build/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
- /package/dist/build/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
- /package/dist/build/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
- /package/dist/build/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
- /package/dist/build/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
- /package/dist/build/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
- /package/dist/build/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
- /package/dist/collection/components/molecules/{page-size-select → pagination-size}/constants.js +0 -0
- /package/dist/paperless/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
- /package/dist/paperless/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
- /package/dist/paperless/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
- /package/dist/paperless/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
- /package/dist/paperless/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
- /package/dist/paperless/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
- /package/dist/paperless/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
- /package/dist/paperless/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
- /package/dist/paperless/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
- /package/dist/paperless/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
- /package/dist/paperless/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
- /package/dist/paperless/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
- /package/dist/paperless/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
- /package/dist/paperless/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
- /package/dist/paperless/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
- /package/dist/paperless/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
- /package/dist/paperless/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
- /package/dist/paperless/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
- /package/dist/paperless/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
- /package/dist/paperless/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
- /package/dist/paperless/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
- /package/dist/paperless/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
- /package/dist/paperless/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
- /package/dist/paperless/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
- /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
- /package/dist/paperless/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
- /package/dist/paperless/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
- /package/dist/paperless/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
- /package/dist/paperless/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
- /package/dist/paperless/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
- /package/dist/paperless/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
- /package/dist/paperless/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
- /package/dist/paperless/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
- /package/dist/paperless/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
- /package/dist/paperless/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
- /package/dist/paperless/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
- /package/dist/paperless/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
- /package/dist/paperless/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
- /package/dist/paperless/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
- /package/dist/paperless/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
- /package/dist/paperless/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
- /package/dist/paperless/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
- /package/dist/types/components/molecules/{page-size-select → pagination-size}/constants.d.ts +0 -0
|
@@ -9,7 +9,7 @@ const floatingUi_dom_esm = require('./floating-ui.dom.esm-ef421825.js');
|
|
|
9
9
|
const childOf = require('./child-of-8fbd3ebe.js');
|
|
10
10
|
require('./clsx-fc789adc.js');
|
|
11
11
|
|
|
12
|
-
const checkboxComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-black-teal-50{--tw-border-opacity:1!important;border-color:rgb(230 234 233/var(--tw-border-opacity,1))!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.drop-shadow-black-teal-10\\%{--tw-drop-shadow:drop-shadow(0px 1px 0px rgba(3,42,36,.1))!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.checked\\:border-black-teal\\/20:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:bg-supportive-lilac:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-supportive-lilac-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.indeterminate\\:border-black-teal\\/20:indeterminate{border-color:rgba(3,42,36,.2)!important}.indeterminate\\:bg-supportive-lilac:indeterminate{--tw-bg-opacity:1!important;background-color:rgb(
|
|
12
|
+
const checkboxComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-black-teal-50{--tw-border-opacity:1!important;border-color:rgb(230 234 233/var(--tw-border-opacity,1))!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.drop-shadow-black-teal-10\\%{--tw-drop-shadow:drop-shadow(0px 1px 0px rgba(3,42,36,.1))!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.checked\\:border-black-teal\\/20:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:bg-supportive-lilac:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-supportive-lilac-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.indeterminate\\:border-black-teal\\/20:indeterminate{border-color:rgba(3,42,36,.2)!important}.indeterminate\\:bg-supportive-lilac-700:indeterminate{--tw-bg-opacity:1!important;background-color:rgb(200 159 255/var(--tw-bg-opacity,1))!important}.indeterminate\\:ring-2:indeterminate{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.indeterminate\\:ring-supportive-lilac-100:indeterminate{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.hover\\:border-black-teal-100:hover{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.hover\\:bg-supportive-lilac-100:hover{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.checked\\:hover\\:border-black-teal\\/20:hover:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:hover\\:bg-supportive-lilac-700:hover:checked{--tw-bg-opacity:1!important;background-color:rgb(200 159 255/var(--tw-bg-opacity,1))!important}.indeterminate\\:hover\\:border-black-teal\\/20:hover:indeterminate{border-color:rgba(3,42,36,.2)!important}.indeterminate\\:hover\\:bg-supportive-lilac:hover:indeterminate{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:flex{display:flex!important}.peer:indeterminate~.peer-indeterminate\\:flex{display:flex!important}";
|
|
13
13
|
const PCheckboxStyle0 = checkboxComponentCss;
|
|
14
14
|
|
|
15
15
|
const checkbox = index$1.cva([
|
|
@@ -25,27 +25,17 @@ const checkbox = index$1.cva([
|
|
|
25
25
|
false: [
|
|
26
26
|
'cursor-pointer shadow-1',
|
|
27
27
|
'bg-white border-black-teal-100',
|
|
28
|
-
'hover:bg-
|
|
28
|
+
'hover:bg-supportive-lilac-100 hover:border-black-teal-100',
|
|
29
29
|
'checked:bg-supportive-lilac checked:border-black-teal/20',
|
|
30
30
|
'checked:ring-2 checked:ring-supportive-lilac-100',
|
|
31
|
-
'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',
|
|
32
|
-
'indeterminate:bg-supportive-lilac indeterminate:border-black-teal/20',
|
|
31
|
+
'checked:hover:bg-supportive-lilac-700 checked:hover:border-black-teal/20',
|
|
32
|
+
'indeterminate:bg-supportive-lilac-700 indeterminate:border-black-teal/20',
|
|
33
33
|
'indeterminate:ring-2 indeterminate:ring-supportive-lilac-100',
|
|
34
34
|
'indeterminate:hover:bg-supportive-lilac indeterminate:hover:border-black-teal/20',
|
|
35
35
|
],
|
|
36
36
|
true: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
-
compoundVariants: [
|
|
40
|
-
{
|
|
41
|
-
disabled: false,
|
|
42
|
-
class: [
|
|
43
|
-
'cursor-pointer shadow-1',
|
|
44
|
-
'bg-white border-black-teal-100',
|
|
45
|
-
'hover:bg-supportive-lilac-100 hover:border-black-teal-100',
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
39
|
});
|
|
50
40
|
const icon = index$1.cva([
|
|
51
41
|
'hidden peer-indeterminate:flex peer-checked:flex',
|
|
@@ -81,12 +71,12 @@ const Checkbox = class {
|
|
|
81
71
|
*/
|
|
82
72
|
indeterminateChange;
|
|
83
73
|
render() {
|
|
84
|
-
return (index.h(index.Host, { key: '
|
|
74
|
+
return (index.h(index.Host, { key: '86e48a4761975d08008dbe80286421f8ace94a14', class: 'p-checkbox' }, index.h("label", { key: '56e3ba1e34c1461046edfa6c236efe1866e4e165', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, index.h("div", { key: 'ff66cb62635b55c344f64fe3b06581e02ff7ea04', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: '5d7f5f220bc733dcd447af518394b88564e35a40', class: checkbox({
|
|
85
75
|
size: this.size,
|
|
86
76
|
disabled: this.disabled,
|
|
87
|
-
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
77
|
+
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), index.h("div", { key: 'e9687793559790686028ff6c0514dfd4a041ced0', class: icon({
|
|
88
78
|
disabled: this.disabled,
|
|
89
|
-
}) }, index.h("p-icon", { key: '
|
|
79
|
+
}) }, index.h("p-icon", { key: '0797f5f8dfcd65840aa0df73fa0b3908961cc0f5', size: this.size, class: 'drop-shadow-black-teal-10%', variant: !!this.indeterminate ? 'minus' : 'checkmarkThick' }))), index.h("slot", { key: '6f038780fb2c1816048533d57e8704f69d0da552' }))));
|
|
90
80
|
}
|
|
91
81
|
_onChange(ev) {
|
|
92
82
|
if (this.disabled) {
|
|
@@ -107,7 +97,7 @@ const Checkbox = class {
|
|
|
107
97
|
};
|
|
108
98
|
Checkbox.style = PCheckboxStyle0;
|
|
109
99
|
|
|
110
|
-
const dropdownComponentCss = "*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}.
|
|
100
|
+
const dropdownComponentCss = "*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}.block{display:block!important}.hidden{display:none!important}";
|
|
111
101
|
const PDropdownStyle0 = dropdownComponentCss;
|
|
112
102
|
|
|
113
103
|
const dropdownContainerClass = index$1.cva(['z-dropdown hidden'], {
|
|
@@ -122,6 +112,7 @@ const Dropdown = class {
|
|
|
122
112
|
constructor(hostRef) {
|
|
123
113
|
index.registerInstance(this, hostRef);
|
|
124
114
|
this.isOpen = index.createEvent(this, "isOpen", 3);
|
|
115
|
+
this.variant = 'default';
|
|
125
116
|
this.placement = 'bottom-start';
|
|
126
117
|
this.offset = 8;
|
|
127
118
|
this.strategy = 'absolute';
|
|
@@ -162,6 +153,7 @@ const Dropdown = class {
|
|
|
162
153
|
}
|
|
163
154
|
componentDidRender() {
|
|
164
155
|
this._checkButtons();
|
|
156
|
+
this._checkItems();
|
|
165
157
|
}
|
|
166
158
|
render() {
|
|
167
159
|
const dropdownContainerProps = {
|
|
@@ -176,12 +168,12 @@ const Dropdown = class {
|
|
|
176
168
|
};
|
|
177
169
|
let dropdownContainer;
|
|
178
170
|
if (this.usePortal) {
|
|
179
|
-
dropdownContainer = (index.h("p-portal", { key: '
|
|
171
|
+
dropdownContainer = (index.h("p-portal", { key: '2ef190e2cd48e5bb2c11ebb14dee78a2f00a10e9', ...dropdownContainerProps }, index.h("p-dropdown-menu-container", { key: '32a25346708daf087c4f63c3f3f8d68e2a3320f9', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, index.h("slot", { key: '165b0919ff2cae9b8f040d972b7fcae245341568', name: 'items' }))));
|
|
180
172
|
}
|
|
181
173
|
else {
|
|
182
|
-
dropdownContainer = (index.h("p-dropdown-menu-container", { key: '
|
|
174
|
+
dropdownContainer = (index.h("p-dropdown-menu-container", { key: '06169533cac303c1ad14f3eedd084120d0bc285d', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, index.h("slot", { key: 'f5e194cb30b783e4eacab149508adff0ed3a298e', name: 'items' })));
|
|
183
175
|
}
|
|
184
|
-
return (index.h(index.Host, { key: '
|
|
176
|
+
return (index.h(index.Host, { key: 'a0a1de42bd08376b659cff117b25c43f417fd36e', class: 'p-dropdown relative' }, index.h("div", { key: 'ed7e4461a36af81c2e3928c9f8b243444782c793', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, index.h("slot", { key: '26dd3a15c60b860c3cfe7dbac3c09976b62242c0', name: 'trigger' })), dropdownContainer));
|
|
185
177
|
}
|
|
186
178
|
_checkButtons(active = false) {
|
|
187
179
|
if (!this.applyChevron) {
|
|
@@ -199,6 +191,12 @@ const Dropdown = class {
|
|
|
199
191
|
button.active = active;
|
|
200
192
|
}
|
|
201
193
|
}
|
|
194
|
+
_checkItems() {
|
|
195
|
+
const items = this._el.querySelectorAll('p-dropdown-menu-item');
|
|
196
|
+
for (let item of [...items]) {
|
|
197
|
+
item.variant = this.variant;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
202
200
|
onShowChange(show) {
|
|
203
201
|
if (!this._loaded) {
|
|
204
202
|
return;
|
|
@@ -254,7 +252,7 @@ const Dropdown = class {
|
|
|
254
252
|
this._cleanup = floatingUi_dom_esm.autoUpdate(this._el, this._menu, () => this._update());
|
|
255
253
|
this._menu.setAttribute('data-show', '');
|
|
256
254
|
this._menu.classList.remove('hidden');
|
|
257
|
-
this._menu.classList.add('
|
|
255
|
+
this._menu.classList.add('block');
|
|
258
256
|
this.isOpen.emit(true);
|
|
259
257
|
this._checkButtons(true);
|
|
260
258
|
}
|
|
@@ -268,7 +266,7 @@ const Dropdown = class {
|
|
|
268
266
|
}
|
|
269
267
|
// Hide the popover
|
|
270
268
|
this._menu.removeAttribute('data-show');
|
|
271
|
-
this._menu.classList.remove('
|
|
269
|
+
this._menu.classList.remove('block');
|
|
272
270
|
this._menu.classList.add('hidden');
|
|
273
271
|
this.isOpen.emit(false);
|
|
274
272
|
this._checkButtons(false);
|
|
@@ -295,150 +293,7 @@ const Dropdown = class {
|
|
|
295
293
|
};
|
|
296
294
|
Dropdown.style = PDropdownStyle0;
|
|
297
295
|
|
|
298
|
-
const dropdownMenuItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.max-w-full{max-width:100%!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-negative-red-50{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-start{text-align:start!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.text-negative-red-100{--tw-text-opacity:1!important;color:rgb(255 221 221/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.hover\\:bg-supportive-lilac-50:hover{--tw-bg-opacity:1!important;background-color:rgb(250 247 255/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}";
|
|
299
|
-
const PDropdownMenuItemStyle0 = dropdownMenuItemComponentCss;
|
|
300
|
-
|
|
301
|
-
const dropdownMenuItem = index$1.cva([
|
|
302
|
-
'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',
|
|
303
|
-
], {
|
|
304
|
-
variants: {
|
|
305
|
-
variant: {
|
|
306
|
-
default: null,
|
|
307
|
-
negative: null,
|
|
308
|
-
},
|
|
309
|
-
active: {
|
|
310
|
-
false: null,
|
|
311
|
-
true: null,
|
|
312
|
-
},
|
|
313
|
-
disabled: {
|
|
314
|
-
false: 'cursor-pointer',
|
|
315
|
-
true: 'cursor-not-allowed',
|
|
316
|
-
},
|
|
317
|
-
enableHover: {
|
|
318
|
-
false: null,
|
|
319
|
-
true: null,
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
compoundVariants: [
|
|
323
|
-
{
|
|
324
|
-
variant: 'default',
|
|
325
|
-
active: false,
|
|
326
|
-
enableHover: true,
|
|
327
|
-
disabled: false,
|
|
328
|
-
class: 'text-black-teal hover:bg-supportive-lilac-50',
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
variant: 'default',
|
|
332
|
-
active: true,
|
|
333
|
-
disabled: false,
|
|
334
|
-
class: 'bg-supportive-lilac-100',
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
variant: 'default',
|
|
338
|
-
disabled: true,
|
|
339
|
-
class: 'text-black-teal-200',
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
variant: 'default',
|
|
343
|
-
disabled: true,
|
|
344
|
-
active: true,
|
|
345
|
-
class: 'bg-supportive-lilac-100',
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
variant: 'negative',
|
|
349
|
-
active: false,
|
|
350
|
-
enableHover: true,
|
|
351
|
-
disabled: false,
|
|
352
|
-
class: 'text-negative-red hover:bg-negative-red-50',
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
variant: 'negative',
|
|
356
|
-
active: true,
|
|
357
|
-
disabled: false,
|
|
358
|
-
class: 'bg-negative-red-100 text-negative-red',
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
variant: 'negative',
|
|
362
|
-
disabled: true,
|
|
363
|
-
class: 'text-negative-red-100',
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
variant: 'negative',
|
|
367
|
-
disabled: true,
|
|
368
|
-
active: true,
|
|
369
|
-
class: 'bg-negative-red-50',
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
enableHover: true,
|
|
373
|
-
disabled: false,
|
|
374
|
-
class: 'cursor-pointer',
|
|
375
|
-
},
|
|
376
|
-
],
|
|
377
|
-
});
|
|
378
|
-
const dropdownMenuItemIcon = index$1.cva(['text-base'], {
|
|
379
|
-
variants: {
|
|
380
|
-
variant: {
|
|
381
|
-
default: null,
|
|
382
|
-
negative: null,
|
|
383
|
-
},
|
|
384
|
-
active: {
|
|
385
|
-
false: null,
|
|
386
|
-
true: null,
|
|
387
|
-
},
|
|
388
|
-
disabled: {
|
|
389
|
-
false: null,
|
|
390
|
-
true: 'text-black-teal-100',
|
|
391
|
-
},
|
|
392
|
-
},
|
|
393
|
-
compoundVariants: [
|
|
394
|
-
{
|
|
395
|
-
variant: 'default',
|
|
396
|
-
active: false,
|
|
397
|
-
disabled: false,
|
|
398
|
-
class: 'text-black-teal-300 group-hover:text-black-teal',
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
variant: 'negative',
|
|
402
|
-
active: false,
|
|
403
|
-
disabled: false,
|
|
404
|
-
class: 'text-negative-red group-hover:text-negative-red-800',
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
variant: 'negative',
|
|
408
|
-
active: true,
|
|
409
|
-
disabled: false,
|
|
410
|
-
class: 'text-negative-red-800',
|
|
411
|
-
},
|
|
412
|
-
],
|
|
413
|
-
});
|
|
414
|
-
const DropdownMenuItem = class {
|
|
415
|
-
constructor(hostRef) {
|
|
416
|
-
index.registerInstance(this, hostRef);
|
|
417
|
-
this.active = false;
|
|
418
|
-
this.checkbox = false;
|
|
419
|
-
this.variant = 'default';
|
|
420
|
-
this.enableHover = true;
|
|
421
|
-
this.disabled = false;
|
|
422
|
-
this.icon = undefined;
|
|
423
|
-
this.useContainer = true;
|
|
424
|
-
}
|
|
425
|
-
render() {
|
|
426
|
-
return (index.h(index.Host, { key: '08d46e7573279d9cc222d1209d14b1488d70ff5e', class: dropdownMenuItem({
|
|
427
|
-
variant: this.variant,
|
|
428
|
-
active: this.active,
|
|
429
|
-
enableHover: this.enableHover,
|
|
430
|
-
disabled: this.disabled,
|
|
431
|
-
}) }, this.icon && (index.h("p-icon", { key: '56cf5ed28c52cc447db03bd1776d11bb23538197', class: dropdownMenuItemIcon({
|
|
432
|
-
variant: this.variant,
|
|
433
|
-
active: this.active,
|
|
434
|
-
disabled: this.disabled,
|
|
435
|
-
}), variant: this.icon })), this.checkbox && (index.h("p-checkbox", { key: 'db105260f7c292a11a8b4cbec38bddef960bf8bf', size: 'sm', checked: this.active, disabled: this.disabled })), this.useContainer ? (index.h("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, index.h("slot", null))) : (index.h("slot", null))));
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
DropdownMenuItem.style = PDropdownMenuItemStyle0;
|
|
439
|
-
|
|
440
296
|
exports.p_checkbox = Checkbox;
|
|
441
297
|
exports.p_dropdown = Dropdown;
|
|
442
|
-
exports.p_dropdown_menu_item = DropdownMenuItem;
|
|
443
298
|
|
|
444
|
-
//# sourceMappingURL=p-
|
|
299
|
+
//# sourceMappingURL=p-checkbox_2.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-checkbox.p-dropdown.entry.cjs.js","mappings":";;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,0lKAA0lK,CAAC;AACxnK,wBAAe,oBAAoB;;ACWnC,MAAM,QAAQ,GAAGA,WAAG,CACnB;IACC,qDAAqD;IACrD,mCAAmC;CACnC,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,oBAAoB;SAC1B;QACD,QAAQ,EAAE;YACT,KAAK,EAAE;gBACN,yBAAyB;gBACzB,gCAAgC;gBAChC,2DAA2D;gBAC3D,0DAA0D;gBAC1D,kDAAkD;gBAClD,0EAA0E;gBAC1E,0EAA0E;gBAC1E,8DAA8D;gBAC9D,kFAAkF;aAClF;YACD,IAAI,EAAE,uDAAuD;SAC7D;KACD;CACD,CACD,CAAC;AAEF,MAAM,IAAI,GAAGA,WAAG,CACf;IACC,kDAAkD;IAClD,2FAA2F;CAC3F,EACD;IACC,QAAQ,EAAE;QACT,QAAQ,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,qBAAqB;SAC3B;KACD;CACD,CAC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C,QAAQ;YACvB,UAAU,EAAE,CAACC,yBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAEC,uBAAI,EAAE,EAAEC,wBAAK,EAAE,CAAC;SAClD,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE;YAC3B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;YACzC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;gBAC/B,GAAG,EAAE,GAAG,CAAC,IAAI;gBACb,IAAI,EAAE,GAAG,CAAC,IAAI;aACd,CAAC,CAAC;SACH,CAAC,CAAC;KACH;;;;;;;;;;","names":["cva","nonce","h","Host","childOf","autoUpdate","computePosition","offset","flip","shift"],"sources":["src/components/atoms/checkbox/checkbox.component.css?tag=p-checkbox","src/components/atoms/checkbox/checkbox.component.tsx","src/components/molecules/dropdown/dropdown.component.css?tag=p-dropdown","src/components/molecules/dropdown/dropdown.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { nonce } from '../../../utils/nonce';\n\nconst checkbox = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'border border-inset border-solid ',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'rounded w-4 h-4',\n\t\t\t\tbase: 'rounded-lg w-6 h-6',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportive-lilac-100 hover:border-black-teal-100',\n\t\t\t\t\t'checked:bg-supportive-lilac checked:border-black-teal/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-supportive-lilac-100',\n\t\t\t\t\t'checked:hover:bg-supportive-lilac-700 checked:hover:border-black-teal/20',\n\t\t\t\t\t'indeterminate:bg-supportive-lilac-700 indeterminate:border-black-teal/20',\n\t\t\t\t\t'indeterminate:ring-2 indeterminate:ring-supportive-lilac-100',\n\t\t\t\t\t'indeterminate:hover:bg-supportive-lilac indeterminate:hover:border-black-teal/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst icon = cva(\n\t[\n\t\t'hidden peer-indeterminate:flex peer-checked:flex',\n\t\t'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: 'text-white',\n\t\t\t\ttrue: 'text-black-teal-200',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-checkbox',\n\tstyleUrl: 'checkbox.component.css',\n})\nexport class Checkbox {\n\t/**\n\t * Wether the checkbox is checked\n\t */\n\t@Prop() checked: boolean;\n\n\t/**\n\t * Wether the checkbox is in indeterminate state\n\t */\n\t@Prop() indeterminate: boolean;\n\n\t/**\n\t * The size of the checkbox\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * Wether the checkbox is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the checkbox is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the checkbox button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the checkbox button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\t/**\n\t * Event whenever the indeterminate changes\n\t */\n\t@Event() indeterminateChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-checkbox'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id ?? this._nonce}\n\t\t\t\t\tclass='flex items-center justify-start gap-2 text-black-teal'\n\t\t\t\t>\n\t\t\t\t\t<div class='relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={checkbox({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\t\tid={this.id ?? this._nonce}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tchecked={!!this.checked}\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={icon({\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\tclass='drop-shadow-black-teal-10%'\n\t\t\t\t\t\t\t\tvariant={!!this.indeterminate ? 'minus' : 'checkmarkThick'}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tconst indeterminate = (ev.target as HTMLInputElement).indeterminate;\n\n\t\tif (checked != this.checked) {\n\t\t\tthis.checked = checked;\n\t\t\tthis.checkedChange.emit(checked);\n\t\t}\n\n\t\tif (indeterminate != this.indeterminate) {\n\t\t\tthis.indeterminate = indeterminate;\n\t\t\tthis.indeterminateChange.emit(indeterminate);\n\t\t}\n\t}\n}\n","","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainerClass = cva(['z-dropdown hidden'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.css',\n})\nexport class Dropdown {\n\t/**\n\t * The variant of the dropdown\n\t */\n\t@Prop() variant: 'default' | 'dark-teal' = 'default';\n\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the dropdown container\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButtons();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\tthis._menu.remove();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis._checkButtons();\n\t\tthis._checkItems();\n\t}\n\n\trender() {\n\t\tconst dropdownContainerProps = {\n\t\t\tclass: dropdownContainerClass({\n\t\t\t\tstrategy: this.strategy,\n\t\t\t}),\n\t\t\tref: el => this._load(el),\n\t\t\tonClick: () => this._containerClickHandler(),\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\t'data-strategy': this.strategy,\n\t\t};\n\n\t\tlet dropdownContainer: HTMLElement;\n\n\t\tif (this.usePortal) {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-portal {...dropdownContainerProps}>\n\t\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name='items' />\n\t\t\t\t\t</p-dropdown-menu-container>\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t{...dropdownContainerProps}\n\t\t\t\t>\n\t\t\t\t\t<slot name='items' />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='trigger'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t{dropdownContainer}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButtons(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>(\n\t\t\t'p-button[slot=\"trigger\"]'\n\t\t);\n\n\t\tfor (let button of [...buttons]) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\tprivate _checkItems() {\n\t\tconst items = this._el.querySelectorAll<HTMLPDropdownMenuItemElement>(\n\t\t\t'p-dropdown-menu-item'\n\t\t);\n\n\t\tfor (let item of [...items]) {\n\t\t\titem.variant = this.variant;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis._menu.classList.remove('hidden');\n\t\tthis._menu.classList.add('block');\n\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButtons(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._menu.removeAttribute('data-show');\n\t\tthis._menu.classList.remove('block');\n\t\tthis._menu.classList.add('hidden');\n\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButtons(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n"],"version":3}
|
|
@@ -45,9 +45,9 @@ const ContentSlider = class {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: '8eb11bf3cc0a423f409e4be422bc6317da9781d3', class: "p-content-slider" }, index.h("div", { key: 'f8f2b83337877d30e99288c5dfe39fdd3c0d4836', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
49
49
|
height: `${this._outerHeight}px`,
|
|
50
|
-
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, index.h("div", { key: '
|
|
50
|
+
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, index.h("div", { key: 'a59469a94a13cca80542a65bed22c404b99b3ecb', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, index.h("slot", { key: '5e00f801555b5df3b9246854d59ed1876286ebe5' }))), index.h("div", { key: '01cf555792aca6f36bec72acf123b0e398901cd6', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (index.h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, index.h("p-slider-indicator", { active: i === this._visibleIndex })))))));
|
|
51
51
|
}
|
|
52
52
|
_mouseDownHandler(e) {
|
|
53
53
|
if (this.disableDrag || this._dragging) {
|
|
@@ -14,7 +14,7 @@ const Counter = class {
|
|
|
14
14
|
this.size = 'default';
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: '0bcd879c285b9494e03599c77a0015519d7541db', class: `p-counter variant-${this.variant} size-${this.size}` }, index.h("slot", { key: '60cb85332859453927489da13981084db3cffd8d' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
Counter.style = PCounterStyle0;
|
|
@@ -2842,10 +2842,10 @@ const Cropper = class {
|
|
|
2842
2842
|
}, 200);
|
|
2843
2843
|
}
|
|
2844
2844
|
render() {
|
|
2845
|
-
return (index.h(index.Host, { key: '
|
|
2845
|
+
return (index.h(index.Host, { key: 'c7ca3f48d21b7925b17f42ef5efeb66ceb814884', class: 'p-cropper' }, this._loaded && (index.h("cropper-canvas", { key: 'adf2a4302c2c7170924c5b433b8841964360f3ea', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, index.h("cropper-image", { key: 'd74a8a67b80699f6ffc16bb69ff55728bada0528', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), index.h("cropper-shade", { key: '6a5b34376058b7e086e3061c5473da98f7ef64e9', class: clsx.clsx({
|
|
2846
2846
|
'rounded-round': this.variant === 'user',
|
|
2847
2847
|
rounded: this.variant === 'company',
|
|
2848
|
-
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), index.h("cropper-selection", { key: '
|
|
2848
|
+
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), index.h("cropper-selection", { key: '0f9d377be79c0077dfa219f129cc063d9ab50356', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), index.h("cropper-handle", { key: 'a58b78d26eb5ef59af523d9a656b96353d35011d', action: 'move', plain: true }))), index.h("div", { key: 'b3875252e85fa6c03f3b37b506a2671d08716046', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, index.h("p-icon", { key: 'ee09baf9f32e2740e7edab92b52a36c7d1ea34a3', variant: 'minus' }), index.h("input", { key: 'f02aeb58fec43835d116750c919bc320d5c55bbf', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), index.h("p-icon", { key: '653559c8eaeaa0ae0a677d1c3756b1439e45fcd9', variant: 'plus' }))));
|
|
2849
2849
|
}
|
|
2850
2850
|
_setImageRef(ref) {
|
|
2851
2851
|
if (this._imageRef) {
|
|
@@ -2998,9 +2998,9 @@ const Datepicker = class {
|
|
|
2998
2998
|
this.parseValue(this.value);
|
|
2999
2999
|
}
|
|
3000
3000
|
render() {
|
|
3001
|
-
return (index$1.h(index$1.Host, { key: '
|
|
3001
|
+
return (index$1.h(index$1.Host, { key: '53cefbcd435b31a304c14bcdf254981992f0300a', class: 'p-datepicker' }, index$1.h("p-dropdown", { key: 'd76542b017edc53f22a438d5258d7af31f58554a', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, index$1.h("p-field", { key: '610e312ff7b0cfe15b9181e10cb4e6e1eedb0020', 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 && (index$1.h("input", { key: '13223eded6fa5a099413ce69c12b2a5e6bc18b76', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
|
|
3002
3002
|
,
|
|
3003
|
-
onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && index.format(this._value, 'yyyy-MM-dd'), min: this.minDate && index.format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && index.format(new Date(this.maxDate), 'yyyy-MM-dd') })), index$1.h("div", { key: '
|
|
3003
|
+
onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && index.format(this._value, 'yyyy-MM-dd'), min: this.minDate && index.format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && index.format(new Date(this.maxDate), 'yyyy-MM-dd') })), index$1.h("div", { key: 'e9e200360461dc61f401c4bea89714a70964b6a5', slot: 'items' }, index$1.h("p-calendar", { key: '47460a7acb1369d29b325bb92f9d464f2504905e', 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 })))));
|
|
3004
3004
|
}
|
|
3005
3005
|
documentClickHandler({ target }) {
|
|
3006
3006
|
if (!this._showDropdown || childOf.childOf(target, this._el)) {
|
|
@@ -15,7 +15,7 @@ const Divider = class {
|
|
|
15
15
|
get _el() { return index.getElement(this); }
|
|
16
16
|
render() {
|
|
17
17
|
const hasSlotted = !!this._el.innerHTML?.length;
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '2f5ece00b30f0983d8b45790bf5e3b80f20b639e', class: 'p-divider' }, index.h("div", { key: '51f28368c170afb7bf5cf427bc60c78ba87c3a9f', class: 'content' }, index.h("div", { key: '9afa0cb9998e81a3c4f42165ed358031b6808d19', class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, index.h("slot", { key: '38434b8c2007d97e13eeb487a7af10bbb107945e' })))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
Divider.style = PDividerStyle0;
|
|
@@ -13,7 +13,7 @@ const ModalBody = class {
|
|
|
13
13
|
this.variant = 'default';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h(index.Host, { key: '
|
|
16
|
+
return (index.h(index.Host, { key: 'e5d1cb239fcdf768cbee8d8e2535f96c3986ee39', class: `p-drawer-body variant-${this.variant}` }, index.h("slot", { key: 'fdd6be1de819accb8e62ad9d0379110782b2d41f' })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
ModalBody.style = PDrawerBodyStyle0;
|
|
@@ -27,7 +27,7 @@ const ModalContainer = class {
|
|
|
27
27
|
this.closing = false;
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: '1e83da125ac254f3f929492411f899504ede61b9', class: `p-drawer-container ${this.closing && 'closing'}` }, index.h("slot", { key: '5bbf994ddb8f3426dba93c28439d6ff7d913680d' })));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
ModalContainer.style = PDrawerContainerStyle0;
|
|
@@ -46,7 +46,7 @@ const ModalHeader = class {
|
|
|
46
46
|
*/
|
|
47
47
|
close;
|
|
48
48
|
render() {
|
|
49
|
-
return (index.h(index.Host, { key: '
|
|
49
|
+
return (index.h(index.Host, { key: '52848fc893686c0e7e85e8b3d6cbe9731dfb03c8', class: 'p-drawer-header' }, this.showClose && (index.h("p-button", { key: 'ce2841335f8e03516a27996a60cd50cc4f747ffe', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), index.h("slot", { key: '83f78bbf3fac9eca7755526e3f1c10f0bad8faac' })));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
ModalHeader.style = PDrawerHeaderStyle0;
|
|
@@ -6,16 +6,15 @@ const index = require('./index-3f9bbc0c.js');
|
|
|
6
6
|
const index$1 = require('./index-b556e70f.js');
|
|
7
7
|
require('./clsx-fc789adc.js');
|
|
8
8
|
|
|
9
|
-
const dropdownMenuContainerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.z-10{z-index:10!important}.flex{display:flex!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.max-w-\\[13\\.875rem\\]{max-width:13.875rem!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important
|
|
9
|
+
const dropdownMenuContainerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.z-10{z-index:10!important}.flex{display:flex!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.max-w-\\[13\\.875rem\\]{max-width:13.875rem!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-dark-teal-600{--tw-border-opacity:1!important;border-color:rgb(0 72 64/var(--tw-border-opacity,1))!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.drop-shadow-2,.drop-shadow-3{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}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important}";
|
|
10
10
|
const PDropdownMenuContainerStyle0 = dropdownMenuContainerComponentCss;
|
|
11
11
|
|
|
12
|
-
const dropdownMenuContainer = index$1.cva([
|
|
13
|
-
'p-dropdown-menu-container',
|
|
14
|
-
'p-1',
|
|
15
|
-
'bg-white rounded-lg z-10 drop-shadow-2',
|
|
16
|
-
'border border-black-teal-100',
|
|
17
|
-
], {
|
|
12
|
+
const dropdownMenuContainer = index$1.cva(['p-dropdown-menu-container', 'p-1', 'rounded-lg z-10', 'border'], {
|
|
18
13
|
variants: {
|
|
14
|
+
variant: {
|
|
15
|
+
default: 'bg-white border-black-teal-100 drop-shadow-2',
|
|
16
|
+
'dark-teal': 'bg-dark-teal-600 drop-shadow-3 border-dark-teal-600',
|
|
17
|
+
},
|
|
19
18
|
fullWidth: {
|
|
20
19
|
false: null,
|
|
21
20
|
true: 'w-full',
|
|
@@ -39,6 +38,7 @@ const dropdownMenuContainer = index$1.cva([
|
|
|
39
38
|
const DropdownMenuContainer = class {
|
|
40
39
|
constructor(hostRef) {
|
|
41
40
|
index.registerInstance(this, hostRef);
|
|
41
|
+
this.variant = 'default';
|
|
42
42
|
this.maxWidth = true;
|
|
43
43
|
this.class = undefined;
|
|
44
44
|
this.fullWidth = true;
|
|
@@ -51,13 +51,14 @@ const DropdownMenuContainer = class {
|
|
|
51
51
|
: this.scrollable === true
|
|
52
52
|
? 'default'
|
|
53
53
|
: this.scrollable;
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: '04e1181dd9274ed1668002ddf4f63e4739cf5282', class: dropdownMenuContainer({
|
|
55
55
|
class: this.class,
|
|
56
|
+
variant: this.variant,
|
|
56
57
|
fullWidth: this.fullWidth,
|
|
57
58
|
allowOverflow: this.allowOverflow,
|
|
58
59
|
scrollable,
|
|
59
60
|
maxWidth: this.maxWidth,
|
|
60
|
-
}) }, index.h("div", { key: '
|
|
61
|
+
}) }, index.h("div", { key: 'a8c270e32fd7b89953e923e99574d561e3bfdb21', class: 'flex w-full flex-col gap-[1px]' }, index.h("slot", { key: '520a112ce75a4dad3fafbbe233db1b87344bf480' }))));
|
|
61
62
|
}
|
|
62
63
|
};
|
|
63
64
|
DropdownMenuContainer.style = PDropdownMenuContainerStyle0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-dropdown-menu-container.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,iCAAiC,GAAG,
|
|
1
|
+
{"file":"p-dropdown-menu-container.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,iCAAiC,GAAG,2mDAA2mD,CAAC;AACtpD,qCAAe,iCAAiC;;ACEhD,MAAM,qBAAqB,GAAGA,WAAG,CAChC,CAAC,2BAA2B,EAAE,KAAK,EAAE,iBAAiB,EAAE,QAAQ,CAAC,EACjE;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,8CAA8C;YACvD,WAAW,EAAE,qDAAqD;SAClE;QACD,SAAS,EAAE;YACV,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,QAAQ;SACd;QACD,aAAa,EAAE;YACd,KAAK,EAAE,mCAAmC;YAC1C,IAAI,EAAE,IAAI;SACV;QACD,UAAU,EAAE;YACX,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,iBAAiB;YAC1B,KAAK,EAAE,mBAAmB;YAC1B,MAAM,EAAE,eAAe;SACvB;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,0BAA0B;SAChC;KACD;CACD,CACD,CAAC;MAMW,qBAAqB;;;uBAIU,SAAS;wBAKxB,IAAI;;yBAUH,IAAI;6BAKA,KAAK;0BAKyB,KAAK;;IAEpE,MAAM;QACL,MAAM,UAAU,GACf,IAAI,CAAC,UAAU,KAAK,KAAK;cACtB,MAAM;cACN,IAAI,CAAC,UAAU,KAAK,IAAI;kBACxB,SAAS;kBACT,IAAI,CAAC,UAAU,CAAC;QAEpB,QACCC,QAACC,UAAI,qDACJ,KAAK,EAAE,qBAAqB,CAAC;gBAC5B,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,SAAS,EAAE,IAAI,CAAC,SAAS;gBACzB,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU;gBACV,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,IAEFD,kEAAK,KAAK,EAAC,gCAAgC,IAC1CA,oEAAQ,CACH,CACA,EACN;KACF;;;;;;","names":["cva","h","Host"],"sources":["src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css?tag=p-dropdown-menu-container","src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuContainer = cva(\n\t['p-dropdown-menu-container', 'p-1', 'rounded-lg z-10', 'border'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-white border-black-teal-100 drop-shadow-2',\n\t\t\t\t'dark-teal': 'bg-dark-teal-600 drop-shadow-3 border-dark-teal-600',\n\t\t\t},\n\t\t\tfullWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-full',\n\t\t\t},\n\t\t\tallowOverflow: {\n\t\t\t\tfalse: 'overflow-y-auto overflow-x-hidden',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tscrollable: {\n\t\t\t\tnone: null,\n\t\t\t\tdefault: 'max-h-[11.5rem]',\n\t\t\t\tlarge: 'max-h-[13.875rem]',\n\t\t\t\txlarge: 'max-h-[20rem]',\n\t\t\t},\n\t\t\tmaxWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-auto max-w-[13.875rem]',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-dropdown-menu-container',\n\tstyleUrl: 'dropdown-menu-container.component.css',\n})\nexport class DropdownMenuContainer {\n\t/**\n\t * The variant of the container\n\t */\n\t@Prop() variant: 'default' | 'dark-teal' = 'default';\n\n\t/**\n\t * Wether the container applies it's max width\n\t */\n\t@Prop() maxWidth: boolean = true;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Wether the container should all available space\n\t */\n\t@Prop() fullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' | 'xlarge' = false;\n\n\trender() {\n\t\tconst scrollable =\n\t\t\tthis.scrollable === false\n\t\t\t\t? 'none'\n\t\t\t\t: this.scrollable === true\n\t\t\t\t? 'default'\n\t\t\t\t: this.scrollable;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuContainer({\n\t\t\t\t\tclass: this.class,\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tfullWidth: this.fullWidth,\n\t\t\t\t\tallowOverflow: this.allowOverflow,\n\t\t\t\t\tscrollable,\n\t\t\t\t\tmaxWidth: this.maxWidth,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div class='flex w-full flex-col gap-[1px]'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|