@paperless/core 3.18.0 → 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/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/build/{p-41326183.entry.js → 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/{paperless/p-c0599b0e.entry.js → build/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/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/index-BGtpSJv_.js +8 -0
- package/dist/cjs/index.cjs.js +1 -1
- 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 +2 -2
- 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/collection-manifest.json +2 -0
- 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/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- 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/state.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-PAx1R45S.js → p-1fwqR3M8.js} +1 -1
- package/dist/components/{p-C3fzR817.js → p-3RpDMSup.js} +1 -1
- package/dist/components/{p-GYxEYTaZ.js → p-5lCEImmh.js} +1 -1
- package/dist/components/{p-DlYs-VL_.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-CYJ2s8gf.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-DY2oKnxw.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/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-b-xaFyhe.js → p-CLRy-4ol.js} +1 -1
- package/dist/components/{p-BRDvNH4S.js → p-CQbdPtw3.js} +1 -1
- package/dist/components/{p-p7QZcgoc.js → p-CipXZt6g.js} +1 -1
- package/dist/components/{p-BdzBKuLb.js → p-CyuT-Yjz.js} +1 -1
- package/dist/components/{p-DOjiMWKc.js → p-CzaAM-R9.js} +1 -1
- package/dist/components/p-DhdlSO_S.js +1 -0
- package/dist/components/{p-Bg73A-l5.js → p-Dor8zrST.js} +1 -1
- package/dist/components/{p-D34oUQRc.js → p-DsbU_tk9.js} +1 -1
- package/dist/components/{p-BFvoC7BA.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-BAQuP-An.js → p-IpgRKSDU.js} +1 -1
- package/dist/components/{p-CtnPrlBW.js → p-Rp5EpePo.js} +1 -1
- package/dist/components/{p-wQxTl8yW.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-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-D_ZHRLtg.js → p-nh0qWjvv.js} +1 -1
- package/dist/components/{p-DHzp47zt.js → p-nr6mSWVU.js} +1 -1
- package/dist/components/{p-CdX4ibSM.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-BZNy3k2j.js → p-uJi0kAXM.js} +1 -1
- package/dist/components/{p-1HCkK9Pf.js → p-uMOTwHO0.js} +1 -1
- package/dist/esm/index-yFtRjnrU.js +8 -0
- package/dist/esm/index.js +1 -1
- 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 +2 -2
- 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/paperless/{p-41326183.entry.js → 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/{build/p-c0599b0e.entry.js → paperless/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/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/hydrate/index.js +219 -29
- package/hydrate/index.mjs +219 -29
- package/package.json +9 -1
- package/dist/build/p-112e3ccc.js +0 -1
- package/dist/build/p-CSySY6aC.js +0 -1
- package/dist/components/p-Au2WuEGF.js +0 -1
- package/dist/components/p-B4-tGTJs.js +0 -1
- package/dist/components/p-BO7NYfW5.js +0 -1
- package/dist/paperless/p-CSySY6aC.js +0 -1
|
@@ -45,7 +45,7 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
45
45
|
|
|
46
46
|
patchBrowser().then(async (options) => {
|
|
47
47
|
await index.globalScripts();
|
|
48
|
-
return index.bootstrapLazy(JSON.parse("[[\"p-button_3.cjs\",[[769,\"p-button\",{\"label\":[1],\"as\":[1],\"underline\":[4],\"tabIndex\":[2,\"tab-index\"],\"variant\":[1],\"active\":[4],\"error\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"loading\":[4],\"chevron\":[8],\"chevronPosition\":[1,\"chevron-position\"],\"disabled\":[4],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconClass\":[1,\"icon-class\"],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"inheritText\":[4,\"inherit-text\"],\"buttonGroupPosition\":[1,\"button-group-position\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]],[769,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[513,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table.cjs\",[[772,\"p-table\",{\"items\":[1],\"loading\":[4],\"headerLoading\":[4,\"header-loading\"],\"footerLoading\":[4,\"footer-loading\"],\"amountOfLoadingRows\":[2,\"amount-of-loading-rows\"],\"enableRowSelection\":[4,\"enable-row-selection\"],\"rowSelectionLimit\":[2,\"row-selection-limit\"],\"enableRowClick\":[4,\"enable-row-click\"],\"selectedRows\":[16],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16],\"selectionKey\":[1,\"selection-key\"],\"canSelectKey\":[1,\"can-select-key\"],\"enableHeader\":[4,\"enable-header\"],\"quickFilters\":[1,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"enableSearch\":[4,\"enable-search\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionButtonLoading\":[4,\"action-button-loading\"],\"actionButtonEnabled\":[4,\"action-button-enabled\"],\"actionButtonIcon\":[1,\"action-button-icon\"],\"actionButtonText\":[1,\"action-button-text\"],\"actionButtonTemplate\":[16],\"enableFooter\":[4,\"enable-footer\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"enableExport\":[4,\"enable-export\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16],\"emptyStateContent\":[16],\"emptyStateAction\":[16],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16],\"emptyStateFilteredContent\":[16],\"shadow\":[4],\"_locales\":[32],\"_extraHeaders\":[32],\"_columns\":[32],\"_items\":[32],\"_enableRowSelection\":[32],\"_rowSelectionLimit\":[32],\"_rowActionsFloating\":[32],\"_rowActionsRow\":[32],\"_footerHidden\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[16,\"tableDefinitionChanged\",\"onTableDefinitionUpdated\"],[4,\"keydown\",\"keyDown\"],[4,\"keyup\",\"keyUp\"],[4,\"visibilitychange\",\"visibilityChange\"],[9,\"resize\",\"_setRowSelectionData\"]],{\"items\":[{\"_parseItems\":0}],\"enableRowSelection\":[{\"_setRowSelectionData\":0}],\"rowSelectionLimit\":[{\"_setRowSelectionData\":0}],\"selectedRows\":[{\"_setRowSelectionData\":0}]}]]],[\"p-select.cjs\",[[576,\"p-select\",{\"items\":[1],\"multi\":[516],\"strategy\":[1],\"icon\":[1],\"query\":[1],\"placeholder\":[1],\"autocompletePlaceholder\":[1,\"autocomplete-placeholder\"],\"value\":[8],\"displayKey\":[1,\"display-key\"],\"dropdownDisplayKey\":[1,\"dropdown-display-key\"],\"selectionDisplayKey\":[1,\"selection-display-key\"],\"valueKey\":[1,\"value-key\"],\"avatarKey\":[1,\"avatar-key\"],\"iconKey\":[1,\"icon-key\"],\"iconClassKey\":[1,\"icon-class-key\"],\"showIconOnSelectedItem\":[1,\"show-icon-on-selected-item\"],\"classKey\":[1,\"class-key\"],\"applyClassOnSelectedItem\":[4,\"apply-class-on-selected-item\"],\"applyClassOnSelectedItemInMenu\":[4,\"apply-class-on-selected-item-in-menu\"],\"avatarLettersKey\":[1,\"avatar-letters-key\"],\"identifierKey\":[1,\"identifier-key\"],\"queryKey\":[1,\"query-key\"],\"autoSelectFirst\":[4,\"auto-select-first\"],\"showChevron\":[4,\"show-chevron\"],\"maxDisplayedItems\":[2,\"max-displayed-items\"],\"enableAutocomplete\":[4,\"enable-autocomplete\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"asyncFilter\":[4,\"async-filter\"],\"loading\":[4],\"enableSelectAll\":[4,\"enable-select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"selectAllIcon\":[1,\"select-all-icon\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"disabled\":[516],\"showAddItem\":[4,\"show-add-item\"],\"addItemText\":[1,\"add-item-text\"],\"emptyStateText\":[1,\"empty-state-text\"],\"_showDropdown\":[32],\"_selectedItem\":[32],\"_allSelected\":[32],\"_amountHidden\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[{\"_valueChange\":0}],\"items\":[{\"itemChanges\":0}],\"_showDropdown\":[{\"_showDropdownChanges\":0}],\"multi\":[{\"multiChanges\":0}]}]]],[\"p-datepicker.cjs\",[[576,\"p-datepicker\",{\"placeholder\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"enableNativePicker\":[4,\"enable-native-picker\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"format\":[1],\"hideIconWhenFilled\":[4,\"hide-icon-when-filled\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"loading\":[4],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"disabled\":[516],\"strategy\":[1],\"placement\":[513],\"_showDropdown\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_isMobileBrowser\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[{\"parseValue\":0}],\"minDate\":[{\"parseMinDate\":0}],\"maxDate\":[{\"parseMaxDate\":0}],\"disabledDates\":[{\"parseDisabledDates\":0}]}]]],[\"p-modal.cjs\",[[769,\"p-modal\",{\"size\":[1],\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"showMobileFooter\":[4,\"show-mobile-footer\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeModal\",\"handleCloseModal\"]]]]],[\"p-drawer.cjs\",[[769,\"p-drawer\",{\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"canClose\":[4,\"can-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeDrawer\",\"handleCloseDrawer\"],[8,\"forceCloseDrawer\",\"handleForceCloseDrawer\"]]]]],[\"p-attachment.cjs\",[[513,\"p-attachment\",{\"enableCameraOnMobile\":[4,\"enable-camera-on-mobile\"],\"value\":[1],\"fileId\":[1,\"file-id\"],\"accept\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"mode\":[1],\"placeholder\":[1],\"cameraTooltip\":[1,\"camera-tooltip\"],\"downloadTooltip\":[1,\"download-tooltip\"],\"uploadTooltip\":[1,\"upload-tooltip\"],\"deleteTooltip\":[1,\"delete-tooltip\"],\"loading\":[4],\"error\":[1]}]]],[\"p-profile.cjs\",[[769,\"p-profile\",{\"dropdownLocation\":[1,\"dropdown-location\"],\"_dropdownOpen\":[32],\"_hasDropdownSlot\":[32]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-navbar.cjs\",[[769,\"p-navbar\",{\"_show\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-accordion.cjs\",[[769,\"p-accordion\",{\"variant\":[1],\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4],\"label\":[1],\"labelVariant\":[1,\"label-variant\"],\"labelIcon\":[1,\"label-icon\"]}]]],[\"p-card-header.cjs\",[[769,\"p-card-header\",{\"variant\":[1],\"header\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"divider\":[4]}]]],[\"p-navigation-item.cjs\",[[774,\"p-navigation-item\",{\"icon\":[1],\"active\":[4],\"loading\":[4],\"as\":[1],\"counter\":[8],\"href\":[1],\"target\":[1],\"class\":[1],\"applyFullWidth\":[4,\"apply-full-width\"]}]]],[\"p-cropper.cjs\",[[513,\"p-cropper\",{\"value\":[1],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-dropzone.cjs\",[[769,\"p-dropzone\",{\"icon\":[1],\"showIcon\":[4,\"show-icon\"],\"acceptGroup\":[1,\"accept-group\"],\"fileId\":[1,\"file-id\"],\"loading\":[4],\"allowMultiple\":[4,\"allow-multiple\"],\"uploaded\":[4],\"addedString\":[1,\"added-string\"],\"dragFileString\":[1,\"drag-file-string\"],\"orClickString\":[1,\"or-click-string\"],\"_isOver\":[32]},[[1,\"drop\",\"onDrop\"],[1,\"dragover\",\"onDragOver\"],[1,\"dragleave\",\"onDragLeave\"]]]]],[\"p-stepper.cjs\",[[769,\"p-stepper\",{\"steps\":[1],\"activeStep\":[2,\"active-step\"],\"enableAutoStatus\":[4,\"enable-auto-status\"],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"_generatedOnce\":[32],\"_loaded\":[32]},null,{\"align\":[{\"_onAlignChange\":0}],\"direction\":[{\"_onDirectionChange\":0}],\"activeStep\":[{\"_onActiveStepChange\":0}]}]]],[\"p-info-panel.cjs\",[[769,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-listing.cjs\",[[769,\"p-listing\",{\"_generatedOnce\":[32]}]]],[\"p-listing-item.cjs\",[[769,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section.cjs\",[[772,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-tab-container.cjs\",[[257,\"p-tab-container\"]]],[\"p-toast.cjs\",[[769,\"p-toast\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconFlip\":[1,\"action-icon-flip\"],\"actionIconRotate\":[2,\"action-icon-rotate\"]}]]],[\"p-avatar-group.cjs\",[[772,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-button-group.cjs\",[[769,\"p-button-group\",{\"size\":[1]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-card-body.cjs\",[[257,\"p-card-body\"]]],[\"p-card-container.cjs\",[[769,\"p-card-container\",{\"variant\":[1],\"bgClass\":[1,\"bg-class\"],\"active\":[4],\"hoverable\":[4],\"shadow\":[4],\"border\":[4]}]]],[\"p-content-slider.cjs\",[[769,\"p-content-slider\",{\"hideMobileIndicator\":[4,\"hide-mobile-indicator\"],\"disableDrag\":[4,\"disable-drag\"],\"disableAutoCenter\":[4,\"disable-auto-center\"],\"disableIndicatorClick\":[4,\"disable-indicator-click\"],\"_visibleIndex\":[32],\"_outerHeight\":[32],\"_totalWidth\":[32],\"_dragging\":[32]},[[9,\"mouseup\",\"mouseUpHandler\"],[9,\"touchend\",\"mouseUpHandler\"],[9,\"resize\",\"resizeHandler\"]]]]],[\"p-iban-icon.cjs\",[[513,\"p-iban-icon\",{\"iban\":[513],\"variant\":[513]}]]],[\"p-layout.cjs\",[[769,\"p-layout\",{\"variant\":[1]}]]],[\"p-radio.cjs\",[[836,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-tab-item.cjs\",[[769,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column.cjs\",[[512,\"p-table-column\",{\"path\":[1537],\"variant\":[1537],\"name\":[1537],\"flex\":[1540],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"headerAlign\":[1537,\"header-align\"],\"sticky\":[1544],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-extra-header.cjs\",[[512,\"p-table-extra-header\",{\"name\":[1537],\"sticky\":[1544],\"useSlot\":[1540,\"use-slot\"],\"align\":[1537],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-row-action.cjs\",[[512,\"p-table-row-action\",{\"type\":[1537],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"label\":[1],\"action\":[16],\"disabled\":[4],\"loading\":[4],\"showFunction\":[16]}]]],[\"p-toast-container.cjs\",[[769,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-toggle.cjs\",[[836,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar.cjs\",[[513,\"p-calendar\",{\"variant\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_enableToday\":[32]},null,{\"value\":[{\"_parseValue\":0}],\"minDate\":[{\"_parseMinDate\":0}],\"maxDate\":[{\"_parseMaxDate\":0}],\"disabledDates\":[{\"_parseDisabledDates\":0}],\"mode\":[{\"_modeChange\":0}]}]]],[\"p-label.cjs\",[[769,\"p-label\",{\"variant\":[513],\"iconOnly\":[516,\"icon-only\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"keepMobileContent\":[516,\"keep-mobile-content\"]}]]],[\"p-range.cjs\",[[513,\"p-range\",{\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[2]}]]],[\"p-avatar.cjs\",[[512,\"p-avatar\",{\"variant\":[1],\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[{\"onSrchChange\":0}]}]]],[\"p-listing-line.cjs\",[[1,\"p-listing-line\"]]],[\"p-navigation-title.cjs\",[[257,\"p-navigation-title\"]]],[\"p-floating-menu-item.cjs\",[[772,\"p-floating-menu-item\",{\"hover\":[4],\"disabled\":[4],\"loading\":[4],\"icon\":[1],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}]]],[\"p-stepper-item_2.cjs\",[[769,\"p-stepper-item\",{\"number\":[2],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}],[513,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-illustration.cjs\",[[512,\"p-illustration\",{\"variant\":[1]}]]],[\"p-drawer-body_3.cjs\",[[769,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-drawer-body\"],[769,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop.cjs\",[[769,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]]]],[\"p-smile.cjs\",[[512,\"p-smile\",{\"variant\":[1]}]]],[\"p-modal-body_4.cjs\",[[769,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-modal-footer\"],[769,\"p-modal-body\",{\"roundedBottom\":[4,\"rounded-bottom\"],\"roundedTop\":[4,\"rounded-top\"]}],[769,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-badge_3.cjs\",[[769,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[257,\"p-segment-container\"],[257,\"p-badge\"]]],[\"p-checkbox_3.cjs\",[[836,\"p-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}],[769,\"p-dropdown\",{\"variant\":[1],\"placement\":[513],\"offset\":[2],\"strategy\":[1],\"show\":[4],\"applyMaxWidth\":[4,\"apply-max-width\"],\"applyFullWidth\":[4,\"apply-full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8],\"insideClick\":[4,\"inside-click\"],\"disableTriggerClick\":[4,\"disable-trigger-click\"],\"manual\":[4],\"applyChevron\":[4,\"apply-chevron\"],\"manualChevron\":[4,\"manual-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"],\"containerClass\":[1,\"container-class\"],\"isDatepicker\":[4,\"is-datepicker\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[{\"onShowChange\":0}]}],[769,\"p-dropdown-menu-container\",{\"variant\":[1],\"maxWidth\":[4,\"max-width\"],\"class\":[1],\"fullWidth\":[4,\"full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8]}]]],[\"p-dropdown-menu-item_2.cjs\",[[769,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}],[769,\"p-dropdown-menu-item\",{\"active\":[4],\"checkbox\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"disabled\":[4],\"icon\":[1],\"iconWave\":[4,\"icon-wave\"],\"useContainer\":[4,\"use-container\"],\"autoHeight\":[4,\"auto-height\"]}]]],[\"p-divider.cjs\",[[769,\"p-divider\",{\"variant\":[513],\"alignContent\":[513,\"align-content\"]}]]],[\"p-tooltip.cjs\",[[769,\"p-tooltip\",{\"variant\":[1],\"content\":[1],\"placement\":[1],\"offset\":[2],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"canManuallyClose\":[4,\"can-manually-close\"]},[[2,\"click\",\"clickHandler\"],[6,\"click\",\"documentClickHandler\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[0,\"focus\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"blur\",\"mouseLeaveHandler\"]],{\"show\":[{\"onShowChange\":0}],\"content\":[{\"onContentChange\":0}]}]]],[\"p-field_3.cjs\",[[833,\"p-field\",{\"align\":[1],\"variant\":[1],\"id\":[1],\"size\":[1],\"type\":[1],\"properties\":[8],\"prefix\":[1],\"suffix\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconPosition\":[1,\"icon-position\"],\"value\":[8],\"label\":[1],\"loading\":[4],\"enablePasswordEye\":[4,\"enable-password-eye\"],\"placeholder\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"showAddOnEmpty\":[516,\"show-add-on-empty\"],\"addText\":[513,\"add-text\"],\"autofocus\":[516],\"error\":[513],\"autoShowError\":[516,\"auto-show-error\"],\"errorPlacement\":[1,\"error-placement\"],\"disabled\":[516],\"focused\":[516],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"selectAllOnFocus\":[516,\"select-all-on-focus\"],\"focusMethod\":[1,\"focus-method\"],\"optionalTemplate\":[16],\"_focused\":[32],\"_nonce\":[32],\"_type\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"],[2,\"keyup\",\"handleKeyup\"],[2,\"keydown\",\"handleKeydown\"]],{\"value\":[{\"watchvalue\":0}]}],[769,\"p-field-container\",{\"id\":[1],\"align\":[1],\"label\":[1],\"loading\":[4],\"loadingSize\":[1,\"loading-size\"],\"variant\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"optionalTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}]]],[\"p-pagination_3.cjs\",[[513,\"p-pagination\",{\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"_hasPaginationPages\":[32]}],[513,\"p-pagination-pages\",{\"page\":[1538],\"dropdownPageTemplate\":[16],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2],\"_showDropdown\":[32],\"_dropdowns\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[6,\"click\",\"documentClickHandler\"]],{\"page\":[{\"pageChangeHandler\":0}],\"pageSize\":[{\"pageChangeHandler\":0}],\"total\":[{\"pageChangeHandler\":0}]}],[769,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16],\"itemTemplate\":[16],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_8.cjs\",[[513,\"p-table-footer\",{\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"loading\":[4],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"tableHeaderHasAction\":[4,\"table-header-has-action\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[769,\"p-table-header\",{\"quickFilters\":[1,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"hideQuickFiltersOnMobile\":[4,\"hide-quick-filters-on-mobile\"],\"loading\":[4],\"enableSearch\":[4,\"enable-search\"],\"itemsSelectedAmount\":[2,\"items-selected-amount\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableExport\":[4,\"enable-export\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-empty-state\",{\"illustration\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionText\":[1,\"action-text\"],\"actionVariant\":[1,\"action-variant\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconPosition\":[1,\"action-icon-position\"],\"actionLoading\":[4,\"action-loading\"]}],[769,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"],\"enableAmountSelected\":[4,\"enable-amount-selected\"],\"amount\":[2],\"enableClose\":[4,\"enable-close\"],\"amountSelectedTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[772,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[8],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"checkboxOffset\":[4,\"checkbox-offset\"],\"template\":[16]}],[769,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"checked\":[4],\"isLast\":[4,\"is-last\"]}],[260,\"p-table-container\"],[769,\"p-table-row-actions-container\",{\"checked\":[4]}]]]]"), options);
|
|
48
|
+
return index.bootstrapLazy(JSON.parse("[[\"p-button_3.cjs\",[[769,\"p-button\",{\"label\":[1],\"as\":[1],\"underline\":[4],\"tabIndex\":[2,\"tab-index\"],\"variant\":[1],\"active\":[4],\"error\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"loading\":[4],\"chevron\":[8],\"chevronPosition\":[1,\"chevron-position\"],\"disabled\":[4],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconClass\":[1,\"icon-class\"],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"inheritText\":[4,\"inherit-text\"],\"buttonGroupPosition\":[1,\"button-group-position\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]],[769,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[513,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table.cjs\",[[772,\"p-table\",{\"items\":[1],\"loading\":[4],\"headerLoading\":[4,\"header-loading\"],\"footerLoading\":[4,\"footer-loading\"],\"amountOfLoadingRows\":[2,\"amount-of-loading-rows\"],\"enableRowSelection\":[4,\"enable-row-selection\"],\"rowSelectionLimit\":[2,\"row-selection-limit\"],\"enableRowClick\":[4,\"enable-row-click\"],\"selectedRows\":[16],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16],\"selectionKey\":[1,\"selection-key\"],\"canSelectKey\":[1,\"can-select-key\"],\"enableHeader\":[4,\"enable-header\"],\"quickFilters\":[1,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"enableSearch\":[4,\"enable-search\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionButtonLoading\":[4,\"action-button-loading\"],\"actionButtonEnabled\":[4,\"action-button-enabled\"],\"actionButtonIcon\":[1,\"action-button-icon\"],\"actionButtonText\":[1,\"action-button-text\"],\"actionButtonTemplate\":[16],\"enableFooter\":[4,\"enable-footer\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"enableExport\":[4,\"enable-export\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16],\"emptyStateContent\":[16],\"emptyStateAction\":[16],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16],\"emptyStateFilteredContent\":[16],\"shadow\":[4],\"_locales\":[32],\"_extraHeaders\":[32],\"_columns\":[32],\"_items\":[32],\"_enableRowSelection\":[32],\"_rowSelectionLimit\":[32],\"_rowActionsFloating\":[32],\"_rowActionsRow\":[32],\"_footerHidden\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[16,\"tableDefinitionChanged\",\"onTableDefinitionUpdated\"],[4,\"keydown\",\"keyDown\"],[4,\"keyup\",\"keyUp\"],[4,\"visibilitychange\",\"visibilityChange\"],[9,\"resize\",\"_setRowSelectionData\"]],{\"items\":[{\"_parseItems\":0}],\"enableRowSelection\":[{\"_setRowSelectionData\":0}],\"rowSelectionLimit\":[{\"_setRowSelectionData\":0}],\"selectedRows\":[{\"_setRowSelectionData\":0}]}]]],[\"p-select.cjs\",[[576,\"p-select\",{\"items\":[1],\"multi\":[516],\"strategy\":[1],\"icon\":[1],\"query\":[1],\"placeholder\":[1],\"autocompletePlaceholder\":[1,\"autocomplete-placeholder\"],\"value\":[8],\"displayKey\":[1,\"display-key\"],\"dropdownDisplayKey\":[1,\"dropdown-display-key\"],\"selectionDisplayKey\":[1,\"selection-display-key\"],\"valueKey\":[1,\"value-key\"],\"avatarKey\":[1,\"avatar-key\"],\"iconKey\":[1,\"icon-key\"],\"iconClassKey\":[1,\"icon-class-key\"],\"showIconOnSelectedItem\":[1,\"show-icon-on-selected-item\"],\"classKey\":[1,\"class-key\"],\"applyClassOnSelectedItem\":[4,\"apply-class-on-selected-item\"],\"applyClassOnSelectedItemInMenu\":[4,\"apply-class-on-selected-item-in-menu\"],\"avatarLettersKey\":[1,\"avatar-letters-key\"],\"identifierKey\":[1,\"identifier-key\"],\"queryKey\":[1,\"query-key\"],\"autoSelectFirst\":[4,\"auto-select-first\"],\"showChevron\":[4,\"show-chevron\"],\"maxDisplayedItems\":[2,\"max-displayed-items\"],\"enableAutocomplete\":[4,\"enable-autocomplete\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"asyncFilter\":[4,\"async-filter\"],\"loading\":[4],\"enableSelectAll\":[4,\"enable-select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"selectAllIcon\":[1,\"select-all-icon\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"disabled\":[516],\"showAddItem\":[4,\"show-add-item\"],\"addItemText\":[1,\"add-item-text\"],\"emptyStateText\":[1,\"empty-state-text\"],\"_showDropdown\":[32],\"_selectedItem\":[32],\"_allSelected\":[32],\"_amountHidden\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[{\"_valueChange\":0}],\"items\":[{\"itemChanges\":0}],\"_showDropdown\":[{\"_showDropdownChanges\":0}],\"multi\":[{\"multiChanges\":0}]}]]],[\"p-datepicker.cjs\",[[576,\"p-datepicker\",{\"placeholder\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"enableNativePicker\":[4,\"enable-native-picker\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"format\":[1],\"hideIconWhenFilled\":[4,\"hide-icon-when-filled\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"loading\":[4],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"disabled\":[516],\"strategy\":[1],\"placement\":[513],\"_showDropdown\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_isMobileBrowser\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[{\"parseValue\":0}],\"minDate\":[{\"parseMinDate\":0}],\"maxDate\":[{\"parseMaxDate\":0}],\"disabledDates\":[{\"parseDisabledDates\":0}]}]]],[\"p-modal.cjs\",[[769,\"p-modal\",{\"size\":[1],\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"showMobileFooter\":[4,\"show-mobile-footer\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeModal\",\"handleCloseModal\"]]]]],[\"p-drawer.cjs\",[[769,\"p-drawer\",{\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"canClose\":[4,\"can-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeDrawer\",\"handleCloseDrawer\"],[8,\"forceCloseDrawer\",\"handleForceCloseDrawer\"]]]]],[\"p-attachment.cjs\",[[513,\"p-attachment\",{\"enableCameraOnMobile\":[4,\"enable-camera-on-mobile\"],\"value\":[1],\"fileId\":[1,\"file-id\"],\"accept\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"mode\":[1],\"placeholder\":[1],\"cameraTooltip\":[1,\"camera-tooltip\"],\"downloadTooltip\":[1,\"download-tooltip\"],\"uploadTooltip\":[1,\"upload-tooltip\"],\"deleteTooltip\":[1,\"delete-tooltip\"],\"loading\":[4],\"error\":[1]}]]],[\"p-profile.cjs\",[[769,\"p-profile\",{\"dropdownLocation\":[1,\"dropdown-location\"],\"_dropdownOpen\":[32],\"_hasDropdownSlot\":[32]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-navbar.cjs\",[[769,\"p-navbar\",{\"_show\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-accordion.cjs\",[[769,\"p-accordion\",{\"variant\":[1],\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4],\"label\":[1],\"labelVariant\":[1,\"label-variant\"],\"labelIcon\":[1,\"label-icon\"]}]]],[\"p-card-header.cjs\",[[769,\"p-card-header\",{\"variant\":[1],\"header\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"divider\":[4]}]]],[\"p-navigation-item.cjs\",[[774,\"p-navigation-item\",{\"icon\":[1],\"active\":[4],\"loading\":[4],\"as\":[1],\"counter\":[8],\"href\":[1],\"target\":[1],\"class\":[1],\"applyFullWidth\":[4,\"apply-full-width\"]}]]],[\"p-cropper.cjs\",[[513,\"p-cropper\",{\"value\":[1],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-dropzone.cjs\",[[769,\"p-dropzone\",{\"icon\":[1],\"showIcon\":[4,\"show-icon\"],\"acceptGroup\":[1,\"accept-group\"],\"fileId\":[1,\"file-id\"],\"loading\":[4],\"allowMultiple\":[4,\"allow-multiple\"],\"uploaded\":[4],\"addedString\":[1,\"added-string\"],\"dragFileString\":[1,\"drag-file-string\"],\"orClickString\":[1,\"or-click-string\"],\"_isOver\":[32]},[[1,\"drop\",\"onDrop\"],[1,\"dragover\",\"onDragOver\"],[1,\"dragleave\",\"onDragLeave\"]]]]],[\"p-stepper.cjs\",[[769,\"p-stepper\",{\"steps\":[1],\"activeStep\":[2,\"active-step\"],\"enableAutoStatus\":[4,\"enable-auto-status\"],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"_generatedOnce\":[32],\"_loaded\":[32]},null,{\"align\":[{\"_onAlignChange\":0}],\"direction\":[{\"_onDirectionChange\":0}],\"activeStep\":[{\"_onActiveStepChange\":0}]}]]],[\"p-info-panel.cjs\",[[769,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-listing.cjs\",[[769,\"p-listing\",{\"_generatedOnce\":[32]}]]],[\"p-listing-item.cjs\",[[769,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section.cjs\",[[772,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-submenu.cjs\",[[769,\"p-submenu\",{\"title\":[513],\"subtitle\":[513],\"index\":[514],\"showIndex\":[516,\"show-index\"],\"active\":[516],\"open\":[516]}]]],[\"p-submenu-item.cjs\",[[769,\"p-submenu-item\",{\"active\":[516],\"icon\":[513]}]]],[\"p-tab-container.cjs\",[[257,\"p-tab-container\"]]],[\"p-toast.cjs\",[[769,\"p-toast\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconFlip\":[1,\"action-icon-flip\"],\"actionIconRotate\":[2,\"action-icon-rotate\"]}]]],[\"p-avatar-group.cjs\",[[772,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-button-group.cjs\",[[769,\"p-button-group\",{\"size\":[1]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-card-body.cjs\",[[257,\"p-card-body\"]]],[\"p-card-container.cjs\",[[769,\"p-card-container\",{\"variant\":[1],\"bgClass\":[1,\"bg-class\"],\"active\":[4],\"hoverable\":[4],\"shadow\":[4],\"border\":[4]}]]],[\"p-content-slider.cjs\",[[769,\"p-content-slider\",{\"hideMobileIndicator\":[4,\"hide-mobile-indicator\"],\"disableDrag\":[4,\"disable-drag\"],\"disableAutoCenter\":[4,\"disable-auto-center\"],\"disableIndicatorClick\":[4,\"disable-indicator-click\"],\"_visibleIndex\":[32],\"_outerHeight\":[32],\"_totalWidth\":[32],\"_dragging\":[32]},[[9,\"mouseup\",\"mouseUpHandler\"],[9,\"touchend\",\"mouseUpHandler\"],[9,\"resize\",\"resizeHandler\"]]]]],[\"p-iban-icon.cjs\",[[513,\"p-iban-icon\",{\"iban\":[513],\"variant\":[513]}]]],[\"p-layout.cjs\",[[769,\"p-layout\",{\"variant\":[1]}]]],[\"p-radio.cjs\",[[836,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-tab-item.cjs\",[[769,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column.cjs\",[[512,\"p-table-column\",{\"path\":[1537],\"variant\":[1537],\"name\":[1537],\"flex\":[1540],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"headerAlign\":[1537,\"header-align\"],\"sticky\":[1544],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-extra-header.cjs\",[[512,\"p-table-extra-header\",{\"name\":[1537],\"sticky\":[1544],\"useSlot\":[1540,\"use-slot\"],\"align\":[1537],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-row-action.cjs\",[[512,\"p-table-row-action\",{\"type\":[1537],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"label\":[1],\"action\":[16],\"disabled\":[4],\"loading\":[4],\"showFunction\":[16]}]]],[\"p-toast-container.cjs\",[[769,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-toggle.cjs\",[[836,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar.cjs\",[[513,\"p-calendar\",{\"variant\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_enableToday\":[32]},null,{\"value\":[{\"_parseValue\":0}],\"minDate\":[{\"_parseMinDate\":0}],\"maxDate\":[{\"_parseMaxDate\":0}],\"disabledDates\":[{\"_parseDisabledDates\":0}],\"mode\":[{\"_modeChange\":0}]}]]],[\"p-label.cjs\",[[769,\"p-label\",{\"variant\":[513],\"iconOnly\":[516,\"icon-only\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"keepMobileContent\":[516,\"keep-mobile-content\"]}]]],[\"p-range.cjs\",[[513,\"p-range\",{\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[2]}]]],[\"p-avatar.cjs\",[[512,\"p-avatar\",{\"variant\":[1],\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[{\"onSrchChange\":0}]}]]],[\"p-listing-line.cjs\",[[1,\"p-listing-line\"]]],[\"p-navigation-title.cjs\",[[257,\"p-navigation-title\"]]],[\"p-floating-menu-item.cjs\",[[772,\"p-floating-menu-item\",{\"hover\":[4],\"disabled\":[4],\"loading\":[4],\"icon\":[1],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}]]],[\"p-stepper-item_2.cjs\",[[769,\"p-stepper-item\",{\"number\":[2],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}],[513,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-illustration.cjs\",[[512,\"p-illustration\",{\"variant\":[1]}]]],[\"p-drawer-body_3.cjs\",[[769,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-drawer-body\"],[769,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop.cjs\",[[769,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]]]],[\"p-smile.cjs\",[[512,\"p-smile\",{\"variant\":[1]}]]],[\"p-divider.cjs\",[[769,\"p-divider\",{\"variant\":[513],\"alignContent\":[513,\"align-content\"]}]]],[\"p-modal-body_4.cjs\",[[769,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-modal-footer\"],[769,\"p-modal-body\",{\"roundedBottom\":[4,\"rounded-bottom\"],\"roundedTop\":[4,\"rounded-top\"]}],[769,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-badge_3.cjs\",[[769,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[257,\"p-segment-container\"],[257,\"p-badge\"]]],[\"p-tooltip.cjs\",[[769,\"p-tooltip\",{\"variant\":[1],\"content\":[1],\"placement\":[1],\"offset\":[2],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"canManuallyClose\":[4,\"can-manually-close\"]},[[2,\"click\",\"clickHandler\"],[6,\"click\",\"documentClickHandler\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[0,\"focus\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"blur\",\"mouseLeaveHandler\"]],{\"show\":[{\"onShowChange\":0}],\"content\":[{\"onContentChange\":0}]}]]],[\"p-checkbox_3.cjs\",[[836,\"p-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}],[769,\"p-dropdown\",{\"variant\":[1],\"placement\":[513],\"offset\":[2],\"strategy\":[1],\"show\":[4],\"applyMaxWidth\":[4,\"apply-max-width\"],\"applyFullWidth\":[4,\"apply-full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8],\"insideClick\":[4,\"inside-click\"],\"disableTriggerClick\":[4,\"disable-trigger-click\"],\"manual\":[4],\"applyChevron\":[4,\"apply-chevron\"],\"manualChevron\":[4,\"manual-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"],\"containerClass\":[1,\"container-class\"],\"isDatepicker\":[4,\"is-datepicker\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[{\"onShowChange\":0}]}],[769,\"p-dropdown-menu-container\",{\"variant\":[1],\"maxWidth\":[4,\"max-width\"],\"class\":[1],\"fullWidth\":[4,\"full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8]}]]],[\"p-dropdown-menu-item_2.cjs\",[[769,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}],[769,\"p-dropdown-menu-item\",{\"active\":[4],\"checkbox\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"disabled\":[4],\"icon\":[1],\"iconWave\":[4,\"icon-wave\"],\"useContainer\":[4,\"use-container\"],\"autoHeight\":[4,\"auto-height\"]}]]],[\"p-field_3.cjs\",[[833,\"p-field\",{\"align\":[1],\"variant\":[1],\"id\":[1],\"size\":[1],\"type\":[1],\"properties\":[8],\"prefix\":[1],\"suffix\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconPosition\":[1,\"icon-position\"],\"value\":[8],\"label\":[1],\"loading\":[4],\"enablePasswordEye\":[4,\"enable-password-eye\"],\"placeholder\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"showAddOnEmpty\":[516,\"show-add-on-empty\"],\"addText\":[513,\"add-text\"],\"autofocus\":[516],\"error\":[513],\"autoShowError\":[516,\"auto-show-error\"],\"errorPlacement\":[1,\"error-placement\"],\"disabled\":[516],\"focused\":[516],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"selectAllOnFocus\":[516,\"select-all-on-focus\"],\"focusMethod\":[1,\"focus-method\"],\"optionalTemplate\":[16],\"_focused\":[32],\"_nonce\":[32],\"_type\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"],[2,\"keyup\",\"handleKeyup\"],[2,\"keydown\",\"handleKeydown\"]],{\"value\":[{\"watchvalue\":0}]}],[769,\"p-field-container\",{\"id\":[1],\"align\":[1],\"label\":[1],\"loading\":[4],\"loadingSize\":[1,\"loading-size\"],\"variant\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"optionalTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}]]],[\"p-pagination_3.cjs\",[[513,\"p-pagination\",{\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"_hasPaginationPages\":[32]}],[513,\"p-pagination-pages\",{\"page\":[1538],\"dropdownPageTemplate\":[16],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2],\"_showDropdown\":[32],\"_dropdowns\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[6,\"click\",\"documentClickHandler\"]],{\"page\":[{\"pageChangeHandler\":0}],\"pageSize\":[{\"pageChangeHandler\":0}],\"total\":[{\"pageChangeHandler\":0}]}],[769,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16],\"itemTemplate\":[16],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_8.cjs\",[[513,\"p-table-footer\",{\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"loading\":[4],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"tableHeaderHasAction\":[4,\"table-header-has-action\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[769,\"p-table-header\",{\"quickFilters\":[1,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"hideQuickFiltersOnMobile\":[4,\"hide-quick-filters-on-mobile\"],\"loading\":[4],\"enableSearch\":[4,\"enable-search\"],\"itemsSelectedAmount\":[2,\"items-selected-amount\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableExport\":[4,\"enable-export\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-empty-state\",{\"illustration\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionText\":[1,\"action-text\"],\"actionVariant\":[1,\"action-variant\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconPosition\":[1,\"action-icon-position\"],\"actionLoading\":[4,\"action-loading\"]}],[769,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"],\"enableAmountSelected\":[4,\"enable-amount-selected\"],\"amount\":[2],\"enableClose\":[4,\"enable-close\"],\"amountSelectedTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[772,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[8],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"checkboxOffset\":[4,\"checkbox-offset\"],\"template\":[16]}],[769,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"checked\":[4],\"isLast\":[4,\"is-last\"]}],[260,\"p-table-container\"],[769,\"p-table-row-actions-container\",{\"checked\":[4]}]]]]"), options);
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
exports.setNonce = index.setNonce;
|
|
@@ -280,7 +280,7 @@ const createStore = (defaultState, shouldUpdate) => {
|
|
|
280
280
|
const stateThemeOptions = ['light', 'dark'];
|
|
281
281
|
const stateLocaleOptions = ['nl', 'en'];
|
|
282
282
|
const { state: localState, onChange } = createStore({
|
|
283
|
-
theme: stateThemeOptions[
|
|
283
|
+
theme: stateThemeOptions[1],
|
|
284
284
|
locale: stateLocaleOptions[0],
|
|
285
285
|
});
|
|
286
286
|
const initTheme = (usePreferColorScheme = true, localStorageKey = false) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BGtpSJv_.js');
|
|
4
|
-
var state = require('./state-
|
|
4
|
+
var state = require('./state-iDWWYScu.js');
|
|
5
5
|
|
|
6
6
|
const ThemedHost = (props, children) => (index.h(index.Host, { ...props, "data-theme": state.state.theme }, children));
|
|
7
7
|
|
|
@@ -72,6 +72,8 @@
|
|
|
72
72
|
"components/molecules/profile/profile.component.js",
|
|
73
73
|
"components/molecules/range/range.component.js",
|
|
74
74
|
"components/molecules/select/select.component.js",
|
|
75
|
+
"components/molecules/submenu/item/submenu-item.component.js",
|
|
76
|
+
"components/molecules/submenu/menu/submenu.component.js",
|
|
75
77
|
"components/molecules/table/cell/table-cell.component.js",
|
|
76
78
|
"components/molecules/table/footer/table-footer.component.js",
|
|
77
79
|
"components/molecules/table/row/table-row.component.js",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.h-full{height:100%}.w-\[2px\]{width:2px}.w-full{width:100%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.pl-6{padding-left:1.5rem}.text-hurricane-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.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)}.group\/submenu-item:hover .group-hover\/submenu-item\:bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.dark\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 content = cva([
|
|
6
|
+
'flex items-center gap-6',
|
|
7
|
+
'h-8 w-full pl-6',
|
|
8
|
+
'cursor-pointer',
|
|
9
|
+
'group/submenu-item',
|
|
10
|
+
], {
|
|
11
|
+
variants: {},
|
|
12
|
+
});
|
|
13
|
+
export class SubmenuItem {
|
|
14
|
+
/**
|
|
15
|
+
* Wether the submenu is active or not
|
|
16
|
+
*/
|
|
17
|
+
active = false;
|
|
18
|
+
/**
|
|
19
|
+
* Icon to show on the label
|
|
20
|
+
*/
|
|
21
|
+
icon = 'placeholder';
|
|
22
|
+
render() {
|
|
23
|
+
return (h(ThemedHost, { key: '812bee8d46780d60ed604505b4f8c00e798a9f8f' }, h("div", { key: 'f5a76dd14ccb0559586b01214c6badb3bcf2eef8', class: cn(content({}), {}) }, h("div", { key: '97fe0916207dfefd625ae51d911ef4eeb5d6b4cc', class: cn(`h-full w-[2px] transition-colors`, {
|
|
24
|
+
'bg-indigo-600': this.active,
|
|
25
|
+
'bg-transparent group-hover/submenu-item:bg-indigo-600': !this.active,
|
|
26
|
+
}) }), h("div", { key: '2c6ab60c2fb19b197d5aabd2368a7eb7406fdcb2', class: cn('flex items-center gap-2 transition-colors', {
|
|
27
|
+
'text-storm-400 dark:text-hurricane-100': !this.active,
|
|
28
|
+
'text-indigo-600': this.active,
|
|
29
|
+
}) }, h("p-icon", { key: '7db15690b67f555a46dc72133be72e5937051658', variant: this.icon }), h("slot", { key: '1a4574d13c012affe2713a034445f636369729c8' })))));
|
|
30
|
+
}
|
|
31
|
+
static get is() { return "p-submenu-item"; }
|
|
32
|
+
static get encapsulation() { return "shadow"; }
|
|
33
|
+
static get originalStyleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["submenu-item.component.css"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get styleUrls() {
|
|
39
|
+
return {
|
|
40
|
+
"$": ["submenu-item.component.css"]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
static get properties() {
|
|
44
|
+
return {
|
|
45
|
+
"active": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "boolean",
|
|
50
|
+
"resolved": "boolean",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": "Wether the submenu is active or not"
|
|
58
|
+
},
|
|
59
|
+
"getter": false,
|
|
60
|
+
"setter": false,
|
|
61
|
+
"reflect": true,
|
|
62
|
+
"attribute": "active",
|
|
63
|
+
"defaultValue": "false"
|
|
64
|
+
},
|
|
65
|
+
"icon": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"mutable": false,
|
|
68
|
+
"complexType": {
|
|
69
|
+
"original": "IconVariant",
|
|
70
|
+
"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\"",
|
|
71
|
+
"references": {
|
|
72
|
+
"IconVariant": {
|
|
73
|
+
"location": "import",
|
|
74
|
+
"path": "../../../../types/icon",
|
|
75
|
+
"id": "src/types/icon.ts::IconVariant",
|
|
76
|
+
"referenceLocation": "IconVariant"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Icon to show on the label"
|
|
85
|
+
},
|
|
86
|
+
"getter": false,
|
|
87
|
+
"setter": false,
|
|
88
|
+
"reflect": true,
|
|
89
|
+
"attribute": "icon",
|
|
90
|
+
"defaultValue": "'placeholder'"
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { html, nothing } from "lit";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Design System/Molecules/Submenu/Item',
|
|
4
|
+
component: 'p-submenu-item',
|
|
5
|
+
args: {
|
|
6
|
+
content: "Item",
|
|
7
|
+
icon: "placeholder"
|
|
8
|
+
},
|
|
9
|
+
argTypes: {
|
|
10
|
+
content: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
export const Default = {
|
|
17
|
+
render: ({ active, content, icon }) => html `
|
|
18
|
+
<p-submenu-item active=${active ?? nothing} icon=${icon ?? 'placeholder'}>${content}</p-submenu-item>
|
|
19
|
+
`
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-\[calc\(1\.5rem\)\]{left:1.5rem}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.m-0{margin:0}.m-2{margin:.5rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.flex{display:flex}.size-4{height:1rem;width:1rem}.w-full{width:100%}.w-px{width:1px}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.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-200{--tw-bg-opacity:1;background-color:rgb(199 217 253/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-hurricane-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-hurricane-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.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))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.transition-\[max-height\]{transition-duration:.15s;transition-property:max-height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.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)}.hover\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.group\/submenu-header:hover .group-hover\/submenu-header\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\:bg-indigo-600\/30:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.3)}.dark\:bg-storm-500\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/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-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\:text-indigo-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(199 217 253/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\: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\:bg-indigo-600\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.3)}.dark\:bg-storm-500\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/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-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\:text-indigo-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(199 217 253/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)}
|
|
@@ -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
|
+
};
|