@paperless/core 3.17.3 → 3.19.0
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/assets/icons/time/history.svg +12 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/{paperless/p-be576419.entry.js → build/p-0273292b.entry.js} +1 -1
- package/dist/{paperless/p-0aa7e5d2.entry.js → build/p-037f42f8.entry.js} +1 -1
- package/dist/build/{p-fbabae11.entry.js → p-062847ab.entry.js} +1 -1
- package/dist/{paperless/p-fca492f6.entry.js → build/p-06a28485.entry.js} +1 -1
- package/dist/build/{p-3557f8b1.entry.js → p-0cea7ced.entry.js} +1 -1
- package/dist/build/{p-3376af98.entry.js → p-0e224ef5.entry.js} +1 -1
- package/dist/{paperless/p-9c440af8.entry.js → build/p-16ba08a8.entry.js} +2 -2
- package/dist/build/{p-791d33e5.entry.js → p-1c74a638.entry.js} +1 -1
- package/dist/build/{p-a00541cc.entry.js → p-2db23f7c.entry.js} +1 -1
- package/dist/build/{p-2907111a.entry.js → p-38fdeb6a.entry.js} +1 -1
- package/dist/build/{p-3fb95d2b.entry.js → p-401dc066.entry.js} +1 -1
- package/dist/{paperless/p-11d65b3d.entry.js → build/p-474b1c2a.entry.js} +1 -1
- package/dist/build/{p-344ab157.entry.js → p-4a15aeb1.entry.js} +1 -1
- package/dist/{paperless/p-66eaca48.entry.js → build/p-4afb2057.entry.js} +1 -1
- package/dist/{paperless/p-41326183.entry.js → build/p-4d1490bb.entry.js} +1 -1
- package/dist/build/{p-c5085825.entry.js → p-5f56c9d8.entry.js} +1 -1
- package/dist/{paperless/p-9c4c942e.entry.js → build/p-64ddcf35.entry.js} +1 -1
- package/dist/build/{p-e1a16ec5.entry.js → p-6ae81fb4.entry.js} +1 -1
- package/dist/build/{p-fa7c3951.entry.js → p-715c9e03.entry.js} +1 -1
- package/dist/{paperless/p-7afccf96.entry.js → build/p-743b2cbf.entry.js} +1 -1
- package/dist/build/{p-a1a4a39e.entry.js → p-74d930a5.entry.js} +1 -1
- package/dist/{paperless/p-6dff428b.entry.js → build/p-79aaceba.entry.js} +1 -1
- package/dist/build/{p-2e850d9d.entry.js → p-852141f3.entry.js} +1 -1
- package/dist/build/{p-7fa2bbee.entry.js → p-8f669fe3.entry.js} +1 -1
- package/dist/{paperless/p-bec66e8f.entry.js → build/p-9909d12e.entry.js} +1 -1
- package/dist/{paperless/p-9a9f0cd0.entry.js → build/p-9f837fff.entry.js} +1 -1
- package/dist/{paperless/p-C8Ju8eG_.js → build/p-C8RpJKnN.js} +1 -1
- package/dist/build/{p-6XOzWrsN.js → p-R-AUQmDD.js} +1 -1
- package/dist/build/{p-043b91f5.entry.js → p-a29292dd.entry.js} +1 -1
- package/dist/build/{p-bdda2ffc.entry.js → p-ab95bbbe.entry.js} +1 -1
- package/dist/build/{p-2e61871a.entry.js → p-af902e1e.entry.js} +1 -1
- package/dist/build/{p-186454b1.entry.js → p-bae636cb.entry.js} +1 -1
- package/dist/build/{p-c6056657.entry.js → p-bafbc266.entry.js} +1 -1
- package/dist/build/p-c6e99b4e.entry.js +1 -0
- package/dist/build/{p-282b2776.entry.js → p-c7eb064e.entry.js} +1 -1
- package/dist/build/p-c9afeeb8.entry.js +1 -0
- package/dist/build/{p-5e4343f3.entry.js → p-d2240c4f.entry.js} +1 -1
- package/dist/build/{p-9232a310.entry.js → p-dc368259.entry.js} +1 -1
- package/dist/{paperless/p-faad66c1.entry.js → build/p-dca7f25c.entry.js} +1 -1
- package/dist/build/{p-7fb843e7.entry.js → p-e74337b8.entry.js} +1 -1
- package/dist/{paperless/p-34b81a42.entry.js → build/p-e756ae7b.entry.js} +1 -1
- package/dist/build/{p-a4a66b93.entry.js → p-ec3e77cd.entry.js} +1 -1
- package/dist/build/p-fcd8d2ec.js +1 -0
- package/dist/build/p-kefpJPJT.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{icons-DIczdKrP.js → icons-DOXVTo-k.js} +16 -0
- package/dist/cjs/index-BGtpSJv_.js +8 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/p-badge_3.cjs.entry.js +2 -2
- package/dist/cjs/p-button_3.cjs.entry.js +3 -3
- package/dist/cjs/p-calendar.cjs.entry.js +2 -2
- package/dist/cjs/p-card-body.cjs.entry.js +2 -2
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +2 -2
- package/dist/cjs/p-checkbox_3.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +2 -2
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +2 -2
- package/dist/cjs/p-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/p-empty-state_8.cjs.entry.js +8 -8
- package/dist/cjs/p-field_3.cjs.entry.js +2 -2
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-label.cjs.entry.js +2 -2
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-listing-line.cjs.entry.js +2 -2
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +2 -2
- package/dist/cjs/p-range.cjs.entry.js +2 -2
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +2 -2
- package/dist/cjs/p-submenu-item.cjs.entry.js +44 -0
- package/dist/cjs/p-submenu.cjs.entry.js +138 -0
- package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +3 -3
- package/dist/cjs/p-toggle.cjs.entry.js +2 -2
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{state-DM8SZBNO.js → state-iDWWYScu.js} +1 -1
- package/dist/cjs/{themed-host.component-BeeT9Ite.js → themed-host.component-B64rmI9X.js} +1 -1
- package/dist/collection/assets/icons/time/history.svg +12 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/atoms/card/header/card-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +1 -1
- 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/button/button.component.js +1 -1
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
- package/dist/collection/components/molecules/field/field/field.component.js +1 -1
- package/dist/collection/components/molecules/label/label.component.js +1 -1
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.css +1 -0
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +94 -0
- package/dist/collection/components/molecules/submenu/item/submenu-item.stories.js +20 -0
- package/dist/collection/components/molecules/submenu/menu/submenu.component.css +1 -0
- package/dist/collection/components/molecules/submenu/menu/submenu.component.js +265 -0
- package/dist/collection/components/molecules/submenu/menu/submenu.stories.js +35 -0
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +1 -1
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +2 -2
- 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 +1 -1
- package/dist/collection/state.js +1 -1
- package/dist/collection/utils/icons.js +3 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Dkr0Ta5m.js → p-1fwqR3M8.js} +1 -1
- package/dist/components/{p-CTI55iY5.js → p-3RpDMSup.js} +1 -1
- package/dist/components/{p-GYxEYTaZ.js → p-5lCEImmh.js} +1 -1
- package/dist/components/{p-BEo__1-X.js → p-7126PGGO.js} +1 -1
- package/dist/components/p-7Rfc1ojx.js +1 -0
- package/dist/components/{p-DpmybwXO.js → p-A3pxcjAg.js} +1 -1
- package/dist/components/{p-BBiGYjKk.js → p-Af4nLBaC.js} +1 -1
- package/dist/components/{p-C1Z78Vu0.js → p-B14dOrqN.js} +1 -1
- package/dist/components/{p-DM-VvZXT.js → p-B2CXe_gV.js} +1 -1
- package/dist/components/{p-BANLejQ8.js → p-BDLTMUwe.js} +1 -1
- package/dist/components/{p-B-YBFRbB.js → p-BFwIDu60.js} +1 -1
- package/dist/components/{p-C7rLlb8m.js → p-BeiwMWEL.js} +1 -1
- package/dist/components/{p-C9B5DTYx.js → p-Bi9qGen-.js} +1 -1
- package/dist/components/p-BkR9S859.js +1 -0
- package/dist/components/{p-Da9Ao_Ve.js → p-BmTrLfTO.js} +1 -1
- package/dist/components/{p-D5P9pJhK.js → p-BoWT9yqt.js} +1 -1
- package/dist/components/{p-D3wJam1N.js → p-Bwd_xz-V.js} +1 -1
- package/dist/components/{p-Bk5wUwrW.js → p-ByVFnBJQ.js} +1 -1
- package/dist/components/{p-Dz2_k8-X.js → p-BzL5UoRE.js} +1 -1
- package/dist/components/{p-BNMkjAgS.js → p-C216JB0f.js} +1 -1
- package/dist/{build/p-C8Ju8eG_.js → components/p-C8RpJKnN.js} +1 -1
- package/dist/components/{p-mLlgASil.js → p-C9okGmiF.js} +1 -1
- package/dist/components/{p-DU-stXqd.js → p-CDu9AR8v.js} +1 -1
- package/dist/components/{p-BSCgVJQ9.js → p-CLRy-4ol.js} +1 -1
- package/dist/components/{p-SUrtpFuE.js → p-CQbdPtw3.js} +1 -1
- package/dist/components/{p-CQ6JEZg6.js → p-CipXZt6g.js} +1 -1
- package/dist/components/{p-Dv2ILejF.js → p-CyuT-Yjz.js} +1 -1
- package/dist/components/{p-CjhbgGH8.js → p-CzaAM-R9.js} +1 -1
- package/dist/components/p-DhdlSO_S.js +1 -0
- package/dist/components/{p-xkXCC7GI.js → p-Dor8zrST.js} +1 -1
- package/dist/components/{p-CRBPo2To.js → p-DsbU_tk9.js} +1 -1
- package/dist/components/{p-B6hIbVwt.js → p-DwH51xRQ.js} +1 -1
- package/dist/components/{p-DHJ6_2xS.js → p-E-Q2KO4x.js} +1 -1
- package/dist/components/{p-D8faiybE.js → p-FOyqA_qR.js} +1 -1
- package/dist/components/{p-B91CxVcz.js → p-IpgRKSDU.js} +1 -1
- package/dist/components/{p-CtnPrlBW.js → p-Rp5EpePo.js} +1 -1
- package/dist/components/{p-BOJwTddb.js → p-Sl3w6Zuw.js} +1 -1
- package/dist/components/{p-7-twKt34.js → p-WnyHedyk.js} +1 -1
- package/dist/components/{p-C-ljhNrW.js → p-aF3D0pOv.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.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-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.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-dropzone.js +1 -1
- package/dist/components/p-empty-state.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-info-panel.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-COuYu8I6.js → p-nh0qWjvv.js} +1 -1
- package/dist/components/{p-Dp4CjRib.js → p-nr6mSWVU.js} +1 -1
- package/dist/components/{p-D6g8cYWI.js → p-p5xtufj9.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-submenu-item.d.ts +11 -0
- package/dist/components/p-submenu-item.js +1 -0
- package/dist/components/p-submenu.d.ts +11 -0
- package/dist/components/p-submenu.js +1 -0
- 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-C0cLQxQE.js → p-uJi0kAXM.js} +1 -1
- package/dist/components/{p-1HCkK9Pf.js → p-uMOTwHO0.js} +1 -1
- package/dist/esm/{icons-C8Ju8eG_.js → icons-C8RpJKnN.js} +16 -0
- package/dist/esm/index-yFtRjnrU.js +8 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-backdrop.entry.js +2 -2
- package/dist/esm/p-badge_3.entry.js +2 -2
- package/dist/esm/p-button_3.entry.js +3 -3
- package/dist/esm/p-calendar.entry.js +2 -2
- package/dist/esm/p-card-body.entry.js +2 -2
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +2 -2
- package/dist/esm/p-checkbox_3.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +2 -2
- package/dist/esm/p-dropdown-menu-item_2.entry.js +2 -2
- package/dist/esm/p-dropzone.entry.js +2 -2
- package/dist/esm/p-empty-state_8.entry.js +8 -8
- package/dist/esm/p-field_3.entry.js +2 -2
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-label.entry.js +2 -2
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-listing-line.entry.js +2 -2
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +3 -3
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +2 -2
- package/dist/esm/p-navigation-title.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +2 -2
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +2 -2
- package/dist/esm/p-range.entry.js +2 -2
- package/dist/esm/p-select.entry.js +2 -2
- package/dist/esm/p-stepper-item_2.entry.js +2 -2
- package/dist/esm/p-submenu-item.entry.js +42 -0
- package/dist/esm/p-submenu.entry.js +136 -0
- package/dist/esm/p-tab-item.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +3 -3
- package/dist/esm/p-toggle.entry.js +2 -2
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{state-BJbOyUuL.js → state-CbdSr-Je.js} +1 -1
- package/dist/esm/{themed-host.component-CUNsbvgN.js → themed-host.component-DQK0_ZY1.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/{build/p-be576419.entry.js → paperless/p-0273292b.entry.js} +1 -1
- package/dist/{build/p-0aa7e5d2.entry.js → paperless/p-037f42f8.entry.js} +1 -1
- package/dist/paperless/{p-fbabae11.entry.js → p-062847ab.entry.js} +1 -1
- package/dist/{build/p-fca492f6.entry.js → paperless/p-06a28485.entry.js} +1 -1
- package/dist/paperless/{p-3557f8b1.entry.js → p-0cea7ced.entry.js} +1 -1
- package/dist/paperless/{p-3376af98.entry.js → p-0e224ef5.entry.js} +1 -1
- package/dist/{build/p-9c440af8.entry.js → paperless/p-16ba08a8.entry.js} +2 -2
- package/dist/paperless/{p-791d33e5.entry.js → p-1c74a638.entry.js} +1 -1
- package/dist/paperless/{p-a00541cc.entry.js → p-2db23f7c.entry.js} +1 -1
- package/dist/paperless/{p-2907111a.entry.js → p-38fdeb6a.entry.js} +1 -1
- package/dist/paperless/{p-3fb95d2b.entry.js → p-401dc066.entry.js} +1 -1
- package/dist/{build/p-11d65b3d.entry.js → paperless/p-474b1c2a.entry.js} +1 -1
- package/dist/paperless/{p-344ab157.entry.js → p-4a15aeb1.entry.js} +1 -1
- package/dist/{build/p-66eaca48.entry.js → paperless/p-4afb2057.entry.js} +1 -1
- package/dist/{build/p-41326183.entry.js → paperless/p-4d1490bb.entry.js} +1 -1
- package/dist/paperless/{p-c5085825.entry.js → p-5f56c9d8.entry.js} +1 -1
- package/dist/{build/p-9c4c942e.entry.js → paperless/p-64ddcf35.entry.js} +1 -1
- package/dist/paperless/{p-e1a16ec5.entry.js → p-6ae81fb4.entry.js} +1 -1
- package/dist/paperless/{p-fa7c3951.entry.js → p-715c9e03.entry.js} +1 -1
- package/dist/{build/p-7afccf96.entry.js → paperless/p-743b2cbf.entry.js} +1 -1
- package/dist/paperless/{p-a1a4a39e.entry.js → p-74d930a5.entry.js} +1 -1
- package/dist/{build/p-6dff428b.entry.js → paperless/p-79aaceba.entry.js} +1 -1
- package/dist/paperless/{p-2e850d9d.entry.js → p-852141f3.entry.js} +1 -1
- package/dist/paperless/{p-7fa2bbee.entry.js → p-8f669fe3.entry.js} +1 -1
- package/dist/{build/p-bec66e8f.entry.js → paperless/p-9909d12e.entry.js} +1 -1
- package/dist/{build/p-9a9f0cd0.entry.js → paperless/p-9f837fff.entry.js} +1 -1
- package/dist/{components/p-C8Ju8eG_.js → paperless/p-C8RpJKnN.js} +1 -1
- package/dist/paperless/{p-6XOzWrsN.js → p-R-AUQmDD.js} +1 -1
- package/dist/paperless/{p-043b91f5.entry.js → p-a29292dd.entry.js} +1 -1
- package/dist/paperless/{p-bdda2ffc.entry.js → p-ab95bbbe.entry.js} +1 -1
- package/dist/paperless/{p-2e61871a.entry.js → p-af902e1e.entry.js} +1 -1
- package/dist/paperless/{p-186454b1.entry.js → p-bae636cb.entry.js} +1 -1
- package/dist/paperless/{p-c6056657.entry.js → p-bafbc266.entry.js} +1 -1
- package/dist/paperless/p-c6e99b4e.entry.js +1 -0
- package/dist/paperless/{p-282b2776.entry.js → p-c7eb064e.entry.js} +1 -1
- package/dist/paperless/p-c9afeeb8.entry.js +1 -0
- package/dist/paperless/{p-5e4343f3.entry.js → p-d2240c4f.entry.js} +1 -1
- package/dist/paperless/{p-9232a310.entry.js → p-dc368259.entry.js} +1 -1
- package/dist/{build/p-faad66c1.entry.js → paperless/p-dca7f25c.entry.js} +1 -1
- package/dist/paperless/{p-7fb843e7.entry.js → p-e74337b8.entry.js} +1 -1
- package/dist/{build/p-34b81a42.entry.js → paperless/p-e756ae7b.entry.js} +1 -1
- package/dist/paperless/{p-a4a66b93.entry.js → p-ec3e77cd.entry.js} +1 -1
- package/dist/paperless/p-kefpJPJT.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/types/components/molecules/submenu/item/submenu-item.component.d.ts +12 -0
- package/dist/types/components/molecules/submenu/item/submenu-item.stories.d.ts +21 -0
- package/dist/types/components/molecules/submenu/menu/submenu.component.d.ts +32 -0
- package/dist/types/components/molecules/submenu/menu/submenu.stories.d.ts +28 -0
- package/dist/types/components.d.ts +106 -0
- package/dist/types/utils/icons.d.ts +2 -0
- package/hydrate/index.js +234 -29
- package/hydrate/index.mjs +234 -29
- package/package.json +9 -1
- package/dist/build/p-05f7279a.js +0 -1
- package/dist/build/p-CSySY6aC.js +0 -1
- package/dist/components/p-Au2WuEGF.js +0 -1
- package/dist/components/p-BO7NYfW5.js +0 -1
- package/dist/components/p-wYHaAjO_.js +0 -1
- package/dist/paperless/p-CSySY6aC.js +0 -1
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
|
+
import { cn } from "../../../../utils";
|
|
5
|
+
const header = cva([
|
|
6
|
+
'group/submenu-header',
|
|
7
|
+
'flex items-center gap-2',
|
|
8
|
+
'py-1 pl-2 pr-4',
|
|
9
|
+
'rounded-lg',
|
|
10
|
+
'cursor-pointer',
|
|
11
|
+
'transition-colors',
|
|
12
|
+
], {
|
|
13
|
+
variants: {
|
|
14
|
+
open: {
|
|
15
|
+
true: `
|
|
16
|
+
bg-off-white-300
|
|
17
|
+
dark:bg-storm-500/20
|
|
18
|
+
`,
|
|
19
|
+
false: '',
|
|
20
|
+
},
|
|
21
|
+
active: {
|
|
22
|
+
true: `
|
|
23
|
+
bg-indigo-50
|
|
24
|
+
dark:bg-indigo-600/30
|
|
25
|
+
`,
|
|
26
|
+
false: `
|
|
27
|
+
hover:bg-indigo-50
|
|
28
|
+
dark:hover:bg-indigo-600/10
|
|
29
|
+
`,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
compoundVariants: [],
|
|
33
|
+
});
|
|
34
|
+
const indexContainer = cva([
|
|
35
|
+
'm-2 size-4 rounded-full p-2',
|
|
36
|
+
`
|
|
37
|
+
text-xs font-semibold text-storm-500
|
|
38
|
+
dark:text-hurricane-500
|
|
39
|
+
`,
|
|
40
|
+
'transition-colors',
|
|
41
|
+
'flex items-center justify-center',
|
|
42
|
+
], {
|
|
43
|
+
variants: {
|
|
44
|
+
open: {
|
|
45
|
+
true: 'bg-indigo-500',
|
|
46
|
+
false: '',
|
|
47
|
+
},
|
|
48
|
+
active: {
|
|
49
|
+
true: 'bg-indigo-500',
|
|
50
|
+
false: '',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
compoundVariants: [
|
|
54
|
+
{
|
|
55
|
+
open: false,
|
|
56
|
+
active: false,
|
|
57
|
+
class: 'bg-indigo-200',
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
});
|
|
61
|
+
export class Submenu {
|
|
62
|
+
/**
|
|
63
|
+
* Title of the submenu
|
|
64
|
+
*/
|
|
65
|
+
title = '';
|
|
66
|
+
/**
|
|
67
|
+
* Subtitle of the submenu
|
|
68
|
+
*/
|
|
69
|
+
subtitle = '';
|
|
70
|
+
/**
|
|
71
|
+
* Index of the submenu
|
|
72
|
+
*/
|
|
73
|
+
index = 0;
|
|
74
|
+
/**
|
|
75
|
+
* Wether to show the index
|
|
76
|
+
*/
|
|
77
|
+
showIndex = true;
|
|
78
|
+
/**
|
|
79
|
+
* Wether the submenu is active or not
|
|
80
|
+
*/
|
|
81
|
+
active = false;
|
|
82
|
+
/**
|
|
83
|
+
* Wether the submenu is open or not
|
|
84
|
+
*/
|
|
85
|
+
open = false;
|
|
86
|
+
/**
|
|
87
|
+
* The host element
|
|
88
|
+
*/
|
|
89
|
+
_el;
|
|
90
|
+
componentDidLoad() {
|
|
91
|
+
const submenuItems = this._el.querySelectorAll('p-submenu-item');
|
|
92
|
+
const hasActiveChild = [...submenuItems].some(i => i.active === true);
|
|
93
|
+
if (!this.active && hasActiveChild) {
|
|
94
|
+
this.active = true;
|
|
95
|
+
}
|
|
96
|
+
if (!this.active) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
this.open = true;
|
|
100
|
+
}
|
|
101
|
+
render() {
|
|
102
|
+
const submenuItems = this._el.querySelectorAll('p-submenu-item');
|
|
103
|
+
const firstItem = getComputedStyle(submenuItems[0]);
|
|
104
|
+
const maxHeight = submenuItems.length *
|
|
105
|
+
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
106
|
+
16; // the margin of the content
|
|
107
|
+
return (h(ThemedHost, { key: '110fad52ce96c4fc855408b422a42956b957d092' }, h("div", { key: '0b8f40db722e7c6f6ba8ded2e33a6776af28f0dc', class: 'flex w-full flex-col' }, h("div", { key: '23aa3cf5a7ece75e3fb6312e2e2173d68b2dcd86', class: cn(header({
|
|
108
|
+
active: this.active,
|
|
109
|
+
open: this.open,
|
|
110
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: 'a24b117f984eb4392a90b47fd8363e7e320cb84a', class: indexContainer({
|
|
111
|
+
active: this.active,
|
|
112
|
+
open: this.open,
|
|
113
|
+
}) }, this.index)), h("div", { key: '76fb811ac456b88a7f3d3df3b5badfaf9fe6170f', class: 'flex flex-1 flex-col' }, h("p", { key: 'd2dc662ee53ca37a0f971ce372c3e1a1528717e5', class: cn('m-0 text-sm', {
|
|
114
|
+
'text-storm-400 group-hover/submenu-header:text-white dark:text-hurricane-100': !this.active,
|
|
115
|
+
'text-storm-500 dark:text-white': this.active,
|
|
116
|
+
}) }, this.title), h("p", { key: '60b63c450874ee68b0857641e01a4b0a5d14fe0d', class: cn('m-0 text-xs', {
|
|
117
|
+
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
118
|
+
'text-storm-300 dark:text-indigo-200': this.active,
|
|
119
|
+
}) }, this.subtitle)), h("p-icon", { key: '89e2bea66fb7e67633e9678648d6756352adeecf', class: cn({
|
|
120
|
+
'text-storm-500 dark:text-white': this.active,
|
|
121
|
+
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
122
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: 'bfdb4d322cf02a5dd7dfacd79c39c4253a2b8518', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
123
|
+
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
124
|
+
} }, h("div", { key: '9928a528f546820946876952f5e49faba0f0ebc0', class: '\n absolute left-[calc(1.5rem)] top-0 z-0 w-px bg-indigo-100\n dark:bg-hurricane-400\n ', style: {
|
|
125
|
+
height: `${maxHeight}px`,
|
|
126
|
+
} }), h("div", { key: '17c48e3c23851adf85dbf98951486b1e6536f10d', class: 'z-10 my-2 flex flex-col' }, h("slot", { key: 'acfd6ce55e564b140706e6f087e839017c782d1f' }))))));
|
|
127
|
+
}
|
|
128
|
+
static get is() { return "p-submenu"; }
|
|
129
|
+
static get encapsulation() { return "shadow"; }
|
|
130
|
+
static get originalStyleUrls() {
|
|
131
|
+
return {
|
|
132
|
+
"$": ["submenu.component.css"]
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
static get styleUrls() {
|
|
136
|
+
return {
|
|
137
|
+
"$": ["submenu.component.css"]
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
static get properties() {
|
|
141
|
+
return {
|
|
142
|
+
"title": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "string",
|
|
147
|
+
"resolved": "string",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": "Title of the submenu"
|
|
155
|
+
},
|
|
156
|
+
"getter": false,
|
|
157
|
+
"setter": false,
|
|
158
|
+
"reflect": true,
|
|
159
|
+
"attribute": "title",
|
|
160
|
+
"defaultValue": "''"
|
|
161
|
+
},
|
|
162
|
+
"subtitle": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "string",
|
|
167
|
+
"resolved": "string",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": "Subtitle of the submenu"
|
|
175
|
+
},
|
|
176
|
+
"getter": false,
|
|
177
|
+
"setter": false,
|
|
178
|
+
"reflect": true,
|
|
179
|
+
"attribute": "subtitle",
|
|
180
|
+
"defaultValue": "''"
|
|
181
|
+
},
|
|
182
|
+
"index": {
|
|
183
|
+
"type": "number",
|
|
184
|
+
"mutable": false,
|
|
185
|
+
"complexType": {
|
|
186
|
+
"original": "number",
|
|
187
|
+
"resolved": "number",
|
|
188
|
+
"references": {}
|
|
189
|
+
},
|
|
190
|
+
"required": false,
|
|
191
|
+
"optional": false,
|
|
192
|
+
"docs": {
|
|
193
|
+
"tags": [],
|
|
194
|
+
"text": "Index of the submenu"
|
|
195
|
+
},
|
|
196
|
+
"getter": false,
|
|
197
|
+
"setter": false,
|
|
198
|
+
"reflect": true,
|
|
199
|
+
"attribute": "index",
|
|
200
|
+
"defaultValue": "0"
|
|
201
|
+
},
|
|
202
|
+
"showIndex": {
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"mutable": false,
|
|
205
|
+
"complexType": {
|
|
206
|
+
"original": "boolean",
|
|
207
|
+
"resolved": "boolean",
|
|
208
|
+
"references": {}
|
|
209
|
+
},
|
|
210
|
+
"required": false,
|
|
211
|
+
"optional": false,
|
|
212
|
+
"docs": {
|
|
213
|
+
"tags": [],
|
|
214
|
+
"text": "Wether to show the index"
|
|
215
|
+
},
|
|
216
|
+
"getter": false,
|
|
217
|
+
"setter": false,
|
|
218
|
+
"reflect": true,
|
|
219
|
+
"attribute": "show-index",
|
|
220
|
+
"defaultValue": "true"
|
|
221
|
+
},
|
|
222
|
+
"active": {
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"mutable": false,
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "boolean",
|
|
227
|
+
"resolved": "boolean",
|
|
228
|
+
"references": {}
|
|
229
|
+
},
|
|
230
|
+
"required": false,
|
|
231
|
+
"optional": false,
|
|
232
|
+
"docs": {
|
|
233
|
+
"tags": [],
|
|
234
|
+
"text": "Wether the submenu is active or not"
|
|
235
|
+
},
|
|
236
|
+
"getter": false,
|
|
237
|
+
"setter": false,
|
|
238
|
+
"reflect": true,
|
|
239
|
+
"attribute": "active",
|
|
240
|
+
"defaultValue": "false"
|
|
241
|
+
},
|
|
242
|
+
"open": {
|
|
243
|
+
"type": "boolean",
|
|
244
|
+
"mutable": false,
|
|
245
|
+
"complexType": {
|
|
246
|
+
"original": "boolean",
|
|
247
|
+
"resolved": "boolean",
|
|
248
|
+
"references": {}
|
|
249
|
+
},
|
|
250
|
+
"required": false,
|
|
251
|
+
"optional": false,
|
|
252
|
+
"docs": {
|
|
253
|
+
"tags": [],
|
|
254
|
+
"text": "Wether the submenu is open or not"
|
|
255
|
+
},
|
|
256
|
+
"getter": false,
|
|
257
|
+
"setter": false,
|
|
258
|
+
"reflect": true,
|
|
259
|
+
"attribute": "open",
|
|
260
|
+
"defaultValue": "false"
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
static get elementRef() { return "_el"; }
|
|
265
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { html, nothing } from "lit";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Design System/Molecules/Submenu/Menu',
|
|
4
|
+
component: 'p-submenu',
|
|
5
|
+
args: {
|
|
6
|
+
title: "Submenu",
|
|
7
|
+
subtitle: "Submenu subtitle",
|
|
8
|
+
index: 1,
|
|
9
|
+
},
|
|
10
|
+
parameters: {
|
|
11
|
+
docs: {
|
|
12
|
+
iframeHeight: 600,
|
|
13
|
+
story: {
|
|
14
|
+
height: '700px',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
export const Default = {
|
|
21
|
+
render: ({ active, open, title, subtitle, index, showIndex }) => html `
|
|
22
|
+
<p-submenu
|
|
23
|
+
title=${title ?? nothing}
|
|
24
|
+
subtitle=${subtitle ?? nothing}
|
|
25
|
+
active=${active ?? nothing}
|
|
26
|
+
open=${open ?? nothing}
|
|
27
|
+
index=${index ?? nothing}
|
|
28
|
+
show-index=${showIndex ?? nothing}
|
|
29
|
+
>
|
|
30
|
+
<p-submenu-item>Item 2</p-submenu-item>
|
|
31
|
+
<p-submenu-item>Item 3</p-submenu-item>
|
|
32
|
+
<p-submenu-item>Item 4</p-submenu-item>
|
|
33
|
+
</p-submenu>
|
|
34
|
+
`
|
|
35
|
+
};
|
|
@@ -87,7 +87,7 @@ export class TableCell {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(ThemedHost, { key: '
|
|
90
|
+
return (h(ThemedHost, { key: 'eb7f83afc2969cb84be91c81b5112566612a3604', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: '622df15a7f8fe3630fd61c522024fce8829e6d3b' }, h("div", { key: '53b4229cd2c4fa1aab5ce2bc85e2403a5aabfd13', class: 'pl-8' }), h("div", { key: 'e1dd2b9db0f175b955dca47b8b5dfc7ea1a1c3e6', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: '23429ef7a9589400633a46d81998ac1b36179112', class: 'justify-start justify-end justify-center' }), h("div", { key: '79211afc47417b0661df690a77527fc91d023bad', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: 'fee4818e4e6f4eda47c288746e6bf99bab29ffc7', class: '\n w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12\n w-9/12 w-full\n ' }), h("div", { key: '7dd4592dbbeca8ad7d01ed6dadaa534d8b901236', class: '\n tablet:w-1/12 tablet:w-10/12 tablet:w-11/12 tablet:w-2/12 tablet:w-3/12\n tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12\n tablet:w-9/12 tablet:w-full\n ' }), h("div", { key: 'e0dab32cdae19ba7a541722bfbedaed32ff84c98', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: 'ea30da0da0b850236e823c1b9acf1ef0f36ca637', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: 'f716f788d2d401a46b1865c264331b953150716f', class: '\n desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/12\n desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12\n desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12\n desktop-sm:w-full\n ' }), h("div", { key: 'fbf093e35e8fb55c91be8a4b6e7180590111003c', class: '\n desktop:w-1/12 desktop:w-10/12 desktop:w-11/12 desktop:w-2/12\n desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12\n desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-full\n ' }), h("div", { key: 'e1a982004f4c794f8ec6773ebd79b83b584b372d', class: '\n desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/12\n desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12\n desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12\n desktop-lg:w-full\n ' }), h("div", { key: '4945eba2b25bf176df7579e1428bbb8ff77b5923', class: '\n desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/12\n desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12\n desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12\n desktop-xl:w-full\n ' }), h("div", { key: '0623d2ee4df67c07a78a816c7ccd72c6525aa4a5', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: 'd7ac328177a81331698b4d95d92cbe6e9bebc225', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: 'b51e376d7d7d4482ad75777cbdb266033dcadac4', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: '7bdf32ee1f3f1d37be696ebfdac88b548984334d', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: '3c0417fdfe115d45c59e5568b88206ab6b1e44de', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: 'd56c9f810330d2ae894848305ff248844a1b9b24', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: '4610e906b3f8eed659fafeb8f2d146791557c362', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: 'cd21c4b6bac54d6b2ee0973350d799eb1db93e59', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: 'c9facda1a055ae424d0ad35fe9a15aa67220d261', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: 'd65719ece6cb880a73e566cdfb0054d16935978c', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: 'ff3ebf9eff355f49257466332c4a35f14339a7c8', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: 'b0eedcb7258be3f17c9888003377238ffbe76921', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '2f59176c088a24071c2643c30b06a67048e162a3', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: 'e248b9cae31b5012ee42cb2c8ea4af01b8b96b9c', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
|
|
91
91
|
}
|
|
92
92
|
_getContent() {
|
|
93
93
|
if (this.variant === 'loading') {
|
|
@@ -107,12 +107,12 @@ export class TableFooter {
|
|
|
107
107
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '166a446120f9a346cd32cd9b750a3db756f30797' }, h("div", { key: '28d48e2f706c97a3da47c28269c0fa4551eaf5ed', class: footer({
|
|
111
111
|
pinned: this._isPinned,
|
|
112
112
|
hidden: this._hidden,
|
|
113
113
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
114
114
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
115
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
115
|
+
this.total > 0 && (h("p-pagination", { key: '2fa3e65aab7a8d701626ff17645a9e9fc3d341fd', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
116
116
|
}
|
|
117
117
|
_changePageSize(s) {
|
|
118
118
|
if (!s) {
|
|
@@ -488,7 +488,7 @@ export class TableHeader {
|
|
|
488
488
|
"mutable": false,
|
|
489
489
|
"complexType": {
|
|
490
490
|
"original": "IconVariant",
|
|
491
|
-
"resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
|
|
491
|
+
"resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"history\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
|
|
492
492
|
"references": {
|
|
493
493
|
"IconVariant": {
|
|
494
494
|
"location": "import",
|
|
@@ -107,13 +107,13 @@ export class TableRow {
|
|
|
107
107
|
*/
|
|
108
108
|
isLast = false;
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '98252cd216cba353cf4e169a7f9850b7f373b93e' }, h("div", { key: 'de85352410756fa4b6d555763d5811ff8e70ce67', class: 'flex flex-col' }, h("div", { key: 'c56a01847cde5b860524169165c5f44c78de9d1a', class: row({
|
|
111
111
|
variant: this.variant,
|
|
112
112
|
enableHover: this.enableHover,
|
|
113
113
|
checked: this.checked,
|
|
114
|
-
}) }, h("div", { key: '
|
|
114
|
+
}) }, h("div", { key: '8074d9c5617995d40dd06cc8f1e0d53f51db7fa7', class: content({
|
|
115
115
|
variant: this.variant,
|
|
116
|
-
}) }, h("slot", { key: '
|
|
116
|
+
}) }, h("slot", { key: 'c981dfaaa4e3f9c7ba350650e8239bf2b0f77780' }), h("div", { key: 'b51eabcfe145dc6fe263750e9a49ef84ae3ec9df', class: actions() }, h("slot", { key: 'a558a1b83cbcc339dd6223502adf978b5fd46e16', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'b5ca42d03270067f116206c9d291b520ff4db796' })))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "p-table-row"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class Toast {
|
|
|
61
61
|
*/
|
|
62
62
|
action;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: '7f1d26d48ba72212d4bea0047c2645d588ae9ca0' }, h("div", { key: '7a02f52c3f482c36048ddd6aa052e94522ae9eb6', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, h("div", { key: '77418e7e7b8ce6cee4018d91888e14205bf37e42', class: indicator({ variant: this.variant }) }), h("div", { key: '958c676bdbb79d6fa812d3fa9a48d35e674d9390', class: content() }, h("div", { key: '4da4e4b7cb402d68083001713aeb9de9534eb2c0', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '1079c6b6be804514906615985cd1503d417fe1e7', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: 'c7f0ad542870b8924d15b9e1b79cf9cb4e04645e', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: 'a286d1394e72cd729353443ed2a214cf884f84cf', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '9ecb91fdf9154fa881b16a5c3a028eb9dc7e5b9e', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
65
65
|
}
|
|
66
66
|
_onClick() {
|
|
67
67
|
if (this.enableAction) {
|
|
@@ -165,7 +165,7 @@ export class Toast {
|
|
|
165
165
|
"mutable": false,
|
|
166
166
|
"complexType": {
|
|
167
167
|
"original": "IconVariant",
|
|
168
|
-
"resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
|
|
168
|
+
"resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"history\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
|
|
169
169
|
"references": {
|
|
170
170
|
"IconVariant": {
|
|
171
171
|
"location": "import",
|
|
@@ -18,10 +18,10 @@ export class Listing {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '2804d4c9827b8c474be59e85929ac3e5c7a8b832', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
22
22
|
'opacity-100': this._generatedOnce,
|
|
23
23
|
'opacity-0': !this._generatedOnce,
|
|
24
|
-
}) }, h("slot", { key: '
|
|
24
|
+
}) }, h("slot", { key: '8c55a162dcdaca095c6e5869e204e50784e37369', onSlotchange: () => this._generateLinesOnce() })));
|
|
25
25
|
}
|
|
26
26
|
_generateLinesOnce() {
|
|
27
27
|
if (this._generateTimeout) {
|
|
@@ -61,7 +61,7 @@ const backdrop = cva([
|
|
|
61
61
|
export class Navbar {
|
|
62
62
|
_show = false;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'bc5079cb3704d2db26d1f8be020cdf60f0a716d8' }, h("p-backdrop", { key: '8e530cc8e3823a49e32a4821416163214a16cf7c', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '965d4b28217709da09cc6eb47bda38bc452e05f7', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'ee0fd8bdbcd4af099c8b8eaf84595c553cc1bfb4', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: 'e0782f8439f47613a6ec58271069bf3034289750', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '1fdfb8308644046db8023df990ea7ddd83dcf262', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '994d94f3c6e868c7998f1e99da450c0886e4bbfe', name: 'company' })), h("div", { key: 'c047c41e1d3ca938a9f92272bde090179d14b086', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '552845f3097fa92eee1a37ac02d158f9edde72d5', name: 'content' })), h("div", { key: 'dd477e40950e95ff28dc18f31d337d978693cac8', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '767b851a061a0e573e8215aa6727b7618c610d1e', name: 'user' }))), h("div", { key: '0264c176351bdb91606fe45aabb193b982f62a65', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'c7ed3bd86467f165cf2902c39851aa374997892c', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: 'df81ccf93abf33a58c03c4a5c1ee49cbfcee70a6', name: 'topbar' }))));
|
|
65
65
|
}
|
|
66
66
|
handleCloseNavbar() {
|
|
67
67
|
this._show = false;
|
|
@@ -1163,7 +1163,7 @@ export class Table {
|
|
|
1163
1163
|
"mutable": false,
|
|
1164
1164
|
"complexType": {
|
|
1165
1165
|
"original": "IconVariant",
|
|
1166
|
-
"resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
|
|
1166
|
+
"resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"history\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
|
|
1167
1167
|
"references": {
|
|
1168
1168
|
"IconVariant": {
|
|
1169
1169
|
"location": "import",
|
package/dist/collection/state.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createStore } from "@stencil/store";
|
|
|
2
2
|
export const stateThemeOptions = ['light', 'dark'];
|
|
3
3
|
export const stateLocaleOptions = ['nl', 'en'];
|
|
4
4
|
const { state: localState, onChange } = createStore({
|
|
5
|
-
theme: stateThemeOptions[
|
|
5
|
+
theme: stateThemeOptions[1],
|
|
6
6
|
locale: stateLocaleOptions[0],
|
|
7
7
|
});
|
|
8
8
|
export const initTheme = (usePreferColorScheme = true, localStorageKey = false) => {
|
|
@@ -117,6 +117,7 @@ import calendarMulti from "../assets/icons/time/calendar-multi.svg";
|
|
|
117
117
|
import calendarNotFree from "../assets/icons/time/calendar-not-free.svg";
|
|
118
118
|
import calendar from "../assets/icons/time/calendar.svg";
|
|
119
119
|
import clock from "../assets/icons/time/clock.svg";
|
|
120
|
+
import history from "../assets/icons/time/history.svg";
|
|
120
121
|
import addressBook from "../assets/icons/users/address-book.svg";
|
|
121
122
|
import female from "../assets/icons/users/female.svg";
|
|
122
123
|
import idTwo from "../assets/icons/users/id-two.svg";
|
|
@@ -256,6 +257,7 @@ export const categorized = {
|
|
|
256
257
|
'calendar-free': calendarFree,
|
|
257
258
|
'calendar-not-free': calendarNotFree,
|
|
258
259
|
clock,
|
|
260
|
+
history,
|
|
259
261
|
},
|
|
260
262
|
users: {
|
|
261
263
|
'address-book': addressBook,
|
|
@@ -396,6 +398,7 @@ export const icons = {
|
|
|
396
398
|
'calendar-free': calendarFree,
|
|
397
399
|
'calendar-not-free': calendarNotFree,
|
|
398
400
|
clock,
|
|
401
|
+
history,
|
|
399
402
|
//users
|
|
400
403
|
'address-book': addressBook,
|
|
401
404
|
female,
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CySg37XO.js";import{s as t}from"./p-CWO2YJCh.js";export{g as getScreenSize,b as getScreenSizeInPixels,a as getScreenSizeInRem,d as isBetweenScreens,i as isBiggerThanScreen,j as isDesktop,f as isMobile,c as isSmallerThanScreen,h as isTablet,e as isTouchDevice}from"./p-CWO2YJCh.js";export{i as initTheme,o as onStateChange,s as state,a as stateLocaleOptions,b as stateThemeOptions}from"./p-BBiGYjKk.js";export{c as childOf,a as childOfComposed}from"./p-TyZ7uPES.js";export{c as categorized,i as icons}from"./p-C8Ju8eG_.js";export{f as formatTranslation,g as getLocaleComponentStrings}from"./p-CwQG70_4.js";export{f as floatingMenuContainerClass,g as getTableCellColumnClasses,a as getTableCellSizes,o as objectGetByPath}from"./p-WEZng7dj.js";export{i as isMobileBrowser}from"./p-DPc49L2n.js";export{g as getOS,e as isAndroid,i as isApple,b as isIOS,d as isLinux,a as isMac,c as isWindows}from"./p-CzUyWlXA.js";export{c as cn}from"./p-xs4N_Y-0.js";export{P as PAGINATION_DEFAULT_PAGE_SIZE,a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS,S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS,T as TABLE_COLUMN_SIZES}from"./p-CEaB2BT0.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,m,p,v,u,x,F={},w={};function E(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});const a=t((l||(l=1,function(e){function a(e,a){return{handler:e,config:a}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),a.withOptions=function(e,a=()=>({})){const t=function(t){return{__options:t,handler:e(t),config:a(t)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=a,t};const t=a}(w)),w));function t(e){return e&&e.__esModule?e:{default:e}}const s=a.default}(F)),F}function C(){if(v)return p;v=1;let e=E();return p=(e.__esModule?e:{default:e}).default}var O,A,B=function(){if(x)return u;x=1;const e=C(),a={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},t={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},s={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},r=e((function({addComponents:e,matchComponents:r,theme:n,variants:o,e:i}){const l=n("aspectRatio");if(r)return r({"aspect-w":e=>[{...a,"--tw-aspect-w":e},{"> *":t}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(s);const f=Object.entries(l).map((([e,a])=>"."+i("aspect-w-"+e))).join(",\n"),m=Object.entries(l).map((([e,a])=>`.${i("aspect-w-"+e)} > *`)).join(",\n");e([{[f]:a,[m]:t},s,Object.entries(l).map((([e,a])=>({["."+i("aspect-w-"+e)]:{"--tw-aspect-w":a}}))),Object.entries(l).map((([e,a])=>({["."+i("aspect-h-"+e)]:{"--tw-aspect-h":a}})))],o("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});return u=r}(),D=n(B),y=n(function(){if(A)return O;A=1;const e=C()((function({addUtilities:e}){e({".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}},["responsive"])}));return O=e}()),I=n(C());const Y=({addVariant:e})=>{e("has-hover","@media (hover: hover)"),e("no-hover","@media (hover: none)"),e("hover-never","@media (hover: hover) { &:hover }"),e("group-hover-never","@media (hover: hover) { :merge(.group):hover & }"),e("peer-hover-never","@media (hover: hover) { :merge(.peer):hover & }"),e("hover-always",["@media (hover: hover) { &:hover }","@media (hover: none)"]),e("group-hover-always",["@media (hover: hover) { :merge(.group):hover & }","@media (hover: none)"]),e("peer-hover-always",["@media (hover: hover) { :merge(.peer):hover & }","@media (hover: none)"])},_=({addUtilities:e})=>{e({".m-safe":{marginTop:"env(safe-area-inset-top)",marginRight:"env(safe-area-inset-right)",marginBottom:"env(safe-area-inset-bottom)",marginLeft:"env(safe-area-inset-left)"},".mx-safe":{marginRight:"env(safe-area-inset-right)",marginLeft:"env(safe-area-inset-left)"},".my-safe":{marginTop:"env(safe-area-inset-top)",marginBottom:"env(safe-area-inset-bottom)"},".my-safe-2":{marginTop:"calc(env(safe-area-inset-top)+0.5rem)",marginBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".mt-safe":{marginTop:"env(safe-area-inset-top)"},".mr-safe":{marginRight:"env(safe-area-inset-right)"},".mb-safe":{marginBottom:"env(safe-area-inset-bottom)"},".ml-safe":{marginLeft:"env(safe-area-inset-left)"},".p-safe":{paddingTop:"env(safe-area-inset-top)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",paddingLeft:"env(safe-area-inset-left)"},".px-safe":{paddingRight:"env(safe-area-inset-right)",paddingLeft:"env(safe-area-inset-left)"},".py-safe":{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},".py-safe-2":{paddingTop:"calc(env(safe-area-inset-top)+0.5rem)",paddingBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".pt-safe":{paddingTop:"env(safe-area-inset-top)"},".pr-safe":{paddingRight:"env(safe-area-inset-right)"},".pb-safe":{paddingBottom:"env(safe-area-inset-bottom)"},".pl-safe":{paddingLeft:"env(safe-area-inset-left)"},".min-h-screen":{minHeight:"100vh"},".min-h-screen-safe":{minHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".max-h-screen":{maxHeight:"100vh"},".max-h-screen-safe":{maxHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".h-screen-safe":{height:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".min-w-screen":{minWidth:"100vw"},".min-w-screen-safe":{minWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".max-w-screen":{maxWidth:"100vw"},".max-w-screen-safe":{maxWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".w-screen-safe":{width:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"}})};var L={animation:{"fade-in":"forwards fadeIn .2s ease","fade-out":"forwards fadeOut .2s ease","slide-in-right":"forwards slideInRight .5s ease","slide-in-left":"forwards slideInLeft .5s ease","slide-in-top":"forwards slideInTop .25 ease","slide-in-bottom":"forwards slideInBottom .5s ease","slide-in-right-small":"forwards slideInRightSmall .5s ease","slide-in-left-small":"forwards slideInLeftSmall .5s ease","slide-in-top-small":"forwards slideInTopSmall .5s ease","slide-in-bottom-small":"forwards slideInBottomSmall .5s ease","slide-out-right":"forwards slideOutRight .2s ease","slide-out-left":"forwards slideOutLeft .2s ease","slide-out-top":"forwards slideOutTop .2s ease","slide-out-bottom":"forwards slideOutBottom .5s ease","slide-out-top-small":"forwards slideOutTopSmall .5s ease","slide-out-bottom-small":"forwards slideOutBottomSmall .5s ease","floating-menu-container-out":"forwards floatingMenuContainerOut .5s ease","floating-menu-container-in":"forwards floatingMenuContainerIn .5s ease",wave:"wave .5s ease-in-out -0.5s infinite alternate forwards"},keyframes:{fadeIn:{"0%":{opacity:"0"},"100%":{opacity:"100"}},fadeOut:{"0%":{opacity:"100"},"100%":{opacity:"0"}},slideInRight:{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0)"}},slideInLeft:{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0)"}},slideInTop:{"0%":{transform:"translateY(-100%)"},"100%":{transform:"translateY(0)"}},slideInBottom:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0)"}},slideInRightSmall:{"0%":{transform:"translateX(20%)"},"100%":{transform:"translateX(0)"}},slideInLeftSmall:{"0%":{transform:"translateX(-20%)"},"100%":{transform:"translateX(0)"}},slideInTopSmall:{"0%":{transform:"translateY(-20%)"},"100%":{transform:"translateY(0)"}},slideInBottomSmall:{"0%":{transform:"translateY(20%)"},"100%":{transform:"translateY(0)"}},slideOutRight:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(100%)"}},slideOutLeft:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-100%)"}},slideOutTop:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-100%)"}},slideOutBottom:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(100%)"}},slideOutTopSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-20%)"}},slideOutBottomSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(20%)"}},floatingMenuContainerOut:{"0%":{display:"flex",transform:"translateY(0)",opacity:"100"},"99%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"none",transform:"translateY(100%)",opacity:"0"}},floatingMenuContainerIn:{"0%":{display:"none",transform:"translateY(100%)",opacity:"0"},"1%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"flex",transform:"translateY(0)",opacity:"100"}},wave:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(-15deg)"}}}};const R={};for(let e=1;e<360;e++)R[""+e]=e+"deg",R["-"+e]=`-${e}deg`;var k={1:["0 1px 1px rgba(0, 2, 2, 0.08)"],2:["0 1px 1px rgba(0, 2, 2, 0.04)","0 2px 2px rgba(0, 2, 2, 0.04)","0 4px 4px rgba(0, 2, 2, 0.04)"],3:["0 1px 1px rgba(0, 2, 2, 0.08)","0 2px 2px rgba(0, 2, 2, 0.08)","0 4px 4px rgba(0, 2, 2, 0.08)"],modal:["0 0 0 1px rgba(0, 2, 2, 0.10)","0 1px 1px 0 rgba(0, 2, 2, 0.20)","0 2px 2px 0 rgba(0, 2, 2, 0.08)","0 4px 4px 0 rgba(0, 2, 2, 0.08)","0 8px 8px 0 rgba(0, 2, 2, 0.08)"],"supportive-lilac":"0px 1px 1px rgba(189, 140, 255, 0.20)","storm-10%":"0px 1px 0px rgba(3, 42, 36, 0.1)","primary-button":"0px 1px 1px 0px rgba(24, 30 41, 0.08)","off-white-600":"0px 0px 0px 1px #ECEAE5",inherit:"inherit",transparent:"transparent"},X={fontSize:{xxs:["0.5rem","1rem"],"3xl":["2rem","2.5rem"],"4xl":["2.5rem","3rem"]},lineHeight:{xs:"1rem",sm:"1.5rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.5rem","4xl":"3rem"}};const M=I((e=>{_(e),Y(e)}),{theme:{colors:{inherit:"inherit",transparent:"transparent",current:"currentColor",black:"#000",white:{800:"#E4E3E3",700:"#F2F2F2",600:"#FAFAFA",500:"#FFFFFF",DEFAULT:"#FFFFFF"},"negative-red":{800:"#8D1010",700:"#931010",500:"#E61E1E",100:"#FFDDDD",50:"#FDEDED",alternative:"#FF5C5C"},"positive-green":{800:"#2F6407",500:"#5CC30E",100:"#D5FBC7",50:"#EAFDE3",alternative:"#62FF5C"},amber:{800:"#944D0B",500:"#E19F23",100:"#FFF6C2",50:"#FFFAE0",alternative:"#FFE75C"},indigo:{900:"#1349B6",800:"#1B58D2",700:"#2F6FF0",600:"#528AFA",500:"#8EB3FB",400:"#A5C2FC",300:"#BBD1FD",200:"#C7D9FD",100:"#E3ECFE",50:"#F1F6FF"},storm:{800:"#020815",700:"#080F1C",600:"#0F1622",500:"#181E29",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},hurricane:{900:"#020815",800:"#181E29",700:"#232934",600:"#2E343E",500:"#363C46",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},"off-white":{800:"#D5D0C3",700:"#DEDBD5",600:"#ECEAE5",500:"#F3F1ED",400:"#F5F4F1",300:"#F8F7F4",200:"#FAF9F8",100:"#FDFCFB",50:"#FEFEFD"}},boxShadow:k,dropShadow:k,extend:{animation:L.animation,keyframes:L.keyframes,fontFamily:{geist:["Geist","serif"],ambit:["Ambit","sans-serif"]},scale:{flip:"-1"},rotate:R,fontSize:X.fontSize,lineHeight:X.lineHeight,zIndex:{"floating-menu":"190",dropdown:"200","navbar-topbar":"280","navbar-backdrop":"290",navbar:"300",tooltip:"400",datepicker:"401",backdrop:"490",drawer:"500","drawer-header":"501",modal:"600",toast:"700"},screens:t,width:{unset:"unset",inherit:"inherit","content-mobile":"100%","content-1280":"62rem","content-1440":"71rem","content-1536":"77rem","content-1680":"83rem","sidebar-desktop-login":"100%","content-desktop-login":"21rem"},height:{unset:"unset",inherit:"inherit"},spacing:{"content-mobile-x":"1rem","content-mobile-y":"1.5rem","content-desktop-x":"2rem","content-desktop-y":"2rem",18:"4.5rem"},aspectRatio:{branding:"23/24"}}},plugins:[D,y,_,Y]}),z=e=>e.replaceAll(/[A-Z]/g,(e=>"_"+e.toLowerCase())),G=e=>e.toLowerCase().replaceAll(/([_-][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),W=e=>e.replaceAll("-"," "),N=e=>e.replaceAll(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));export{z as camelToSnakeCase,W as kebabToSpaces,M as paperless,G as snakeToCamelCase,N as titleCase}
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CySg37XO.js";import{s as t}from"./p-CWO2YJCh.js";export{g as getScreenSize,b as getScreenSizeInPixels,a as getScreenSizeInRem,d as isBetweenScreens,i as isBiggerThanScreen,j as isDesktop,f as isMobile,c as isSmallerThanScreen,h as isTablet,e as isTouchDevice}from"./p-CWO2YJCh.js";export{i as initTheme,o as onStateChange,s as state,a as stateLocaleOptions,b as stateThemeOptions}from"./p-Af4nLBaC.js";export{c as childOf,a as childOfComposed}from"./p-TyZ7uPES.js";export{c as categorized,i as icons}from"./p-C8RpJKnN.js";export{f as formatTranslation,g as getLocaleComponentStrings}from"./p-CwQG70_4.js";export{f as floatingMenuContainerClass,g as getTableCellColumnClasses,a as getTableCellSizes,o as objectGetByPath}from"./p-WEZng7dj.js";export{i as isMobileBrowser}from"./p-DPc49L2n.js";export{g as getOS,e as isAndroid,i as isApple,b as isIOS,d as isLinux,a as isMac,c as isWindows}from"./p-CzUyWlXA.js";export{c as cn}from"./p-xs4N_Y-0.js";export{P as PAGINATION_DEFAULT_PAGE_SIZE,a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS,S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS,T as TABLE_COLUMN_SIZES}from"./p-CEaB2BT0.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,m,p,v,u,x,F={},w={};function E(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});const a=t((l||(l=1,function(e){function a(e,a){return{handler:e,config:a}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),a.withOptions=function(e,a=()=>({})){const t=function(t){return{__options:t,handler:e(t),config:a(t)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=a,t};const t=a}(w)),w));function t(e){return e&&e.__esModule?e:{default:e}}const s=a.default}(F)),F}function C(){if(v)return p;v=1;let e=E();return p=(e.__esModule?e:{default:e}).default}var A,O,D=function(){if(x)return u;x=1;const e=C(),a={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},t={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},s={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},r=e((function({addComponents:e,matchComponents:r,theme:n,variants:o,e:i}){const l=n("aspectRatio");if(r)return r({"aspect-w":e=>[{...a,"--tw-aspect-w":e},{"> *":t}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(s);const f=Object.entries(l).map((([e,a])=>"."+i("aspect-w-"+e))).join(",\n"),m=Object.entries(l).map((([e,a])=>`.${i("aspect-w-"+e)} > *`)).join(",\n");e([{[f]:a,[m]:t},s,Object.entries(l).map((([e,a])=>({["."+i("aspect-w-"+e)]:{"--tw-aspect-w":a}}))),Object.entries(l).map((([e,a])=>({["."+i("aspect-h-"+e)]:{"--tw-aspect-h":a}})))],o("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});return u=r}(),B=n(D),y=n(function(){if(O)return A;O=1;const e=C()((function({addUtilities:e}){e({".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}},["responsive"])}));return A=e}()),I=n(C());const Y=({addVariant:e})=>{e("has-hover","@media (hover: hover)"),e("no-hover","@media (hover: none)"),e("hover-never","@media (hover: hover) { &:hover }"),e("group-hover-never","@media (hover: hover) { :merge(.group):hover & }"),e("peer-hover-never","@media (hover: hover) { :merge(.peer):hover & }"),e("hover-always",["@media (hover: hover) { &:hover }","@media (hover: none)"]),e("group-hover-always",["@media (hover: hover) { :merge(.group):hover & }","@media (hover: none)"]),e("peer-hover-always",["@media (hover: hover) { :merge(.peer):hover & }","@media (hover: none)"])},L=({addUtilities:e})=>{e({".m-safe":{marginTop:"env(safe-area-inset-top)",marginRight:"env(safe-area-inset-right)",marginBottom:"env(safe-area-inset-bottom)",marginLeft:"env(safe-area-inset-left)"},".mx-safe":{marginRight:"env(safe-area-inset-right)",marginLeft:"env(safe-area-inset-left)"},".my-safe":{marginTop:"env(safe-area-inset-top)",marginBottom:"env(safe-area-inset-bottom)"},".my-safe-2":{marginTop:"calc(env(safe-area-inset-top)+0.5rem)",marginBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".mt-safe":{marginTop:"env(safe-area-inset-top)"},".mr-safe":{marginRight:"env(safe-area-inset-right)"},".mb-safe":{marginBottom:"env(safe-area-inset-bottom)"},".ml-safe":{marginLeft:"env(safe-area-inset-left)"},".p-safe":{paddingTop:"env(safe-area-inset-top)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",paddingLeft:"env(safe-area-inset-left)"},".px-safe":{paddingRight:"env(safe-area-inset-right)",paddingLeft:"env(safe-area-inset-left)"},".py-safe":{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},".py-safe-2":{paddingTop:"calc(env(safe-area-inset-top)+0.5rem)",paddingBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".pt-safe":{paddingTop:"env(safe-area-inset-top)"},".pr-safe":{paddingRight:"env(safe-area-inset-right)"},".pb-safe":{paddingBottom:"env(safe-area-inset-bottom)"},".pl-safe":{paddingLeft:"env(safe-area-inset-left)"},".min-h-screen":{minHeight:"100vh"},".min-h-screen-safe":{minHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".max-h-screen":{maxHeight:"100vh"},".max-h-screen-safe":{maxHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".h-screen-safe":{height:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".min-w-screen":{minWidth:"100vw"},".min-w-screen-safe":{minWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".max-w-screen":{maxWidth:"100vw"},".max-w-screen-safe":{maxWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".w-screen-safe":{width:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"}})};var _={animation:{"fade-in":"forwards fadeIn .2s ease","fade-out":"forwards fadeOut .2s ease","slide-in-right":"forwards slideInRight .5s ease","slide-in-left":"forwards slideInLeft .5s ease","slide-in-top":"forwards slideInTop .25 ease","slide-in-bottom":"forwards slideInBottom .5s ease","slide-in-right-small":"forwards slideInRightSmall .5s ease","slide-in-left-small":"forwards slideInLeftSmall .5s ease","slide-in-top-small":"forwards slideInTopSmall .5s ease","slide-in-bottom-small":"forwards slideInBottomSmall .5s ease","slide-out-right":"forwards slideOutRight .2s ease","slide-out-left":"forwards slideOutLeft .2s ease","slide-out-top":"forwards slideOutTop .2s ease","slide-out-bottom":"forwards slideOutBottom .5s ease","slide-out-top-small":"forwards slideOutTopSmall .5s ease","slide-out-bottom-small":"forwards slideOutBottomSmall .5s ease","floating-menu-container-out":"forwards floatingMenuContainerOut .5s ease","floating-menu-container-in":"forwards floatingMenuContainerIn .5s ease",wave:"wave .5s ease-in-out -0.5s infinite alternate forwards"},keyframes:{fadeIn:{"0%":{opacity:"0"},"100%":{opacity:"100"}},fadeOut:{"0%":{opacity:"100"},"100%":{opacity:"0"}},slideInRight:{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0)"}},slideInLeft:{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0)"}},slideInTop:{"0%":{transform:"translateY(-100%)"},"100%":{transform:"translateY(0)"}},slideInBottom:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0)"}},slideInRightSmall:{"0%":{transform:"translateX(20%)"},"100%":{transform:"translateX(0)"}},slideInLeftSmall:{"0%":{transform:"translateX(-20%)"},"100%":{transform:"translateX(0)"}},slideInTopSmall:{"0%":{transform:"translateY(-20%)"},"100%":{transform:"translateY(0)"}},slideInBottomSmall:{"0%":{transform:"translateY(20%)"},"100%":{transform:"translateY(0)"}},slideOutRight:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(100%)"}},slideOutLeft:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-100%)"}},slideOutTop:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-100%)"}},slideOutBottom:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(100%)"}},slideOutTopSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-20%)"}},slideOutBottomSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(20%)"}},floatingMenuContainerOut:{"0%":{display:"flex",transform:"translateY(0)",opacity:"100"},"99%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"none",transform:"translateY(100%)",opacity:"0"}},floatingMenuContainerIn:{"0%":{display:"none",transform:"translateY(100%)",opacity:"0"},"1%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"flex",transform:"translateY(0)",opacity:"100"}},wave:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(-15deg)"}}}};const R={};for(let e=1;e<360;e++)R[""+e]=e+"deg",R["-"+e]=`-${e}deg`;var X={1:["0 1px 1px rgba(0, 2, 2, 0.08)"],2:["0 1px 1px rgba(0, 2, 2, 0.04)","0 2px 2px rgba(0, 2, 2, 0.04)","0 4px 4px rgba(0, 2, 2, 0.04)"],3:["0 1px 1px rgba(0, 2, 2, 0.08)","0 2px 2px rgba(0, 2, 2, 0.08)","0 4px 4px rgba(0, 2, 2, 0.08)"],modal:["0 0 0 1px rgba(0, 2, 2, 0.10)","0 1px 1px 0 rgba(0, 2, 2, 0.20)","0 2px 2px 0 rgba(0, 2, 2, 0.08)","0 4px 4px 0 rgba(0, 2, 2, 0.08)","0 8px 8px 0 rgba(0, 2, 2, 0.08)"],"supportive-lilac":"0px 1px 1px rgba(189, 140, 255, 0.20)","storm-10%":"0px 1px 0px rgba(3, 42, 36, 0.1)","primary-button":"0px 1px 1px 0px rgba(24, 30 41, 0.08)","off-white-600":"0px 0px 0px 1px #ECEAE5",inherit:"inherit",transparent:"transparent"},k={fontSize:{xxs:["0.5rem","1rem"],"3xl":["2rem","2.5rem"],"4xl":["2.5rem","3rem"]},lineHeight:{xs:"1rem",sm:"1.5rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.5rem","4xl":"3rem"}};const M=I((e=>{L(e),Y(e)}),{theme:{colors:{inherit:"inherit",transparent:"transparent",current:"currentColor",black:"#000",white:{800:"#E4E3E3",700:"#F2F2F2",600:"#FAFAFA",500:"#FFFFFF",DEFAULT:"#FFFFFF"},"negative-red":{800:"#8D1010",700:"#931010",500:"#E61E1E",100:"#FFDDDD",50:"#FDEDED",alternative:"#FF5C5C"},"positive-green":{800:"#2F6407",500:"#5CC30E",100:"#D5FBC7",50:"#EAFDE3",alternative:"#62FF5C"},amber:{800:"#944D0B",500:"#E19F23",100:"#FFF6C2",50:"#FFFAE0",alternative:"#FFE75C"},indigo:{900:"#1349B6",800:"#1B58D2",700:"#2F6FF0",600:"#528AFA",500:"#8EB3FB",400:"#A5C2FC",300:"#BBD1FD",200:"#C7D9FD",100:"#E3ECFE",50:"#F1F6FF"},storm:{800:"#020815",700:"#080F1C",600:"#0F1622",500:"#181E29",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},hurricane:{900:"#020815",800:"#181E29",700:"#232934",600:"#2E343E",500:"#363C46",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},"off-white":{800:"#D5D0C3",700:"#DEDBD5",600:"#ECEAE5",500:"#F3F1ED",400:"#F5F4F1",300:"#F8F7F4",200:"#FAF9F8",100:"#FDFCFB",50:"#FEFEFD"}},boxShadow:X,dropShadow:X,extend:{animation:_.animation,keyframes:_.keyframes,fontFamily:{geist:["Geist","serif"],ambit:["Ambit","sans-serif"]},scale:{flip:"-1"},rotate:R,fontSize:k.fontSize,lineHeight:k.lineHeight,zIndex:{"floating-menu":"190",dropdown:"200","navbar-topbar":"280","navbar-backdrop":"290",navbar:"300",tooltip:"400",datepicker:"401",backdrop:"490",drawer:"500","drawer-header":"501",modal:"600",toast:"700"},screens:t,width:{unset:"unset",inherit:"inherit","content-mobile":"100%","content-1280":"62rem","content-1440":"71rem","content-1536":"77rem","content-1680":"83rem","sidebar-desktop-login":"100%","content-desktop-login":"21rem"},height:{unset:"unset",inherit:"inherit"},spacing:{"content-mobile-x":"1rem","content-mobile-y":"1.5rem","content-desktop-x":"2rem","content-desktop-y":"2rem",18:"4.5rem"},aspectRatio:{branding:"23/24"}}},plugins:[B,y,L,Y]}),z=e=>e.replaceAll(/[A-Z]/g,(e=>"_"+e.toLowerCase())),N=e=>e.toLowerCase().replaceAll(/([_-][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),W=e=>e.replaceAll("-"," "),U=e=>e.replaceAll(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));export{z as camelToSnakeCase,W as kebabToSpaces,M as paperless,N as snakeToCamelCase,U as titleCase}
|