@actabldesign/bellhop-core 0.0.4 → 0.0.7
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/components → components}/bh-accordion-item.d.ts +1 -1
- package/{dist/components → components}/bh-accordion-item.js +1 -2
- package/components/bh-accordion-item.js.map +1 -0
- package/{dist/components → components}/bh-accordion.d.ts +1 -1
- package/{dist/components → components}/bh-accordion.js +1 -2
- package/components/bh-accordion.js.map +1 -0
- package/{dist/components → components}/bh-appbar.d.ts +1 -1
- package/{dist/components → components}/bh-appbar.js +4 -5
- package/components/bh-appbar.js.map +1 -0
- package/{dist/components → components}/bh-autocomplete-menu.d.ts +1 -1
- package/{dist/components → components}/bh-autocomplete-menu.js +1 -1
- package/{dist/components → components}/bh-avatar-add.d.ts +1 -1
- package/{dist/components → components}/bh-avatar-add.js +1 -1
- package/{dist/components → components}/bh-avatar-stacked.d.ts +1 -1
- package/{dist/components → components}/bh-avatar-stacked.js +4 -5
- package/components/bh-avatar-stacked.js.map +1 -0
- package/{dist/components → components}/bh-avatar.d.ts +1 -1
- package/{dist/components → components}/bh-avatar.js +1 -1
- package/{dist/components → components}/bh-badge-dot.d.ts +1 -1
- package/{dist/components → components}/bh-badge-dot.js +1 -1
- package/{dist/components → components}/bh-badge.d.ts +1 -1
- package/{dist/components → components}/bh-badge.js +1 -1
- package/{dist/components → components}/bh-bar-chart.d.ts +1 -1
- package/{dist/components → components}/bh-bar-chart.js +2 -3
- package/components/bh-bar-chart.js.map +1 -0
- package/{dist/components → components}/bh-breadcrumbs.d.ts +1 -1
- package/{dist/components → components}/bh-breadcrumbs.js +1 -1
- package/{dist/components → components}/bh-button-icon.d.ts +1 -1
- package/{dist/components → components}/bh-button-icon.js +1 -1
- package/{dist/components → components}/bh-button.d.ts +1 -1
- package/{dist/components → components}/bh-button.js +1 -1
- package/{dist/components → components}/bh-card-footer.d.ts +1 -1
- package/{dist/components/p-DK92X9HV.js → components/bh-card-footer.js} +10 -8
- package/components/bh-card-footer.js.map +1 -0
- package/{dist/components → components}/bh-card-header.d.ts +1 -1
- package/{dist/components/p-BNeBcvHu.js → components/bh-card-header.js} +16 -14
- package/components/bh-card-header.js.map +1 -0
- package/{dist/components → components}/bh-card.d.ts +1 -1
- package/{dist/components/p-DtbXB8r4.js → components/bh-card.js} +10 -8
- package/components/bh-card.js.map +1 -0
- package/{dist/components → components}/bh-chart-tooltip.d.ts +1 -1
- package/{dist/components → components}/bh-chart-tooltip.js +1 -1
- package/{dist/components → components}/bh-checkbox-group-item.d.ts +1 -1
- package/{dist/components/p-Ccq-Rk5W.js → components/bh-checkbox-group-item.js} +20 -18
- package/components/bh-checkbox-group-item.js.map +1 -0
- package/{dist/components → components}/bh-checkbox-group.d.ts +1 -1
- package/{dist/components/p-BOk69MBi.js → components/bh-checkbox-group.js} +10 -8
- package/components/bh-checkbox-group.js.map +1 -0
- package/{dist/components → components}/bh-checkbox.d.ts +1 -1
- package/{dist/components → components}/bh-checkbox.js +1 -1
- package/{dist/components → components}/bh-container-footer.d.ts +1 -1
- package/{dist/components → components}/bh-container-footer.js +3 -4
- package/components/bh-container-footer.js.map +1 -0
- package/{dist/components → components}/bh-container.d.ts +1 -1
- package/{dist/components → components}/bh-container.js +1 -2
- package/components/bh-container.js.map +1 -0
- package/{dist/components → components}/bh-data-grid.d.ts +1 -1
- package/{dist/components/p-D-RHfFhc.js → components/bh-data-grid.js} +28 -26
- package/components/bh-data-grid.js.map +1 -0
- package/{dist/components → components}/bh-date-picker-content.d.ts +1 -1
- package/{dist/components → components}/bh-date-picker-content.js +1 -1
- package/{dist/components → components}/bh-date-picker.d.ts +1 -1
- package/{dist/components → components}/bh-date-picker.js +10 -11
- package/components/bh-date-picker.js.map +1 -0
- package/{dist/components → components}/bh-date-range-picker-content.d.ts +1 -1
- package/{dist/components → components}/bh-date-range-picker-content.js +1 -1
- package/{dist/components → components}/bh-date-range-picker.d.ts +1 -1
- package/{dist/components → components}/bh-date-range-picker.js +11 -12
- package/components/bh-date-range-picker.js.map +1 -0
- package/{dist/components → components}/bh-dropdown-menu.d.ts +1 -1
- package/{dist/components → components}/bh-dropdown-menu.js +1 -1
- package/{dist/components → components}/bh-dropdown.d.ts +1 -1
- package/{dist/components → components}/bh-dropdown.js +1 -1
- package/{dist/components → components}/bh-empty-state.d.ts +1 -1
- package/{dist/components → components}/bh-empty-state.js +1 -1
- package/{dist/components → components}/bh-featured-icon.d.ts +1 -1
- package/{dist/components → components}/bh-featured-icon.js +1 -1
- package/{dist/components → components}/bh-illustrations.d.ts +1 -1
- package/{dist/components → components}/bh-illustrations.js +1 -2
- package/components/bh-illustrations.js.map +1 -0
- package/{dist/components → components}/bh-input-autocomplete.d.ts +1 -1
- package/{dist/components → components}/bh-input-autocomplete.js +8 -9
- package/components/bh-input-autocomplete.js.map +1 -0
- package/{dist/components → components}/bh-input-number.d.ts +1 -1
- package/{dist/components → components}/bh-input-number.js +4 -5
- package/components/bh-input-number.js.map +1 -0
- package/{dist/components → components}/bh-input-password.d.ts +1 -1
- package/{dist/components → components}/bh-input-password.js +3 -4
- package/components/bh-input-password.js.map +1 -0
- package/{dist/components → components}/bh-input-text.d.ts +1 -1
- package/{dist/components → components}/bh-input-text.js +1 -1
- package/{dist/components → components}/bh-input-verification.d.ts +1 -1
- package/{dist/components → components}/bh-input-verification.js +3 -4
- package/components/bh-input-verification.js.map +1 -0
- package/{dist/components → components}/bh-label.d.ts +1 -1
- package/{dist/components → components}/bh-label.js +1 -1
- package/{dist/components → components}/bh-loader-spinner.d.ts +1 -1
- package/{dist/components → components}/bh-loader-spinner.js +1 -1
- package/{dist/components → components}/bh-logo-box.d.ts +1 -1
- package/{dist/components → components}/bh-logo-box.js +1 -1
- package/{dist/components → components}/bh-modal-actions.d.ts +1 -1
- package/{dist/components → components}/bh-modal-actions.js +3 -4
- package/components/bh-modal-actions.js.map +1 -0
- package/{dist/components → components}/bh-modal-header.d.ts +1 -1
- package/{dist/components → components}/bh-modal-header.js +3 -4
- package/components/bh-modal-header.js.map +1 -0
- package/{dist/components → components}/bh-modal.d.ts +1 -1
- package/{dist/components/p-DURWm67o.js → components/bh-modal.js} +10 -8
- package/components/bh-modal.js.map +1 -0
- package/{dist/components → components}/bh-month-picker-content.d.ts +1 -1
- package/{dist/components → components}/bh-month-picker-content.js +1 -1
- package/{dist/components → components}/bh-month-picker.d.ts +1 -1
- package/{dist/components → components}/bh-month-picker.js +8 -9
- package/components/bh-month-picker.js.map +1 -0
- package/{dist/components → components}/bh-nav-item.d.ts +1 -1
- package/{dist/components → components}/bh-nav-item.js +1 -1
- package/{dist/components → components}/bh-notification.d.ts +1 -1
- package/{dist/components → components}/bh-notification.js +4 -5
- package/components/bh-notification.js.map +1 -0
- package/{dist/components → components}/bh-page-navigation-child.d.ts +1 -1
- package/{dist/components → components}/bh-page-navigation-child.js +1 -1
- package/{dist/components → components}/bh-page-navigation-multi-level.d.ts +1 -1
- package/{dist/components → components}/bh-page-navigation-multi-level.js +1 -1
- package/{dist/components → components}/bh-page-navigation-single-level.d.ts +1 -1
- package/{dist/components → components}/bh-page-navigation-single-level.js +1 -1
- package/{dist/components → components}/bh-page-navigation.d.ts +1 -1
- package/{dist/components → components}/bh-page-navigation.js +6 -7
- package/components/bh-page-navigation.js.map +1 -0
- package/{dist/components → components}/bh-pagination.d.ts +1 -1
- package/{dist/components → components}/bh-pagination.js +1 -1
- package/{dist/components → components}/bh-picker-menu.d.ts +1 -1
- package/{dist/components → components}/bh-picker-menu.js +1 -1
- package/{dist/components → components}/bh-pie-chart.d.ts +1 -1
- package/{dist/components → components}/bh-pie-chart.js +2 -3
- package/components/bh-pie-chart.js.map +1 -0
- package/{dist/components → components}/bh-popover.d.ts +1 -1
- package/{dist/components → components}/bh-popover.js +1 -2
- package/components/bh-popover.js.map +1 -0
- package/{dist/components → components}/bh-product-switcher.d.ts +1 -1
- package/{dist/components → components}/bh-product-switcher.js +1 -1
- package/{dist/components → components}/bh-property-switcher.d.ts +1 -1
- package/{dist/components → components}/bh-property-switcher.js +1 -2
- package/components/bh-property-switcher.js.map +1 -0
- package/{dist/components → components}/bh-radio-button.d.ts +1 -1
- package/{dist/components → components}/bh-radio-button.js +1 -1
- package/{dist/components → components}/bh-sidebar.d.ts +1 -1
- package/{dist/components → components}/bh-sidebar.js +10 -11
- package/components/bh-sidebar.js.map +1 -0
- package/{dist/components → components}/bh-skeleton-loader.d.ts +1 -1
- package/{dist/components → components}/bh-skeleton-loader.js +1 -1
- package/{dist/components → components}/bh-tab-item.d.ts +1 -1
- package/{dist/components → components}/bh-tab-item.js +1 -2
- package/components/bh-tab-item.js.map +1 -0
- package/{dist/components → components}/bh-tabs.d.ts +1 -1
- package/{dist/components → components}/bh-tabs.js +1 -2
- package/components/bh-tabs.js.map +1 -0
- package/{dist/components → components}/bh-tag.d.ts +1 -1
- package/{dist/components → components}/bh-tag.js +1 -1
- package/{dist/components → components}/bh-textarea.d.ts +1 -1
- package/{dist/components → components}/bh-textarea.js +3 -4
- package/components/bh-textarea.js.map +1 -0
- package/{dist/components → components}/bh-toggle.d.ts +1 -1
- package/{dist/components/p-dlKpBGSA.js → components/bh-toggle.js} +10 -8
- package/components/bh-toggle.js.map +1 -0
- package/{dist/components → components}/bh-tooltip.d.ts +1 -1
- package/{dist/components → components}/bh-tooltip.js +1 -1
- package/{dist/components → components}/bh-trend-chart.d.ts +1 -1
- package/{dist/components → components}/bh-trend-chart.js +1 -2
- package/components/bh-trend-chart.js.map +1 -0
- package/components/index.d.ts +170 -0
- package/components/index.js +71 -0
- package/components/index.js.map +1 -0
- package/{dist/components/p-DW54267I.js → components/p-8bOZFmdg.js} +6 -7
- package/components/p-8bOZFmdg.js.map +1 -0
- package/{dist/components/p-BFhwq3_y.js → components/p-B02xFf1P.js} +4 -5
- package/components/p-B02xFf1P.js.map +1 -0
- package/{dist/components/p-DsCDXclM.js → components/p-B0vRPcr5.js} +4 -5
- package/components/p-B0vRPcr5.js.map +1 -0
- package/{dist/components/p-CWGpUs1b.js → components/p-B9W7gNtY.js} +3 -4
- package/components/p-B9W7gNtY.js.map +1 -0
- package/{dist/components/p-Bs2Z3XIQ.js → components/p-BJLHKnwL.js} +5 -6
- package/components/p-BJLHKnwL.js.map +1 -0
- package/{dist/components/p-Df5drD7C.js → components/p-BLCjD0ux.js} +3 -4
- package/components/p-BLCjD0ux.js.map +1 -0
- package/{dist/components/p-DOaC_o63.js → components/p-BQKx1tGq.js} +7 -8
- package/components/p-BQKx1tGq.js.map +1 -0
- package/{dist/components/p-5LJWVh2v.js → components/p-BSok41i-.js} +3 -4
- package/components/p-BSok41i-.js.map +1 -0
- package/{dist/components/p-B7eVYv2t.js → components/p-BajBGXic.js} +3 -4
- package/components/p-BajBGXic.js.map +1 -0
- package/{dist/components/p-Cu6Uuaq7.js → components/p-BkK6rWZn.js} +4 -5
- package/components/p-BkK6rWZn.js.map +1 -0
- package/{dist/components/p-ChfLhYiJ.js → components/p-BsHlTsAN.js} +665 -11
- package/components/p-BsHlTsAN.js.map +1 -0
- package/{dist/components/p-B8MWhPHT.js → components/p-Bu0BcHwL.js} +6 -7
- package/components/p-Bu0BcHwL.js.map +1 -0
- package/{dist/components/p-Dm3E-tB8.js → components/p-Bx_0JeAb.js} +3 -4
- package/components/p-Bx_0JeAb.js.map +1 -0
- package/{dist/components/p-kd43PSY6.js → components/p-C0fcjlnS.js} +4 -5
- package/components/p-C0fcjlnS.js.map +1 -0
- package/{dist/components/p-CMomxDPL.js → components/p-CMoGgYqw.js} +3 -4
- package/components/p-CMoGgYqw.js.map +1 -0
- package/{dist/components/p-CK89kJIU.js → components/p-CUWjjZT-.js} +3 -4
- package/components/p-CUWjjZT-.js.map +1 -0
- package/{dist/components/p-uG5vRdFz.js → components/p-C_wf2KGn.js} +4 -5
- package/components/p-C_wf2KGn.js.map +1 -0
- package/{dist/components/p-BaLh9-zk.js → components/p-CdwyUif-.js} +3 -4
- package/components/p-CdwyUif-.js.map +1 -0
- package/{dist/components/p-BZELvMID.js → components/p-Cmo_S3fO.js} +5 -6
- package/components/p-Cmo_S3fO.js.map +1 -0
- package/{dist/components/p-C69LfZib.js → components/p-D0Ba0gOA.js} +5 -6
- package/components/p-D0Ba0gOA.js.map +1 -0
- package/{dist/components/p-CePuvH9t.js → components/p-D3FuyNC4.js} +7 -8
- package/components/p-D3FuyNC4.js.map +1 -0
- package/{dist/components/p-DAp7fLS-.js → components/p-D9aamyuM.js} +5 -6
- package/components/p-D9aamyuM.js.map +1 -0
- package/{dist/components/p-BpXkE6y8.js → components/p-DO_g_QMm.js} +3 -4
- package/components/p-DO_g_QMm.js.map +1 -0
- package/{dist/components/p-DIeMf4U9.js → components/p-DYC2IZEs.js} +8 -9
- package/components/p-DYC2IZEs.js.map +1 -0
- package/{dist/components/p-DufL1yr4.js → components/p-Df8KgHhe.js} +4 -5
- package/components/p-Df8KgHhe.js.map +1 -0
- package/{dist/components/p-D6w8lxZi.js → components/p-Do29ZTL9.js} +3 -4
- package/components/p-Do29ZTL9.js.map +1 -0
- package/{dist/components/p-DcoR-p0a.js → components/p-DxNNy00t.js} +3 -4
- package/components/p-DxNNy00t.js.map +1 -0
- package/{dist/components/p-SkkbcLa0.js → components/p-Npcwl1Z8.js} +3 -4
- package/components/p-Npcwl1Z8.js.map +1 -0
- package/{dist/components/p-DkGh2r0W.js → components/p-S3PEg8gv.js} +3 -4
- package/components/p-S3PEg8gv.js.map +1 -0
- package/{dist/components/p-CbeeTFys.js → components/p-WibqGBGu.js} +3 -4
- package/components/p-WibqGBGu.js.map +1 -0
- package/{dist/components/p-DQUicoqi.js → components/p-h6juyPoa.js} +3 -4
- package/components/p-h6juyPoa.js.map +1 -0
- package/{dist/components/p-C97e5uAI.js → components/p-u2N2FclB.js} +4 -5
- package/components/p-u2N2FclB.js.map +1 -0
- package/{dist/components/p-B2edfvL2.js → components/p-wPu4WTba.js} +3 -4
- package/components/p-wPu4WTba.js.map +1 -0
- package/dist/bellhop-core/bellhop-core.esm.js +1 -1
- package/dist/bellhop-core/index.esm.js +1 -1
- package/dist/bellhop-core/{p-2c796978.entry.js → p-07c9b7fa.entry.js} +2 -2
- package/dist/bellhop-core/{p-496fca9b.entry.js → p-091171da.entry.js} +2 -2
- package/dist/bellhop-core/{p-03e93cd8.entry.js → p-09a50860.entry.js} +2 -2
- package/dist/bellhop-core/{p-3719852a.entry.js → p-0e34250c.entry.js} +2 -2
- package/dist/bellhop-core/{p-cdd593fb.entry.js → p-11a6e5fc.entry.js} +2 -2
- package/dist/bellhop-core/{p-870fc023.entry.js → p-1540001e.entry.js} +2 -2
- package/dist/bellhop-core/{p-09f3464e.entry.js → p-1b670545.entry.js} +2 -2
- package/dist/bellhop-core/{p-8981025c.entry.js → p-1be3e908.entry.js} +2 -2
- package/dist/bellhop-core/{p-e86780b6.entry.js → p-21bc4f77.entry.js} +2 -2
- package/dist/bellhop-core/{p-2310cb6e.entry.js → p-233540f9.entry.js} +3 -3
- package/dist/bellhop-core/{p-0438e0a9.entry.js → p-272afebb.entry.js} +2 -2
- package/dist/bellhop-core/{p-860be0be.entry.js → p-2db7990e.entry.js} +2 -2
- package/dist/bellhop-core/{p-10967cab.entry.js → p-3194a87d.entry.js} +2 -2
- package/dist/bellhop-core/{p-e99bc91a.entry.js → p-3255019b.entry.js} +2 -2
- package/dist/bellhop-core/{p-56b857f5.entry.js → p-36166900.entry.js} +2 -2
- package/dist/bellhop-core/{p-686dea4a.entry.js → p-3a1c52a9.entry.js} +2 -2
- package/dist/bellhop-core/{p-58879213.entry.js → p-43c41dfb.entry.js} +2 -2
- package/dist/bellhop-core/{p-dcaa20e2.entry.js → p-442121f3.entry.js} +2 -2
- package/dist/bellhop-core/{p-4a14cbb5.entry.js → p-49edd1bb.entry.js} +2 -2
- package/dist/bellhop-core/{p-20d680ce.entry.js → p-4a8844ff.entry.js} +2 -2
- package/dist/bellhop-core/{p-f6e1b47c.entry.js → p-4e483d25.entry.js} +2 -2
- package/dist/bellhop-core/{p-b546cd23.entry.js → p-5514d7fb.entry.js} +2 -2
- package/dist/bellhop-core/{p-5760ce66.entry.js → p-5c4f74b8.entry.js} +2 -2
- package/dist/bellhop-core/{p-90b9047d.entry.js → p-5f92cb28.entry.js} +2 -2
- package/dist/bellhop-core/{p-e190ac50.entry.js → p-62235d6e.entry.js} +2 -2
- package/dist/bellhop-core/{p-f7c7416d.entry.js → p-67956598.entry.js} +2 -2
- package/dist/bellhop-core/{p-d4bfd30d.entry.js → p-6bc81ebb.entry.js} +2 -2
- package/dist/bellhop-core/{p-c8fb7f34.entry.js → p-6e8dd0f7.entry.js} +2 -2
- package/dist/bellhop-core/{p-abe24947.entry.js → p-7a85db89.entry.js} +2 -2
- package/dist/bellhop-core/{p-87fb26a0.entry.js → p-7b0cba50.entry.js} +2 -2
- package/dist/bellhop-core/{p-363dce47.entry.js → p-80e07b3d.entry.js} +2 -2
- package/dist/bellhop-core/{p-ef47dcd1.entry.js → p-83443918.entry.js} +2 -2
- package/dist/bellhop-core/{p-859f45da.entry.js → p-8962e1a6.entry.js} +2 -2
- package/dist/bellhop-core/{p-70ee270c.entry.js → p-8bf6364f.entry.js} +2 -2
- package/dist/bellhop-core/{p-e9ed7c17.entry.js → p-8cd61bd8.entry.js} +2 -2
- package/dist/bellhop-core/{p-5ab50add.entry.js → p-9a19cbf7.entry.js} +2 -2
- package/dist/bellhop-core/{p-239c7e6b.entry.js → p-9bf79c21.entry.js} +2 -2
- package/dist/bellhop-core/{p-DshiN5nT.js → p-CSYwm_Ke.js} +2 -2
- package/dist/bellhop-core/{p-DshiN5nT.js.map → p-CSYwm_Ke.js.map} +1 -1
- package/dist/bellhop-core/{p-CIj6YHfo.js → p-Ck1gRAmI.js} +2 -2
- package/dist/bellhop-core/{p-CIj6YHfo.js.map → p-Ck1gRAmI.js.map} +1 -1
- package/dist/bellhop-core/{p-I9CPXdBF.js → p-DY76Ee-p.js} +2 -2
- package/dist/bellhop-core/{p-I9CPXdBF.js.map → p-DY76Ee-p.js.map} +1 -1
- package/dist/bellhop-core/{p-6433b0a7.entry.js → p-a30e22f7.entry.js} +2 -2
- package/dist/bellhop-core/{p-086e8c86.entry.js → p-a41b3673.entry.js} +2 -2
- package/dist/bellhop-core/{p-b7801d25.entry.js → p-a42e8ddb.entry.js} +2 -2
- package/dist/bellhop-core/{p-67452ed0.entry.js → p-afd85291.entry.js} +2 -2
- package/dist/bellhop-core/{p-356a2ed7.entry.js → p-b0dda4df.entry.js} +2 -2
- package/dist/bellhop-core/{p-ab9c5351.entry.js → p-b878539a.entry.js} +2 -2
- package/dist/bellhop-core/{p-69f85850.entry.js → p-bd00d5ad.entry.js} +2 -2
- package/dist/bellhop-core/{p-b1cb34e9.entry.js → p-c0e36166.entry.js} +2 -2
- package/dist/bellhop-core/{p-ab2b037c.entry.js → p-c33f6e73.entry.js} +2 -2
- package/dist/bellhop-core/{p-44241bad.entry.js → p-c70d11a2.entry.js} +2 -2
- package/dist/bellhop-core/{p-94d2d599.entry.js → p-c9ac177b.entry.js} +2 -2
- package/dist/bellhop-core/{p-9a585c1a.entry.js → p-c9f7d922.entry.js} +2 -2
- package/dist/bellhop-core/{p-adcd2e15.entry.js → p-cf412873.entry.js} +2 -2
- package/dist/bellhop-core/{p-afd0e309.entry.js → p-d5bf49ab.entry.js} +2 -2
- package/dist/bellhop-core/{p-f5468da0.entry.js → p-defe9916.entry.js} +2 -2
- package/dist/bellhop-core/{p-23b74b40.entry.js → p-df4498cd.entry.js} +2 -2
- package/dist/bellhop-core/{p-57ac382d.entry.js → p-efd3dfed.entry.js} +2 -2
- package/dist/bellhop-core/{p-52e877e0.entry.js → p-f85a9eaa.entry.js} +2 -2
- package/dist/bellhop-core/{p-dd43d560.entry.js → p-ffb29d95.entry.js} +2 -2
- package/dist/bellhop-core/p-nAAobRRQ.js +3 -0
- package/dist/bellhop-core/p-nAAobRRQ.js.map +1 -0
- package/dist/cjs/bellhop-core.cjs.js +1 -1
- package/dist/cjs/bh-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/bh-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bh-appbar.cjs.entry.js +1 -1
- package/dist/cjs/bh-autocomplete-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/bh-avatar-add.cjs.entry.js +1 -1
- package/dist/cjs/bh-avatar-stacked.cjs.entry.js +1 -1
- package/dist/cjs/bh-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bh-badge-dot_2.cjs.entry.js +1 -1
- package/dist/cjs/bh-badge.cjs.entry.js +1 -1
- package/dist/cjs/bh-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/{bh-button-CKYE8jYL.js → bh-button-DD0c0ODJ.js} +3 -3
- package/dist/cjs/{bh-button-CKYE8jYL.js.map → bh-button-DD0c0ODJ.js.map} +1 -1
- package/dist/cjs/bh-button-icon.cjs.entry.js +1 -1
- package/dist/cjs/bh-button_2.cjs.entry.js +2 -2
- package/dist/cjs/bh-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/bh-card-header.cjs.entry.js +1 -1
- package/dist/cjs/bh-card.cjs.entry.js +1 -1
- package/dist/cjs/bh-chart-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/bh-checkbox-group-item.cjs.entry.js +1 -1
- package/dist/cjs/bh-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/bh-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/bh-container-footer.cjs.entry.js +1 -1
- package/dist/cjs/bh-container.cjs.entry.js +1 -1
- package/dist/cjs/bh-data-grid.cjs.entry.js +1 -1
- package/dist/cjs/bh-date-picker-content.cjs.entry.js +1 -1
- package/dist/cjs/bh-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bh-date-range-picker-content.cjs.entry.js +1 -1
- package/dist/cjs/bh-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/bh-dropdown-menu.cjs.entry.js +1 -1
- package/dist/cjs/bh-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/bh-empty-state_3.cjs.entry.js +2 -2
- package/dist/cjs/bh-featured-icon.cjs.entry.js +1 -1
- package/dist/cjs/bh-illustrations.cjs.entry.js +1 -1
- package/dist/cjs/bh-input-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/bh-input-number.cjs.entry.js +1 -1
- package/dist/cjs/bh-input-password.cjs.entry.js +1 -1
- package/dist/cjs/bh-input-text_2.cjs.entry.js +1 -1
- package/dist/cjs/bh-input-verification.cjs.entry.js +1 -1
- package/dist/cjs/{bh-label-DRC8k-B9.js → bh-label-MpXjm9k0.js} +3 -3
- package/dist/cjs/{bh-label-DRC8k-B9.js.map → bh-label-MpXjm9k0.js.map} +1 -1
- package/dist/cjs/bh-label_2.cjs.entry.js +2 -2
- package/dist/cjs/bh-modal-actions.cjs.entry.js +1 -1
- package/dist/cjs/bh-modal-header.cjs.entry.js +1 -1
- package/dist/cjs/bh-modal.cjs.entry.js +1 -1
- package/dist/cjs/bh-month-picker-content.cjs.entry.js +1 -1
- package/dist/cjs/bh-month-picker.cjs.entry.js +1 -1
- package/dist/cjs/bh-notification.cjs.entry.js +1 -1
- package/dist/cjs/bh-page-navigation-child.cjs.entry.js +1 -1
- package/dist/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +1 -1
- package/dist/cjs/bh-page-navigation.cjs.entry.js +1 -1
- package/dist/cjs/{bh-pagination-BJ1azyCc.js → bh-pagination-CgER63yz.js} +3 -3
- package/dist/cjs/{bh-pagination-BJ1azyCc.js.map → bh-pagination-CgER63yz.js.map} +1 -1
- package/dist/cjs/bh-pie-chart.cjs.entry.js +1 -1
- package/dist/cjs/bh-popover.cjs.entry.js +1 -1
- package/dist/cjs/bh-product-switcher.cjs.entry.js +1 -1
- package/dist/cjs/bh-property-switcher.cjs.entry.js +1 -1
- package/dist/cjs/bh-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/bh-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/bh-tabs.cjs.entry.js +1 -1
- package/dist/cjs/bh-textarea.cjs.entry.js +1 -1
- package/dist/cjs/bh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/bh-trend-chart.cjs.entry.js +1 -1
- package/dist/cjs/{index-BVJ_Kket.js → index-DQwSUT6k.js} +666 -9
- package/dist/cjs/index-DQwSUT6k.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/esm/bellhop-core.js +2 -2
- package/dist/esm/bh-accordion-item.entry.js +1 -1
- package/dist/esm/bh-accordion.entry.js +1 -1
- package/dist/esm/bh-appbar.entry.js +1 -1
- package/dist/esm/bh-autocomplete-menu_2.entry.js +1 -1
- package/dist/esm/bh-avatar-add.entry.js +1 -1
- package/dist/esm/bh-avatar-stacked.entry.js +1 -1
- package/dist/esm/bh-avatar.entry.js +1 -1
- package/dist/esm/bh-badge-dot_2.entry.js +1 -1
- package/dist/esm/bh-badge.entry.js +1 -1
- package/dist/esm/bh-bar-chart.entry.js +1 -1
- package/dist/esm/{bh-button-n5gkWRSP.js → bh-button-ImGVvXaj.js} +3 -3
- package/dist/esm/{bh-button-n5gkWRSP.js.map → bh-button-ImGVvXaj.js.map} +1 -1
- package/dist/esm/bh-button-icon.entry.js +1 -1
- package/dist/esm/bh-button_2.entry.js +2 -2
- package/dist/esm/bh-card-footer.entry.js +1 -1
- package/dist/esm/bh-card-header.entry.js +1 -1
- package/dist/esm/bh-card.entry.js +1 -1
- package/dist/esm/bh-chart-tooltip.entry.js +1 -1
- package/dist/esm/bh-checkbox-group-item.entry.js +1 -1
- package/dist/esm/bh-checkbox-group.entry.js +1 -1
- package/dist/esm/bh-checkbox_2.entry.js +1 -1
- package/dist/esm/bh-container-footer.entry.js +1 -1
- package/dist/esm/bh-container.entry.js +1 -1
- package/dist/esm/bh-data-grid.entry.js +1 -1
- package/dist/esm/bh-date-picker-content.entry.js +1 -1
- package/dist/esm/bh-date-picker.entry.js +1 -1
- package/dist/esm/bh-date-range-picker-content.entry.js +1 -1
- package/dist/esm/bh-date-range-picker.entry.js +1 -1
- package/dist/esm/bh-dropdown-menu.entry.js +1 -1
- package/dist/esm/bh-dropdown_3.entry.js +1 -1
- package/dist/esm/bh-empty-state_3.entry.js +2 -2
- package/dist/esm/bh-featured-icon.entry.js +1 -1
- package/dist/esm/bh-illustrations.entry.js +1 -1
- package/dist/esm/bh-input-autocomplete.entry.js +1 -1
- package/dist/esm/bh-input-number.entry.js +1 -1
- package/dist/esm/bh-input-password.entry.js +1 -1
- package/dist/esm/bh-input-text_2.entry.js +1 -1
- package/dist/esm/bh-input-verification.entry.js +1 -1
- package/dist/esm/{bh-label-fV57YpXm.js → bh-label-PLT7t4We.js} +3 -3
- package/dist/esm/{bh-label-fV57YpXm.js.map → bh-label-PLT7t4We.js.map} +1 -1
- package/dist/esm/bh-label_2.entry.js +2 -2
- package/dist/esm/bh-modal-actions.entry.js +1 -1
- package/dist/esm/bh-modal-header.entry.js +1 -1
- package/dist/esm/bh-modal.entry.js +1 -1
- package/dist/esm/bh-month-picker-content.entry.js +1 -1
- package/dist/esm/bh-month-picker.entry.js +1 -1
- package/dist/esm/bh-notification.entry.js +1 -1
- package/dist/esm/bh-page-navigation-child.entry.js +1 -1
- package/dist/esm/bh-page-navigation-multi-level_2.entry.js +1 -1
- package/dist/esm/bh-page-navigation.entry.js +1 -1
- package/dist/esm/{bh-pagination-BtbbslVs.js → bh-pagination-CUeRSYsV.js} +3 -3
- package/dist/esm/{bh-pagination-BtbbslVs.js.map → bh-pagination-CUeRSYsV.js.map} +1 -1
- package/dist/esm/bh-pie-chart.entry.js +1 -1
- package/dist/esm/bh-popover.entry.js +1 -1
- package/dist/esm/bh-product-switcher.entry.js +1 -1
- package/dist/esm/bh-property-switcher.entry.js +1 -1
- package/dist/esm/bh-sidebar.entry.js +1 -1
- package/dist/esm/bh-tab-item.entry.js +1 -1
- package/dist/esm/bh-tabs.entry.js +1 -1
- package/dist/esm/bh-textarea.entry.js +1 -1
- package/dist/esm/bh-toggle.entry.js +1 -1
- package/dist/esm/bh-trend-chart.entry.js +1 -1
- package/dist/esm/{index-DXAL-jSE.js → index-nAAobRRQ.js} +666 -9
- package/dist/esm/index-nAAobRRQ.js.map +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +2 -2
- package/hydrate/index.d.ts +275 -0
- package/hydrate/index.js +33803 -0
- package/hydrate/index.mjs +33795 -0
- package/hydrate/package.json +12 -0
- package/llms.txt +41649 -0
- package/package.json +22 -11
- package/react.d.ts +253 -0
- package/dist/bellhop-core/p-DXAL-jSE.js +0 -3
- package/dist/bellhop-core/p-DXAL-jSE.js.map +0 -1
- package/dist/cjs/index-BVJ_Kket.js.map +0 -1
- package/dist/components/bh-accordion-item.js.map +0 -1
- package/dist/components/bh-accordion.js.map +0 -1
- package/dist/components/bh-appbar.js.map +0 -1
- package/dist/components/bh-avatar-stacked.js.map +0 -1
- package/dist/components/bh-bar-chart.js.map +0 -1
- package/dist/components/bh-card-footer.js +0 -9
- package/dist/components/bh-card-footer.js.map +0 -1
- package/dist/components/bh-card-header.js +0 -9
- package/dist/components/bh-card-header.js.map +0 -1
- package/dist/components/bh-card.js +0 -9
- package/dist/components/bh-card.js.map +0 -1
- package/dist/components/bh-checkbox-group-item.js +0 -9
- package/dist/components/bh-checkbox-group-item.js.map +0 -1
- package/dist/components/bh-checkbox-group.js +0 -9
- package/dist/components/bh-checkbox-group.js.map +0 -1
- package/dist/components/bh-container-footer.js.map +0 -1
- package/dist/components/bh-container.js.map +0 -1
- package/dist/components/bh-data-grid.js +0 -9
- package/dist/components/bh-data-grid.js.map +0 -1
- package/dist/components/bh-date-picker.js.map +0 -1
- package/dist/components/bh-date-range-picker.js.map +0 -1
- package/dist/components/bh-illustrations.js.map +0 -1
- package/dist/components/bh-input-autocomplete.js.map +0 -1
- package/dist/components/bh-input-number.js.map +0 -1
- package/dist/components/bh-input-password.js.map +0 -1
- package/dist/components/bh-input-verification.js.map +0 -1
- package/dist/components/bh-modal-actions.js.map +0 -1
- package/dist/components/bh-modal-header.js.map +0 -1
- package/dist/components/bh-modal.js +0 -9
- package/dist/components/bh-modal.js.map +0 -1
- package/dist/components/bh-month-picker.js.map +0 -1
- package/dist/components/bh-notification.js.map +0 -1
- package/dist/components/bh-page-navigation.js.map +0 -1
- package/dist/components/bh-pie-chart.js.map +0 -1
- package/dist/components/bh-popover.js.map +0 -1
- package/dist/components/bh-property-switcher.js.map +0 -1
- package/dist/components/bh-sidebar.js.map +0 -1
- package/dist/components/bh-tab-item.js.map +0 -1
- package/dist/components/bh-tabs.js.map +0 -1
- package/dist/components/bh-textarea.js.map +0 -1
- package/dist/components/bh-toggle.js +0 -9
- package/dist/components/bh-toggle.js.map +0 -1
- package/dist/components/bh-trend-chart.js.map +0 -1
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -17
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-5LJWVh2v.js.map +0 -1
- package/dist/components/p-B2edfvL2.js.map +0 -1
- package/dist/components/p-B7eVYv2t.js.map +0 -1
- package/dist/components/p-B8MWhPHT.js.map +0 -1
- package/dist/components/p-BFhwq3_y.js.map +0 -1
- package/dist/components/p-BNeBcvHu.js.map +0 -1
- package/dist/components/p-BOk69MBi.js.map +0 -1
- package/dist/components/p-BZELvMID.js.map +0 -1
- package/dist/components/p-BaLh9-zk.js.map +0 -1
- package/dist/components/p-BpXkE6y8.js.map +0 -1
- package/dist/components/p-Bs2Z3XIQ.js.map +0 -1
- package/dist/components/p-C69LfZib.js.map +0 -1
- package/dist/components/p-C97e5uAI.js.map +0 -1
- package/dist/components/p-CK89kJIU.js.map +0 -1
- package/dist/components/p-CMomxDPL.js.map +0 -1
- package/dist/components/p-CWGpUs1b.js.map +0 -1
- package/dist/components/p-CbeeTFys.js.map +0 -1
- package/dist/components/p-Ccq-Rk5W.js.map +0 -1
- package/dist/components/p-CePuvH9t.js.map +0 -1
- package/dist/components/p-ChfLhYiJ.js.map +0 -1
- package/dist/components/p-Cu6Uuaq7.js.map +0 -1
- package/dist/components/p-D-RHfFhc.js.map +0 -1
- package/dist/components/p-D6w8lxZi.js.map +0 -1
- package/dist/components/p-DAp7fLS-.js.map +0 -1
- package/dist/components/p-DIeMf4U9.js.map +0 -1
- package/dist/components/p-DK92X9HV.js.map +0 -1
- package/dist/components/p-DOaC_o63.js.map +0 -1
- package/dist/components/p-DQUicoqi.js.map +0 -1
- package/dist/components/p-DURWm67o.js.map +0 -1
- package/dist/components/p-DW54267I.js.map +0 -1
- package/dist/components/p-DcoR-p0a.js.map +0 -1
- package/dist/components/p-Df5drD7C.js.map +0 -1
- package/dist/components/p-DkGh2r0W.js.map +0 -1
- package/dist/components/p-Dm3E-tB8.js.map +0 -1
- package/dist/components/p-DsCDXclM.js.map +0 -1
- package/dist/components/p-DtbXB8r4.js.map +0 -1
- package/dist/components/p-DufL1yr4.js.map +0 -1
- package/dist/components/p-SkkbcLa0.js.map +0 -1
- package/dist/components/p-dlKpBGSA.js.map +0 -1
- package/dist/components/p-kd43PSY6.js.map +0 -1
- package/dist/components/p-uG5vRdFz.js.map +0 -1
- package/dist/esm/index-DXAL-jSE.js.map +0 -1
- /package/{dist/components → components}/bh-autocomplete-menu.js.map +0 -0
- /package/{dist/components → components}/bh-avatar-add.js.map +0 -0
- /package/{dist/components → components}/bh-avatar.js.map +0 -0
- /package/{dist/components → components}/bh-badge-dot.js.map +0 -0
- /package/{dist/components → components}/bh-badge.js.map +0 -0
- /package/{dist/components → components}/bh-breadcrumbs.js.map +0 -0
- /package/{dist/components → components}/bh-button-icon.js.map +0 -0
- /package/{dist/components → components}/bh-button.js.map +0 -0
- /package/{dist/components → components}/bh-chart-tooltip.js.map +0 -0
- /package/{dist/components → components}/bh-checkbox.js.map +0 -0
- /package/{dist/components → components}/bh-date-picker-content.js.map +0 -0
- /package/{dist/components → components}/bh-date-range-picker-content.js.map +0 -0
- /package/{dist/components → components}/bh-dropdown-menu.js.map +0 -0
- /package/{dist/components → components}/bh-dropdown.js.map +0 -0
- /package/{dist/components → components}/bh-empty-state.js.map +0 -0
- /package/{dist/components → components}/bh-featured-icon.js.map +0 -0
- /package/{dist/components → components}/bh-input-text.js.map +0 -0
- /package/{dist/components → components}/bh-label.js.map +0 -0
- /package/{dist/components → components}/bh-loader-spinner.js.map +0 -0
- /package/{dist/components → components}/bh-logo-box.js.map +0 -0
- /package/{dist/components → components}/bh-month-picker-content.js.map +0 -0
- /package/{dist/components → components}/bh-nav-item.js.map +0 -0
- /package/{dist/components → components}/bh-page-navigation-child.js.map +0 -0
- /package/{dist/components → components}/bh-page-navigation-multi-level.js.map +0 -0
- /package/{dist/components → components}/bh-page-navigation-single-level.js.map +0 -0
- /package/{dist/components → components}/bh-pagination.js.map +0 -0
- /package/{dist/components → components}/bh-picker-menu.js.map +0 -0
- /package/{dist/components → components}/bh-product-switcher.js.map +0 -0
- /package/{dist/components → components}/bh-radio-button.js.map +0 -0
- /package/{dist/components → components}/bh-skeleton-loader.js.map +0 -0
- /package/{dist/components → components}/bh-tag.js.map +0 -0
- /package/{dist/components → components}/bh-tooltip.js.map +0 -0
- /package/{dist/components → components}/p-2KjdCYlS.js +0 -0
- /package/{dist/components → components}/p-2KjdCYlS.js.map +0 -0
- /package/dist/bellhop-core/{p-2c796978.entry.js.map → p-07c9b7fa.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-496fca9b.entry.js.map → p-091171da.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-03e93cd8.entry.js.map → p-09a50860.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-3719852a.entry.js.map → p-0e34250c.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-cdd593fb.entry.js.map → p-11a6e5fc.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-870fc023.entry.js.map → p-1540001e.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-09f3464e.entry.js.map → p-1b670545.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-8981025c.entry.js.map → p-1be3e908.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-e86780b6.entry.js.map → p-21bc4f77.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-2310cb6e.entry.js.map → p-233540f9.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-0438e0a9.entry.js.map → p-272afebb.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-860be0be.entry.js.map → p-2db7990e.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-10967cab.entry.js.map → p-3194a87d.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-e99bc91a.entry.js.map → p-3255019b.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-56b857f5.entry.js.map → p-36166900.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-686dea4a.entry.js.map → p-3a1c52a9.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-58879213.entry.js.map → p-43c41dfb.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-dcaa20e2.entry.js.map → p-442121f3.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-4a14cbb5.entry.js.map → p-49edd1bb.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-20d680ce.entry.js.map → p-4a8844ff.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-f6e1b47c.entry.js.map → p-4e483d25.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-b546cd23.entry.js.map → p-5514d7fb.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-5760ce66.entry.js.map → p-5c4f74b8.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-90b9047d.entry.js.map → p-5f92cb28.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-e190ac50.entry.js.map → p-62235d6e.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-f7c7416d.entry.js.map → p-67956598.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-d4bfd30d.entry.js.map → p-6bc81ebb.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-c8fb7f34.entry.js.map → p-6e8dd0f7.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-abe24947.entry.js.map → p-7a85db89.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-87fb26a0.entry.js.map → p-7b0cba50.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-363dce47.entry.js.map → p-80e07b3d.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-ef47dcd1.entry.js.map → p-83443918.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-859f45da.entry.js.map → p-8962e1a6.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-70ee270c.entry.js.map → p-8bf6364f.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-e9ed7c17.entry.js.map → p-8cd61bd8.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-5ab50add.entry.js.map → p-9a19cbf7.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-239c7e6b.entry.js.map → p-9bf79c21.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-6433b0a7.entry.js.map → p-a30e22f7.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-086e8c86.entry.js.map → p-a41b3673.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-b7801d25.entry.js.map → p-a42e8ddb.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-67452ed0.entry.js.map → p-afd85291.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-356a2ed7.entry.js.map → p-b0dda4df.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-ab9c5351.entry.js.map → p-b878539a.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-69f85850.entry.js.map → p-bd00d5ad.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-b1cb34e9.entry.js.map → p-c0e36166.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-ab2b037c.entry.js.map → p-c33f6e73.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-44241bad.entry.js.map → p-c70d11a2.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-94d2d599.entry.js.map → p-c9ac177b.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-9a585c1a.entry.js.map → p-c9f7d922.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-adcd2e15.entry.js.map → p-cf412873.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-afd0e309.entry.js.map → p-d5bf49ab.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-f5468da0.entry.js.map → p-defe9916.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-23b74b40.entry.js.map → p-df4498cd.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-57ac382d.entry.js.map → p-efd3dfed.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-52e877e0.entry.js.map → p-f85a9eaa.entry.js.map} +0 -0
- /package/dist/bellhop-core/{p-dd43d560.entry.js.map → p-ffb29d95.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{B as BhButton}from"./p-
|
|
1
|
+
export{B as BhButton}from"./p-Ck1gRAmI.js";export{bh_badge as BhBadge}from"./p-cf412873.entry.js";export{B as BhLabel}from"./p-DY76Ee-p.js";export{bh_modal as BhModal}from"./p-1b670545.entry.js";export{bh_avatar as BhAvatar}from"./p-7a85db89.entry.js";export{bh_toggle as BhToggle}from"./p-7b0cba50.entry.js";export{bh_card as BhCard}from"./p-6bc81ebb.entry.js";export{bh_card_header as BhCardHeader}from"./p-8cd61bd8.entry.js";export{bh_card_footer as BhCardFooter}from"./p-83443918.entry.js";export{bh_checkbox_group as BhCheckboxGroup}from"./p-11a6e5fc.entry.js";export{bh_checkbox_group_item as BhCheckboxGroupItem}from"./p-272afebb.entry.js";export{bh_data_grid as BhDataGrid}from"./p-233540f9.entry.js";export{B as BhPagination}from"./p-CSYwm_Ke.js";import"./p-nAAobRRQ.js";import"./p-CPgx0iFq.js";
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,c as o,h as a,H as l}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r,c as o,h as a,H as l}from"./p-nAAobRRQ.js";const s="@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap'); :root{--color-white:hsl(0, 0%, 100%);--color-black:hsl(0, 0%, 0%);--color-transparent:hsla(0, 0%, 100%, 0);--color-neutral-25:hsl(240, 20%, 99%);--color-neutral-50:hsl(240, 20%, 98%);--color-neutral-100:hsl(240, 17%, 95%);--color-neutral-200:hsl(227, 25%, 89%);--color-neutral-300:hsl(224, 24%, 78%);--color-neutral-400:hsl(226, 24%, 59%);--color-neutral-500:hsl(226, 24%, 48%);--color-neutral-600:hsl(226, 24%, 38%);--color-neutral-700:hsl(226, 24%, 25%);--color-neutral-800:hsl(233, 33%, 10%);--color-neutral-900:hsl(231, 32%, 8%);--color-neutral-950:hsl(231, 32%, 8%);--color-brand-25:hsl(220, 82%, 98%);--color-brand-50:hsl(222, 87%, 97%);--color-brand-100:hsl(221, 94%, 94%);--color-brand-200:hsl(221, 92%, 86%);--color-brand-300:hsl(224, 95%, 77%);--color-brand-400:hsl(224, 94%, 72%);--color-brand-500:hsl(230, 67%, 58%);--color-brand-600:hsl(230, 69%, 48%);--color-brand-700:hsl(230, 75%, 34%);--color-brand-800:hsl(243, 86%, 44%);--color-brand-900:hsl(237, 69%, 24%);--color-brand-950:hsl(237, 61%, 20%);--color-error-25:hsl(12, 100%, 99%);--color-error-50:hsl(5, 86%, 97%);--color-error-100:hsl(4, 93%, 94%);--color-error-200:hsl(3, 96%, 89%);--color-error-300:hsl(4, 96%, 80%);--color-error-400:hsl(4, 92%, 69%);--color-error-500:hsl(4, 86%, 58%);--color-error-600:hsl(4, 74%, 49%);--color-error-700:hsl(4, 76%, 40%);--color-error-800:hsl(4, 72%, 33%);--color-error-900:hsl(8, 65%, 29%);--color-error-950:hsl(8, 75%, 19%);--color-warning-25:hsl(42, 100%, 98%);--color-warning-50:hsl(45, 100%, 96%);--color-warning-100:hsl(45, 96%, 89%);--color-warning-200:hsl(44, 98%, 77%);--color-warning-300:hsl(42, 99%, 65%);--color-warning-400:hsl(39, 98%, 56%);--color-warning-500:hsl(34, 94%, 50%);--color-warning-600:hsl(28, 97%, 44%);--color-warning-700:hsl(22, 92%, 37%);--color-warning-800:hsl(19, 84%, 31%);--color-warning-900:hsl(18, 79%, 27%);--color-warning-950:hsl(17, 79%, 17%);--color-success-25:hsl(142, 80%, 98%);--color-success-50:hsl(145, 81%, 96%);--color-success-100:hsl(140, 80%, 90%);--color-success-200:hsl(144, 78%, 80%);--color-success-300:hsl(148, 63%, 67%);--color-success-400:hsl(150, 57%, 54%);--color-success-500:hsl(152, 77%, 39%);--color-success-600:hsl(153, 91%, 30%);--color-success-700:hsl(155, 90%, 24%);--color-success-800:hsl(155, 84%, 20%);--color-success-900:hsl(156, 83%, 16%);--color-success-950:hsl(157, 82%, 11%);--font-inter:'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',\n Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--text-xl-size:1.25rem;--text-lg-size:1.125rem;--text-md-size:1rem;--text-sm-size:0.875rem;--text-xs-size:0.75rem;--text-xl-line:1.875rem;--text-lg-line:1.75rem;--text-md-line:1.5rem;--text-sm-line:1.25rem;--text-xs-line:1.125rem;--spacing-none:0rem;--spacing-xxs:0.125rem;--spacing-xs:0.25rem;--spacing-sm:0.375rem;--spacing-md:0.5rem;--spacing-lg:0.75rem;--spacing-xl:1rem;--spacing-2xl:1.25rem;--spacing-3xl:1.5rem;--spacing-4xl:2rem;--spacing-5xl:2.5rem;--spacing-6xl:3rem;--radius-none:0rem;--radius-xxs:0.125rem;--radius-xs:0.25rem;--radius-sm:0.375rem;--radius-md:0.5rem;--radius-lg:0.625rem;--radius-xl:0.75rem;--radius-2xl:1rem;--radius-3xl:1.25rem;--radius-4xl:1.5rem;--radius-full:9999px;--shadow-xs:0px 1px 2px rgba(16, 24, 40, 0.05);--shadow-sm:0px 1px 3px rgba(16, 24, 40, 0.1),\n 0px 1px 2px rgba(16, 24, 40, 0.06);--shadow-md:0px 4px 8px -2px rgba(16, 24, 40, 0.1),\n 0px 2px 4px -2px rgba(16, 24, 40, 0.06);--shadow-lg:0px 12px 16px -4px rgba(16, 24, 40, 0.08),\n 0px 4px 6px -2px rgba(16, 24, 40, 0.03);--shadow-xl:0px 20px 24px -4px rgba(16, 24, 40, 0.08),\n 0px 8px 8px -4px rgba(16, 24, 40, 0.03);--icon-compensation-xs-btn:calc(var(--spacing-lg) - var(--spacing-xs));--icon-compensation-sm-btn:calc(var(--spacing-xl) - var(--spacing-xs));--icon-compensation-md-btn:calc(var(--spacing-xl) - var(--spacing-xs));--icon-compensation-lg-btn:calc(var(--spacing-xl) - var(--spacing-xs))}*,*::before,*::after{box-sizing:border-box}.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}:host{display:block}.page-navigation-child{display:flex;align-items:center;padding:var(--spacing-md) var(--spacing-lg);cursor:pointer;gap:var(--spacing-md);position:relative;transition:all 0.15s ease;min-height:36px;box-sizing:border-box;border-radius:var(--radius-sm);margin:var(--spacing-none) var(--spacing-xs);background-color:transparent;border:1px solid transparent;margin-left:9px}.page-navigation-child:hover:not(.active){background-color:var(--color-neutral-50);position:relative;z-index:1}.page-navigation-child.active{background-color:transparent}.page-navigation-child.active::before{content:'';position:absolute;left:-4.5px;top:50%;transform:translateY(-50%);width:2px;height:24px;background-color:var(--color-brand-600);z-index:3}.page-navigation-child-content{display:flex;align-items:center;gap:var(--spacing-md);width:100%}.page-navigation-child-label{font-family:var(--font-inter);font-size:14px;font-weight:500;line-height:20px;color:var(--color-neutral-600);flex:1;transition:all 0.15s ease}.page-navigation-child.active .page-navigation-child-label{color:var(--color-brand-600);font-weight:600}.page-navigation-child-badge{margin-left:auto;font-family:var(--font-inter);font-size:12px;font-weight:500;color:var(--color-neutral-500)}";const e=class{constructor(a){r(this,a);this.bhItemClick=o(this,"bhItemClick")}label;badge;showBadge=true;isActive=false;bhItemClick;handleClick=()=>{this.bhItemClick.emit()};getItemClasses(){return{"page-navigation-child":true,active:this.isActive}}render(){return a(l,{key:"801f6ce9fa33bff82ae0572ca4233d62101bff5a"},a("div",{key:"b485e3a258658dadebda21a9f329bb676a737e6d",class:this.getItemClasses(),onClick:this.handleClick},a("div",{key:"3cebeec1f7255591c5a2405198d65f7cc637fe02",class:"page-navigation-child-content"},a("span",{key:"982dbda8defddf8a04cbd4831d68090816bb8228",class:"page-navigation-child-label"},this.label),this.badge!==undefined&&this.showBadge&&a("span",{key:"623a58963bbbbd94d5a2934165a4f5e821ef3a56",class:"page-navigation-child-badge"},this.badge))))}};e.style=s;export{e as bh_page_navigation_child};
|
|
2
|
+
//# sourceMappingURL=p-07c9b7fa.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,a as n,h as o,H as i}from"./p-DXAL-jSE.js";const s=Math.min;const r=Math.max;const a=Math.round;const c=Math.floor;const l=t=>({x:t,y:t});const f={left:"right",right:"left",bottom:"top",top:"bottom"};const u={start:"end",end:"start"};function d(t,e,n){return r(t,s(e,n))}function h(t,e){return typeof t==="function"?t(e):t}function p(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function g(t){return t==="x"?"y":"x"}function m(t){return t==="y"?"height":"width"}const v=new Set(["top","bottom"]);function y(t){return v.has(p(t))?"y":"x"}function x(t){return g(y(t))}function w(t,e,n){if(n===void 0){n=false}const o=b(t);const i=x(t);const s=m(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){r=I(r)}return[r,I(r)]}function k(t){const e=I(t);return[S(t),e,S(e)]}function S(t){return t.replace(/start|end/g,(t=>u[t]))}const A=["left","right"];const C=["right","left"];const z=["top","bottom"];const O=["bottom","top"];function R(t,e,n){switch(t){case"top":case"bottom":if(n)return e?C:A;return e?A:C;case"left":case"right":return e?z:O;default:return[]}}function P(t,e,n,o){const i=b(t);let s=R(p(t),n==="start",o);if(i){s=s.map((t=>t+"-"+i));if(e){s=s.concat(s.map(S))}}return s}function I(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function F(t){return{top:0,right:0,bottom:0,left:0,...t}}function L(t){return typeof t!=="number"?F(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function E(t,e,n){let{reference:o,floating:i}=t;const s=y(e);const r=x(e);const a=m(r);const c=p(e);const l=s==="y";const f=o.x+o.width/2-i.width/2;const u=o.y+o.height/2-i.height/2;const d=o[a]/2-i[a]/2;let h;switch(c){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(b(e)){case"start":h[r]-=d*(n&&l?-1:1);break;case"end":h[r]+=d*(n&&l?-1:1);break}return h}const T=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n;const a=s.filter(Boolean);const c=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i});let{x:f,y:u}=E(l,o,c);let d=o;let h={};let p=0;for(let n=0;n<a.length;n++){const{name:s,fn:b}=a[n];const{x:g,y:m,data:v,reset:y}=await b({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:l,platform:r,elements:{reference:t,floating:e}});f=g!=null?g:f;u=m!=null?m:u;h={...h,[s]:{...h[s],...v}};if(y&&p<=50){p++;if(typeof y==="object"){if(y.placement){d=y.placement}if(y.rects){l=y.rects===true?await r.getElementRects({reference:t,floating:e,strategy:i}):y.rects}({x:f,y:u}=E(l,d,c))}n=-1}}return{x:f,y:u,placement:d,strategy:i,middlewareData:h}};async function M(t,e){var n;if(e===void 0){e={}}const{x:o,y:i,platform:s,rects:r,elements:a,strategy:c}=t;const{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=false,padding:p=0}=h(e,t);const b=L(p);const g=u==="floating"?"reference":"floating";const m=a[d?g:u];const v=D(await s.getClippingRect({element:((n=await(s.isElement==null?void 0:s.isElement(m)))!=null?n:true)?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:f,strategy:c}));const y=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference;const x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating));const w=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1};const k=D(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:c}):y);return{top:(v.top-k.top+b.top)/w.y,bottom:(k.bottom-v.bottom+b.bottom)/w.y,left:(v.left-k.left+b.left)/w.x,right:(k.right-v.right+b.right)/w.x}}const B=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:a,platform:c,elements:l}=e;const{mainAxis:f=true,crossAxis:u=true,fallbackPlacements:d,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=true,...v}=h(t,e);if((n=s.arrow)!=null&&n.alignmentOffset){return{}}const x=p(i);const S=y(a);const A=p(a)===a;const C=await(c.isRTL==null?void 0:c.isRTL(l.floating));const z=d||(A||!m?[I(a)]:k(a));const O=g!=="none";if(!d&&O){z.push(...P(a,m,g,C))}const R=[a,...z];const F=await M(e,v);const L=[];let D=((o=s.flip)==null?void 0:o.overflows)||[];if(f){L.push(F[x])}if(u){const t=w(i,r,C);L.push(F[t[0]],F[t[1]])}D=[...D,{placement:i,overflows:L}];if(!L.every((t=>t<=0))){var E,T;const t=(((E=s.flip)==null?void 0:E.index)||0)+1;const e=R[t];if(e){const n=u==="alignment"?S!==y(e):false;if(!n||D.every((t=>y(t.placement)===S?t.overflows[0]>0:true))){return{data:{index:t,overflows:D},reset:{placement:e}}}}let n=(T=D.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])==null?void 0:T.placement;if(!n){switch(b){case"bestFit":{var B;const t=(B=D.filter((t=>{if(O){const e=y(t.placement);return e===S||e==="y"}return true})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])==null?void 0:B[0];if(t){n=t}break}case"initialPlacement":n=a;break}}if(i!==n){return{reset:{placement:n}}}}return{}}}};const N=new Set(["left","top"]);async function H(t,e){const{placement:n,platform:o,elements:i}=t;const s=await(o.isRTL==null?void 0:o.isRTL(i.floating));const r=p(n);const a=b(n);const c=y(n)==="y";const l=N.has(r)?-1:1;const f=s&&c?-1:1;const u=h(e,t);let{mainAxis:d,crossAxis:g,alignmentAxis:m}=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};if(a&&typeof m==="number"){g=a==="end"?m*-1:m}return c?{x:g*f,y:d*l}:{x:d*l,y:g*f}}const j=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:r,middlewareData:a}=e;const c=await H(e,t);if(r===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset){return{}}return{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}};const $=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e;const{mainAxis:s=true,crossAxis:r=false,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=h(t,e);const l={x:n,y:o};const f=await M(e,c);const u=y(p(i));const b=g(u);let m=l[b];let v=l[u];if(s){const t=b==="y"?"top":"left";const e=b==="y"?"bottom":"right";const n=m+f[t];const o=m-f[e];m=d(n,m,o)}if(r){const t=u==="y"?"top":"left";const e=u==="y"?"bottom":"right";const n=v+f[t];const o=v-f[e];v=d(n,v,o)}const x=a.fn({...e,[b]:m,[u]:v});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[b]:s,[u]:r}}}}}};function _(){return typeof window!=="undefined"}function G(t){if(q(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function K(t){var e;return(e=(q(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function q(t){if(!_()){return false}return t instanceof Node||t instanceof J(t).Node}function U(t){if(!_()){return false}return t instanceof Element||t instanceof J(t).Element}function X(t){if(!_()){return false}return t instanceof HTMLElement||t instanceof J(t).HTMLElement}function Y(t){if(!_()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}const V=new Set(["inline","contents"]);function Q(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ft(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!V.has(i)}const W=new Set(["table","td","th"]);function Z(t){return W.has(G(t))}const tt=[":popover-open",":modal"];function et(t){return tt.some((e=>{try{return t.matches(e)}catch(t){return false}}))}const nt=["transform","translate","scale","rotate","perspective"];const ot=["transform","translate","scale","rotate","perspective","filter"];const it=["paint","layout","strict","content"];function st(t){const e=at();const n=U(t)?ft(t):t;return nt.some((t=>n[t]?n[t]!=="none":false))||(n.containerType?n.containerType!=="normal":false)||!e&&(n.backdropFilter?n.backdropFilter!=="none":false)||!e&&(n.filter?n.filter!=="none":false)||ot.some((t=>(n.willChange||"").includes(t)))||it.some((t=>(n.contain||"").includes(t)))}function rt(t){let e=dt(t);while(X(e)&&!lt(e)){if(st(e)){return e}else if(et(e)){return null}e=dt(e)}return null}function at(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}const ct=new Set(["html","body","#document"]);function lt(t){return ct.has(G(t))}function ft(t){return J(t).getComputedStyle(t)}function ut(t){if(U(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function dt(t){if(G(t)==="html"){return t}const e=t.assignedSlot||t.parentNode||Y(t)&&t.host||K(t);return Y(e)?e.host:e}function ht(t){const e=dt(t);if(lt(e)){return t.ownerDocument?t.ownerDocument.body:t.body}if(X(e)&&Q(e)){return e}return ht(e)}function pt(t,e,n){var o;if(e===void 0){e=[]}if(n===void 0){n=true}const i=ht(t);const s=i===((o=t.ownerDocument)==null?void 0:o.body);const r=J(i);if(s){const t=bt(r);return e.concat(r,r.visualViewport||[],Q(i)?i:[],t&&n?pt(t):[])}return e.concat(i,pt(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gt(t){const e=ft(t);let n=parseFloat(e.width)||0;let o=parseFloat(e.height)||0;const i=X(t);const s=i?t.offsetWidth:n;const r=i?t.offsetHeight:o;const c=a(n)!==s||a(o)!==r;if(c){n=s;o=r}return{width:n,height:o,$:c}}function mt(t){return!U(t)?t.contextElement:t}function vt(t){const e=mt(t);if(!X(e)){return l(1)}const n=e.getBoundingClientRect();const{width:o,height:i,$:s}=gt(e);let r=(s?a(n.width):n.width)/o;let c=(s?a(n.height):n.height)/i;if(!r||!Number.isFinite(r)){r=1}if(!c||!Number.isFinite(c)){c=1}return{x:r,y:c}}const yt=l(0);function xt(t){const e=J(t);if(!at()||!e.visualViewport){return yt}return{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wt(t,e,n){if(e===void 0){e=false}if(!n||e&&n!==J(t)){return false}return e}function kt(t,e,n,o){if(e===void 0){e=false}if(n===void 0){n=false}const i=t.getBoundingClientRect();const s=mt(t);let r=l(1);if(e){if(o){if(U(o)){r=vt(o)}}else{r=vt(t)}}const a=wt(s,n,o)?xt(s):l(0);let c=(i.left+a.x)/r.x;let f=(i.top+a.y)/r.y;let u=i.width/r.x;let d=i.height/r.y;if(s){const t=J(s);const e=o&&U(o)?J(o):o;let n=t;let i=bt(n);while(i&&o&&e!==n){const t=vt(i);const e=i.getBoundingClientRect();const o=ft(i);const s=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x;const r=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x;f*=t.y;u*=t.x;d*=t.y;c+=s;f+=r;n=J(i);i=bt(n)}}return D({width:u,height:d,x:c,y:f})}function St(t,e){const n=ut(t).scrollLeft;if(!e){return kt(K(t)).left+n}return e.left+n}function At(t,e){const n=t.getBoundingClientRect();const o=n.left+e.scrollLeft-St(t,n);const i=n.top+e.scrollTop;return{x:o,y:i}}function Ct(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed";const r=K(o);const a=e?et(e.floating):false;if(o===r||a&&s){return n}let c={scrollLeft:0,scrollTop:0};let f=l(1);const u=l(0);const d=X(o);if(d||!d&&!s){if(G(o)!=="body"||Q(r)){c=ut(o)}if(X(o)){const t=kt(o);f=vt(o);u.x=t.x+o.clientLeft;u.y=t.y+o.clientTop}}const h=r&&!d&&!s?At(r,c):l(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+u.x+h.x,y:n.y*f.y-c.scrollTop*f.y+u.y+h.y}}function zt(t){return Array.from(t.getClientRects())}function Ot(t){const e=K(t);const n=ut(t);const o=t.ownerDocument.body;const i=r(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth);const s=r(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+St(t);const c=-n.scrollTop;if(ft(o).direction==="rtl"){a+=r(e.clientWidth,o.clientWidth)-i}return{width:i,height:s,x:a,y:c}}const Rt=25;function Pt(t,e){const n=J(t);const o=K(t);const i=n.visualViewport;let s=o.clientWidth;let r=o.clientHeight;let a=0;let c=0;if(i){s=i.width;r=i.height;const t=at();if(!t||t&&e==="fixed"){a=i.offsetLeft;c=i.offsetTop}}const l=St(o);if(l<=0){const t=o.ownerDocument;const e=t.body;const n=getComputedStyle(e);const i=t.compatMode==="CSS1Compat"?parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0:0;const r=Math.abs(o.clientWidth-e.clientWidth-i);if(r<=Rt){s-=r}}else if(l<=Rt){s+=l}return{width:s,height:r,x:a,y:c}}const It=new Set(["absolute","fixed"]);function Ft(t,e){const n=kt(t,true,e==="fixed");const o=n.top+t.clientTop;const i=n.left+t.clientLeft;const s=X(t)?vt(t):l(1);const r=t.clientWidth*s.x;const a=t.clientHeight*s.y;const c=i*s.x;const f=o*s.y;return{width:r,height:a,x:c,y:f}}function Lt(t,e,n){let o;if(e==="viewport"){o=Pt(t,n)}else if(e==="document"){o=Ot(K(t))}else if(U(e)){o=Ft(e,n)}else{const n=xt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return D(o)}function Dt(t,e){const n=dt(t);if(n===e||!U(n)||lt(n)){return false}return ft(n).position==="fixed"||Dt(n,e)}function Et(t,e){const n=e.get(t);if(n){return n}let o=pt(t,[],false).filter((t=>U(t)&&G(t)!=="body"));let i=null;const s=ft(t).position==="fixed";let r=s?dt(t):t;while(U(r)&&!lt(r)){const e=ft(r);const n=st(r);if(!n&&e.position==="fixed"){i=null}const a=s?!n&&!i:!n&&e.position==="static"&&!!i&&It.has(i.position)||Q(r)&&!n&&Dt(t,r);if(a){o=o.filter((t=>t!==r))}else{i=e}r=dt(r)}e.set(t,o);return o}function Tt(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const a=n==="clippingAncestors"?et(e)?[]:Et(e,this._c):[].concat(n);const c=[...a,o];const l=c[0];const f=c.reduce(((t,n)=>{const o=Lt(e,n,i);t.top=r(o.top,t.top);t.right=s(o.right,t.right);t.bottom=s(o.bottom,t.bottom);t.left=r(o.left,t.left);return t}),Lt(e,l,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Mt(t){const{width:e,height:n}=gt(t);return{width:e,height:n}}function Bt(t,e,n){const o=X(e);const i=K(e);const s=n==="fixed";const r=kt(t,true,s,e);let a={scrollLeft:0,scrollTop:0};const c=l(0);function f(){c.x=St(i)}if(o||!o&&!s){if(G(e)!=="body"||Q(i)){a=ut(e)}if(o){const t=kt(e,true,s,e);c.x=t.x+e.clientLeft;c.y=t.y+e.clientTop}else if(i){f()}}if(s&&!o&&i){f()}const u=i&&!o&&!s?At(i,a):l(0);const d=r.left+a.scrollLeft-c.x-u.x;const h=r.top+a.scrollTop-c.y-u.y;return{x:d,y:h,width:r.width,height:r.height}}function Nt(t){return ft(t).position==="static"}function Ht(t,e){if(!X(t)||ft(t).position==="fixed"){return null}if(e){return e(t)}let n=t.offsetParent;if(K(t)===n){n=n.ownerDocument.body}return n}function jt(t,e){const n=J(t);if(et(t)){return n}if(!X(t)){let e=dt(t);while(e&&!lt(e)){if(U(e)&&!Nt(e)){return e}e=dt(e)}return n}let o=Ht(t,e);while(o&&Z(o)&&Nt(o)){o=Ht(o,e)}if(o&<(o)&&Nt(o)&&!st(o)){return n}return o||rt(t)||n}const $t=async function(t){const e=this.getOffsetParent||jt;const n=this.getDimensions;const o=await n(t.floating);return{reference:Bt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function _t(t){return ft(t).direction==="rtl"}const Gt={convertOffsetParentRelativeRectToViewportRelativeRect:Ct,getDocumentElement:K,getClippingRect:Tt,getOffsetParent:jt,getElementRects:$t,getClientRects:zt,getDimensions:Mt,getScale:vt,isElement:U,isRTL:_t};function Jt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Kt(t,e){let n=null;let o;const i=K(t);function a(){var t;clearTimeout(o);(t=n)==null||t.disconnect();n=null}function l(f,u){if(f===void 0){f=false}if(u===void 0){u=1}a();const d=t.getBoundingClientRect();const{left:h,top:p,width:b,height:g}=d;if(!f){e()}if(!b||!g){return}const m=c(p);const v=c(i.clientWidth-(h+b));const y=c(i.clientHeight-(p+g));const x=c(h);const w=-m+"px "+-v+"px "+-y+"px "+-x+"px";const k={rootMargin:w,threshold:r(0,s(1,u))||1};let S=true;function A(e){const n=e[0].intersectionRatio;if(n!==u){if(!S){return l()}if(!n){o=setTimeout((()=>{l(false,1e-7)}),1e3)}else{l(false,n)}}if(n===1&&!Jt(d,t.getBoundingClientRect())){l()}S=false}try{n=new IntersectionObserver(A,{...k,root:i.ownerDocument})}catch(t){n=new IntersectionObserver(A,k)}n.observe(t)}l(true);return a}function qt(t,e,n,o){if(o===void 0){o={}}const{ancestorScroll:i=true,ancestorResize:s=true,elementResize:r=typeof ResizeObserver==="function",layoutShift:a=typeof IntersectionObserver==="function",animationFrame:c=false}=o;const l=mt(t);const f=i||s?[...l?pt(l):[],...pt(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:true});s&&t.addEventListener("resize",n)}));const u=l&&a?Kt(l,n):null;let d=-1;let h=null;if(r){h=new ResizeObserver((t=>{let[o]=t;if(o&&o.target===l&&h){h.unobserve(e);cancelAnimationFrame(d);d=requestAnimationFrame((()=>{var t;(t=h)==null||t.observe(e)}))}n()}));if(l&&!c){h.observe(l)}h.observe(e)}let p;let b=c?kt(t):null;if(c){g()}function g(){const e=kt(t);if(b&&!Jt(b,e)){n()}b=e;p=requestAnimationFrame(g)}n();return()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n);s&&t.removeEventListener("resize",n)}));u==null||u();(t=h)==null||t.disconnect();h=null;if(c){cancelAnimationFrame(p)}}}const Ut=j;const Xt=$;const Yt=B;const Vt=(t,e,n)=>{const o=new Map;const i={platform:Gt,...n};const s={...i.platform,_c:o};return T(t,e,{...i,platform:s})};const Qt=":host{display:inline-block;position:relative}.dropdown-container{position:relative;display:inline-block}.dropdown-container bh-dropdown-menu{}.dropdown-avatar{cursor:pointer;border-radius:50%;transition:box-shadow 0.2s ease;outline:none;display:inline-flex;user-select:none;line-height:0}.dropdown-avatar:hover:not(.dropdown-avatar-disabled){box-shadow:0 0 0 2px var(--color-neutral-200)}.dropdown-avatar:focus:not(.dropdown-avatar-disabled){box-shadow:0 0 0 2px var(--color-brand-500)}.dropdown-avatar-focus{box-shadow:0 0 0 2px var(--color-brand-500)}.dropdown-avatar-disabled{cursor:not-allowed;opacity:0.5}.dropdown-open bh-button{--button-focus-ring:0 0 0 2px var(--color-brand-100)}";const Wt=class{constructor(n){t(this,n);this.bhItemClick=e(this,"bhItemClick")}get el(){return n(this)}triggerRef;menuRef;cleanupAutoUpdate;size="md";state="default";variant="outlined";label="Options";iconName="more_vert";disabled=false;menuItems=[];header;avatarSrc="";avatarAlt="Avatar";avatarSize="md";avatarName;avatarEmail;showIcons=true;isOpen=false;menuPosition={x:0,y:0};bhItemClick;handleClickOutside(t){const e=t.composedPath();const n=e.includes(this.el);if(this.isOpen&&!n){this.isOpen=false}}handleOpenChange(t){if(t){this.setupFloatingUI()}else{this.cleanupFloating()}}disconnectedCallback(){this.cleanupFloating()}setupFloatingUI(){if(!this.triggerRef||!this.menuRef)return;const t=this.variant==="avatar"?"right-end":"bottom-end";const e=async()=>{if(!this.triggerRef||!this.menuRef)return;const{x:e,y:n}=await Vt(this.triggerRef,this.menuRef,{placement:t,middleware:[Ut(8),Yt({fallbackPlacements:["top-end","bottom-start","top-start"]}),Xt({padding:8})]});this.menuPosition={x:e,y:n}};e();this.cleanupAutoUpdate=qt(this.triggerRef,this.menuRef,e)}cleanupFloating(){if(this.cleanupAutoUpdate){this.cleanupAutoUpdate();this.cleanupAutoUpdate=undefined}}get parsedMenuItems(){if(typeof this.menuItems==="string"){try{return JSON.parse(this.menuItems)}catch{return[]}}return this.menuItems||[]}get parsedHeader(){if(this.variant==="avatar"){return{avatarGroup:true,avatarSrc:this.avatarSrc,name:this.avatarName,email:this.avatarEmail}}if(!this.header)return undefined;if(typeof this.header==="string"){try{return JSON.parse(this.header)}catch{return undefined}}return this.header}toggleDropdown=()=>{if(this.disabled)return;this.isOpen=!this.isOpen};handleMenuItemClick=t=>{const e=t.detail;if(!e.disabled){this.bhItemClick.emit(e);this.isOpen=false}};get isIconOnly(){return this.variant==="icon-only-outlined"||this.variant==="icon-only-ghost"}get showAvatar(){return this.variant==="avatar"}get buttonHierarchy(){return this.variant==="ghost"||this.variant==="icon-only-ghost"?"tertiary":"secondary"}render(){const t={"dropdown-container":true,"dropdown-open":this.isOpen,"dropdown-avatar-variant":this.variant==="avatar"};const e={"dropdown-avatar":true,"dropdown-avatar-focus":this.isOpen,"dropdown-avatar-disabled":this.disabled};const n={position:"fixed",left:`${this.menuPosition.x}px`,top:`${this.menuPosition.y}px`,zIndex:"9999"};return o("div",{key:"72b74114a40b815346fbac4bc318c1a8c521c3bb",class:t},!this.showAvatar&&o("div",{key:"b7c5750fd9541b41ef7d44f080f5d54c443f36b5",ref:t=>this.triggerRef=t},o("bh-button",{key:"bb1261290773322b49f84247a11f154f5805d79f",hierarchy:this.buttonHierarchy,icon:this.isIconOnly?"only":"trailing",size:this.size,label:this.isIconOnly?"":this.label,iconName:this.isIconOnly?this.iconName:"expand_more",disabled:this.disabled,onClick:this.toggleDropdown})),this.showAvatar&&o("div",{key:"0a160fb08b45336d5f7a6bd34869f46c5e3e60a4",ref:t=>this.triggerRef=t,class:e,onClick:t=>{if(!this.disabled){t.stopPropagation();this.toggleDropdown()}},role:"button",tabindex:this.disabled?-1:0,onKeyDown:t=>{if(!this.disabled&&(t.key==="Enter"||t.key===" ")){t.preventDefault();this.toggleDropdown()}}},o("bh-avatar",{key:"cffa687bee8d8e8c67fe301aa69aacb422fc80a6",type:"image",size:this.avatarSize,imageSrc:this.avatarSrc,alt:this.avatarAlt})),o("bh-dropdown-menu",{key:"a382a01f558fbd84cffa1dd65a191427ad027509",ref:t=>this.menuRef=t,style:this.isOpen?n:{display:"none"},visible:this.isOpen,showIcons:this.showIcons,menuItems:JSON.stringify(this.parsedMenuItems),header:this.parsedHeader?JSON.stringify(this.parsedHeader):undefined,onBhItemClick:this.handleMenuItemClick}))}static get watchers(){return{isOpen:["handleOpenChange"]}}};Wt.style=Qt;const Zt=".logo-box{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;width:40px;flex-shrink:0;isolation:isolate}.logo-active{background-color:var(--color-brand-600);box-sizing:border-box;display:flex;gap:var(--spacing-lg);align-items:center;justify-content:center;padding:var(--spacing-sm);position:relative;border-radius:var(--radius-md);flex-shrink:0;width:40px;height:40px;z-index:2;transition:background-color 0.3s ease;cursor:pointer}.logo-box:hover .logo-active,.logo-box.dropdown-open .logo-active{background-color:var(--color-brand-700)}.logo{overflow:hidden;position:relative;flex-shrink:0;width:32px;height:32px;background-size:contain;background-repeat:no-repeat;background-position:center;transition:background-image 0.4s cubic-bezier(0.08, 0.52, 0.52, 1)}.logo-actabl{}.logo-al{}.logo-he{}.logo-ps{}.logo-tr{}.logo-more-products{position:absolute;background-color:var(--color-brand-200);right:2px;bottom:-4px;border-radius:5px;width:36px;height:35px;z-index:1;transition:transform 0.3s ease}.logo-box:hover .logo-more-products,.logo-box.dropdown-open .logo-more-products{transform:translateY(-4px)}";const te=class{constructor(n){t(this,n);this.bhProductSelect=e(this,"bhProductSelect")}logoType="actabl";logoSrc;assetBasePath="/bellhop/assets";products=[{id:"alice",name:"Alice",description:"Housekeeping & Guest Services",logo:"./assets/logos/AL.svg"},{id:"hotel-effectiveness",name:"Hotel Effectiveness",description:"Labor planning",logo:"./assets/logos/HE.svg"},{id:"profit-sword",name:"ProfitSword",description:"B.I and Finance",logo:"./assets/logos/PS.svg"},{id:"transcendent",name:"Transcendent",description:"Asset Management & CapEx",logo:"./assets/logos/TR.svg"}];bhProductSelect;isOpen=false;anchorPosition={top:0,left:0};logoActiveRef;handleLogoClick=()=>{if(this.logoActiveRef){const t=this.logoActiveRef.getBoundingClientRect();this.anchorPosition={top:t.bottom+8,left:t.left};this.isOpen=!this.isOpen}};handleClose=()=>{this.isOpen=false};handleProductSelect=t=>{this.bhProductSelect.emit(t.detail);this.isOpen=false};getLogoSrc=()=>{if(this.logoSrc){return this.logoSrc}const t={actabl:"actabl.svg",al:"AL.svg",he:"HE.svg",ps:"PS.svg",tr:"TR.svg"};const e=t[this.logoType]||"actabl.svg";return`${this.assetBasePath}/logos/${e}`};render(){const t={"logo-box":true,"dropdown-open":this.isOpen};const e={logo:true,[`logo-${this.logoType}`]:true};return o(i,{key:"cddf182854e6f8d264dd11f87ff837c116b4b749"},o("div",{key:"592e2ba2a109d7c88ebd32718ba6e58bfa5fdc2f",class:t},o("div",{key:"219a43154e0e2d216beaf5c071d36a09bf6de8a9",ref:t=>this.logoActiveRef=t,class:"logo-active",onClick:this.handleLogoClick},o("img",{key:"7e69029e9e9f70f6395f128b348a6592fcce6731",src:this.getLogoSrc(),alt:`${this.logoType} logo`,class:e})),o("div",{key:"81edc7607a9aceb72d32d790e948d347f50555dc",class:"logo-more-products"})),o("bh-product-switcher",{key:"17d181c5e33d7cc942433345cc8c88a5b1ef1671",isOpen:this.isOpen,anchorPosition:this.anchorPosition,products:this.products,onBhClose:this.handleClose,onBhProductSelect:this.handleProductSelect}))}};te.style=Zt;const ee=":host{display:inline-block}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;flex-shrink:0;width:100%;max-width:52px;height:fit-content}.nav-item-button{background-color:var(--color-white);box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:var(--spacing-md);position:relative;border-radius:var(--radius-sm);flex-shrink:0;transition:background-color 0.2s ease;cursor:pointer;border:none;outline:none}.nav-item-button:hover{background-color:var(--color-neutral-50)}.nav-item-button:focus-visible{box-shadow:0 0 0 2px var(--color-brand-100)}.nav-item.active .nav-item-button{background-color:var(--color-brand-50)}.nav-item-button .icon{width:20px;height:20px;display:block;flex-shrink:0;color:var(--color-neutral-500);transition:color 0.2s ease;font-size:20px;font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20}.nav-item-button:hover .icon{color:var(--color-neutral-700)}.nav-item.active .nav-item-button .icon{color:var(--color-brand-600);font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20}.nav-item-label{font-family:var(--font-inter);font-weight:var(--weight-medium);height:18px;line-height:18px;font-style:normal;overflow:hidden;text-overflow:ellipsis;position:relative;flex-shrink:0;color:var(--color-neutral-700);font-size:10px;text-align:center;white-space:nowrap;width:100%;max-width:100%;margin:var(--spacing-none);margin-top:var(--spacing-xxs);box-sizing:border-box;direction:ltr}.nav-item.active .nav-item-label{color:var(--color-neutral-700);font-weight:var(--weight-semibold)}.nav-item.disabled .nav-item-button{cursor:not-allowed;opacity:0.5}.nav-item.disabled .nav-item-button:hover{background-color:var(--color-white)}.nav-item.disabled .nav-item-button .icon{color:var(--color-neutral-400)}.nav-item.disabled .nav-item-label{color:var(--color-neutral-400)}";const ne=class{constructor(n){t(this,n);this.bhClick=e(this,"bhClick")}icon="home";label="Home";isActive=false;disabled=false;bhClick;handleClick=()=>{if(!this.disabled){this.bhClick.emit()}};handleKeyDown=t=>{if((t.key==="Enter"||t.key===" ")&&!this.disabled){t.preventDefault();this.bhClick.emit()}};render(){const t={"nav-item":true,active:this.isActive,disabled:this.disabled};return o("div",{key:"0d118945925ec1e60f16ef60ca3e913386578fa8",class:t},o("button",{key:"41b8753e8c5048614505e02688b8678993f1c8d1",class:"nav-item-button","aria-label":this.label,type:"button",onClick:this.handleClick,onKeyDown:this.handleKeyDown,disabled:this.disabled,tabIndex:this.disabled?-1:0},o("span",{key:"bbd4414639535eabedf673412e57d5f3c83e3ddc",class:"material-symbols-outlined icon"},this.icon)),o("p",{key:"cb747ba8b73b5201c47bd66de61d2b9bf5bd8a95",class:"nav-item-label"},this.label))}};ne.style=ee;export{Wt as bh_dropdown,te as bh_logo_box,ne as bh_nav_item};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,a as n,h as o,H as i}from"./p-nAAobRRQ.js";const s=Math.min;const r=Math.max;const a=Math.round;const c=Math.floor;const l=t=>({x:t,y:t});const f={left:"right",right:"left",bottom:"top",top:"bottom"};const u={start:"end",end:"start"};function d(t,e,n){return r(t,s(e,n))}function h(t,e){return typeof t==="function"?t(e):t}function p(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function g(t){return t==="x"?"y":"x"}function m(t){return t==="y"?"height":"width"}const v=new Set(["top","bottom"]);function y(t){return v.has(p(t))?"y":"x"}function x(t){return g(y(t))}function w(t,e,n){if(n===void 0){n=false}const o=b(t);const i=x(t);const s=m(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){r=I(r)}return[r,I(r)]}function k(t){const e=I(t);return[S(t),e,S(e)]}function S(t){return t.replace(/start|end/g,(t=>u[t]))}const A=["left","right"];const C=["right","left"];const R=["top","bottom"];const z=["bottom","top"];function O(t,e,n){switch(t){case"top":case"bottom":if(n)return e?C:A;return e?A:C;case"left":case"right":return e?R:z;default:return[]}}function P(t,e,n,o){const i=b(t);let s=O(p(t),n==="start",o);if(i){s=s.map((t=>t+"-"+i));if(e){s=s.concat(s.map(S))}}return s}function I(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function F(t){return{top:0,right:0,bottom:0,left:0,...t}}function L(t){return typeof t!=="number"?F(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function T(t,e,n){let{reference:o,floating:i}=t;const s=y(e);const r=x(e);const a=m(r);const c=p(e);const l=s==="y";const f=o.x+o.width/2-i.width/2;const u=o.y+o.height/2-i.height/2;const d=o[a]/2-i[a]/2;let h;switch(c){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(b(e)){case"start":h[r]-=d*(n&&l?-1:1);break;case"end":h[r]+=d*(n&&l?-1:1);break}return h}const E=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n;const a=s.filter(Boolean);const c=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i});let{x:f,y:u}=T(l,o,c);let d=o;let h={};let p=0;for(let n=0;n<a.length;n++){const{name:s,fn:b}=a[n];const{x:g,y:m,data:v,reset:y}=await b({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:l,platform:r,elements:{reference:t,floating:e}});f=g!=null?g:f;u=m!=null?m:u;h={...h,[s]:{...h[s],...v}};if(y&&p<=50){p++;if(typeof y==="object"){if(y.placement){d=y.placement}if(y.rects){l=y.rects===true?await r.getElementRects({reference:t,floating:e,strategy:i}):y.rects}({x:f,y:u}=T(l,d,c))}n=-1}}return{x:f,y:u,placement:d,strategy:i,middlewareData:h}};async function M(t,e){var n;if(e===void 0){e={}}const{x:o,y:i,platform:s,rects:r,elements:a,strategy:c}=t;const{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=false,padding:p=0}=h(e,t);const b=L(p);const g=u==="floating"?"reference":"floating";const m=a[d?g:u];const v=D(await s.getClippingRect({element:((n=await(s.isElement==null?void 0:s.isElement(m)))!=null?n:true)?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:f,strategy:c}));const y=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference;const x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating));const w=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1};const k=D(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:c}):y);return{top:(v.top-k.top+b.top)/w.y,bottom:(k.bottom-v.bottom+b.bottom)/w.y,left:(v.left-k.left+b.left)/w.x,right:(k.right-v.right+b.right)/w.x}}const B=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:a,platform:c,elements:l}=e;const{mainAxis:f=true,crossAxis:u=true,fallbackPlacements:d,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=true,...v}=h(t,e);if((n=s.arrow)!=null&&n.alignmentOffset){return{}}const x=p(i);const S=y(a);const A=p(a)===a;const C=await(c.isRTL==null?void 0:c.isRTL(l.floating));const R=d||(A||!m?[I(a)]:k(a));const z=g!=="none";if(!d&&z){R.push(...P(a,m,g,C))}const O=[a,...R];const F=await M(e,v);const L=[];let D=((o=s.flip)==null?void 0:o.overflows)||[];if(f){L.push(F[x])}if(u){const t=w(i,r,C);L.push(F[t[0]],F[t[1]])}D=[...D,{placement:i,overflows:L}];if(!L.every((t=>t<=0))){var T,E;const t=(((T=s.flip)==null?void 0:T.index)||0)+1;const e=O[t];if(e){const n=u==="alignment"?S!==y(e):false;if(!n||D.every((t=>y(t.placement)===S?t.overflows[0]>0:true))){return{data:{index:t,overflows:D},reset:{placement:e}}}}let n=(E=D.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])==null?void 0:E.placement;if(!n){switch(b){case"bestFit":{var B;const t=(B=D.filter((t=>{if(z){const e=y(t.placement);return e===S||e==="y"}return true})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])==null?void 0:B[0];if(t){n=t}break}case"initialPlacement":n=a;break}}if(i!==n){return{reset:{placement:n}}}}return{}}}};const N=new Set(["left","top"]);async function H(t,e){const{placement:n,platform:o,elements:i}=t;const s=await(o.isRTL==null?void 0:o.isRTL(i.floating));const r=p(n);const a=b(n);const c=y(n)==="y";const l=N.has(r)?-1:1;const f=s&&c?-1:1;const u=h(e,t);let{mainAxis:d,crossAxis:g,alignmentAxis:m}=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};if(a&&typeof m==="number"){g=a==="end"?m*-1:m}return c?{x:g*f,y:d*l}:{x:d*l,y:g*f}}const $=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:r,middlewareData:a}=e;const c=await H(e,t);if(r===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset){return{}}return{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}};const _=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e;const{mainAxis:s=true,crossAxis:r=false,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=h(t,e);const l={x:n,y:o};const f=await M(e,c);const u=y(p(i));const b=g(u);let m=l[b];let v=l[u];if(s){const t=b==="y"?"top":"left";const e=b==="y"?"bottom":"right";const n=m+f[t];const o=m-f[e];m=d(n,m,o)}if(r){const t=u==="y"?"top":"left";const e=u==="y"?"bottom":"right";const n=v+f[t];const o=v-f[e];v=d(n,v,o)}const x=a.fn({...e,[b]:m,[u]:v});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[b]:s,[u]:r}}}}}};function j(){return typeof window!=="undefined"}function G(t){if(q(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function K(t){var e;return(e=(q(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function q(t){if(!j()){return false}return t instanceof Node||t instanceof J(t).Node}function U(t){if(!j()){return false}return t instanceof Element||t instanceof J(t).Element}function Y(t){if(!j()){return false}return t instanceof HTMLElement||t instanceof J(t).HTMLElement}function Q(t){if(!j()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}const V=new Set(["inline","contents"]);function X(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ft(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!V.has(i)}const W=new Set(["table","td","th"]);function Z(t){return W.has(G(t))}const tt=[":popover-open",":modal"];function et(t){return tt.some((e=>{try{return t.matches(e)}catch(t){return false}}))}const nt=["transform","translate","scale","rotate","perspective"];const ot=["transform","translate","scale","rotate","perspective","filter"];const it=["paint","layout","strict","content"];function st(t){const e=at();const n=U(t)?ft(t):t;return nt.some((t=>n[t]?n[t]!=="none":false))||(n.containerType?n.containerType!=="normal":false)||!e&&(n.backdropFilter?n.backdropFilter!=="none":false)||!e&&(n.filter?n.filter!=="none":false)||ot.some((t=>(n.willChange||"").includes(t)))||it.some((t=>(n.contain||"").includes(t)))}function rt(t){let e=dt(t);while(Y(e)&&!lt(e)){if(st(e)){return e}else if(et(e)){return null}e=dt(e)}return null}function at(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}const ct=new Set(["html","body","#document"]);function lt(t){return ct.has(G(t))}function ft(t){return J(t).getComputedStyle(t)}function ut(t){if(U(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function dt(t){if(G(t)==="html"){return t}const e=t.assignedSlot||t.parentNode||Q(t)&&t.host||K(t);return Q(e)?e.host:e}function ht(t){const e=dt(t);if(lt(e)){return t.ownerDocument?t.ownerDocument.body:t.body}if(Y(e)&&X(e)){return e}return ht(e)}function pt(t,e,n){var o;if(e===void 0){e=[]}if(n===void 0){n=true}const i=ht(t);const s=i===((o=t.ownerDocument)==null?void 0:o.body);const r=J(i);if(s){const t=bt(r);return e.concat(r,r.visualViewport||[],X(i)?i:[],t&&n?pt(t):[])}return e.concat(i,pt(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gt(t){const e=ft(t);let n=parseFloat(e.width)||0;let o=parseFloat(e.height)||0;const i=Y(t);const s=i?t.offsetWidth:n;const r=i?t.offsetHeight:o;const c=a(n)!==s||a(o)!==r;if(c){n=s;o=r}return{width:n,height:o,$:c}}function mt(t){return!U(t)?t.contextElement:t}function vt(t){const e=mt(t);if(!Y(e)){return l(1)}const n=e.getBoundingClientRect();const{width:o,height:i,$:s}=gt(e);let r=(s?a(n.width):n.width)/o;let c=(s?a(n.height):n.height)/i;if(!r||!Number.isFinite(r)){r=1}if(!c||!Number.isFinite(c)){c=1}return{x:r,y:c}}const yt=l(0);function xt(t){const e=J(t);if(!at()||!e.visualViewport){return yt}return{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wt(t,e,n){if(e===void 0){e=false}if(!n||e&&n!==J(t)){return false}return e}function kt(t,e,n,o){if(e===void 0){e=false}if(n===void 0){n=false}const i=t.getBoundingClientRect();const s=mt(t);let r=l(1);if(e){if(o){if(U(o)){r=vt(o)}}else{r=vt(t)}}const a=wt(s,n,o)?xt(s):l(0);let c=(i.left+a.x)/r.x;let f=(i.top+a.y)/r.y;let u=i.width/r.x;let d=i.height/r.y;if(s){const t=J(s);const e=o&&U(o)?J(o):o;let n=t;let i=bt(n);while(i&&o&&e!==n){const t=vt(i);const e=i.getBoundingClientRect();const o=ft(i);const s=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x;const r=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x;f*=t.y;u*=t.x;d*=t.y;c+=s;f+=r;n=J(i);i=bt(n)}}return D({width:u,height:d,x:c,y:f})}function St(t,e){const n=ut(t).scrollLeft;if(!e){return kt(K(t)).left+n}return e.left+n}function At(t,e){const n=t.getBoundingClientRect();const o=n.left+e.scrollLeft-St(t,n);const i=n.top+e.scrollTop;return{x:o,y:i}}function Ct(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed";const r=K(o);const a=e?et(e.floating):false;if(o===r||a&&s){return n}let c={scrollLeft:0,scrollTop:0};let f=l(1);const u=l(0);const d=Y(o);if(d||!d&&!s){if(G(o)!=="body"||X(r)){c=ut(o)}if(Y(o)){const t=kt(o);f=vt(o);u.x=t.x+o.clientLeft;u.y=t.y+o.clientTop}}const h=r&&!d&&!s?At(r,c):l(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+u.x+h.x,y:n.y*f.y-c.scrollTop*f.y+u.y+h.y}}function Rt(t){return Array.from(t.getClientRects())}function zt(t){const e=K(t);const n=ut(t);const o=t.ownerDocument.body;const i=r(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth);const s=r(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+St(t);const c=-n.scrollTop;if(ft(o).direction==="rtl"){a+=r(e.clientWidth,o.clientWidth)-i}return{width:i,height:s,x:a,y:c}}const Ot=25;function Pt(t,e){const n=J(t);const o=K(t);const i=n.visualViewport;let s=o.clientWidth;let r=o.clientHeight;let a=0;let c=0;if(i){s=i.width;r=i.height;const t=at();if(!t||t&&e==="fixed"){a=i.offsetLeft;c=i.offsetTop}}const l=St(o);if(l<=0){const t=o.ownerDocument;const e=t.body;const n=getComputedStyle(e);const i=t.compatMode==="CSS1Compat"?parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0:0;const r=Math.abs(o.clientWidth-e.clientWidth-i);if(r<=Ot){s-=r}}else if(l<=Ot){s+=l}return{width:s,height:r,x:a,y:c}}const It=new Set(["absolute","fixed"]);function Ft(t,e){const n=kt(t,true,e==="fixed");const o=n.top+t.clientTop;const i=n.left+t.clientLeft;const s=Y(t)?vt(t):l(1);const r=t.clientWidth*s.x;const a=t.clientHeight*s.y;const c=i*s.x;const f=o*s.y;return{width:r,height:a,x:c,y:f}}function Lt(t,e,n){let o;if(e==="viewport"){o=Pt(t,n)}else if(e==="document"){o=zt(K(t))}else if(U(e)){o=Ft(e,n)}else{const n=xt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return D(o)}function Dt(t,e){const n=dt(t);if(n===e||!U(n)||lt(n)){return false}return ft(n).position==="fixed"||Dt(n,e)}function Tt(t,e){const n=e.get(t);if(n){return n}let o=pt(t,[],false).filter((t=>U(t)&&G(t)!=="body"));let i=null;const s=ft(t).position==="fixed";let r=s?dt(t):t;while(U(r)&&!lt(r)){const e=ft(r);const n=st(r);if(!n&&e.position==="fixed"){i=null}const a=s?!n&&!i:!n&&e.position==="static"&&!!i&&It.has(i.position)||X(r)&&!n&&Dt(t,r);if(a){o=o.filter((t=>t!==r))}else{i=e}r=dt(r)}e.set(t,o);return o}function Et(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const a=n==="clippingAncestors"?et(e)?[]:Tt(e,this._c):[].concat(n);const c=[...a,o];const l=c[0];const f=c.reduce(((t,n)=>{const o=Lt(e,n,i);t.top=r(o.top,t.top);t.right=s(o.right,t.right);t.bottom=s(o.bottom,t.bottom);t.left=r(o.left,t.left);return t}),Lt(e,l,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Mt(t){const{width:e,height:n}=gt(t);return{width:e,height:n}}function Bt(t,e,n){const o=Y(e);const i=K(e);const s=n==="fixed";const r=kt(t,true,s,e);let a={scrollLeft:0,scrollTop:0};const c=l(0);function f(){c.x=St(i)}if(o||!o&&!s){if(G(e)!=="body"||X(i)){a=ut(e)}if(o){const t=kt(e,true,s,e);c.x=t.x+e.clientLeft;c.y=t.y+e.clientTop}else if(i){f()}}if(s&&!o&&i){f()}const u=i&&!o&&!s?At(i,a):l(0);const d=r.left+a.scrollLeft-c.x-u.x;const h=r.top+a.scrollTop-c.y-u.y;return{x:d,y:h,width:r.width,height:r.height}}function Nt(t){return ft(t).position==="static"}function Ht(t,e){if(!Y(t)||ft(t).position==="fixed"){return null}if(e){return e(t)}let n=t.offsetParent;if(K(t)===n){n=n.ownerDocument.body}return n}function $t(t,e){const n=J(t);if(et(t)){return n}if(!Y(t)){let e=dt(t);while(e&&!lt(e)){if(U(e)&&!Nt(e)){return e}e=dt(e)}return n}let o=Ht(t,e);while(o&&Z(o)&&Nt(o)){o=Ht(o,e)}if(o&<(o)&&Nt(o)&&!st(o)){return n}return o||rt(t)||n}const _t=async function(t){const e=this.getOffsetParent||$t;const n=this.getDimensions;const o=await n(t.floating);return{reference:Bt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function jt(t){return ft(t).direction==="rtl"}const Gt={convertOffsetParentRelativeRectToViewportRelativeRect:Ct,getDocumentElement:K,getClippingRect:Et,getOffsetParent:$t,getElementRects:_t,getClientRects:Rt,getDimensions:Mt,getScale:vt,isElement:U,isRTL:jt};function Jt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Kt(t,e){let n=null;let o;const i=K(t);function a(){var t;clearTimeout(o);(t=n)==null||t.disconnect();n=null}function l(f,u){if(f===void 0){f=false}if(u===void 0){u=1}a();const d=t.getBoundingClientRect();const{left:h,top:p,width:b,height:g}=d;if(!f){e()}if(!b||!g){return}const m=c(p);const v=c(i.clientWidth-(h+b));const y=c(i.clientHeight-(p+g));const x=c(h);const w=-m+"px "+-v+"px "+-y+"px "+-x+"px";const k={rootMargin:w,threshold:r(0,s(1,u))||1};let S=true;function A(e){const n=e[0].intersectionRatio;if(n!==u){if(!S){return l()}if(!n){o=setTimeout((()=>{l(false,1e-7)}),1e3)}else{l(false,n)}}if(n===1&&!Jt(d,t.getBoundingClientRect())){l()}S=false}try{n=new IntersectionObserver(A,{...k,root:i.ownerDocument})}catch(t){n=new IntersectionObserver(A,k)}n.observe(t)}l(true);return a}function qt(t,e,n,o){if(o===void 0){o={}}const{ancestorScroll:i=true,ancestorResize:s=true,elementResize:r=typeof ResizeObserver==="function",layoutShift:a=typeof IntersectionObserver==="function",animationFrame:c=false}=o;const l=mt(t);const f=i||s?[...l?pt(l):[],...pt(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:true});s&&t.addEventListener("resize",n)}));const u=l&&a?Kt(l,n):null;let d=-1;let h=null;if(r){h=new ResizeObserver((t=>{let[o]=t;if(o&&o.target===l&&h){h.unobserve(e);cancelAnimationFrame(d);d=requestAnimationFrame((()=>{var t;(t=h)==null||t.observe(e)}))}n()}));if(l&&!c){h.observe(l)}h.observe(e)}let p;let b=c?kt(t):null;if(c){g()}function g(){const e=kt(t);if(b&&!Jt(b,e)){n()}b=e;p=requestAnimationFrame(g)}n();return()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n);s&&t.removeEventListener("resize",n)}));u==null||u();(t=h)==null||t.disconnect();h=null;if(c){cancelAnimationFrame(p)}}}const Ut=$;const Yt=_;const Qt=B;const Vt=(t,e,n)=>{const o=new Map;const i={platform:Gt,...n};const s={...i.platform,_c:o};return E(t,e,{...i,platform:s})};const Xt=":host{display:inline-block;position:relative}.dropdown-container{position:relative;display:inline-block}.dropdown-container bh-dropdown-menu{}.dropdown-avatar{cursor:pointer;border-radius:50%;transition:box-shadow 0.2s ease;outline:none;display:inline-flex;user-select:none;line-height:0}.dropdown-avatar:hover:not(.dropdown-avatar-disabled){box-shadow:0 0 0 2px var(--color-neutral-200)}.dropdown-avatar:focus:not(.dropdown-avatar-disabled){box-shadow:0 0 0 2px var(--color-brand-500)}.dropdown-avatar-focus{box-shadow:0 0 0 2px var(--color-brand-500)}.dropdown-avatar-disabled{cursor:not-allowed;opacity:0.5}.dropdown-open bh-button{--button-focus-ring:0 0 0 2px var(--color-brand-100)}";const Wt=class{constructor(n){t(this,n);this.bhItemClick=e(this,"bhItemClick")}get el(){return n(this)}triggerRef;menuRef;cleanupAutoUpdate;size="md";state="default";variant="outlined";label="Options";iconName="more_vert";disabled=false;menuItems=[];header;avatarSrc="";avatarAlt="Avatar";avatarSize="md";avatarName;avatarEmail;showIcons=true;isOpen=false;menuPosition={x:0,y:0};bhItemClick;handleClickOutside(t){const e=t.composedPath();const n=e.includes(this.el);if(this.isOpen&&!n){this.isOpen=false}}handleOpenChange(t){if(t){this.setupFloatingUI()}else{this.cleanupFloating()}}disconnectedCallback(){this.cleanupFloating()}setupFloatingUI(){if(!this.triggerRef||!this.menuRef)return;const t=this.variant==="avatar"?"right-end":"bottom-end";const e=async()=>{if(!this.triggerRef||!this.menuRef)return;const{x:e,y:n}=await Vt(this.triggerRef,this.menuRef,{placement:t,middleware:[Ut(8),Qt({fallbackPlacements:["top-end","bottom-start","top-start"]}),Yt({padding:8})]});this.menuPosition={x:e,y:n}};e();this.cleanupAutoUpdate=qt(this.triggerRef,this.menuRef,e)}cleanupFloating(){if(this.cleanupAutoUpdate){this.cleanupAutoUpdate();this.cleanupAutoUpdate=undefined}}get parsedMenuItems(){if(typeof this.menuItems==="string"){try{return JSON.parse(this.menuItems)}catch{return[]}}return this.menuItems||[]}get parsedHeader(){if(this.variant==="avatar"){return{avatarGroup:true,avatarSrc:this.avatarSrc,name:this.avatarName,email:this.avatarEmail}}if(!this.header)return undefined;if(typeof this.header==="string"){try{return JSON.parse(this.header)}catch{return undefined}}return this.header}toggleDropdown=()=>{if(this.disabled)return;this.isOpen=!this.isOpen};handleMenuItemClick=t=>{const e=t.detail;if(!e.disabled){this.bhItemClick.emit(e);this.isOpen=false}};get isIconOnly(){return this.variant==="icon-only-outlined"||this.variant==="icon-only-ghost"}get showAvatar(){return this.variant==="avatar"}get buttonHierarchy(){return this.variant==="ghost"||this.variant==="icon-only-ghost"?"tertiary":"secondary"}render(){const t={"dropdown-container":true,"dropdown-open":this.isOpen,"dropdown-avatar-variant":this.variant==="avatar"};const e={"dropdown-avatar":true,"dropdown-avatar-focus":this.isOpen,"dropdown-avatar-disabled":this.disabled};const n={position:"fixed",left:`${this.menuPosition.x}px`,top:`${this.menuPosition.y}px`,zIndex:"9999"};return o("div",{key:"72b74114a40b815346fbac4bc318c1a8c521c3bb",class:t},!this.showAvatar&&o("div",{key:"b7c5750fd9541b41ef7d44f080f5d54c443f36b5",ref:t=>this.triggerRef=t},o("bh-button",{key:"bb1261290773322b49f84247a11f154f5805d79f",hierarchy:this.buttonHierarchy,icon:this.isIconOnly?"only":"trailing",size:this.size,label:this.isIconOnly?"":this.label,iconName:this.isIconOnly?this.iconName:"expand_more",disabled:this.disabled,onClick:this.toggleDropdown})),this.showAvatar&&o("div",{key:"0a160fb08b45336d5f7a6bd34869f46c5e3e60a4",ref:t=>this.triggerRef=t,class:e,onClick:t=>{if(!this.disabled){t.stopPropagation();this.toggleDropdown()}},role:"button",tabindex:this.disabled?-1:0,onKeyDown:t=>{if(!this.disabled&&(t.key==="Enter"||t.key===" ")){t.preventDefault();this.toggleDropdown()}}},o("bh-avatar",{key:"cffa687bee8d8e8c67fe301aa69aacb422fc80a6",type:"image",size:this.avatarSize,imageSrc:this.avatarSrc,alt:this.avatarAlt})),o("bh-dropdown-menu",{key:"a382a01f558fbd84cffa1dd65a191427ad027509",ref:t=>this.menuRef=t,style:this.isOpen?n:{display:"none"},visible:this.isOpen,showIcons:this.showIcons,menuItems:JSON.stringify(this.parsedMenuItems),header:this.parsedHeader?JSON.stringify(this.parsedHeader):undefined,onBhItemClick:this.handleMenuItemClick}))}static get watchers(){return{isOpen:["handleOpenChange"]}}};Wt.style=Xt;const Zt=".logo-box{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;width:40px;flex-shrink:0;isolation:isolate}.logo-active{background-color:var(--color-brand-600);box-sizing:border-box;display:flex;gap:var(--spacing-lg);align-items:center;justify-content:center;padding:var(--spacing-sm);position:relative;border-radius:var(--radius-md);flex-shrink:0;width:40px;height:40px;z-index:2;transition:background-color 0.3s ease;cursor:pointer}.logo-box:hover .logo-active,.logo-box.dropdown-open .logo-active{background-color:var(--color-brand-700)}.logo{overflow:hidden;position:relative;flex-shrink:0;width:32px;height:32px;background-size:contain;background-repeat:no-repeat;background-position:center;transition:background-image 0.4s cubic-bezier(0.08, 0.52, 0.52, 1)}.logo-actabl{}.logo-al{}.logo-he{}.logo-ps{}.logo-tr{}.logo-more-products{position:absolute;background-color:var(--color-brand-200);right:2px;bottom:-4px;border-radius:5px;width:36px;height:35px;z-index:1;transition:transform 0.3s ease}.logo-box:hover .logo-more-products,.logo-box.dropdown-open .logo-more-products{transform:translateY(-4px)}";const te=class{constructor(n){t(this,n);this.bhProductSelect=e(this,"bhProductSelect")}logoType="actabl";logoSrc;assetBasePath="/bellhop/assets";products=[{id:"alice",name:"Alice",description:"Housekeeping & Guest Services",logo:"./assets/logos/AL.svg"},{id:"hotel-effectiveness",name:"Hotel Effectiveness",description:"Labor planning",logo:"./assets/logos/HE.svg"},{id:"profit-sword",name:"ProfitSword",description:"B.I and Finance",logo:"./assets/logos/PS.svg"},{id:"transcendent",name:"Transcendent",description:"Asset Management & CapEx",logo:"./assets/logos/TR.svg"}];bhProductSelect;isOpen=false;anchorPosition={top:0,left:0};logoActiveRef;handleLogoClick=()=>{if(this.logoActiveRef){const t=this.logoActiveRef.getBoundingClientRect();this.anchorPosition={top:t.bottom+8,left:t.left};this.isOpen=!this.isOpen}};handleClose=()=>{this.isOpen=false};handleProductSelect=t=>{this.bhProductSelect.emit(t.detail);this.isOpen=false};getLogoSrc=()=>{if(this.logoSrc){return this.logoSrc}const t={actabl:"actabl.svg",al:"AL.svg",he:"HE.svg",ps:"PS.svg",tr:"TR.svg"};const e=t[this.logoType]||"actabl.svg";return`${this.assetBasePath}/logos/${e}`};render(){const t={"logo-box":true,"dropdown-open":this.isOpen};const e={logo:true,[`logo-${this.logoType}`]:true};return o(i,{key:"cddf182854e6f8d264dd11f87ff837c116b4b749"},o("div",{key:"592e2ba2a109d7c88ebd32718ba6e58bfa5fdc2f",class:t},o("div",{key:"219a43154e0e2d216beaf5c071d36a09bf6de8a9",ref:t=>this.logoActiveRef=t,class:"logo-active",onClick:this.handleLogoClick},o("img",{key:"7e69029e9e9f70f6395f128b348a6592fcce6731",src:this.getLogoSrc(),alt:`${this.logoType} logo`,class:e})),o("div",{key:"81edc7607a9aceb72d32d790e948d347f50555dc",class:"logo-more-products"})),o("bh-product-switcher",{key:"17d181c5e33d7cc942433345cc8c88a5b1ef1671",isOpen:this.isOpen,anchorPosition:this.anchorPosition,products:this.products,onBhClose:this.handleClose,onBhProductSelect:this.handleProductSelect}))}};te.style=Zt;const ee=":host{display:inline-block}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;flex-shrink:0;width:100%;max-width:52px;height:fit-content}.nav-item-button{background-color:var(--color-white);box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:var(--spacing-md);position:relative;border-radius:var(--radius-sm);flex-shrink:0;transition:background-color 0.2s ease;cursor:pointer;border:none;outline:none}.nav-item-button:hover{background-color:var(--color-neutral-50)}.nav-item-button:focus-visible{box-shadow:0 0 0 2px var(--color-brand-100)}.nav-item.active .nav-item-button{background-color:var(--color-brand-50)}.nav-item-button .icon{width:20px;height:20px;display:block;flex-shrink:0;color:var(--color-neutral-500);transition:color 0.2s ease;font-size:20px;font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20}.nav-item-button:hover .icon{color:var(--color-neutral-700)}.nav-item.active .nav-item-button .icon{color:var(--color-brand-600);font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20}.nav-item-label{font-family:var(--font-inter);font-weight:var(--weight-medium);height:18px;line-height:18px;font-style:normal;overflow:hidden;text-overflow:ellipsis;position:relative;flex-shrink:0;color:var(--color-neutral-700);font-size:10px;text-align:center;white-space:nowrap;width:100%;max-width:100%;margin:var(--spacing-none);margin-top:var(--spacing-xxs);box-sizing:border-box;direction:ltr}.nav-item.active .nav-item-label{color:var(--color-neutral-700);font-weight:var(--weight-semibold)}.nav-item.disabled .nav-item-button{cursor:not-allowed;opacity:0.5}.nav-item.disabled .nav-item-button:hover{background-color:var(--color-white)}.nav-item.disabled .nav-item-button .icon{color:var(--color-neutral-400)}.nav-item.disabled .nav-item-label{color:var(--color-neutral-400)}";const ne=class{constructor(n){t(this,n);this.bhClick=e(this,"bhClick")}icon="home";label="Home";isActive=false;disabled=false;bhClick;handleClick=()=>{if(!this.disabled){this.bhClick.emit()}};handleKeyDown=t=>{if((t.key==="Enter"||t.key===" ")&&!this.disabled){t.preventDefault();this.bhClick.emit()}};render(){const t={"nav-item":true,active:this.isActive,disabled:this.disabled};return o("div",{key:"0d118945925ec1e60f16ef60ca3e913386578fa8",class:t},o("button",{key:"41b8753e8c5048614505e02688b8678993f1c8d1",class:"nav-item-button","aria-label":this.label,type:"button",onClick:this.handleClick,onKeyDown:this.handleKeyDown,disabled:this.disabled,tabIndex:this.disabled?-1:0},o("span",{key:"bbd4414639535eabedf673412e57d5f3c83e3ddc",class:"material-symbols-outlined icon"},this.icon)),o("p",{key:"cb747ba8b73b5201c47bd66de61d2b9bf5bd8a95",class:"nav-item-label"},this.label))}};ne.style=ee;export{Wt as bh_dropdown,te as bh_logo_box,ne as bh_nav_item};
|
|
2
|
+
//# sourceMappingURL=p-091171da.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as a,h as i,H as t}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as a,h as i,H as t}from"./p-nAAobRRQ.js";const c=".appbar{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 var(--spacing-sm);background-color:var(--color-white);border-bottom:1px solid var(--color-neutral-200);font-family:var(--font-inter);position:sticky;top:0;z-index:1000;box-sizing:border-box;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.left-section{display:flex;align-items:center;gap:var(--spacing-xl);flex-shrink:0}.logo{display:flex;align-items:center;justify-content:center;width:var(--spacing-4xl);height:var(--spacing-4xl);color:var(--color-brand-500)}.logo-image{width:36px;height:36px;object-fit:contain}.right-section{display:flex;align-items:center;gap:var(--spacing-md);flex-shrink:0}.icon-button-wrapper{position:relative}.icon-badge-dot{position:absolute;top:-8px;right:2px}@media (max-width: 768px){.appbar{padding:0 16px}.left-section{gap:12px}}@media (max-width: 480px){.appbar{padding:0 12px}.right-section{gap:4px}}";const s=class{constructor(i){e(this,i);this.bhMenuToggle=a(this,"bhMenuToggle");this.bhBreadcrumbClick=a(this,"bhBreadcrumbClick");this.bhNotificationClick=a(this,"bhNotificationClick");this.bhCalendarClick=a(this,"bhCalendarClick");this.bhSettingsClick=a(this,"bhSettingsClick")}isMenuOpen=false;logoSrc;logoAlt="Solstice";breadcrumbItems=[{label:"Dashboard",path:"/dashboard"},{label:"Dashboards",isActive:true}];notificationCount=0;bhMenuToggle;bhBreadcrumbClick;bhNotificationClick;bhCalendarClick;bhSettingsClick;handleMenuToggle=()=>{this.bhMenuToggle.emit()};handleBreadcrumbClick=e=>{if(e.path&&!e.isActive){this.bhBreadcrumbClick.emit(e)}};handleNotificationClick=()=>{this.bhNotificationClick.emit()};handleCalendarClick=()=>{this.bhCalendarClick.emit()};handleSettingsClick=()=>{this.bhSettingsClick.emit()};render(){return i(t,{key:"ae8a4a515b6384418dc4a73297d049d052b311f2"},i("header",{key:"999bad1f106bf9a4fe8107894a55b3b1f683dd84",class:"appbar"},i("div",{key:"a5ff9a5e8d90adbf67ad2782eaf5e6ca43702bd4",class:"left-section"},i("bh-button-icon",{key:"7c25230ad01e084e3ffa43bb3ce037fe9d90724b",hierarchy:"quaternary",size:"sm",iconName:this.isMenuOpen?"menu_open":"last_page",onClick:this.handleMenuToggle}),this.logoSrc&&i("div",{key:"dd1630e2a2ff83874a9989fec6c5966d74f6a374",class:"logo"},i("img",{key:"0971c0630bf69f35db53b36af4c5fc5c38518f56",src:this.logoSrc,alt:this.logoAlt,class:"logo-image"})),i("slot",{key:"6b42819c05444a2a32522983a18a4526d6ad5753",name:"property-switcher"}),i("bh-breadcrumbs",{key:"b63deedb1242f22179056f539baff4c118c43ca7",items:this.breadcrumbItems,showHome:true,onBhItemClick:e=>this.handleBreadcrumbClick(e.detail)})),i("div",{key:"792c8be8095c8a41fbbd57e939bc7a3c8e00dee5",class:"right-section"},i("div",{key:"3e30fbfaf6989ddea20e90e6e225462bbd5f341d",class:"icon-button-wrapper"},i("bh-button-icon",{key:"4c91cff44cafe0595adb1dd482e3e6deb62176d0",hierarchy:"quaternary",size:"sm",iconName:"calendar_today",onClick:this.handleCalendarClick}),i("bh-badge-dot",{key:"a6a0d51fdc1306b3a0006a0dd59a4f8c44445c7d",size:"sm",color:"success",outline:true,class:"icon-badge-dot"})),i("div",{key:"f6ea9f12906da34315ad1d075fad964473b1bf0b",class:"icon-button-wrapper"},i("bh-button-icon",{key:"f35e426048468766bf5c1f314b713b710b095a53",hierarchy:"quaternary",size:"sm",iconName:"settings",onClick:this.handleSettingsClick}),i("bh-badge-dot",{key:"f94d20164a8a8b21ac09456e824d83b2667efb66",size:"sm",color:"blue",outline:true,class:"icon-badge-dot"})),i("div",{key:"b92beef52a5fb8d9a20ddf0d65e1de350af7cf14",class:"icon-button-wrapper"},i("bh-button-icon",{key:"55f3c7485ac9c8aa5ba83fb699c1716cca91e7ae",hierarchy:"quaternary",size:"sm",iconName:"notifications",onClick:this.handleNotificationClick}),this.notificationCount>0&&i("bh-badge-dot",{key:"a7fd28338df24721fd1bf2b6b045631cf86093f0",size:"sm",color:"error",outline:true,class:"icon-badge-dot"})))))}};s.style=c;export{s as bh_appbar};
|
|
2
|
+
//# sourceMappingURL=p-09a50860.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,c as t,h as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as i,c as t,h as e}from"./p-nAAobRRQ.js";import{s as n,u as o}from"./p-CPgx0iFq.js";const r=":host{display:block;font-family:var(--font-inter, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif)}.input-wrapper{display:flex;flex-direction:column;gap:var(--spacing-sm, 8px);width:100%}.input-container{display:flex;align-items:center;gap:var(--spacing-md, 12px);padding:var(--spacing-md, 12px);height:36px;width:100%;background:var(--color-white, #FFFFFF);border:1px solid var(--color-neutral-300, #D0D5DD);border-radius:var(--spacing-md, 8px);transition:all 0.2s ease-in-out;cursor:text;box-sizing:border-box}.input-container.input-container-with-leading{padding:var(--spacing-md, 12px) var(--spacing-lg, 16px)}.input-container.input-container-hover{border-color:var(--color-brand-500, #7F56D9)}.input-container.input-container-focused{border-color:var(--color-brand-500, #7F56D9);box-shadow:0 0 0 1px var(--color-brand-500, #7F56D9)}.input-container.input-container-disabled{opacity:0.5;cursor:not-allowed;background:var(--color-neutral-50, #F9FAFB)}.input-container.input-container-error{border-color:var(--color-error-300, #FDA29B)}.input-container.input-container-error.input-container-hover{border-color:var(--color-error-500, #F05250)}.input-container.input-container-error.input-container-focused{border-color:var(--color-brand-600, #6941C6)}.input-content{display:flex;align-items:center;gap:var(--spacing-md, 12px);flex:1;height:100%;min-width:0}.input-element{flex:1;height:100%;border:none;outline:none;background:transparent;font-family:inherit;font-weight:400;font-size:var(--text-sm-size, 14px);line-height:1.43;color:var(--color-neutral-800, #1D2939);min-width:60px;padding:0}.input-element:focus{outline:none;border:none;box-shadow:none}.input-element::placeholder{color:var(--color-neutral-500, #667085)}.input-element:disabled{cursor:not-allowed}.leading-icon{font-size:var(--text-xl-size, 20px);color:var(--color-neutral-500, #667085);user-select:none;flex-shrink:0;cursor:default;transition:color 0.2s ease-in-out}.input-container-focused .leading-icon{color:var(--color-brand-600, #6941C6)}.visibility-toggle{font-size:var(--text-xl-size, 20px);color:var(--color-neutral-400, #98A2B3);cursor:pointer;user-select:none;flex-shrink:0;transition:color 0.2s ease-in-out}.visibility-toggle:hover{color:var(--color-neutral-600, #475467)}.input-container-disabled .visibility-toggle{cursor:not-allowed;pointer-events:none}.hint-text{font-family:inherit;font-weight:400;font-size:var(--text-sm-size, 14px);line-height:1.43;color:var(--color-neutral-600, #475467)}.hint-text.hint-error{color:var(--color-error-600, #DC2626)}.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24}";const s=class{constructor(e){i(this,e);this.bhInput=t(this,"bhInput");this.bhFocus=t(this,"bhFocus");this.bhBlur=t(this,"bhBlur");this.bhHelpClick=t(this,"bhHelpClick");this.bhVisibilityToggle=t(this,"bhVisibilityToggle");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}internals;inputEl;label="Password";placeholder="Enter your password";hintText="";showLabel=true;showHintText=true;showHelpIcon=false;showLeadingIcon=true;error=false;disabled=false;required=false;helpIconTooltip="Password requirements";leadingIcon="lock";value="";name="";defaultValue="";validationMessage="";isFocused=false;isHovered=false;showPassword=false;bhInput;bhFocus;bhBlur;bhHelpClick;bhVisibilityToggle;componentDidLoad(){n(this);o(this.internals,this.inputEl,this.validationMessage)}formResetCallback(){this.value=this.defaultValue;if(this.inputEl){this.inputEl.value=this.defaultValue}n(this);o(this.internals,this.inputEl)}handleInput=i=>{const t=i.target;this.value=t.value;this.bhInput.emit(this.value);n(this);o(this.internals,this.inputEl,this.validationMessage)};handleFocus=()=>{this.isFocused=true;this.bhFocus.emit()};handleBlur=()=>{this.isFocused=false;this.bhBlur.emit()};handleMouseEnter=()=>{if(!this.isFocused){this.isHovered=true}};handleMouseLeave=()=>{this.isHovered=false};togglePasswordVisibility=()=>{if(!this.disabled){this.showPassword=!this.showPassword;this.bhVisibilityToggle.emit(this.showPassword)}};handleHelpClick=()=>{this.bhHelpClick.emit()};render(){const i={"input-container":true,"input-container-focused":this.isFocused,"input-container-hover":this.isHovered&&!this.isFocused,"input-container-error":this.error,"input-container-disabled":this.disabled,"input-container-with-leading":this.showLeadingIcon};return e("div",{key:"d51c7f8940ebc898eca8c23b81da07e82f1d03ca",class:"input-wrapper",part:"wrapper"},e("bh-label",{key:"ff33a1389aee608c4dff434f0725c7e2daefee22",label:this.showLabel?this.label:"",required:this.required,showHelpIcon:this.showHelpIcon,helpIconTooltip:this.helpIconTooltip,disabled:this.disabled,onBhHelpClick:this.handleHelpClick},e("div",{key:"87cdc44632f27ed2d20254a5243383a1bb6e95b0",class:i,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e("div",{key:"3632843a862f49e17bbbfd56488436cb412c5551",class:"input-content"},this.showLeadingIcon&&e("span",{key:"d06f51f0e59874803a54e500c81edddd27c3277c",class:"material-symbols-outlined leading-icon"},this.leadingIcon),e("input",{key:"64fece5c291e21d4f03834918d527a4da83ac95b",ref:i=>this.inputEl=i,type:this.showPassword?"text":"password",class:"input-element",name:this.name,value:this.value,placeholder:this.placeholder,disabled:this.disabled,required:this.required,"aria-label":this.label,"aria-describedby":this.showHintText&&this.hintText?"hint-text":undefined,"aria-invalid":String(this.error),onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,part:"input"})),e("span",{key:"1777e0f5bdcfb92e67f9540cf81b1d2179f8de09",class:"material-symbols-outlined visibility-toggle",onClick:this.togglePasswordVisibility,title:this.showPassword?"Hide password":"Show password"},this.showPassword?"visibility_off":"visibility"))),this.showHintText&&this.hintText&&e("div",{key:"2fe43741a8441ea24d971ddd2eb0545e355ac228",class:{"hint-text":true,"hint-error":this.error},id:"hint-text"},this.hintText))}static get formAssociated(){return true}};s.style=r;export{s as bh_input_password};
|
|
2
|
+
//# sourceMappingURL=p-0e34250c.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,c as i,a as e,h as t,H as h}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,c as i,a as e,h as t,H as h}from"./p-nAAobRRQ.js";const o=":host{display:block}.checkbox-group{display:flex;flex-direction:column;gap:var(--spacing-lg);width:100%}";const a=class{constructor(e){s(this,e);this.bhChange=i(this,"bhChange")}get el(){return e(this)}type="checkbox";name="";value=[];disabled=false;bhChange;handleItemChange(s){s.stopPropagation();const{value:i,checked:e}=s.detail;if(this.type==="radio"||this.type==="icon-simple"){if(e){this.value=i;this.updateChildItems();this.bhChange.emit(this.value)}}else{const s=Array.isArray(this.value)?[...this.value]:[];if(e){if(!s.includes(i)){s.push(i)}}else{const e=s.indexOf(i);if(e>-1){s.splice(e,1)}}this.value=s;this.bhChange.emit(this.value)}}componentDidLoad(){this.updateChildItems()}updateChildItems(){const s=this.el.querySelectorAll("bh-checkbox-group-item");s.forEach((s=>{s.type=this.type;if(this.type==="radio"||this.type==="icon-simple"){s.name=this.name}if(this.disabled){s.disabled=true}if(this.type==="radio"||this.type==="icon-simple"){s.selected=s.value===this.value;s.checked=false}else{const i=Array.isArray(this.value)?this.value:[];s.checked=i.includes(s.value);s.selected=false}}))}render(){const s=this.type==="radio"||this.type==="icon-simple"?"radiogroup":"group";return t(h,{key:"14f895b1d0b5d6ba32a67ce3651c327d29d0770c"},t("div",{key:"13b9e0179910941c223643945735fb66b699c6eb",class:"checkbox-group",role:s,"aria-disabled":this.disabled?"true":null},t("slot",{key:"6b28955878dca08ac7549e31130eb69a0880f2ae"})))}};a.style=o;export{a as bh_checkbox_group};
|
|
2
|
+
//# sourceMappingURL=p-11a6e5fc.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,a as i,h as s}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,a as i,h as s}from"./p-nAAobRRQ.js";import{u as n}from"./p-CPgx0iFq.js";const l=":host{display:block}.input-wrapper{display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%;max-width:100%}.input-field{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);height:36px;width:100%;background:var(--color-white);border:1px solid var(--color-neutral-300);border-radius:var(--spacing-md);transition:all 0.2s ease-in-out;cursor:text;box-shadow:0 0 0 0px transparent;overflow:hidden;position:relative;box-sizing:border-box}.input-field.input-icon-leading{padding:var(--spacing-md) var(--spacing-lg)}.input-content{display:flex;align-items:center;gap:var(--spacing-md);flex:1;height:100%;min-width:0;max-width:100%}.leading-icon{font-size:var(--text-xl-size);color:var(--color-neutral-500);user-select:none;flex-shrink:0;cursor:default;pointer-events:auto;transition:color 0.2s ease-in-out}.input-field.input-focused .leading-icon{color:var(--color-brand-600)}.input-element{flex:1;height:100%;border:none;outline:none;background:transparent;font-family:var(--font-inter);font-weight:400;font-size:var(--text-sm-size);line-height:1.43;color:var(--color-neutral-800);min-width:60px;padding-left:var(--spacing-xs);box-shadow:none}.input-element:focus{outline:none;border:none;box-shadow:none}.input-element::placeholder{color:var(--color-neutral-500)}.input-element:disabled{cursor:not-allowed;opacity:0.5}.input-element::-webkit-outer-spin-button,.input-element::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.input-element[type='number']{-moz-appearance:textfield;appearance:textfield}.text-placeholder{color:var(--color-neutral-500)}.text-filled{color:var(--color-neutral-800)}.hint-text{font-family:var(--font-inter);font-weight:400;font-size:var(--text-sm-size);line-height:1.43;color:var(--color-neutral-600)}.input-field.input-hover{border-color:var(--color-brand-500)}.input-field.input-focused{border-color:var(--color-brand-500);box-shadow:0 0 0 1px var(--color-brand-500)}.input-field.input-disabled{opacity:0.5;cursor:not-allowed;background:var(--color-neutral-50)}.input-field.input-error{border-color:var(--color-error-300)}.input-field.input-error.input-hover{border-color:var(--color-error-500)}.input-field.input-error.input-focused{border-color:var(--color-brand-600)}.hint-text.hint-error{color:var(--color-error-600)}.prefix-text,.suffix-text{font-family:var(--font-inter);font-weight:400;font-size:var(--text-sm-size);line-height:1.43;color:var(--color-neutral-600);user-select:none;flex-shrink:0}.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24}@media (max-width: 768px){.input-wrapper{width:100%}}";const r=class{constructor(i){t(this,i);this.bhChange=e(this,"bhChange");this.bhFocus=e(this,"bhFocus");this.bhBlur=e(this,"bhBlur");this.bhHelpClick=e(this,"bhHelpClick");if(i.$hostElement$["s-ei"]){this.internals=i.$hostElement$["s-ei"]}else{this.internals=i.$hostElement$.attachInternals();i.$hostElement$["s-ei"]=this.internals}}get el(){return i(this)}internals;inputEl;error=false;required=false;disabled=false;showHelpIcon=false;showLeadingIcon=false;showLabel=true;showHintText=true;label="Amount";placeholder="0";hintText="Enter a numeric value.";leadingIcon="tag";helpIconTooltip="Help";value=null;min=null;max=null;step=1;prefixText="";suffixText="";width="";name="";defaultValue=null;validationMessage="";internalState="placeholder";isHovered=false;isFocused=false;internalValue=null;hasValidationError=false;bhChange;bhFocus;bhBlur;bhHelpClick;get isControlled(){return this.value!==undefined&&this.value!==null}get currentValue(){return this.isControlled?this.value:this.internalValue}watchValue(t){this.hasValidationError=this.isOutOfBounds(t);this.updateInternalState(t)}componentWillLoad(){if(this.value!==null&&this.value!==undefined){this.internalValue=this.value}this.hasValidationError=this.isOutOfBounds(this.currentValue);this.updateInternalState(this.currentValue)}componentDidLoad(){this.syncNumberFormValue();n(this.internals,this.inputEl,this.validationMessage)}formResetCallback(){this.value=this.defaultValue;this.internalValue=this.defaultValue;if(this.inputEl){this.inputEl.value=this.defaultValue!==null?String(this.defaultValue):""}this.hasValidationError=this.isOutOfBounds(this.defaultValue);this.updateInternalState(this.defaultValue);this.syncNumberFormValue();n(this.internals,this.inputEl)}syncNumberFormValue(){if(!this.internals||!this.name)return;const t=this.currentValue;if(t===null||t===undefined){this.internals.setFormValue(null)}else{this.internals.setFormValue(String(t))}}isOutOfBounds(t){if(t===null)return false;if(this.min!==null&&t<this.min)return true;if(this.max!==null&&t>this.max)return true;return false}updateInternalState(t){if(t!==null&&t!==undefined){this.internalState="filled"}else if(!this.isFocused&&!this.isHovered){this.internalState="placeholder"}}validateValue(t){if(this.min!==null&&t<this.min){return this.min}if(this.max!==null&&t>this.max){return this.max}return t}updateValue(t,e=false){let i;if(t===null){i=null}else if(e){i=t}else{i=this.validateValue(t)}this.internalValue=i;this.value=i;this.hasValidationError=this.isOutOfBounds(i);this.syncNumberFormValue();n(this.internals,this.inputEl,this.validationMessage);this.bhChange.emit(i)}handleInputChange=t=>{const e=t.target;const i=e.value;const s=i===""?null:parseFloat(i);if(s!==null&&!isNaN(s)){this.updateValue(s,true)}else if(i===""){this.updateValue(null,true)}};increment=()=>{const t=this.currentValue??0;const e=t+this.step;this.updateValue(e)};decrement=()=>{const t=this.currentValue??0;const e=t-this.step;this.updateValue(e)};handleInputFocus=()=>{this.isFocused=true;this.internalState="focused";this.bhFocus.emit()};handleInputBlur=()=>{this.isFocused=false;this.updateInternalState(this.currentValue);this.bhBlur.emit()};handleMouseEnter=()=>{if(!this.isFocused){this.isHovered=true;this.internalState="hover"}};handleMouseLeave=()=>{this.isHovered=false;if(!this.isFocused){this.updateInternalState(this.currentValue)}};handleHelpIconClick=()=>{this.bhHelpClick.emit()};getValidationErrorMessage(){if(!this.hasValidationError||this.currentValue===null)return"";if(this.min!==null&&this.max!==null){return`Enter a number between ${this.min} and ${this.max}.`}if(this.min!==null&&this.currentValue<this.min){return`Value must be at least ${this.min}`}if(this.max!==null&&this.currentValue>this.max){return`Value must be no more than ${this.max}`}return""}render(){const t=this.error||this.hasValidationError;const e=t&&this.hasValidationError?this.getValidationErrorMessage():this.hintText;const i={"input-field":true,"input-hover":this.internalState==="hover"||this.isHovered,"input-focused":this.internalState==="focused"||this.isFocused,"input-error":t,"input-disabled":this.disabled,"input-icon-leading":this.showLeadingIcon};const n=this.currentValue!==null&&this.currentValue!==undefined?"text-filled":"text-placeholder";const l=this.width?{width:this.width}:{};const r=this.disabled||this.min!==null&&this.currentValue!==null&&this.currentValue<=this.min;const a=this.disabled||this.max!==null&&this.currentValue!==null&&this.currentValue>=this.max;return s("div",{key:"5a62ac405a4dab08e3d7ec641db1336d957bd63c",class:"input-wrapper",style:l},s("bh-label",{key:"1f6fd79e83ced0e705dca9ef25caa27b9a20e79c",label:this.showLabel?this.label:"",required:this.required,showHelpIcon:this.showHelpIcon,helpIconTooltip:this.helpIconTooltip,disabled:this.disabled,onBhHelpClick:this.handleHelpIconClick},s("div",{key:"f918424c4e8775ba557532e1cda647037df5466a",class:i,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},s("div",{key:"61d930d8c8c54bf378f2194fdb104a2eeb314342",class:"input-content"},this.showLeadingIcon&&s("span",{key:"aa7ef4bda300371390b62f08d29d92b891853ccc",class:"leading-icon material-symbols-outlined"},this.leadingIcon),this.prefixText&&s("span",{key:"e64fa876433e2640d333270950f282e49920910c",class:"prefix-text"},this.prefixText),s("input",{key:"8839a9db6d5bb05315465bdc1e2c3b073ca8e029",ref:t=>this.inputEl=t,type:"number",name:this.name,value:this.currentValue??"",placeholder:this.placeholder,disabled:this.disabled,required:this.required,class:`input-element ${n}`,onInput:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,min:this.min??undefined,max:this.max??undefined,step:this.step}),this.suffixText&&s("span",{key:"156a5a3928c46f7c35d12aa94ca7de9b4217f662",class:"suffix-text"},this.suffixText),s("bh-button-icon",{key:"679c52af8ca9aa0033d165d5ded338a5656e00d2",hierarchy:"tertiary",size:"xs",iconName:"remove",disabled:r,onClick:this.decrement,"aria-label":"Decrease value"}),s("bh-button-icon",{key:"f65a5a9dfb1909d77f2106a8920bb5979699e371",hierarchy:"tertiary",size:"xs",iconName:"add",disabled:a,onClick:this.increment,"aria-label":"Increase value"})))),this.showHintText&&e&&s("div",{key:"14492378c9e97845b2a4b66834657fac2ccdcd9d",class:{"hint-text":true,"hint-error":t}},e))}static get formAssociated(){return true}static get watchers(){return{value:["watchValue"]}}};r.style=l;export{r as bh_input_number};
|
|
2
|
+
//# sourceMappingURL=p-1540001e.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as a,c as o,h as l,H as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as a,c as o,h as l,H as e}from"./p-nAAobRRQ.js";const i=":host{display:block}.modal-wrapper{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;padding:var(--spacing-4xl, 32px);z-index:1000}.modal-overlay{position:absolute;inset:0;background:var(--color-bg-overlay, rgba(64, 73, 104, 0.7));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.modal{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;max-width:400px;background:var(--color-bg-primary, #ffffff);border-radius:var(--radius-xl, 12px);box-shadow:0px 20px 24px -4px rgba(16, 24, 40, 0.08),\n 0px 8px 8px -4px rgba(16, 24, 40, 0.03);overflow:hidden;z-index:1}@media (max-width: 480px){.modal-wrapper{padding:var(--spacing-xl, 16px)}.modal{max-width:100%}}@keyframes modalFadeIn{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes overlayFadeIn{from{opacity:0}to{opacity:1}}.modal{animation:modalFadeIn 0.2s ease-out}.modal-overlay{animation:overlayFadeIn 0.2s ease-out}";const t={sm:"400px",md:"480px",lg:"520px",xl:"640px",xxl:"688px"};const r=class{constructor(l){a(this,l);this.bhClose=o(this,"bhClose")}visible=false;overlay=true;width="sm";bhClose;handleClose=()=>{this.bhClose.emit()};handleOverlayClick=a=>{if(a.target===a.currentTarget){this.handleClose()}};render(){if(!this.visible)return null;const a={"modal-wrapper":true,"modal-with-overlay":this.overlay};return l(e,null,l("div",{class:a,onClick:this.handleOverlayClick},this.overlay&&l("div",{class:"modal-overlay"}),l("div",{class:"modal",style:{maxWidth:t[this.width]}},l("slot",{name:"header"}),l("slot",null),l("slot",{name:"actions"}))))}};r.style=i;export{r as bh_modal};
|
|
2
|
+
//# sourceMappingURL=p-1b670545.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as o,h as a,H as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as o,h as a,H as i}from"./p-nAAobRRQ.js";const n=":host{display:flex;flex-direction:column;width:100%;background-color:var(--color-white)}.accordion-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg);padding:var(--spacing-lg) var(--spacing-2xl);cursor:pointer;background-color:var(--color-white);border:none;border-bottom:1px solid var(--color-neutral-100);transition:background-color 0.15s ease}.accordion-header:hover{background-color:var(--color-neutral-25)}.accordion-header:focus{outline:none}.accordion-header:focus-visible{outline:2px solid var(--color-brand-500);outline-offset:-2px}.accordion-header-content{display:flex;flex-direction:column;gap:var(--spacing-xxs);flex:1;min-width:0}.accordion-title{font-family:var(--font-inter);font-size:var(--text-md-size);font-weight:var(--weight-semibold);line-height:var(--text-md-line);color:var(--color-neutral-900)}.accordion-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:24px;color:var(--color-neutral-500);transition:transform 0.2s ease;flex-shrink:0}.accordion-content{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.2s ease;overflow:hidden}.accordion-content-inner{min-height:0;overflow:hidden}:host(.accordion-item-expanded) .accordion-header{border-bottom-color:transparent}:host(.accordion-item-expanded) .accordion-content{grid-template-rows:1fr}:host(.accordion-item-expanded) .accordion-content-inner{padding:var(--spacing-lg) var(--spacing-2xl) var(--spacing-2xl);border-bottom:1px solid var(--color-neutral-100)}:host(.accordion-item-disabled){opacity:0.5;pointer-events:none}:host(.accordion-item-disabled) .accordion-header{cursor:not-allowed}:host(.accordion-item-animating) .accordion-content-inner{overflow:hidden}";const t=class{constructor(a){e(this,a);this.bhAccordionToggle=o(this,"bhAccordionToggle");this.bhAccordionClick=o(this,"bhAccordionClick")}value;header;expanded=false;disabled=false;isAnimating=false;bhAccordionToggle;bhAccordionClick;handleExpandedChange(){this.isAnimating=true;setTimeout((()=>{this.isAnimating=false}),200)}handleHeaderClick=()=>{if(this.disabled)return;this.expanded=!this.expanded;this.bhAccordionClick.emit(this.value);this.bhAccordionToggle.emit({value:this.value,expanded:this.expanded})};handleKeyDown=e=>{if(this.disabled)return;if(e.key==="Enter"||e.key===" "){e.preventDefault();this.handleHeaderClick()}};render(){const e={"accordion-item":true,"accordion-item-expanded":this.expanded,"accordion-item-disabled":this.disabled,"accordion-item-animating":this.isAnimating};const o=this.expanded?"expand_less":"expand_more";return a(i,{key:"0c2f1ecc9d3eb6f6826811e6d3a5597cb024f76b",class:e},a("div",{key:"07eac8349ec20a34b56fa216eb0111ccc9b29cb1",class:"accordion-header",part:"header",role:"button",tabindex:this.disabled?-1:0,"aria-expanded":this.expanded?"true":"false","aria-disabled":this.disabled?"true":"false","aria-controls":`content-${this.value}`,onClick:this.handleHeaderClick,onKeyDown:this.handleKeyDown},a("div",{key:"bba216c5755b48a8f6e41aa7eea3d9a8deb11015",class:"accordion-header-content"},a("span",{key:"8e6bdb61f7c1f29ed59ef6febca2834ef19c4036",class:"accordion-title",part:"title"},this.header)),a("span",{key:"41d856e6da6cd64634c67de168f548f4307964e3",class:"accordion-icon material-symbols-outlined",part:"icon"},o)),a("div",{key:"cd9767f9ab78dd18d2c2e8a93b757a287e02c2d2",id:`content-${this.value}`,class:"accordion-content",part:"content",role:"region","aria-labelledby":`header-${this.value}`,"aria-hidden":!this.expanded?"true":"false"},a("div",{key:"32dbf5b959a5ebd0484344e1070af8e9dbab98ed",class:"accordion-content-inner"},a("slot",{key:"cf338a1116f4c2926eba447ca40ae0308f91529e"}))))}static get watchers(){return{expanded:["handleExpandedChange"]}}};t.style=n;export{t as bh_accordion_item};
|
|
2
|
+
//# sourceMappingURL=p-1be3e908.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as i,h as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as i,h as n,H as e}from"./p-nAAobRRQ.js";const o=":host{display:block;width:100%}.modal-actions{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-none, 0px);padding-top:var(--spacing-3xl, 24px);width:100%}.divider{height:1px;width:100%;flex-shrink:0;background-color:var(--color-border-secondary, #dcdfea);margin-bottom:var(--spacing-3xl, 24px)}.modal-actions-content{display:flex;gap:var(--spacing-lg, 12px);padding:0 var(--spacing-3xl, 24px);padding-bottom:var(--spacing-3xl, 24px);width:100%;box-sizing:border-box}.modal-actions-content--fill{flex-direction:row;align-items:stretch}.modal-actions-content--fill bh-button{flex:1;display:block;width:100%}.modal-actions-content--fill bh-button::part(button){width:100%}.modal-actions-content--fill .btn-destructive{flex:1}.modal-actions-content--right{flex-direction:row;align-items:center;justify-content:space-between}.actions-left{display:flex;gap:var(--spacing-lg, 12px);align-items:center}.actions-right{display:flex;gap:var(--spacing-lg, 12px);align-items:center;justify-content:flex-end}@media (max-width: 480px){.modal-actions-content--fill{flex-direction:column;align-items:stretch}.modal-actions-content--fill bh-button,.modal-actions-content--fill .btn-destructive{flex:none;width:100%}.modal-actions-content--fill{flex-direction:column-reverse}}.btn-destructive{display:flex;align-items:center;justify-content:center;gap:var(--button-content-gap, 4px);height:40px;padding:0 var(--button-padding-x, 12px);background-color:var(--color-bg-error, #d6341f);color:var(--color-fg-white, #ffffff);border:none;border-radius:var(--radius-md, 8px);font-family:var(--font-family-body, 'Inter', sans-serif);font-weight:var(--weight-semibold, 600);font-size:var(--button-font-size, 14px);line-height:var(--text-sm-line-height, 20px);letter-spacing:var(--letter-spacing-normal, 0px);cursor:pointer;overflow:hidden;transition:background-color 0.15s ease}.btn-destructive:hover{background-color:var(--color-bg-error-hover, #b82d1a)}.btn-destructive:focus-visible{outline:2px solid var(--color-bg-error, #d6341f);outline-offset:2px}.btn-destructive:active{background-color:var(--color-bg-error-active, #9a2515)}";const a=class{constructor(n){t(this,n);this.bhPrimaryAction=i(this,"bhPrimaryAction");this.bhSecondaryAction=i(this,"bhSecondaryAction")}type="fill";destructive=false;primaryLabel="Confirm";secondaryLabel="Cancel";divider=false;bhPrimaryAction;bhSecondaryAction;handlePrimaryAction=()=>{this.bhPrimaryAction.emit()};handleSecondaryAction=()=>{this.bhSecondaryAction.emit()};renderButtons(){const t=this.type==="right-aligned";const i=this.destructive?n("button",{class:"btn-destructive",onClick:this.handlePrimaryAction,type:"button"},this.primaryLabel):n("bh-button",{hierarchy:"primary",icon:"none",size:"md",label:this.primaryLabel,onBhClick:this.handlePrimaryAction});const e=n("bh-button",{hierarchy:"secondary",icon:"none",size:"md",label:this.secondaryLabel,onBhClick:this.handleSecondaryAction});if(t){return n("div",{class:"modal-actions-content modal-actions-content--right"},n("div",{class:"actions-left"},n("slot",{name:"left-content"})),n("div",{class:"actions-right"},e,i))}return n("div",{class:"modal-actions-content modal-actions-content--fill"},e,i)}render(){return n(e,{key:"fa07c24fee15053743650dfe99ee671eecdbf8e3"},n("div",{key:"e3d48c9e12aad9b55c745b23b641a6e96db662c4",class:"modal-actions"},this.divider&&n("div",{key:"89997127609e3a888b25be6a39654b264db8d785",class:"divider"}),this.renderButtons()))}};a.style=o;export{a as bh_modal_actions};
|
|
2
|
+
//# sourceMappingURL=p-21bc4f77.entry.js.map
|