@paperless/core 2.22.0-alpha.23 → 2.22.0-alpha.25
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/dist/build/index.esm.js +1 -1
- package/dist/build/p-0305046c.entry.js +1 -0
- package/dist/build/{p-993bf657.entry.js → p-0898e57b.entry.js} +1 -1
- package/dist/build/p-099a4c60.entry.js +1 -0
- package/dist/build/{p-4fde72a3.entry.js → p-0c094c99.entry.js} +1 -1
- package/dist/build/{p-3cea628d.entry.js → p-0eb7a6e4.entry.js} +1 -1
- package/dist/build/p-14a2caa3.entry.js +1 -0
- package/dist/build/{p-425a3a05.entry.js → p-1ce28114.entry.js} +1 -1
- package/dist/build/p-2509308d.entry.js +1 -0
- package/dist/build/p-389f92f8.entry.js +1 -0
- package/dist/{paperless/p-79fe6a2f.entry.js → build/p-400ae3ad.entry.js} +1 -1
- package/dist/{paperless/p-6ff7e89b.entry.js → build/p-4793863e.entry.js} +1 -1
- package/dist/build/{p-d36ebc95.entry.js → p-4ad6dd58.entry.js} +1 -1
- package/dist/build/p-4d456377.entry.js +1 -0
- package/dist/build/{p-4dfa0a37.entry.js → p-4f068009.entry.js} +1 -1
- package/dist/build/p-6115ce1e.js +1 -0
- package/dist/{paperless/p-6577db68.entry.js → build/p-62c4c7d7.entry.js} +1 -1
- package/dist/build/p-6ff8d21c.entry.js +1 -0
- package/dist/build/{p-e8729580.entry.js → p-7ae963de.entry.js} +1 -1
- package/dist/build/p-846f47bd.entry.js +1 -0
- package/dist/build/{p-3430af7f.entry.js → p-870a63fb.entry.js} +1 -1
- package/dist/build/p-8bd7c93a.entry.js +1 -0
- package/dist/{paperless/p-e9582485.entry.js → build/p-8d0c1f36.entry.js} +1 -1
- package/dist/build/{p-c0cec615.entry.js → p-8ed529ba.entry.js} +1 -1
- package/dist/build/{p-530d8958.entry.js → p-92bbdecc.entry.js} +1 -1
- package/dist/build/{p-62555ccd.entry.js → p-93bbde98.entry.js} +1 -1
- package/dist/build/p-958c8a2c.entry.js +1 -0
- package/dist/build/{p-71e02082.entry.js → p-9a49375d.entry.js} +1 -1
- package/dist/build/{p-CrdJDtHg.js → p-CLLU0oUD.js} +1 -1
- package/dist/build/p-CWO2YJCh.js +1 -0
- package/dist/build/p-CXVK8SLW.js +1 -0
- package/dist/build/p-CwQG70_4.js +1 -0
- package/dist/build/{p-BTx_Jfhh.js → p-DE-sstf_.js} +1 -1
- package/dist/build/p-DPc49L2n.js +1 -0
- package/dist/build/p-DzdX_Z5B.js +1 -0
- package/dist/build/p-V194S7Dm.js +1 -0
- package/dist/{paperless/p-cd525c37.entry.js → build/p-a23a90d6.entry.js} +1 -1
- package/dist/build/{p-3c806e0f.entry.js → p-a4109895.entry.js} +1 -1
- package/dist/build/p-ad468b70.entry.js +1 -0
- package/dist/build/p-af320255.entry.js +1 -0
- package/dist/build/p-b2248597.entry.js +1 -0
- package/dist/{paperless/p-abda244c.entry.js → build/p-b37d0053.entry.js} +1 -1
- package/dist/{paperless/p-f0165e95.entry.js → build/p-bfb06294.entry.js} +1 -1
- package/dist/{paperless/p-5d60b2c6.entry.js → build/p-c7835f10.entry.js} +1 -1
- package/dist/build/{p-1c6969ee.entry.js → p-cfe81f27.entry.js} +1 -1
- package/dist/build/p-d0d0a314.entry.js +1 -0
- package/dist/build/p-d38642c4.entry.js +1 -0
- package/dist/build/p-e30abf73.entry.js +1 -0
- package/dist/build/{p-cacd9fe0.entry.js → p-e6222abf.entry.js} +1 -1
- package/dist/build/p-e9d2bdd6.entry.js +1 -0
- package/dist/build/p-f1f160c0.entry.js +1 -0
- package/dist/build/{p-1e7e0082.entry.js → p-f3daeb8f.entry.js} +1 -1
- package/dist/build/{p-4cd0eb6f.entry.js → p-f8d8d142.entry.js} +1 -1
- package/dist/build/p-f9c9004b.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{child-of-CdM-uMiH.js → child-of-CvEcBEYZ.js} +1 -3
- package/dist/cjs/index-CEv7WAQX.js +0 -4
- package/dist/cjs/index.cjs.js +487 -492
- package/dist/cjs/is-mobile-browser-CscfWENw.js +17 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-CGd_fklS.js → localization-CTvpcGDo.js} +15 -20
- package/dist/cjs/object-get-by-path-CxU4WbZu.js +14 -0
- package/dist/cjs/p-accordion.cjs.entry.js +4 -4
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- 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 +5 -5
- package/dist/cjs/p-badge_3.cjs.entry.js +7 -7
- package/dist/cjs/p-button-group.cjs.entry.js +4 -2
- package/dist/cjs/p-button_3.cjs.entry.js +12 -10
- package/dist/cjs/p-calendar.cjs.entry.js +16 -16
- package/dist/cjs/p-card-body.cjs.entry.js +3 -3
- package/dist/cjs/p-card-container.cjs.entry.js +4 -4
- package/dist/cjs/p-card-header.cjs.entry.js +5 -5
- package/dist/cjs/p-checkbox_3.cjs.entry.js +30 -30
- package/dist/cjs/p-content-slider.cjs.entry.js +7 -7
- package/dist/cjs/p-cropper.cjs.entry.js +3 -2802
- package/dist/cjs/p-datepicker.cjs.entry.js +7 -7
- package/dist/cjs/p-divider.cjs.entry.js +4 -4
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +6 -6
- package/dist/cjs/p-drawer.cjs.entry.js +4 -6
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +8 -8
- package/dist/cjs/p-empty-state_8.cjs.entry.js +57 -58
- package/dist/cjs/p-field_3.cjs.entry.js +16 -16
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/p-iban-icon.cjs.entry.js +16 -8
- package/dist/cjs/p-illustration.cjs.entry.js +19 -19
- package/dist/cjs/p-info-panel.cjs.entry.js +4 -4
- package/dist/cjs/p-label.cjs.entry.js +5 -5
- package/dist/cjs/p-listing-item.cjs.entry.js +3 -3
- package/dist/cjs/p-listing-line.cjs.entry.js +3 -3
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +8 -8
- package/dist/cjs/p-navbar.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/p-navigation-section.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-title.cjs.entry.js +3 -3
- package/dist/cjs/p-pagination_3.cjs.entry.js +23 -23
- package/dist/cjs/p-profile.cjs.entry.js +3 -3
- package/dist/cjs/p-radio.cjs.entry.js +6 -6
- package/dist/cjs/p-range.cjs.entry.js +6 -6
- package/dist/cjs/p-select.cjs.entry.js +13 -13
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +7 -7
- package/dist/cjs/p-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/p-table-extra-header.cjs.entry.js +2 -2
- package/dist/cjs/p-table.cjs.entry.js +20 -25
- package/dist/cjs/p-toast.cjs.entry.js +3 -3
- package/dist/cjs/p-toggle.cjs.entry.js +7 -7
- package/dist/cjs/p-tooltip.cjs.entry.js +11 -11
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{screens-h1MTJhCu.js → screens-AithmFZ8.js} +3 -5
- package/dist/cjs/{state-D7r6WlSp.js → state-C0PIGTfM.js} +6 -4
- package/dist/cjs/{table-helpers-DlLLYa6C.js → table-helpers-CWMTGgj6.js} +3 -2
- package/dist/cjs/themed-host.component-3UWKsF6_.js +8 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +4 -4
- 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 +3 -3
- package/dist/collection/components/atoms/card/header/card-header.component.js +8 -8
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +5 -6
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +3 -3
- 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.js +4 -4
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +7 -7
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +6 -6
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +16 -8
- package/dist/collection/components/atoms/icon/icon.component.js +9 -7
- package/dist/collection/components/atoms/illustration/illustration.component.js +7 -6
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +3 -3
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +3 -3
- 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.js +3 -3
- package/dist/collection/components/atoms/radio/radio.component.js +4 -5
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +8 -8
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +5 -5
- package/dist/collection/components/atoms/stepper/line/stepper-line.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-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +5 -6
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +9 -9
- package/dist/collection/components/helpers/table/extra-header/table-extra-header.component.js +7 -7
- package/dist/collection/components/helpers/table/row-action/table-row-action.component.js +4 -4
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button/button.component.js +12 -10
- package/dist/collection/components/molecules/button-group/button-group.component.js +4 -2
- package/dist/collection/components/molecules/calendar/calendar.component.js +19 -19
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +7 -7
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +7 -11
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +20 -20
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +9 -9
- package/dist/collection/components/molecules/field/container/field-container.component.js +9 -9
- package/dist/collection/components/molecules/field/field/field.component.js +8 -8
- package/dist/collection/components/molecules/label/label.component.js +8 -8
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +5 -5
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +12 -12
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +4 -4
- package/dist/collection/components/molecules/select/select.component.js +15 -15
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +4 -4
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +4 -4
- package/dist/collection/components/molecules/table/header/table-header.component.js +9 -10
- package/dist/collection/components/molecules/table/row/table-row.component.js +35 -35
- package/dist/collection/components/molecules/toast/toast.component.js +5 -5
- package/dist/collection/components/organisms/drawer/drawer.component.js +5 -7
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +19 -24
- package/dist/collection/internal/themed-host.component.js +1 -3
- package/dist/collection/state.js +6 -4
- package/dist/collection/tailwind/paperless.js +5 -10
- package/dist/collection/tailwind/plugins/safe-area.js +0 -1
- package/dist/collection/tailwind.config.js +3 -1
- package/dist/collection/types/icon.js +1 -0
- package/dist/collection/types/illustration.js +1 -0
- package/dist/collection/types/index.js +2 -0
- package/dist/collection/utils/child-of.js +1 -3
- package/dist/collection/utils/icons.js +10 -10
- package/dist/collection/utils/illustrations.js +1 -1
- package/dist/collection/utils/index.js +0 -1
- package/dist/collection/utils/is-mobile-browser.js +2 -2
- package/dist/collection/utils/localization.js +15 -20
- package/dist/collection/utils/object-get-by-path.js +6 -4
- package/dist/collection/utils/screens.js +3 -5
- package/dist/collection/utils/table-helpers.js +3 -2
- package/dist/collection/utils/transformers.js +4 -4
- package/dist/components/index.js +1 -1
- package/dist/components/{p-VB7-md3X.js → p-7Qldd8fE.js} +1 -1
- package/dist/components/{p-CGIxjWp3.js → p-B1MbDi-e.js} +1 -1
- package/dist/components/{p-CdqwGmBG.js → p-BB7bmhRo.js} +1 -1
- package/dist/components/{p-BMwwV9jr.js → p-BDDlblTI.js} +1 -1
- package/dist/components/{p-BFYtk_D9.js → p-BQIf6SbI.js} +1 -1
- package/dist/components/p-BdmdNQNa.js +1 -0
- package/dist/components/{p-C0Y1bbVV.js → p-BhnSWAm_.js} +1 -1
- package/dist/components/{p-CwBpWOfF.js → p-BnyCseIX.js} +1 -1
- package/dist/components/{p-DnnmD9wl.js → p-BpnNRSNN.js} +1 -1
- package/dist/components/{p-DcAa0Z0x.js → p-BtLNLU5M.js} +1 -1
- package/dist/components/{p-C1lLexO_.js → p-Bte1XwqA.js} +1 -1
- package/dist/components/p-BtiXtaPx.js +1 -0
- package/dist/components/{p-Ci6dVRRb.js → p-Bylx-B13.js} +1 -1
- package/dist/components/{p-pS_1w6j6.js → p-Bzccvp_O.js} +1 -1
- package/dist/components/p-C8Vq1N_0.js +1 -0
- package/dist/components/{p-zV8KNDcw.js → p-C9Qej_kA.js} +1 -1
- package/dist/components/p-CEFaN18s.js +1 -0
- package/dist/components/{p-BkR7Q669.js → p-CJKObZ8L.js} +1 -1
- package/dist/components/{p-BQuFRI__.js → p-CLXB3_-L.js} +1 -1
- package/dist/components/{p-BiHXM334.js → p-CUmhErgX.js} +1 -1
- package/dist/components/p-CUqoOemU.js +1 -0
- package/dist/components/p-CWO2YJCh.js +1 -0
- package/dist/components/{p-CXK3XHq7.js → p-CX1ewbW4.js} +1 -1
- package/dist/components/p-CXVK8SLW.js +1 -0
- package/dist/components/{p-DwDkE9Up.js → p-CZlpdpMV.js} +1 -1
- package/dist/components/{p-Cc0qt21M.js → p-C_DONK31.js} +1 -1
- package/dist/components/{p-CNQlxazX.js → p-CdNBlyaj.js} +1 -1
- package/dist/components/{p-CbJigQSa.js → p-ChrB-4co.js} +1 -1
- package/dist/components/{p-DfOFSSQu.js → p-Cop5m_ZM.js} +1 -1
- package/dist/components/p-Cq9Ck17A.js +1 -0
- package/dist/components/{p-BDfmyF39.js → p-Ctox8Lg6.js} +1 -1
- package/dist/components/p-CwQG70_4.js +1 -0
- package/dist/components/p-D25uRUSS.js +1 -0
- package/dist/components/{p-RQ8cBtrk.js → p-D29Sbsl9.js} +1 -1
- package/dist/components/p-D5wfsq08.js +1 -0
- package/dist/components/p-DAKk3DP1.js +1 -0
- package/dist/components/{p-jsBSoPbc.js → p-DAb-3URQ.js} +1 -1
- package/dist/components/p-DPc49L2n.js +1 -0
- package/dist/components/{p-CaAUGmrL.js → p-DfnFrfyL.js} +1 -1
- package/dist/components/p-DmzXDHw8.js +1 -0
- package/dist/components/{p-B9FBrSMo.js → p-Dolot2T0.js} +1 -1
- package/dist/components/p-Dp60j03z.js +1 -0
- package/dist/components/{p-Cokzwe6N.js → p-Dw6QWvDh.js} +1 -1
- package/dist/components/{p-DrTCtmBD.js → p-I0RMpdxn.js} +1 -1
- package/dist/components/p-LNjvz3Yz.js +1 -0
- package/dist/components/p-YBYXO3s0.js +1 -0
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.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 +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +1 -3
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/{p-_WkhyO8Y.js → p-f2XeK6vS.js} +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/{p-D7xFC2oe.js → p-jz4pgX_D.js} +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-loader.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-BlbZgM1V.js → p-u1RuzYH-.js} +1 -1
- package/dist/components/p-xlO2hePk.js +1 -0
- package/dist/esm/{child-of-BFSNj6hu.js → child-of-TyZ7uPES.js} +1 -3
- package/dist/esm/index-PW1zQoNr.js +0 -4
- package/dist/esm/index.js +488 -493
- package/dist/esm/is-mobile-browser-DPc49L2n.js +15 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-DiJj8rmO.js → localization-CwQG70_4.js} +15 -20
- package/dist/esm/object-get-by-path-CLLU0oUD.js +12 -0
- package/dist/esm/p-accordion.entry.js +4 -4
- package/dist/esm/p-attachment.entry.js +8 -8
- 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 +5 -5
- package/dist/esm/p-badge_3.entry.js +7 -7
- package/dist/esm/p-button-group.entry.js +4 -2
- package/dist/esm/p-button_3.entry.js +12 -10
- package/dist/esm/p-calendar.entry.js +16 -16
- package/dist/esm/p-card-body.entry.js +3 -3
- package/dist/esm/p-card-container.entry.js +4 -4
- package/dist/esm/p-card-header.entry.js +5 -5
- package/dist/esm/p-checkbox_3.entry.js +30 -30
- package/dist/esm/p-content-slider.entry.js +7 -7
- package/dist/esm/p-cropper.entry.js +3 -2802
- package/dist/esm/p-datepicker.entry.js +7 -7
- package/dist/esm/p-divider.entry.js +4 -4
- package/dist/esm/p-drawer-body_3.entry.js +6 -6
- package/dist/esm/p-drawer.entry.js +4 -6
- package/dist/esm/p-dropdown-menu-item_2.entry.js +8 -8
- package/dist/esm/p-empty-state_8.entry.js +57 -58
- package/dist/esm/p-field_3.entry.js +16 -16
- package/dist/esm/p-floating-menu-item.entry.js +4 -4
- package/dist/esm/p-iban-icon.entry.js +16 -8
- package/dist/esm/p-illustration.entry.js +19 -19
- package/dist/esm/p-info-panel.entry.js +4 -4
- package/dist/esm/p-label.entry.js +5 -5
- package/dist/esm/p-listing-item.entry.js +3 -3
- package/dist/esm/p-listing-line.entry.js +3 -3
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +8 -8
- package/dist/esm/p-navbar.entry.js +3 -3
- package/dist/esm/p-navigation-item.entry.js +5 -5
- package/dist/esm/p-navigation-section.entry.js +3 -3
- package/dist/esm/p-navigation-title.entry.js +3 -3
- package/dist/esm/p-pagination_3.entry.js +23 -23
- package/dist/esm/p-profile.entry.js +3 -3
- package/dist/esm/p-radio.entry.js +6 -6
- package/dist/esm/p-range.entry.js +6 -6
- package/dist/esm/p-select.entry.js +13 -13
- package/dist/esm/p-stepper-item_2.entry.js +7 -7
- package/dist/esm/p-tab-item.entry.js +3 -3
- package/dist/esm/p-table-extra-header.entry.js +2 -2
- package/dist/esm/p-table.entry.js +20 -25
- package/dist/esm/p-toast.entry.js +3 -3
- package/dist/esm/p-toggle.entry.js +7 -7
- package/dist/esm/p-tooltip.entry.js +11 -11
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{screens-B3sNjfzc.js → screens-CWO2YJCh.js} +3 -5
- package/dist/esm/{state-CFpjsZN7.js → state-DAO0Ru6K.js} +6 -4
- package/dist/esm/{table-helpers-ChunMu-S.js → table-helpers-CfQnOr9V.js} +3 -2
- package/dist/esm/themed-host.component-Bc5wHkoH.js +6 -0
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/p-0305046c.entry.js +1 -0
- package/dist/paperless/{p-993bf657.entry.js → p-0898e57b.entry.js} +1 -1
- package/dist/paperless/p-099a4c60.entry.js +1 -0
- package/dist/paperless/{p-4fde72a3.entry.js → p-0c094c99.entry.js} +1 -1
- package/dist/paperless/{p-3cea628d.entry.js → p-0eb7a6e4.entry.js} +1 -1
- package/dist/paperless/p-14a2caa3.entry.js +1 -0
- package/dist/paperless/{p-425a3a05.entry.js → p-1ce28114.entry.js} +1 -1
- package/dist/paperless/p-2509308d.entry.js +1 -0
- package/dist/paperless/p-389f92f8.entry.js +1 -0
- package/dist/{build/p-79fe6a2f.entry.js → paperless/p-400ae3ad.entry.js} +1 -1
- package/dist/{build/p-6ff7e89b.entry.js → paperless/p-4793863e.entry.js} +1 -1
- package/dist/paperless/{p-d36ebc95.entry.js → p-4ad6dd58.entry.js} +1 -1
- package/dist/paperless/p-4d456377.entry.js +1 -0
- package/dist/paperless/{p-4dfa0a37.entry.js → p-4f068009.entry.js} +1 -1
- package/dist/{build/p-6577db68.entry.js → paperless/p-62c4c7d7.entry.js} +1 -1
- package/dist/paperless/p-6ff8d21c.entry.js +1 -0
- package/dist/paperless/{p-e8729580.entry.js → p-7ae963de.entry.js} +1 -1
- package/dist/paperless/p-846f47bd.entry.js +1 -0
- package/dist/paperless/{p-3430af7f.entry.js → p-870a63fb.entry.js} +1 -1
- package/dist/paperless/p-8bd7c93a.entry.js +1 -0
- package/dist/{build/p-e9582485.entry.js → paperless/p-8d0c1f36.entry.js} +1 -1
- package/dist/paperless/{p-c0cec615.entry.js → p-8ed529ba.entry.js} +1 -1
- package/dist/paperless/{p-530d8958.entry.js → p-92bbdecc.entry.js} +1 -1
- package/dist/paperless/{p-62555ccd.entry.js → p-93bbde98.entry.js} +1 -1
- package/dist/paperless/p-958c8a2c.entry.js +1 -0
- package/dist/paperless/{p-71e02082.entry.js → p-9a49375d.entry.js} +1 -1
- package/dist/paperless/{p-CrdJDtHg.js → p-CLLU0oUD.js} +1 -1
- package/dist/paperless/p-CWO2YJCh.js +1 -0
- package/dist/paperless/p-CXVK8SLW.js +1 -0
- package/dist/paperless/p-CwQG70_4.js +1 -0
- package/dist/paperless/{p-BTx_Jfhh.js → p-DE-sstf_.js} +1 -1
- package/dist/paperless/p-DPc49L2n.js +1 -0
- package/dist/paperless/p-DzdX_Z5B.js +1 -0
- package/dist/paperless/p-V194S7Dm.js +1 -0
- package/dist/{build/p-cd525c37.entry.js → paperless/p-a23a90d6.entry.js} +1 -1
- package/dist/paperless/{p-3c806e0f.entry.js → p-a4109895.entry.js} +1 -1
- package/dist/paperless/p-ad468b70.entry.js +1 -0
- package/dist/paperless/p-af320255.entry.js +1 -0
- package/dist/paperless/p-b2248597.entry.js +1 -0
- package/dist/{build/p-abda244c.entry.js → paperless/p-b37d0053.entry.js} +1 -1
- package/dist/{build/p-f0165e95.entry.js → paperless/p-bfb06294.entry.js} +1 -1
- package/dist/{build/p-5d60b2c6.entry.js → paperless/p-c7835f10.entry.js} +1 -1
- package/dist/paperless/{p-1c6969ee.entry.js → p-cfe81f27.entry.js} +1 -1
- package/dist/paperless/p-d0d0a314.entry.js +1 -0
- package/dist/paperless/p-d38642c4.entry.js +1 -0
- package/dist/paperless/p-e30abf73.entry.js +1 -0
- package/dist/paperless/{p-cacd9fe0.entry.js → p-e6222abf.entry.js} +1 -1
- package/dist/paperless/p-e9d2bdd6.entry.js +1 -0
- package/dist/paperless/p-f1f160c0.entry.js +1 -0
- package/dist/paperless/{p-1e7e0082.entry.js → p-f3daeb8f.entry.js} +1 -1
- package/dist/paperless/{p-4cd0eb6f.entry.js → p-f8d8d142.entry.js} +1 -1
- package/dist/paperless/p-f9c9004b.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/paperless.ts +5 -12
- package/dist/tailwind/plugins/safe-area.ts +0 -1
- package/dist/tailwind.config.ts +4 -1
- package/dist/types/components/atoms/card/header/card-header.component.d.ts +1 -1
- package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
- package/dist/types/components/atoms/floating-menu/item/floating-menu-item.component.d.ts +1 -2
- package/dist/types/components/atoms/icon/icon.component.d.ts +1 -3
- package/dist/types/components/atoms/illustration/illustration.component.d.ts +1 -2
- package/dist/types/components/atoms/listing/item/listing-item.component.d.ts +1 -1
- package/dist/types/components/atoms/segment/item/segment-item.component.d.ts +1 -1
- package/dist/types/components/helpers/table/extra-header/table-extra-header.component.d.ts +5 -5
- package/dist/types/components/helpers/table/row-action/table-row-action.component.d.ts +2 -1
- package/dist/types/components/molecules/button/button.component.d.ts +1 -1
- package/dist/types/components/molecules/cropper/cropper.component.d.ts +0 -1
- package/dist/types/components/molecules/empty-state/empty-state.component.d.ts +3 -1
- package/dist/types/components/molecules/field/field/field.component.d.ts +1 -1
- package/dist/types/components/molecules/label/label.component.d.ts +1 -2
- package/dist/types/components/molecules/navigation/item/navigation-item.component.d.ts +1 -1
- package/dist/types/components/molecules/select/select.component.d.ts +1 -1
- package/dist/types/components/molecules/table/header/table-header.component.d.ts +1 -1
- package/dist/types/components/molecules/table/row/table-row.component.d.ts +1 -1
- package/dist/types/components/molecules/toast/toast.component.d.ts +1 -2
- package/dist/types/components/organisms/table/table.component.d.ts +1 -1
- package/dist/types/components.d.ts +58 -83
- package/dist/types/types/icon.d.ts +3 -0
- package/dist/types/types/illustration.d.ts +2 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/table-helpers.d.ts +1 -1
- package/hydrate/index.js +411 -4867
- package/hydrate/index.mjs +411 -4867
- package/package.json +3 -2
- package/dist/assets/illustrations-old/default-empty-state.svg +0 -186
- package/dist/assets/illustrations-old/departments.svg +0 -31
- package/dist/assets/illustrations-old/e-mail.svg +0 -1
- package/dist/assets/illustrations-old/empty-state-add.svg +0 -65
- package/dist/assets/illustrations-old/empty-state-overview.svg +0 -58
- package/dist/assets/illustrations-old/empty-state-search.svg +0 -88
- package/dist/assets/illustrations-old/expenses.svg +0 -397
- package/dist/assets/illustrations-old/functions.svg +0 -58
- package/dist/assets/illustrations-old/questions.svg +0 -30
- package/dist/assets/illustrations-old/sick-leave.svg +0 -353
- package/dist/assets/illustrations-old/time-off.svg +0 -271
- package/dist/assets/illustrations-old/upgrade-to-hr.svg +0 -56
- package/dist/build/p--Uc_OJAV.js +0 -1
- package/dist/build/p-03fd9f72.entry.js +0 -1
- package/dist/build/p-056a5f06.entry.js +0 -3
- package/dist/build/p-0d101f98.entry.js +0 -1
- package/dist/build/p-1204b8ec.entry.js +0 -1
- package/dist/build/p-19e4c44e.entry.js +0 -1
- package/dist/build/p-20a030ef.entry.js +0 -1
- package/dist/build/p-24856eda.entry.js +0 -1
- package/dist/build/p-24bddbaa.entry.js +0 -1
- package/dist/build/p-387cdb34.entry.js +0 -1
- package/dist/build/p-3ddaa2cd.entry.js +0 -1
- package/dist/build/p-483d393e.entry.js +0 -1
- package/dist/build/p-4d861417.entry.js +0 -1
- package/dist/build/p-61eb4488.entry.js +0 -1
- package/dist/build/p-6347bcd4.entry.js +0 -1
- package/dist/build/p-6995f239.entry.js +0 -1
- package/dist/build/p-6c89af81.entry.js +0 -1
- package/dist/build/p-7f74906f.js +0 -1
- package/dist/build/p-93e0869b.entry.js +0 -1
- package/dist/build/p-B3sNjfzc.js +0 -1
- package/dist/build/p-CZ2yMw9N.js +0 -1
- package/dist/build/p-DVCJlilm.js +0 -1
- package/dist/build/p-DiJj8rmO.js +0 -1
- package/dist/build/p-NPruj4qY.js +0 -1
- package/dist/build/p-bc2ffc30.entry.js +0 -1
- package/dist/build/p-f06b0222.entry.js +0 -1
- package/dist/build/p-f15fd725.entry.js +0 -1
- package/dist/cjs/is-mobile-browser-B0H5zume.js +0 -17
- package/dist/cjs/object-get-by-path-D9RiabwP.js +0 -12
- package/dist/cjs/p-illustration-deprecated.cjs.entry.js +0 -1648
- package/dist/cjs/themed-host.component-DWdd52wm.js +0 -10
- package/dist/collection/assets/illustrations-old/default-empty-state.svg +0 -186
- package/dist/collection/assets/illustrations-old/departments.svg +0 -31
- package/dist/collection/assets/illustrations-old/e-mail.svg +0 -1
- package/dist/collection/assets/illustrations-old/empty-state-add.svg +0 -65
- package/dist/collection/assets/illustrations-old/empty-state-overview.svg +0 -58
- package/dist/collection/assets/illustrations-old/empty-state-search.svg +0 -88
- package/dist/collection/assets/illustrations-old/expenses.svg +0 -397
- package/dist/collection/assets/illustrations-old/functions.svg +0 -58
- package/dist/collection/assets/illustrations-old/questions.svg +0 -30
- package/dist/collection/assets/illustrations-old/sick-leave.svg +0 -353
- package/dist/collection/assets/illustrations-old/time-off.svg +0 -271
- package/dist/collection/assets/illustrations-old/upgrade-to-hr.svg +0 -56
- package/dist/collection/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.js +0 -45
- package/dist/collection/utils/illustrations-deprecated.js +0 -26
- package/dist/components/p--Uc_OJAV.js +0 -1
- package/dist/components/p-2dC48qJE.js +0 -1
- package/dist/components/p-2zUJV2yE.js +0 -1
- package/dist/components/p-B0d5ICrL.js +0 -1
- package/dist/components/p-B3sNjfzc.js +0 -1
- package/dist/components/p-B4Gc--KS.js +0 -1
- package/dist/components/p-Bh667c8S.js +0 -1
- package/dist/components/p-BjTqIvvg.js +0 -1
- package/dist/components/p-BljhRK77.js +0 -1
- package/dist/components/p-CMXVofAG.js +0 -1
- package/dist/components/p-CXpy7GgN.js +0 -1
- package/dist/components/p-Cjis2n9e.js +0 -1
- package/dist/components/p-D4Meeik_.js +0 -1
- package/dist/components/p-DVCJlilm.js +0 -1
- package/dist/components/p-DVnjKUSi.js +0 -1
- package/dist/components/p-DiJj8rmO.js +0 -1
- package/dist/components/p-Dx2gSqsW.js +0 -1
- package/dist/components/p-amH7ioHZ.js +0 -1
- package/dist/components/p-illustration-deprecated.d.ts +0 -11
- package/dist/components/p-illustration-deprecated.js +0 -1
- package/dist/esm/is-mobile-browser-DVCJlilm.js +0 -15
- package/dist/esm/object-get-by-path-CrdJDtHg.js +0 -10
- package/dist/esm/p-illustration-deprecated.entry.js +0 -1646
- package/dist/esm/themed-host.component-c1iZisXm.js +0 -8
- package/dist/paperless/p--Uc_OJAV.js +0 -1
- package/dist/paperless/p-03fd9f72.entry.js +0 -1
- package/dist/paperless/p-056a5f06.entry.js +0 -3
- package/dist/paperless/p-0d101f98.entry.js +0 -1
- package/dist/paperless/p-1204b8ec.entry.js +0 -1
- package/dist/paperless/p-19e4c44e.entry.js +0 -1
- package/dist/paperless/p-20a030ef.entry.js +0 -1
- package/dist/paperless/p-24856eda.entry.js +0 -1
- package/dist/paperless/p-24bddbaa.entry.js +0 -1
- package/dist/paperless/p-387cdb34.entry.js +0 -1
- package/dist/paperless/p-3ddaa2cd.entry.js +0 -1
- package/dist/paperless/p-483d393e.entry.js +0 -1
- package/dist/paperless/p-4d861417.entry.js +0 -1
- package/dist/paperless/p-61eb4488.entry.js +0 -1
- package/dist/paperless/p-6347bcd4.entry.js +0 -1
- package/dist/paperless/p-6995f239.entry.js +0 -1
- package/dist/paperless/p-6c89af81.entry.js +0 -1
- package/dist/paperless/p-93e0869b.entry.js +0 -1
- package/dist/paperless/p-B3sNjfzc.js +0 -1
- package/dist/paperless/p-CZ2yMw9N.js +0 -1
- package/dist/paperless/p-DVCJlilm.js +0 -1
- package/dist/paperless/p-DiJj8rmO.js +0 -1
- package/dist/paperless/p-NPruj4qY.js +0 -1
- package/dist/paperless/p-bc2ffc30.entry.js +0 -1
- package/dist/paperless/p-f06b0222.entry.js +0 -1
- package/dist/paperless/p-f15fd725.entry.js +0 -1
- package/dist/types/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.d.ts +0 -10
- package/dist/types/utils/illustrations-deprecated.d.ts +0 -15
- package/dist/build/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
- package/dist/build/{p-49063862.entry.js → p-a096e5b9.entry.js} +0 -0
- package/dist/build/{p-10e45aa0.entry.js → p-a91d2d7d.entry.js} +0 -0
- package/dist/build/{p-ce739b80.entry.js → p-ea4df80c.entry.js} +0 -0
- package/dist/cjs/{icons-DoJUuFS5.js → icons-C2jYPq9N.js} +58 -58
- package/dist/components/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
- package/dist/esm/{icons--Uc_OJAV.js → icons-CXVK8SLW.js} +58 -58
- /package/dist/paperless/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
- /package/dist/paperless/{p-49063862.entry.js → p-a096e5b9.entry.js} +0 -0
- /package/dist/paperless/{p-10e45aa0.entry.js → p-a91d2d7d.entry.js} +0 -0
- /package/dist/paperless/{p-ce739b80.entry.js → p-ea4df80c.entry.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, a as createEvent, d as getElement, h } from './index-PW1zQoNr.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { s as state } from './state-DAO0Ru6K.js';
|
|
3
|
+
import { c as childOf } from './child-of-TyZ7uPES.js';
|
|
4
|
+
import { i as isMobileBrowser } from './is-mobile-browser-DPc49L2n.js';
|
|
4
5
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
5
|
-
import { s as state } from './state-CFpjsZN7.js';
|
|
6
6
|
import { r as requiredArgs, t as toDate, _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, b as getUTCWeek, c as toInteger, d as getUTCISOWeek, e as getDefaultOptions, l as locale, f as longFormatters, h as subMilliseconds, i as getTimezoneOffsetInMilliseconds, j as isProtectedWeekYearToken, k as throwProtectedError, m as isProtectedDayOfYearToken, n as getYear, o as subYears, p as isValid, q as isBefore, u as isAfter, v as format, w as locale$1, x as startOfDay, y as startOfMonth, z as isSameDay, A as isWeekend, B as addYears, C as setYear } from './index-KEbntKvf.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -3069,7 +3069,7 @@ const Datepicker = class {
|
|
|
3069
3069
|
this.parseValue(this.value);
|
|
3070
3070
|
}
|
|
3071
3071
|
render() {
|
|
3072
|
-
return (h("p-dropdown", { key: '
|
|
3072
|
+
return (h("p-dropdown", { key: 'a01a3bf86a26c0b909a777941c002f8db1963210', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown, isDatepicker: true }, h("p-field", { key: '66141e393236efcc4ce8deb36ea3083eb8f1cbe8', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, autoShowError: false, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: (ev) => this._onBlur(ev), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '6c7d01a5c298b42d089ae18d06c6acb2659031cb', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0', onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value &&
|
|
3073
3073
|
format(this._value, 'yyyy-MM-dd', {
|
|
3074
3074
|
locale: state.locale === 'nl' ? locale$1 : locale,
|
|
3075
3075
|
}), min: this._minDate &&
|
|
@@ -3078,7 +3078,7 @@ const Datepicker = class {
|
|
|
3078
3078
|
}), max: this.maxDate &&
|
|
3079
3079
|
format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
3080
3080
|
locale: state.locale === 'nl' ? locale$1 : locale,
|
|
3081
|
-
}) })), h("div", { key: '
|
|
3081
|
+
}) })), h("div", { key: 'd5a32388cee9bb272905deb090816da8217e9a41', tabIndex: -1, slot: 'items' }, h("p-calendar", { key: 'dce8bdd282632e2c38ebf13b3b07db561b27dffb', 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, enableToday: this.enableToday, todayText: this.todayText, mode: this.mode }))));
|
|
3082
3082
|
}
|
|
3083
3083
|
documentClickHandler({ target }) {
|
|
3084
3084
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -3168,7 +3168,7 @@ const Datepicker = class {
|
|
|
3168
3168
|
return;
|
|
3169
3169
|
}
|
|
3170
3170
|
if (this._isDisabledDay(value)) {
|
|
3171
|
-
if (
|
|
3171
|
+
if (this._dateInputRef?.value) {
|
|
3172
3172
|
this._dateInputRef.value = this._value
|
|
3173
3173
|
? format(this._value, 'yyyy-MM-dd', {
|
|
3174
3174
|
locale: state.locale === 'nl' ? locale$1 : locale,
|
|
@@ -3197,7 +3197,7 @@ const Datepicker = class {
|
|
|
3197
3197
|
return ((this.disableWeekends && isWeekend(day)) ||
|
|
3198
3198
|
(isBefore(day, this._minDate) && !isSameDay(day, this._minDate)) ||
|
|
3199
3199
|
(isAfter(day, this._maxDate) && !isSameDay(day, this._maxDate)) ||
|
|
3200
|
-
this._disabledDates.
|
|
3200
|
+
this._disabledDates.some(date => isSameDay(date, day)));
|
|
3201
3201
|
}
|
|
3202
3202
|
_getFormattedDate() {
|
|
3203
3203
|
if (!this._value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, d as getElement, h } from './index-PW1zQoNr.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
-
import { T as ThemedHost } from './themed-host.component-
|
|
3
|
+
import { T as ThemedHost } from './themed-host.component-Bc5wHkoH.js';
|
|
4
4
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
5
5
|
import './clsx-ChV9xqsO.js';
|
|
6
|
-
import './state-
|
|
6
|
+
import './state-DAO0Ru6K.js';
|
|
7
7
|
|
|
8
8
|
const dividerComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.flex{display:flex}.h-full{height:100%}.w-full{width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-hurricane-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.before\\:hidden:before{content:var(--tw-content);display:none}.before\\:h-px:before{content:var(--tw-content);height:1px}.before\\:w-px:before{content:var(--tw-content);width:1px}.before\\:flex-1:before{content:var(--tw-content);flex:1 1 0%}.before\\:bg-current:before{background-color:currentColor;content:var(--tw-content)}.before\\:content-\\[\\"\\"\\]:before{--tw-content:"";content:var(--tw-content)}.after\\:hidden:after{content:var(--tw-content);display:none}.after\\:h-px:after{content:var(--tw-content);height:1px}.after\\:w-px:after{content:var(--tw-content);width:1px}.after\\:flex-1:after{content:var(--tw-content);flex:1 1 0%}.after\\:bg-current:after{background-color:currentColor;content:var(--tw-content)}.after\\:content-\\[\\"\\"\\]:after{--tw-content:"";content:var(--tw-content)}.empty\\:px-0:empty{padding-left:0;padding-right:0}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}`;
|
|
9
9
|
|
|
@@ -40,12 +40,12 @@ const Divider = class {
|
|
|
40
40
|
get _el() { return getElement(this); }
|
|
41
41
|
render() {
|
|
42
42
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
43
|
-
return (h(ThemedHost, { key: '
|
|
43
|
+
return (h(ThemedHost, { key: '21688246c2799e261fc76199ea98fc67eefe64fe' }, h("div", { key: '188f916762aa47219f8d842d0b11a1062db4ed29', class: cn(content({
|
|
44
44
|
variant: this.variant,
|
|
45
45
|
alignContent: this.alignContent,
|
|
46
46
|
}), {
|
|
47
47
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
48
|
-
}) }, h("div", { key: '
|
|
48
|
+
}) }, h("div", { key: '6f7dfbd19d4ef22ae84d24bf18e021ee336b7311', class: 'flex items-center px-2 text-sm font-medium text-storm-400 empty:px-0 dark:text-hurricane-200' }, hasContent && h("slot", { key: 'de011024bca44b502ce6472580c7143cd6a0ebbb' })))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
Divider.style = dividerComponentCss();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as createEvent } from './index-PW1zQoNr.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import { T as ThemedHost } from './themed-host.component-Bc5wHkoH.js';
|
|
3
4
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
|
-
import { T as ThemedHost } from './themed-host.component-c1iZisXm.js';
|
|
5
5
|
import './clsx-ChV9xqsO.js';
|
|
6
|
-
import './state-
|
|
6
|
+
import './state-DAO0Ru6K.js';
|
|
7
7
|
|
|
8
8
|
const drawerBodyComponentCss = () => `.flex{display:flex}.h-full{height:100%}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}*{box-sizing:border-box}:host{display:flex;flex:1 1 0%;flex-direction:column;gap:1rem;height:100%;padding:1rem 1rem calc(env(safe-area-inset-bottom, 0) + 1rem);width:100%}.static{position:static}`;
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ const DrawerBody = class {
|
|
|
12
12
|
registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h("slot", { key: '
|
|
15
|
+
return h("slot", { key: 'ad1b99c5aebbb4134066f14216f3b71b45c24eeb' });
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
DrawerBody.style = drawerBodyComponentCss();
|
|
@@ -42,9 +42,9 @@ const DrawerContainer = class {
|
|
|
42
42
|
*/
|
|
43
43
|
closing = false;
|
|
44
44
|
render() {
|
|
45
|
-
return (h(ThemedHost, { key: '
|
|
45
|
+
return (h(ThemedHost, { key: '317675610f458fd08649062dc5879c2ca4f1c9e0' }, h("div", { key: '27f876855f4006a4566bf0c038328492da0643e8', class: container({
|
|
46
46
|
closing: asBoolean(this.closing),
|
|
47
|
-
}) }, h("slot", { key: '
|
|
47
|
+
}) }, h("slot", { key: '08ac349f1864dfa674b3ea06a809a65ceff965e0' }))));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
DrawerContainer.style = drawerContainerComponentCss();
|
|
@@ -75,7 +75,7 @@ const DrawerHeader = class {
|
|
|
75
75
|
*/
|
|
76
76
|
close;
|
|
77
77
|
render() {
|
|
78
|
-
return (h(ThemedHost, { key: '
|
|
78
|
+
return (h(ThemedHost, { key: '22b70fd5ecc48cca0e7889bf5fa8167f6063b471' }, h("div", { key: 'b19d3cce208759e68446ade1baa02a95286aaf51', class: header() }, h("div", { key: 'b5a28ec7d297cb8d9c71ebfb5bf7f652434a438b', class: content() }, this.showClose && (h("p-button", { key: '9e1d4d71e3f1c4efd65d5639d388f72e628ec81c', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) })), h("div", { key: '6906eb28f9fd9f63b49921da0f3b49c20b9ab665', class: title() }, h("slot", { key: '62d673dae21712e3e2919618e518869172f82db2' })), this.showClose && h("div", { key: '451411cc086c5b6c366313d38bfb277cafebe138', class: 'size-8' })), h("p-smile", { key: 'd1d4ae0aa65e5d9d91819da89bbaf7598d145ca3', class: 'dark:text-hurricane-400' }))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
DrawerHeader.style = drawerHeaderComponentCss();
|
|
@@ -54,11 +54,9 @@ const Drawer = class {
|
|
|
54
54
|
if (!this.show) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
const headerContent = h("slot", { name:
|
|
58
|
-
const bodyContent = h("slot", { name:
|
|
59
|
-
return (h("p-backdrop", { variant:
|
|
60
|
-
? headerContent
|
|
61
|
-
: this.header)), h("p-drawer-body", null, bodyContent))));
|
|
57
|
+
const headerContent = h("slot", { name: 'header' });
|
|
58
|
+
const bodyContent = h("slot", { name: 'content' });
|
|
59
|
+
return (h("p-backdrop", { variant: 'drawer', applyBlur: this.applyBlur, onClicked: ev => this._backdropClick(ev.detail), closing: this._closing, scrollLock: this.scrollLock }, h("p-drawer-container", { closing: this._closing }, (this.header?.length || this._hasHeaderSlot) && (h("p-drawer-header", { "show-close": this.showClose, onClose: ev => this.close(ev.detail, 'close') }, this._hasHeaderSlot ? headerContent : this.header)), h("p-drawer-body", null, bodyContent))));
|
|
62
60
|
}
|
|
63
61
|
_backdropClick(ev) {
|
|
64
62
|
if (!this.backdropClickClose) {
|
|
@@ -87,7 +85,7 @@ const Drawer = class {
|
|
|
87
85
|
this.closeClicked.emit({
|
|
88
86
|
event: ev,
|
|
89
87
|
canClose: this.canClose,
|
|
90
|
-
source
|
|
88
|
+
source,
|
|
91
89
|
});
|
|
92
90
|
if (!this.canClose) {
|
|
93
91
|
return;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-PW1zQoNr.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
-
import {
|
|
3
|
+
import { T as ThemedHost } from './themed-host.component-Bc5wHkoH.js';
|
|
4
4
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
5
|
-
import {
|
|
5
|
+
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
6
6
|
import './clsx-ChV9xqsO.js';
|
|
7
|
-
import './state-
|
|
7
|
+
import './state-DAO0Ru6K.js';
|
|
8
8
|
|
|
9
9
|
const dropdownMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-full{width:100%}.max-w-full{max-width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-negative-red-50{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.bg-storm-600{--tw-bg-opacity:1;background-color:rgb(15 22 34/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-start{text-align:start}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-negative-red-100{--tw-text-opacity:1;color:rgb(255 221 221/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-40{opacity:.4}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.hover\\:bg-storm-500:hover{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}@keyframes wave{0%{transform:rotate(0deg)}to{transform:rotate(-15deg)}}.group:hover .group-hover\\:animate-wave{animation:wave .5s ease-in-out -.5s infinite alternate forwards}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
10
10
|
|
|
@@ -236,19 +236,19 @@ const DropdownMenuItem = class {
|
|
|
236
236
|
*/
|
|
237
237
|
autoHeight = false;
|
|
238
238
|
render() {
|
|
239
|
-
return (h(ThemedHost, { key: '
|
|
239
|
+
return (h(ThemedHost, { key: 'cbcd8b00c8ace5de588cbb1bf6c4be75e41f4e96' }, h("div", { key: 'f044ef811bb2abe6bbf88ffa09d8efa0b022a9ad', class: cn(dropdownMenuItem({
|
|
240
240
|
variant: this.variant,
|
|
241
241
|
active: asBoolean(this.active),
|
|
242
242
|
enableHover: asBoolean(this.enableHover ?? true),
|
|
243
243
|
autoHeight: asBoolean(this.autoHeight ?? false),
|
|
244
244
|
enableTextWrap: this.enableTextWrap,
|
|
245
245
|
disabled: asBoolean(this.disabled),
|
|
246
|
-
})) }, this.icon && (h("p-icon", { key: '
|
|
246
|
+
})) }, this.icon && (h("p-icon", { key: 'aad153de054db169cdc453d9f0f121d57f19c152', class: dropdownMenuItemIcon({
|
|
247
247
|
variant: this.variant,
|
|
248
248
|
active: asBoolean(this.active),
|
|
249
249
|
disabled: asBoolean(this.disabled),
|
|
250
250
|
wave: asBoolean(this.iconWave),
|
|
251
|
-
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '
|
|
251
|
+
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '810aeec3a0a477c77cefdf5ba49ad0c64e22f8a1', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: cn('block w-full overflow-hidden text-start', {
|
|
252
252
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
253
253
|
}) }, h("slot", null))) : (h("slot", null)))));
|
|
254
254
|
}
|
|
@@ -346,12 +346,12 @@ const PaginationPagesItem = class {
|
|
|
346
346
|
*/
|
|
347
347
|
disabled = false;
|
|
348
348
|
render() {
|
|
349
|
-
return (h(ThemedHost, { key: '
|
|
349
|
+
return (h(ThemedHost, { key: '8e1fbcaf1a960ca415e653aab0bc26c4cf1ae061' }, h("div", { key: '230b7e153665bcaa32ae288cc9b62dd9b64f70ca', class: item({
|
|
350
350
|
variant: this.variant ?? 'default',
|
|
351
351
|
active: asBoolean(this.active),
|
|
352
352
|
hover: asBoolean(this.hover, true),
|
|
353
353
|
disabled: asBoolean(this.disabled),
|
|
354
|
-
}) }, h("slot", { key: '
|
|
354
|
+
}) }, h("slot", { key: '708294372427d32cece0fa2836cea5ab0663d379' }))));
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
357
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, a as createEvent, d as getElement, h, F as Fragment, e as Host } from './index-PW1zQoNr.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import { T as ThemedHost } from './themed-host.component-Bc5wHkoH.js';
|
|
3
4
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { o as objectGetByPath } from './object-get-by-path-CrdJDtHg.js';
|
|
5
|
+
import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-CwQG70_4.js';
|
|
6
|
+
import { g as getTableCellColumnClasses } from './table-helpers-CfQnOr9V.js';
|
|
7
|
+
import { o as objectGetByPath } from './object-get-by-path-CLLU0oUD.js';
|
|
8
8
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
9
9
|
import { P as PAGINATION_DEFAULT_PAGE_SIZE, a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS } from './constants-vyRrSf5s.js';
|
|
10
10
|
import './clsx-ChV9xqsO.js';
|
|
11
|
-
import './state-
|
|
11
|
+
import './state-DAO0Ru6K.js';
|
|
12
12
|
|
|
13
13
|
const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
14
14
|
|
|
@@ -70,11 +70,11 @@ const EmptyState = class {
|
|
|
70
70
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
71
71
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
72
72
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
73
|
-
return (h(ThemedHost, { key: '
|
|
73
|
+
return (h(ThemedHost, { key: '580edaeaa7a1429f07840b25d2062f9e6ae9763d' }, h("div", { key: 'c08807d745ee8f4bebae2d7aec92bf110824269e', class: emptyState({
|
|
74
74
|
enableAction: asBoolean(this.enableAction, true),
|
|
75
75
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
76
76
|
? this.action.emit(ev)
|
|
77
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
77
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500 dark:text-white' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm font-normal text-storm-300 dark:text-hurricane-200' }, this.content))), this.enableAction &&
|
|
78
78
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -144,9 +144,9 @@ const FloatingMenuContainer = class {
|
|
|
144
144
|
this._setLocales();
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(ThemedHost, { key: '
|
|
147
|
+
return (h(ThemedHost, { key: 'b68d74e35de85f5b14b30d1c6649f4a2449c7b04' }, h("div", { key: '1cdae9d4705acc85650b593a8f200e8b6e791261', class: container$1({
|
|
148
148
|
enableAmountSelected: this.enableAmountSelected,
|
|
149
|
-
}) }, this.enableAmountSelected && (h(Fragment, { key: '
|
|
149
|
+
}) }, this.enableAmountSelected && (h(Fragment, { key: '4fb6df02b5af8b38ce42f6af67846f88de9ea47b' }, h("p", { key: 'faf5b2587318c74afaa210f845f5e171323bb56d', class: amountSelected() }, this.amountSelectedTemplate(this.amount)), h("p-divider", { key: '1c0ecb274c5ff16476be4422f3bc90f9b26e1a22', class: 'mx-0 h-4 text-storm-400', variant: 'vertical' }))), h("div", { key: 'ca40fbbbf5cb4b0293f06e9dcb75680474009cf5', class: 'flex items-center' }, this.usedInTable ? h("slot", { name: 'floating-menu-item' }) : h("slot", null), this.enableClose && (h("p-floating-menu-item", { key: 'c8716fd6671726b5afe2b9d045c65495ae22e01b', onClick: ev => this.close.emit(ev), icon: 'negative' }))))));
|
|
150
150
|
}
|
|
151
151
|
async _setLocales() {
|
|
152
152
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -203,7 +203,7 @@ const TableCell = class {
|
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
return {
|
|
206
|
-
value: this.value ?? this.definition?.path
|
|
206
|
+
value: (this.value ?? this.definition?.path)
|
|
207
207
|
? objectGetByPath(this.item, this.definition.path)
|
|
208
208
|
: null,
|
|
209
209
|
item: this.item,
|
|
@@ -212,14 +212,14 @@ const TableCell = class {
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
render() {
|
|
215
|
-
return (h(ThemedHost, { key: '
|
|
215
|
+
return (h(ThemedHost, { key: 'f3fb25607a21580f978f979b6ed0c64c908c597e', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
216
216
|
}
|
|
217
217
|
_getContent() {
|
|
218
218
|
if (this.variant === 'loading') {
|
|
219
219
|
return (h("p-loader", { variant: 'ghost', class: 'h-6 w-[calc(100%-1rem)] flex-1 rounded' }));
|
|
220
220
|
}
|
|
221
221
|
const align = this.variant === 'header'
|
|
222
|
-
? this.definition.headerAlign ?? this.definition.align
|
|
222
|
+
? (this.definition.headerAlign ?? this.definition.align)
|
|
223
223
|
: this.definition.align;
|
|
224
224
|
return (h("div", { class: cn('overflow-hidden text-ellipsis', {
|
|
225
225
|
flex: this.definition.flex,
|
|
@@ -353,12 +353,12 @@ const TableFooter = class {
|
|
|
353
353
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
354
354
|
}
|
|
355
355
|
render() {
|
|
356
|
-
return (h(ThemedHost, { key: '
|
|
356
|
+
return (h(ThemedHost, { key: 'b5ab268371811514f930f44fedea65da21cd6cae' }, h("div", { key: 'a98c709cc02b6b15fc7923520921f35d577ce78f', class: footer({
|
|
357
357
|
pinned: this._isPinned,
|
|
358
358
|
hidden: this._hidden,
|
|
359
359
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
360
360
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
361
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
361
|
+
this.total > 0 && (h("p-pagination", { key: '9bbe8d8de8dce310f2799829469b6826642aa295', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
362
362
|
}
|
|
363
363
|
_changePageSize(s) {
|
|
364
364
|
if (!s) {
|
|
@@ -375,14 +375,14 @@ const TableFooter = class {
|
|
|
375
375
|
const modalBody = modal.shadowRoot.querySelector('p-modal-body');
|
|
376
376
|
const innerContent = modalBody.shadowRoot.querySelector('div');
|
|
377
377
|
const innerContentComputed = getComputedStyle(innerContent);
|
|
378
|
-
const modalPaddingBottom = parseInt(innerContentComputed.paddingBottom, 10);
|
|
378
|
+
const modalPaddingBottom = Number.parseInt(innerContentComputed.paddingBottom, 10);
|
|
379
379
|
this._el.style.bottom = `-${modalPaddingBottom}px`;
|
|
380
380
|
this._el.style.marginBottom = `-${modalPaddingBottom - 1}px`;
|
|
381
381
|
}
|
|
382
382
|
if (layout && !modal) {
|
|
383
383
|
const innerContent = layout.shadowRoot.querySelector('.content');
|
|
384
384
|
const innerContentComputed = getComputedStyle(innerContent);
|
|
385
|
-
const layoutPaddingBottom = parseInt(innerContentComputed.paddingBottom, 10);
|
|
385
|
+
const layoutPaddingBottom = Number.parseInt(innerContentComputed.paddingBottom, 10);
|
|
386
386
|
this._el.style.bottom = `-${layoutPaddingBottom}px`;
|
|
387
387
|
this._el.style.marginBottom = `-${layoutPaddingBottom - 1}px`;
|
|
388
388
|
}
|
|
@@ -9870,9 +9870,8 @@ const TableHeader = class {
|
|
|
9870
9870
|
this.export = createEvent(this, "export", 3);
|
|
9871
9871
|
}
|
|
9872
9872
|
_defaultFilterButtonTemplate = () => formatTranslation(this._locales.filter);
|
|
9873
|
-
_defaultActionButtonTemplate = (amount) => this.actionText
|
|
9874
|
-
|
|
9875
|
-
: formatTranslation(amount === 0
|
|
9873
|
+
_defaultActionButtonTemplate = (amount) => this.actionText ??
|
|
9874
|
+
formatTranslation(amount === 0
|
|
9876
9875
|
? this._locales.edit
|
|
9877
9876
|
: amount === 1
|
|
9878
9877
|
? this._locales.edit_single
|
|
@@ -9987,15 +9986,15 @@ const TableHeader = class {
|
|
|
9987
9986
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
9988
9987
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
9989
9988
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
9990
|
-
return (h(ThemedHost, { key: '
|
|
9991
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
9989
|
+
return (h(ThemedHost, { key: 'dcf65ce62e7dc90f0c45e7748fd23872f21e7fad' }, h("div", { key: '3082ccae779f57c8812afc4b2400b20c87dd22a0', class: header() }, this.loading && (h("p-loader", { key: 'cbcf94e4afb27f7ee22b4adfbcadd9d72db2a189', variant: 'ghost', class: 'hidden h-8 w-3/4 rounded desktop-xs:flex' })), !this.loading &&
|
|
9990
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '04c40b4406a49b0faf09c1e72ffe0d3b64e54548', class: 'flex flex-col justify-start gap-4 justify-self-start desktop-xs:flex-row' }, hasCustomFilterSlot && h("slot", { key: '409423868e33814d87381c29d41cfede57deead0', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: '51c257a5ad8c65e84dac192b86c2cb291435884e', class: 'hidden desktop-xs:flex' }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
9992
9991
|
? item.text
|
|
9993
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
9992
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '6f8295a5c359b799f2f03d82e65d4f9e4acb5109', class: 'flex flex-col justify-end gap-2 desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center' }, this.enableSearch && (h("p-field", { key: 'e52e1dbe939f318c711e0f5ae25e8c667f6fcf31', icon: 'search', class: 'desktop-xs:max-w-60', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'b914ffa439de0484c5528fa9c02b4a32dc853c27', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: '5ea25448415e1b54883dc86059192b065cb23093', icon: 'filter', variant: 'secondary', class: `w-full ${this.enableFilterDesktop
|
|
9994
9993
|
? 'desktop-xs:w-auto'
|
|
9995
9994
|
: 'desktop-xs:hidden'}`, onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
9996
9995
|
? this.filterButtonTemplate()
|
|
9997
9996
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
9998
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
9997
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '38dc1a4aa1902f41b4b3e3cb85da7d442fc98fd0', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (h("p-button", { key: 'f8180ecb38e763dc2cf045c3c8e33ed276d591ab', variant: 'secondary', icon: 'upload', class: 'desktop-xs:auto w-full', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: '24b7bee12f89bb16e4e4d690ee03564fcd106638', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '6c3739a262107b564f6418a605ba6e16943c2c36', class: 'fixed bottom-0 left-0 z-[2] block w-full border border-solid border-transparent bg-white p-4 desktop-xs:hidden dark:border-t-hurricane-400 dark:bg-hurricane-500' }, this._buttonTemplate(true))))));
|
|
9999
9998
|
}
|
|
10000
9999
|
async _setLocales() {
|
|
10001
10000
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -10015,13 +10014,13 @@ TableHeader.style = tableHeaderComponentCss();
|
|
|
10015
10014
|
|
|
10016
10015
|
const tableRowComponentCss = () => `.relative{position:relative}*{box-sizing:border-box}:host{--tw-content:"";position:relative}.static{position:static}.absolute{position:absolute}.-right-4{right:-1rem}.top-1{top:.25rem}.z-\\[2\\]{z-index:2}.m-1{margin:.25rem}.mb-4{margin-bottom:1rem}.flex{display:flex}.table-row{display:table-row}.h-\\[calc\\(100\\%-0\\.5rem\\)\\]{height:calc(100% - .5rem)}.min-h-0{min-height:0}.min-h-14{min-height:3.5rem}.min-w-\\[calc\\(100\\%-0\\.5rem\\)\\]{min-width:calc(100% - .5rem)}.min-w-full{min-width:100%}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.rounded-lg{border-radius:.5rem}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pb-4{padding-bottom:1rem}.font-ambit{font-family:Ambit,sans-serif}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.empty\\:hidden:empty{display:none}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-off-white-300:hover{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.group:hover .group-hover\\:opacity-100{opacity:1}@media (min-width:40rem){.tablet\\:py-4{padding-bottom:1rem;padding-top:1rem}}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-hurricane-400:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:hover\\:bg-hurricane-600:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-hurricane-400:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:hover\\:bg-hurricane-600:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}`;
|
|
10017
10016
|
|
|
10018
|
-
const row = cva([
|
|
10017
|
+
const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative'], {
|
|
10019
10018
|
variants: {
|
|
10020
10019
|
variant: {
|
|
10021
|
-
default: [
|
|
10020
|
+
default: ['px-3 m-1', 'text-sm text-storm-500', 'dark:text-white'],
|
|
10022
10021
|
header: null,
|
|
10023
|
-
|
|
10024
|
-
secondary: [
|
|
10022
|
+
'header-secondary': 'mb-4',
|
|
10023
|
+
secondary: ['px-4', 'font-ambit text-lg font-bold'],
|
|
10025
10024
|
},
|
|
10026
10025
|
enableHover: {
|
|
10027
10026
|
true: null,
|
|
@@ -10034,63 +10033,63 @@ const row = cva(["flex min-w-[calc(100%-0.5rem)] flex-col", "group", "relative"]
|
|
|
10034
10033
|
},
|
|
10035
10034
|
compoundVariants: [
|
|
10036
10035
|
{
|
|
10037
|
-
variant:
|
|
10036
|
+
variant: 'default',
|
|
10038
10037
|
enableHover: true,
|
|
10039
|
-
class: [
|
|
10038
|
+
class: ['rounded-lg transition-colors', 'hover:cursor-pointer'],
|
|
10040
10039
|
},
|
|
10041
10040
|
{
|
|
10042
|
-
variant:
|
|
10041
|
+
variant: 'default',
|
|
10043
10042
|
enableHover: true,
|
|
10044
10043
|
checked: false,
|
|
10045
|
-
class: [
|
|
10044
|
+
class: ['hover:bg-off-white-300', 'dark:hover:bg-hurricane-600'],
|
|
10046
10045
|
},
|
|
10047
10046
|
{
|
|
10048
|
-
variant:
|
|
10047
|
+
variant: 'default',
|
|
10049
10048
|
checked: true,
|
|
10050
10049
|
class: [
|
|
10051
|
-
|
|
10052
|
-
|
|
10050
|
+
'rounded-lg transition-colors',
|
|
10051
|
+
'bg-off-white-300 dark:bg-hurricane-400 dark:hover:bg-hurricane-400',
|
|
10053
10052
|
],
|
|
10054
10053
|
},
|
|
10055
10054
|
{
|
|
10056
|
-
variant: [
|
|
10057
|
-
class: [
|
|
10055
|
+
variant: ['secondary', 'header-secondary'],
|
|
10056
|
+
class: ['bg-off-white-300 rounded-lg', 'dark:bg-hurricane-400'],
|
|
10058
10057
|
},
|
|
10059
10058
|
{
|
|
10060
|
-
variant: [
|
|
10059
|
+
variant: ['header', 'header-secondary'],
|
|
10061
10060
|
class: [
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10061
|
+
'px-4',
|
|
10062
|
+
'text-xs font-normal text-storm-400',
|
|
10063
|
+
'dark:text-hurricane-200',
|
|
10065
10064
|
],
|
|
10066
10065
|
},
|
|
10067
10066
|
],
|
|
10068
10067
|
});
|
|
10069
|
-
const content = cva(
|
|
10068
|
+
const content = cva('relative flex min-w-full flex-nowrap items-stretch justify-between', {
|
|
10070
10069
|
variants: {
|
|
10071
10070
|
variant: {
|
|
10072
10071
|
default: null,
|
|
10073
10072
|
secondary: null,
|
|
10074
|
-
header:
|
|
10075
|
-
|
|
10073
|
+
header: 'pb-4',
|
|
10074
|
+
'header-secondary': 'py-2',
|
|
10076
10075
|
},
|
|
10077
10076
|
},
|
|
10078
10077
|
compoundVariants: [
|
|
10079
10078
|
{
|
|
10080
|
-
variant: [
|
|
10081
|
-
class:
|
|
10079
|
+
variant: ['default', 'secondary'],
|
|
10080
|
+
class: 'min-h-14 py-2 tablet:py-4',
|
|
10082
10081
|
},
|
|
10083
10082
|
{
|
|
10084
|
-
variant: [
|
|
10085
|
-
class:
|
|
10083
|
+
variant: ['header', 'header-secondary'],
|
|
10084
|
+
class: 'min-h-0',
|
|
10086
10085
|
},
|
|
10087
10086
|
],
|
|
10088
10087
|
});
|
|
10089
10088
|
const actions = cva([
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10089
|
+
'absolute -right-4 top-1 z-[2]',
|
|
10090
|
+
'h-[calc(100%-0.5rem)]',
|
|
10091
|
+
'opacity-0 transition-opacity group-hover:opacity-100',
|
|
10092
|
+
'empty:hidden',
|
|
10094
10093
|
]);
|
|
10095
10094
|
const TableRow = class {
|
|
10096
10095
|
constructor(hostRef) {
|
|
@@ -10099,7 +10098,7 @@ const TableRow = class {
|
|
|
10099
10098
|
/**
|
|
10100
10099
|
* Variant of the header
|
|
10101
10100
|
*/
|
|
10102
|
-
variant =
|
|
10101
|
+
variant = 'default';
|
|
10103
10102
|
/**
|
|
10104
10103
|
* Enable hover
|
|
10105
10104
|
*/
|
|
@@ -10113,13 +10112,13 @@ const TableRow = class {
|
|
|
10113
10112
|
*/
|
|
10114
10113
|
isLast = false;
|
|
10115
10114
|
render() {
|
|
10116
|
-
return (h(ThemedHost, { key: '
|
|
10115
|
+
return (h(ThemedHost, { key: '2be589be89b6c6d1ccd5b46e73374348847ee5a1' }, h("div", { key: 'd43a94b7c9732295e0641ffc4efffdc73bb784ba', class: 'flex flex-col' }, h("div", { key: '402244a8e5b06f48b1993513ddf3c8bef695b989', class: row({
|
|
10117
10116
|
variant: this.variant,
|
|
10118
10117
|
enableHover: this.enableHover,
|
|
10119
10118
|
checked: this.checked,
|
|
10120
|
-
}) }, h("div", { key: '
|
|
10119
|
+
}) }, h("div", { key: '3941bbd80e7749cbb31249a9e742f9584d7f1540', class: content({
|
|
10121
10120
|
variant: this.variant,
|
|
10122
|
-
}) }, h("slot", { key: '
|
|
10121
|
+
}) }, h("slot", { key: 'bbcb9be829a24d7f1d527bb99564931a642ea4b4' }), h("div", { key: 'df447c6a92bbc0e7a17ee553f8c4d47841876450', class: actions() }, h("slot", { key: 'ca62989d4a7fbce5dce9ae28dc2115940eb5b182', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '6a2a83d5c136c02219fbe3ba0007ed38bd353bde' })))));
|
|
10123
10122
|
}
|
|
10124
10123
|
};
|
|
10125
10124
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10135,13 +10134,13 @@ const TableRowActionsContainer = class {
|
|
|
10135
10134
|
*/
|
|
10136
10135
|
checked = false;
|
|
10137
10136
|
render() {
|
|
10138
|
-
return (h(ThemedHost, { key: '
|
|
10137
|
+
return (h(ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, h("div", { key: 'e12fc3877b07a0596938b52d2a50f5446bdc78ae', class: cn('flex before:w-4 before:bg-gradient-to-l before:from-off-white-200', {
|
|
10139
10138
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10140
10139
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10141
|
-
}) }, h("div", { key: '
|
|
10140
|
+
}) }, h("div", { key: 'cddfbd117853e870c9801b9d5a961a029939bd19', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10142
10141
|
'dark:bg-hurricane-600': !this.checked,
|
|
10143
10142
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10144
|
-
}) }, h("slot", { key: '
|
|
10143
|
+
}) }, h("slot", { key: '647aeaa41557bc01063b60b065cf6975b33aa960' })))));
|
|
10145
10144
|
}
|
|
10146
10145
|
};
|
|
10147
10146
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|