@actabldesign/bellhop-core 0.3.0 → 0.3.1
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/components/bh-accordion-item.js +1 -1
- package/components/bh-activity-feed.js +1 -1
- package/components/bh-alert.js +1 -1
- package/components/bh-appbar.js +1 -1
- package/components/bh-avatar-add.js +1 -1
- package/components/bh-avatar-stacked.js +1 -1
- package/components/bh-avatar.js +1 -1
- package/components/bh-badge-dot.js +1 -1
- package/components/bh-badge.js +1 -1
- package/components/bh-banner.js +1 -1
- package/components/bh-bar-chart.js +1 -1
- package/components/bh-breadcrumbs.js +1 -1
- package/components/bh-button-icon.js +1 -1
- package/components/bh-button.js +1 -1
- package/components/bh-card-content.js +1 -1
- package/components/bh-card-footer.js +1 -1
- package/components/bh-card-header.js +1 -1
- package/components/bh-card.js +1 -1
- package/components/bh-chart-tooltip.js +1 -1
- package/components/bh-chat-message.js +1 -1
- package/components/bh-chat-reaction.js +1 -1
- package/components/bh-checkbox.js +1 -1
- package/components/bh-checklist-task-group.js +1 -1
- package/components/bh-close-button.js +1 -1
- package/components/bh-command-bar.d.ts +11 -0
- package/components/bh-command-bar.js +1 -0
- package/components/bh-container-footer.js +1 -1
- package/components/bh-container.js +1 -1
- package/components/bh-credit-card.js +1 -1
- package/components/bh-data-grid-body.js +1 -1
- package/components/bh-data-grid-change-preview.js +1 -1
- package/components/bh-data-grid-filter-builder.js +1 -1
- package/components/bh-data-grid-footer.js +1 -1
- package/components/bh-data-grid-header.js +1 -1
- package/components/bh-data-grid-toolbar.js +1 -1
- package/components/bh-data-grid.js +2 -2
- package/components/bh-date-picker-content.js +1 -1
- package/components/bh-date-picker.js +1 -1
- package/components/bh-date-range-picker-content.js +1 -1
- package/components/bh-date-range-picker.js +1 -1
- package/components/bh-divider.js +1 -1
- package/components/bh-dropdown-menu.js +1 -1
- package/components/bh-dropdown.js +1 -1
- package/components/bh-emoji-picker.js +1 -1
- package/components/bh-empty-state.js +1 -1
- package/components/bh-fab.js +1 -1
- package/components/bh-featured-icon.js +1 -1
- package/components/bh-feed-item.js +1 -1
- package/components/bh-gauge-chart.js +1 -1
- package/components/bh-guided-checklist.js +1 -1
- package/components/bh-html-editor-bubble-menu.js +1 -1
- package/components/bh-html-editor-toolbar.js +1 -1
- package/components/bh-html-editor.js +1 -1
- package/components/bh-illustrations.js +1 -1
- package/components/bh-inline-cta.js +1 -1
- package/components/bh-input-autocomplete.js +1 -1
- package/components/bh-input-number.js +1 -1
- package/components/bh-input-password.js +1 -1
- package/components/bh-input-text.js +1 -1
- package/components/bh-input-verification.js +1 -1
- package/components/bh-kbd.d.ts +11 -0
- package/components/bh-kbd.js +1 -0
- package/components/bh-label.js +1 -1
- package/components/bh-line-chart.js +1 -1
- package/components/bh-logo-box.js +1 -1
- package/components/bh-menu-item.js +1 -1
- package/components/bh-menu.js +1 -1
- package/components/bh-modal-actions.js +1 -1
- package/components/bh-modal-header.js +1 -1
- package/components/bh-month-picker-content.js +1 -1
- package/components/bh-month-picker.js +1 -1
- package/components/bh-multi-select.js +1 -1
- package/components/bh-nav-item.js +1 -1
- package/components/bh-notification-center.d.ts +11 -0
- package/components/bh-notification-center.js +1 -0
- package/components/bh-page-header.js +1 -1
- package/components/bh-page-navigation-child.js +1 -1
- package/components/bh-page-navigation-multi-level.js +1 -1
- package/components/bh-page-navigation-single-level.js +1 -1
- package/components/bh-page-navigation.js +1 -1
- package/components/bh-pagination.js +1 -1
- package/components/bh-picker-menu.js +1 -1
- package/components/bh-pie-chart.js +1 -1
- package/components/bh-pivot-grid-field-chooser.js +1 -1
- package/components/bh-pivot-grid.js +1 -1
- package/components/bh-progress-bar.js +1 -1
- package/components/bh-progress-ring.js +1 -1
- package/components/bh-property-switcher.js +1 -1
- package/components/bh-radar-chart.js +1 -1
- package/components/bh-radio-button.js +1 -1
- package/components/bh-radio-group.js +1 -1
- package/components/bh-range-slider.js +1 -1
- package/components/bh-section-footer.js +1 -1
- package/components/bh-section-header.js +1 -1
- package/components/bh-select.js +1 -1
- package/components/bh-selection-group-item.js +1 -1
- package/components/bh-selection-group.js +1 -1
- package/components/bh-side-panel-footer.js +1 -1
- package/components/bh-side-panel-header.js +1 -1
- package/components/bh-sidebar.js +1 -1
- package/components/bh-skeleton-loader.js +1 -1
- package/components/bh-stepper.js +1 -1
- package/components/bh-tab-item.js +1 -1
- package/components/bh-table-header.js +1 -1
- package/components/bh-tabs.js +1 -1
- package/components/bh-tag-group.js +1 -1
- package/components/bh-tag-input.js +1 -1
- package/components/bh-tag.js +1 -1
- package/components/bh-textarea.js +1 -1
- package/components/bh-toast-container.js +1 -1
- package/components/bh-toast.js +1 -1
- package/components/bh-toggle.js +1 -1
- package/components/bh-tooltip.js +1 -1
- package/components/bh-trend-chart.js +1 -1
- package/components/index.d.ts +6 -0
- package/components/index.js +1 -1
- package/components/{p-BVwh7Zds.js → p-2SnKTVal.js} +1 -1
- package/components/{p-DpyQ9_VL.js → p-6tew_a-x.js} +1 -1
- package/components/{p-BUoq_1rz.js → p-B7La6Iwp.js} +1 -1
- package/components/p-B8HxD-vO.js +1 -0
- package/components/{p-CdwBDbHF.js → p-B9--bog4.js} +1 -1
- package/components/{p-D_0aDuRr.js → p-BF5hfv7s.js} +1 -1
- package/components/{p-oaisznHL.js → p-BI2Y2Le4.js} +1 -1
- package/components/p-Be6mIKzo.js +1 -0
- package/components/p-Bh0oD_Yf.js +1 -0
- package/components/{p-nMu0IHKp.js → p-BniMhcxp.js} +1 -1
- package/components/{p-CZRjavNE.js → p-Br9M2BbM.js} +1 -1
- package/components/{p-QCa_P3zY.js → p-BwxcuFPS.js} +1 -1
- package/components/{p-Dq8Cpk56.js → p-BzHDM9Tg.js} +1 -1
- package/components/{p-D-D80sUk.js → p-C4rAmars.js} +1 -1
- package/components/{p-B2KPN863.js → p-C7fkgBQS.js} +1 -1
- package/components/{p-cD3vmu49.js → p-CClVva-u.js} +1 -1
- package/components/p-CJUnjRCe.js +1 -0
- package/components/{p--a7Uv1ky.js → p-CK_Py1Yi.js} +1 -1
- package/components/{p-DjJP-dIm.js → p-CWdw6bHR.js} +1 -1
- package/components/{p-XYHjFWDD.js → p-CZ_H3nat.js} +1 -1
- package/components/{p-CtaODgcw.js → p-C_nrq7_Y.js} +1 -1
- package/components/{p-BFL2Pm_E.js → p-CssmbrSc.js} +1 -1
- package/components/p-CvsupUaF.js +1 -0
- package/components/{p-DBAPExTG.js → p-CvwyG_Kj.js} +1 -1
- package/components/{p-Bf_iTZDv.js → p-D6aw0IK6.js} +1 -1
- package/components/{p-CzvaS9up.js → p-DBl9mNfN.js} +1 -1
- package/components/{p-DWoyQVnq.js → p-DG90uKhz.js} +1 -1
- package/components/{p-CWY9YV_9.js → p-DGWzDn9Y.js} +1 -1
- package/components/p-DJlRFgcj.js +1 -0
- package/components/p-DKWhUGrV.js +1 -0
- package/components/{p-CC_DXFwx.js → p-DSDbfC31.js} +1 -1
- package/components/{p-1SkDR91n.js → p-DUm7JrA0.js} +1 -1
- package/components/{p-C6UC_xxP.js → p-DblmzWu8.js} +1 -1
- package/components/{p-BHeNnP2q.js → p-DfCONXO0.js} +1 -1
- package/components/p-DhgfM7Wy.js +1 -0
- package/components/{p-Xa6gUVGr.js → p-DjUfsCJJ.js} +1 -1
- package/components/{p-CVSRqFZ0.js → p-DjpXtbw8.js} +1 -1
- package/components/{p-GjWzFf-V.js → p-Dzlsnb7d.js} +1 -1
- package/components/{p-Be20AcNb.js → p-S-miu3h6.js} +1 -1
- package/components/{p-DIMoIy0w.js → p-W2SGLZN7.js} +1 -1
- package/components/{p-arW9uaFJ.js → p-hhv9O2Qq.js} +1 -1
- package/components/{p-BwwSI2Fv.js → p-jNp3nckG.js} +1 -1
- package/dist/bellhop-core/bellhop-core.esm.js +1 -1
- package/dist/bellhop-core/p-009efb12.entry.js +1 -0
- package/dist/bellhop-core/p-01b505e3.entry.js +1 -0
- package/dist/bellhop-core/p-02945f90.entry.js +1 -0
- package/dist/bellhop-core/p-04d2ec72.entry.js +1 -0
- package/dist/bellhop-core/p-05867224.entry.js +1 -0
- package/dist/bellhop-core/p-05a53d3b.entry.js +1 -0
- package/dist/bellhop-core/p-0692ab72.entry.js +1 -0
- package/dist/bellhop-core/p-06f9b713.entry.js +1 -0
- package/dist/bellhop-core/p-08b8ba36.entry.js +1 -0
- package/dist/bellhop-core/p-0953e008.entry.js +1 -0
- package/dist/bellhop-core/p-0976eb7a.entry.js +1 -0
- package/dist/bellhop-core/p-097d70d9.entry.js +1 -0
- package/dist/bellhop-core/p-0a316bb6.entry.js +1 -0
- package/dist/bellhop-core/p-108ca612.entry.js +1 -0
- package/dist/bellhop-core/p-12d3c4e9.entry.js +1 -0
- package/dist/bellhop-core/p-13f15f41.entry.js +1 -0
- package/dist/bellhop-core/p-15bb1050.entry.js +1 -0
- package/dist/bellhop-core/p-16e01b81.entry.js +1 -0
- package/dist/bellhop-core/p-188980bd.entry.js +1 -0
- package/dist/bellhop-core/p-1fba0985.entry.js +1 -0
- package/dist/bellhop-core/p-24e5c52b.entry.js +1 -0
- package/dist/bellhop-core/p-29729109.entry.js +1 -0
- package/dist/bellhop-core/p-2b93b512.entry.js +1 -0
- package/dist/bellhop-core/{p-213a104c.entry.js → p-2bcd94d0.entry.js} +1 -1
- package/dist/bellhop-core/p-2bdb9784.entry.js +1 -0
- package/dist/bellhop-core/p-2ee44b97.entry.js +1 -0
- package/dist/bellhop-core/p-3348400a.entry.js +1 -0
- package/dist/bellhop-core/p-38873b75.entry.js +1 -0
- package/dist/bellhop-core/p-399be504.entry.js +1 -0
- package/dist/bellhop-core/p-3d67e55f.entry.js +1 -0
- package/dist/bellhop-core/p-3dcf8812.entry.js +1 -0
- package/dist/bellhop-core/p-42f26142.entry.js +1 -0
- package/dist/bellhop-core/p-43d94b51.entry.js +1 -0
- package/dist/bellhop-core/p-4c65d80a.entry.js +1 -0
- package/dist/bellhop-core/p-4e4b59cc.entry.js +1 -0
- package/dist/bellhop-core/p-50c00ac6.entry.js +1 -0
- package/dist/bellhop-core/p-52d0c0ac.entry.js +1 -0
- package/dist/bellhop-core/p-53ddab62.entry.js +1 -0
- package/dist/bellhop-core/p-558c1c9f.entry.js +1 -0
- package/dist/bellhop-core/{p-fb8e0e6c.entry.js → p-59feba80.entry.js} +1 -1
- package/dist/bellhop-core/{p-165b45f3.entry.js → p-5a49ebee.entry.js} +1 -1
- package/dist/bellhop-core/p-5f5648e6.entry.js +1 -0
- package/dist/bellhop-core/p-614f84ff.entry.js +1 -0
- package/dist/bellhop-core/p-6517c63b.entry.js +1 -0
- package/dist/bellhop-core/{p-c86b7e41.entry.js → p-654de2b6.entry.js} +1 -1
- package/dist/bellhop-core/p-65e10ead.entry.js +1 -0
- package/dist/bellhop-core/p-68c5a0bd.entry.js +1 -0
- package/dist/bellhop-core/p-68cf8430.entry.js +1 -0
- package/dist/bellhop-core/p-6ad1ed53.entry.js +1 -0
- package/dist/bellhop-core/p-6df539be.entry.js +1 -0
- package/dist/bellhop-core/p-6e1c1c27.entry.js +1 -0
- package/dist/bellhop-core/p-710e4da7.entry.js +1 -0
- package/dist/bellhop-core/p-7841fbc2.entry.js +1 -0
- package/dist/bellhop-core/p-7bceb793.entry.js +1 -0
- package/dist/bellhop-core/p-7bd58fae.entry.js +1 -0
- package/dist/bellhop-core/p-7c0d23d4.entry.js +1 -0
- package/dist/bellhop-core/p-7e226f98.entry.js +1 -0
- package/dist/bellhop-core/{p-4a96c207.entry.js → p-815fb83e.entry.js} +1 -1
- package/dist/bellhop-core/p-832bf58d.entry.js +1 -0
- package/dist/bellhop-core/p-8370a956.entry.js +1 -0
- package/dist/bellhop-core/{p-b992fd96.entry.js → p-858017eb.entry.js} +1 -1
- package/dist/bellhop-core/p-87c827d7.entry.js +1 -0
- package/dist/bellhop-core/p-8a38724f.entry.js +1 -0
- package/dist/bellhop-core/p-8aa87a99.entry.js +1 -0
- package/dist/bellhop-core/p-8ad4d720.entry.js +1 -0
- package/dist/bellhop-core/p-8d319614.entry.js +1 -0
- package/dist/bellhop-core/p-963e6ad9.entry.js +1 -0
- package/dist/bellhop-core/p-97bed0b0.entry.js +1 -0
- package/dist/bellhop-core/{p-df4c2032.entry.js → p-9b2d67db.entry.js} +2 -2
- package/dist/bellhop-core/p-9b935b1a.entry.js +1 -0
- package/dist/bellhop-core/p-9cf187af.entry.js +1 -0
- package/dist/bellhop-core/p-9e0b9dec.entry.js +1 -0
- package/dist/bellhop-core/p-CBTS9Vhx.js +1 -0
- package/dist/bellhop-core/{p-Dn-MvAk9.js → p-CKTtXT2O.js} +1 -1
- package/dist/bellhop-core/p-CMKOFHIa.js +1 -0
- package/dist/bellhop-core/p-Xi3uD33F.js +1 -0
- package/dist/bellhop-core/p-a57034cf.entry.js +1 -0
- package/dist/bellhop-core/p-a925a3d8.entry.js +1 -0
- package/dist/bellhop-core/p-abf0f15d.entry.js +1 -0
- package/dist/bellhop-core/p-b212b4c1.entry.js +1 -0
- package/dist/bellhop-core/p-b2380f56.entry.js +1 -0
- package/dist/bellhop-core/p-b333c85f.entry.js +1 -0
- package/dist/bellhop-core/p-b9d363b0.entry.js +1 -0
- package/dist/bellhop-core/p-b9d86b80.entry.js +1 -0
- package/dist/bellhop-core/p-baa76b6d.entry.js +1 -0
- package/dist/bellhop-core/p-bb11a7df.entry.js +1 -0
- package/dist/bellhop-core/p-bcc53e7e.entry.js +1 -0
- package/dist/bellhop-core/p-c0513194.entry.js +1 -0
- package/dist/bellhop-core/p-c1eed46c.entry.js +1 -0
- package/dist/bellhop-core/p-c2440a5a.entry.js +1 -0
- package/dist/bellhop-core/p-c338d5ed.entry.js +1 -0
- package/dist/bellhop-core/p-c4cd8445.entry.js +1 -0
- package/dist/bellhop-core/p-cd404c53.entry.js +1 -0
- package/dist/bellhop-core/p-d2fdf27a.entry.js +1 -0
- package/dist/bellhop-core/p-d89a2316.entry.js +1 -0
- package/dist/bellhop-core/p-d9903fd1.entry.js +1 -0
- package/dist/bellhop-core/p-df86ac00.entry.js +1 -0
- package/dist/bellhop-core/p-dfc61397.entry.js +1 -0
- package/dist/bellhop-core/p-e02bdcfb.entry.js +1 -0
- package/dist/bellhop-core/p-e6ad9a10.entry.js +1 -0
- package/dist/bellhop-core/p-e86b4fbf.entry.js +1 -0
- package/dist/bellhop-core/p-eed85b08.entry.js +1 -0
- package/dist/bellhop-core/p-f0a47a26.entry.js +1 -0
- package/dist/bellhop-core/p-f46e818f.entry.js +1 -0
- package/dist/bellhop-core/p-f6c8568f.entry.js +1 -0
- package/dist/bellhop-core/p-f784164a.entry.js +1 -0
- package/dist/bellhop-core/p-f8d47699.entry.js +1 -0
- package/dist/bellhop-core/{p-1323f446.entry.js → p-f8dce3b6.entry.js} +1 -1
- package/dist/bellhop-core/p-f9962334.entry.js +1 -0
- package/dist/bellhop-core/p-fb897d66.entry.js +1 -0
- package/dist/cjs/bellhop-core.cjs.js +1 -1
- package/dist/cjs/bh-accordion-item.cjs.entry.js +4 -3
- package/dist/cjs/bh-accordion.cjs.entry.js +3 -2
- package/dist/cjs/bh-activity-feed_2.cjs.entry.js +174 -0
- package/dist/cjs/bh-alert.cjs.entry.js +4 -3
- package/dist/cjs/bh-appbar.cjs.entry.js +57 -11
- package/dist/cjs/bh-autocomplete-menu.cjs.entry.js +3 -2
- package/dist/cjs/bh-avatar-add.cjs.entry.js +4 -3
- package/dist/cjs/bh-avatar-stacked.cjs.entry.js +4 -3
- package/dist/cjs/bh-avatar.cjs.entry.js +6 -5
- package/dist/cjs/bh-badge-dot_2.cjs.entry.js +8 -7
- package/dist/cjs/bh-badge.cjs.entry.js +6 -5
- package/dist/cjs/bh-banner.cjs.entry.js +5 -4
- package/dist/cjs/bh-bar-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-breadcrumbs.cjs.entry.js +16 -5
- package/dist/cjs/bh-button-icon_2.cjs.entry.js +5 -4
- package/dist/cjs/bh-button.cjs.entry.js +5 -4
- package/dist/cjs/bh-card-content.cjs.entry.js +4 -3
- package/dist/cjs/bh-card-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-card-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-card.cjs.entry.js +4 -3
- package/dist/cjs/bh-chart-tooltip.cjs.entry.js +5 -4
- package/dist/cjs/bh-chat-message.cjs.entry.js +5 -4
- package/dist/cjs/bh-chat-reaction.cjs.entry.js +5 -4
- package/dist/cjs/bh-checkbox.cjs.entry.js +3 -2
- package/dist/cjs/bh-checklist-task-group_3.cjs.entry.js +6 -5
- package/dist/cjs/bh-close-button.cjs.entry.js +1 -1
- package/dist/cjs/bh-command-bar.cjs.entry.js +309 -0
- package/dist/cjs/bh-container-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-container.cjs.entry.js +4 -3
- package/dist/cjs/bh-credit-card.cjs.entry.js +4 -3
- package/dist/cjs/bh-data-grid-body.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-change-preview.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-filter-builder.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-data-grid-header.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-toolbar.cjs.entry.js +4 -3
- package/dist/cjs/bh-data-grid.cjs.entry.js +4 -3
- package/dist/cjs/bh-date-picker-content.cjs.entry.js +6 -5
- package/dist/cjs/bh-date-picker.cjs.entry.js +6 -5
- package/dist/cjs/bh-date-range-picker-content.cjs.entry.js +5 -4
- package/dist/cjs/bh-date-range-picker.cjs.entry.js +7 -6
- package/dist/cjs/bh-divider.cjs.entry.js +4 -3
- package/dist/cjs/bh-dropdown-menu.cjs.entry.js +1 -1
- package/dist/cjs/bh-dropdown.cjs.entry.js +13 -4
- package/dist/cjs/bh-emoji-picker.cjs.entry.js +1 -1
- package/dist/cjs/bh-empty-state_2.cjs.entry.js +6 -5
- package/dist/cjs/bh-featured-icon.cjs.entry.js +4 -3
- package/dist/cjs/bh-gauge-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-guided-checklist.cjs.entry.js +5 -4
- package/dist/cjs/bh-html-editor-bubble-menu_2.cjs.entry.js +8 -7
- package/dist/cjs/bh-html-editor.cjs.entry.js +5 -4
- package/dist/cjs/bh-illustrations.cjs.entry.js +4 -3
- package/dist/cjs/bh-inline-cta.cjs.entry.js +5 -4
- package/dist/cjs/bh-input-autocomplete.cjs.entry.js +7 -6
- package/dist/cjs/bh-input-number.cjs.entry.js +5 -4
- package/dist/cjs/bh-input-password.cjs.entry.js +6 -5
- package/dist/cjs/bh-input-text.cjs.entry.js +5 -4
- package/dist/cjs/bh-input-verification.cjs.entry.js +4 -3
- package/dist/cjs/bh-kbd.cjs.entry.js +34 -0
- package/dist/cjs/bh-label_2.cjs.entry.js +5 -4
- package/dist/cjs/bh-line-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-logo-box_2.cjs.entry.js +8 -7
- package/dist/cjs/bh-menu_2.cjs.entry.js +4 -3
- package/dist/cjs/bh-modal-actions.cjs.entry.js +4 -3
- package/dist/cjs/bh-modal-header.cjs.entry.js +7 -6
- package/dist/cjs/bh-modal.cjs.entry.js +4 -3
- package/dist/cjs/bh-month-picker-content.cjs.entry.js +4 -3
- package/dist/cjs/bh-month-picker.cjs.entry.js +6 -5
- package/dist/cjs/bh-multi-select.cjs.entry.js +8 -7
- package/dist/cjs/bh-notification-center.cjs.entry.js +210 -0
- package/dist/cjs/bh-page-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-page-navigation-child.cjs.entry.js +4 -3
- package/dist/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +7 -6
- package/dist/cjs/bh-page-navigation.cjs.entry.js +4 -3
- package/dist/cjs/bh-pagination_2.cjs.entry.js +10 -9
- package/dist/cjs/bh-picker-menu.cjs.entry.js +3 -2
- package/dist/cjs/bh-pie-chart.cjs.entry.js +6 -5
- package/dist/cjs/bh-pivot-grid-field-chooser.cjs.entry.js +5 -4
- package/dist/cjs/bh-pivot-grid.cjs.entry.js +20 -19
- package/dist/cjs/bh-popover.cjs.entry.js +3 -2
- package/dist/cjs/bh-product-switcher.cjs.entry.js +3 -2
- package/dist/cjs/bh-progress-bar.cjs.entry.js +7 -6
- package/dist/cjs/bh-progress-ring.cjs.entry.js +1 -1
- package/dist/cjs/bh-property-switcher.cjs.entry.js +22 -5
- package/dist/cjs/bh-radar-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-radio-button.cjs.entry.js +3 -2
- package/dist/cjs/bh-radio-group.cjs.entry.js +4 -3
- package/dist/cjs/bh-range-slider.cjs.entry.js +4 -3
- package/dist/cjs/bh-section-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-section-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-selection-group-item.cjs.entry.js +3 -2
- package/dist/cjs/bh-selection-group.cjs.entry.js +4 -3
- package/dist/cjs/bh-side-panel-footer.cjs.entry.js +1 -1
- package/dist/cjs/bh-side-panel-header.cjs.entry.js +1 -1
- package/dist/cjs/bh-sidebar.cjs.entry.js +19 -5
- package/dist/cjs/bh-stepper.cjs.entry.js +3 -2
- package/dist/cjs/bh-tab-item.cjs.entry.js +5 -4
- package/dist/cjs/bh-table-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-tabs.cjs.entry.js +4 -3
- package/dist/cjs/bh-tag-group.cjs.entry.js +4 -3
- package/dist/cjs/bh-tag-input.cjs.entry.js +5 -4
- package/dist/cjs/bh-textarea.cjs.entry.js +5 -4
- package/dist/cjs/bh-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/bh-toast.cjs.entry.js +5 -4
- package/dist/cjs/bh-toggle.cjs.entry.js +4 -3
- package/dist/cjs/bh-trend-chart.cjs.entry.js +5 -4
- package/dist/cjs/{component-error-handler-C4vfF_Qu.js → component-error-handler-BxXlGq4E.js} +1 -1
- package/dist/cjs/error-boundary-fNUNT0lE.js +75 -0
- package/dist/cjs/hotkeys-BzAUI8Zg.js +113 -0
- package/dist/cjs/index-B6sArKsK.js +20 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{error-boundary-Bf7TcT4U.js → logger-DZionBgs.js} +0 -71
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/bh-accordion/bh-accordion-item/bh-accordion-item.js +1 -1
- package/dist/collection/components/bh-activity-feed/bh-activity-feed.css +8 -0
- package/dist/collection/components/bh-activity-feed/bh-activity-feed.js +29 -2
- package/dist/collection/components/bh-appbar/bh-appbar.css +28 -1
- package/dist/collection/components/bh-appbar/bh-appbar.js +220 -9
- package/dist/collection/components/bh-appbar/bh-notification-center/bh-notification-center.css +118 -0
- package/dist/collection/components/bh-appbar/bh-notification-center/bh-notification-center.js +513 -0
- package/dist/collection/components/bh-avatar/bh-avatar-add/bh-avatar-add.js +1 -1
- package/dist/collection/components/bh-avatar/bh-avatar-stacked/bh-avatar-stacked.js +1 -1
- package/dist/collection/components/bh-avatar/bh-avatar.css +8 -2
- package/dist/collection/components/bh-avatar/bh-avatar.js +2 -2
- package/dist/collection/components/bh-badge/bh-badge-dot/bh-badge-dot.js +1 -1
- package/dist/collection/components/bh-badge/bh-badge.js +2 -2
- package/dist/collection/components/bh-banner/bh-banner.js +2 -2
- package/dist/collection/components/bh-breadcrumbs/bh-breadcrumbs.css +3 -1
- package/dist/collection/components/bh-breadcrumbs/bh-breadcrumbs.js +14 -3
- package/dist/collection/components/bh-button/bh-button-icon/bh-button-icon.js +1 -1
- package/dist/collection/components/bh-button/bh-button.js +1 -1
- package/dist/collection/components/bh-card/bh-card-content/bh-card-content.js +1 -1
- package/dist/collection/components/bh-card/bh-card-footer/bh-card-footer.js +1 -1
- package/dist/collection/components/bh-card/bh-card-header/bh-card-header.js +1 -1
- package/dist/collection/components/bh-card/bh-card.js +1 -1
- package/dist/collection/components/bh-chart/bh-bar-chart/bh-bar-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-chart-tooltip/bh-chart-tooltip.js +2 -2
- package/dist/collection/components/bh-chart/bh-gauge-chart/bh-gauge-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-line-chart/bh-line-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-pie-chart/bh-pie-chart.js +3 -3
- package/dist/collection/components/bh-chart/bh-progress-bar/bh-progress-bar.js +4 -4
- package/dist/collection/components/bh-chart/bh-radar-chart/bh-radar-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-trend-chart/bh-trend-chart.js +2 -2
- package/dist/collection/components/bh-chat/bh-chat-message/bh-chat-message.js +2 -2
- package/dist/collection/components/bh-chat/bh-chat-reaction/bh-chat-reaction.js +2 -2
- package/dist/collection/components/bh-close-button/bh-close-button.js +1 -1
- package/dist/collection/components/bh-command-bar/bh-command-bar.css +181 -0
- package/dist/collection/components/bh-command-bar/bh-command-bar.figma.js +9 -0
- package/dist/collection/components/bh-command-bar/bh-command-bar.js +663 -0
- package/dist/collection/components/bh-container/bh-container-footer/bh-container-footer.js +1 -1
- package/dist/collection/components/bh-container/bh-container.js +1 -1
- package/dist/collection/components/bh-credit-card/bh-credit-card.js +1 -1
- package/dist/collection/components/bh-data-grid/bh-data-grid-footer.js +1 -1
- package/dist/collection/components/bh-data-grid/bh-data-grid-toolbar.js +1 -1
- package/dist/collection/components/bh-divider/bh-divider.js +1 -1
- package/dist/collection/components/bh-dropdown/bh-dropdown-menu/bh-dropdown-menu.js +1 -1
- package/dist/collection/components/bh-dropdown/bh-dropdown.js +29 -1
- package/dist/collection/components/bh-emoji-picker/bh-emoji-picker.js +1 -1
- package/dist/collection/components/bh-empty-state/bh-empty-state.js +1 -1
- package/dist/collection/components/bh-fab/bh-fab.js +2 -2
- package/dist/collection/components/bh-featured-icon/bh-featured-icon.js +1 -1
- package/dist/collection/components/bh-feed-item/bh-feed-item.css +9 -2
- package/dist/collection/components/bh-feed-item/bh-feed-item.js +81 -4
- package/dist/collection/components/bh-guided-checklist/bh-guided-checklist.js +1 -1
- package/dist/collection/components/bh-html-editor/bh-html-editor-bubble-menu/bh-html-editor-bubble-menu.js +3 -3
- package/dist/collection/components/bh-html-editor/bh-html-editor-toolbar/bh-html-editor-toolbar.js +1 -1
- package/dist/collection/components/bh-html-editor/bh-html-editor.js +2 -2
- package/dist/collection/components/bh-illustrations/bh-illustrations.js +1 -1
- package/dist/collection/components/bh-inline-cta/bh-inline-cta.js +2 -2
- package/dist/collection/components/bh-input/bh-input-autocomplete/bh-input-autocomplete.js +3 -3
- package/dist/collection/components/bh-input/bh-input-number/bh-input-number.js +2 -2
- package/dist/collection/components/bh-input/bh-input-password/bh-input-password.js +3 -3
- package/dist/collection/components/bh-input/bh-input-text/bh-input-text.js +2 -2
- package/dist/collection/components/bh-input/bh-input-verification/bh-input-verification.js +1 -1
- package/dist/collection/components/bh-input/bh-tag-input/bh-tag-input.js +2 -2
- package/dist/collection/components/bh-input/bh-textarea/bh-textarea.js +2 -2
- package/dist/collection/components/bh-kbd/bh-kbd.css +33 -0
- package/dist/collection/components/bh-kbd/bh-kbd.figma.js +11 -0
- package/dist/collection/components/bh-kbd/bh-kbd.js +78 -0
- package/dist/collection/components/bh-logo-box/bh-logo-box.js +2 -2
- package/dist/collection/components/bh-modal/bh-modal-actions/bh-modal-actions.js +1 -1
- package/dist/collection/components/bh-modal/bh-modal-header/bh-modal-header.js +4 -4
- package/dist/collection/components/bh-multi-select/bh-multi-select.js +3 -3
- package/dist/collection/components/bh-page-header/bh-page-header.js +2 -2
- package/dist/collection/components/bh-page-navigation/bh-page-navigation-child/bh-page-navigation-child.js +1 -1
- package/dist/collection/components/bh-page-navigation/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js +2 -2
- package/dist/collection/components/bh-page-navigation/bh-page-navigation-single-level/bh-page-navigation-single-level.js +1 -1
- package/dist/collection/components/bh-page-navigation/bh-page-navigation.js +1 -1
- package/dist/collection/components/bh-pagination/bh-pagination.js +2 -2
- package/dist/collection/components/bh-picker/bh-date-picker/bh-date-picker-content/bh-date-picker-content.js +3 -3
- package/dist/collection/components/bh-picker/bh-date-picker/bh-date-picker.js +3 -3
- package/dist/collection/components/bh-picker/bh-date-range-picker/bh-date-range-picker-content/bh-date-range-picker-content.js +2 -2
- package/dist/collection/components/bh-picker/bh-date-range-picker/bh-date-range-picker.js +4 -4
- package/dist/collection/components/bh-picker/bh-month-picker/bh-month-picker-content/bh-month-picker-content.js +1 -1
- package/dist/collection/components/bh-picker/bh-month-picker/bh-month-picker.js +3 -3
- package/dist/collection/components/bh-pivot-grid/bh-pivot-grid-field-chooser/bh-pivot-grid-field-chooser.js +2 -2
- package/dist/collection/components/bh-pivot-grid/bh-pivot-grid.js +16 -16
- package/dist/collection/components/bh-progress-ring/bh-progress-ring.js +1 -1
- package/dist/collection/components/bh-property-switcher/bh-property-switcher.js +20 -4
- package/dist/collection/components/bh-radio-group/bh-radio-group.js +1 -1
- package/dist/collection/components/bh-range-slider/bh-range-slider.js +1 -1
- package/dist/collection/components/bh-section-footer/bh-section-footer.js +1 -1
- package/dist/collection/components/bh-section-header/bh-section-header.js +1 -1
- package/dist/collection/components/bh-select/bh-select.js +4 -4
- package/dist/collection/components/bh-selection-group/bh-selection-group.js +1 -1
- package/dist/collection/components/bh-side-panel/bh-side-panel-footer/bh-side-panel-footer.js +1 -1
- package/dist/collection/components/bh-side-panel/bh-side-panel-header/bh-side-panel-header.js +1 -1
- package/dist/collection/components/bh-sidebar/bh-nav-item/bh-nav-item.js +2 -2
- package/dist/collection/components/bh-sidebar/bh-sidebar.js +79 -3
- package/dist/collection/components/bh-skeleton-loader/bh-skeleton-loader.js +1 -1
- package/dist/collection/components/bh-table-header/bh-table-header.js +1 -1
- package/dist/collection/components/bh-tabs/bh-tab-item/bh-tab-item.js +2 -2
- package/dist/collection/components/bh-tabs/bh-tabs.js +1 -1
- package/dist/collection/components/bh-tag/bh-tag-group/bh-tag-group.js +1 -1
- package/dist/collection/components/bh-tag/bh-tag.js +2 -2
- package/dist/collection/components/bh-toast/bh-toast.js +2 -2
- package/dist/collection/components/bh-toast-container/bh-toast-container.js +1 -1
- package/dist/collection/components/bh-toggle/bh-toggle.js +1 -1
- package/dist/collection/components/bh-tooltip/bh-tooltip.js +1 -1
- package/dist/collection/components/index.js +5 -0
- package/dist/collection/utils/hotkeys.js +107 -0
- package/dist/collection/utils/index.js +4 -0
- package/dist/esm/bellhop-core.js +1 -1
- package/dist/esm/bh-accordion-item.entry.js +3 -2
- package/dist/esm/bh-accordion.entry.js +2 -1
- package/dist/esm/bh-activity-feed_2.entry.js +171 -0
- package/dist/esm/bh-alert.entry.js +3 -2
- package/dist/esm/bh-appbar.entry.js +56 -10
- package/dist/esm/bh-autocomplete-menu.entry.js +2 -1
- package/dist/esm/bh-avatar-add.entry.js +3 -2
- package/dist/esm/bh-avatar-stacked.entry.js +3 -2
- package/dist/esm/bh-avatar.entry.js +5 -4
- package/dist/esm/bh-badge-dot_2.entry.js +6 -5
- package/dist/esm/bh-badge.entry.js +5 -4
- package/dist/esm/bh-banner.entry.js +4 -3
- package/dist/esm/bh-bar-chart.entry.js +4 -3
- package/dist/esm/bh-breadcrumbs.entry.js +15 -4
- package/dist/esm/bh-button-icon_2.entry.js +3 -2
- package/dist/esm/bh-button.entry.js +4 -3
- package/dist/esm/bh-card-content.entry.js +3 -2
- package/dist/esm/bh-card-footer.entry.js +3 -2
- package/dist/esm/bh-card-header.entry.js +3 -2
- package/dist/esm/bh-card.entry.js +3 -2
- package/dist/esm/bh-chart-tooltip.entry.js +4 -3
- package/dist/esm/bh-chat-message.entry.js +4 -3
- package/dist/esm/bh-chat-reaction.entry.js +4 -3
- package/dist/esm/bh-checkbox.entry.js +2 -1
- package/dist/esm/bh-checklist-task-group_3.entry.js +5 -4
- package/dist/esm/bh-close-button.entry.js +1 -1
- package/dist/esm/bh-command-bar.entry.js +307 -0
- package/dist/esm/bh-container-footer.entry.js +3 -2
- package/dist/esm/bh-container.entry.js +3 -2
- package/dist/esm/bh-credit-card.entry.js +3 -2
- package/dist/esm/bh-data-grid-body.entry.js +2 -1
- package/dist/esm/bh-data-grid-change-preview.entry.js +2 -1
- package/dist/esm/bh-data-grid-filter-builder.entry.js +2 -1
- package/dist/esm/bh-data-grid-footer.entry.js +3 -2
- package/dist/esm/bh-data-grid-header.entry.js +2 -1
- package/dist/esm/bh-data-grid-toolbar.entry.js +3 -2
- package/dist/esm/bh-data-grid.entry.js +3 -2
- package/dist/esm/bh-date-picker-content.entry.js +5 -4
- package/dist/esm/bh-date-picker.entry.js +5 -4
- package/dist/esm/bh-date-range-picker-content.entry.js +4 -3
- package/dist/esm/bh-date-range-picker.entry.js +6 -5
- package/dist/esm/bh-divider.entry.js +3 -2
- package/dist/esm/bh-dropdown-menu.entry.js +1 -1
- package/dist/esm/bh-dropdown.entry.js +12 -3
- package/dist/esm/bh-emoji-picker.entry.js +1 -1
- package/dist/esm/bh-empty-state_2.entry.js +4 -3
- package/dist/esm/bh-featured-icon.entry.js +3 -2
- package/dist/esm/bh-gauge-chart.entry.js +4 -3
- package/dist/esm/bh-guided-checklist.entry.js +4 -3
- package/dist/esm/bh-html-editor-bubble-menu_2.entry.js +6 -5
- package/dist/esm/bh-html-editor.entry.js +4 -3
- package/dist/esm/bh-illustrations.entry.js +3 -2
- package/dist/esm/bh-inline-cta.entry.js +4 -3
- package/dist/esm/bh-input-autocomplete.entry.js +6 -5
- package/dist/esm/bh-input-number.entry.js +4 -3
- package/dist/esm/bh-input-password.entry.js +5 -4
- package/dist/esm/bh-input-text.entry.js +4 -3
- package/dist/esm/bh-input-verification.entry.js +3 -2
- package/dist/esm/bh-kbd.entry.js +32 -0
- package/dist/esm/bh-label_2.entry.js +3 -2
- package/dist/esm/bh-line-chart.entry.js +4 -3
- package/dist/esm/bh-logo-box_2.entry.js +6 -5
- package/dist/esm/bh-menu_2.entry.js +2 -1
- package/dist/esm/bh-modal-actions.entry.js +3 -2
- package/dist/esm/bh-modal-header.entry.js +6 -5
- package/dist/esm/bh-modal.entry.js +3 -2
- package/dist/esm/bh-month-picker-content.entry.js +3 -2
- package/dist/esm/bh-month-picker.entry.js +5 -4
- package/dist/esm/bh-multi-select.entry.js +7 -6
- package/dist/esm/bh-notification-center.entry.js +208 -0
- package/dist/esm/bh-page-header.entry.js +3 -2
- package/dist/esm/bh-page-navigation-child.entry.js +3 -2
- package/dist/esm/bh-page-navigation-multi-level_2.entry.js +5 -4
- package/dist/esm/bh-page-navigation.entry.js +3 -2
- package/dist/esm/bh-pagination_2.entry.js +8 -7
- package/dist/esm/bh-picker-menu.entry.js +2 -1
- package/dist/esm/bh-pie-chart.entry.js +5 -4
- package/dist/esm/bh-pivot-grid-field-chooser.entry.js +4 -3
- package/dist/esm/bh-pivot-grid.entry.js +19 -18
- package/dist/esm/bh-popover.entry.js +2 -1
- package/dist/esm/bh-product-switcher.entry.js +2 -1
- package/dist/esm/bh-progress-bar.entry.js +6 -5
- package/dist/esm/bh-progress-ring.entry.js +1 -1
- package/dist/esm/bh-property-switcher.entry.js +21 -4
- package/dist/esm/bh-radar-chart.entry.js +4 -3
- package/dist/esm/bh-radio-button.entry.js +2 -1
- package/dist/esm/bh-radio-group.entry.js +3 -2
- package/dist/esm/bh-range-slider.entry.js +3 -2
- package/dist/esm/bh-section-footer.entry.js +3 -2
- package/dist/esm/bh-section-header.entry.js +3 -2
- package/dist/esm/bh-selection-group-item.entry.js +2 -1
- package/dist/esm/bh-selection-group.entry.js +3 -2
- package/dist/esm/bh-side-panel-footer.entry.js +1 -1
- package/dist/esm/bh-side-panel-header.entry.js +1 -1
- package/dist/esm/bh-sidebar.entry.js +18 -4
- package/dist/esm/bh-stepper.entry.js +2 -1
- package/dist/esm/bh-tab-item.entry.js +4 -3
- package/dist/esm/bh-table-header.entry.js +3 -2
- package/dist/esm/bh-tabs.entry.js +3 -2
- package/dist/esm/bh-tag-group.entry.js +3 -2
- package/dist/esm/bh-tag-input.entry.js +4 -3
- package/dist/esm/bh-textarea.entry.js +4 -3
- package/dist/esm/bh-toast-container.entry.js +1 -1
- package/dist/esm/bh-toast.entry.js +4 -3
- package/dist/esm/bh-toggle.entry.js +3 -2
- package/dist/esm/bh-trend-chart.entry.js +4 -3
- package/dist/esm/{component-error-handler-BVWQSuxn.js → component-error-handler-bgLpf9Pn.js} +1 -1
- package/dist/esm/error-boundary-afpK3NgJ.js +70 -0
- package/dist/esm/hotkeys-CBTS9Vhx.js +109 -0
- package/dist/esm/index-CTHvNfIu.js +20 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{error-boundary-YLeLKAYJ.js → logger-CMKOFHIa.js} +1 -68
- package/dist/locales/bh-appbar/de.json +4 -1
- package/dist/locales/bh-appbar/en.json +4 -1
- package/dist/locales/bh-appbar/es.json +4 -1
- package/dist/locales/bh-appbar/fr.json +4 -1
- package/dist/locales/bh-appbar/ja.json +4 -1
- package/dist/locales/bh-appbar/pt.json +4 -1
- package/dist/locales/bh-appbar/ru.json +4 -1
- package/dist/locales/bh-appbar/zh.json +4 -1
- package/dist/locales/bh-command-bar/de.json +13 -0
- package/dist/locales/bh-command-bar/en.json +13 -0
- package/dist/locales/bh-command-bar/es.json +13 -0
- package/dist/locales/bh-command-bar/fr.json +13 -0
- package/dist/locales/bh-command-bar/ja.json +13 -0
- package/dist/locales/bh-command-bar/pt.json +13 -0
- package/dist/locales/bh-command-bar/ru.json +13 -0
- package/dist/locales/bh-command-bar/zh.json +13 -0
- package/dist/types/components/bh-activity-feed/bh-activity-feed.d.ts +6 -0
- package/dist/types/components/bh-appbar/bh-appbar.d.ts +38 -0
- package/dist/types/components/bh-appbar/bh-notification-center/bh-notification-center.d.ts +108 -0
- package/dist/types/components/bh-breadcrumbs/bh-breadcrumbs.d.ts +8 -0
- package/dist/types/components/bh-command-bar/bh-command-bar.d.ts +131 -0
- package/dist/types/components/bh-command-bar/bh-command-bar.figma.d.ts +1 -0
- package/dist/types/components/bh-dropdown/bh-dropdown.d.ts +4 -0
- package/dist/types/components/bh-feed-item/bh-feed-item.d.ts +15 -0
- package/dist/types/components/bh-kbd/bh-kbd.d.ts +13 -0
- package/dist/types/components/bh-kbd/bh-kbd.figma.d.ts +1 -0
- package/dist/types/components/bh-property-switcher/bh-property-switcher.d.ts +2 -0
- package/dist/types/components/bh-sidebar/bh-sidebar.d.ts +14 -1
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components.d.ts +541 -4
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/hotkeys.d.ts +23 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +1021 -189
- package/hydrate/index.mjs +1021 -189
- package/llms.txt +4251 -286
- package/package.json +1 -1
- package/vscode-data.json +215 -0
- package/components/p-B7i48CAz.js +0 -1
- package/components/p-Bk-ipvH3.js +0 -1
- package/components/p-Cy98fCjm.js +0 -1
- package/components/p-i7ZvTRXV.js +0 -1
- package/dist/bellhop-core/p-008932dc.entry.js +0 -1
- package/dist/bellhop-core/p-03e002af.entry.js +0 -1
- package/dist/bellhop-core/p-062955a0.entry.js +0 -1
- package/dist/bellhop-core/p-0705eb78.entry.js +0 -1
- package/dist/bellhop-core/p-0a1548b0.entry.js +0 -1
- package/dist/bellhop-core/p-0a758a65.entry.js +0 -1
- package/dist/bellhop-core/p-0b3a286d.entry.js +0 -1
- package/dist/bellhop-core/p-0e60f7f5.entry.js +0 -1
- package/dist/bellhop-core/p-105d9352.entry.js +0 -1
- package/dist/bellhop-core/p-11eec77c.entry.js +0 -1
- package/dist/bellhop-core/p-1334408b.entry.js +0 -1
- package/dist/bellhop-core/p-141d68b7.entry.js +0 -1
- package/dist/bellhop-core/p-164db491.entry.js +0 -1
- package/dist/bellhop-core/p-170c4a62.entry.js +0 -1
- package/dist/bellhop-core/p-19739563.entry.js +0 -1
- package/dist/bellhop-core/p-1cfa274f.entry.js +0 -1
- package/dist/bellhop-core/p-1ddb2ef9.entry.js +0 -1
- package/dist/bellhop-core/p-22243198.entry.js +0 -1
- package/dist/bellhop-core/p-23acfc6a.entry.js +0 -1
- package/dist/bellhop-core/p-277693e6.entry.js +0 -1
- package/dist/bellhop-core/p-283eb6ee.entry.js +0 -1
- package/dist/bellhop-core/p-298d6782.entry.js +0 -1
- package/dist/bellhop-core/p-30f1e109.entry.js +0 -1
- package/dist/bellhop-core/p-31e952ed.entry.js +0 -1
- package/dist/bellhop-core/p-3254b058.entry.js +0 -1
- package/dist/bellhop-core/p-332a6b0d.entry.js +0 -1
- package/dist/bellhop-core/p-43c97303.entry.js +0 -1
- package/dist/bellhop-core/p-4b8fe1fa.entry.js +0 -1
- package/dist/bellhop-core/p-4d8b9186.entry.js +0 -1
- package/dist/bellhop-core/p-50b95dc8.entry.js +0 -1
- package/dist/bellhop-core/p-53006e0e.entry.js +0 -1
- package/dist/bellhop-core/p-53683664.entry.js +0 -1
- package/dist/bellhop-core/p-53dc8f16.entry.js +0 -1
- package/dist/bellhop-core/p-54d147b9.entry.js +0 -1
- package/dist/bellhop-core/p-56b090e1.entry.js +0 -1
- package/dist/bellhop-core/p-58eae3e6.entry.js +0 -1
- package/dist/bellhop-core/p-5d43f80b.entry.js +0 -1
- package/dist/bellhop-core/p-61aeccd7.entry.js +0 -1
- package/dist/bellhop-core/p-63303380.entry.js +0 -1
- package/dist/bellhop-core/p-63af6f45.entry.js +0 -1
- package/dist/bellhop-core/p-640aaf14.entry.js +0 -1
- package/dist/bellhop-core/p-6632ba13.entry.js +0 -1
- package/dist/bellhop-core/p-6807b97e.entry.js +0 -1
- package/dist/bellhop-core/p-6a725cbe.entry.js +0 -1
- package/dist/bellhop-core/p-6bfb6425.entry.js +0 -1
- package/dist/bellhop-core/p-6c4eb165.entry.js +0 -1
- package/dist/bellhop-core/p-72cd0a98.entry.js +0 -1
- package/dist/bellhop-core/p-74972e2e.entry.js +0 -1
- package/dist/bellhop-core/p-77a7967d.entry.js +0 -1
- package/dist/bellhop-core/p-79bc0c14.entry.js +0 -1
- package/dist/bellhop-core/p-7f2736ab.entry.js +0 -1
- package/dist/bellhop-core/p-83024333.entry.js +0 -1
- package/dist/bellhop-core/p-8c01d55f.entry.js +0 -1
- package/dist/bellhop-core/p-8d4654ea.entry.js +0 -1
- package/dist/bellhop-core/p-9429002f.entry.js +0 -1
- package/dist/bellhop-core/p-956ca990.entry.js +0 -1
- package/dist/bellhop-core/p-9b0d2d1d.entry.js +0 -1
- package/dist/bellhop-core/p-YLeLKAYJ.js +0 -1
- package/dist/bellhop-core/p-a0005573.entry.js +0 -1
- package/dist/bellhop-core/p-a26f1ec0.entry.js +0 -1
- package/dist/bellhop-core/p-a42cca95.entry.js +0 -1
- package/dist/bellhop-core/p-a7153865.entry.js +0 -1
- package/dist/bellhop-core/p-a7608d57.entry.js +0 -1
- package/dist/bellhop-core/p-a94d36ae.entry.js +0 -1
- package/dist/bellhop-core/p-a9644488.entry.js +0 -1
- package/dist/bellhop-core/p-aac0f3c1.entry.js +0 -1
- package/dist/bellhop-core/p-aae7e90e.entry.js +0 -1
- package/dist/bellhop-core/p-ac2d706c.entry.js +0 -1
- package/dist/bellhop-core/p-b21105d4.entry.js +0 -1
- package/dist/bellhop-core/p-b7995c47.entry.js +0 -1
- package/dist/bellhop-core/p-bacf8b19.entry.js +0 -1
- package/dist/bellhop-core/p-bf2f5dbd.entry.js +0 -1
- package/dist/bellhop-core/p-c10aff52.entry.js +0 -1
- package/dist/bellhop-core/p-c30fcfcb.entry.js +0 -1
- package/dist/bellhop-core/p-c581c876.entry.js +0 -1
- package/dist/bellhop-core/p-c97c166b.entry.js +0 -1
- package/dist/bellhop-core/p-cb19b35b.entry.js +0 -1
- package/dist/bellhop-core/p-cb1dde19.entry.js +0 -1
- package/dist/bellhop-core/p-cf8c9d85.entry.js +0 -1
- package/dist/bellhop-core/p-d3816b20.entry.js +0 -1
- package/dist/bellhop-core/p-d4107350.entry.js +0 -1
- package/dist/bellhop-core/p-d59fdc08.entry.js +0 -1
- package/dist/bellhop-core/p-d77016ec.entry.js +0 -1
- package/dist/bellhop-core/p-dd1e6138.entry.js +0 -1
- package/dist/bellhop-core/p-dd6f2996.entry.js +0 -1
- package/dist/bellhop-core/p-e082bce2.entry.js +0 -1
- package/dist/bellhop-core/p-e0e28b1f.entry.js +0 -1
- package/dist/bellhop-core/p-e4a47861.entry.js +0 -1
- package/dist/bellhop-core/p-e74a03e3.entry.js +0 -1
- package/dist/bellhop-core/p-e9168244.entry.js +0 -1
- package/dist/bellhop-core/p-ea1fe131.entry.js +0 -1
- package/dist/bellhop-core/p-ecf1b0c4.entry.js +0 -1
- package/dist/bellhop-core/p-f16e07ca.entry.js +0 -1
- package/dist/bellhop-core/p-f2d2abb2.entry.js +0 -1
- package/dist/bellhop-core/p-f8f6e900.entry.js +0 -1
- package/dist/bellhop-core/p-fbdeab71.entry.js +0 -1
- package/dist/bellhop-core/p-fcb058cf.entry.js +0 -1
- package/dist/cjs/bh-activity-feed.cjs.entry.js +0 -71
- package/dist/cjs/bh-feed-item.cjs.entry.js +0 -82
- package/dist/esm/bh-activity-feed.entry.js +0 -69
- package/dist/esm/bh-feed-item.entry.js +0 -80
package/hydrate/index.js
CHANGED
|
@@ -7368,6 +7368,114 @@ function generateUniqueId(prefix, length = 7) {
|
|
|
7368
7368
|
return `${prefix}-${randomPart}`;
|
|
7369
7369
|
}
|
|
7370
7370
|
|
|
7371
|
+
/**
|
|
7372
|
+
* Shared hotkey vocabulary: one parser feeds both display (bh-kbd key
|
|
7373
|
+
* caps) and matching (global shortcut listeners like bh-command-bar's).
|
|
7374
|
+
*/
|
|
7375
|
+
const KEY_LABELS = {
|
|
7376
|
+
cmd: "⌘",
|
|
7377
|
+
command: "⌘",
|
|
7378
|
+
meta: "⌘",
|
|
7379
|
+
shift: "⇧",
|
|
7380
|
+
alt: "⌥",
|
|
7381
|
+
option: "⌥",
|
|
7382
|
+
ctrl: "Ctrl",
|
|
7383
|
+
control: "Ctrl",
|
|
7384
|
+
esc: "Esc",
|
|
7385
|
+
escape: "Esc",
|
|
7386
|
+
enter: "Enter",
|
|
7387
|
+
return: "Enter",
|
|
7388
|
+
tab: "Tab",
|
|
7389
|
+
space: "Space",
|
|
7390
|
+
backspace: "⌫",
|
|
7391
|
+
delete: "⌦",
|
|
7392
|
+
up: "↑",
|
|
7393
|
+
down: "↓",
|
|
7394
|
+
left: "←",
|
|
7395
|
+
right: "→",
|
|
7396
|
+
};
|
|
7397
|
+
const MODIFIERS = new Set([
|
|
7398
|
+
"cmd",
|
|
7399
|
+
"command",
|
|
7400
|
+
"meta",
|
|
7401
|
+
"shift",
|
|
7402
|
+
"alt",
|
|
7403
|
+
"option",
|
|
7404
|
+
"ctrl",
|
|
7405
|
+
"control",
|
|
7406
|
+
]);
|
|
7407
|
+
const EVENT_KEY_ALIASES = {
|
|
7408
|
+
esc: "escape",
|
|
7409
|
+
return: "enter",
|
|
7410
|
+
space: " ",
|
|
7411
|
+
up: "arrowup",
|
|
7412
|
+
down: "arrowdown",
|
|
7413
|
+
left: "arrowleft",
|
|
7414
|
+
right: "arrowright",
|
|
7415
|
+
};
|
|
7416
|
+
function splitHotkey(combo) {
|
|
7417
|
+
return combo
|
|
7418
|
+
.split("+")
|
|
7419
|
+
.map((raw) => raw.trim())
|
|
7420
|
+
.filter((raw) => raw.length > 0);
|
|
7421
|
+
}
|
|
7422
|
+
/** Display label for a single key token (used by bh-kbd). */
|
|
7423
|
+
function keyLabel(raw) {
|
|
7424
|
+
const label = KEY_LABELS[raw.toLowerCase()];
|
|
7425
|
+
if (label) {
|
|
7426
|
+
return label;
|
|
7427
|
+
}
|
|
7428
|
+
return raw.length === 1 ? raw.toUpperCase() : raw;
|
|
7429
|
+
}
|
|
7430
|
+
function parseHotkey(combo) {
|
|
7431
|
+
const parsed = {
|
|
7432
|
+
meta: false,
|
|
7433
|
+
ctrl: false,
|
|
7434
|
+
alt: false,
|
|
7435
|
+
shift: false,
|
|
7436
|
+
key: "",
|
|
7437
|
+
};
|
|
7438
|
+
for (const token of splitHotkey(combo)) {
|
|
7439
|
+
const lower = token.toLowerCase();
|
|
7440
|
+
if (MODIFIERS.has(lower)) {
|
|
7441
|
+
if (lower === "cmd" || lower === "command" || lower === "meta") {
|
|
7442
|
+
parsed.meta = true;
|
|
7443
|
+
}
|
|
7444
|
+
else if (lower === "ctrl" || lower === "control") {
|
|
7445
|
+
parsed.ctrl = true;
|
|
7446
|
+
}
|
|
7447
|
+
else if (lower === "alt" || lower === "option") {
|
|
7448
|
+
parsed.alt = true;
|
|
7449
|
+
}
|
|
7450
|
+
else {
|
|
7451
|
+
parsed.shift = true;
|
|
7452
|
+
}
|
|
7453
|
+
}
|
|
7454
|
+
else {
|
|
7455
|
+
parsed.key = EVENT_KEY_ALIASES[lower] ?? lower;
|
|
7456
|
+
}
|
|
7457
|
+
}
|
|
7458
|
+
return parsed;
|
|
7459
|
+
}
|
|
7460
|
+
/**
|
|
7461
|
+
* Whether a keyboard event matches a hotkey combo like "cmd+k".
|
|
7462
|
+
* "cmd" matches metaKey OR ctrlKey so one combo serves macOS and
|
|
7463
|
+
* Windows/Linux conventions.
|
|
7464
|
+
*/
|
|
7465
|
+
function matchesHotkey(event, combo) {
|
|
7466
|
+
const parsed = parseHotkey(combo);
|
|
7467
|
+
if (!parsed.key) {
|
|
7468
|
+
return false;
|
|
7469
|
+
}
|
|
7470
|
+
const primaryOk = parsed.meta
|
|
7471
|
+
? event.metaKey || event.ctrlKey
|
|
7472
|
+
: event.ctrlKey === parsed.ctrl;
|
|
7473
|
+
return (primaryOk &&
|
|
7474
|
+
event.altKey === parsed.alt &&
|
|
7475
|
+
event.shiftKey === parsed.shift &&
|
|
7476
|
+
event.key.toLowerCase() === parsed.key);
|
|
7477
|
+
}
|
|
7478
|
+
|
|
7371
7479
|
/**
|
|
7372
7480
|
* Global i18n registry for Bellhop components.
|
|
7373
7481
|
*
|
|
@@ -21234,7 +21342,7 @@ class BhAccordionItem {
|
|
|
21234
21342
|
...(this.disabled ? {} : focusClasses),
|
|
21235
21343
|
};
|
|
21236
21344
|
const iconName = this.expanded ? ICON_EXPANDED : ICON_COLLAPSED;
|
|
21237
|
-
return (hAsync(Host, { key: '
|
|
21345
|
+
return (hAsync(Host, { key: 'd82a922b41f625b1248368c17a2110d21750fbc5', class: hostClasses }, hAsync("div", { key: '687ee90838c80ca143a8d09ad0fcde037cdf5c82', "aria-controls": `content-${this.value}`, "aria-disabled": this.disabled ? "true" : "false", "aria-expanded": this.expanded ? "true" : "false", class: headerClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), id: `header-${this.value}`, onBlur: this.handleBlur, onClick: this.handleHeaderClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "header", role: "button", tabindex: this.disabled ? -1 : 0 }, hAsync("div", { key: 'd49e9935d195158dc6650174ac026c085d7c89e4', class: "accordion-header-content" }, hAsync("span", { key: 'a001b08616eb0aee016872d245b90a2170ac9648', class: "accordion-title", part: "title" }, this.header)), hAsync("span", { key: '83904edf776736ecff2e9e2f100003ed900a4a25', class: "accordion-icon material-symbols-outlined", part: "icon" }, iconName)), hAsync("div", { key: '320ecef3a9c68f018814e7a452177add0d54b6b3', "aria-hidden": this.expanded ? "false" : "true", "aria-labelledby": `header-${this.value}`, class: "accordion-content", id: `content-${this.value}`, part: "content", role: "region" }, hAsync("div", { key: '64b99758e415308056f49dfc781da4b401161ff5', class: "accordion-content-inner" }, hAsync("slot", { key: 'e7d64ed9ad3d1d3be99e6eaa9b03136b90e63bd0' })))));
|
|
21238
21346
|
}
|
|
21239
21347
|
static get watchers() { return {
|
|
21240
21348
|
"expanded": [{
|
|
@@ -21259,7 +21367,7 @@ class BhAccordionItem {
|
|
|
21259
21367
|
}; }
|
|
21260
21368
|
}
|
|
21261
21369
|
|
|
21262
|
-
const bhActivityFeedCss = () => `@charset "UTF-8";@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-activity-feed-bg:var(--color-bg-primary);--bh-activity-feed-border:var(--color-border-secondary);--bh-activity-feed-header-bg:var(--color-bg-primary);--bh-activity-feed-header-border:var(--color-border-secondary);--bh-activity-feed-divider-color:var(--color-border-secondary);--bh-activity-feed-heading-color:var(--color-text-primary);--bh-activity-feed-connector-color:var(--color-border-secondary);--bh-activity-feed-connector-width:2px}}@layer bh-base{.activity-feed{display:flex;flex-direction:column;background:var(--bh-activity-feed-bg);width:100%}.activity-feed-header{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-xl);border-bottom:1px solid var(--bh-activity-feed-header-border);background:var(--bh-activity-feed-header-bg)}.activity-feed-header-content{display:flex;align-items:center;gap:var(--spacing-md);flex:1;min-width:0}.header-icon{font-family:"Material Symbols Outlined";font-weight:normal;font-style:normal;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;font-size:var(--icon-size-md);color:var(--bh-activity-feed-heading-color)}.activity-feed-heading{font-size:var(--text-lg-size);font-weight:var(--weight-semibold);line-height:var(--text-lg-line);color:var(--bh-activity-feed-heading-color);margin:0}.activity-feed-list{display:flex;flex-direction:column;overflow-y:auto;padding:var(--spacing-lg)}}@layer bh-variants{.activity-feed-divider-line .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){border-bottom:1px solid var(--bh-activity-feed-divider-color);padding-bottom:var(--spacing-xl);margin-bottom:var(--spacing-xl)}.activity-feed-divider-divider .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){border-bottom:1px solid var(--bh-activity-feed-divider-color);padding-bottom:var(--spacing-2xl);margin-bottom:var(--spacing-2xl)}.activity-feed-divider-connector .activity-feed-list ::slotted(bh-feed-item){margin-bottom:0}.activity-feed-divider-none .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){margin-bottom:var(--spacing-xl)}.activity-feed-messages .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){margin-bottom:var(--spacing-2xl)}.activity-feed-with-header{border:1px solid var(--bh-activity-feed-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}}`;
|
|
21370
|
+
const bhActivityFeedCss = () => `@charset "UTF-8";@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-activity-feed-bg:var(--color-bg-primary);--bh-activity-feed-border:var(--color-border-secondary);--bh-activity-feed-header-bg:var(--color-bg-primary);--bh-activity-feed-header-border:var(--color-border-secondary);--bh-activity-feed-divider-color:var(--color-border-secondary);--bh-activity-feed-heading-color:var(--color-text-primary);--bh-activity-feed-connector-color:var(--color-border-secondary);--bh-activity-feed-connector-width:2px}}@layer bh-base{.activity-feed{display:flex;flex-direction:column;background:var(--bh-activity-feed-bg);width:100%}.activity-feed-header{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-xl);border-bottom:1px solid var(--bh-activity-feed-header-border);background:var(--bh-activity-feed-header-bg)}.activity-feed-header-content{display:flex;align-items:center;gap:var(--spacing-md);flex:1;min-width:0}.header-icon{font-family:"Material Symbols Outlined";font-weight:normal;font-style:normal;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;font-size:var(--icon-size-md);color:var(--bh-activity-feed-heading-color)}.activity-feed-heading{font-size:var(--text-lg-size);font-weight:var(--weight-semibold);line-height:var(--text-lg-line);color:var(--bh-activity-feed-heading-color);margin:0}.activity-feed-list{display:flex;flex-direction:column;overflow-y:auto;padding:var(--spacing-lg)}}@layer bh-variants{.activity-feed-divider-line .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){border-bottom:1px solid var(--bh-activity-feed-divider-color);padding-bottom:var(--spacing-xl);margin-bottom:var(--spacing-xl)}.activity-feed-flush .activity-feed-list{padding:0}.activity-feed-flush.activity-feed-divider-line .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){padding-bottom:0;margin-bottom:0}.activity-feed-divider-divider .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){border-bottom:1px solid var(--bh-activity-feed-divider-color);padding-bottom:var(--spacing-2xl);margin-bottom:var(--spacing-2xl)}.activity-feed-divider-connector .activity-feed-list ::slotted(bh-feed-item){margin-bottom:0}.activity-feed-divider-none .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){margin-bottom:var(--spacing-xl)}.activity-feed-messages .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){margin-bottom:var(--spacing-2xl)}.activity-feed-with-header{border:1px solid var(--bh-activity-feed-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}}`;
|
|
21263
21371
|
|
|
21264
21372
|
const COMPONENT_NAME$s = "bh-activity-feed";
|
|
21265
21373
|
class BhActivityFeed {
|
|
@@ -21282,6 +21390,12 @@ class BhActivityFeed {
|
|
|
21282
21390
|
headerIcon = "";
|
|
21283
21391
|
/** Maximum height for the scrollable feed area (CSS value, e.g. "400px") */
|
|
21284
21392
|
maxHeight = "";
|
|
21393
|
+
/**
|
|
21394
|
+
* Edge-to-edge list: removes the list padding and inter-item margins so
|
|
21395
|
+
* item backgrounds and dividers span the full container width — for
|
|
21396
|
+
* panel-style surfaces like notification centers.
|
|
21397
|
+
*/
|
|
21398
|
+
flush = false;
|
|
21285
21399
|
/** Accessible label for the close button. Allows i18n. */
|
|
21286
21400
|
closeAriaLabel = "Close";
|
|
21287
21401
|
/** Emitted when the close button is clicked */
|
|
@@ -21312,12 +21426,13 @@ class BhActivityFeed {
|
|
|
21312
21426
|
}
|
|
21313
21427
|
render() {
|
|
21314
21428
|
const feedStyle = this.maxHeight ? { "max-height": this.maxHeight } : {};
|
|
21315
|
-
return (hAsync(Host, { key: '
|
|
21429
|
+
return (hAsync(Host, { key: '0a631e358bb25ec3d4a21d8b6cc2d86c91a0dca4' }, hAsync("div", { key: '9e5eddafb5bd043acfdf54af7bd6dbeb4569d961', class: {
|
|
21316
21430
|
"activity-feed": true,
|
|
21317
21431
|
[`activity-feed-${this.type}`]: true,
|
|
21318
21432
|
[`activity-feed-divider-${this.divider}`]: true,
|
|
21319
21433
|
"activity-feed-with-header": this.showHeader,
|
|
21320
|
-
|
|
21434
|
+
"activity-feed-flush": this.flush,
|
|
21435
|
+
}, part: "container" }, this.renderHeader(), hAsync("div", { key: '6647af1dce5d657c05bd8dce423842d690426275', "aria-label": this.heading || "Activity feed", class: "activity-feed-list", part: "list", role: "feed", style: feedStyle }, hAsync("slot", { key: '65cf6330ac0cfb361145d0c28396f2d5cfb739cc' })))));
|
|
21321
21436
|
}
|
|
21322
21437
|
static get style() { return bhActivityFeedCss(); }
|
|
21323
21438
|
static get cmpMeta() { return {
|
|
@@ -21330,12 +21445,13 @@ class BhActivityFeed {
|
|
|
21330
21445
|
"heading": [1],
|
|
21331
21446
|
"headerIcon": [1, "header-icon"],
|
|
21332
21447
|
"maxHeight": [1, "max-height"],
|
|
21448
|
+
"flush": [516],
|
|
21333
21449
|
"closeAriaLabel": [1, "close-aria-label"],
|
|
21334
21450
|
"_i18nVersion": [32]
|
|
21335
21451
|
},
|
|
21336
21452
|
"$listeners$": undefined,
|
|
21337
21453
|
"$lazyBundleId$": "-",
|
|
21338
|
-
"$attrsToReflect$": [["type", "type"], ["divider", "divider"]]
|
|
21454
|
+
"$attrsToReflect$": [["type", "type"], ["divider", "divider"], ["flush", "flush"]]
|
|
21339
21455
|
}; }
|
|
21340
21456
|
}
|
|
21341
21457
|
|
|
@@ -21506,7 +21622,7 @@ class BhAlert {
|
|
|
21506
21622
|
}; }
|
|
21507
21623
|
}
|
|
21508
21624
|
|
|
21509
|
-
const bhAppbarCss = () => `@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } :root { --bh-breakpoint-xs: 0; --bh-breakpoint-sm: 576px; --bh-breakpoint-md: 768px; --bh-breakpoint-lg: 992px; --bh-breakpoint-xl: 1200px; --bh-breakpoint-xxl: 1400px; --bh-container-sm: 540px; --bh-container-md: 720px; --bh-container-lg: 960px; --bh-container-xl: 1140px; --bh-container-xxl: 1320px; } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { --bh-appbar-bg: var(--color-bg-primary); --bh-appbar-border-color: var(--color-border-secondary); --bh-appbar-logo-color: var(--color-text-interactive); } } @layer bh-base { .appbar { display: flex; align-items: center; justify-content: space-between; height: var(--bh-avatar-size-xl);
|
|
21625
|
+
const bhAppbarCss = () => `@charset "UTF-8"; @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } :root { --bh-breakpoint-xs: 0; --bh-breakpoint-sm: 576px; --bh-breakpoint-md: 768px; --bh-breakpoint-lg: 992px; --bh-breakpoint-xl: 1200px; --bh-breakpoint-xxl: 1400px; --bh-container-sm: 540px; --bh-container-md: 720px; --bh-container-lg: 960px; --bh-container-xl: 1140px; --bh-container-xxl: 1320px; } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { --bh-appbar-bg: var(--color-bg-primary); --bh-appbar-border-color: var(--color-border-secondary); --bh-appbar-logo-color: var(--color-text-interactive); } } @layer bh-base { .appbar { display: flex; align-items: center; justify-content: space-between; height: var(--bh-avatar-size-xl); padding: 0 var(--spacing-xl) 0 var(--spacing-sm); background-color: var(--bh-appbar-bg); border-bottom: 1px solid var(--bh-appbar-border-color); font-family: var(--font-inter); position: sticky; top: 0; z-index: var(--bh-z-index-fixed); box-sizing: border-box; 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-5xl); height: var(--spacing-5xl); color: var(--bh-appbar-logo-color); } .logo-image { width: var(--icon-size-3xl); height: var(--icon-size-3xl); object-fit: contain; } .right-section { display: flex; align-items: center; gap: var(--spacing-md); flex-shrink: 0; } ::slotted([slot=actions]) { display: flex; align-items: center; gap: var(--spacing-md); } .icon-button-wrapper { position: relative; } .icon-badge-dot { position: absolute; top: calc(-1 * var(--spacing-md)); right: var(--spacing-xxs); } .icon-badge-count { position: absolute; top: var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm))); right: var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm))); opacity: 0.8; pointer-events: none; } .icon-badge-count:hover { opacity: 1; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } } @layer bh-utilities { @media (max-width: 768px) { .appbar { padding: 0 var(--spacing-xl); } .left-section { gap: var(--spacing-lg); } } @media (max-width: 480px) { .appbar { padding: 0 var(--spacing-lg); } .right-section { gap: var(--spacing-xs); } } }`;
|
|
21510
21626
|
|
|
21511
21627
|
class BhAppbar {
|
|
21512
21628
|
constructor(hostRef) {
|
|
@@ -21554,6 +21670,42 @@ class BhAppbar {
|
|
|
21554
21670
|
* Show the home icon in the breadcrumb trail
|
|
21555
21671
|
*/
|
|
21556
21672
|
showBreadcrumbHome = true;
|
|
21673
|
+
/**
|
|
21674
|
+
* Show the built-in calendar action button
|
|
21675
|
+
*/
|
|
21676
|
+
showCalendar = true;
|
|
21677
|
+
/**
|
|
21678
|
+
* Show the built-in settings action button
|
|
21679
|
+
*/
|
|
21680
|
+
showSettings = true;
|
|
21681
|
+
/**
|
|
21682
|
+
* Show the built-in notifications action button
|
|
21683
|
+
*/
|
|
21684
|
+
showNotifications = true;
|
|
21685
|
+
/**
|
|
21686
|
+
* Unread-notification indicator style: badge dot or count badge
|
|
21687
|
+
*/
|
|
21688
|
+
notificationBadge = "dot";
|
|
21689
|
+
/**
|
|
21690
|
+
* Notification data (array or JSON string). When provided, the built-in
|
|
21691
|
+
* bell becomes a full bh-notification-center (popover panel, read state,
|
|
21692
|
+
* mark-read) and `notificationCount` is ignored. Without it, the plain
|
|
21693
|
+
* bell renders and clicking it emits bhAction only.
|
|
21694
|
+
*/
|
|
21695
|
+
notifications;
|
|
21696
|
+
/**
|
|
21697
|
+
* Accessible label for the notifications button. Allows i18n.
|
|
21698
|
+
*/
|
|
21699
|
+
notificationsAriaLabel = "Notifications";
|
|
21700
|
+
/**
|
|
21701
|
+
* Screen-reader announcement template when notifications exist.
|
|
21702
|
+
* `{{count}}` is replaced with the notification count. Allows i18n.
|
|
21703
|
+
*/
|
|
21704
|
+
notificationsAnnouncement = "{{count}} new notifications";
|
|
21705
|
+
/**
|
|
21706
|
+
* Screen-reader announcement when there are no notifications. Allows i18n.
|
|
21707
|
+
*/
|
|
21708
|
+
noNotificationsAnnouncement = "No new notifications";
|
|
21557
21709
|
/**
|
|
21558
21710
|
* Event emitted when menu toggle is clicked
|
|
21559
21711
|
*/
|
|
@@ -21591,19 +21743,28 @@ class BhAppbar {
|
|
|
21591
21743
|
this.bhItemClick.emit(item);
|
|
21592
21744
|
}
|
|
21593
21745
|
};
|
|
21594
|
-
handleNotificationClick = () => {
|
|
21746
|
+
handleNotificationClick = () => {
|
|
21747
|
+
this.bhAction.emit({ action: "notifications" });
|
|
21748
|
+
};
|
|
21595
21749
|
handleCalendarClick = () => {
|
|
21596
21750
|
this.bhAction.emit({ action: "calendar" });
|
|
21597
21751
|
};
|
|
21598
|
-
handleSettingsClick = () => {
|
|
21752
|
+
handleSettingsClick = () => {
|
|
21753
|
+
this.bhAction.emit({ action: "settings" });
|
|
21754
|
+
};
|
|
21755
|
+
notificationAnnouncement() {
|
|
21756
|
+
if (this.notificationCount > 0) {
|
|
21757
|
+
return resolveI18n("bh-appbar", "notificationsAnnouncement", this.notificationsAnnouncement, "{{count}} new notifications").replace("{{count}}", String(this.notificationCount));
|
|
21758
|
+
}
|
|
21759
|
+
return resolveI18n("bh-appbar", "noNotificationsAnnouncement", this.noNotificationsAnnouncement, "No new notifications");
|
|
21760
|
+
}
|
|
21599
21761
|
render() {
|
|
21600
|
-
return (hAsync(Host, { key: '
|
|
21762
|
+
return (hAsync(Host, { key: 'fae737fd6bd652262a50fe772c6d747665320bae' }, hAsync("header", { key: 'ee050d082b31aacfa3cfac28c41194ba542bbb10', class: "appbar", part: "header", role: "banner" }, hAsync("div", { key: 'de0b399c07780c4c3c1a80c3a2e51c5a38139bf9', class: "left-section", part: "left-section" }, hAsync("bh-button-icon", { key: 'e69b1989ac771ae1dfb17f608098be3163433593', ariaLabel: this.isMenuOpen
|
|
21601
21763
|
? resolveI18n("bh-appbar", "closeMenuAriaLabel", this.closeMenuAriaLabel, "Close menu")
|
|
21602
|
-
: resolveI18n("bh-appbar", "openMenuAriaLabel", this.openMenuAriaLabel, "Open menu"), hierarchy: "tertiary", iconName: this.isMenuOpen ? "left_panel_close" : "left_panel_open", onClick: this.handleMenuToggle, size: "sm" }), this.logoSrc && (hAsync("div", { key: '
|
|
21603
|
-
?
|
|
21604
|
-
: "
|
|
21605
|
-
?
|
|
21606
|
-
: "No new notifications")))));
|
|
21764
|
+
: resolveI18n("bh-appbar", "openMenuAriaLabel", this.openMenuAriaLabel, "Open menu"), hierarchy: "tertiary", iconName: this.isMenuOpen ? "left_panel_close" : "left_panel_open", onClick: this.handleMenuToggle, size: "sm" }), this.logoSrc && (hAsync("div", { key: 'a7128b21be6c890bdff308af74b3c9f5b34d1ac3', class: "logo" }, hAsync("img", { key: '5553c2777fe290ae08c24b34df5833451da95dd1', alt: resolveI18n("bh-appbar", "logoAlt", this.logoAlt, "Solstice"), class: "logo-image", src: this.logoSrc }))), hAsync("slot", { key: '0d5e2b11736ccbe69ccafc1db6cb0db608b00d98', name: "property-switcher" }), hAsync("slot", { key: '035ec16e4dd285cd415b2018048b983178daf104', name: "breadcrumb" }, hAsync("bh-breadcrumbs", { key: '2544b67f1cc428a097ee9bfbcf98d2bdc1135048', items: this.breadcrumbItems, onBhItemClick: (e) => this.handleBreadcrumbClick(e.detail), showHome: this.showBreadcrumbHome }))), hAsync("div", { key: '13f1b1304a2779d82e1913149400ac6910261c39', class: "right-section", part: "right-section" }, hAsync("slot", { key: 'bcd44a315dbf486913727354368bf5896321bab3', name: "actions" }), this.showCalendar && (hAsync("slot", { key: 'd81f877985b0a33b9b0c60f62c9e868b27f48bde', name: "calendar-action" }, hAsync("div", { key: '97fbe4205b82f386458ee0fd6bca33df706e4041', class: "icon-button-wrapper" }, hAsync("bh-button-icon", { key: '20ebeb4cc3dab4830cb09887fe6822279eae906b', ariaLabel: "Calendar", hierarchy: "tertiary", iconName: "calendar_today", onClick: this.handleCalendarClick, size: "sm" }), hAsync("bh-badge-dot", { key: '444fe1c20f8686c9150e749e580ef5ef947924d1', class: "icon-badge-dot", color: "success", outline: true, size: "sm" })))), this.showSettings && (hAsync("slot", { key: '06cacd66349b11b634b6b50a6f234cd3981ce205', name: "settings-action" }, hAsync("div", { key: '31fcabb84e93e329fbd336fa5b29e29d1fa215d8', class: "icon-button-wrapper" }, hAsync("bh-button-icon", { key: '469baf5832cfb5ec12843e02900f527f251009ea', ariaLabel: "Settings", hierarchy: "tertiary", iconName: "settings", onClick: this.handleSettingsClick, size: "sm" }), hAsync("bh-badge-dot", { key: 'df04da757acdf33d55c002034e12305e3a5a23e3', class: "icon-badge-dot", color: "blue", outline: true, size: "sm" })))), this.showNotifications && this.notifications !== undefined && (hAsync("slot", { key: '1661133fd56ca74fdf2b4ae59d0f6e34da93633e', name: "notifications-action" }, hAsync("bh-notification-center", { key: '8159626a0ed74847d263ec66e5257ffc7d39c485', notifications: this.notifications }))), this.showNotifications && this.notifications === undefined && (hAsync("slot", { key: '67a6e116a630d36bec72585c157291f4b80a3359', name: "notifications-action" }, hAsync("div", { key: 'b67fe03724f8325b891fcc057a6d68107cbef300', class: "icon-button-wrapper" }, hAsync("bh-button-icon", { key: '271b3fe7ce69a0b94228428521b2f5f52f33a443', ariaLabel: this.notificationCount > 0
|
|
21765
|
+
? `${resolveI18n("bh-appbar", "notificationsAriaLabel", this.notificationsAriaLabel, "Notifications")} (${this.notificationCount})`
|
|
21766
|
+
: resolveI18n("bh-appbar", "notificationsAriaLabel", this.notificationsAriaLabel, "Notifications"), hierarchy: "tertiary", iconName: "notifications", onClick: this.handleNotificationClick, size: "sm" }), this.notificationCount > 0 &&
|
|
21767
|
+
(this.notificationBadge === "count" ? (hAsync("bh-badge", { class: "icon-badge-count", emphasis: "high", label: String(this.notificationCount), size: "sm", variant: "error" })) : (hAsync("bh-badge-dot", { class: "icon-badge-dot", color: "error", outline: true, size: "sm" })))))), this.notifications === undefined && (hAsync("div", { key: '3cb9d0a8bd66dddb418daa407a524e741fe79ba0', "aria-atomic": "true", "aria-live": "polite", class: "sr-only", part: "notification-live-region" }, this.notificationAnnouncement()))))));
|
|
21607
21768
|
}
|
|
21608
21769
|
static get style() { return bhAppbarCss(); }
|
|
21609
21770
|
static get cmpMeta() { return {
|
|
@@ -21618,6 +21779,14 @@ class BhAppbar {
|
|
|
21618
21779
|
"breadcrumbItems": [16],
|
|
21619
21780
|
"notificationCount": [2, "notification-count"],
|
|
21620
21781
|
"showBreadcrumbHome": [4, "show-breadcrumb-home"],
|
|
21782
|
+
"showCalendar": [4, "show-calendar"],
|
|
21783
|
+
"showSettings": [4, "show-settings"],
|
|
21784
|
+
"showNotifications": [4, "show-notifications"],
|
|
21785
|
+
"notificationBadge": [1, "notification-badge"],
|
|
21786
|
+
"notifications": [1],
|
|
21787
|
+
"notificationsAriaLabel": [1, "notifications-aria-label"],
|
|
21788
|
+
"notificationsAnnouncement": [1, "notifications-announcement"],
|
|
21789
|
+
"noNotificationsAnnouncement": [1, "no-notifications-announcement"],
|
|
21621
21790
|
"_i18nVersion": [32]
|
|
21622
21791
|
},
|
|
21623
21792
|
"$listeners$": undefined,
|
|
@@ -21800,7 +21969,7 @@ class BhAutocompleteMenu {
|
|
|
21800
21969
|
}; }
|
|
21801
21970
|
}
|
|
21802
21971
|
|
|
21803
|
-
const bhAvatarCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:inline-block;--bh-avatar-bg:var(--color-bg-secondary);--bh-avatar-border-color:var(--color-border-primary);--bh-avatar-text-color:var(--color-text-secondary);--bh-avatar-placeholder-color:var(--color-text-disabled);--bh-avatar-status-online-color:var(--color-text-success);--bh-avatar-status-offline-color:var(--color-text-disabled);--bh-avatar-status-border-color:var(--color-bg-primary)}}@layer bh-base{.avatar{position:relative;display:
|
|
21972
|
+
const bhAvatarCss = () => `@charset "UTF-8";@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:inline-block;--bh-avatar-bg:var(--color-bg-secondary);--bh-avatar-border-color:var(--color-border-primary);--bh-avatar-text-color:var(--color-text-secondary);--bh-avatar-placeholder-color:var(--color-text-disabled);--bh-avatar-status-online-color:var(--color-text-success);--bh-avatar-status-offline-color:var(--color-text-disabled);--bh-avatar-status-border-color:var(--color-bg-primary)}}@layer bh-base{.avatar{position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:var(--bh-avatar-bg);flex-shrink:0}.avatar-border{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;pointer-events:none}.avatar-content{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;z-index:0}.avatar-image{width:100%;height:100%;object-fit:cover;border-radius:50%;aspect-ratio:1/1}.avatar-placeholder-icon{color:var(--bh-avatar-placeholder-color);line-height:1;display:flex;align-items:center;justify-content:center}.avatar-text{color:var(--bh-avatar-text-color);font-family:var(--font-inter);font-weight:var(--weight-semibold);text-align:center;line-height:1}}@layer bh-variants{.avatar-xxs{width:var(--bh-avatar-size-xxs);height:var(--bh-avatar-size-xxs)}.avatar-xs{width:var(--bh-avatar-size-xs);height:var(--bh-avatar-size-xs)}.avatar-sm{width:var(--bh-avatar-size-sm);height:var(--bh-avatar-size-sm)}.avatar-md{width:var(--bh-avatar-size-md);height:var(--bh-avatar-size-md)}.avatar-lg{width:var(--bh-avatar-size-lg);height:var(--bh-avatar-size-lg)}.avatar-xl{width:var(--bh-avatar-size-xl);height:var(--bh-avatar-size-xl)}.avatar-2xl{width:var(--bh-avatar-size-2xl);height:var(--bh-avatar-size-2xl)}.avatar-xs .avatar-border,.avatar-sm .avatar-border{border:0.5px solid var(--bh-avatar-border-color)}.avatar-md .avatar-border,.avatar-lg .avatar-border,.avatar-xl .avatar-border,.avatar-2xl .avatar-border{border:0.75px solid var(--bh-avatar-border-color)}.text-xxs{font-size:var(--bh-avatar-text-xxs);line-height:1.6em}.text-xs{font-size:var(--bh-avatar-text-xs);line-height:1.5em}.text-sm{font-size:var(--text-sm-size);line-height:var(--line-height-normal)}.text-md{font-size:var(--text-md-size);line-height:var(--line-height-normal)}.text-lg{font-size:var(--bh-avatar-text-lg);line-height:1.56em}.text-xl{font-size:var(--bh-avatar-text-xl);line-height:1.5em}.text-2xl{font-size:var(--bh-avatar-text-2xl);line-height:1.33em}.icon-sm{font-size:var(--icon-size-sm)}.icon-md{font-size:var(--icon-size-md)}.icon-lg{font-size:var(--icon-size-lg)}.icon-xl{font-size:var(--icon-size-xl)}.icon-2xl{font-size:var(--icon-size-2xl)}.icon-3xl{font-size:var(--icon-size-3xl)}.icon-4xl{font-size:var(--icon-size-4xl)}}@layer bh-states{.avatar-interactive{cursor:pointer;transition:box-shadow var(--animation-duration-normal) ease, transform 0.1s ease}.avatar-interactive:focus{outline:none}.avatar-interactive:focus-visible{box-shadow:0 0 0 2px var(--color-bg-primary), 0 0 0 4px var(--color-border-interactive)}.avatar-focused{box-shadow:0 0 0 2px var(--color-bg-primary), 0 0 0 4px var(--color-border-interactive)}.avatar-interactive.avatar-hovered:not(.avatar-disabled){transform:scale(1.05)}.avatar-disabled{cursor:not-allowed;opacity:0.5}.avatar-status{position:absolute;border-radius:50%;background-color:var(--bh-avatar-status-online-color);border:1.5px solid var(--bh-avatar-status-border-color);z-index:2}.avatar-status-online{background-color:var(--bh-avatar-status-online-color)}.avatar-status-offline{background-color:var(--bh-avatar-status-offline-color)}.avatar-status-xxs{width:var(--bh-avatar-status-size-xxs);height:var(--bh-avatar-status-size-xxs);bottom:0;right:0}.avatar-status-xs{width:var(--bh-avatar-status-size-xs);height:var(--bh-avatar-status-size-xs);bottom:0;right:0}.avatar-status-sm{width:var(--bh-avatar-status-size-sm);height:var(--bh-avatar-status-size-sm);bottom:0;right:0}.avatar-status-md{width:var(--bh-avatar-status-size-md);height:var(--bh-avatar-status-size-md);bottom:0;right:0}.avatar-status-lg{width:var(--bh-avatar-status-size-lg);height:var(--bh-avatar-status-size-lg);bottom:0;right:0}.avatar-status-xl{width:var(--bh-avatar-status-size-xl);height:var(--bh-avatar-status-size-xl);bottom:0;right:0}.avatar-status-2xl{width:var(--bh-avatar-status-size-2xl);height:var(--bh-avatar-status-size-2xl);bottom:0;right:0}}`;
|
|
21804
21973
|
|
|
21805
21974
|
/** Maps avatar size to text CSS class */
|
|
21806
21975
|
const TEXT_SIZE_MAP = new Map([
|
|
@@ -21962,9 +22131,9 @@ class BhAvatar {
|
|
|
21962
22131
|
offline: this.status === "offline",
|
|
21963
22132
|
},
|
|
21964
22133
|
});
|
|
21965
|
-
return (hAsync(Host, { key: '
|
|
22134
|
+
return (hAsync(Host, { key: 'bce13fcc8525b9f59594fb42bee6f558e3136c6e' }, hAsync("div", { key: '8ef438c16d8d4ad9eb891520c3eb9d789ef12292', "aria-disabled": this.interactive && this.disabled ? "true" : undefined, "aria-expanded": this.interactive && this.hasPopup
|
|
21966
22135
|
? String(this.expanded)
|
|
21967
|
-
: undefined, "aria-haspopup": this.interactive && this.hasPopup ? "true" : undefined, "aria-label": resolvedAlt, class: avatarClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "avatar", role: this.interactive ? "button" : "img", tabIndex: this.interactive && !this.disabled ? 0 : undefined }, hAsync("div", { key: '
|
|
22136
|
+
: undefined, "aria-haspopup": this.interactive && this.hasPopup ? "true" : undefined, "aria-label": resolvedAlt, class: avatarClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "avatar", role: this.interactive ? "button" : "img", tabIndex: this.interactive && !this.disabled ? 0 : undefined }, hAsync("div", { key: '4728b822f9a8cefa8472bbc9b783437790a48500', class: "avatar-border", part: "border" }), hAsync("div", { key: '397d4e222f3a3926c074b12a13c865b33ce69390', class: "avatar-content", part: "content" }, this.variant === "image" && (hAsync("img", { key: '74da499c751fc5d80aba3f0c1a9f00153e57456e', alt: resolvedAlt, class: "avatar-image", part: "image", src: this.imageSrc })), this.variant === "placeholder" && (hAsync("span", { key: 'debf868bb69baa20abf28304038422c22c5730e4', class: `material-symbols-outlined avatar-placeholder-icon ${this.getIconSizeClass()}`, part: "placeholder-icon" }, "person")), this.variant === "text" && (hAsync("span", { key: '6380c21f54fba6c8c87ed240c4e30f8720a7c2a3', class: `avatar-text ${this.getTextSizeClass()}`, part: "text" }, this.text))), hasStatus && hAsync("div", { key: '47767ec350de25983eecac327195a365a2ad57ff', class: statusClasses, part: "status" }))));
|
|
21968
22137
|
}
|
|
21969
22138
|
static get style() { return bhAvatarCss(); }
|
|
21970
22139
|
static get cmpMeta() { return {
|
|
@@ -22079,7 +22248,7 @@ class BhAvatarAdd {
|
|
|
22079
22248
|
};
|
|
22080
22249
|
const resolvedTooltip = resolveI18n("bh-avatar-add", "tooltipText", this.tooltipText, "Add user");
|
|
22081
22250
|
const shouldShowTooltip = this.showTooltip && this.focusState.isHovered && !this.disabled;
|
|
22082
|
-
return (hAsync("div", { key: '
|
|
22251
|
+
return (hAsync("div", { key: 'bce336b3645e8d130a24430571bbfee554d33323', "aria-disabled": this.disabled ? "true" : undefined, class: "avatar-add-container", "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), part: "container" }, hAsync("button", { key: '76829e70788fe42c5b7f73b3654c36178b20c12e', "aria-label": resolvedTooltip, class: buttonClasses, disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "button", type: "button" }, hAsync("span", { key: 'e28793543a5908553024a4a828829adbe8a9737c', class: "avatar-add-content", part: "content" }, hAsync("span", { key: '959ac30b33d0e34c447bf03d66a66036e3fb0e99', class: "material-symbols-outlined avatar-add-icon", part: "icon" }, "add"))), this.showTooltip && (hAsync("bh-tooltip", { key: 'd9a5c6a07456c45646c9383dc802c66fcec5cf82', placement: "bottom", text: resolvedTooltip, visible: shouldShowTooltip }))));
|
|
22083
22252
|
}
|
|
22084
22253
|
static get style() { return bhAvatarAddCss(); }
|
|
22085
22254
|
static get cmpMeta() { return {
|
|
@@ -22223,7 +22392,7 @@ class BhAvatarStacked {
|
|
|
22223
22392
|
const getStackedOffsetStyle = (hasItems) => ({
|
|
22224
22393
|
marginLeft: hasItems ? `-${offset}px` : "0",
|
|
22225
22394
|
});
|
|
22226
|
-
return (hAsync(Host, { key: '
|
|
22395
|
+
return (hAsync(Host, { key: '362579a44a7aca27baf18bc48f0a74356f518a53' }, hAsync("div", { key: 'e71ce5bcb57961c1662b6d4c6fd6422ac0d4fa92', class: `avatar-stacked avatar-stacked-${this.size}`, part: "container" }, visibleAvatars.map((avatar, index) => (hAsync("div", { class: "avatar-item", key: `avatar-${index}`, onMouseEnter: () => this.handleAvatarMouseEnter(index), onMouseLeave: this.handleAvatarMouseLeave, style: getOffsetStyle(index) }, hAsync("bh-avatar", { alt: avatar.text || "Avatar", imageSrc: avatar.imageSrc, size: this.size, text: avatar.text || "?", variant: this.mapAvatarType(avatar.type) }), avatar.tooltipText && (hAsync("bh-tooltip", { placement: "bottom", text: avatar.tooltipText, visible: this.hoveredIndex === index }))))), showCountAvatar && (hAsync("div", { key: 'd5d1fea3392c84fa8eba0ef87db9e1da3221ad73', class: "avatar-item", style: getStackedOffsetStyle(hasVisibleAvatars) }, hAsync("bh-avatar", { key: '7df4ff15b80d56e56d504b9c4062d68e83dd1ab3', alt: `${remainingCount} more`, size: this.size, text: `+${remainingCount}`, variant: "text" }))), this.showAddButton && (hAsync("div", { key: '31e64a100a3ff8d86ceda5c3f884033d72d79495', class: "avatar-item", onMouseEnter: this.handleAddButtonMouseEnter, onMouseLeave: this.handleAddButtonMouseLeave, style: getStackedOffsetStyle(hasVisibleAvatars || showCountAvatar) }, hAsync("bh-avatar-add", { key: 'd01d98af39f2f648b10d8f7b61337d325ac9d976', showTooltip: true, size: this.size, tooltipText: resolveI18n("bh-avatar-stacked", "addTooltipText", this.addTooltipText, "Add member") }))))));
|
|
22227
22396
|
}
|
|
22228
22397
|
static get style() { return bhAvatarStackedCss(); }
|
|
22229
22398
|
static get cmpMeta() { return {
|
|
@@ -22369,12 +22538,12 @@ class BhBadge {
|
|
|
22369
22538
|
const iconColorClass = `badge-icon-${activeColor}-${this.emphasis}`;
|
|
22370
22539
|
const isDot = this.icon === DOT_ICON_NAME;
|
|
22371
22540
|
const hasIcon = Boolean(this.icon);
|
|
22372
|
-
return (hAsync(Host, { key: '
|
|
22541
|
+
return (hAsync(Host, { key: '6110746e6cc85b6e623abd53dbeb1b1360485329' }, hAsync("span", { key: '1adae843f5065e81285130644690a76140501004', "aria-disabled": this.disabled ? "true" : undefined, class: badgeClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "badge", role: "status", tabIndex: this.dismissible && !this.disabled ? 0 : -1 }, hasIcon && (hAsync("span", { key: '71f8499d7b4a14d8dcbfe204243deb9ac5079238', class: {
|
|
22373
22542
|
"material-symbols-outlined": true,
|
|
22374
22543
|
[iconColorClass]: true,
|
|
22375
22544
|
"badge-icon-dot": isDot,
|
|
22376
22545
|
"badge-icon-custom": !isDot,
|
|
22377
|
-
} }, isDot ? DOT_MATERIAL_SYMBOL : this.icon)), this.label && hAsync("span", { key: '
|
|
22546
|
+
} }, isDot ? DOT_MATERIAL_SYMBOL : this.icon)), this.label && hAsync("span", { key: '9a1cc6cf8d657aff65b0f08bc9e4c9a6e515a8dd', class: "badge-label" }, this.label), this.dismissible && (hAsync("button", { key: '4f6d182fa10dc21f862757c43bf3e39cafd5bbe7', "aria-label": resolveI18n("bh-badge", "dismissAriaLabel", undefined, "Dismiss"), class: "badge-dismiss", disabled: this.disabled, onClick: this.handleDismiss, part: "dismiss-button", type: "button" }, hAsync("span", { key: '5065a67791d6190446f4f55a0ab6f29f35bbccbc', class: `material-symbols-outlined badge-dismiss-icon ${iconColorClass}` }, "close"))))));
|
|
22378
22547
|
}
|
|
22379
22548
|
static get style() { return bhBadgeCss(); }
|
|
22380
22549
|
static get cmpMeta() { return {
|
|
@@ -22431,7 +22600,7 @@ class BhBadgeDot {
|
|
|
22431
22600
|
[`badge-dot-${this.color}`]: true,
|
|
22432
22601
|
"badge-dot-outline": this.outline,
|
|
22433
22602
|
};
|
|
22434
|
-
return (hAsync(Host, { key: '
|
|
22603
|
+
return (hAsync(Host, { key: '358a84d2c1db399a89eac842afeb9de7f410a054' }, hAsync("div", { key: '07df236d30ee7e4ec222e8c009856a83147fe798', "aria-hidden": "true", class: dotClasses, part: "dot", role: "presentation" })));
|
|
22435
22604
|
}
|
|
22436
22605
|
static get style() { return bhBadgeDotCss(); }
|
|
22437
22606
|
static get cmpMeta() { return {
|
|
@@ -22509,11 +22678,11 @@ class BhBanner {
|
|
|
22509
22678
|
}
|
|
22510
22679
|
render() {
|
|
22511
22680
|
const hasMedia = !!this.imageSrc;
|
|
22512
|
-
return (hAsync(Host, { key: '
|
|
22681
|
+
return (hAsync(Host, { key: 'f61560c82138e3fccc2a3a9236f5235ecb1847b2' }, hAsync("div", { key: '8a8f37d7a59cbdb6e04f7a3d60d53a108ed63a79', "aria-label": this.heading || "Banner", class: {
|
|
22513
22682
|
banner: true,
|
|
22514
22683
|
[`banner-${this.variant}`]: true,
|
|
22515
22684
|
"banner-with-media": hasMedia,
|
|
22516
|
-
}, part: "container", role: "region" }, hasMedia && this.renderMedia(), hAsync("div", { key: '
|
|
22685
|
+
}, part: "container", role: "region" }, hasMedia && this.renderMedia(), hAsync("div", { key: 'a5378ca0755d8fa23b940a4c8893590b139005db', class: "banner-content", part: "content" }, hAsync("div", { key: '943dfa074273d6de8ef68706c1c6305878fac47b', class: "banner-body", part: "body" }, hAsync("div", { key: 'c40d87d74a11df3b512e37476f968334cf733081', class: "banner-text", part: "text" }, this.heading && (hAsync("h3", { key: 'f251f4f656b2e75bd8ccfc13f707f73e40c60bd9', class: "banner-heading", part: "heading" }, this.heading)), this.description && (hAsync("p", { key: '322110ba3ab9c0c02bfbc4fcd4bae618c3cbbecb', class: "banner-description", part: "description" }, this.description))), hAsync("slot", { key: 'cfd8adc5a3a8f299cb95381910282ae111fcfba9' })), hAsync("div", { key: 'e62fd391857817eae156462efd7e07a4883944d6', class: "banner-actions", onClick: this.handleActionClick, part: "actions" }, hAsync("slot", { key: '48372d95fc2273890c42e80c9cf16489ca0727ad', name: "actions" }))), this.showDismiss && (hAsync("bh-close-button", { key: 'fa47fbe26e433dadc2d1d7523a1667686c93c41c', ariaLabel: resolveI18n("bh-banner", "dismissAriaLabel", this.dismissAriaLabel, "Dismiss banner"), onClick: this.handleDismiss })))));
|
|
22517
22686
|
}
|
|
22518
22687
|
static get style() { return bhBannerCss(); }
|
|
22519
22688
|
static get cmpMeta() { return {
|
|
@@ -22797,7 +22966,7 @@ class BhBarChart {
|
|
|
22797
22966
|
};
|
|
22798
22967
|
render() {
|
|
22799
22968
|
const processedData = this.processData();
|
|
22800
|
-
return (hAsync(Host, { key: '
|
|
22969
|
+
return (hAsync(Host, { key: '8b47527eb278b71ffbb786697e7f09fba39365e7' }, hAsync("div", { key: '26f988f02923c782f36eb4d6653a7a51fcbc91e2', class: {
|
|
22801
22970
|
"bar-chart": true,
|
|
22802
22971
|
[this.variant]: true,
|
|
22803
22972
|
[this.orientation]: true,
|
|
@@ -22808,7 +22977,7 @@ class BhBarChart {
|
|
|
22808
22977
|
} })))))))) : (hAsync("div", { class: "horizontal-container" }, processedData.map((bar, i) => (hAsync("div", { class: "bar-row horizontal", key: i, onClick: (e) => this.handleColumnClick(e, bar, i), onMouseEnter: (e) => this.handleColumnHover(e, bar, i), onMouseLeave: (e) => this.handleColumnLeave(e, bar, i), onMouseMove: this.handleColumnMove }, bar.segments.map((segment, segIndex) => (hAsync("div", { class: "bar-segment horizontal", key: segIndex, style: {
|
|
22809
22978
|
width: `${(segment.value / bar.totalValue) * 100}%`,
|
|
22810
22979
|
backgroundColor: segment.color,
|
|
22811
|
-
} }))))))))), hAsync("bh-chart-tooltip", { key: '
|
|
22980
|
+
} }))))))))), hAsync("bh-chart-tooltip", { key: 'fb810fcde8a557567f020d34d8ca6622330acb27', "aria-hidden": this.tooltipVisible ? undefined : "true", header: this.tooltipHeader, items: this.tooltipItems, showTotal: this.showTooltipTotal, total: this.tooltipTotal, visible: this.tooltipVisible, x: this.tooltipX, y: this.tooltipY })));
|
|
22812
22981
|
}
|
|
22813
22982
|
static get style() { return bhBarChartCss(); }
|
|
22814
22983
|
static get cmpMeta() { return {
|
|
@@ -22835,7 +23004,7 @@ class BhBarChart {
|
|
|
22835
23004
|
}; }
|
|
22836
23005
|
}
|
|
22837
23006
|
|
|
22838
|
-
const bhBreadcrumbsCss = () => `@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } :root { --bh-breakpoint-xs: 0; --bh-breakpoint-sm: 576px; --bh-breakpoint-md: 768px; --bh-breakpoint-lg: 992px; --bh-breakpoint-xl: 1200px; --bh-breakpoint-xxl: 1400px; --bh-container-sm: 540px; --bh-container-md: 720px; --bh-container-lg: 960px; --bh-container-xl: 1140px; --bh-container-xxl: 1320px; } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: block; --bh-breadcrumbs-color: var(--color-text-secondary); --bh-breadcrumbs-color-hover: var(--color-text-primary); --bh-breadcrumbs-bg-hover: var(--color-bg-secondary); --bh-breadcrumbs-current-bg: var(--color-bg-secondary); --bh-breadcrumbs-current-color: var(--color-text-primary); --bh-breadcrumbs-separator-color: var(--color-border-primary); --bh-breadcrumbs-focus-ring-color: var(--color-border-interactive); } } @layer bh-base { .breadcrumbs { font-family: var(--font-inter); user-select: none; } .breadcrumbs-container { display: flex; align-items: center; gap: var(--spacing-xs); flex-wrap: wrap; } .breadcrumb-item { display: flex; align-items: center; } .breadcrumb-button { display: flex; align-items: center; justify-content: center; padding: var(--spacing-xs) var(--spacing-sm); border: none; background: transparent; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--animation-duration-fast) ease, color var(--animation-duration-fast) ease; color: var(--bh-breadcrumbs-color); text-decoration: none; font-family: var(--font-inter); font-size: var(--text-sm-size); font-weight: var(--weight-medium); line-height: var(--line-height-normal); min-height: var(--bh-breadcrumbs-min-height); box-sizing: border-box; } .breadcrumb-text { white-space: nowrap; max-width: var(--bh-breadcrumbs-item-max-width); overflow: hidden; text-overflow: ellipsis; } .breadcrumb-icon { flex-shrink: 0; font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); color: var(--bh-breadcrumbs-color); } .breadcrumb-separator { display: flex; align-items: center; color: var(--bh-breadcrumbs-separator-color); font-size: var(--bh-breadcrumbs-icon-size); flex-shrink: 0; } .breadcrumb-separator .material-symbols-outlined { font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); } .material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; 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; font-size: var(--icon-size-lg); } } @layer bh-variants { .breadcrumb-home { padding: var(--spacing-xs); min-width: var(--bh-breadcrumbs-min-height); min-height: var(--bh-breadcrumbs-min-height); } .breadcrumb-home .breadcrumb-icon { font-size: var(--text-lg-size); width: var(--text-lg-size); height: var(--text-lg-size); } .breadcrumb-current { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); font-weight: var(--weight-medium); cursor: default; } .breadcrumb-ellipsis { color: var(--bh-breadcrumbs-color); font-weight: var(--weight-medium); } } @layer bh-states { .breadcrumb-button:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } .breadcrumb-button:focus-visible { outline: 2px solid var(--bh-breadcrumbs-focus-ring-color); outline-offset: 2px; } .breadcrumb-current:hover { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); } .breadcrumb-ellipsis:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } } @layer bh-utilities { @media (max-width: 640px) { .breadcrumb-text { max-width: var(--bh-breadcrumbs-item-max-width-sm); } .breadcrumbs-container { gap: var(--spacing-xxs); } .breadcrumb-button { padding: var(--spacing-xxs) var(--spacing-xs); font-size: var(--text-xs-size); } } } .breadcrumb-dropdown { position: relative; display: inline-flex; } .breadcrumb-dropdown-trigger { display: inline-flex; align-items: center; gap: var(--spacing-xs); } .breadcrumb-dropdown-chevron { font-size: var(--icon-size-base); color: var(--color-text-disabled); transition: color var(--animation-duration-normal) ease; } .breadcrumb-dropdown-trigger:hover .breadcrumb-dropdown-chevron { color: var(--color-text-secondary); } .breadcrumb-dropdown-menu { position: absolute; top: calc(100% + var(--spacing-xs)); left: 0; z-index: var(--bh-z-index-dropdown); min-width: 240px; background: var(--color-surface-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-dropdown); overflow: hidden; box-sizing: border-box; padding: var(--spacing-xs); } .breadcrumb-dropdown-search { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md); border-bottom: 1px solid var(--color-border-secondary); margin-bottom: var(--spacing-xs); } .breadcrumb-dropdown-search .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); } .breadcrumb-dropdown-search input::placeholder { color: var(--color-text-tertiary); } .breadcrumb-dropdown-item { display: flex; align-items: center; gap: var(--spacing-md); width: 100%; padding: var(--spacing-md); border: none; background: transparent; border-radius: var(--radius-sm); font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); cursor: pointer; text-align: left; transition: background-color var(--animation-duration-fast) ease; } .breadcrumb-dropdown-item .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-item:hover { background: var(--color-bg-secondary); } .breadcrumb-dropdown-item.selected { background: var(--color-neutral-200); }`;
|
|
23007
|
+
const bhBreadcrumbsCss = () => `@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } :root { --bh-breakpoint-xs: 0; --bh-breakpoint-sm: 576px; --bh-breakpoint-md: 768px; --bh-breakpoint-lg: 992px; --bh-breakpoint-xl: 1200px; --bh-breakpoint-xxl: 1400px; --bh-container-sm: 540px; --bh-container-md: 720px; --bh-container-lg: 960px; --bh-container-xl: 1140px; --bh-container-xxl: 1320px; } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: block; --bh-breadcrumbs-color: var(--color-text-secondary); --bh-breadcrumbs-color-hover: var(--color-text-primary); --bh-breadcrumbs-bg-hover: var(--color-bg-secondary); --bh-breadcrumbs-current-bg: var(--color-bg-secondary); --bh-breadcrumbs-current-color: var(--color-text-primary); --bh-breadcrumbs-separator-color: var(--color-border-primary); --bh-breadcrumbs-focus-ring-color: var(--color-border-interactive); } } @layer bh-base { .breadcrumbs { font-family: var(--font-inter); user-select: none; } .breadcrumbs-container { display: flex; align-items: center; gap: var(--spacing-xs); flex-wrap: wrap; } .breadcrumb-item, .breadcrumb-start, .breadcrumb-slot-item { display: flex; align-items: center; } .breadcrumb-button { display: flex; align-items: center; justify-content: center; padding: var(--spacing-xs) var(--spacing-sm); border: none; background: transparent; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--animation-duration-fast) ease, color var(--animation-duration-fast) ease; color: var(--bh-breadcrumbs-color); text-decoration: none; font-family: var(--font-inter); font-size: var(--text-sm-size); font-weight: var(--weight-medium); line-height: var(--line-height-normal); min-height: var(--bh-breadcrumbs-min-height); box-sizing: border-box; } .breadcrumb-text { white-space: nowrap; max-width: var(--bh-breadcrumbs-item-max-width); overflow: hidden; text-overflow: ellipsis; } .breadcrumb-icon { flex-shrink: 0; font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); color: var(--bh-breadcrumbs-color); } .breadcrumb-separator { display: flex; align-items: center; color: var(--bh-breadcrumbs-separator-color); font-size: var(--bh-breadcrumbs-icon-size); flex-shrink: 0; } .breadcrumb-separator .material-symbols-outlined { font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); } .material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; 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; font-size: var(--icon-size-lg); } } @layer bh-variants { .breadcrumb-home { padding: var(--spacing-xs); min-width: var(--bh-breadcrumbs-min-height); min-height: var(--bh-breadcrumbs-min-height); } .breadcrumb-home .breadcrumb-icon { font-size: var(--text-lg-size); width: var(--text-lg-size); height: var(--text-lg-size); } .breadcrumb-current { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); font-weight: var(--weight-medium); cursor: default; } .breadcrumb-ellipsis { color: var(--bh-breadcrumbs-color); font-weight: var(--weight-medium); } } @layer bh-states { .breadcrumb-button:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } .breadcrumb-button:focus-visible { outline: 2px solid var(--bh-breadcrumbs-focus-ring-color); outline-offset: 2px; } .breadcrumb-current:hover { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); } .breadcrumb-ellipsis:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } } @layer bh-utilities { @media (max-width: 640px) { .breadcrumb-text { max-width: var(--bh-breadcrumbs-item-max-width-sm); } .breadcrumbs-container { gap: var(--spacing-xxs); } .breadcrumb-button { padding: var(--spacing-xxs) var(--spacing-xs); font-size: var(--text-xs-size); } } } .breadcrumb-dropdown { position: relative; display: inline-flex; } .breadcrumb-dropdown-trigger { display: inline-flex; align-items: center; gap: var(--spacing-xs); } .breadcrumb-dropdown-chevron { font-size: var(--icon-size-base); color: var(--color-text-disabled); transition: color var(--animation-duration-normal) ease; } .breadcrumb-dropdown-trigger:hover .breadcrumb-dropdown-chevron { color: var(--color-text-secondary); } .breadcrumb-dropdown-menu { position: absolute; top: calc(100% + var(--spacing-xs)); left: 0; z-index: var(--bh-z-index-dropdown); min-width: 240px; background: var(--color-surface-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-dropdown); overflow: hidden; box-sizing: border-box; padding: var(--spacing-xs); } .breadcrumb-dropdown-search { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md); border-bottom: 1px solid var(--color-border-secondary); margin-bottom: var(--spacing-xs); } .breadcrumb-dropdown-search .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); } .breadcrumb-dropdown-search input::placeholder { color: var(--color-text-tertiary); } .breadcrumb-dropdown-item { display: flex; align-items: center; gap: var(--spacing-md); width: 100%; padding: var(--spacing-md); border: none; background: transparent; border-radius: var(--radius-sm); font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); cursor: pointer; text-align: left; transition: background-color var(--animation-duration-fast) ease; } .breadcrumb-dropdown-item .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-item:hover { background: var(--color-bg-secondary); } .breadcrumb-dropdown-item.selected { background: var(--color-neutral-200); }`;
|
|
22839
23008
|
|
|
22840
23009
|
/** CSS selector for clickable breadcrumb buttons */
|
|
22841
23010
|
const BREADCRUMB_BUTTON_SELECTOR = "button.breadcrumb-button:not(.breadcrumb-current)";
|
|
@@ -22892,6 +23061,7 @@ class BhBreadcrumbs {
|
|
|
22892
23061
|
*/
|
|
22893
23062
|
bhChange;
|
|
22894
23063
|
openDropdownIndex = null;
|
|
23064
|
+
hasStartContent = false;
|
|
22895
23065
|
dropdownQuery = "";
|
|
22896
23066
|
/** Last-selected option id per item index, so selection sticks without a re-render from the consumer */
|
|
22897
23067
|
dropdownSelections = {};
|
|
@@ -22943,6 +23113,10 @@ class BhBreadcrumbs {
|
|
|
22943
23113
|
this.bhItemClick.emit(item);
|
|
22944
23114
|
}
|
|
22945
23115
|
}
|
|
23116
|
+
handleStartSlotChange = (event) => {
|
|
23117
|
+
const slot = event.target;
|
|
23118
|
+
this.hasStartContent = slot.assignedElements().length > 0;
|
|
23119
|
+
};
|
|
22946
23120
|
handleHomeClick = () => {
|
|
22947
23121
|
this.bhItemClick.emit(HOME_BREADCRUMB_ITEM);
|
|
22948
23122
|
};
|
|
@@ -23015,6 +23189,9 @@ class BhBreadcrumbs {
|
|
|
23015
23189
|
}, key: option.id, onClick: () => this.handleOptionSelect(item, option, index), role: "option", type: "button" }, option.icon && (hAsync("span", { class: "material-symbols-outlined" }, option.icon)), hAsync("span", null, option.label))))))));
|
|
23016
23190
|
}
|
|
23017
23191
|
renderBreadcrumbItem(item, index) {
|
|
23192
|
+
if (item.slotName) {
|
|
23193
|
+
return (hAsync("div", { class: "breadcrumb-slot-item", key: index, part: "slot-item" }, hAsync("slot", { name: item.slotName })));
|
|
23194
|
+
}
|
|
23018
23195
|
if (item.dropdown?.length) {
|
|
23019
23196
|
return this.renderDropdownItem(item, index);
|
|
23020
23197
|
}
|
|
@@ -23029,15 +23206,17 @@ class BhBreadcrumbs {
|
|
|
23029
23206
|
render() {
|
|
23030
23207
|
const { displayItems, showEllipsis, collapsedItems } = this.displayData;
|
|
23031
23208
|
const overflowLabel = resolveI18n("bh-breadcrumbs", "overflowAriaLabelTemplate", this.overflowAriaLabelTemplate, "Show {{count}} hidden items").replace("{{count}}", String(collapsedItems.length));
|
|
23032
|
-
return (hAsync("nav", { key: '
|
|
23209
|
+
return (hAsync("nav", { key: 'd9cb90c45ee093c5c4e4866fd5a4bf8e8f27fdcc', "aria-label": resolveI18n("bh-breadcrumbs", "breadcrumbAriaLabel", this.breadcrumbAriaLabel, "Breadcrumb"), class: "breadcrumbs", onKeyDown: this.handleKeyDown, part: "nav" }, hAsync("div", { key: 'f2582eaf25b5c4c1875d4ad16775f1bc18856fdc', class: "breadcrumbs-container", part: "container" }, hAsync("div", { key: '13f2f7cdd0d62fd5e16916d84ec3bf61944ca77f', class: "breadcrumb-start", part: "start" }, hAsync("slot", { key: '7ff95646edddc588f1f67a5d3b2261d54bba97e0', name: "start", onSlotchange: this.handleStartSlotChange })), this.hasStartContent &&
|
|
23210
|
+
(this.showHome || displayItems.length > 0 || showEllipsis) &&
|
|
23211
|
+
this.renderSeparator(), this.showHome && (hAsync("div", { key: '3aac672d0d7b1f9452909736190fd7e8fc90d7ce', class: "breadcrumb-item" }, hAsync("bh-button-icon", { key: '9de5438731f689a95f12d02b1a4a92a54d4a7906', "aria-label": resolveI18n("bh-breadcrumbs", "homeAriaLabel", this.homeAriaLabel, "Home"), hierarchy: "tertiary", iconName: "cottage", onClick: this.handleHomeClick, size: "xs" }))), this.showHome &&
|
|
23033
23212
|
(displayItems.length > 0 || showEllipsis) &&
|
|
23034
|
-
this.renderSeparator(), showEllipsis && displayItems.length > 0 && (hAsync(Fragment$1, { key: '
|
|
23213
|
+
this.renderSeparator(), showEllipsis && displayItems.length > 0 && (hAsync(Fragment$1, { key: 'c1653191bf2907dbd5d766670dfa40a814caaceb' }, hAsync("div", { key: '7a09f1af2b8251ad7a3bfd5a932cfe206047eba9', class: "breadcrumb-item" }, this.renderBreadcrumbItem(displayItems[0], 0)), this.renderSeparator(), hAsync("div", { key: 'eb4bc8c0f62172df697fbe5c7fdd20d368a5e36f', class: "breadcrumb-item", part: "item" }, hAsync("button", { key: 'ffc550c65f950da959790794fe3c5a8a6e302096', "aria-label": overflowLabel, class: "breadcrumb-button breadcrumb-ellipsis", onClick: this.handleEllipsisClick, onKeyDown: this.handleEllipsisKeyDown, part: "ellipsis-button", title: overflowLabel, type: "button" }, hAsync("span", { key: 'ad45203c999416f1d3e67092b042397c504c8dde', class: "breadcrumb-text", part: "text" }, "..."))), this.renderSeparator(), displayItems.slice(1).map((item, index) => (hAsync(Fragment$1, null, hAsync("div", { class: "breadcrumb-item", key: `item-${index + 1}` }, this.renderBreadcrumbItem(item, index + 1)), index < displayItems.slice(1).length - 1 &&
|
|
23035
23214
|
this.renderSeparator()))))), !showEllipsis &&
|
|
23036
23215
|
displayItems.map((item, index) => (hAsync(Fragment$1, null, hAsync("div", { class: "breadcrumb-item", key: `item-${index}` }, this.renderBreadcrumbItem(item, index)), index < displayItems.length - 1 && this.renderSeparator()))))));
|
|
23037
23216
|
}
|
|
23038
23217
|
static get style() { return bhBreadcrumbsCss(); }
|
|
23039
23218
|
static get cmpMeta() { return {
|
|
23040
|
-
"$flags$":
|
|
23219
|
+
"$flags$": 777,
|
|
23041
23220
|
"$tagName$": "bh-breadcrumbs",
|
|
23042
23221
|
"$members$": {
|
|
23043
23222
|
"items": [1],
|
|
@@ -23049,6 +23228,7 @@ class BhBreadcrumbs {
|
|
|
23049
23228
|
"overflowAriaLabelTemplate": [1, "overflow-aria-label-template"],
|
|
23050
23229
|
"_i18nVersion": [32],
|
|
23051
23230
|
"openDropdownIndex": [32],
|
|
23231
|
+
"hasStartContent": [32],
|
|
23052
23232
|
"dropdownQuery": [32],
|
|
23053
23233
|
"dropdownSelections": [32]
|
|
23054
23234
|
},
|
|
@@ -23314,7 +23494,7 @@ class BhButton {
|
|
|
23314
23494
|
const buttonClasses = mergeClasses(baseClasses, focusClasses, {
|
|
23315
23495
|
[`btn-icon-${this.icon}`]: true,
|
|
23316
23496
|
});
|
|
23317
|
-
return (hAsync("button", { key: '
|
|
23497
|
+
return (hAsync("button", { key: '4d51d6fa002703616c1772bc94821f050942227a', "aria-atomic": "true", "aria-busy": ariaBusy(this.loading), "aria-describedby": this.describedBy, "aria-disabled": ariaDisabled(this.disabled), "aria-expanded": this.hasPopup ? ariaExpanded(this.expanded) : undefined, "aria-haspopup": this.hasPopup && this.popupType ? this.popupType : undefined, "aria-label": this.ariaLabel || undefined, "aria-live": "off", "aria-pressed": ariaPressed(this.toggle, this.pressed), "aria-roledescription": this.roleDescription, class: buttonClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, disabled: this.disabled, onBlur: this.handleBlurEvent, onClick: this.handleClick, onContextMenu: this.handleContextMenu, onDblClick: this.handleDoubleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, onKeyUp: this.handleKeyUp, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onTouchEnd: this.handleTouchEnd, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, part: "button", role: this.buttonRole || (this.toggle ? "button" : undefined), tabindex: tabIndexForDisabled(this.disabled), type: this.type }, showLeadingIcon && (hAsync("span", { key: 'a590f7ccd123ef9f1fdb1e603359e9daecc8980d', class: `btn-icon ${this.getIconSizeClass()}`, part: "icon" }, this.loading ? (hAsync("bh-loader-spinner", { size: this.getLoaderSize(), variant: this.getLoaderVariant() })) : (hAsync("span", { class: "btn-icon-material material-symbols-outlined" }, this.iconName)))), hAsync("span", { key: '76a35460fca9bbe0b5718cddfa181bf918b91500', class: `btn-label ${this.getTextSizeClass()}`, part: "label" }, hAsync("slot", { key: '8a55cf75feb637e230020d2abaa1b75672302100' }, this.label)), showTrailingIcon && (hAsync("span", { key: '87246a5b2fb7e7338a01251e4564c98af0208af9', class: `btn-icon ${this.getIconSizeClass()}`, part: "icon" }, hAsync("span", { key: 'aac0889ad057a049eba0aa72ad35cf373e2c0048', class: "btn-icon-material material-symbols-outlined" }, this.iconName)))));
|
|
23318
23498
|
}
|
|
23319
23499
|
static get style() { return bhButtonCss(); }
|
|
23320
23500
|
static get cmpMeta() { return {
|
|
@@ -23499,7 +23679,7 @@ class BhButtonIcon {
|
|
|
23499
23679
|
"button-icon-disabled": this.disabled,
|
|
23500
23680
|
"button-icon-loading": this.loading,
|
|
23501
23681
|
};
|
|
23502
|
-
return (hAsync("button", { key: '
|
|
23682
|
+
return (hAsync("button", { key: '0c19bb2ed14337271c6146bbf94e975735f0ccb0', "aria-busy": this.loading ? "true" : undefined, "aria-describedby": this.describedBy, "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": this.hasPopup ? String(this.expanded) : undefined, "aria-haspopup": this.hasPopup && this.popupType ? this.popupType : undefined, "aria-label": this.ariaLabel || this.iconName, "aria-pressed": this.toggle ? String(this.pressed) : undefined, class: buttonClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onContextMenu: this.handleContextMenu, onDblClick: this.handleDoubleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onTouchEnd: this.handleTouchEnd, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, part: "button", role: this.toggle ? "button" : undefined, tabindex: this.disabled ? -1 : 0, type: this.type }, this.loading ? (hAsync("bh-loader-spinner", { size: "sm", variant: this.hierarchy === "primary" ? "white" : "default" })) : (hAsync("span", { class: "material-symbols-outlined icon", part: "icon" }, this.iconName))));
|
|
23503
23683
|
}
|
|
23504
23684
|
static get style() { return bhButtonIconCss(); }
|
|
23505
23685
|
static get cmpMeta() { return {
|
|
@@ -23745,7 +23925,7 @@ class BhCard {
|
|
|
23745
23925
|
"card-draggable": this.dragEnabled,
|
|
23746
23926
|
...focusClasses,
|
|
23747
23927
|
};
|
|
23748
|
-
return (hAsync(Host, { key: '
|
|
23928
|
+
return (hAsync(Host, { key: 'c9dc86b35d4f9535ec093c1f7d0d761d77e62f26' }, hAsync("div", { key: 'c2d813585335e994f8f99b94aa3eb04702764244', "aria-atomic": String(this.ariaAtomic), "aria-describedby": this.ariaDescribedBy, "aria-dropeffect": this.dragEnabled ? "move" : undefined, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-grabbed": this.dragEnabled ? "false" : undefined, "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, "aria-live": this.ariaLive, "aria-pressed": this.role === "button" ? String(this.ariaPressed) : undefined, "aria-roledescription": this.ariaRoleDescription, "aria-selected": this.selectable ? String(this.selected) : undefined, class: cardClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, draggable: this.dragEnabled, onBlur: this.handleBlur, onClick: this.handleClick, onDblClick: this.handleDoubleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "base", role: this.role || undefined, tabindex: this.selectable || this.role === "button" ? 0 : undefined }, this.showHeader && (hAsync("div", { key: '4fd61b7ba2443ce9866b2b76e0fe01703293583b', class: "card-header-slot", part: "header" }, hAsync("slot", { key: 'd635ccfb2607a8a579bbd2cbba5f205b72b39716', name: "header" }))), hAsync("div", { key: 'a91feda047159bc98a809513977a871b45fcb4ad', class: "card-content", part: "content", style: contentStyle }, hAsync("slot", { key: '63284996f37a196d4632ad29e9887d8d00b9b7ba' }), !this.hasContent && (hAsync("div", { key: '9cefba952c2f71a29ca08cbadee50769681fe36b', class: "card-content-placeholder" }, hAsync("span", { key: '655334ff224e59cd43f3e56bf3ff64e4a38f4d16', class: "card-placeholder-text" }, this.placeholderText)))), this.showFooter && (hAsync("div", { key: 'f5da3fbf516694c59122ba75f2eee1053eb2a352', class: "card-footer-slot", part: "footer" }, hAsync("slot", { key: 'a38535924f63df83876c92ad3e52169ff1c84fd4', name: "footer" }))))));
|
|
23749
23929
|
}
|
|
23750
23930
|
static get style() { return bhCardCss(); }
|
|
23751
23931
|
static get cmpMeta() { return {
|
|
@@ -23812,7 +23992,7 @@ class BhCardContent {
|
|
|
23812
23992
|
"card-content": true,
|
|
23813
23993
|
[`card-content-padding-${this.padding}`]: true,
|
|
23814
23994
|
};
|
|
23815
|
-
return (hAsync(Host, { key: '
|
|
23995
|
+
return (hAsync(Host, { key: '4050a64922f3a7a003841d29280b93022a4e3d68' }, this.showDivider && (hAsync("div", { key: 'cdea7a3fc20ebe1542e9f228bf6de4fa9c2767f8', class: "card-content-divider", part: "divider" })), hAsync("div", { key: '427b580123407b5a5882dbb9b133fe40d29a5e4a', class: contentClasses, part: "content" }, hAsync("slot", { key: '71b4063ff9525de41e7d4cd219d70437c408a3c0' }))));
|
|
23816
23996
|
}
|
|
23817
23997
|
static get style() { return bhCardContentCss(); }
|
|
23818
23998
|
static get cmpMeta() { return {
|
|
@@ -23859,7 +24039,7 @@ class BhCardFooter {
|
|
|
23859
24039
|
"card-footer-content": true,
|
|
23860
24040
|
[`card-footer-align-${this.alignment}`]: true,
|
|
23861
24041
|
};
|
|
23862
|
-
return (hAsync(Host, { key: '
|
|
24042
|
+
return (hAsync(Host, { key: '236a3945387aa7b7c0414383af9d320a5a1e7bb8' }, hAsync("div", { key: 'a1d7b7dd892abf5065e27da9032837ef930a42cf', class: "card-footer", part: "footer" }, this.showDivider && (hAsync("div", { key: '45992a08fbb9e5896bf94972f1597f57788b0418', class: "card-footer-divider", part: "divider" })), hAsync("div", { key: '00745982160b90af6f908ceb49fb7bcadd1d1e55', class: footerContentClasses, part: "content" }, hAsync("div", { key: 'e51af94107ec9f13cd0f08c090639256d45528bd', class: "card-footer-primary-actions" }, hAsync("slot", { key: 'c3fca58447b034b92a862c3d793b44e0afc6098b', name: "primary-actions" })), hAsync("div", { key: '70e2955b01da30857abb6de5770b35e2b8ead2f3', class: "card-footer-secondary-actions" }, hAsync("slot", { key: '6e8d9b426e6d57455432f4a8a7444804cb7ba4bc', name: "secondary-actions" }))))));
|
|
23863
24043
|
}
|
|
23864
24044
|
static get style() { return bhCardFooterCss(); }
|
|
23865
24045
|
static get cmpMeta() { return {
|
|
@@ -23954,7 +24134,7 @@ class BhCardHeader {
|
|
|
23954
24134
|
}
|
|
23955
24135
|
handleDropdownClick = () => { };
|
|
23956
24136
|
render() {
|
|
23957
|
-
return (hAsync(Host, { key: '
|
|
24137
|
+
return (hAsync(Host, { key: 'd673f2fc9a15a8faf5480cb3a3b096b9803546d0' }, hAsync("div", { key: 'c03f54e19cba4a6b2556b4c237877bceeed682d7', class: "card-header", part: "header" }, hAsync("div", { key: '272eb0ebfbbe2ab8d2c1636de340cae474d3bce9', class: "card-header-content", part: "content" }, hAsync("div", { key: '1cdd79d5d32b39183de3e52d395be8f7365ca8ef', class: "card-header-text-container", part: "text-container" }, hAsync("div", { key: '792c35548b328ea59d4b99943b84efac7f148bd3', class: "card-header-title-row" }, this.showFeaturedIcon && (hAsync("bh-featured-icon", { key: 'c6f6a3e358435ff53b172d797d1dfe1595cb6680', color: this.featuredIconColor, icon: this.featuredIcon, iconStyle: this.featuredIconStyle, size: "sm" })), this.showTitle && (hAsync("span", { key: 'bba0977d87b6259bf39062e79cd08aeb174fa7fc', class: "card-header-title" }, resolveI18n("bh-card-header", "headerTitle", this.headerTitle, "Card title"))), this.showBadge && this.badgeText && (hAsync("bh-badge", { key: '17e15b5b243b8e0133754b128d492760685f602b', emphasis: "medium", label: this.badgeText, size: "sm", variant: "blue" }))), this.showSupportingText && (hAsync("div", { key: 'c4b0c2f46a08e7e737fa191f803b3505df3ed605', class: "card-header-supporting-row" }, this.showFeaturedIcon && hAsync("div", { key: 'ad94dbff5123a1d98cc81617c1b483b669f9978c', class: "card-header-spacer" }), hAsync("span", { key: '289225d6cf026969a756066595292a67301a64f4', class: "card-header-supporting-text" }, resolveI18n("bh-card-header", "supportingText", this.supportingText, "Card description"))))), this.showDropdown && (hAsync("bh-button-icon", { key: '0702ef0228262400adcb36fccdc9117f979773de', ariaLabel: "More options", hierarchy: "quaternary", iconName: "more_vert", onBhClick: this.handleDropdownClick, size: "sm" }))), hAsync("slot", { key: '8ab0ff933c820e5bf0da6f4df351a097d05b50e0', name: "tabs" }), this.showDivider && hAsync("div", { key: 'd46267ac7983f1e47249544d10dbe57b18f0c124', class: "card-header-divider" }))));
|
|
23958
24138
|
}
|
|
23959
24139
|
static get style() { return bhCardHeaderCss(); }
|
|
23960
24140
|
static get cmpMeta() { return {
|
|
@@ -24073,14 +24253,14 @@ class BhChartTooltip {
|
|
|
24073
24253
|
reportComponentError("bh-chart-tooltip", error);
|
|
24074
24254
|
}
|
|
24075
24255
|
render() {
|
|
24076
|
-
return (hAsync(Host, { key: '
|
|
24256
|
+
return (hAsync(Host, { key: 'd5f7fac4d429e88941da67424275d484d2cfedcd' }, hAsync("div", { key: '399c090f95c8ddd3f6b2680ea506df920b056fa9', "aria-hidden": this.visible ? undefined : "true", class: {
|
|
24077
24257
|
"chart-tooltip": true,
|
|
24078
24258
|
visible: this.visible,
|
|
24079
24259
|
"storybook-mode": this.storybookMode,
|
|
24080
24260
|
}, part: "tooltip", style: {
|
|
24081
24261
|
left: `${this.safeX}px`,
|
|
24082
24262
|
top: `${this.safeY}px`,
|
|
24083
|
-
} }, hAsync("div", { key: '
|
|
24263
|
+
} }, hAsync("div", { key: '8b32cb27fbfc42bf5cc42e12e06c491c29b7f582', class: "tooltip-content", part: "content" }, this.header && hAsync("div", { key: 'f4430f54448aa62dd8575e005de4d094a216d034', class: "tooltip-header" }, this.header), hAsync("div", { key: 'fae580500c4ccde9bead1673cf862bb0e67a6377', class: "tooltip-items" }, this.items.map((item, index) => (hAsync("div", { class: "tooltip-item", key: index }, item.color && (hAsync("span", { class: "tooltip-dot", style: { backgroundColor: item.color } })), item.label && (hAsync("span", { class: "tooltip-label" }, item.label, ":")), hAsync("span", { class: "tooltip-value" }, item.value))))), this.showTotal && this.total && (hAsync("div", { key: '1164b336605e46a6f25eb4c61e74f2c9dd73d357', class: "tooltip-total" }, hAsync("span", { key: '13c20395c26f67346253f4b6b3cb228a1aeb6cf9', class: "total-label" }, "Total:"), hAsync("span", { key: '503f2e1e85589eb62003c5313621cd48199f8f5d', class: "total-value" }, this.total)))))));
|
|
24084
24264
|
}
|
|
24085
24265
|
static get style() { return bhChartTooltipCss(); }
|
|
24086
24266
|
static get cmpMeta() { return {
|
|
@@ -24204,13 +24384,13 @@ class BhChatMessage {
|
|
|
24204
24384
|
const isIncoming = this.type === "incoming";
|
|
24205
24385
|
const isTyping = this.variant === "typing";
|
|
24206
24386
|
const isFile = this.variant === "file";
|
|
24207
|
-
return (hAsync(Host, { key: '
|
|
24387
|
+
return (hAsync(Host, { key: 'bdf15f0729d39f2e8d0191fcfa6e621d3d857d9e' }, hAsync("div", { key: 'b2f43fdbcc83b5056ef308dcfb160c8ef7d801aa', "aria-label": isTyping
|
|
24208
24388
|
? `${this.author || "Someone"} is typing`
|
|
24209
24389
|
: `Message from ${this.author || "Unknown"}`, class: {
|
|
24210
24390
|
"chat-message": true,
|
|
24211
24391
|
[`chat-message-${this.type}`]: true,
|
|
24212
24392
|
[`chat-message-${this.variant}`]: true,
|
|
24213
|
-
}, part: "container", role: "article" }, !isTyping && (hAsync("div", { key: '
|
|
24393
|
+
}, part: "container", role: "article" }, !isTyping && (hAsync("div", { key: '39b88cd29fde262db550aab188a9837abecb7ab8', class: "chat-message-header", part: "header" }, hAsync("span", { key: '6b55496792b2ef8b499e0cfb8b3cf882a918c62d', class: "chat-message-author", part: "author" }, this.author), hAsync("span", { key: '87ab6612df8f8274dcf261840f380ecbd5e656cb', class: "chat-message-timestamp", part: "timestamp" }, this.timestamp))), hAsync("div", { key: 'eba524017ed96e21d0bc332047a90ef826d8570d', class: "chat-message-body-row" }, isIncoming && !isTyping && this.avatarSrc && this.renderAvatar(), isTyping && (hAsync("div", { key: '39fc2af5eae0bd602ccee935cf5dbb70b8ce1685', class: "chat-message-typing-wrapper" }, isIncoming && this.renderAvatar(), hAsync("div", { key: '952e42b7c1c46a591c0e090de571c9bfbe0feae9', class: "chat-message-typing-content" }, hAsync("span", { key: 'af6b1628d87b7ef4886d315b1669f35ee49363b6', class: "chat-message-author", part: "author" }, this.author), this.renderTyping()))), !(isTyping || isFile) && (hAsync("div", { key: 'd8d176a18f38b5bab28bc4da3c37735b8bad88b0', class: "chat-message-bubble", part: "bubble" }, hAsync("slot", { key: '37fd94fba76e348f86bac27add7588e7a55f744f' }), this.renderMenuButton())), !isTyping && isFile && (hAsync("div", { key: 'e6f2161e7fab20ff4a4f2f4906ae1b745f17d533', class: "chat-message-file-wrapper" }, this.renderFileAttachment(), this.renderMenuButton()))), !isTyping && (hAsync("div", { key: 'a576787986f12f2a7ce31ea1059a12281645bc8c', class: "chat-message-reactions", part: "reactions" }, hAsync("slot", { key: '72b891bbd7d5e3b5a880f14080d66ef78c90f4b5', name: "reactions" }), this.renderReactionButtons())))));
|
|
24214
24394
|
}
|
|
24215
24395
|
static get style() { return bhChatMessageCss(); }
|
|
24216
24396
|
static get cmpMeta() { return {
|
|
@@ -24271,11 +24451,11 @@ class BhChatReaction {
|
|
|
24271
24451
|
};
|
|
24272
24452
|
render() {
|
|
24273
24453
|
const showCount = this.count > 1;
|
|
24274
|
-
return (hAsync(Host, { key: '
|
|
24454
|
+
return (hAsync(Host, { key: 'fcc74eb4fd29905d7155c864c1fc507e5117591a' }, hAsync("button", { key: '0f3d5061afca42cd7d047fce4cfc30c3508d5027', "aria-label": `${this.emoji} reaction${showCount ? `, ${this.count}` : ""}`, "aria-pressed": String(this.active), class: {
|
|
24275
24455
|
"chat-reaction": true,
|
|
24276
24456
|
"chat-reaction-active": this.active,
|
|
24277
24457
|
"chat-reaction-with-count": showCount,
|
|
24278
|
-
}, onClick: this.handleClick, part: "badge", type: "button" }, hAsync("span", { key: '
|
|
24458
|
+
}, onClick: this.handleClick, part: "badge", type: "button" }, hAsync("span", { key: '8a5397739451b02203a8207bfbdcd3f03e6d5304', class: "chat-reaction-emoji", part: "emoji" }, this.emoji), showCount && (hAsync("span", { key: 'c846e7ba4d863b194a0d84df03a53fdb66faf45f', class: "chat-reaction-count", part: "count" }, this.count)))));
|
|
24279
24459
|
}
|
|
24280
24460
|
static get style() { return bhChatReactionCss(); }
|
|
24281
24461
|
static get cmpMeta() { return {
|
|
@@ -24684,7 +24864,7 @@ class BhCloseButton {
|
|
|
24684
24864
|
darkBackground = false;
|
|
24685
24865
|
disabled = false;
|
|
24686
24866
|
render() {
|
|
24687
|
-
return (hAsync(Host, { key: '
|
|
24867
|
+
return (hAsync(Host, { key: '1b329426bf09f1fee1b00e20c5ebf5f76e7d471d' }, hAsync("bh-button-icon", { key: '91098fe34d4b19eca617dd8e1da33113ebd4161e', ariaLabel: this.ariaLabel, disabled: this.disabled, hierarchy: "quaternary", iconName: "close", size: "sm" })));
|
|
24688
24868
|
}
|
|
24689
24869
|
static get style() { return bhCloseButtonCss(); }
|
|
24690
24870
|
static get cmpMeta() { return {
|
|
@@ -24701,6 +24881,330 @@ class BhCloseButton {
|
|
|
24701
24881
|
}; }
|
|
24702
24882
|
}
|
|
24703
24883
|
|
|
24884
|
+
const bhCommandBarCss = () => `:host{display:contents}.command-overlay{position:fixed;inset:0;z-index:var(--bh-z-index-modal-backdrop, 1040);display:flex;align-items:flex-start;justify-content:center;padding-top:15vh;background:var(--color-surface-overlay, rgba(12, 17, 29, 0.6))}.command-panel{display:flex;flex-direction:column;width:var(--bh-command-bar-width, 560px);max-width:calc(100vw - 2 * var(--spacing-xl, 20px));max-height:var(--bh-command-bar-max-height, 60vh);overflow:hidden;background:var(--color-bg-primary, #fff);border-radius:var(--radius-lg, 12px);box-shadow:var(--shadow-xl, 0 20px 24px -4px rgba(16, 24, 40, 0.1))}.search-row{display:flex;align-items:center;gap:var(--spacing-sm, 8px);padding:var(--spacing-lg, 16px);border-bottom:1px solid var(--color-border-secondary, #eaecf0)}.search-icon{font-size:var(--icon-size-md, 20px);color:var(--color-text-tertiary, #667085)}.search-input{flex:1;min-width:0;font-family:var(--font-inter, inherit);font-size:var(--text-md-size, 1rem);color:var(--color-text-primary, #101828);background:transparent;border:none;outline:none}.search-input::placeholder{color:var(--color-text-placeholder, #667085)}.sections{overflow-y:auto}.section{padding:var(--spacing-sm, 8px) 0}.section:not(:last-child){border-bottom:1px solid var(--color-border-secondary, #eaecf0)}.section-heading{padding:var(--spacing-sm, 8px) var(--spacing-lg, 16px);font-family:var(--font-inter, inherit);font-size:var(--text-xs-size, 0.75rem);font-weight:var(--weight-medium, 500);color:var(--color-text-tertiary, #667085)}.section-list{margin:0;padding:0;list-style:none}.item{display:flex;gap:var(--spacing-md, 12px);align-items:center;width:100%;padding:var(--spacing-sm, 8px) var(--spacing-lg, 16px);text-align:left;font-family:var(--font-inter, inherit);background:transparent;border:none;cursor:pointer}.item.active{background:var(--color-bg-secondary, #f9fafb)}:host([size=md]) .item{padding-top:var(--spacing-md, 12px);padding-bottom:var(--spacing-md, 12px)}.item-icon{flex-shrink:0;font-size:var(--icon-size-md, 20px);color:var(--color-text-secondary, #475467)}.item-text{display:flex;flex:1;flex-direction:column;gap:var(--spacing-xxs, 2px);min-width:0}.item-title-row{display:flex;gap:var(--spacing-sm, 8px);align-items:baseline;min-width:0}.item-label{font-size:var(--text-sm-size, 0.875rem);font-weight:var(--weight-medium, 500);color:var(--color-text-primary, #101828);white-space:nowrap}.item-path{overflow:hidden;font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-interactive, #175cd3);text-overflow:ellipsis;white-space:nowrap}.item-description{font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-secondary, #475467)}.item-shortcut{flex-shrink:0;margin-left:auto}.empty{padding:var(--spacing-3xl, 40px) var(--spacing-lg, 16px);font-family:var(--font-inter, inherit);font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-secondary, #475467);text-align:center}.footer{display:flex;gap:var(--spacing-lg, 16px);align-items:center;padding:var(--spacing-sm, 8px) var(--spacing-lg, 16px);border-top:1px solid var(--color-border-secondary, #eaecf0)}.footer-hint{display:inline-flex;gap:var(--spacing-xs, 4px);align-items:center;font-family:var(--font-inter, inherit);font-size:var(--text-xs-size, 0.75rem);color:var(--color-text-secondary, #475467)}.footer-back{padding:0;background:transparent;border:none;cursor:pointer}.footer-settings{margin-left:auto}`;
|
|
24885
|
+
|
|
24886
|
+
const initialsOf = (name) => (name ?? "")
|
|
24887
|
+
.split(/\s+/)
|
|
24888
|
+
.filter(Boolean)
|
|
24889
|
+
.slice(0, 2)
|
|
24890
|
+
.map((part) => part[0]?.toUpperCase() ?? "")
|
|
24891
|
+
.join("");
|
|
24892
|
+
class BhCommandBar {
|
|
24893
|
+
constructor(hostRef) {
|
|
24894
|
+
registerInstance(this, hostRef);
|
|
24895
|
+
this.bhOpen = createEvent(this, "bhOpen");
|
|
24896
|
+
this.bhClose = createEvent(this, "bhClose");
|
|
24897
|
+
this.bhChange = createEvent(this, "bhChange");
|
|
24898
|
+
this.bhItemClick = createEvent(this, "bhItemClick");
|
|
24899
|
+
this.bhAction = createEvent(this, "bhAction");
|
|
24900
|
+
}
|
|
24901
|
+
logger = createComponentLogger("bh-command-bar");
|
|
24902
|
+
dismissalManager;
|
|
24903
|
+
i18nUnsubscribe;
|
|
24904
|
+
inputRef;
|
|
24905
|
+
pendingFocus = false;
|
|
24906
|
+
_i18nVersion = 0;
|
|
24907
|
+
get el() { return getElement(this); }
|
|
24908
|
+
/**
|
|
24909
|
+
* Command sections (array or JSON string).
|
|
24910
|
+
*/
|
|
24911
|
+
sections = [];
|
|
24912
|
+
/**
|
|
24913
|
+
* Whether the palette is open. Reflects so consumers can read/drive it.
|
|
24914
|
+
*/
|
|
24915
|
+
open = false;
|
|
24916
|
+
/**
|
|
24917
|
+
* Global shortcut that toggles the palette (e.g. "cmd+k"). When set, a
|
|
24918
|
+
* document-level listener is registered; "cmd" matches ⌘ on macOS and
|
|
24919
|
+
* Ctrl elsewhere. Omit to control the palette programmatically only.
|
|
24920
|
+
*/
|
|
24921
|
+
hotkey;
|
|
24922
|
+
/**
|
|
24923
|
+
* Search input placeholder. Allows i18n.
|
|
24924
|
+
*/
|
|
24925
|
+
placeholder = "Type a command or search";
|
|
24926
|
+
/**
|
|
24927
|
+
* Empty-state message. Allows i18n.
|
|
24928
|
+
*/
|
|
24929
|
+
emptyMessage = "No results found";
|
|
24930
|
+
/**
|
|
24931
|
+
* List density
|
|
24932
|
+
*/
|
|
24933
|
+
size = "md";
|
|
24934
|
+
/**
|
|
24935
|
+
* Footer hint labels. Allow i18n.
|
|
24936
|
+
*/
|
|
24937
|
+
navigateLabel = "Navigate";
|
|
24938
|
+
selectLabel = "Select";
|
|
24939
|
+
closeLabel = "Close";
|
|
24940
|
+
backLabel = "Return to parent";
|
|
24941
|
+
/**
|
|
24942
|
+
* Accessible label for the footer settings button. Allows i18n.
|
|
24943
|
+
*/
|
|
24944
|
+
settingsAriaLabel = "Command bar settings";
|
|
24945
|
+
query = "";
|
|
24946
|
+
activeIndex = -1;
|
|
24947
|
+
levelStack = [];
|
|
24948
|
+
/**
|
|
24949
|
+
* Emitted when the palette opens.
|
|
24950
|
+
*/
|
|
24951
|
+
bhOpen;
|
|
24952
|
+
/**
|
|
24953
|
+
* Emitted when the palette closes.
|
|
24954
|
+
*/
|
|
24955
|
+
bhClose;
|
|
24956
|
+
/**
|
|
24957
|
+
* Emitted when the search query changes. Detail carries the query.
|
|
24958
|
+
*/
|
|
24959
|
+
bhChange;
|
|
24960
|
+
/**
|
|
24961
|
+
* Emitted when a leaf item is selected. Detail carries the item and its
|
|
24962
|
+
* ancestor chain (outermost first).
|
|
24963
|
+
*/
|
|
24964
|
+
bhItemClick;
|
|
24965
|
+
/**
|
|
24966
|
+
* Emitted for auxiliary actions (footer settings gear).
|
|
24967
|
+
*/
|
|
24968
|
+
bhAction;
|
|
24969
|
+
handleOpenChange(isOpen) {
|
|
24970
|
+
if (isOpen) {
|
|
24971
|
+
this.dismissalManager?.enable();
|
|
24972
|
+
this.pendingFocus = true;
|
|
24973
|
+
}
|
|
24974
|
+
else {
|
|
24975
|
+
this.dismissalManager?.disable();
|
|
24976
|
+
this.resetNavigation();
|
|
24977
|
+
}
|
|
24978
|
+
}
|
|
24979
|
+
componentWillLoad() {
|
|
24980
|
+
this.i18nUnsubscribe = BellhopI18n.onLocaleChange(() => {
|
|
24981
|
+
this._i18nVersion++;
|
|
24982
|
+
});
|
|
24983
|
+
}
|
|
24984
|
+
componentDidLoad() {
|
|
24985
|
+
this.dismissalManager = createDismissalManager(this.el, {
|
|
24986
|
+
onDismiss: () => this.setOpen(false),
|
|
24987
|
+
escapeKey: true,
|
|
24988
|
+
clickOutside: true,
|
|
24989
|
+
focusLoss: false,
|
|
24990
|
+
});
|
|
24991
|
+
if (this.hotkey) {
|
|
24992
|
+
document.addEventListener("keydown", this.handleGlobalKeyDown);
|
|
24993
|
+
}
|
|
24994
|
+
if (this.open) {
|
|
24995
|
+
this.dismissalManager.enable();
|
|
24996
|
+
this.pendingFocus = true;
|
|
24997
|
+
this.focusPendingInput();
|
|
24998
|
+
}
|
|
24999
|
+
}
|
|
25000
|
+
componentDidRender() {
|
|
25001
|
+
this.focusPendingInput();
|
|
25002
|
+
}
|
|
25003
|
+
disconnectedCallback() {
|
|
25004
|
+
this.dismissalManager?.destroy();
|
|
25005
|
+
document.removeEventListener("keydown", this.handleGlobalKeyDown);
|
|
25006
|
+
this.i18nUnsubscribe?.();
|
|
25007
|
+
}
|
|
25008
|
+
/**
|
|
25009
|
+
* Open the palette.
|
|
25010
|
+
*/
|
|
25011
|
+
async show() {
|
|
25012
|
+
this.setOpen(true);
|
|
25013
|
+
}
|
|
25014
|
+
/**
|
|
25015
|
+
* Close the palette.
|
|
25016
|
+
*/
|
|
25017
|
+
async hide() {
|
|
25018
|
+
this.setOpen(false);
|
|
25019
|
+
}
|
|
25020
|
+
parseSections() {
|
|
25021
|
+
if (typeof this.sections !== "string") {
|
|
25022
|
+
return this.sections;
|
|
25023
|
+
}
|
|
25024
|
+
if (this.sections.trim() === "") {
|
|
25025
|
+
return [];
|
|
25026
|
+
}
|
|
25027
|
+
try {
|
|
25028
|
+
return JSON.parse(this.sections);
|
|
25029
|
+
}
|
|
25030
|
+
catch (error) {
|
|
25031
|
+
this.logger.error("Invalid sections JSON", error instanceof Error ? error : new Error(String(error)));
|
|
25032
|
+
return [];
|
|
25033
|
+
}
|
|
25034
|
+
}
|
|
25035
|
+
/** Sections for the current drill-down level */
|
|
25036
|
+
currentSections() {
|
|
25037
|
+
const level = this.levelStack.at(-1);
|
|
25038
|
+
if (level) {
|
|
25039
|
+
return [{ id: level.id, items: level.children ?? [] }];
|
|
25040
|
+
}
|
|
25041
|
+
return this.parseSections();
|
|
25042
|
+
}
|
|
25043
|
+
matchesQuery(item) {
|
|
25044
|
+
const query = this.query.trim().toLowerCase();
|
|
25045
|
+
if (!query) {
|
|
25046
|
+
return true;
|
|
25047
|
+
}
|
|
25048
|
+
return [item.label, item.description, item.path]
|
|
25049
|
+
.filter((text) => Boolean(text))
|
|
25050
|
+
.some((text) => text.toLowerCase().includes(query));
|
|
25051
|
+
}
|
|
25052
|
+
visibleSections() {
|
|
25053
|
+
return this.currentSections()
|
|
25054
|
+
.map((section) => ({
|
|
25055
|
+
...section,
|
|
25056
|
+
items: section.items.filter((item) => this.matchesQuery(item)),
|
|
25057
|
+
}))
|
|
25058
|
+
.filter((section) => section.items.length > 0);
|
|
25059
|
+
}
|
|
25060
|
+
flatItems() {
|
|
25061
|
+
return this.visibleSections().flatMap((section) => section.items.map((item) => ({ item, sectionId: section.id })));
|
|
25062
|
+
}
|
|
25063
|
+
setOpen(isOpen) {
|
|
25064
|
+
if (this.open === isOpen) {
|
|
25065
|
+
return;
|
|
25066
|
+
}
|
|
25067
|
+
this.open = isOpen;
|
|
25068
|
+
if (isOpen) {
|
|
25069
|
+
this.bhOpen.emit();
|
|
25070
|
+
}
|
|
25071
|
+
else {
|
|
25072
|
+
this.bhClose.emit();
|
|
25073
|
+
}
|
|
25074
|
+
}
|
|
25075
|
+
resetNavigation() {
|
|
25076
|
+
this.query = "";
|
|
25077
|
+
this.activeIndex = -1;
|
|
25078
|
+
this.levelStack = [];
|
|
25079
|
+
}
|
|
25080
|
+
focusPendingInput() {
|
|
25081
|
+
if (!(this.pendingFocus && this.inputRef)) {
|
|
25082
|
+
return;
|
|
25083
|
+
}
|
|
25084
|
+
this.pendingFocus = false;
|
|
25085
|
+
this.inputRef.focus();
|
|
25086
|
+
}
|
|
25087
|
+
selectItem(flat) {
|
|
25088
|
+
if (flat.item.children?.length) {
|
|
25089
|
+
this.levelStack = [...this.levelStack, flat.item];
|
|
25090
|
+
this.query = "";
|
|
25091
|
+
this.activeIndex = -1;
|
|
25092
|
+
return;
|
|
25093
|
+
}
|
|
25094
|
+
this.bhItemClick.emit({ item: flat.item, parents: [...this.levelStack] });
|
|
25095
|
+
this.setOpen(false);
|
|
25096
|
+
}
|
|
25097
|
+
popLevel() {
|
|
25098
|
+
if (this.levelStack.length === 0) {
|
|
25099
|
+
return;
|
|
25100
|
+
}
|
|
25101
|
+
this.levelStack = this.levelStack.slice(0, -1);
|
|
25102
|
+
this.query = "";
|
|
25103
|
+
this.activeIndex = -1;
|
|
25104
|
+
}
|
|
25105
|
+
handleGlobalKeyDown = (event) => {
|
|
25106
|
+
if (this.hotkey && matchesHotkey(event, this.hotkey)) {
|
|
25107
|
+
event.preventDefault();
|
|
25108
|
+
this.setOpen(!this.open);
|
|
25109
|
+
}
|
|
25110
|
+
};
|
|
25111
|
+
handleInput = (event) => {
|
|
25112
|
+
this.query = event.target.value;
|
|
25113
|
+
this.activeIndex = -1;
|
|
25114
|
+
this.bhChange.emit({ query: this.query });
|
|
25115
|
+
};
|
|
25116
|
+
handleInputKeyDown = (event) => {
|
|
25117
|
+
const items = this.flatItems();
|
|
25118
|
+
switch (event.key) {
|
|
25119
|
+
case "ArrowDown":
|
|
25120
|
+
event.preventDefault();
|
|
25121
|
+
this.activeIndex = Math.min(this.activeIndex + 1, items.length - 1);
|
|
25122
|
+
break;
|
|
25123
|
+
case "ArrowUp":
|
|
25124
|
+
event.preventDefault();
|
|
25125
|
+
this.activeIndex = Math.max(this.activeIndex - 1, 0);
|
|
25126
|
+
break;
|
|
25127
|
+
case "Enter": {
|
|
25128
|
+
const active = items[this.activeIndex];
|
|
25129
|
+
if (active) {
|
|
25130
|
+
event.preventDefault();
|
|
25131
|
+
this.selectItem(active);
|
|
25132
|
+
}
|
|
25133
|
+
break;
|
|
25134
|
+
}
|
|
25135
|
+
case "ArrowLeft":
|
|
25136
|
+
if (this.query === "" && this.levelStack.length > 0) {
|
|
25137
|
+
event.preventDefault();
|
|
25138
|
+
this.popLevel();
|
|
25139
|
+
}
|
|
25140
|
+
break;
|
|
25141
|
+
}
|
|
25142
|
+
};
|
|
25143
|
+
t(key, propValue, fallback) {
|
|
25144
|
+
return resolveI18n("bh-command-bar", key, propValue, fallback);
|
|
25145
|
+
}
|
|
25146
|
+
renderLeading(item) {
|
|
25147
|
+
if (item.author || item.avatarSrc) {
|
|
25148
|
+
return (hAsync("bh-avatar", { alt: item.author ?? "Avatar", imageSrc: item.avatarSrc, size: "sm", text: initialsOf(item.author), variant: item.avatarSrc ? "image" : "text" }));
|
|
25149
|
+
}
|
|
25150
|
+
if (item.icon) {
|
|
25151
|
+
return (hAsync("span", { "aria-hidden": "true", class: "material-symbols-outlined item-icon" }, item.icon));
|
|
25152
|
+
}
|
|
25153
|
+
return null;
|
|
25154
|
+
}
|
|
25155
|
+
renderItem(flat, index) {
|
|
25156
|
+
const { item } = flat;
|
|
25157
|
+
const active = index === this.activeIndex;
|
|
25158
|
+
return (hAsync("li", { key: item.id }, hAsync("button", { "aria-selected": active ? "true" : "false", class: { item: true, active, stacked: Boolean(item.description) }, id: `command-item-${item.id}`, onClick: () => this.selectItem(flat), onMouseEnter: () => {
|
|
25159
|
+
this.activeIndex = index;
|
|
25160
|
+
}, role: "option", type: "button" }, this.renderLeading(item), hAsync("span", { class: "item-text" }, hAsync("span", { class: "item-title-row" }, hAsync("span", { class: "item-label" }, item.label), item.path && hAsync("span", { class: "item-path" }, "/ ", item.path)), item.description && (hAsync("span", { class: "item-description" }, item.description))), item.shortcut && (hAsync("bh-kbd", { class: "item-shortcut", keys: item.shortcut, size: "sm" })))));
|
|
25161
|
+
}
|
|
25162
|
+
render() {
|
|
25163
|
+
const sections = this.visibleSections();
|
|
25164
|
+
const flat = this.flatItems();
|
|
25165
|
+
const activeItem = flat[this.activeIndex];
|
|
25166
|
+
let flatIndex = -1;
|
|
25167
|
+
return (hAsync(Host, { key: '54e2f4837c8b0fc4e5b92c52b628f80397ed6445' }, this.open && (hAsync("div", { key: '9a5d11120654521375e73ae75086a65bf890b2df', class: "command-overlay", part: "overlay" }, hAsync("div", { key: '746412fe9951d6559811ecfb2b9e745ac0ff9566', "aria-label": this.t("placeholder", this.placeholder, "Type a command or search"), class: "command-panel", part: "panel", role: "dialog" }, hAsync("div", { key: '4768665e2216175e2584677a6f674d3798abec6a', class: "search-row", part: "search" }, hAsync("span", { key: 'f8f60412e2fb7e99c1feade97c55edf6daa113ac', "aria-hidden": "true", class: "material-symbols-outlined search-icon" }, "search"), hAsync("input", { key: '5fccf974d7e8135fb342220e87c5e3cc46cc2ea8', "aria-activedescendant": activeItem
|
|
25168
|
+
? `command-item-${activeItem.item.id}`
|
|
25169
|
+
: undefined, "aria-controls": "command-listbox", "aria-expanded": "true", class: "search-input", onInput: this.handleInput, onKeyDown: this.handleInputKeyDown, placeholder: this.t("placeholder", this.placeholder, "Type a command or search"), ref: (el) => (this.inputRef = el), role: "combobox", type: "text", value: this.query }), this.hotkey && (hAsync("bh-kbd", { key: 'a1679a592009701871314b4d72273951561519e2', class: "search-hotkey", keys: this.hotkey, size: "sm" }))), sections.length === 0 ? (hAsync("div", { class: "empty", part: "empty" }, this.t("emptyMessage", this.emptyMessage, "No results found"))) : (hAsync("div", { class: "sections", id: "command-listbox", role: "listbox" }, sections.map((section) => (hAsync("div", { class: "section", key: section.id, part: "section" }, section.heading && (hAsync("div", { class: "section-heading", part: "section-heading" }, section.heading)), hAsync("ul", { class: "section-list" }, section.items.map((item) => {
|
|
25170
|
+
flatIndex++;
|
|
25171
|
+
return this.renderItem({ item, sectionId: section.id }, flatIndex);
|
|
25172
|
+
}))))))), hAsync("div", { key: '19b300a97b04317f08901bca8c68addf28c9f0c0', class: "footer", part: "footer" }, hAsync("span", { key: '54fc5ce933582c61f0b0a443b6a5393a3bb7a611', class: "footer-hint" }, hAsync("bh-kbd", { key: 'a85a3d7da6f07f2804f127fcdc916aef1d3cf11b', keys: "up", size: "sm" }), hAsync("bh-kbd", { key: 'ba853722f0108733feda41950b3ab6c4c0b5f1f9', keys: "down", size: "sm" }), this.t("navigateLabel", this.navigateLabel, "Navigate")), hAsync("span", { key: '029347425d3ef4c4668b1252374eaae406edd523', class: "footer-hint" }, hAsync("bh-kbd", { key: 'bc5cf9b570e063ff784731725a167ea719667e84', keys: "enter", size: "sm" }), this.t("selectLabel", this.selectLabel, "Select")), hAsync("span", { key: '1045763438aaadf482a0b029565576d40b19f0a8', class: "footer-hint" }, hAsync("bh-kbd", { key: 'f28c3cc16183d99a9b8170235ebf4a938444a17c', keys: "esc", size: "sm" }), this.t("closeLabel", this.closeLabel, "Close")), this.levelStack.length > 0 && (hAsync("button", { key: '869eb3df053faf976a2a45162efb0616fe23836b', class: "footer-hint footer-back", onClick: () => this.popLevel(), type: "button" }, hAsync("bh-kbd", { key: '1f6f4458ceef294533a79408a1c00ab4daa050e2', keys: "left", size: "sm" }), this.t("backLabel", this.backLabel, "Return to parent"))), hAsync("span", { key: '963d5c13c0afb675dbad3bac65a6e1f68888eaa7', class: "footer-settings" }, hAsync("bh-button-icon", { key: '82bc87df8a916a8c8ef586bfc2f5f51f684fc16f', ariaLabel: this.t("settingsAriaLabel", this.settingsAriaLabel, "Command bar settings"), hierarchy: "tertiary", iconName: "settings", onClick: () => this.bhAction.emit({ action: "settings" }), size: "sm" }))))))));
|
|
25173
|
+
}
|
|
25174
|
+
static get watchers() { return {
|
|
25175
|
+
"open": [{
|
|
25176
|
+
"handleOpenChange": 0
|
|
25177
|
+
}]
|
|
25178
|
+
}; }
|
|
25179
|
+
static get style() { return bhCommandBarCss(); }
|
|
25180
|
+
static get cmpMeta() { return {
|
|
25181
|
+
"$flags$": 521,
|
|
25182
|
+
"$tagName$": "bh-command-bar",
|
|
25183
|
+
"$members$": {
|
|
25184
|
+
"sections": [1],
|
|
25185
|
+
"open": [1540],
|
|
25186
|
+
"hotkey": [1],
|
|
25187
|
+
"placeholder": [1],
|
|
25188
|
+
"emptyMessage": [1, "empty-message"],
|
|
25189
|
+
"size": [513],
|
|
25190
|
+
"navigateLabel": [1, "navigate-label"],
|
|
25191
|
+
"selectLabel": [1, "select-label"],
|
|
25192
|
+
"closeLabel": [1, "close-label"],
|
|
25193
|
+
"backLabel": [1, "back-label"],
|
|
25194
|
+
"settingsAriaLabel": [1, "settings-aria-label"],
|
|
25195
|
+
"_i18nVersion": [32],
|
|
25196
|
+
"query": [32],
|
|
25197
|
+
"activeIndex": [32],
|
|
25198
|
+
"levelStack": [32],
|
|
25199
|
+
"show": [64],
|
|
25200
|
+
"hide": [64]
|
|
25201
|
+
},
|
|
25202
|
+
"$listeners$": undefined,
|
|
25203
|
+
"$lazyBundleId$": "-",
|
|
25204
|
+
"$attrsToReflect$": [["open", "open"], ["size", "size"]]
|
|
25205
|
+
}; }
|
|
25206
|
+
}
|
|
25207
|
+
|
|
24704
25208
|
const bhContainerCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;--bh-container-bg:var(--color-bg-primary);--bh-container-border-color:var(--color-border-secondary);--bh-container-border-radius:var(--radius-xl);--bh-container-padding:var(--spacing-2xl);--bh-container-gap:var(--spacing-2xl)}}@layer bh-base{.container{display:flex;flex-direction:column;gap:var(--bh-container-gap);padding:var(--bh-container-padding);background:var(--bh-container-bg);border:1px solid var(--bh-container-border-color);border-radius:var(--bh-container-border-radius);width:fit-content;font-family:var(--font-inter)}}@layer bh-variants{.container-with-footer{border-bottom:none;border-radius:var(--bh-container-border-radius) var(--bh-container-border-radius) 0 0}}`;
|
|
24705
25209
|
|
|
24706
25210
|
/** Component name for logging and metrics */
|
|
@@ -24728,7 +25232,7 @@ class BhContainer {
|
|
|
24728
25232
|
container: true,
|
|
24729
25233
|
"container-with-footer": this.withFooter,
|
|
24730
25234
|
};
|
|
24731
|
-
return (hAsync(Host, { key: '
|
|
25235
|
+
return (hAsync(Host, { key: 'e2987561f8e89e914497aef104afe72066a56f7c' }, hAsync("div", { key: 'aee865779664a7eb12219091436e6f08707df3f7', class: containerClasses, part: "container" }, hAsync("slot", { key: '9ac3d4cb9d32a20b8b765e1222d26fa12cc239d0' }))));
|
|
24732
25236
|
}
|
|
24733
25237
|
static get style() { return bhContainerCss(); }
|
|
24734
25238
|
static get cmpMeta() { return {
|
|
@@ -24782,7 +25286,7 @@ class BhContainerFooter {
|
|
|
24782
25286
|
"container-footer": true,
|
|
24783
25287
|
[`container-footer-${this.density}`]: true,
|
|
24784
25288
|
};
|
|
24785
|
-
return (hAsync(Host, { key: '
|
|
25289
|
+
return (hAsync(Host, { key: 'd062601c785a02084cb8e03dcce5c3b9ecfdeb0f' }, hAsync("div", { key: '731f23f4d07725c26020a868140839f4f651a9e8', class: footerClasses, part: "footer" }, hAsync("div", { key: '5c9fe20324619f047970622de67ada22d8ff40c2', class: "container-footer-content", part: "content" }, hAsync("bh-button", { key: '5ce58d0fda6bea0b1d8f2693aca5b0d54503c3cb', hierarchy: "tertiary", label: this.buttonLabel, onClick: this.handleButtonClick, size: "sm" })))));
|
|
24786
25290
|
}
|
|
24787
25291
|
static get style() { return bhContainerFooterCss(); }
|
|
24788
25292
|
static get cmpMeta() { return {
|
|
@@ -24850,7 +25354,7 @@ class BhCreditCard {
|
|
|
24850
25354
|
"light-text": this.isLightText,
|
|
24851
25355
|
"dark-text": !this.isLightText,
|
|
24852
25356
|
};
|
|
24853
|
-
return (hAsync(Host, { key: '
|
|
25357
|
+
return (hAsync(Host, { key: 'c859c4a3133144fdc01107747d4cee78910210d9', "aria-label": `Credit card for ${this.cardholderName}`, role: "img" }, hAsync("div", { key: '401c124a191e09baa566c15303eadf2a29e2eead', class: classes, part: "base" }, hAsync("div", { key: '0824fcdf11581de778fce2cedf09ca0b68408038', class: "card-bg" }), hAsync("span", { key: '6d15ee33dce280886962b0310bcf666a17233a4c', class: "issuer-name" }, this.issuerName), hAsync("div", { key: '844ad812cb1e8cf04c52b003f431808db0aa1637', "aria-hidden": "true", class: "contactless-icon" }, hAsync("svg", { key: '52c755e7caa424f37fde98f100fb92dc81a70b5a', fill: "none", viewBox: "0 0 20 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'e9ec1e941986cc20b6a132b5c518175d70b113fc', d: "M5.5 18C3.5 16.2 2.5 13.7 2.5 11C2.5 8.3 3.5 5.8 5.5 4", stroke: "currentColor", "stroke-linecap": "round", "stroke-width": "2" }), hAsync("path", { key: '311095a6c2b4bac66d41fea088029029422131aa', d: "M9.5 15C8.3 13.8 7.5 12.5 7.5 11C7.5 9.5 8.3 8.2 9.5 7", stroke: "currentColor", "stroke-linecap": "round", "stroke-width": "2" }), hAsync("path", { key: '16cf15fb6528e0642150c9bd558d814525013ab6', d: "M13.5 12.5C13 12 12.5 11.5 12.5 11C12.5 10.5 13 10 13.5 9.5", stroke: "currentColor", "stroke-linecap": "round", "stroke-width": "2" }))), hAsync("span", { key: 'efbcbf2453d6aca85a7cbcd3c7fa54d667429658', class: "cardholder-name" }, this.cardholderName), hAsync("span", { key: 'd292727f3765acbee43b8ae29af57446b09830f9', class: "expiry-date" }, this.expiryDate), hAsync("span", { key: 'ae74006e26e01284b92ecc67385085b9b978af24', class: "card-number" }, this.cardNumber), hAsync("div", { key: '4606eb640bdadb7fef4110382f264f51330f6183', "aria-hidden": "true", class: "payment-icon" }, hAsync("div", { key: 'e14ce4b4f67ffd5284ffac4e0dc2f30a630aad9a', class: "payment-circle payment-circle-left" }), hAsync("div", { key: 'dbbf84ec372bf2f658e89198f6058c07b8a0e8f0', class: "payment-circle payment-circle-right" })))));
|
|
24854
25358
|
}
|
|
24855
25359
|
static get style() { return bhCreditCardCss(); }
|
|
24856
25360
|
static get cmpMeta() { return {
|
|
@@ -34536,7 +35040,7 @@ class BhDataGridFooter {
|
|
|
34536
35040
|
return (hAsync("div", { class: "data-grid-pagination", part: "pagination" }, hAsync("bh-pagination", { onBhPageChange: (e) => this.handlePageChange(e.detail.page), onBhPageSizeChange: (e) => this.handlePageSizeChange(e.detail.pageSize), page: currentPage, pageSize: currentPageSize, pageSizeOptions: safePageSizeOptions, rowsPerPageLabel: "Rows per page:", showingResultsLabel: `${totalRows > 0 ? `${startRow}-${endRow} of ${totalRows}` : "0 rows"}`, totalItems: totalRows })));
|
|
34537
35041
|
}
|
|
34538
35042
|
render() {
|
|
34539
|
-
return (hAsync(Host, { key: '
|
|
35043
|
+
return (hAsync(Host, { key: 'd34ded8a49617aa81e334dfdf41bab6fbb563d18' }, this.renderSummaryRow(), this.renderPagination()));
|
|
34540
35044
|
}
|
|
34541
35045
|
static get cmpMeta() { return {
|
|
34542
35046
|
"$flags$": 512,
|
|
@@ -35052,7 +35556,7 @@ class BhDataGridToolbar {
|
|
|
35052
35556
|
[`data-grid-toolbar-${this.size}`]: true,
|
|
35053
35557
|
[this.config?.cssClass ?? ""]: !!this.config?.cssClass,
|
|
35054
35558
|
};
|
|
35055
|
-
return (hAsync(Host, { key: '
|
|
35559
|
+
return (hAsync(Host, { key: 'ea02947e5f12b5e36a882b823bfa4188840e4504' }, hAsync("div", { key: '3a9a5cf03f284c8b1e9a50b0e140f5f8662582f7', class: toolbarClasses, part: "toolbar" }, hAsync("div", { key: 'e2dd4c8f2f9d6498dc0a375b82f6c259fab34037', class: "data-grid-toolbar-left", part: "toolbar-left" }, hAsync("slot", { key: '9765ba1f12bc6b85600fd3f3160e9240f75d1e1d', name: "toolbar-left" }, this.renderDefaultItems(leftItems, defaultLeftItems))), hAsync("div", { key: '5179c1e8145b41e81a4afd2dff0f60836e216acd', class: "data-grid-toolbar-center", part: "toolbar-center" }, hAsync("slot", { key: '4d04637154d2bec6f910bb2959da6d9a342ab165', name: "toolbar-center" }, this.renderDefaultItems(centerItems, []))), hAsync("div", { key: '8cbfb4333ca8b2f91b96ea639a4b8227ce7e1cae', class: "data-grid-toolbar-right", part: "toolbar-right" }, hAsync("slot", { key: '16702babaa5d627d9b01fb21d2f908d56f2bc963', name: "toolbar-right" }, showBatchMode
|
|
35056
35560
|
? this.renderBatchActions()
|
|
35057
35561
|
: this.renderDefaultItems(rightItems, [
|
|
35058
35562
|
"export",
|
|
@@ -35450,14 +35954,14 @@ class BhDatePicker {
|
|
|
35450
35954
|
"date-picker-focused": this.focusState.isFocused,
|
|
35451
35955
|
"date-picker-hovered": this.focusState.isHovered,
|
|
35452
35956
|
};
|
|
35453
|
-
return (hAsync(Host, { key: '
|
|
35957
|
+
return (hAsync(Host, { key: 'bf6800637be57d8d768455e54e7519c5994e263d' }, hAsync("div", { key: 'e00ca9870ba40f24884ffe2650c5b50d05f5d556', "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": String(this.isMenuOpen), "aria-haspopup": "dialog", "aria-label": resolveI18n("bh-date-picker", "defaultLabel", this.label, "Select Date"), class: containerClasses, "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container", role: "combobox", tabindex: this.disabled ? -1 : 0 }, this.variant === "dropdown-outlined" && (hAsync("div", { key: 'cf711db0fae3aab3a54db332a6f5a4b9686adad4', class: "date-picker-trigger", onClick: this.handleTriggerClick, part: "trigger" }, hAsync("bh-button", { key: '5464fc3c642a2445490836a167da7b9d15369a65', disabled: this.disabled, hierarchy: "secondary", icon: "trailing", iconName: "expand_more", label: this.getButtonLabel(), size: "sm" }))), this.variant === "dropdown-ghost" && (hAsync("div", { key: '2729ffe68fef8fd465abcc4ee5122e24d7ca38a5', class: "date-picker-trigger", onClick: this.handleTriggerClick, part: "trigger" }, hAsync("bh-button", { key: 'a3359a23887d20a507cabc6a94b30e7de955c211', disabled: this.disabled, hierarchy: "tertiary", icon: "trailing", iconName: "expand_more", label: this.getButtonLabel(), size: "sm" }))), this.variant === "input" && (hAsync("div", { key: '7655c11d161eeaa2ba73682b351ef1a1350a50a4', class: "date-picker-trigger input-field-container", part: "trigger" }, hAsync("bh-input-text", { key: 'd79d3bb225210eeb896be266bd9dd37b5373e35a', disabled: this.disabled, label: resolveI18n("bh-date-picker", "defaultLabel", this.label, "Select Date"), onFocus: this.handleInputFocus, placeholder: resolveI18n("bh-date-picker", "defaultPlaceholder", this.placeholder, "Choose date"), readOnly: true, showHelpIcon: false, showHintText: false, showLabel: this.showLabel, showTrailingIcon: true, trailingIcon: "calendar_today", value: this.getDisplayValue(), width: this.inputWidth }), hAsync("div", { key: '696764ec1a46a39d2e47f5ee2e4873ec831d2809', class: "calendar-icon-overlay", onClick: this.handleTriggerClick }))), hAsync("div", { key: '42689fe957cd9bcded85261f0b3b08ed2cfbb8e7', class: {
|
|
35454
35958
|
"date-picker-menu-container": true,
|
|
35455
35959
|
"is-open": this.isMenuOpen && !supportsTopLayerPopover,
|
|
35456
35960
|
"open-upward": this.openUpward,
|
|
35457
35961
|
"open-left": this.openToLeft,
|
|
35458
|
-
}, part: "menu", popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.menuContainerEl = el) }, hAsync("bh-picker-menu", { key: '
|
|
35962
|
+
}, part: "menu", popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.menuContainerEl = el) }, hAsync("bh-picker-menu", { key: 'e7abddb8c80316349b31f734cb53cc636df8d9c5', disableApply: this.showFooter && this.stateManager?.tempValue === null, onBhAction: this.handleMenuAction, showFooter: this.showFooter, showTodayButton: this.showFooter, visible: this.isMenuOpen }, hAsync("bh-date-picker-content", { key: 'd42c94db8ebb27d762d8eba0267a6bc1f6294b87', disabled: this.disabled, disabledDates: this.disabledDates, maxYear: this.safeMaxYear, minYear: this.safeMinYear, onBhChange: this.handleDateSelect, showOtherMonthDays: this.showOtherMonthDays, value: this.stateManager?.tempValue ??
|
|
35459
35963
|
this.stateManager?.committedValue ??
|
|
35460
|
-
undefined })))), (this.isMenuOpen || this.isMenuClosing) && (hAsync("div", { key: '
|
|
35964
|
+
undefined })))), (this.isMenuOpen || this.isMenuClosing) && (hAsync("div", { key: 'a021aa4337b3d5b224dc0a078389d098aa836faa', class: "date-picker-backdrop", onClick: this.handleBackdropClick }))));
|
|
35461
35965
|
}
|
|
35462
35966
|
static get watchers() { return {
|
|
35463
35967
|
"value": [{
|
|
@@ -35915,9 +36419,9 @@ class BhDatePickerContent {
|
|
|
35915
36419
|
}
|
|
35916
36420
|
render() {
|
|
35917
36421
|
const currentMonthYear = `${MONTH_NAMES$1[this.currentMonth]} ${this.currentYear}`;
|
|
35918
|
-
return (hAsync(Host, { key: '
|
|
35919
|
-
(this.currentYear === this.minYear && this.currentMonth === 0), hierarchy: "tertiary", iconName: "chevron_left", onClick: this.handlePreviousMonth, size: "md" }), hAsync("bh-button", { key: '
|
|
35920
|
-
(this.currentYear === this.maxYear && this.currentMonth === 11), hierarchy: "tertiary", iconName: "chevron_right", onClick: this.handleNextMonth, size: "md" })), this.showDateInput && (hAsync("div", { key: '
|
|
36422
|
+
return (hAsync(Host, { key: '54655d044f0752f7647fb59303249f8fb5c91dd3' }, hAsync("div", { key: 'e394e93731d0c1a5055eb9577775f732fa37cb20', class: "date-picker-content", part: "container" }, hAsync("div", { key: '88a3b58ac3a84510b8e8f76733bd5ea1a1fee4dd', class: "month-navigation", part: "navigation" }, hAsync("bh-button-icon", { key: '346fd0af5d228447ed4b478566d1f4a1edfa1838', disabled: this.disabled ||
|
|
36423
|
+
(this.currentYear === this.minYear && this.currentMonth === 0), hierarchy: "tertiary", iconName: "chevron_left", onClick: this.handlePreviousMonth, size: "md" }), hAsync("bh-button", { key: '213812c523e0e189382e6495f4014520fa6d5add', hierarchy: "tertiary", icon: "trailing", iconName: "expand_more", label: currentMonthYear, onClick: this.handleMonthDropdownToggle, size: "sm" }), hAsync("bh-button-icon", { key: 'f6ad11fe6713733878f5020e4c570b07e73f9921', disabled: this.disabled ||
|
|
36424
|
+
(this.currentYear === this.maxYear && this.currentMonth === 11), hierarchy: "tertiary", iconName: "chevron_right", onClick: this.handleNextMonth, size: "md" })), this.showDateInput && (hAsync("div", { key: 'e27dcf2c52ec2b28c7262d4fac4ecf0d3aeb4752', class: "date-input-display", part: "date-input" }, hAsync("bh-input-text", { key: '734e891a9e4652659c8855cb4cd0565c9c09d566', placeholder: resolveI18n("bh-date-picker-content", "selectDatePlaceholder", this.selectDatePlaceholder, "Select date"), readOnly: true, showHelpIcon: false, showHintText: false, showLabel: false, showTrailingIcon: true, trailingIcon: "calendar_today", value: this.formatSelectedDate() }))), this.showPresetRanges && (hAsync("div", { key: '74bbd7dcc8bd82da65191d535fa374076a55b63b', class: "preset-ranges", part: "preset-ranges" }, hAsync("bh-button", { key: '010a8babf66a0d9b22cfcb4244e6c3316523ca08', hierarchy: "tertiary", label: "Last week", onClick: () => this.bhPresetSelect.emit("last-week"), size: "sm" }), hAsync("bh-button", { key: '2a651298dc6828d36a1115ec4f73d24efc169953', hierarchy: "tertiary", label: "Last month", onClick: () => this.bhPresetSelect.emit("last-month"), size: "sm" }), hAsync("bh-button", { key: 'dee3061094254ea53b339c54186f7dda1cfbf387', hierarchy: "tertiary", label: "Last year", onClick: () => this.bhPresetSelect.emit("last-year"), size: "sm" }))), !this.isMonthDropdownOpen && (hAsync("div", { key: '599841d8e6f490f262eab17329abb688982d63d8', class: "calendar-grid", part: "calendar" }, hAsync("div", { key: 'f0934ecfb1d052011290746b89fe610e975f17bd', class: "day-names", part: "day-names" }, DAY_NAMES.map((dayName) => (hAsync("div", { class: "day-name", key: dayName }, dayName)))), hAsync("div", { key: 'b0b723460e2b9ae997e67658aec8e005680afebb', class: "date-cells", part: "cells" }, this.calendarCells.map((cell, index) => (hAsync("div", { class: this.getCellClass(cell), key: index, onClick: (e) => this.handleCellClick(e, cell) }, hAsync("span", { class: "date-number" }, cell.day === 0 ? "" : cell.day))))))), (this.isMonthDropdownOpen || this.isMonthDropdownClosing) && (hAsync("div", { key: '5ed516dd685be7c20e4c63cf3802a6d8b6693988', class: `month-picker-inline ${this.isMonthDropdownClosing ? "animate-fade-out" : ""}` }, hAsync("bh-month-picker-content", { key: '9c8ada6fcf7bed33fac6b0f80083fb7c622111ad', height: "275px", maxYear: this.maxYear, minYear: this.minYear, onBhChange: this.handleMonthYearSelect, scrollable: true, selectedMonth: this.currentMonth, selectedYear: this.currentYear }))))));
|
|
35921
36425
|
}
|
|
35922
36426
|
static get watchers() { return {
|
|
35923
36427
|
"value": [{
|
|
@@ -36241,13 +36745,13 @@ class BhDateRangePicker {
|
|
|
36241
36745
|
this.handleMenuCancel();
|
|
36242
36746
|
};
|
|
36243
36747
|
render() {
|
|
36244
|
-
return (hAsync(Host, { key: '
|
|
36748
|
+
return (hAsync(Host, { key: '300df3192b097c2d311a86e9254457c5147ab6b2' }, hAsync("div", { key: '065b138629ea9974dee471bcda5828c6a9a4a4bb', "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": String(this.isMenuOpen), "aria-haspopup": "dialog", "aria-label": this.getButtonLabel(), class: "date-range-picker-container", "data-focused": String(this.focusState.isFocused), onFocusin: this.handleFocus, onFocusout: this.handleBlur, part: "container" }, this.variant === "dropdown-outlined" && (hAsync("div", { key: '54370cecc8cf2769781605d7665b924c75b879ce', class: "date-range-picker-trigger", onClick: this.handleTriggerClick }, hAsync("bh-button", { key: '2a0ffdb12e550b49eb3ba4471adcdd139c382c2e', disabled: this.disabled, hierarchy: "secondary", icon: "trailing", iconName: "expand_more", label: this.getButtonLabel(), size: "sm" }))), this.variant === "dropdown-ghost" && (hAsync("div", { key: '13a8900ad6e73d68e7692288c3bdf20b213f852b', class: "date-range-picker-trigger", onClick: this.handleTriggerClick }, hAsync("bh-button", { key: 'e162cb491095f50e29e39d245626cf1fc9ea7605', disabled: this.disabled, hierarchy: "tertiary", icon: "trailing", iconName: "expand_more", label: this.getButtonLabel(), size: "sm" }))), this.variant === "input" && (hAsync("div", { key: 'e190b754ee9166b7ec4a265c13d44226fb9afd2d', class: "date-range-picker-trigger" }, hAsync("div", { key: '8ad7b6c63d94f40cbc91215dbc22d93832950f61', class: "date-range-inputs", onClick: this.handleTriggerClick }, hAsync("bh-input-text", { key: 'e32c3b25d5b50a6d5c718c9991786f604f751471', disabled: this.disabled, label: resolveI18n("bh-date-range-picker", "startLabel", this.startLabel, "Start Date"), placeholder: resolveI18n("bh-date-range-picker", "startPlaceholder", this.startPlaceholder, "Choose start date"), readOnly: true, showHelpIcon: false, showHintText: false, showLabel: this.showLabel, showTrailingIcon: true, trailingIcon: "calendar_today", value: this.formatDate(this.stateManager?.committedValue?.startDate || null), width: this.inputWidth }), hAsync("bh-input-text", { key: '46dc8de41db3c4bf83b1a75ec8c7bef73d76b4e2', disabled: this.disabled, label: resolveI18n("bh-date-range-picker", "endLabel", this.endLabel, "End Date"), placeholder: resolveI18n("bh-date-range-picker", "endPlaceholder", this.endPlaceholder, "Choose end date"), readOnly: true, showHelpIcon: false, showHintText: false, showLabel: this.showLabel, showTrailingIcon: true, trailingIcon: "calendar_today", value: this.formatDate(this.stateManager?.committedValue?.endDate || null), width: this.inputWidth })))), hAsync("div", { key: '2e8cc3c220928a396034fd65d6d178d524691ad1', class: {
|
|
36245
36749
|
"date-range-picker-menu-container": true,
|
|
36246
36750
|
"is-open": this.isMenuOpen && !supportsTopLayerPopover,
|
|
36247
|
-
}, part: "menu", popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.menuContainerEl = el) }, hAsync("bh-picker-menu", { key: '
|
|
36248
|
-
!(this.tempSelection?.startDate && this.tempSelection?.endDate), onBhAction: this.handleMenuAction, showFooter: this.showFooter, visible: this.isMenuOpen }, hAsync("bh-date-range-picker-content", { key: '
|
|
36751
|
+
}, part: "menu", popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.menuContainerEl = el) }, hAsync("bh-picker-menu", { key: 'bad9a6ccd2d992d55aaf840f6577059a31bdc6c4', disableApply: this.showFooter &&
|
|
36752
|
+
!(this.tempSelection?.startDate && this.tempSelection?.endDate), onBhAction: this.handleMenuAction, showFooter: this.showFooter, visible: this.isMenuOpen }, hAsync("bh-date-range-picker-content", { key: 'b3d032daf9f96aac4bbc5b8fe1e2db1b0471c243', disabled: this.disabled, disabledDates: this.disabledDates, maxYear: this.maxYear, minYear: this.minYear, onBhChange: this.handleContentDateRangeSelect, showOtherMonthDays: this.showOtherMonthDays, value: this.tempSelection ??
|
|
36249
36753
|
this.stateManager?.committedValue ??
|
|
36250
|
-
undefined })))), (this.isMenuOpen || this.isMenuClosing) && (hAsync("div", { key: '
|
|
36754
|
+
undefined })))), (this.isMenuOpen || this.isMenuClosing) && (hAsync("div", { key: '64e045d33992875e0cab607c3cab50da6e43856f', class: "date-range-picker-backdrop", onClick: this.handleBackdropClick }))));
|
|
36251
36755
|
}
|
|
36252
36756
|
static get watchers() { return {
|
|
36253
36757
|
"value": [{
|
|
@@ -36499,10 +37003,10 @@ class BhDateRangePickerContent {
|
|
|
36499
37003
|
}
|
|
36500
37004
|
};
|
|
36501
37005
|
render() {
|
|
36502
|
-
return (hAsync(Host, { key: '
|
|
37006
|
+
return (hAsync(Host, { key: '2873c8e1502ca19ee5025f38d0b36afc6a370e02' }, hAsync("div", { key: '76fa3f6d28afe10a23092da5adf0d651f4115d62', class: {
|
|
36503
37007
|
"date-range-picker-content": true,
|
|
36504
37008
|
"has-sidebar": this.showPresetSidebar,
|
|
36505
|
-
}, part: "container" }, this.showPresetSidebar && (hAsync("div", { key: '
|
|
37009
|
+
}, part: "container" }, this.showPresetSidebar && (hAsync("div", { key: '807fb5e9d659943c371f11858bb5f8ff2ad6b763', class: "preset-sidebar", part: "preset-sidebar" }, this.presetSidebarOptions.map((option) => (hAsync("button", { class: "preset-sidebar-item", key: option.value, onClick: () => this.bhPresetSelect.emit(option.value), type: "button" }, option.label))))), hAsync("div", { key: '6c537ad636a758e3464bea0a0dc8f9ff49568e61', class: "date-range-main" }, this.showDateInputs && (hAsync("div", { key: '6c82c5fdd67aed508da0e8f2c115301f47c0fbc2', class: "date-range-inputs", part: "date-inputs" }, hAsync("bh-input-text", { key: '4a0a345a8ac4579fc288cb25ba3be85f0d7daf7a', placeholder: resolveI18n("bh-date-range-picker-content", "startDatePlaceholder", this.startDatePlaceholder, "Start date"), readOnly: true, showHelpIcon: false, showHintText: false, showLabel: false, showTrailingIcon: true, trailingIcon: "calendar_today", value: this.formatDate(this.selectedRange?.startDate ?? null) }), hAsync("span", { key: '89337f017a0190e3b5352f2bc3466bc0cca98091', class: "date-range-separator" }, "\u2013"), hAsync("bh-input-text", { key: '45697ddc84b7b84ff1f8dc6169f11a4f000121d5', placeholder: resolveI18n("bh-date-range-picker-content", "endDatePlaceholder", this.endDatePlaceholder, "End date"), readOnly: true, showHelpIcon: false, showHintText: false, showLabel: false, showTrailingIcon: true, trailingIcon: "calendar_today", value: this.formatDate(this.selectedRange?.endDate ?? null) }))), this.showPresetRanges && (hAsync("div", { key: 'c6b2de889965088cbdde0c4e6ee6ee916895705a', class: "preset-ranges", part: "preset-ranges" }, hAsync("bh-button", { key: '2c0162a46e7242f60194a301494374ead966ab62', hierarchy: "tertiary", label: "Last week", onBhClick: () => this.bhPresetSelect.emit("last-week"), size: "sm" }), hAsync("bh-button", { key: '2524509e8026649c62276a1109c159f16e6bf48f', hierarchy: "tertiary", label: "Last month", onBhClick: () => this.bhPresetSelect.emit("last-month"), size: "sm" }), hAsync("bh-button", { key: 'e1bb42043248316008271fbf6d8a3c5c0342ce72', hierarchy: "tertiary", label: "Last year", onBhClick: () => this.bhPresetSelect.emit("last-year"), size: "sm" }))), hAsync("div", { key: '0f23d9455df550d6e10ca31c54138aa1c46d5432', class: "date-pickers", part: "date-pickers" }, hAsync("div", { key: '9ddef93db31778e910f3dc2a33930f68d342702c', class: "left-picker", part: "left-picker" }, hAsync("bh-date-picker-content", { key: '91d9bd5c0693972525431db8bef04095dc493cf8', disabled: this.disabled, disabledDates: this.disabledDates, displayMonth: this.leftMonth, displayYear: this.leftYear, maxYear: this.maxYear, minYear: this.minYear, onBhChange: this.handleLeftDateSelect, onBhMonthChange: this.handleLeftMonthYearChange, rangeEnd: this.selectedRange?.endDate ?? undefined, rangeStart: this.selectedRange?.startDate ?? undefined, showOtherMonthDays: this.showOtherMonthDays })), hAsync("div", { key: 'b73d3c8ab9463ea43d86dbe4102f77b3bd66ea42', class: "right-picker", part: "right-picker" }, hAsync("bh-date-picker-content", { key: 'd17c3ec80cf8bf7b7ad4c80dd523308e5824c21a', disabled: this.disabled, disabledDates: this.disabledDates, displayMonth: this.rightMonth, displayYear: this.rightYear, maxYear: this.maxYear, minYear: this.minYear, onBhChange: this.handleRightDateSelect, onBhMonthChange: this.handleRightMonthYearChange, rangeEnd: this.selectedRange?.endDate ?? undefined, rangeStart: this.selectedRange?.startDate ?? undefined, showOtherMonthDays: this.showOtherMonthDays })))))));
|
|
36506
37010
|
}
|
|
36507
37011
|
static get watchers() { return {
|
|
36508
37012
|
"value": [{
|
|
@@ -36563,7 +37067,7 @@ class BhDivider {
|
|
|
36563
37067
|
reportComponentError(COMPONENT_NAME$g, error);
|
|
36564
37068
|
}
|
|
36565
37069
|
render() {
|
|
36566
|
-
return (hAsync(Host, { key: '
|
|
37070
|
+
return (hAsync(Host, { key: '1bf1c6b73adbc8720bcb06c2fe04a1c2b118093e', "aria-orientation": this.orientation, class: {
|
|
36567
37071
|
divider: true,
|
|
36568
37072
|
[`divider-${this.orientation}`]: true,
|
|
36569
37073
|
[`divider-spacing-${this.spacing}`]: this.spacing !== "none",
|
|
@@ -36654,6 +37158,10 @@ class BhDropdown {
|
|
|
36654
37158
|
* Avatar alt text
|
|
36655
37159
|
*/
|
|
36656
37160
|
avatarAlt = "Avatar";
|
|
37161
|
+
/**
|
|
37162
|
+
* Initials shown when no avatar image is set (avatar variant)
|
|
37163
|
+
*/
|
|
37164
|
+
avatarInitials = "";
|
|
36657
37165
|
/**
|
|
36658
37166
|
* Avatar size for avatar variant
|
|
36659
37167
|
*/
|
|
@@ -37005,7 +37513,11 @@ class BhDropdown {
|
|
|
37005
37513
|
e.stopPropagation();
|
|
37006
37514
|
this.toggleDropdown();
|
|
37007
37515
|
}
|
|
37008
|
-
}, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "trigger", ref: (el) => (this.triggerRef = el), role: "button", tabindex: this.disabled ? -1 : 0 }, hAsync("bh-avatar", { alt: resolveI18n("bh-dropdown", "avatarAlt", this.avatarAlt, "Avatar"), imageSrc: this.avatarSrc || undefined, size: this.avatarSize,
|
|
37516
|
+
}, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "trigger", ref: (el) => (this.triggerRef = el), role: "button", tabindex: this.disabled ? -1 : 0 }, hAsync("bh-avatar", { alt: resolveI18n("bh-dropdown", "avatarAlt", this.avatarAlt, "Avatar"), imageSrc: this.avatarSrc || undefined, size: this.avatarSize, text: this.avatarInitials, variant: this.avatarSrc
|
|
37517
|
+
? "image"
|
|
37518
|
+
: this.avatarInitials
|
|
37519
|
+
? "text"
|
|
37520
|
+
: "placeholder" }))), this.searchable && this.isOpen && (hAsync("div", { class: "dropdown-search", part: "search" }, hAsync("bh-input-text", { onInput: (e) => {
|
|
37009
37521
|
const detail = e.detail;
|
|
37010
37522
|
this.searchTerm = detail;
|
|
37011
37523
|
this.handleSearch(detail);
|
|
@@ -37036,6 +37548,7 @@ class BhDropdown {
|
|
|
37036
37548
|
"header": [1],
|
|
37037
37549
|
"avatarSrc": [1, "avatar-src"],
|
|
37038
37550
|
"avatarAlt": [1, "avatar-alt"],
|
|
37551
|
+
"avatarInitials": [1, "avatar-initials"],
|
|
37039
37552
|
"avatarSize": [1, "avatar-size"],
|
|
37040
37553
|
"avatarName": [1, "avatar-name"],
|
|
37041
37554
|
"avatarEmail": [1, "avatar-email"],
|
|
@@ -37085,7 +37598,7 @@ class BhDropdownMenu {
|
|
|
37085
37598
|
}
|
|
37086
37599
|
};
|
|
37087
37600
|
render() {
|
|
37088
|
-
return (hAsync("bh-menu", { key: '
|
|
37601
|
+
return (hAsync("bh-menu", { key: '97a005e59e4f13047cbeb348e375dc7f8e9e9ada', animated: true, header: this.header, menuItems: this.menuItems, onBhItemClick: this.handleItemClick, orientation: "vertical", scrollable: this.scrollable, showIcons: this.showIcons, visible: this.visible }));
|
|
37089
37602
|
}
|
|
37090
37603
|
static get style() { return bhDropdownMenuCss(); }
|
|
37091
37604
|
static get cmpMeta() { return {
|
|
@@ -37166,7 +37679,7 @@ class BhEmojiPicker {
|
|
|
37166
37679
|
this.bhEmojiSelect.emit(config);
|
|
37167
37680
|
};
|
|
37168
37681
|
render() {
|
|
37169
|
-
return (hAsync(Host, { key: '
|
|
37682
|
+
return (hAsync(Host, { key: '3d8b02cfd9dfb632c24e47bc8dbf1bda1b630d87' }, hAsync("div", { key: '897f40b7c4065911ab01a2e7020ad77a8885b8d6', "aria-label": "Reaction picker", class: "emoji-picker", part: "panel", role: "dialog" }, hAsync("div", { key: '67e36ffa0468550ecfb074047a63b90044af0e6d', class: "emoji-list" }, this.emojis.map((config) => (hAsync("button", { "aria-label": config.name, class: "emoji-btn", key: config.shortcode, onClick: () => this.handleEmojiClick(config), part: "emoji-button", type: "button" }, hAsync("span", { "aria-hidden": "true", class: "emoji" }, config.emoji))))))));
|
|
37170
37683
|
}
|
|
37171
37684
|
static get watchers() { return {
|
|
37172
37685
|
"open": [{
|
|
@@ -37289,7 +37802,7 @@ class BhEmptyState {
|
|
|
37289
37802
|
render() {
|
|
37290
37803
|
const dimensions = this.getIllustrationDimensions();
|
|
37291
37804
|
const hasActions = this.primaryActionText || this.secondaryActionText;
|
|
37292
|
-
return (hAsync(Host, { key: '
|
|
37805
|
+
return (hAsync(Host, { key: '57930763a4c3ba2b353ba5f05e59ee5baf992553' }, hAsync("div", { key: '53794864da2883ea8571101fb0e9e4964db5c75c', class: "empty-state", part: "container", style: { maxWidth: this.safeMaxWidth } }, hAsync("div", { key: '5e690ac0ed6de13d5a3936f85b2462155910de9d', class: "empty-state-content" }, this.illustrationPath && (hAsync("div", { key: '556cd00dfa89a33a786964bbe0d8015e2b51ca53', class: "empty-state-illustration" }, hAsync("img", { key: 'c2102298c71b2b15b9517a81ce3966987aa9b974', alt: "Empty state illustration", src: this.illustrationPath, style: { width: dimensions.width, height: dimensions.height } }))), hAsync("div", { key: '720e5856e702ffde310fce1f92e334712502b52b', class: "empty-state-text" }, hAsync("h3", { key: '33c746c9fecfc80562aa1a513913c120f82eebda', class: "empty-state-title" }, resolveI18n("bh-empty-state", "emptyTitle", this.emptyTitle, "No items found")), hAsync("p", { key: '90140e2119b98ae865ed8f27ceb3400bb5d72e3b', class: "empty-state-description" }, resolveI18n("bh-empty-state", "description", this.description, "There are no items to display at the moment.")))), hasActions && (hAsync("div", { key: 'fb7d85c1d88567438f6c7b91b67a0eb4082cd8d4', class: "empty-state-actions" }, this.secondaryActionText && (hAsync("bh-button", { key: '67b02cb3407f4fb610fb1fdd02c6d23ed491722c', hierarchy: "secondary", icon: this.secondaryActionIcon ? "leading" : "none", iconName: this.secondaryActionIcon, label: this.secondaryActionText, onBhClick: this.handleSecondaryAction, size: "md" })), this.primaryActionText && (hAsync("bh-button", { key: '227959bfa5b4d013f08ee638b5a72244540336b8', hierarchy: "primary", icon: this.primaryActionIcon ? "leading" : "none", iconName: this.primaryActionIcon, label: this.primaryActionText, onBhClick: this.handlePrimaryAction, size: "md" })))))));
|
|
37293
37806
|
}
|
|
37294
37807
|
static get style() { return bhEmptyStateCss(); }
|
|
37295
37808
|
static get cmpMeta() { return {
|
|
@@ -37334,11 +37847,11 @@ class BhFab {
|
|
|
37334
37847
|
this.bhClick.emit();
|
|
37335
37848
|
};
|
|
37336
37849
|
render() {
|
|
37337
|
-
return (hAsync("button", { key: '
|
|
37850
|
+
return (hAsync("button", { key: '8c17cd53a08c3fc2e2b4717fac888dd86a9b75e4', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.ariaLabel, class: {
|
|
37338
37851
|
fab: true,
|
|
37339
37852
|
[`fab-${this.size}`]: true,
|
|
37340
37853
|
"fab-disabled": this.disabled,
|
|
37341
|
-
}, disabled: this.disabled, onClick: this.handleClick, part: "button", type: "button" }, hAsync("span", { key: '
|
|
37854
|
+
}, disabled: this.disabled, onClick: this.handleClick, part: "button", type: "button" }, hAsync("span", { key: '1d3996d1272bb4cd46a8760e5217d9f5a14b12d3', class: "material-symbols-outlined", part: "icon" }, this.iconName)));
|
|
37342
37855
|
}
|
|
37343
37856
|
static get style() { return bhFabCss(); }
|
|
37344
37857
|
static get cmpMeta() { return {
|
|
@@ -37402,7 +37915,7 @@ class BhFeaturedIcon {
|
|
|
37402
37915
|
};
|
|
37403
37916
|
const iconClasses = `material-symbols-outlined icon-${this.size}`;
|
|
37404
37917
|
const hasAriaLabel = Boolean(this.ariaLabel);
|
|
37405
|
-
return (hAsync(Host, { key: '
|
|
37918
|
+
return (hAsync(Host, { key: '6613175199aa85ed857ec5038d6897b3c5321df0', "aria-hidden": hasAriaLabel ? undefined : "true", "aria-label": this.ariaLabel, role: hasAriaLabel ? "img" : "presentation" }, hAsync("div", { key: 'b73a674d59efd182ed8032c61d8ebc7c9c80b00e', class: containerClasses, part: "container" }, hAsync("span", { key: '9fc74b7af1bf56aa1c0fc1832847d9f93a70fac0', "aria-hidden": "true", class: iconClasses }, this.icon))));
|
|
37406
37919
|
}
|
|
37407
37920
|
static get style() { return bhFeaturedIconCss(); }
|
|
37408
37921
|
static get cmpMeta() { return {
|
|
@@ -37421,7 +37934,7 @@ class BhFeaturedIcon {
|
|
|
37421
37934
|
}; }
|
|
37422
37935
|
}
|
|
37423
37936
|
|
|
37424
|
-
const bhFeedItemCss = () => `@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-feed-item-author-color:var(--color-text-
|
|
37937
|
+
const bhFeedItemCss = () => `@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-feed-item-author-color:var(--color-text-primary);--bh-feed-item-timestamp-color:var(--color-text-tertiary);--bh-feed-item-text-color:var(--color-text-secondary);--bh-feed-item-connector-color:var(--color-border-secondary);--bh-feed-item-connector-width:2px;--bh-feed-item-bubble-border:var(--color-border-secondary);--bh-feed-item-bubble-shadow:var(--shadow-xs)}}@layer bh-base{.feed-item{display:flex;align-items:flex-start;gap:var(--spacing-lg);position:relative;width:100%}.feed-item-avatar-col{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-xs);flex-shrink:0}.feed-item-icon-col{display:flex;align-items:flex-start;flex-shrink:0}.feed-item-avatar-col-connector{align-self:stretch;padding-bottom:var(--spacing-xs)}.feed-item-avatar{flex-shrink:0}.feed-item-connector{flex:1;width:var(--bh-feed-item-connector-width);min-height:1px;background:var(--bh-feed-item-connector-color);border-radius:var(--spacing-xxs)}.feed-item-content{display:flex;flex-direction:column;flex:1;min-width:0;min-height:1px;gap:var(--spacing-lg)}.feed-item-content-with-connector{padding-bottom:var(--spacing-4xl)}.feed-item-content-no-supporting{gap:0}.feed-item-header{display:flex;flex-direction:column;gap:0;width:100%}.feed-item-meta{display:flex;align-items:center;gap:var(--spacing-md);width:100%}.feed-item-author{font-size:var(--text-sm-size);font-weight:var(--weight-medium);line-height:var(--line-height-normal);color:var(--bh-feed-item-author-color);flex-shrink:0}.feed-item-timestamp{font-size:var(--text-xs-size);font-weight:var(--weight-regular);line-height:var(--text-xs-line);color:var(--bh-feed-item-timestamp-color);flex-shrink:0}.feed-item-text{font-size:var(--text-sm-size);font-weight:var(--weight-regular);line-height:var(--line-height-normal);color:var(--bh-feed-item-text-color);width:100%;word-wrap:break-word}.feed-item-supporting{width:100%}.feed-item-dot{flex-shrink:0;display:flex;align-items:flex-start;padding-top:var(--spacing-xs)}}@layer bh-variants{.feed-item-sm .feed-item-avatar ::slotted(*){width:var(--bh-avatar-size-sm);height:var(--bh-avatar-size-sm)}.feed-item-md .feed-item-avatar ::slotted(*){width:var(--bh-avatar-size-md);height:var(--bh-avatar-size-md)}.feed-item-supporting-text ::slotted(*){border:1px solid var(--bh-feed-item-bubble-border);border-radius:0 var(--spacing-md) var(--spacing-md) var(--spacing-md);padding:var(--spacing-lg);box-shadow:var(--bh-feed-item-bubble-shadow);font-size:var(--text-sm-size);line-height:var(--line-height-normal);color:var(--color-text-secondary)}.feed-item-supporting-file ::slotted(*){display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md) var(--spacing-lg);border:1px solid var(--color-border-secondary);border-radius:var(--radius-md);background:var(--color-bg-primary)}.feed-item-supporting-labels ::slotted(*){display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}}@layer bh-states{.feed-item{cursor:pointer}}`;
|
|
37425
37938
|
|
|
37426
37939
|
const COMPONENT_NAME$e = "bh-feed-item";
|
|
37427
37940
|
class BhFeedItem {
|
|
@@ -37450,6 +37963,21 @@ class BhFeedItem {
|
|
|
37450
37963
|
showSubtext = true;
|
|
37451
37964
|
/** Type of supporting content below the main text */
|
|
37452
37965
|
supportingContent = "none";
|
|
37966
|
+
/**
|
|
37967
|
+
* Item flavor: "user" renders the avatar/author column; "system" is a
|
|
37968
|
+
* sender-less message (notifications, audit events) with an optional
|
|
37969
|
+
* icon column instead.
|
|
37970
|
+
*/
|
|
37971
|
+
variant = "user";
|
|
37972
|
+
/** Material Symbols icon shown in place of the avatar (system variant) */
|
|
37973
|
+
icon;
|
|
37974
|
+
/**
|
|
37975
|
+
* Bold heading text rendered where the author name sits. When set it
|
|
37976
|
+
* wins over `author` (which still drives the avatar) — e.g. a user
|
|
37977
|
+
* notification titled "New comment" sent by Chris. Required for
|
|
37978
|
+
* system items, which have no author.
|
|
37979
|
+
*/
|
|
37980
|
+
itemTitle;
|
|
37453
37981
|
/** Emitted when the feed item is clicked */
|
|
37454
37982
|
bhClick;
|
|
37455
37983
|
componentDidCatch(error) {
|
|
@@ -37479,17 +38007,21 @@ class BhFeedItem {
|
|
|
37479
38007
|
};
|
|
37480
38008
|
render() {
|
|
37481
38009
|
const hasSupportingContent = this.supportingContent !== "none";
|
|
37482
|
-
return (hAsync(Host, { key: '
|
|
38010
|
+
return (hAsync(Host, { key: 'c236a43e36605b1769858667ff7046ca659dbf8a' }, hAsync("div", { key: 'b3bbc51636b33ab2db63bc3ae049ec683d344159', "aria-label": this.variant === "system"
|
|
38011
|
+
? this.itemTitle || "Notification"
|
|
38012
|
+
: this.author
|
|
38013
|
+
? `Feed item from ${this.author}`
|
|
38014
|
+
: "Feed item", class: {
|
|
37483
38015
|
"feed-item": true,
|
|
37484
38016
|
[`feed-item-${this.size}`]: true,
|
|
37485
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown, part: "container", role: "article", tabindex: 0 }, hAsync("div", {
|
|
38017
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown, part: "container", role: "article", tabindex: 0 }, this.variant === "system" ? (this.icon && (hAsync("div", { class: "feed-item-icon-col", part: "icon-column" }, hAsync("bh-featured-icon", { class: "feed-item-icon", color: "brand", icon: this.icon, part: "icon", size: this.size === "sm" ? "sm" : "md" })))) : (hAsync("div", { class: {
|
|
37486
38018
|
"feed-item-avatar-col": true,
|
|
37487
38019
|
"feed-item-avatar-col-connector": this.showConnector,
|
|
37488
|
-
}, part: "avatar-column" }, hAsync("div", {
|
|
38020
|
+
}, part: "avatar-column" }, hAsync("div", { class: "feed-item-avatar", part: "avatar" }, hAsync("slot", { name: "avatar" }, this.author && (hAsync("bh-avatar", { size: this.size === "sm" ? "sm" : "md", text: this.getInitials(), variant: "text" })))), this.showConnector && (hAsync("div", { class: "feed-item-connector", part: "connector" })))), hAsync("div", { key: '45bf8238ad5b012d7cb66127e5b519c56a28fbd0', class: {
|
|
37489
38021
|
"feed-item-content": true,
|
|
37490
38022
|
"feed-item-content-with-connector": this.showConnector && hasSupportingContent,
|
|
37491
38023
|
"feed-item-content-no-supporting": !hasSupportingContent,
|
|
37492
|
-
}, part: "content" }, hAsync("div", { key: '
|
|
38024
|
+
}, part: "content" }, hAsync("div", { key: 'bc295befb3b4c2d1596499c1e4611c4f7d8eb959', class: "feed-item-header", part: "header" }, hAsync("div", { key: '7c2253540cae0b97cb205fe1753c5dbaaa3b5e83', class: "feed-item-meta", part: "meta" }, (this.itemTitle || this.author) && (hAsync("span", { key: '16990d09e3e477031180420c53d56fa9093a4397', class: "feed-item-author", part: "author" }, this.itemTitle || this.author)), this.showSubtext && this.timestamp && (hAsync("span", { key: '7c31c0e8e80d85c12351ec061d88a0e3a5238296', class: "feed-item-timestamp", part: "timestamp" }, this.timestamp))), hAsync("div", { key: '70f12d1eb6c8af4e2a421859e631b7c073d721fd', class: "feed-item-text", part: "text" }, hAsync("slot", { key: '064ca607229d49a25477d9166abc6ecd515d8213' }, this.content))), hasSupportingContent && (hAsync("div", { key: '8c334fcf61af0f2084b85ea3ab960f3d8740246b', class: `feed-item-supporting feed-item-supporting-${this.supportingContent}`, part: "supporting" }, hAsync("slot", { key: 'c2e97890f6b6787c72c522c4c8af4fa88be3715e', name: "supporting" })))), this.showDot && (hAsync("div", { key: 'fc40de69cc7312dd15f103f606e0797bfb1de003', class: "feed-item-dot", part: "dot" }, hAsync("bh-badge-dot", { key: 'e7a4fde08499915ffee1a2b6145fbcf7176168f1', color: "success", size: this.size }))))));
|
|
37493
38025
|
}
|
|
37494
38026
|
static get style() { return bhFeedItemCss(); }
|
|
37495
38027
|
static get cmpMeta() { return {
|
|
@@ -37503,11 +38035,14 @@ class BhFeedItem {
|
|
|
37503
38035
|
"showConnector": [4, "show-connector"],
|
|
37504
38036
|
"showDot": [4, "show-dot"],
|
|
37505
38037
|
"showSubtext": [4, "show-subtext"],
|
|
37506
|
-
"supportingContent": [1, "supporting-content"]
|
|
38038
|
+
"supportingContent": [1, "supporting-content"],
|
|
38039
|
+
"variant": [513],
|
|
38040
|
+
"icon": [1],
|
|
38041
|
+
"itemTitle": [1, "item-title"]
|
|
37507
38042
|
},
|
|
37508
38043
|
"$listeners$": undefined,
|
|
37509
38044
|
"$lazyBundleId$": "-",
|
|
37510
|
-
"$attrsToReflect$": [["size", "size"]]
|
|
38045
|
+
"$attrsToReflect$": [["size", "size"], ["variant", "variant"]]
|
|
37511
38046
|
}; }
|
|
37512
38047
|
}
|
|
37513
38048
|
|
|
@@ -37639,10 +38174,10 @@ class BhGaugeChart {
|
|
|
37639
38174
|
const valuePath = percentage > 0
|
|
37640
38175
|
? this.createArc(center, center, radius, this.startAngle, valueEndAngle)
|
|
37641
38176
|
: "";
|
|
37642
|
-
return (hAsync(Host, { key: '
|
|
38177
|
+
return (hAsync(Host, { key: '08cac2c567cfbf6189396c13ed63b0c0cecf4966' }, hAsync("div", { key: '39648c460dfe98461eddfa96147adc74f5d8bbf2', "aria-label": this.getComputedAriaLabel(), "aria-valuemax": this.data.max, "aria-valuemin": 0, "aria-valuenow": this.data.value, class: {
|
|
37643
38178
|
"gauge-chart-container": true,
|
|
37644
38179
|
"gauge-chart-animated": this.animated,
|
|
37645
|
-
}, onClick: this.handleClick, part: "container", role: "meter" }, hAsync("div", { key: '
|
|
38180
|
+
}, onClick: this.handleClick, part: "container", role: "meter" }, hAsync("div", { key: '14831d7460d19f814cae15b9527149d270a0d880', class: "gauge-svg-wrapper", style: { width: `${this.size}px`, height: `${this.size}px` } }, hAsync("svg", { key: 'd33792f43acc78b65df4a4c5a2c986b6f95e45c4', class: "gauge-svg", height: this.size, viewBox: `0 0 ${this.size} ${this.size}`, width: this.size }, hAsync("path", { key: '5a847a1002d4c683aec3622f24a7ee72896a2b72', class: "gauge-track", d: trackPath, fill: "none", stroke: this.trackColor, "stroke-linecap": "round", "stroke-width": this.strokeWidth }), valuePath && (hAsync("path", { key: '4e0ff2fd972877df2bfa6a4180efbbca9dec87b9', class: "gauge-fill", d: valuePath, fill: "none", stroke: this.color, "stroke-linecap": "round", "stroke-width": this.strokeWidth }))), hAsync("div", { key: 'd20b04ba88da9acc2e3c20c7d571be848f17894a', class: "gauge-center-text", part: "center-text" }, hAsync("span", { key: 'd9aa3e7755a275dd807e4e4d17cb8311bb9490d0', class: "gauge-value" }, displayValue))), this.chartTitle && (hAsync("div", { key: 'c67aabbd140ea3171bbc8acd6ccfb953bc87d5ff', class: "gauge-title", part: "title" }, this.chartTitle)), this.description && (hAsync("div", { key: '3cecfe813eaac69f80a950633396c56d575a661a', class: "gauge-description", part: "description" }, this.description)))));
|
|
37646
38181
|
}
|
|
37647
38182
|
static get style() { return bhGaugeChartCss(); }
|
|
37648
38183
|
static get cmpMeta() { return {
|
|
@@ -37754,7 +38289,7 @@ class BhGuidedChecklist {
|
|
|
37754
38289
|
render() {
|
|
37755
38290
|
const cfg = this.parsedConfig;
|
|
37756
38291
|
const groups = this.parsedTaskGroups;
|
|
37757
|
-
return (hAsync(Host, { key: '
|
|
38292
|
+
return (hAsync(Host, { key: 'b3e42363800c16ed240c69510ecbb72340a05b38' }, hAsync("div", { key: '895ebe00610726e090d8cfa385a5abe7742bbaab', class: "checklist-trigger", onClick: this.handleTriggerClick }, hAsync("slot", { key: 'c0bcc3d02febc501e179de50ec265c5586af90aa', name: "trigger" }, hAsync("bh-fab", { key: '9d594b3a47b99508d4c8227852f14b9515a8a1c8', ariaLabel: this.open ? "Close guided checklist" : "Open guided checklist", iconName: this.fabIcon, size: "lg" }))), hAsync("bh-side-panel", { key: '9f00737562b322e554ebc8ce41c746fa741329d2', closeOnEsc: true, onBhClose: this.handlePanelClose, overlay: this.overlay, panelTitle: cfg?.title ?? "Guided Checklist", placement: "bottom-right", style: { "--bh-panel-floating-margin": "24px 24px 88px 24px" }, variant: "floating", visible: this.open, width: "lg" }, hAsync("div", { key: '6305494cb28b5a01292058364d3ef94de45f036f', class: "checklist-header", slot: "header" }, hAsync("div", { key: '3a71ae78a97b041ce8dd7d4593f37e94932f4a11', class: "checklist-header-top" }, cfg?.logoSrc && (hAsync("img", { key: '0d48bf2f7114de0cd92b1cc4469d854fad216c70', alt: cfg.logoAlt ?? "", class: "checklist-logo", src: cfg.logoSrc })), hAsync("bh-close-button", { key: '592944ee008cfbaea86a5d6adf428295b72f42ea', ariaLabel: "Close", onClick: this.handleClose })), cfg && (hAsync("div", { key: 'c1ca068e102ec9ef4c4ea02a542072c6db3abfad', class: "checklist-header-text" }, hAsync("h3", { key: 'a2ff9d492f0cc465569cacf019d6f5cda628dc8b', class: "checklist-title" }, cfg.title), cfg.description && (hAsync("p", { key: '033d665a5ec70724f632c22359678fcea96c7b7a', class: "checklist-description" }, cfg.description))))), hAsync("div", { key: 'e2cfdcdede5b85a24a1ed32d3eee0b8cc413ad8a', class: "checklist-body" }, groups.map((group) => (hAsync("bh-checklist-task-group", { group: group, key: group.id })))))));
|
|
37758
38293
|
}
|
|
37759
38294
|
static get style() { return bhGuidedChecklistCss(); }
|
|
37760
38295
|
static get cmpMeta() { return {
|
|
@@ -61529,12 +62064,12 @@ class BhHtmlEditor {
|
|
|
61529
62064
|
};
|
|
61530
62065
|
const showError = this.error && this.errorText;
|
|
61531
62066
|
const showHelper = !showError && this.helperText;
|
|
61532
|
-
return (hAsync(Host, { key: '
|
|
62067
|
+
return (hAsync(Host, { key: 'cc7db6bcb3ee54ec8b51300253add1f2103cafca', "aria-disabled": this.disabled ? "true" : undefined }, hAsync("div", { key: 'e7d7fecf6995ff129e0a83d9d49bb302631b1163', class: "html-editor-wrapper", part: "container" }, this.label && (hAsync("bh-label", { key: '55aac8bafb2a71aa1a3590923f84eb7e76f53ee6', disabled: this.disabled, label: this.label, required: this.required })), hAsync("div", { key: '9203a40a1add1f8f6515b686ecc3e1a01a331ef6', class: containerClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, this.editorReady && this.editor && !this.readOnly && (hAsync("bh-html-editor-toolbar", { key: '1750fdf1da50c78f877b772e68ad53899d5b7822', class: "editor-toolbar", disabled: this.disabled, editor: this.editor })), hAsync("div", { key: 'f7b06a770c0b3bc3074532403ee1a73df56eedde', class: "editor-content-wrapper" }, hAsync("slot", { key: 'a59754874577f86b587c25c507fd4de9b0ec2087' })), this.showBubbleMenu &&
|
|
61533
62068
|
this.editorReady &&
|
|
61534
62069
|
this.editor &&
|
|
61535
62070
|
!this.readOnly &&
|
|
61536
62071
|
!this.disabled &&
|
|
61537
|
-
!this.selectionEmpty && (hAsync("bh-html-editor-bubble-menu", { key: '
|
|
62072
|
+
!this.selectionEmpty && (hAsync("bh-html-editor-bubble-menu", { key: '094de6ecd4366bbdef7187a1b880e38ff0d80a0c', editor: this.editor, targetEl: this.contentEl }))), showHelper && (hAsync("div", { key: 'b79c99aa7b817ba342b1409c94dedf74b65d2c4a', class: "helper-text", part: "helper-text" }, this.helperText)), showError && (hAsync("div", { key: 'ec419bc000bc26d956f163b30705b8f8c88f2bcf', class: "error-text", part: "error-text" }, this.errorText)))));
|
|
61538
62073
|
}
|
|
61539
62074
|
static get formAssociated() { return true; }
|
|
61540
62075
|
static get watchers() { return {
|
|
@@ -61800,17 +62335,17 @@ class BhHtmlEditorBubbleMenu {
|
|
|
61800
62335
|
};
|
|
61801
62336
|
render() {
|
|
61802
62337
|
const bubbleButtons = TOOLBAR_BUTTONS.filter((b) => BUBBLE_MENU_ACTIONS.includes(b.action));
|
|
61803
|
-
return (hAsync(Host, { key: '
|
|
62338
|
+
return (hAsync(Host, { key: '930a76dd3b887abf2bdf9b97fff737cc4c88a68c' }, hAsync("div", { key: '875162d7eb90aa6fec2c167e72d6755d8e01f4b8', "aria-label": resolveI18n("bh-html-editor-bubble-menu", "ariaLabel", this.ariaLabel, "Text formatting"), class: {
|
|
61804
62339
|
"bubble-menu": true,
|
|
61805
62340
|
"bubble-menu-below": this.placeBelow,
|
|
61806
62341
|
"bubble-menu-visible": this.visible,
|
|
61807
62342
|
}, onKeyDown: this.handleMenuKeyDown, part: "bubble-menu", role: "toolbar", style: {
|
|
61808
62343
|
left: `${this.posX}px`,
|
|
61809
62344
|
top: `${this.posY}px`,
|
|
61810
|
-
}, tabIndex: this.visible ? 0 : -1 }, hAsync("div", { key: '
|
|
62345
|
+
}, tabIndex: this.visible ? 0 : -1 }, hAsync("div", { key: '1e99daa2ba37aefd844b0060bb2e04b7472c0cde', class: "bubble-menu-content" }, bubbleButtons.map((btn) => (hAsync("button", { "aria-label": btn.label, "aria-pressed": String(this.activeStates[btn.action] ?? false), class: {
|
|
61811
62346
|
"bubble-btn": true,
|
|
61812
62347
|
"bubble-btn-active": this.activeStates[btn.action] ?? false,
|
|
61813
|
-
}, key: btn.action, onClick: () => this.handleAction(btn.action), title: btn.label, type: "button" }, hAsync("span", { class: "material-symbols-outlined" }, btn.icon))))), hAsync("div", { key: '
|
|
62348
|
+
}, key: btn.action, onClick: () => this.handleAction(btn.action), title: btn.label, type: "button" }, hAsync("span", { class: "material-symbols-outlined" }, btn.icon))))), hAsync("div", { key: 'c1f72ec97177e2c042e4b0070e1f54778d13c17d', class: "bubble-arrow" }))));
|
|
61814
62349
|
}
|
|
61815
62350
|
static get style() { return bhHtmlEditorBubbleMenuCss(); }
|
|
61816
62351
|
static get cmpMeta() { return {
|
|
@@ -62024,7 +62559,7 @@ class BhHtmlEditorToolbar {
|
|
|
62024
62559
|
this.focusedIndex = index;
|
|
62025
62560
|
};
|
|
62026
62561
|
render() {
|
|
62027
|
-
return (hAsync(Host, { key: '
|
|
62562
|
+
return (hAsync(Host, { key: 'f96d1686ef816f98780f2fa6e8ee4c87df494f0b' }, hAsync("div", { key: 'd43361b08d09e66fd0f4e1e9413e9e1246b353c7', "aria-label": resolveI18n("bh-html-editor-toolbar", "ariaLabel", this.ariaLabel, "Text formatting"), class: "toolbar", onKeyDown: this.handleToolbarKeyDown, part: "toolbar", role: "toolbar" }, hAsync("div", { key: '5f6e4246b44d70f4f0ab59a693fa8cec45995ed9', class: "font-family-wrapper" }, hAsync("select", { key: '13ef4e0e550148099166ea8eea00cc7f3eafbaad', "aria-label": "Font family", class: "font-family-select", disabled: this.disabled, onChange: this.handleFontFamilyChange, ...{ value: this.currentFontFamily } }, FONT_FAMILIES.map((font) => (hAsync("option", { key: font, value: font }, font)))), hAsync("span", { key: '4afc2f74c62939ea7190b1cfde16d217fe55e706', class: "material-symbols-outlined font-family-chevron" }, "expand_more")), TOOLBAR_BUTTONS.map((btn, index) => (hAsync("button", { "aria-keyshortcuts": ARIA_KEY_SHORTCUTS[btn.action], "aria-label": btn.label, "aria-pressed": String(this.activeStates[btn.action] ?? false), class: {
|
|
62028
62563
|
"toolbar-btn": true,
|
|
62029
62564
|
"toolbar-btn-active": this.activeStates[btn.action] ?? false,
|
|
62030
62565
|
}, disabled: this.disabled, key: btn.action, onClick: () => this.handleAction(btn.action), onFocus: () => this.handleButtonFocus(index), tabIndex: !this.disabled && index === this.focusedIndex ? 0 : -1, title: btn.label, type: "button" }, hAsync("span", { class: "material-symbols-outlined" }, btn.icon)))))));
|
|
@@ -62126,7 +62661,7 @@ class BhIllustrations {
|
|
|
62126
62661
|
width: `${dimensions.width}px`,
|
|
62127
62662
|
height: `${dimensions.height}px`,
|
|
62128
62663
|
};
|
|
62129
|
-
return (hAsync(Host, { key: '
|
|
62664
|
+
return (hAsync(Host, { key: '01e0c2071c7edcedf2a6deacbf85173f9eb89a8a' }, hAsync("div", { key: 'b677d414e5d6b2891d84180168596d2f0a1426d9', class: `illustration illustration-${this.size}`, part: "container" }, hAsync("div", { key: '94fef0ba1d774bd5bfeff5a5a1aeae6fdedd3e50', class: "illustration-wrapper", part: "wrapper" }, hAsync("div", { key: '26e9469392a6617fee99e591424014f28be8a412', class: "illustration-svg-container", style: containerStyle }, hAsync("img", { key: '785ad9d7341c422b3d7de5fbcb716250d962ca45', alt: this.alt, class: "illustration-image", src: this.getIllustrationSrc(), style: containerStyle })), hasContent && (hAsync("div", { key: 'b8e52fc58798fac04869c5939640a48b6b4ef894', class: "illustration-content" }, this.illustrationTitle && (hAsync("h3", { key: '89fc03034fa853566cd44e75485e28bf87343148', class: "illustration-title" }, this.illustrationTitle)), this.description && (hAsync("p", { key: 'c835428e2e347e4b8f34bc3bc2ee9ec0e5f96500', class: "illustration-description" }, this.description))))))));
|
|
62130
62665
|
}
|
|
62131
62666
|
static get style() { return bhIllustrationsCss(); }
|
|
62132
62667
|
static get cmpMeta() { return {
|
|
@@ -62232,13 +62767,13 @@ class BhInlineCta {
|
|
|
62232
62767
|
render() {
|
|
62233
62768
|
const isImageType = this.type === "image";
|
|
62234
62769
|
const isEmailType = this.type === "email-field";
|
|
62235
|
-
return (hAsync(Host, { key: '
|
|
62770
|
+
return (hAsync(Host, { key: '544d60ca10d116650fba25c8406024dba2fbe460' }, hAsync("div", { key: '9a070345dcba5a5b586735cb989e7d9a4d36a481', "aria-label": this.heading || "Call to action", class: {
|
|
62236
62771
|
"inline-cta": true,
|
|
62237
62772
|
"inline-cta-dismissable": this.showDismiss,
|
|
62238
62773
|
[`inline-cta-${this.layout}`]: true,
|
|
62239
62774
|
[`inline-cta-type-${this.type}`]: true,
|
|
62240
62775
|
"inline-cta-with-media": isImageType && !!this.imageSrc,
|
|
62241
|
-
}, part: "container", role: "region" }, isImageType && this.renderMedia(), hAsync("div", { key: '
|
|
62776
|
+
}, part: "container", role: "region" }, isImageType && this.renderMedia(), hAsync("div", { key: '9e37b22932ea2d71e806cb8662ea83ef5ddfed24', class: "inline-cta-content", part: "content" }, hAsync("div", { key: '003bb25e9dcd46c52f8ff93582eb5af5c7fd26cb', class: "inline-cta-text", part: "text" }, this.heading && (hAsync("h3", { key: 'd3e4a78ec40e6d7e3cf1842900ee237379ac2c42', class: "inline-cta-heading", part: "heading" }, this.heading)), this.description && (hAsync("p", { key: '7e81e165c140e47b31dc5db9758a0e31d607fd24', class: "inline-cta-description", part: "description" }, this.description))), isEmailType && this.renderEmailSection(), hAsync("div", { key: '97fdb147b914df3c67b7b355fd611b892046f273', class: "inline-cta-body", part: "body" }, hAsync("slot", { key: '6b14c6c9cb9502db7fd3ac1f52af50758f715d62' })), hAsync("div", { key: 'decece4f213edf5c5788357338f06e64fd2ba5e9', class: "inline-cta-actions", onClick: this.handleActionClick, part: "actions" }, hAsync("slot", { key: '0c0a5d8dca2495f9cecd1fbabe6da7019ebd61f4', name: "actions" }))), this.showDismiss && (hAsync("div", { key: 'a655f1ba46a0529f7cd2111704cd90a26dc41054', class: "inline-cta-dismiss", part: "dismiss" }, hAsync("bh-close-button", { key: 'ec49303e55319c01e45b8aa718d6c7963a8ae595', ariaLabel: resolveI18n(COMPONENT_NAME$c, "dismissAriaLabel", this.dismissAriaLabel, "Dismiss"), onClick: this.handleDismiss }))))));
|
|
62242
62777
|
}
|
|
62243
62778
|
static get style() { return bhInlineCtaCss(); }
|
|
62244
62779
|
static get cmpMeta() { return {
|
|
@@ -62706,7 +63241,7 @@ class BhInputAutocomplete {
|
|
|
62706
63241
|
};
|
|
62707
63242
|
render() {
|
|
62708
63243
|
const { tags, remaining } = this.visibleTags;
|
|
62709
|
-
return (hAsync(Host, { key: '
|
|
63244
|
+
return (hAsync(Host, { key: 'f082ab628b77d4a8e8b17a3e86532f5e40ed4ca9' }, hAsync("div", { key: '087b23a67b7cb2c142e3cfc6e390cceb693f1d8d', class: "input-autocomplete-wrapper", onKeyDown: this.handleKeyDown, part: "wrapper", style: { width: this.safeWidth } }, this.multiSelect ? (
|
|
62710
63245
|
// Multi-select input with flowing tags
|
|
62711
63246
|
hAsync("div", { class: "input-wrapper", part: "input-wrapper" }, hAsync("bh-label", { disabled: this.disabled, helpIconTooltip: resolveI18n("bh-input-autocomplete", "helpIconTooltip", this.helpIconTooltip, "Help"), label: this.showLabel ? this.label : "", onBhHelpClick: () => this.bhHelpClick.emit(), required: this.required, showHelpIcon: this.showHelpIcon }, hAsync("div", { class: {
|
|
62712
63247
|
"input-field": true,
|
|
@@ -62732,9 +63267,9 @@ class BhInputAutocomplete {
|
|
|
62732
63267
|
else {
|
|
62733
63268
|
this.showDropdown = false;
|
|
62734
63269
|
}
|
|
62735
|
-
}, placeholder: this.placeholder, required: this.required, showHelpIcon: this.showHelpIcon, showHintText: this.showHintText, showLabel: this.showLabel, showLeadingIcon: this.showLeadingIcon, size: this.size, state: this.getInputTextState(), value: this.value, width: "100%" })), hAsync("div", { key: '
|
|
63270
|
+
}, placeholder: this.placeholder, required: this.required, showHelpIcon: this.showHelpIcon, showHintText: this.showHintText, showLabel: this.showLabel, showLeadingIcon: this.showLeadingIcon, size: this.size, state: this.getInputTextState(), value: this.value, width: "100%" })), hAsync("div", { key: '8fd462436dee004f672d2a2eb7c5685be421113c', "aria-atomic": "true", "aria-live": "polite", class: "sr-only", role: "status" }, this.showDropdown && this.filteredOptions.length > 0
|
|
62736
63271
|
? `${this.filteredOptions.length} result${this.filteredOptions.length === 1 ? "" : "s"} available`
|
|
62737
|
-
: ""), hAsync("bh-autocomplete-menu", { key: '
|
|
63272
|
+
: ""), hAsync("bh-autocomplete-menu", { key: '9b7adf1092069ae8f67989ee5fbc421880c5a003', listboxId: this.listboxId, menuId: this.menuId, menuItems: this.filteredOptions, multiSelect: this.multiSelect, onBhItemClick: this.handleOptionSelect, onBhItemHover: this.handleItemHover, popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.autocompleteMenuEl = el), searchQuery: this.value, selectedIndex: this.focusedOptionIndex, visible: this.showDropdown }))));
|
|
62738
63273
|
}
|
|
62739
63274
|
static get watchers() { return {
|
|
62740
63275
|
"value": [{
|
|
@@ -63188,12 +63723,12 @@ class BhInputNumber {
|
|
|
63188
63723
|
(this.max !== null &&
|
|
63189
63724
|
this.currentValue !== null &&
|
|
63190
63725
|
this.currentValue >= this.max);
|
|
63191
|
-
return (hAsync(Host, { key: '
|
|
63726
|
+
return (hAsync(Host, { key: '5f99208f3327da4bde3a44c5e49c95d59091f22c' }, hAsync("div", { key: '137991cc58efe12da439b10be030fec07491524d', class: "input-wrapper", part: "wrapper", style: wrapperStyle }, hAsync("bh-label", { key: '81067e703c9c8e540ff9bbb2880ac06f1edf1372', disabled: this.disabled, helpIconTooltip: resolveI18n("bh-input-number", "helpIconTooltip", this.helpIconTooltip, "Help"), label: this.showLabel ? this.label : "", onBhHelpClick: this.handleHelpIconClick, required: this.required, showHelpIcon: this.showHelpIcon }, hAsync("div", { key: '72dbfc1d68502661f8e6271ff426fe76606c666c', class: inputFieldClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container" }, hAsync("div", { key: '81f5cfd09ffd9e1696cee9404875a68a14f74a97', class: "input-content", part: "content" }, this.showLeadingIcon && (hAsync("span", { key: '0f1be5d3707848f22eeafbb0eead6ac1b94f2c7d', "aria-hidden": "true", class: "material-symbols-outlined leading-icon", part: "leading-icon" }, this.leadingIcon)), this.prefixText && (hAsync("span", { key: 'a5b4a79faa9fc90df6df079bde072dc290c19073', class: "prefix-text", part: "prefix" }, this.prefixText)), hAsync("input", { key: '1103b038cbf0740a78ad50c5ec6f69d14781ca39', "aria-describedby": [
|
|
63192
63727
|
this.showHintText && displayHintText ? "hint-text" : "",
|
|
63193
63728
|
this.ariaDescribedBy,
|
|
63194
63729
|
]
|
|
63195
63730
|
.filter(Boolean)
|
|
63196
|
-
.join(" ") || undefined, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": showError ? "true" : "false", "aria-label": this.label, "aria-readonly": String(this.readOnly), "aria-required": String(this.required), "aria-valuemax": this.max ?? undefined, "aria-valuemin": this.min ?? undefined, "aria-valuenow": this.currentValue ?? undefined, class: `input-element ${textColorClass}`, "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, max: this.max ?? undefined, min: this.min ?? undefined, name: this.name, onBlur: this.handleInputBlur, onFocus: this.handleInputFocus, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, part: "input", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.inputEl = el), required: this.required, step: this.safeStep, type: "number", value: this.currentValue ?? "" }), this.suffixText && (hAsync("span", { key: '
|
|
63731
|
+
.join(" ") || undefined, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": showError ? "true" : "false", "aria-label": this.label, "aria-readonly": String(this.readOnly), "aria-required": String(this.required), "aria-valuemax": this.max ?? undefined, "aria-valuemin": this.min ?? undefined, "aria-valuenow": this.currentValue ?? undefined, class: `input-element ${textColorClass}`, "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, max: this.max ?? undefined, min: this.min ?? undefined, name: this.name, onBlur: this.handleInputBlur, onFocus: this.handleInputFocus, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, part: "input", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.inputEl = el), required: this.required, step: this.safeStep, type: "number", value: this.currentValue ?? "" }), this.suffixText && (hAsync("span", { key: '001665f0d80c960eb00efe73bb36e85506613356', class: "suffix-text", part: "suffix" }, this.suffixText)), hAsync("div", { key: '99ca52cc1470853d2586632f05ac321826c3e0b5', class: "input-stepper", "input-stepper": true, part: "stepper" }, hAsync("bh-button-icon", { key: '07ae1aab738d0d6be26d32932af159b239aafb17', ariaLabel: "Decrease value", disabled: isDecrementDisabled, hierarchy: "tertiary", iconName: "remove", onClick: this.decrement, size: "xs" }), hAsync("bh-button-icon", { key: '8215b1139439c8532b4f092bd89754b6d26b00e7', ariaLabel: "Increase value", disabled: isIncrementDisabled, hierarchy: "tertiary", iconName: "add", onClick: this.increment, size: "xs" }))))), this.showHintText && displayHintText && (hAsync("div", { key: '48c97f7e2511218d76d82d99ac27c90118dee244', class: { "hint-text": true, "hint-error": showError }, id: "hint-text", part: "hint" }, displayHintText)))));
|
|
63197
63732
|
}
|
|
63198
63733
|
static get formAssociated() { return true; }
|
|
63199
63734
|
static get watchers() { return {
|
|
@@ -63494,14 +64029,14 @@ class BhInputPassword {
|
|
|
63494
64029
|
"input-container-disabled": this.disabled,
|
|
63495
64030
|
"input-container-with-leading": this.showLeadingIcon,
|
|
63496
64031
|
};
|
|
63497
|
-
return (hAsync(Host, { key: '
|
|
64032
|
+
return (hAsync(Host, { key: 'e66cfe316166a2bb638bf12541e240c690a4ceb0' }, hAsync("div", { key: '1f08043e3e4d9fa0261cbea2e4b43afead3bd2b4', class: "input-wrapper", part: "wrapper" }, hAsync("bh-label", { key: '456b7a8823c8eec77bd7b9c85e0bccfde8ac6e49', disabled: this.disabled, helpIconTooltip: resolveI18n("bh-input-password", "helpIconTooltip", this.helpIconTooltip, "Password requirements"), label: this.showLabel ? this.label : "", onBhHelpClick: this.handleHelpClick, required: this.required, showHelpIcon: this.showHelpIcon }, hAsync("div", { key: '3c9c983773f850d4599c7e9ec2c8628b39b58751', class: containerClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container" }, hAsync("div", { key: '7aa7196b587ef16537c9a7baadf6bfb3a5e45886', class: "input-content" }, this.showLeadingIcon && (hAsync("span", { key: 'e05f88c7f4b3217d6a5dc9596d6fc3b3b6ddda86', "aria-hidden": "true", class: "material-symbols-outlined leading-icon", part: "prefix" }, this.leadingIcon)), hAsync("input", { key: 'a1f94981145494c89ec4977fc3986886201d7bdb', "aria-describedby": [
|
|
63498
64033
|
this.showHintText && this.hintText ? "hint-text" : "",
|
|
63499
64034
|
this.ariaDescribedBy,
|
|
63500
64035
|
]
|
|
63501
64036
|
.filter(Boolean)
|
|
63502
|
-
.join(" ") || undefined, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": this.error ? "true" : "false", "aria-label": this.label, "aria-readonly": String(this.readOnly), "aria-required": String(this.required), autocomplete: this.autocomplete, class: "input-element", "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, name: this.name, onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, part: "input", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.inputEl = el), required: this.required, type: this.showPassword ? "text" : "password", value: this.value })), hAsync("button", { key: '
|
|
64037
|
+
.join(" ") || undefined, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": this.error ? "true" : "false", "aria-label": this.label, "aria-readonly": String(this.readOnly), "aria-required": String(this.required), autocomplete: this.autocomplete, class: "input-element", "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, name: this.name, onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, part: "input", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.inputEl = el), required: this.required, type: this.showPassword ? "text" : "password", value: this.value })), hAsync("button", { key: 'a60a6bcbcf4e4711fa5d2827e02d56837473dd63', "aria-label": this.showPassword
|
|
63503
64038
|
? resolveI18n("bh-input-password", "hidePasswordAriaLabel", undefined, "Hide password")
|
|
63504
|
-
: resolveI18n("bh-input-password", "showPasswordAriaLabel", undefined, "Show password"), "aria-pressed": this.showPassword ? "true" : "false", class: "material-symbols-outlined visibility-toggle", disabled: this.disabled, onClick: this.togglePasswordVisibility, part: "suffix", type: "button" }, this.showPassword ? "visibility_off" : "visibility"))), this.showHintText && this.hintText && (hAsync("div", { key: '
|
|
64039
|
+
: resolveI18n("bh-input-password", "showPasswordAriaLabel", undefined, "Show password"), "aria-pressed": this.showPassword ? "true" : "false", class: "material-symbols-outlined visibility-toggle", disabled: this.disabled, onClick: this.togglePasswordVisibility, part: "suffix", type: "button" }, this.showPassword ? "visibility_off" : "visibility"))), this.showHintText && this.hintText && (hAsync("div", { key: 'bf55a8e45957b7faa8d476e5d41eb48f53d4b641', class: { "hint-text": true, "hint-error": this.error }, id: "hint-text" }, this.hintText)))));
|
|
63505
64040
|
}
|
|
63506
64041
|
static get formAssociated() { return true; }
|
|
63507
64042
|
static get style() { return bhInputPasswordCss(); }
|
|
@@ -63857,7 +64392,7 @@ class BhInputText {
|
|
|
63857
64392
|
},
|
|
63858
64393
|
});
|
|
63859
64394
|
const wrapperStyle = this.safeWidth ? { width: this.safeWidth } : {};
|
|
63860
|
-
return (hAsync(Host, { key: '
|
|
64395
|
+
return (hAsync(Host, { key: 'fd68ed8d9760d81e87cf5c5bb4662d3760152d77' }, hAsync("div", { key: 'd67659734019a46231e60a4becf34d194ae76e63', class: "input-wrapper", part: "wrapper", style: wrapperStyle }, hAsync("bh-label", { key: '97d68713ffe5e9f815091a035aa24085b4175951', disabled: this.disabled, helpIconTooltip: resolveI18n("bh-input-text", "helpIconTooltip", this.helpIconTooltip, "Help"), label: this.showLabel ? this.label : "", onBhHelpClick: this.handleHelpClick, required: this.required, showHelpIcon: this.showHelpIcon }, hAsync("div", { key: 'f4daa8903354b686a6335e40c5f64b75b6f8db24', class: containerClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container" }, hAsync("div", { key: 'c4b05d6f6633441441faa2cd17207649d56d92d2', class: "input-content" }, this.showLeadingIcon && (hAsync("span", { key: 'e2f29d1ac639640c9cdcf855c85921330c56782f', "aria-hidden": "true", class: "material-symbols-outlined leading-icon", part: "prefix" }, this.leadingIcon)), this.multiline ? (hAsync("textarea", { "aria-atomic": "true", "aria-busy": "false", "aria-describedby": [
|
|
63861
64396
|
this.showHintText && this.hintText ? "hint-text" : "",
|
|
63862
64397
|
this.ariaDescribedBy,
|
|
63863
64398
|
]
|
|
@@ -63867,7 +64402,7 @@ class BhInputText {
|
|
|
63867
64402
|
this.ariaDescribedBy,
|
|
63868
64403
|
]
|
|
63869
64404
|
.filter(Boolean)
|
|
63870
|
-
.join(" ") || undefined, "aria-details": this.ariaDetails, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": this.error ? "true" : "false", "aria-label": this.label, "aria-live": "polite", "aria-owns": this.ariaOwns, "aria-readonly": String(this.readOnly), "aria-required": String(this.required), autocapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autoCorrect, class: "input-element", "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, name: this.name, onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, part: "input", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.inputEl = el), required: this.required, type: this.type, value: this.value })), this.showTrailingIcon && (hAsync("span", { key: '
|
|
64405
|
+
.join(" ") || undefined, "aria-details": this.ariaDetails, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": this.error ? "true" : "false", "aria-label": this.label, "aria-live": "polite", "aria-owns": this.ariaOwns, "aria-readonly": String(this.readOnly), "aria-required": String(this.required), autocapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autoCorrect, class: "input-element", "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, name: this.name, onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, part: "input", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.inputEl = el), required: this.required, type: this.type, value: this.value })), this.showTrailingIcon && (hAsync("span", { key: 'e4b637bb7a5183e6573982127bb0e32499be77b5', "aria-hidden": "true", class: "material-symbols-outlined trailing-icon", part: "suffix" }, this.trailingIcon))))), this.showHintText && this.hintText && (hAsync("div", { key: '562f6ae808edd4b8c5f00fa3da349025e39ef3ab', "aria-live": this.error ? "assertive" : "polite", class: { "hint-text": true, "hint-error": this.error }, id: "hint-text" }, this.hintText)))));
|
|
63871
64406
|
}
|
|
63872
64407
|
static get formAssociated() { return true; }
|
|
63873
64408
|
static get watchers() { return {
|
|
@@ -64261,7 +64796,7 @@ class BhInputVerification {
|
|
|
64261
64796
|
}
|
|
64262
64797
|
render() {
|
|
64263
64798
|
const wrapperStyle = this.safeWidth ? { width: this.safeWidth } : {};
|
|
64264
|
-
return (hAsync(Host, { key: '
|
|
64799
|
+
return (hAsync(Host, { key: '511ee54d643c20b01ec50fc5ec60d780874f8e94' }, hAsync("div", { key: '9ebee96e914322316563b5c32a622cbac7e581c3', class: "input-verification-wrapper", "data-focused": String(this.focusState.isFocused), part: "wrapper", style: wrapperStyle }, hAsync("bh-label", { key: 'c128de362fd332a76ac5d99b6a563fbfbeec8d69', disabled: this.disabled, label: this.showLabel ? this.label : "", required: this.required }, hAsync("div", { key: 'db42e6b23ec6189668701fbcc5d29ff2786fa7d8', "aria-label": this.label, class: "input-verification-container", part: "container", role: "group" }, this.renderInputs())), this.showHintText && this.hintText && (hAsync("div", { key: '2a3734117f34c8ba7c393dae1180c1a08f99929a', class: { "hint-text": true, error: this.error }, part: "hint" }, resolveI18n("bh-input-verification", "hintText", this.hintText, "This is a hint text to help user."))))));
|
|
64265
64800
|
}
|
|
64266
64801
|
static get formAssociated() { return true; }
|
|
64267
64802
|
static get watchers() { return {
|
|
@@ -64303,6 +64838,45 @@ class BhInputVerification {
|
|
|
64303
64838
|
}; }
|
|
64304
64839
|
}
|
|
64305
64840
|
|
|
64841
|
+
const bhKbdCss = () => `:host{display:inline-flex}.kbd-group{display:inline-flex;gap:var(--spacing-xxs, 2px);align-items:center}.cap{display:inline-flex;align-items:center;justify-content:center;min-width:20px;padding:0 var(--spacing-xs, 4px);font-family:var(--font-inter, inherit);font-size:var(--text-xs-size, 0.75rem);font-weight:var(--weight-medium, 500);line-height:20px;color:var(--color-text-secondary, #475467);background:var(--color-bg-secondary, #f9fafb);border:1px solid var(--color-border-primary, #e4e7ec);border-bottom-width:2px;border-radius:var(--radius-sm, 6px)}.size-md .cap{min-width:24px;padding:0 var(--spacing-sm, 8px);font-size:var(--text-sm-size, 0.875rem);line-height:24px}`;
|
|
64842
|
+
|
|
64843
|
+
class BhKbd {
|
|
64844
|
+
constructor(hostRef) {
|
|
64845
|
+
registerInstance(this, hostRef);
|
|
64846
|
+
}
|
|
64847
|
+
/**
|
|
64848
|
+
* Key combination, "+"-separated (e.g. "cmd+k", "ctrl+shift+p").
|
|
64849
|
+
* When omitted, slotted content renders inside a single key cap.
|
|
64850
|
+
*/
|
|
64851
|
+
keys;
|
|
64852
|
+
/**
|
|
64853
|
+
* Key cap size
|
|
64854
|
+
*/
|
|
64855
|
+
size = "sm";
|
|
64856
|
+
parseKeys() {
|
|
64857
|
+
if (!this.keys) {
|
|
64858
|
+
return [];
|
|
64859
|
+
}
|
|
64860
|
+
return splitHotkey(this.keys).map(keyLabel);
|
|
64861
|
+
}
|
|
64862
|
+
render() {
|
|
64863
|
+
const parsed = this.parseKeys();
|
|
64864
|
+
return (hAsync(Host, { key: '3d51397a2b634e4a10458247d573c77d924794a6' }, hAsync("span", { key: '0bf951bcf127ca9560dc669a63adaeb30ad091ea', "aria-label": this.keys, class: { "kbd-group": true, [`size-${this.size}`]: true }, part: "group" }, parsed.length > 0 ? (parsed.map((label) => (hAsync("kbd", { class: "cap", key: label, part: "cap" }, label)))) : (hAsync("kbd", { class: "cap", part: "cap" }, hAsync("slot", null))))));
|
|
64865
|
+
}
|
|
64866
|
+
static get style() { return bhKbdCss(); }
|
|
64867
|
+
static get cmpMeta() { return {
|
|
64868
|
+
"$flags$": 777,
|
|
64869
|
+
"$tagName$": "bh-kbd",
|
|
64870
|
+
"$members$": {
|
|
64871
|
+
"keys": [1],
|
|
64872
|
+
"size": [1]
|
|
64873
|
+
},
|
|
64874
|
+
"$listeners$": undefined,
|
|
64875
|
+
"$lazyBundleId$": "-",
|
|
64876
|
+
"$attrsToReflect$": []
|
|
64877
|
+
}; }
|
|
64878
|
+
}
|
|
64879
|
+
|
|
64306
64880
|
const bhLabelCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-label-font-family:var(--font-inter);--bh-label-font-size:var(--text-sm-size);--bh-label-font-weight:var(--weight-medium);--bh-label-color:var(--color-text-secondary);--bh-label-color-disabled:var(--color-text-disabled);--bh-label-supporting-text-color:var(--color-text-tertiary);--bh-label-error-color:var(--color-text-error);--bh-label-icon-color:var(--color-text-tertiary);--bh-label-icon-color-hover:var(--color-text-secondary);--bh-label-icon-color-disabled:var(--color-border-disabled);--bh-label-gap-xs:var(--spacing-xxs);--bh-label-gap-sm:var(--spacing-xs);--bh-label-gap-md:var(--spacing-sm)}}@layer bh-base{.label-container{display:flex;flex-direction:column;gap:var(--bh-label-gap-sm)}.label-wrapper{display:flex;align-items:center;gap:var(--bh-label-gap-xs)}.label-text{font-family:var(--bh-label-font-family);font-weight:var(--bh-label-font-weight);font-size:var(--bh-label-font-size);line-height:1.43;color:var(--bh-label-color);margin:0;cursor:default}.asterisk{font-family:var(--bh-label-font-family);font-weight:var(--weight-regular);font-size:var(--bh-label-font-size);line-height:1.43;color:var(--bh-label-error-color)}.supporting-text{font-family:var(--bh-label-font-family);font-weight:var(--weight-regular);font-size:var(--bh-label-font-size);line-height:1.43;color:var(--bh-label-supporting-text-color);margin:0}.label-content{width:100%}.icon-with-tooltip{position:relative;display:flex;align-items:center;flex-shrink:0;margin-left:auto}.help-icon{font-size:var(--text-xl-size);color:var(--bh-label-icon-color);cursor:pointer;user-select:none;transition:color var(--animation-duration-normal) ease-in-out}}@layer bh-variants{.label-container.layout-block{flex-direction:column}.label-container.layout-inline{flex-direction:row;align-items:flex-start;gap:var(--bh-label-gap-md)}.label-container.layout-inline .label-wrapper{flex-shrink:0}.label-container.layout-inline-start{flex-direction:row;align-items:flex-start;gap:var(--bh-label-gap-md)}.label-container.layout-inline-start .label-content{flex-shrink:0;width:auto}.label-container.layout-inline-start .label-text-group{display:flex;flex-direction:column;gap:var(--sp-0-5)}.label-container.layout-inline-start .label-wrapper{gap:var(--bh-label-gap-xs)}.label-container.layout-inline-start .label-text{font-size:var(--text-md-size);color:var(--bh-label-color);cursor:pointer}.label-container.layout-inline-start .supporting-text{font-size:var(--bh-label-font-size);color:var(--bh-label-supporting-text-color)}.label-container.layout-inline-start.size-sm .label-text{font-size:var(--text-sm-size)}.label-container.layout-inline-start.size-sm .supporting-text{font-size:var(--text-xs-size)}.label-container.layout-inline-space-between{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--bh-label-gap-md)}.label-container.layout-inline-space-between .label-wrapper{flex-shrink:0}.label-container.layout-inline-space-between .label-content{flex-grow:1;display:flex;justify-content:flex-end}}@layer bh-states{.label-text.disabled{color:var(--bh-label-color-disabled)}.supporting-text.disabled{color:var(--bh-label-color-disabled)}.label-container.disabled .help-icon{color:var(--bh-label-icon-color-disabled);cursor:not-allowed}.help-icon:hover{color:var(--bh-label-icon-color-hover)}}`;
|
|
64307
64881
|
|
|
64308
64882
|
class BhLabel {
|
|
@@ -64906,10 +65480,10 @@ class BhLineChart {
|
|
|
64906
65480
|
return (hAsync("div", { class: "line-chart-legend", part: "legend" }, this.data.series.map((series, si) => (hAsync("div", { class: "legend-item", key: series.name }, hAsync("span", { class: "legend-dot", style: { backgroundColor: this.getSeriesColor(series, si) } }), hAsync("span", { class: "legend-label" }, series.name))))));
|
|
64907
65481
|
}
|
|
64908
65482
|
render() {
|
|
64909
|
-
return (hAsync(Host, { key: '
|
|
65483
|
+
return (hAsync(Host, { key: '3df2eff8c7b872a3899d816019cea6df2ccfc286' }, hAsync("div", { key: '377eaed61df5041bbbf731952d0f547143d68755', class: {
|
|
64910
65484
|
"line-chart": true,
|
|
64911
65485
|
"line-chart-animated": this.animated,
|
|
64912
|
-
}, part: "container" }, this.renderLegend(), hAsync("svg", { key: '
|
|
65486
|
+
}, part: "container" }, this.renderLegend(), hAsync("svg", { key: '581e67c536caae9a770867edd6db96b6439ece0e', "aria-label": resolveI18n("bh-line-chart", "ariaLabel", this.ariaLabel, "Line chart"), class: "line-chart-svg", height: this.height, role: "img", viewBox: `0 0 ${this.width} ${this.height}`, width: this.width }, this.renderGrid(), this.renderAxes(), this.renderSeries(), this.renderHoverColumns())), hAsync("bh-chart-tooltip", { key: '923fc6f0be04dcd9f22ae4fa4aa0a9ac5f680909', "aria-hidden": this.tooltipVisible ? undefined : "true", header: this.tooltipHeader, items: this.tooltipItems, visible: this.tooltipVisible, x: this.tooltipX, y: this.tooltipY })));
|
|
64913
65487
|
}
|
|
64914
65488
|
static get style() { return bhLineChartCss(); }
|
|
64915
65489
|
static get cmpMeta() { return {
|
|
@@ -65191,11 +65765,11 @@ class BhLogoBox {
|
|
|
65191
65765
|
logo: true,
|
|
65192
65766
|
[`logo-${this.logoType}`]: true,
|
|
65193
65767
|
};
|
|
65194
|
-
return (hAsync(Host, { key: '
|
|
65768
|
+
return (hAsync(Host, { key: 'b0d80264a8b12c3a0197051ee873b01eaa5dcc82' }, hAsync("div", { key: '38c91cc3825e436e9f674b74d9340f191a22b72c', class: logoBoxClasses, part: "container" }, hAsync("div", { key: 'abb8fe2a6af9334ed8a74fde6826f9f13b907562', "aria-expanded": this.isOpen ? "true" : "false", "aria-haspopup": "menu", "aria-label": resolveI18n("bh-logo-box", "productSwitcherAriaLabel", this.productSwitcherAriaLabel, "Open product switcher"), class: "logo-active", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, onBlur: this.handleBlur, onClick: this.handleLogoClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "logo-button", ref: this.setLogoActiveRef, role: "button", tabIndex: 0 }, hAsync("div", { key: 'adddefaa18230c948c913bcabd1edc7c903a8dc5', "aria-label": `${this.logoType} logo`, class: logoClasses, role: "img", style: {
|
|
65195
65769
|
maskImage: `url(${this.getLogoSrc()})`,
|
|
65196
65770
|
WebkitMaskImage: `url(${this.getLogoSrc()})`,
|
|
65197
65771
|
backgroundColor: this.logoColor,
|
|
65198
|
-
} })), hAsync("div", { key: '
|
|
65772
|
+
} })), hAsync("div", { key: '56e96aef99fa1e14b13419ac54b27e8e7dba13a5', class: "logo-more-products" })), hAsync("bh-product-switcher", { key: 'c06cd6174b17b29d7b6a355e4b4633284533dc12', anchorPosition: this.anchorPosition, isOpen: this.isOpen, onBhClose: this.handleClose, onBhProductSelect: this.handleProductSelect, products: this.products })));
|
|
65199
65773
|
}
|
|
65200
65774
|
static get style() { return bhLogoBoxCss(); }
|
|
65201
65775
|
static get cmpMeta() { return {
|
|
@@ -66436,7 +67010,7 @@ class BhModalActions {
|
|
|
66436
67010
|
return (hAsync("div", { class: "modal-actions-content modal-actions-content--fill" }, secondaryButton, primaryButton));
|
|
66437
67011
|
}
|
|
66438
67012
|
render() {
|
|
66439
|
-
return (hAsync(Host, { key: '
|
|
67013
|
+
return (hAsync(Host, { key: '94f7dcfad4b06525117314126aae6bbea053bc52' }, hAsync("div", { key: 'fc70502939c3bcfc5a3ee77f5e9ec269d7490b78', class: "modal-actions", part: "actions" }, this.divider && hAsync("div", { key: 'ebb4a1bb6d6512d109060fbc4b8d642d9e1bf0e3', class: "divider", part: "divider" }), this.renderButtons())));
|
|
66440
67014
|
}
|
|
66441
67015
|
static get style() { return bhModalActionsCss(); }
|
|
66442
67016
|
static get cmpMeta() { return {
|
|
@@ -66531,19 +67105,19 @@ class BhModalHeader {
|
|
|
66531
67105
|
render() {
|
|
66532
67106
|
const isHorizontal = this.variant === "horizontal-left-aligned";
|
|
66533
67107
|
const isCenter = this.variant === "center-aligned";
|
|
66534
|
-
return (hAsync(Host, { key: '
|
|
67108
|
+
return (hAsync(Host, { key: 'ad67a19797daa4794d03d92a79376ce58d1eb32d' }, hAsync("div", { key: 'edc3786b536a94b686171aee0ced7681c571aad6', class: {
|
|
66535
67109
|
"modal-header": true,
|
|
66536
67110
|
"modal-header--center": isCenter,
|
|
66537
67111
|
"modal-header--horizontal": isHorizontal,
|
|
66538
|
-
}, part: "header" }, hAsync("div", { key: '
|
|
67112
|
+
}, part: "header" }, hAsync("div", { key: '975f872ce5ad7fc092b158b7ad81d1fa5abcb419', class: {
|
|
66539
67113
|
"modal-header-content": true,
|
|
66540
67114
|
"modal-header-content--center": isCenter,
|
|
66541
67115
|
"modal-header-content--horizontal": isHorizontal,
|
|
66542
|
-
} }, this.showIcon && this.icon && (hAsync("bh-featured-icon", { key: '
|
|
67116
|
+
} }, this.showIcon && this.icon && (hAsync("bh-featured-icon", { key: '90cd147b9fe455a74c8e30289f18d9f1fcf38b76', color: this.iconColor, icon: this.icon, iconStyle: "outlined", size: "md" })), hAsync("div", { key: '95e85e400ec908ea63b0e5a718b05c4e3a93f05e', class: {
|
|
66543
67117
|
"modal-text-content": true,
|
|
66544
67118
|
"modal-text-content--center": isCenter,
|
|
66545
67119
|
"modal-text-content--horizontal": isHorizontal,
|
|
66546
|
-
} }, hAsync("h3", { key: '
|
|
67120
|
+
} }, hAsync("h3", { key: '3fe9e2672eba70b07f619f15e6df27349d56e273', class: "modal-title" }, this.modalTitle), this.description && (hAsync("p", { key: 'd966ee3597668ff3714f9b8fd6fd2da541dbec03', class: "modal-description" }, this.description)))), this.showCloseButton && (hAsync("div", { key: '9e8bbab0a090b7623c309b9873a5d15e01d2372a', class: "close-button" }, hAsync("bh-close-button", { key: 'a6fd75b934605610445b1da005df36667fb34655', ariaLabel: resolveI18n("bh-modal-header", "closeAriaLabel", undefined, "Close modal"), onClick: this.handleClose })))), this.paddingBottom && hAsync("div", { key: 'a93b6bf7df3f3a987640e035af088f17bef3086f', class: "padding-bottom" }), this.divider && hAsync("div", { key: '011105a18382f9b6fa6fd409e8d7d336cafc62d8', class: "divider" })));
|
|
66547
67121
|
}
|
|
66548
67122
|
static get style() { return bhModalHeaderCss(); }
|
|
66549
67123
|
static get cmpMeta() { return {
|
|
@@ -66801,12 +67375,12 @@ class BhMonthPicker {
|
|
|
66801
67375
|
this.handleMenuCancel();
|
|
66802
67376
|
};
|
|
66803
67377
|
render() {
|
|
66804
|
-
return (hAsync(Host, { key: '
|
|
67378
|
+
return (hAsync(Host, { key: 'bdcd6963b9514c723c8bcc14fa62981d568c0c05' }, hAsync("div", { key: '34e893e1dd2fe4831b8cc29d6b7efac6acc61fe2', class: "month-picker-container", "data-focused": String(this.focusState.isFocused), onFocusin: this.handleFocus, onFocusout: this.handleBlur, part: "container" }, this.variant === "dropdown-outlined" && (hAsync("div", { key: '27c939700779f958b6afa92b603591d2be690051', class: "month-picker-trigger", onClick: this.handleTriggerClick }, hAsync("bh-button", { key: '7f15615410f4332fa4752ec110061b1ca1df721b', disabled: this.disabled, hierarchy: "secondary", icon: "trailing", iconName: "expand_more", label: this.getButtonLabel(), size: "sm" }))), this.variant === "dropdown-ghost" && (hAsync("div", { key: 'b9489b1134353d6de389a3bac3c255997f3d05cc', class: "month-picker-trigger", onClick: this.handleTriggerClick }, hAsync("bh-button", { key: 'dac579856e1f7379646c1d641d500243b72453fb', disabled: this.disabled, hierarchy: "tertiary", icon: "trailing", iconName: "expand_more", label: this.getButtonLabel(), size: "sm" }))), this.variant === "input" && (hAsync("div", { key: 'da74a4dac0c40734187d7f48a80542c7cf7f4469', class: "month-picker-trigger input-field-container" }, hAsync("bh-input-text", { key: '2a19248c66030e7112970168e8a7bd5c26d758da', disabled: this.disabled, label: resolveI18n("bh-month-picker", "defaultLabel", this.label, "Select Month"), onFocus: this.handleInputFocus, placeholder: resolveI18n("bh-month-picker", "defaultPlaceholder", this.placeholder, "Choose month and year"), showHelpIcon: false, showHintText: false, showLabel: this.showLabel, showTrailingIcon: true, trailingIcon: "calendar_month", value: this.getDisplayValue(), width: this.inputWidth }), hAsync("div", { key: '822ed86e38fd689c632d199070cf89f5b21567c7', class: "calendar-icon-overlay", onClick: this.handleTriggerClick }))), hAsync("div", { key: '4e431f0ff46099de841b9d68aa112011ecd16f19', class: {
|
|
66805
67379
|
"month-picker-menu-container": true,
|
|
66806
67380
|
"is-open": this.isMenuOpen && !supportsTopLayerPopover,
|
|
66807
|
-
}, part: "menu", popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.menuContainerEl = el) }, hAsync("bh-picker-menu", { key: '
|
|
67381
|
+
}, part: "menu", popover: supportsTopLayerPopover ? "manual" : undefined, ref: (el) => (this.menuContainerEl = el) }, hAsync("bh-picker-menu", { key: 'a0ae54586ed7fb014d096abf5bc8587eac6ca8d2', disabled: this.disabled, disabledMonths: this.disabledMonths, maxYear: this.maxYear, minYear: this.minYear, onBhAction: this.handleMenuAction, onBhChange: this.handleMonthYearSelect, showFooter: this.showFooter, value: this.stateManager?.tempValue ||
|
|
66808
67382
|
this.stateManager?.committedValue ||
|
|
66809
|
-
undefined, visible: this.isMenuOpen }))), (this.isMenuOpen || this.isMenuClosing) && (hAsync("div", { key: '
|
|
67383
|
+
undefined, visible: this.isMenuOpen }))), (this.isMenuOpen || this.isMenuClosing) && (hAsync("div", { key: 'b1a24a44a00c644f9f541f4a03d66a0c9439c8e0', class: "month-picker-backdrop", onClick: this.handleBackdropClick }))));
|
|
66810
67384
|
}
|
|
66811
67385
|
static get watchers() { return {
|
|
66812
67386
|
"value": [{
|
|
@@ -67044,7 +67618,7 @@ class BhMonthPickerContent {
|
|
|
67044
67618
|
}
|
|
67045
67619
|
render() {
|
|
67046
67620
|
const years = this.getYears();
|
|
67047
|
-
return (hAsync(Host, { key: '
|
|
67621
|
+
return (hAsync(Host, { key: '73b5ce30cd62f32d19daf4214b08345ae4bec1ac' }, hAsync("div", { key: 'bdfd8daa1b0db677e06c8a742f1459f170d8e3cf', class: `month-picker-content animate-slide-up-enter ${this.scrollable ? "scrollable" : ""}`, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown, part: "container", ref: (el) => (this.containerRef = el), style: { height: this.height } }, hAsync("div", { key: '3ccc79f6551261b34d9136a0691683b89583c660', class: "calendar", part: "calendar" }, years.map((year, yearIndex) => (hAsync("div", { class: "year-section", id: `year-${year}`, key: year }, hAsync("div", { class: "year-month-container" }, hAsync("div", { class: "year-label" }, year), hAsync("div", { class: "months-row" }, hAsync("div", { class: "month-row" }, MONTH_NAMES.slice(0, 6).map((_, monthIndex) => (hAsync("button", { class: this.getMonthButtonClasses(monthIndex, year), disabled: !this.isMonthSelectable(monthIndex, year), key: monthIndex, onClick: () => this.selectMonth(monthIndex, year) }, MONTH_NAMES[monthIndex])))), hAsync("div", { class: "month-row" }, MONTH_NAMES.slice(6, 12).map((_, idx) => {
|
|
67048
67622
|
const monthIndex = idx + 6;
|
|
67049
67623
|
return (hAsync("button", { class: this.getMonthButtonClasses(monthIndex, year), disabled: !this.isMonthSelectable(monthIndex, year), key: monthIndex, onClick: () => this.selectMonth(monthIndex, year) }, MONTH_NAMES[monthIndex]));
|
|
67050
67624
|
})))), yearIndex < years.length - 1 && (hAsync("div", { class: "section-divider" }, hAsync("div", { class: "divider-container" }, hAsync("div", { class: "divider-line" })))))))))));
|
|
@@ -67478,14 +68052,14 @@ class BhMultiSelect {
|
|
|
67478
68052
|
width: this.menuWidth > 0 ? `${this.menuWidth}px` : undefined,
|
|
67479
68053
|
}
|
|
67480
68054
|
: { display: "none" };
|
|
67481
|
-
return (hAsync(Host, { key: '
|
|
68055
|
+
return (hAsync(Host, { key: '990847a23d2ea4fe16329c20bfff07f635c290c0', style: { width: this.width } }, hAsync("div", { key: '7ef3db32f8c7e59c5695f93e6f776d24e42c1fb4', class: "multi-select-wrapper" }, hAsync("bh-label", { key: 'f35e268c9a1e4400ff6ea9e4f49f390fbdd30d62', disabled: this.disabled, label: this.showLabel ? this.label : "", required: this.required }, hAsync("div", { key: '4d550a56e60fafb275b7b01c719bc2e9dc1c7d97', "aria-describedby": this.showHintText && this.hintText ? "hint-text" : undefined, "aria-expanded": String(this.isOpen), "aria-haspopup": "listbox", "aria-invalid": this.error ? "true" : undefined, "aria-required": this.required ? "true" : undefined, class: triggerClasses, onBlur: this.handleBlur, onClick: this.toggleMenu, onFocus: this.handleFocus, onKeyDown: this.handleTriggerKeyDown, part: "trigger", ref: (el) => (this.triggerRef = el), role: "combobox", tabindex: this.disabled ? -1 : 0 }, hAsync("div", { key: '23fc0d98f7a295fda1e96878afee8b39149df5ad', class: "multi-select-tag-flow" }, isEmpty && (hAsync("span", { key: 'e4cab50d03f4473c4d2c4601b3bb294358bc70b3', class: "multi-select-placeholder" }, resolveI18n("bh-multi-select", "placeholder", this.placeholder, "Select options..."))), tags.map((tag) => (hAsync("bh-tag", { disabled: this.disabled, dismissible: !this.disabled, key: tag.id, label: tag.label, maxWidth: 150, onBhClose: () => this.handleTagDismiss(tag), size: "sm", variant: "text-only" }))), remaining > 0 && (hAsync("bh-tag", { key: 'd85f22c4406ec3cd03b928ec646ef20560da5f91', disabled: this.disabled, dismissible: false, label: `+${remaining}`, size: "sm", variant: "text-only" }))), hAsync("span", { key: '0e53b1e5a6cbbec0b02feda1220549c10137c3dc', class: {
|
|
67482
68056
|
"material-symbols-outlined": true,
|
|
67483
68057
|
"trigger-icon": true,
|
|
67484
68058
|
"trigger-icon-open": this.isOpen,
|
|
67485
|
-
} }, "expand_more"))), this.showHintText && this.hintText && (hAsync("div", { key: '
|
|
68059
|
+
} }, "expand_more"))), this.showHintText && this.hintText && (hAsync("div", { key: '70aa346ae406eee4ee38aee041d82ed6eeb8bc71', class: { "hint-text": true, "hint-error": this.error }, id: "hint-text" }, this.hintText)), hAsync("div", { key: '3754877af6eff5b74cb46543ccf28d5ceb6ebe98', class: {
|
|
67486
68060
|
"multi-select-menu": true,
|
|
67487
68061
|
"animate-menu-enter": this.isOpen,
|
|
67488
|
-
}, onKeyDown: this.handleMenuKeyDown, part: "menu", ref: (el) => (this.menuRef = el), role: "listbox", style: menuStyle }, hAsync("div", { key: '
|
|
68062
|
+
}, onKeyDown: this.handleMenuKeyDown, part: "menu", ref: (el) => (this.menuRef = el), role: "listbox", style: menuStyle }, hAsync("div", { key: 'ea327f893e4a479aafb40028f84490c6fe460916', class: "menu-items" }, this.parsedOptions.map((item) => {
|
|
67489
68063
|
if (item.divider) {
|
|
67490
68064
|
return hAsync("div", { class: "menu-divider", key: item.id });
|
|
67491
68065
|
}
|
|
@@ -67649,11 +68223,11 @@ class BhNavItem {
|
|
|
67649
68223
|
focused: this.focusState.isFocused && !this.disabled,
|
|
67650
68224
|
hovered: this.focusState.isHovered && !this.disabled,
|
|
67651
68225
|
};
|
|
67652
|
-
return (hAsync("div", { key: '
|
|
68226
|
+
return (hAsync("div", { key: 'bf9e7f7fb9d5b15ad8761897888f194efccb787f', "aria-disabled": this.disabled ? "true" : undefined, class: navItemClasses, "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), part: "container" }, hAsync("button", { key: '4a2f5f6cea0c4ac5d559dec7c1d908f7aabd40a3', "aria-current": this.isActive ? "page" : undefined, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-label": this.label, class: "nav-item-button", disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "button", tabIndex: this.disabled ? -1 : 0, type: "button" }, this.dot && (hAsync("bh-badge-dot", { key: '9ad8f5ec110c7f78af116b04950dff4584d99c03', color: this.dotColor, part: "dot", size: "sm" })), hAsync("span", { key: 'bfacfd0ae0786bb591f5f5e8c3654f73366a04df', class: "material-symbols-outlined icon", part: "icon" }, this.icon), isRow && (hAsync("span", { key: '217529488116724b87c0792c5385f31753f1a25b', class: "nav-item-label-row", part: "label" }, this.label)), isRow && this.badge !== undefined && (hAsync("span", { key: '6d09f216b8ebfdb2f88724589498495fb95dbb50', class: "nav-item-badge", part: "badge" }, this.badge)), isRow && this.expandable && (hAsync("span", { key: '26977632930eac9bf05cb8713904cd354f8759a2', class: {
|
|
67653
68227
|
"material-symbols-outlined": true,
|
|
67654
68228
|
"nav-item-chevron": true,
|
|
67655
68229
|
"nav-item-chevron--expanded": this.expanded,
|
|
67656
|
-
} }, "expand_more"))), !isRow && this.showLabel && (hAsync("p", { key: '
|
|
68230
|
+
} }, "expand_more"))), !isRow && this.showLabel && (hAsync("p", { key: 'e55a89d2aca9a4e999ffc93aab12bf8c9b082517', class: "nav-item-label", part: "label" }, this.label))));
|
|
67657
68231
|
}
|
|
67658
68232
|
static get style() { return bhNavItemCss(); }
|
|
67659
68233
|
static get cmpMeta() { return {
|
|
@@ -67680,6 +68254,229 @@ class BhNavItem {
|
|
|
67680
68254
|
}; }
|
|
67681
68255
|
}
|
|
67682
68256
|
|
|
68257
|
+
const bhNotificationCenterCss = () => `@charset "UTF-8";:host{position:relative;display:inline-block}.trigger{position:relative;display:inline-flex}.icon-badge-count{position:absolute;top:var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm, 8px)));right:var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm, 8px)));opacity:0.8;pointer-events:none}.icon-badge-count:hover{opacity:1}.panel{position:absolute;top:calc(100% + var(--spacing-sm, 8px));right:0;z-index:var(--bh-notification-center-z-index, 1000);width:var(--bh-notification-center-width, 360px);max-height:var(--bh-notification-center-max-height, 480px);display:flex;flex-direction:column;overflow:hidden;background:var(--color-bg-primary, #fff);border-radius:var(--radius-lg, 12px);box-shadow:var(--shadow-popup, 0 4px 12px rgba(0, 0, 0, 0.15))}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-sm, 8px);padding:var(--spacing-md, 12px) var(--spacing-lg, 16px);min-height:calc(var(--bh-button-height-sm, 32px) + 2 * var(--spacing-md, 12px))}.panel-title{font-family:var(--font-inter, inherit);font-size:var(--text-md-size, 1rem);font-weight:var(--weight-semibold, 600);color:var(--color-text-primary, #101828)}.filters{display:flex;gap:var(--spacing-xs, 4px);padding:var(--spacing-sm, 8px) var(--spacing-lg, 16px);border-bottom:1px solid var(--color-border-tertiary, #eaecf0)}.filter{padding:var(--spacing-xs, 4px) var(--spacing-md, 12px);font-family:var(--font-inter, inherit);font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-secondary, #475467);background:transparent;border:none;border-radius:var(--radius-md, 8px);cursor:pointer}.filter:hover{background:var(--color-bg-secondary, #f9fafb)}.filter.active{color:var(--color-text-primary, #101828);font-weight:var(--weight-semibold, 600);background:var(--color-bg-tertiary, #f2f4f7)}.feed{overflow-y:auto}.feed bh-feed-item{display:block;padding:var(--spacing-md, 12px) var(--spacing-lg, 16px);cursor:pointer}.feed bh-feed-item:hover{background:var(--color-bg-secondary, #f9fafb)}.feed bh-feed-item.unread{background:var(--color-brand-25, hsl(220, 82%, 98%))}.feed bh-feed-item.unread:hover{background:var(--color-bg-secondary, #f9fafb)}.panel-inline{position:static;width:100%;max-height:none;border:1px solid var(--color-border-primary, #e4e7ec);box-shadow:none}.empty{padding:var(--spacing-2xl, 32px) var(--spacing-lg, 16px);font-family:var(--font-inter, inherit);font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-secondary, #475467);text-align:center}`;
|
|
68258
|
+
|
|
68259
|
+
class BhNotificationCenter {
|
|
68260
|
+
constructor(hostRef) {
|
|
68261
|
+
registerInstance(this, hostRef);
|
|
68262
|
+
this.bhOpen = createEvent(this, "bhOpen");
|
|
68263
|
+
this.bhClose = createEvent(this, "bhClose");
|
|
68264
|
+
this.bhChange = createEvent(this, "bhChange");
|
|
68265
|
+
this.bhItemClick = createEvent(this, "bhItemClick");
|
|
68266
|
+
}
|
|
68267
|
+
logger = createComponentLogger("bh-notification-center");
|
|
68268
|
+
dismissalManager;
|
|
68269
|
+
i18nUnsubscribe;
|
|
68270
|
+
_i18nVersion = 0;
|
|
68271
|
+
get el() { return getElement(this); }
|
|
68272
|
+
/**
|
|
68273
|
+
* Notifications to display (array or JSON string). Read/unread state is
|
|
68274
|
+
* held internally after load; re-assigning the prop re-syncs it.
|
|
68275
|
+
*/
|
|
68276
|
+
notifications = [];
|
|
68277
|
+
/**
|
|
68278
|
+
* Whether the panel is open. Reflects so consumers can read/drive it.
|
|
68279
|
+
* Ignored in inline display, where the panel always renders in place.
|
|
68280
|
+
*/
|
|
68281
|
+
open = false;
|
|
68282
|
+
/**
|
|
68283
|
+
* Presentation: "popover" renders the bell trigger with a floating,
|
|
68284
|
+
* dismissable panel; "inline" renders the panel in place (no bell,
|
|
68285
|
+
* no dismissal) for pages and side panels.
|
|
68286
|
+
*/
|
|
68287
|
+
display = "popover";
|
|
68288
|
+
/**
|
|
68289
|
+
* Panel header title. Allows i18n.
|
|
68290
|
+
*/
|
|
68291
|
+
headerTitle = "Notifications";
|
|
68292
|
+
/**
|
|
68293
|
+
* Mark-all-read button label. Allows i18n.
|
|
68294
|
+
*/
|
|
68295
|
+
markAllLabel = "Mark all as read";
|
|
68296
|
+
/**
|
|
68297
|
+
* Empty-state message. Allows i18n.
|
|
68298
|
+
*/
|
|
68299
|
+
emptyMessage = "You're all caught up";
|
|
68300
|
+
/**
|
|
68301
|
+
* "All" filter tab label. Allows i18n.
|
|
68302
|
+
*/
|
|
68303
|
+
filterAllLabel = "All";
|
|
68304
|
+
/**
|
|
68305
|
+
* "Unread" filter tab label. Allows i18n.
|
|
68306
|
+
*/
|
|
68307
|
+
filterUnreadLabel = "Unread";
|
|
68308
|
+
/**
|
|
68309
|
+
* Accessible label for the bell trigger. Allows i18n.
|
|
68310
|
+
*/
|
|
68311
|
+
bellAriaLabel = "Notifications";
|
|
68312
|
+
items = [];
|
|
68313
|
+
filter = "all";
|
|
68314
|
+
/**
|
|
68315
|
+
* Emitted when the panel opens.
|
|
68316
|
+
*/
|
|
68317
|
+
bhOpen;
|
|
68318
|
+
/**
|
|
68319
|
+
* Emitted when the panel closes.
|
|
68320
|
+
*/
|
|
68321
|
+
bhClose;
|
|
68322
|
+
/**
|
|
68323
|
+
* Emitted when read state changes. Detail carries the ids marked read in
|
|
68324
|
+
* this change and the remaining unread count.
|
|
68325
|
+
*/
|
|
68326
|
+
bhChange;
|
|
68327
|
+
/**
|
|
68328
|
+
* Emitted when a notification is clicked.
|
|
68329
|
+
*/
|
|
68330
|
+
bhItemClick;
|
|
68331
|
+
syncFromProp() {
|
|
68332
|
+
this.items = this.parseNotifications();
|
|
68333
|
+
}
|
|
68334
|
+
handleOpenChange(isOpen) {
|
|
68335
|
+
if (isOpen) {
|
|
68336
|
+
this.dismissalManager?.enable();
|
|
68337
|
+
}
|
|
68338
|
+
else {
|
|
68339
|
+
this.dismissalManager?.disable();
|
|
68340
|
+
}
|
|
68341
|
+
}
|
|
68342
|
+
componentWillLoad() {
|
|
68343
|
+
this.items = this.parseNotifications();
|
|
68344
|
+
this.i18nUnsubscribe = BellhopI18n.onLocaleChange(() => {
|
|
68345
|
+
this._i18nVersion++;
|
|
68346
|
+
});
|
|
68347
|
+
}
|
|
68348
|
+
componentDidLoad() {
|
|
68349
|
+
if (this.display === "inline") {
|
|
68350
|
+
return;
|
|
68351
|
+
}
|
|
68352
|
+
this.dismissalManager = createDismissalManager(this.el, {
|
|
68353
|
+
onDismiss: () => this.setOpen(false),
|
|
68354
|
+
escapeKey: true,
|
|
68355
|
+
clickOutside: true,
|
|
68356
|
+
focusLoss: false,
|
|
68357
|
+
});
|
|
68358
|
+
if (this.open) {
|
|
68359
|
+
this.dismissalManager.enable();
|
|
68360
|
+
}
|
|
68361
|
+
}
|
|
68362
|
+
disconnectedCallback() {
|
|
68363
|
+
this.dismissalManager?.destroy();
|
|
68364
|
+
this.i18nUnsubscribe?.();
|
|
68365
|
+
}
|
|
68366
|
+
/**
|
|
68367
|
+
* Mark a single notification as read.
|
|
68368
|
+
*/
|
|
68369
|
+
async markRead(id) {
|
|
68370
|
+
this.applyRead(this.items.filter((n) => n.id === id && !n.read));
|
|
68371
|
+
}
|
|
68372
|
+
/**
|
|
68373
|
+
* Mark every notification as read.
|
|
68374
|
+
*/
|
|
68375
|
+
async markAllRead() {
|
|
68376
|
+
this.applyRead(this.items.filter((n) => !n.read));
|
|
68377
|
+
}
|
|
68378
|
+
parseNotifications() {
|
|
68379
|
+
if (typeof this.notifications !== "string") {
|
|
68380
|
+
return this.notifications.map((n) => ({ ...n }));
|
|
68381
|
+
}
|
|
68382
|
+
if (this.notifications.trim() === "") {
|
|
68383
|
+
return [];
|
|
68384
|
+
}
|
|
68385
|
+
try {
|
|
68386
|
+
return JSON.parse(this.notifications);
|
|
68387
|
+
}
|
|
68388
|
+
catch (error) {
|
|
68389
|
+
this.logger.error("Invalid notifications JSON", error instanceof Error ? error : new Error(String(error)));
|
|
68390
|
+
return [];
|
|
68391
|
+
}
|
|
68392
|
+
}
|
|
68393
|
+
applyRead(toMark) {
|
|
68394
|
+
if (toMark.length === 0) {
|
|
68395
|
+
return;
|
|
68396
|
+
}
|
|
68397
|
+
const readIds = toMark.map((n) => n.id);
|
|
68398
|
+
this.items = this.items.map((n) => readIds.includes(n.id) ? { ...n, read: true } : n);
|
|
68399
|
+
this.bhChange.emit({ readIds, unreadCount: this.unreadCount() });
|
|
68400
|
+
}
|
|
68401
|
+
unreadCount() {
|
|
68402
|
+
return this.items.filter((n) => !n.read).length;
|
|
68403
|
+
}
|
|
68404
|
+
visibleItems() {
|
|
68405
|
+
return this.filter === "unread"
|
|
68406
|
+
? this.items.filter((n) => !n.read)
|
|
68407
|
+
: this.items;
|
|
68408
|
+
}
|
|
68409
|
+
setOpen(isOpen) {
|
|
68410
|
+
if (this.open === isOpen) {
|
|
68411
|
+
return;
|
|
68412
|
+
}
|
|
68413
|
+
this.open = isOpen;
|
|
68414
|
+
if (isOpen) {
|
|
68415
|
+
this.bhOpen.emit();
|
|
68416
|
+
}
|
|
68417
|
+
else {
|
|
68418
|
+
this.bhClose.emit();
|
|
68419
|
+
}
|
|
68420
|
+
}
|
|
68421
|
+
handleBellClick = () => {
|
|
68422
|
+
this.setOpen(!this.open);
|
|
68423
|
+
};
|
|
68424
|
+
handleItemClick = (notification) => {
|
|
68425
|
+
this.bhItemClick.emit(notification);
|
|
68426
|
+
this.applyRead(this.items.filter((n) => n.id === notification.id && !n.read));
|
|
68427
|
+
};
|
|
68428
|
+
t(key, propValue, fallback) {
|
|
68429
|
+
return resolveI18n("bh-notification-center", key, propValue, fallback);
|
|
68430
|
+
}
|
|
68431
|
+
renderTrigger(unread) {
|
|
68432
|
+
const bellLabel = this.t("bellAriaLabel", this.bellAriaLabel, "Notifications");
|
|
68433
|
+
return (hAsync("div", { class: "trigger", part: "trigger" }, hAsync("bh-button-icon", { ariaLabel: unread > 0 ? `${bellLabel} (${unread})` : bellLabel, hierarchy: "tertiary", iconName: "notifications", onClick: this.handleBellClick, size: "sm" }), unread > 0 && (hAsync("bh-badge", { class: "icon-badge-count", emphasis: "high", label: String(unread), size: "sm", variant: "error" }))));
|
|
68434
|
+
}
|
|
68435
|
+
render() {
|
|
68436
|
+
const unread = this.unreadCount();
|
|
68437
|
+
const visible = this.visibleItems();
|
|
68438
|
+
const isInline = this.display === "inline";
|
|
68439
|
+
const showPanel = isInline || this.open;
|
|
68440
|
+
return (hAsync(Host, { key: '1cec4c416a7dc25a5eb5f6ba1596315d86c50271' }, !isInline && this.renderTrigger(unread), showPanel && (hAsync("div", { key: 'eae2068a2a56f938c04bd5be6eac8885de8db987', "aria-label": this.t("headerTitle", this.headerTitle, "Notifications"), class: { panel: true, "panel-inline": isInline }, part: "panel", role: isInline ? "region" : "dialog" }, hAsync("div", { key: '2990d636c1ea32f28df29e84d60da4ddc8325960', class: "panel-header", part: "header" }, hAsync("span", { key: 'c0b9291e8dbb52ebde5f62e95eedb646569f075d', class: "panel-title" }, this.t("headerTitle", this.headerTitle, "Notifications")), unread > 0 && (hAsync("bh-button", { key: '76217c3ca371df29bf782af9c04a6113ecdda805', hierarchy: "tertiary", label: this.t("markAllLabel", this.markAllLabel, "Mark all as read"), onClick: () => this.markAllRead(), size: "sm" }))), hAsync("div", { key: '696ebb7f1ba24de12b98a32f519abc71fd7dcd54', class: "filters", part: "filters", role: "tablist" }, ["all", "unread"].map((f) => (hAsync("button", { "aria-selected": this.filter === f ? "true" : "false", class: { filter: true, active: this.filter === f }, "data-filter": f, onClick: () => {
|
|
68441
|
+
this.filter = f;
|
|
68442
|
+
}, role: "tab", type: "button" }, f === "all"
|
|
68443
|
+
? this.t("filterAllLabel", this.filterAllLabel, "All")
|
|
68444
|
+
: this.t("filterUnreadLabel", this.filterUnreadLabel, "Unread"))))), visible.length === 0 ? (hAsync("div", { class: "empty", part: "empty" }, this.t("emptyMessage", this.emptyMessage, "You're all caught up"))) : (hAsync("bh-activity-feed", { class: "feed", divider: "line", flush: true, part: "list", type: "notifications" }, visible.map((n) => (hAsync("bh-feed-item", { author: n.author ?? "", class: { unread: !n.read }, content: n.body ?? "", "data-id": n.id, icon: n.author ? undefined : n.icon, itemTitle: n.title, key: n.id, onBhClick: () => this.handleItemClick(n), showDot: !n.read, size: "sm", timestamp: n.timestamp ?? "", variant: n.author ? "user" : "system" })))))))));
|
|
68445
|
+
}
|
|
68446
|
+
static get watchers() { return {
|
|
68447
|
+
"notifications": [{
|
|
68448
|
+
"syncFromProp": 0
|
|
68449
|
+
}],
|
|
68450
|
+
"open": [{
|
|
68451
|
+
"handleOpenChange": 0
|
|
68452
|
+
}]
|
|
68453
|
+
}; }
|
|
68454
|
+
static get style() { return bhNotificationCenterCss(); }
|
|
68455
|
+
static get cmpMeta() { return {
|
|
68456
|
+
"$flags$": 521,
|
|
68457
|
+
"$tagName$": "bh-notification-center",
|
|
68458
|
+
"$members$": {
|
|
68459
|
+
"notifications": [1],
|
|
68460
|
+
"open": [1540],
|
|
68461
|
+
"display": [513],
|
|
68462
|
+
"headerTitle": [1, "header-title"],
|
|
68463
|
+
"markAllLabel": [1, "mark-all-label"],
|
|
68464
|
+
"emptyMessage": [1, "empty-message"],
|
|
68465
|
+
"filterAllLabel": [1, "filter-all-label"],
|
|
68466
|
+
"filterUnreadLabel": [1, "filter-unread-label"],
|
|
68467
|
+
"bellAriaLabel": [1, "bell-aria-label"],
|
|
68468
|
+
"_i18nVersion": [32],
|
|
68469
|
+
"items": [32],
|
|
68470
|
+
"filter": [32],
|
|
68471
|
+
"markRead": [64],
|
|
68472
|
+
"markAllRead": [64]
|
|
68473
|
+
},
|
|
68474
|
+
"$listeners$": undefined,
|
|
68475
|
+
"$lazyBundleId$": "-",
|
|
68476
|
+
"$attrsToReflect$": [["open", "open"], ["display", "display"]]
|
|
68477
|
+
}; }
|
|
68478
|
+
}
|
|
68479
|
+
|
|
67683
68480
|
const bhPageHeaderCss = () => `@charset "UTF-8"; :root { --bh-breakpoint-xs: 0; --bh-breakpoint-sm: 576px; --bh-breakpoint-md: 768px; --bh-breakpoint-lg: 992px; --bh-breakpoint-xl: 1200px; --bh-breakpoint-xxl: 1400px; --bh-container-sm: 540px; --bh-container-md: 720px; --bh-container-lg: 960px; --bh-container-xl: 1140px; --bh-container-xxl: 1320px; } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: block; --bh-page-header-bg: var(--color-bg-primary); --bh-page-header-heading-color: var(--color-text-primary); --bh-page-header-supporting-color: var(--color-text-tertiary); --bh-page-header-divider-color: var(--color-border-secondary); --bh-page-header-banner-height: 240px; --bh-page-header-banner-height-mobile: 160px; --bh-page-header-avatar-size: 160px; --bh-page-header-avatar-size-mobile: 96px; --bh-page-header-avatar-border-color: var(--color-white); --bh-page-header-container-padding: var(--spacing-4xl); --bh-page-header-container-padding-mobile: var(--spacing-xl); } } @layer bh-base { .page-header { display: flex; flex-direction: column; align-items: stretch; width: 100%; font-family: var(--font-inter); } .container { display: flex; flex-direction: column; gap: var(--spacing-2xl); width: 100%; max-width: var(--sp-320); margin: 0 auto; padding: 0 var(--bh-page-header-container-padding); box-sizing: border-box; } .banner-image-wrap { width: 100%; height: var(--bh-page-header-banner-height); overflow: hidden; position: relative; } .banner-image { width: 100%; height: 100%; object-fit: cover; display: block; } .banner-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--color-brand-400), var(--color-accent-400)); } .avatar-wrap { flex-shrink: 0; } .avatar-wrap bh-avatar { --avatar-size-2xl: var(--bh-page-header-avatar-size); display: block; border: 4px solid var(--bh-page-header-avatar-border-color); border-radius: var(--radius-full); box-shadow: var(--shadow-lg); } .avatar-wrap { } .avatar-wrap bh-avatar::part(border) { border: 1px solid var(--border-contrast-medium); } .avatar-inline bh-avatar { border: none; box-shadow: none; } .text-content { display: flex; flex-direction: column; gap: var(--spacing-xs); min-width: 0; } .heading { margin: 0; font-family: var(--font-inter); font-weight: var(--weight-medium); font-size: var(--display-xs-size); line-height: var(--text-2xl-line); color: var(--bh-page-header-heading-color); } .supporting-text { margin: 0; font-family: var(--font-inter); font-weight: var(--weight-regular); font-size: var(--text-sm-size); line-height: var(--text-sm-line); color: var(--bh-page-header-supporting-color); } .heading-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--spacing-2xl) var(--spacing-xl); width: 100%; } .heading-row > .text-content { flex: 1 0 0; min-width: 320px; } .actions { display: flex; align-items: center; gap: var(--spacing-lg); flex-shrink: 0; } .search-slot { flex-shrink: 0; } .breadcrumbs-slot { display: flex; } .tabs-slot { display: contents; } .divider { width: 100%; height: 1px; background: var(--bh-page-header-divider-color); } .content-block { display: flex; flex-direction: column; gap: var(--spacing-2xl); padding-top: var(--spacing-3xl); } .avatar-inline { display: flex; align-items: center; gap: var(--spacing-2xl); flex: 1 0 0; min-width: 320px; } .avatar-inline .avatar-photo { width: var(--bh-avatar-size-lg); height: var(--bh-avatar-size-lg); box-shadow: none; border-width: 0; } .avatar-and-content { display: flex; gap: var(--spacing-3xl); align-items: flex-start; width: 100%; } .avatar-and-content > .avatar-wrap { margin-top: calc(-1 * var(--spacing-5xl)); } .content-beside-avatar { display: flex; flex-direction: column; flex: 1 0 0; min-width: 0; gap: var(--spacing-2xl); padding-top: var(--spacing-7xl); } .centered-content { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-2xl); text-align: center; } .centered-content .text-content { max-width: 640px; align-items: center; } .centered-content > .avatar-wrap { margin-top: calc(-1 * var(--spacing-7xl)); } } @layer bh-variants { :host([variant=banner-avatar]) .banner-image-wrap { margin-bottom: calc(-1 * var(--spacing-5xl)); } :host([variant=banner-avatar-centered]) .banner-image-wrap { margin-bottom: calc(-1 * var(--spacing-7xl)); } :host([variant=banner-avatar-centered]) .container { padding-bottom: 0; } } @layer bh-utilities { @media (max-width: 768px) { .container { padding: 0 var(--bh-page-header-container-padding-mobile); gap: var(--spacing-xl); } .banner-image-wrap { height: var(--bh-page-header-banner-height-mobile); } .avatar-wrap bh-avatar { --avatar-size-2xl: var(--bh-page-header-avatar-size-mobile); } .heading-row > .text-content { min-width: 0; } .avatar-inline { min-width: 0; } .heading-row { flex-direction: column; gap: var(--spacing-xl); } .content-block { padding-top: 0; } } }`;
|
|
67684
68481
|
|
|
67685
68482
|
const COMPONENT_NAME$7 = "bh-page-header";
|
|
@@ -67812,7 +68609,7 @@ class BhPageHeader {
|
|
|
67812
68609
|
"is-centered": this.isCentered,
|
|
67813
68610
|
"has-avatar": this.hasAvatar,
|
|
67814
68611
|
};
|
|
67815
|
-
return (hAsync(Host, { key: '
|
|
68612
|
+
return (hAsync(Host, { key: '62d3783612c4c884eb25afb83fcbacbabc419e32', "aria-label": this.heading || "Page header", role: "banner" }, hAsync("div", { key: 'b1760099f2852fa0893576ee95ad07ee27d8747f', class: classes, part: "base" }, this.renderBannerImage(), hAsync("div", { key: 'c1e4eb847e4b97fa8c7fb73bd06944e0c3916c4d', class: "container" }, !this.isBanner && this.renderBreadcrumbs(), this.renderVariantContent(), this.renderTabs(), this.renderDivider()))));
|
|
67816
68613
|
}
|
|
67817
68614
|
static get style() { return bhPageHeaderCss(); }
|
|
67818
68615
|
static get cmpMeta() { return {
|
|
@@ -67970,7 +68767,7 @@ class BhPageNavigation {
|
|
|
67970
68767
|
}
|
|
67971
68768
|
};
|
|
67972
68769
|
render() {
|
|
67973
|
-
return (hAsync(Host, { key: '
|
|
68770
|
+
return (hAsync(Host, { key: 'dc139f2e304e1d39a1b112faca7cbe3438154b82', onKeyDown: this.handleKeyDown }, hAsync("div", { key: '8c358776ba7d8eba4689955cd16ca1891a23b060', class: "page-navigation", part: "container" }, hAsync("div", { key: 'e0ccffaef211d071899db55b17f64261baf55bcc', class: "page-navigation-header", part: "header" }, hAsync("h2", { key: 'aa20cdaa13d5f80590baf4b6c0ca546798f3800f', class: "page-navigation-title", part: "title" }, resolveI18n("bh-page-navigation", "navTitle", this.navTitle, "Navigation"))), hAsync("nav", { key: 'b5ac929da441edf4bb5128d508302ab243cc5be1', class: "page-navigation-list", part: "list" }, this.items.map((item) => item.type === "single" ? (hAsync("bh-page-navigation-single-level", { icon: item.icon, isActive: item.isActive, key: item.id, label: item.label, onBhItemClick: () => this.handleSingleLevelClick(item.id) })) : (hAsync("bh-page-navigation-multi-level", { childItems: item.children || [], icon: item.icon, isExpanded: item.isExpanded, key: item.id, label: item.label, onBhChildClick: (e) => this.handleMultiLevelChildClick(item.id, e.detail), onBhToggle: () => this.handleMultiLevelToggle(item.id) })))), this.el.querySelector('[slot="bottom-button"]') && (hAsync("div", { key: '00f87f12096138fafec24be173695a61634dd9ae', class: "page-navigation-footer", part: "footer" }, hAsync("slot", { key: '1f5a1be10ef4e4d7048fa324b134a4af1a9c0081', name: "bottom-button" }))))));
|
|
67974
68771
|
}
|
|
67975
68772
|
static get watchers() { return {
|
|
67976
68773
|
"navigationItems": [{
|
|
@@ -68067,7 +68864,7 @@ class BhPageNavigationChild {
|
|
|
68067
68864
|
};
|
|
68068
68865
|
}
|
|
68069
68866
|
render() {
|
|
68070
|
-
return (hAsync(Host, { key: '
|
|
68867
|
+
return (hAsync(Host, { key: '7ca3756e57ce7523707ac6398e009a41251b5773' }, hAsync("div", { key: '9d17db048c227e3d53d5d2adcacf5d06ebdb529e', "aria-current": this.isActive ? "page" : undefined, class: this.getItemClasses(), "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container", role: "button", tabIndex: 0 }, hAsync("div", { key: '6e73d0d8e106d4712b45671d8501dd743925702d', class: "page-navigation-child-content", part: "content" }, hAsync("span", { key: '6c7b32b203015fbf3eb2dfc9e41ae2a569c77c63', class: "page-navigation-child-label", part: "label" }, this.label), this.badge !== undefined && this.showBadge && (hAsync("bh-badge", { key: 'a8510c3e2b9d0fd265f94273afbb09f9ca259361', class: "page-navigation-child-badge", emphasis: "medium", label: String(this.badge), part: "badge", size: "sm", variant: "gray" }))))));
|
|
68071
68868
|
}
|
|
68072
68869
|
static get style() { return bhPageNavigationChildCss(); }
|
|
68073
68870
|
static get cmpMeta() { return {
|
|
@@ -68226,11 +69023,11 @@ class BhPageNavigationMultiLevel {
|
|
|
68226
69023
|
};
|
|
68227
69024
|
}
|
|
68228
69025
|
render() {
|
|
68229
|
-
return (hAsync(Host, { key: '
|
|
69026
|
+
return (hAsync(Host, { key: 'd9741d97ddd3eafaa584a4ed2874b54586f12d27' }, hAsync("div", { key: '78c214b1a6eed4371ddb9f9e7bfe6623d1981f9c', class: this.getItemClasses(), part: "container" }, hAsync("div", { key: '61b5570c3bc98afccb9d8fa12036874eff797b00', "aria-expanded": String(this.isExpanded), class: "page-navigation-multi-level-parent", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleParentClick, onFocus: this.handleFocus, onKeyDown: this.handleParentKeyDown, onMouseEnter: () => this.focusState.handleMouseEnter(), onMouseLeave: () => this.focusState.handleMouseLeave(), part: "parent", role: "button", tabIndex: 0 }, hAsync("div", { key: 'ecb225085b57e91a45ca5261160e5faa8fb5320d', class: "page-navigation-item-content" }, !this.focusState.isHovered && (hAsync("span", { key: '3ec3d64a64ca0557f5dd1868b58afce58f5028c3', "aria-hidden": "true", class: "page-navigation-item-icon material-symbols-outlined" }, this.icon)), this.focusState.isHovered && (hAsync("span", { key: '6e63fa64c2d5a24f6fc0440a961e58aad6fd044c', "aria-hidden": "true", class: {
|
|
68230
69027
|
"page-navigation-chevron-icon": true,
|
|
68231
69028
|
"material-symbols-outlined": true,
|
|
68232
69029
|
expanded: this.isExpanded,
|
|
68233
|
-
} }, "expand_more")), hAsync("span", { key: '
|
|
69030
|
+
} }, "expand_more")), hAsync("span", { key: 'e48c777f044af85e035969be85c75a44c0033972', class: "page-navigation-item-label" }, this.label), this.badge !== undefined && (hAsync("bh-badge", { key: 'b3e00c448d7dd26de9c4a39e2cf256f7dc14e039', class: "page-navigation-item-badge", emphasis: "medium", label: String(this.badge), part: "badge", size: "sm", variant: "gray" })), hAsync("bh-button-icon", { key: '4e6154e0f29457173b4617f554095c99bb1edee6', ariaLabel: `Add to ${this.label}`, hierarchy: "tertiary", iconName: "add", onClick: this.handleAddClick, size: "xs" }))), (this.isExpanded || this.isAnimating) && (hAsync("div", { key: '4df9880e7f4975b317544e9a3b18156b5590830c', class: `page-navigation-children ${this.animationClass}`, part: "children", role: "group" }, this.getParsedChildItems().map((child, index) => (hAsync("bh-page-navigation-child", { badge: child.badge, isActive: child.isActive, key: index, label: child.label, onBhItemClick: () => this.handleChildClick(index), showBadge: child.showBadge }))))))));
|
|
68234
69031
|
}
|
|
68235
69032
|
static get watchers() { return {
|
|
68236
69033
|
"isExpanded": [{
|
|
@@ -68327,7 +69124,7 @@ class BhPageNavigationSingleLevel {
|
|
|
68327
69124
|
};
|
|
68328
69125
|
}
|
|
68329
69126
|
render() {
|
|
68330
|
-
return (hAsync(Host, { key: '
|
|
69127
|
+
return (hAsync(Host, { key: 'ffa7f8fae621f03d4c069c8f335b905c35cec6fa' }, hAsync("div", { key: 'de70f38734b07e9b2a3b9daee4e11c053aa73fdf', "aria-current": this.isActive ? "page" : undefined, class: this.getItemClasses(), "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: () => this.handleClick(), onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container", role: "button", tabIndex: 0 }, hAsync("div", { key: 'd5e9efd758166f3fc2f0c66f66f8442a0cd0e192', class: "page-navigation-item-content", part: "content" }, hAsync("span", { key: '3d8bb218a663ed658fb59e8cb74fe8b754130406', "aria-hidden": "true", class: "page-navigation-item-icon material-symbols-outlined", part: "icon" }, this.icon), hAsync("span", { key: '6d864cb47d3daca69f451f145f85b5fa823b81e9', class: "page-navigation-item-label", part: "label" }, this.label)))));
|
|
68331
69128
|
}
|
|
68332
69129
|
static get style() { return bhPageNavigationSingleLevelCss(); }
|
|
68333
69130
|
static get cmpMeta() { return {
|
|
@@ -68681,10 +69478,10 @@ class BhPagination {
|
|
|
68681
69478
|
"pagination-disabled": this.disabled,
|
|
68682
69479
|
"pagination-compact": this.compact,
|
|
68683
69480
|
};
|
|
68684
|
-
return (hAsync(Host, { key: '
|
|
69481
|
+
return (hAsync(Host, { key: 'd589b2ea9f5847b246c11fba873a94d559e2c54d' }, hAsync("div", { key: 'ac6334183a690267b6b353383a77c78c2f5af164', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": "Pagination", class: paginationClasses, "data-focus-version": this.focusVersion, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "pagination", role: "navigation", tabIndex: this.disabled ? -1 : 0 }, hAsync("div", { key: 'd3810303e27e59bb90738eedf0613373411f8b8f', class: "pagination-controls", part: "controls" }, this.showPageSize && (hAsync("div", { key: '31cec839476e410aad5a83d9122d7b6d35ea10d3', "aria-label": resolveI18n("bh-pagination", "rowsPerPageLabel", this.rowsPerPageLabel, "Rows per page:"), class: "pagination-page-size", role: "group" }, hAsync("span", { key: '06930e1fb13f06b3171fe0c76d1aba14d04e69f0', "aria-hidden": "true", class: "pagination-page-size-label" }, resolveI18n("bh-pagination", "rowsPerPageLabel", this.rowsPerPageLabel, "Rows per page:")), hAsync("bh-select", { key: 'fe42b32ff394ca8dd4e2002dcb8103b3a19368ab', class: "pagination-select", disabled: this.disabled, onBhChange: (e) => this.handlePageSizeChange(e), options: this.pageSizeOptions.map((size) => ({
|
|
68685
69482
|
value: String(size),
|
|
68686
69483
|
label: String(size),
|
|
68687
|
-
})), size: "sm", value: String(this.internalPageSize) }))), hAsync("div", { key: '
|
|
69484
|
+
})), size: "sm", value: String(this.internalPageSize) }))), hAsync("div", { key: 'c4f4c7c46ca38c867d95ce1aab1dbcbdeb150b14', class: "pagination-nav", part: "nav" }, hAsync("bh-button-icon", { key: '8c1338fe1ba4a928dea15ba223dd57f480425a0e', ariaLabel: "Go to previous page", class: "pagination-btn", disabled: !this.canGoPrevious, hierarchy: "tertiary", iconName: "chevron_left", onClick: this.goToPrevious, size: "sm" }), this.renderPageNumbers(), hAsync("bh-button-icon", { key: 'c0c49d698452890b3996394ffa5b142a8f23890e', ariaLabel: "Go to next page", class: "pagination-btn", disabled: !this.canGoNext, hierarchy: "tertiary", iconName: "chevron_right", onClick: this.goToNext, size: "sm" }))), this.showItemCount && (hAsync("div", { key: 'f5bc52de1ea8511b4ffc92ee5285be558c3cb633', "aria-atomic": "true", "aria-live": "polite", class: "pagination-info", part: "info" }, hAsync("span", { key: '475b2a8c3eb9c9c6f992bf7d424b91538b44a5e9', class: "pagination-info-text" }, this.getInfoText()))))));
|
|
68688
69485
|
}
|
|
68689
69486
|
static get style() { return bhPaginationCss(); }
|
|
68690
69487
|
static get cmpMeta() { return {
|
|
@@ -69190,12 +69987,12 @@ class BhPieChart {
|
|
|
69190
69987
|
render() {
|
|
69191
69988
|
const segments = this.getSegments();
|
|
69192
69989
|
const innerRadius = this.getInnerRadius();
|
|
69193
|
-
return (hAsync(Host, { key: '
|
|
69990
|
+
return (hAsync(Host, { key: '32e213722ad430ed2b9e4b235d44d43893a0640a' }, hAsync("div", { key: 'd3d031c4e3b35f84cdd11f3f91f235b190a89dfb', class: {
|
|
69194
69991
|
"pie-chart-wrapper": true,
|
|
69195
69992
|
[`legend-${this.legendPosition}`]: this.showLegend,
|
|
69196
|
-
} }, hAsync("div", { key: '
|
|
69993
|
+
} }, hAsync("div", { key: '6e465a575be22db278fa1d7a4292bbf50075007b', class: "pie-chart-container", part: "container", style: { width: `${this.size}px`, height: `${this.size}px` } }, hAsync("svg", { key: 'a0abc090cb119e67b7dfb17ab403a3add4e34e1a', "aria-label": resolveI18n("bh-pie-chart", "ariaLabel", undefined, "Pie chart"), class: "pie-chart-svg", height: this.size, role: "img", viewBox: "0 0 160 160", width: this.size }, hAsync("circle", { key: '3e9d942315f0c22c637d5e76dcabf3a300e7b0a7', class: "pie-background", cx: "80", cy: "80", fill: "transparent", r: "80" }), segments.map((segment, index) => (hAsync("g", { class: "pie-segment-group", key: index }, hAsync("path", { class: { "pie-segment": true, animated: this.animated }, d: segment.path, fill: segment.color, onClick: (e) => this.handleSegmentClick(e, segment), onMouseEnter: (e) => this.handleSegmentHover(e, segment), onMouseLeave: (e) => this.handleSegmentLeave(e, segment), style: {
|
|
69197
69994
|
animationDelay: this.animated ? `${index * 0.03}s` : "0s",
|
|
69198
|
-
} })))), this.hole !== "none" && (hAsync("circle", { key: '
|
|
69995
|
+
} })))), this.hole !== "none" && (hAsync("circle", { key: '6b1fbf81da9588ab088329c32bf3aa9b3d29f2f4', class: "pie-inner-hole", cx: "80", cy: "80", fill: "white", r: innerRadius }))), this.renderCenterText()), this.renderLegend(segments)), hAsync("bh-chart-tooltip", { key: '39bce63e5b0eab31b002a481b6e9dc9580ce211a', "aria-hidden": this.tooltipVisible ? undefined : "true", items: this.tooltipSegment
|
|
69199
69996
|
? [
|
|
69200
69997
|
{
|
|
69201
69998
|
label: this.tooltipSegment.name,
|
|
@@ -70892,32 +71689,32 @@ class BhPivotGrid {
|
|
|
70892
71689
|
: String(m.columnCount +
|
|
70893
71690
|
(this.showRowGrandTotals ? 1 : 0) +
|
|
70894
71691
|
(this.showColumnGrandTotals ? 1 : 0));
|
|
70895
|
-
return (hAsync(Host, { key: '
|
|
71692
|
+
return (hAsync(Host, { key: '6fbbb10a181ff987c473f6a3b1f19835c30a7e80', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": resolveI18n("bh-pivot-grid", "ariaLabel", this.ariaLabel, "Pivot grid"), class: "pivot-grid-root", onFocus: (e) => {
|
|
70896
71693
|
if (this.matrix && e.target === this.el && this.activeCellEl) {
|
|
70897
71694
|
this.activeCellEl.focus();
|
|
70898
71695
|
}
|
|
70899
|
-
}, onKeyDown: this.handleGridKeyDown, role: "grid", tabindex: this.disabled ? -1 : this.focusTabIndex }, hAsync("div", { key: '
|
|
71696
|
+
}, onKeyDown: this.handleGridKeyDown, role: "grid", tabindex: this.disabled ? -1 : this.focusTabIndex }, hAsync("div", { key: '200a2c1a121ef93378488d74c227579339f6cc89', "aria-atomic": "true", "aria-live": "polite", class: "pivot-grid-live-region", role: "status" }, this.liveAnnouncement), hAsync("div", { key: '1aa66a126f3b4bca60066071a3cd3e8b346f9b3b', class: "pivot-grid-root" }, this.showFieldPanel && (hAsync("div", { key: '5b235927a3f38e3307fe0f3de4944187e0c927b7', class: "pivot-grid-toolbar", part: "toolbar" }, hAsync("slot", { key: '1634439bba85fbff3c38dc9dd99496c1e0154df3', name: "toolbar-start" }), this.showFieldChooserButton && this.fieldChooserEnabled && (hAsync("button", { key: 'a5393995c9651164f85289ade65c27238bf95acf', "aria-label": t.showFieldChooser, class: "pivot-grid-toolbar-btn", disabled: this.disabled, onClick: () => this.showFieldChooser(), type: "button" }, t.showFieldChooser)), this.enableExport && this.showExportButton && (hAsync("button", { key: '6c2ab09403c84c1073f75221a8f374df89c09fd2', "aria-label": t.exportToExcel, class: "pivot-grid-toolbar-btn", disabled: this.disabled, onClick: () => this.exportTo("csv"), type: "button" }, t.exportToExcel)), hAsync("slot", { key: '4b06f58afe90ca5cff3d296b31df85f157a29313', name: "toolbar-end" }))), this.showFieldPanel && (hAsync("div", { key: '292857f8cdfb7b01aabf500b972a4dd3e0a97379', class: "pivot-grid-field-panel", part: "field-panel" }, this.showRowFields && (hAsync("div", { key: '2d3f2b8e375e2bb814a4f1a5d494ded7ebdef7d5', class: {
|
|
70900
71697
|
"pivot-grid-field-area": true,
|
|
70901
71698
|
"pivot-grid-drop-zone-active": this.dropTargetArea === "row",
|
|
70902
|
-
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "row"), onDrop: (e) => this.onFieldDrop(e, "row"), part: "field-area-row" }, hAsync("span", { key: '
|
|
71699
|
+
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "row"), onDrop: (e) => this.onFieldDrop(e, "row"), part: "field-area-row" }, hAsync("span", { key: '05ed6c936d9dc66e673a4249642a1e631c210929', class: "pivot-grid-field-area-label" }, t.rowFields), hAsync("div", { key: 'a31d04115b5c55de9b172d85ad1b4652d0695a66', class: "pivot-grid-field-chips" }, this.fields
|
|
70903
71700
|
.filter((f) => f.area === "row")
|
|
70904
71701
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
70905
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField)))))), this.showColumnFields && (hAsync("div", { key: '
|
|
71702
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField)))))), this.showColumnFields && (hAsync("div", { key: 'af55068f00c27df2a51a795580d00e74e7c4b451', class: {
|
|
70906
71703
|
"pivot-grid-field-area": true,
|
|
70907
71704
|
"pivot-grid-drop-zone-active": this.dropTargetArea === "column",
|
|
70908
|
-
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "column"), onDrop: (e) => this.onFieldDrop(e, "column"), part: "field-area-column" }, hAsync("span", { key: '
|
|
71705
|
+
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "column"), onDrop: (e) => this.onFieldDrop(e, "column"), part: "field-area-column" }, hAsync("span", { key: 'f1ec4e0585bc21025ca2842cfd7638a51af26799', class: "pivot-grid-field-area-label" }, t.columnFields), hAsync("div", { key: '5ad15f3abc2b00ba3cbcd995209701ce5dcf4ea5', class: "pivot-grid-field-chips" }, this.fields
|
|
70909
71706
|
.filter((f) => f.area === "column")
|
|
70910
71707
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
70911
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField)))))), this.showDataFields && (hAsync("div", { key: '
|
|
71708
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField)))))), this.showDataFields && (hAsync("div", { key: 'da383c15d581d08b8808f30a04c849049482c67f', class: {
|
|
70912
71709
|
"pivot-grid-field-area": true,
|
|
70913
71710
|
"pivot-grid-drop-zone-active": this.dropTargetArea === "data",
|
|
70914
|
-
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "data"), onDrop: (e) => this.onFieldDrop(e, "data"), part: "field-area-data" }, hAsync("span", { key: '
|
|
71711
|
+
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "data"), onDrop: (e) => this.onFieldDrop(e, "data"), part: "field-area-data" }, hAsync("span", { key: '957e082390e7cc25fb278cb18dbb55d81e9602bb', class: "pivot-grid-field-area-label" }, t.dataFields), hAsync("div", { key: '0a9957fb1bf333494824a63a84d5a064251f3221', class: "pivot-grid-field-chips" }, this.fields
|
|
70915
71712
|
.filter((f) => f.area === "data")
|
|
70916
71713
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
70917
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField, f.summaryType ? ` (${f.summaryType})` : "")))))), this.showFilterFields && (hAsync("div", { key: '
|
|
71714
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField, f.summaryType ? ` (${f.summaryType})` : "")))))), this.showFilterFields && (hAsync("div", { key: 'ccfd40613869ca7909e9bdeba8a52a9431114b66', class: {
|
|
70918
71715
|
"pivot-grid-field-area": true,
|
|
70919
71716
|
"pivot-grid-drop-zone-active": this.dropTargetArea === "filter",
|
|
70920
|
-
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "filter"), onDrop: (e) => this.onFieldDrop(e, "filter"), part: "field-area-filter" }, hAsync("span", { key: '
|
|
71717
|
+
}, onDragLeave: () => this.onFieldDragLeave(), onDragOver: (e) => this.onFieldDragOver(e, "filter"), onDrop: (e) => this.onFieldDrop(e, "filter"), part: "field-area-filter" }, hAsync("span", { key: 'e7cd46d488f7f8a5515bb32871eddad0a3badcb5', class: "pivot-grid-field-area-label" }, t.filterFields), hAsync("div", { key: '92d1eac26f70d7470852bcb1957e444b7c39ab7c', class: "pivot-grid-field-chips" }, this.fields
|
|
70921
71718
|
.filter((f) => f.area === "filter")
|
|
70922
71719
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
70923
71720
|
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", draggable: this.allowFieldDragging && f.allowDragging !== false, key: f.dataField, onDragEnd: (e) => this.onFieldDragEnd(e), onDragStart: (e) => this.onFieldDragStart(e, f), part: "field-chip" }, f.caption ?? f.dataField)))), this.allowFiltering &&
|
|
@@ -70943,7 +71740,7 @@ class BhPivotGrid {
|
|
|
70943
71740
|
const indices = Array.from(sel.selectedOptions).map((o) => Number(o.value));
|
|
70944
71741
|
this.setFilterSelectedValues(f.dataField, indices.map((i) => uniqueValues[i]));
|
|
70945
71742
|
}, part: "filter-select" }, uniqueValues.map((v, i) => (hAsync("option", { selected: selectedSet.has(v), value: String(i) }, String(v ?? ""))))))));
|
|
70946
|
-
}))))), hAsync("div", { key: '
|
|
71743
|
+
}))))), hAsync("div", { key: '95b64cf01157b79ddd6b5351236659fa979c9f54', "aria-busy": this.loading ? "true" : undefined, class: "pivot-grid-content", role: "region" }, this.loading ? (hAsync("div", { class: "pivot-grid-loading", part: "loading" }, hAsync("slot", { name: "loading" }, this.loadingType === "skeleton" ? (hAsync("div", { class: "pivot-grid-skeleton" }, hAsync("bh-skeleton-loader", { height: "var(--bh-pivot-grid-header-height)", width: "100%" }), [1, 2, 3, 4, 5].map((i) => (hAsync("bh-skeleton-loader", { height: "var(--bh-pivot-grid-cell-height)", key: i, width: "100%" }))))) : (hAsync("bh-loader-spinner", { ariaLabel: t.dataNotAvailable, overlay: true, overlayMessage: t.dataNotAvailable, size: "lg" }))))) : isEmpty ? (hAsync("div", { class: "pivot-grid-empty", part: "empty", role: "status" }, hAsync("slot", { name: "empty-state" }, hAsync("div", null, hAsync("strong", null, resolveI18n("bh-pivot-grid", "emptyTitle", this.emptyTitle, "No data")), hAsync("p", null, resolveI18n("bh-pivot-grid", "emptyDescription", this.emptyDescription, "Configure fields to build your pivot table.")))))) : this.matrix ? (hAsync("div", { class: "pivot-grid-table-wrapper", onContextMenu: this.onTableContextMenu, part: "table-wrapper" }, hAsync("table", { "aria-colcount": ariaColCount, "aria-label": resolveI18n("bh-pivot-grid", "ariaLabel", this.ariaLabel, "Pivot grid"), "aria-rowcount": ariaRowCount, class: "pivot-grid-table", part: "table" }, hAsync("thead", { class: "pivot-grid-thead", part: "thead" }, hAsync("tr", { class: "pivot-grid-header-row", role: "row" }, hAsync("th", { "aria-sort": this.allowSorting &&
|
|
70947
71744
|
this.fields.filter((x) => x.area === "row").length > 0
|
|
70948
71745
|
? this.getSortOrder(this.fields.filter((x) => x.area === "row")[0]
|
|
70949
71746
|
?.dataField ?? "") === "asc"
|
|
@@ -71080,19 +71877,19 @@ class BhPivotGrid {
|
|
|
71080
71877
|
const val = this.matrix.grandTotal?.formattedValue;
|
|
71081
71878
|
const empty = val == null || String(val).trim() === "";
|
|
71082
71879
|
return empty ? t.emptyValue : (val ?? "");
|
|
71083
|
-
})())))))))) : (hAsync("div", { class: "pivot-grid-table-wrapper", part: "table-wrapper" }, hAsync("p", { "aria-live": "polite" }, this.effectiveData.length, " rows, ", this.fields.length, " fields configured."))))), hAsync("bh-modal", { key: '
|
|
71880
|
+
})())))))))) : (hAsync("div", { class: "pivot-grid-table-wrapper", part: "table-wrapper" }, hAsync("p", { "aria-live": "polite" }, this.effectiveData.length, " rows, ", this.fields.length, " fields configured."))))), hAsync("bh-modal", { key: 'f0491f3cfcee78a7873e781026b4b7429f6b7194', ariaLabel: resolveI18n("bh-pivot-grid", "fieldChooserTitle", this.fieldChooserTitle, "Field Chooser"), class: "pivot-grid-field-chooser-modal", onBhClose: () => this.hideFieldChooser(), visible: this.fieldChooserOpen, width: "md" }, hAsync("div", { key: '53b8378cb7ac2dc7a3e08bb8648f648441b888a5', class: "pivot-grid-field-chooser-header", slot: "header" }, hAsync("h2", { key: '3342eebdb94a527beb213b2efae4e8d1a9006761', class: "pivot-grid-field-chooser-title" }, resolveI18n("bh-pivot-grid", "fieldChooserTitle", this.fieldChooserTitle, "Field Chooser"))), hAsync("div", { key: '85dcbcc5f47b13e39d15956261fc93eb619d59ac', class: "pivot-grid-field-chooser-body" }, hAsync("p", { key: '54accab5562a756ece48e67ad0290411f19b2a9f', class: "pivot-grid-field-chooser-hint" }, t.rowFieldArea, " \u2022 ", t.columnFieldArea, " \u2022 ", t.dataFieldArea, " \u2022", " ", t.filterFieldArea), hAsync("div", { key: 'deee3da1059575b656c64759ba3d07cf5f40ea1f', class: "pivot-grid-field-chooser-areas" }, hAsync("div", { key: 'ed9262c407b53341b63b8550003354a5def4f9d1', class: "pivot-grid-field-chooser-area" }, hAsync("span", { key: 'b20378adbc9a4fcef07d305b2bf2ef374716a4da', class: "pivot-grid-field-area-label" }, t.rowFields), hAsync("div", { key: 'b3da7c4636ce911ddbbdb444f7ebaa0bd2a6aa1a', class: "pivot-grid-field-chips" }, this.fields
|
|
71084
71881
|
.filter((f) => f.area === "row")
|
|
71085
71882
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
71086
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField))))), hAsync("div", { key: '
|
|
71883
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField))))), hAsync("div", { key: 'a6210c4eae492ca8143788e225f1753700602bb7', class: "pivot-grid-field-chooser-area" }, hAsync("span", { key: '9251ad88d8afd0b1e43d0981398f45aa56e86657', class: "pivot-grid-field-area-label" }, t.columnFields), hAsync("div", { key: 'a6bb41eac725feefb97823dfd7240aed8271f9ca', class: "pivot-grid-field-chips" }, this.fields
|
|
71087
71884
|
.filter((f) => f.area === "column")
|
|
71088
71885
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
71089
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField))))), hAsync("div", { key: '
|
|
71886
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField))))), hAsync("div", { key: 'e4450160900e137cd487f04d67865ff9602950f7', class: "pivot-grid-field-chooser-area" }, hAsync("span", { key: 'd4b111a47f3cc58423f795ebd1fbfa8b0f305d7f', class: "pivot-grid-field-area-label" }, t.dataFields), hAsync("div", { key: '7431129b07367bcfc3e1e6e272a277ab280697c6', class: "pivot-grid-field-chips" }, this.fields
|
|
71090
71887
|
.filter((f) => f.area === "data")
|
|
71091
71888
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
71092
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField, f.summaryType ? ` (${f.summaryType})` : ""))))), hAsync("div", { key: '
|
|
71889
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField, f.summaryType ? ` (${f.summaryType})` : ""))))), hAsync("div", { key: 'a7e1cdfd4fee2ff7934c3c7bd3fd07da83348446', class: "pivot-grid-field-chooser-area" }, hAsync("span", { key: '164f581553722cad871dd65f6e479e11aea9e7e4', class: "pivot-grid-field-area-label" }, t.filterFields), hAsync("div", { key: '5929e949659c43c1fe4f88772866de6aef9a7efc', class: "pivot-grid-field-chips" }, this.fields
|
|
71093
71890
|
.filter((f) => f.area === "filter")
|
|
71094
71891
|
.toSorted((a, b) => (a.areaIndex ?? 0) - (b.areaIndex ?? 0))
|
|
71095
|
-
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField))))))), hAsync("div", { key: '
|
|
71892
|
+
.map((f) => (hAsync("span", { class: "pivot-grid-field-chip", key: f.dataField, part: "field-chip" }, f.caption ?? f.dataField))))))), hAsync("div", { key: 'e9b994e2d11a2637ebbb498cabaed327b6a58ab3', class: "pivot-grid-field-chooser-footer", slot: "actions" }, hAsync("button", { key: 'fdda6a9cf693a6ce62de7c31faff616102ed48ae', class: "pivot-grid-toolbar-btn", onClick: () => this.hideFieldChooser(), type: "button" }, t.ok))), this.headerFilterOpenField && (hAsync("div", { key: '564280762b3c50318b85877120de56bbe150c9bc', "aria-label": `Filter by ${this.fields.find((f) => f.dataField === this.headerFilterOpenField)?.caption ?? this.headerFilterOpenField}`, class: "pivot-grid-header-filter-popup", part: "header-filter-popup", role: "dialog", style: {
|
|
71096
71893
|
left: `${this.headerFilterAnchorX}px`,
|
|
71097
71894
|
top: `${this.headerFilterAnchorY}px`,
|
|
71098
71895
|
width: `${this.headerFilterWidth}px`,
|
|
@@ -71108,7 +71905,7 @@ class BhPivotGrid {
|
|
|
71108
71905
|
filteredValues.length > 0 && (hAsync("label", { class: "pivot-grid-header-filter-select-all" }, hAsync("input", { checked: allSelected, onChange: () => this.setHeaderFilterSelectAll(!allSelected, filteredValues), type: "checkbox" }), "Select All")), this.headerFilterSearchEnabled && (hAsync("input", { class: "pivot-grid-header-filter-search", onInput: (e) => {
|
|
71109
71906
|
this.headerFilterSearchQuery = e.target.value;
|
|
71110
71907
|
}, part: "header-filter-search", placeholder: resolveI18n("bh-pivot-grid", "searchPlaceholder", undefined, "Search..."), type: "search", value: this.headerFilterSearchQuery })), hAsync("div", { class: "pivot-grid-header-filter-list", part: "header-filter-list" }, filteredValues.map((v) => (hAsync("label", { class: "pivot-grid-header-filter-item", key: String(v ?? "") }, hAsync("input", { checked: pendingSet.has(v), onChange: () => this.toggleHeaderFilterValue(v), type: "checkbox" }), String(v ?? t.emptyValue ?? "(Blanks)"))))), hAsync("div", { class: "pivot-grid-header-filter-actions" }, hAsync("button", { class: "pivot-grid-toolbar-btn", onClick: () => this.closeHeaderFilter(), type: "button" }, t.cancel), hAsync("button", { class: "pivot-grid-toolbar-btn pivot-grid-toolbar-btn-primary", onClick: () => this.applyHeaderFilter(), type: "button" }, t.ok))));
|
|
71111
|
-
})())), this.contextMenuVisible && this.contextMenuItems.length > 0 && (hAsync("div", { key: '
|
|
71908
|
+
})())), this.contextMenuVisible && this.contextMenuItems.length > 0 && (hAsync("div", { key: '7d6e54dfd3da1a430762d8e525285c8e609d346a', class: "pivot-grid-context-menu", part: "context-menu", role: "menu", style: {
|
|
71112
71909
|
left: `${this.contextMenuX}px`,
|
|
71113
71910
|
top: `${this.contextMenuY}px`,
|
|
71114
71911
|
} }, this.contextMenuItems.map((item) => item.beginGroup ? (hAsync("div", { class: "pivot-grid-context-menu-separator", key: item.id, part: "context-menu-separator", role: "separator" })) : (hAsync("button", { class: "pivot-grid-context-menu-item", disabled: item.disabled, key: item.id, onClick: () => {
|
|
@@ -71428,9 +72225,9 @@ class BhPivotGridFieldChooser {
|
|
|
71428
72225
|
render() {
|
|
71429
72226
|
const t = this.t;
|
|
71430
72227
|
const showApplyBar = this.applyChangesMode === "onDemand" && !this.disabled;
|
|
71431
|
-
return (hAsync(Host, { key: '
|
|
72228
|
+
return (hAsync(Host, { key: '160bca86a8a6ed39db89caf216f7488b79adb53a', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": resolveI18n("bh-pivot-grid-field-chooser", "ariaLabel", undefined, "Pivot grid field chooser"), class: {
|
|
71432
72229
|
"field-chooser-on-demand": this.applyChangesMode === "onDemand",
|
|
71433
|
-
} }, hAsync("div", { key: '
|
|
72230
|
+
} }, hAsync("div", { key: 'dc9212b713e3f624fc4301e7b7f0f700b19acc46', class: "field-chooser-root" }, hAsync("div", { key: '57c0ebbf3e46b6c4bc65b957053842242bba24c7', class: "field-chooser-areas" }, this.renderArea("row", t.rowFields ?? "Row Fields"), this.renderArea("column", t.columnFields ?? "Column Fields"), this.renderArea("data", t.dataFields ?? "Data Fields"), this.renderArea("filter", t.filterFields ?? "Filter Fields")), showApplyBar && (hAsync("div", { key: 'd86dada751587c7d2fe1c942a275a4a46b048598', class: "field-chooser-footer" }, hAsync("button", { key: 'f4214fc1bce9748079ff58c675ab6d4c9161942a', class: "field-chooser-btn", onClick: this.resetPending, type: "button" }, t.cancel ?? "Cancel"), hAsync("button", { key: '77812e2d497ccc04c28d9d0c273ec532239d7e57', class: "field-chooser-btn field-chooser-btn-primary", onClick: this.applyPending, type: "button" }, t.ok ??
|
|
71434
72231
|
resolveI18n("bh-pivot-grid-field-chooser", "applyLabel", undefined, "Apply")))))));
|
|
71435
72232
|
}
|
|
71436
72233
|
static get watchers() { return {
|
|
@@ -72054,16 +72851,16 @@ class BhProgressBar {
|
|
|
72054
72851
|
const percentage = this.getPercentage();
|
|
72055
72852
|
const { label, formattedValue, value, sublabel } = this.data;
|
|
72056
72853
|
const displayValue = formattedValue || String(value);
|
|
72057
|
-
return (hAsync(Host, { key: '
|
|
72854
|
+
return (hAsync(Host, { key: '48d7e391cdc1b39313ad50b8fed3b6700dd97f5e' }, hAsync("div", { key: '3a0a5e832c961546425faf75c5072b52346825b9', "aria-label": this.getAriaLabel(), "aria-valuemax": this.data.max, "aria-valuemin": 0, "aria-valuenow": this.data.value, class: {
|
|
72058
72855
|
"progress-bar-container": true,
|
|
72059
72856
|
"progress-bar-animated": this.animated,
|
|
72060
|
-
}, onClick: this.handleClick, part: "container", role: "meter" }, this.showLabel && label && (hAsync("div", { key: '
|
|
72857
|
+
}, onClick: this.handleClick, part: "container", role: "meter" }, this.showLabel && label && (hAsync("div", { key: '7d7af6542e816dfab62460ec549e1baa16c1674e', class: "progress-label", part: "label" }, label)), this.showValue && (hAsync("div", { key: '4d6d062b185a81d3014047234c446adafb499add', class: "progress-value", part: "value" }, displayValue)), hAsync("div", { key: '492f2236640812d7acb5a908c33ee16ec496dd05', class: "progress-track-row" }, hAsync("div", { key: '2496c9a4bd3a6dc6f49bdd5c94864e71c2e2ae6c', class: "progress-track", part: "track", style: {
|
|
72061
72858
|
height: `${this.height}px`,
|
|
72062
72859
|
backgroundColor: this.trackColor,
|
|
72063
|
-
} }, hAsync("div", { key: '
|
|
72860
|
+
} }, hAsync("div", { key: '200a05ac521da65eb4d633102b6ea52317c746c8', class: "progress-fill", part: "fill", style: {
|
|
72064
72861
|
width: `${percentage}%`,
|
|
72065
72862
|
backgroundColor: this.color,
|
|
72066
|
-
} })), this.showPercentage && (hAsync("span", { key: '
|
|
72863
|
+
} })), this.showPercentage && (hAsync("span", { key: '3a59357896ea81e2f077d2f96b37477e24380297', class: "progress-percentage", part: "percentage" }, percentage, "%"))), this.showSublabel && sublabel && (hAsync("div", { key: '3db6988ad6a79534987b2ff4f82408ecc20674fb', class: "progress-sublabel", part: "sublabel" }, sublabel)))));
|
|
72067
72864
|
}
|
|
72068
72865
|
static get style() { return bhProgressBarCss(); }
|
|
72069
72866
|
static get cmpMeta() { return {
|
|
@@ -72110,7 +72907,7 @@ class BhProgressRing {
|
|
|
72110
72907
|
const radius = Math.max(0, half - this.strokeWidth - 1);
|
|
72111
72908
|
const circumference = 2 * Math.PI * radius;
|
|
72112
72909
|
const offset = circumference * (1 - val / 100);
|
|
72113
|
-
return (hAsync(Host, { key: '
|
|
72910
|
+
return (hAsync(Host, { key: 'ba84b91c7271b2bd8dac8754bb1b5cd0a7516deb', class: { "progress-ring-complete": val >= 100 } }, hAsync("svg", { key: '0dbc1d81c4c0021999003eb181901e22b1b3df35', "aria-label": `Progress: ${val}%`, "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": `${val}`, height: `${this.effectiveSize}`, role: "progressbar", viewBox: `0 0 ${this.effectiveSize} ${this.effectiveSize}`, width: `${this.effectiveSize}` }, hAsync("circle", { key: 'b3f0cbd98a0afa880aedd279bb9a66ba8b419d51', class: "progress-ring-bg", cx: `${half}`, cy: `${half}`, fill: "none", r: `${radius}`, "stroke-width": `${this.strokeWidth}` }), hAsync("circle", { key: 'bec1347c035e0ebdc6a3e37b30149009604232e6', class: "progress-ring-fg", cx: `${half}`, cy: `${half}`, fill: "none", r: `${radius}`, "stroke-dasharray": `${circumference}`, "stroke-dashoffset": `${offset}`, "stroke-linecap": "round", "stroke-width": `${this.strokeWidth}`, transform: `rotate(-90 ${half} ${half})` }), hAsync("text", { key: 'a3fbed3bb2dcaa09fcca00ae06e588d74071ce7c', class: "progress-ring-text", "dominant-baseline": "central", "text-anchor": "middle", x: "50%", y: "50%" }, val, "%"))));
|
|
72114
72911
|
}
|
|
72115
72912
|
static get style() { return bhProgressRingCss(); }
|
|
72116
72913
|
static get cmpMeta() { return {
|
|
@@ -72153,7 +72950,7 @@ class BhPropertySwitcher {
|
|
|
72153
72950
|
/**
|
|
72154
72951
|
* Selected property name to display (initial value)
|
|
72155
72952
|
*/
|
|
72156
|
-
selectedProperty = "
|
|
72953
|
+
selectedProperty = "";
|
|
72157
72954
|
/**
|
|
72158
72955
|
* Array of property options
|
|
72159
72956
|
*/
|
|
@@ -72225,7 +73022,8 @@ class BhPropertySwitcher {
|
|
|
72225
73022
|
return [];
|
|
72226
73023
|
}
|
|
72227
73024
|
componentWillLoad() {
|
|
72228
|
-
this.internalSelectedProperty =
|
|
73025
|
+
this.internalSelectedProperty =
|
|
73026
|
+
this.selectedProperty || this.getParsedProperties()[0]?.name || "";
|
|
72229
73027
|
this.focusState.onChange(() => {
|
|
72230
73028
|
this.focusVersion++;
|
|
72231
73029
|
});
|
|
@@ -72234,6 +73032,15 @@ class BhPropertySwitcher {
|
|
|
72234
73032
|
});
|
|
72235
73033
|
}
|
|
72236
73034
|
dismissalManager;
|
|
73035
|
+
handlePropertiesChange() {
|
|
73036
|
+
if (!this.internalSelectedProperty) {
|
|
73037
|
+
this.internalSelectedProperty = this.getParsedProperties()[0]?.name ?? "";
|
|
73038
|
+
}
|
|
73039
|
+
}
|
|
73040
|
+
handleSelectedPropertyChange(value) {
|
|
73041
|
+
this.internalSelectedProperty =
|
|
73042
|
+
value || this.getParsedProperties()[0]?.name || "";
|
|
73043
|
+
}
|
|
72237
73044
|
handleExpandedChange(newValue) {
|
|
72238
73045
|
if (newValue) {
|
|
72239
73046
|
this.dismissalManager?.enable();
|
|
@@ -72448,11 +73255,17 @@ class BhPropertySwitcher {
|
|
|
72448
73255
|
};
|
|
72449
73256
|
const selectedProp = this.getSelectedProperty();
|
|
72450
73257
|
const displayName = this.internalSelectedProperty || this.selectedProperty;
|
|
72451
|
-
return (hAsync(Host, { key: '
|
|
73258
|
+
return (hAsync(Host, { key: '0314c59164bd68049834d6926937a5410511b2f4' }, hAsync("div", { key: '9bd6697b5086fb3b91ba3d07e0df7a107f763c61', class: containerClasses, "data-focused": String(this.focusState.isFocused), onFocusin: this.handleFocus, onFocusout: this.handleBlur, part: "container", ref: (el) => (this.switcherRef = el) }, hAsync("button", { key: '064c51318774731963786d9600f9d9c0aa325e61', "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": `Property selector: ${displayName}`, class: "property-selector", onClick: () => this.handleToggle(), part: "selector" }, selectedProp && (hAsync("span", { key: 'dde9f0c0da94b80c7833ced86a232641b9c34ea2', class: "material-symbols-outlined selector-icon" }, this.getPropertyIcon(selectedProp.type))), hAsync("span", { key: '786cf85012ba2ca9fab0016668e3946bc137c39a', class: "property-name" }, displayName), hAsync("span", { key: 'd0e53949cbad02f7fba5cf5e05bbb32513311710', "aria-label": this.isExpanded ? "Collapse Options" : "Expand Options", class: "material-symbols-outlined expand-icon" }, this.isExpanded ? "unfold_less" : "unfold_more")), this.isExpanded && (hAsync("div", { key: '32ae0957298d8c182fbee896f11d075bd9172636', class: "dropdown-panel", part: "dropdown" }, this.renderSearchInput(), hAsync("div", { key: 'ce586cbd183d9fa6c362e4c844fc8d78866f8dc8', class: "dropdown-content", part: "content" }, this.grouped
|
|
72452
73259
|
? this.renderGroupedView()
|
|
72453
73260
|
: this.renderFlatView()))))));
|
|
72454
73261
|
}
|
|
72455
73262
|
static get watchers() { return {
|
|
73263
|
+
"properties": [{
|
|
73264
|
+
"handlePropertiesChange": 0
|
|
73265
|
+
}],
|
|
73266
|
+
"selectedProperty": [{
|
|
73267
|
+
"handleSelectedPropertyChange": 0
|
|
73268
|
+
}],
|
|
72456
73269
|
"isExpanded": [{
|
|
72457
73270
|
"handleExpandedChange": 0
|
|
72458
73271
|
}]
|
|
@@ -72802,10 +73615,10 @@ class BhRadarChart {
|
|
|
72802
73615
|
})));
|
|
72803
73616
|
}
|
|
72804
73617
|
render() {
|
|
72805
|
-
return (hAsync(Host, { key: '
|
|
73618
|
+
return (hAsync(Host, { key: 'd107776c86a650f7a6684f5a284fcf4ead2d18d7' }, hAsync("div", { key: 'd93136a5ec66d04f8fd0944562b284ab06ccf348', class: {
|
|
72806
73619
|
"radar-chart": true,
|
|
72807
73620
|
"radar-chart-animated": this.animated,
|
|
72808
|
-
}, part: "container" }, hAsync("svg", { key: '
|
|
73621
|
+
}, part: "container" }, hAsync("svg", { key: '5a374b7232e4368a85b34da38f134d547ffb3454', "aria-label": resolveI18n("bh-radar-chart", "ariaLabel", this.ariaLabel, "Radar chart"), class: "radar-chart-svg", height: this.size, role: "img", viewBox: `0 0 ${this.size} ${this.size}`, width: this.size }, this.renderGrid(), this.renderAxes(), this.renderSeries())), hAsync("bh-chart-tooltip", { key: 'aa6ff63acbf09782254c0f512a7a4340c7f795a3', "aria-hidden": this.tooltipVisible ? undefined : "true", header: this.tooltipHeader, items: this.tooltipItems, visible: this.tooltipVisible, x: this.tooltipX, y: this.tooltipY })));
|
|
72809
73622
|
}
|
|
72810
73623
|
static get watchers() { return {
|
|
72811
73624
|
"data": [{
|
|
@@ -73160,7 +73973,7 @@ class BhRadioGroup {
|
|
|
73160
73973
|
nextRadio.shadowRoot?.querySelector("[role='radio']")?.focus();
|
|
73161
73974
|
};
|
|
73162
73975
|
render() {
|
|
73163
|
-
return (hAsync(Host, { key: '
|
|
73976
|
+
return (hAsync(Host, { key: '2610acb82571f455c8cfcde9d91cbbd6beaa2d7c', "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, onKeyDown: this.handleKeyDown, role: "radiogroup" }, hAsync("slot", { key: '4f78ae52b78e20bacb0775342cc61463b8cf1288' })));
|
|
73164
73977
|
}
|
|
73165
73978
|
static get cmpMeta() { return {
|
|
73166
73979
|
"$flags$": 772,
|
|
@@ -73528,7 +74341,7 @@ class BhRangeSlider {
|
|
|
73528
74341
|
"range-slider-disabled": this.disabled,
|
|
73529
74342
|
[`range-slider-label-${this.labelDisplay}`]: true,
|
|
73530
74343
|
};
|
|
73531
|
-
return (hAsync(Host, { key: '
|
|
74344
|
+
return (hAsync(Host, { key: '317deaf6ff94d2543e8bfaf52236a2d98ee27277' }, hAsync("div", { key: '7229dc67f8df8ad0fdcc9207cc5eb43925c3b325', class: containerClasses, part: "container" }, hAsync("div", { key: 'a768ad1069cae8f0f8aa90e6e29967ac3f7a261b', class: "range-track", onClick: this.handleTrackClick, part: "track", ref: (el) => (this.trackEl = el) }, hAsync("div", { key: '4dd82c4cf0954c684bd579a6e23a0aa10d89da81', class: "range-track-active", part: "track-active", style: {
|
|
73532
74345
|
left: `${activeLeft}%`,
|
|
73533
74346
|
width: `${activeWidth}%`,
|
|
73534
74347
|
} })), this.dual
|
|
@@ -73611,7 +74424,7 @@ class BhSectionFooter {
|
|
|
73611
74424
|
// No contentinfo role: it's a document-level landmark and section/card
|
|
73612
74425
|
// footers can appear many times per page (axe flags duplicates).
|
|
73613
74426
|
// Consumers can add a landmark at the page level if needed.
|
|
73614
|
-
return (hAsync(Host, { key: '
|
|
74427
|
+
return (hAsync(Host, { key: 'f7a76395651e3b0ccba33a2b98a94ee860e692b1' }, hAsync("div", { key: 'cd001abd5ba91fbce383d0597323d1341c992e2f', class: footerClasses, part: "section-footer" }, this.showDivider && hAsync("div", { key: '9fddc9b69d90c8a8738c8f6e38468d821be81d57', class: "divider", part: "divider" }), hAsync("div", { key: 'ed11e120d931df4ab34cfba46f56ef9b07b1b899', class: "content", part: "content" }, hAsync("slot", { key: '4bc61965522f792f203a8cbd1676e735dd14776c' })))));
|
|
73615
74428
|
}
|
|
73616
74429
|
static get style() { return bhSectionFooterCss(); }
|
|
73617
74430
|
static get cmpMeta() { return {
|
|
@@ -73659,7 +74472,7 @@ class BhSectionHeader {
|
|
|
73659
74472
|
}
|
|
73660
74473
|
render() {
|
|
73661
74474
|
const hasSupportingText = !!this.supportingText;
|
|
73662
|
-
return (hAsync(Host, { key: '
|
|
74475
|
+
return (hAsync(Host, { key: '59cbcb16c878f16bd96eff24c0fbd33a397f06f2', "aria-label": this.heading || "Section header", role: "region" }, hAsync("div", { key: 'e3a1dc6a766c75b19af87aa6b8d5a252817e0d5e', class: "section-header", part: "section-header" }, hAsync("div", { key: 'd02a7456fd9134ad30efa50615e7ad49eae20151', class: "content" }, hAsync("div", { key: '1e304eca2b0f890025c5f8ee28497c149a20005e', class: "text-and-supporting-text" }, this.heading && (hAsync("h2", { key: '9a4739c11044a1bc35703717a9e0c956069aef28', class: "heading", part: "heading" }, this.heading)), hasSupportingText && (hAsync("p", { key: '8278b021f09b357ee782441b87cdc89fec51af4c', class: "supporting-text", part: "supporting-text" }, this.supportingText))), hAsync("div", { key: '85d75cac313332f39e7840db73a50bfb14ecd4c2', class: "actions", part: "actions" }, hAsync("slot", { key: 'ec37ef8909bfd12fd1e4dfe77155f333aa1ace87', name: "actions" }))), hAsync("div", { key: '3f406f77f51e2443562febba427d411f83fa794e', class: "tabs", part: "tabs" }, hAsync("slot", { key: '7553fe39d2cc7c11c8aaa6f8d2cd57c3b28c851d', name: "tabs" })), hAsync("div", { key: 'a224a53e3bc58c69de3dd981f79aca9ac9b0acb3', class: "search-slot" }, hAsync("slot", { key: '4e7ff2d2036f381d7b41a8b1a2f046f4a3ad5b94', name: "search" })), this.showDivider && hAsync("div", { key: '6bf6242be0cc5f93b3018dbb972fd8239823af22', class: "divider", part: "divider" }))));
|
|
73663
74476
|
}
|
|
73664
74477
|
static get style() { return bhSectionHeaderCss(); }
|
|
73665
74478
|
static get cmpMeta() { return {
|
|
@@ -74191,7 +75004,7 @@ class BhSelect {
|
|
|
74191
75004
|
width: this.menuWidth > 0 ? `${this.menuWidth}px` : undefined,
|
|
74192
75005
|
}
|
|
74193
75006
|
: { display: "none" };
|
|
74194
|
-
return (hAsync(Host, { key: '
|
|
75007
|
+
return (hAsync(Host, { key: '43f8bb5f4e255ab16856ae95df0fa99b13479168' }, hAsync("div", { key: 'ff1b24b8180c0369bbbc3f5a7d80d9cc04ae4c58', class: "select-wrapper", part: "wrapper" }, this.label && (hAsync("span", { key: '7999ddb59b69cc028089060abd65d39cddcc6477', class: "select-label", id: labelId, part: "label" }, this.label, this.required && (hAsync("span", { key: '801a705676425d1f3894eeb088fb0d244ea6f498', "aria-hidden": "true", class: "select-required" }, "*")))), hAsync("div", { key: 'f10ec8ddb06c3b7d738ee667afe3cb07c255e502', "aria-activedescendant": this.isOpen && this.activeIndex >= 0
|
|
74195
75008
|
? this.optionId(this.activeIndex)
|
|
74196
75009
|
: undefined, "aria-controls": listboxId, "aria-describedby": this.supportingText ? supportingId : undefined, "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": String(this.isOpen), "aria-haspopup": "listbox", "aria-invalid": this.error ? "true" : undefined, "aria-labelledby": this.label ? labelId : undefined, "aria-required": this.required ? "true" : undefined, class: triggerClasses, onBlur: this.handleBlur, onClick: this.toggleMenu, onFocus: this.handleFocus, onKeyDown: this.handleTriggerKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "trigger", ref: (el) => (this.triggerRef = el), role: "combobox", tabindex: this.disabled ? -1 : 0 }, !this.multiple &&
|
|
74197
75010
|
this.searchable &&
|
|
@@ -74210,13 +75023,13 @@ class BhSelect {
|
|
|
74210
75023
|
e.stopPropagation();
|
|
74211
75024
|
}, onInput: this.handleSearchInput, placeholder: resolveI18n("bh-select", "placeholder", this.placeholder, "Select…"), readOnly: !this.isOpen, ref: (el) => {
|
|
74212
75025
|
this.searchInputRef = el;
|
|
74213
|
-
}, type: "text", value: this.isOpen ? this.searchQuery : (selected?.label ?? "") })) : selected ? (hAsync("span", { class: "select-value" }, selected.label)) : (hAsync("span", { class: "select-placeholder" }, resolveI18n("bh-select", "placeholder", this.placeholder, "Select…"))), this.clearable && hasValue && (hAsync("button", { key: '
|
|
75026
|
+
}, type: "text", value: this.isOpen ? this.searchQuery : (selected?.label ?? "") })) : selected ? (hAsync("span", { class: "select-value" }, selected.label)) : (hAsync("span", { class: "select-placeholder" }, resolveI18n("bh-select", "placeholder", this.placeholder, "Select…"))), this.clearable && hasValue && (hAsync("button", { key: 'c062ac5e898db328ec3ff70daf488ecddb246238', "aria-label": "Clear selection", class: "trigger-clear", onClick: this.clearAll, tabIndex: -1, type: "button" }, hAsync("span", { key: '89e0d0c5288c7c2345a3e576a006442bd7c079ae', "aria-hidden": "true", class: "material-symbols-outlined" }, "close"))), hAsync("span", { key: 'a3336ce2bf823cccdae80eff7c472b259b43e51c', "aria-hidden": "true", class: "material-symbols-outlined trigger-icon" }, this.isOpen ? "expand_less" : "expand_more")), this.supportingText && (hAsync("div", { key: 'd35ed101cccc3eb83a4a8fc15f2b53f4afb28773', class: {
|
|
74214
75027
|
"supporting-text": true,
|
|
74215
75028
|
"supporting-error": this.error,
|
|
74216
|
-
}, id: supportingId, part: "supporting-text" }, this.supportingText)), hAsync("div", { key: '
|
|
75029
|
+
}, id: supportingId, part: "supporting-text" }, this.supportingText)), hAsync("div", { key: '4f971a6b8303001b0036cc8d37b8fa8d31dbdb26', "aria-labelledby": this.label ? labelId : undefined, "aria-multiselectable": this.multiple ? "true" : undefined, class: {
|
|
74217
75030
|
"select-menu": true,
|
|
74218
75031
|
"animate-menu-enter": this.isOpen,
|
|
74219
|
-
}, id: listboxId, part: "menu", ref: (el) => (this.menuRef = el), role: "listbox", style: menuStyle }, hAsync("div", { key: '
|
|
75032
|
+
}, id: listboxId, part: "menu", ref: (el) => (this.menuRef = el), role: "listbox", style: menuStyle }, hAsync("div", { key: 'fe60eb6b80628bd41af456f4576ae26ac8fc8d76', class: "menu-items" }, this.displayedOptions.map((option, index) => {
|
|
74220
75033
|
const isSelected = this.multiple
|
|
74221
75034
|
? this.parsedValues.includes(option.value)
|
|
74222
75035
|
: option.value === this.value;
|
|
@@ -74437,7 +75250,7 @@ class BhSelectionGroup {
|
|
|
74437
75250
|
}
|
|
74438
75251
|
render() {
|
|
74439
75252
|
const role = this.selectionMode === "single" ? "radiogroup" : "group";
|
|
74440
|
-
return (hAsync(Host, { key: '
|
|
75253
|
+
return (hAsync(Host, { key: '42a3fee86af4a59de1260fc9b421b01b75c0ebe9' }, hAsync("div", { key: '2d23ad07b16eec484f69f9fc618e114727a9e527', "aria-describedby": this.ariaDescribedBy, "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, "aria-required": String(this.required), class: "selection-group", onFocusin: this.handleFocus, onFocusout: this.handleBlur, onKeyDown: this.handleKeyDown, part: "container", role: role }, hAsync("slot", { key: 'a1ee406cb10e814fbb63df50f5c2cab6da2ff97a' }))));
|
|
74441
75254
|
}
|
|
74442
75255
|
static get style() { return bhSelectionGroupCss(); }
|
|
74443
75256
|
static get cmpMeta() { return {
|
|
@@ -74970,7 +75783,7 @@ class BhSidePanelFooter {
|
|
|
74970
75783
|
return (hAsync("div", { class: "panel-footer-content panel-footer-content--fill" }, secondaryButton, primaryButton));
|
|
74971
75784
|
}
|
|
74972
75785
|
render() {
|
|
74973
|
-
return (hAsync(Host, { key: '
|
|
75786
|
+
return (hAsync(Host, { key: 'ff8639f5131658cf8ffae8dd65d49d54f7c5c0ae' }, hAsync("footer", { key: '4d3cb230b86bf89aa7112abcb3c9d8f2cb9bf4f8', class: "panel-footer" }, this.divider && hAsync("div", { key: 'a0ae6e6b9c723819556ea2da0617467be09f9a85', class: "divider" }), this.renderButtons())));
|
|
74974
75787
|
}
|
|
74975
75788
|
static get style() { return bhSidePanelFooterCss(); }
|
|
74976
75789
|
static get cmpMeta() { return {
|
|
@@ -75009,7 +75822,7 @@ class BhSidePanelHeader {
|
|
|
75009
75822
|
this.bhClose.emit();
|
|
75010
75823
|
};
|
|
75011
75824
|
render() {
|
|
75012
|
-
return (hAsync(Host, { key: '
|
|
75825
|
+
return (hAsync(Host, { key: '3224ec9f84a5850acc476b92d88b7f08f85dc492' }, hAsync("header", { key: '55327f5e1eb2fc6e38758b60695e5ce2263d6dae', class: "panel-header" }, hAsync("div", { key: '60cb220c5a3212f7ead2f9000155d419f9672fa5', class: "panel-header-content" }, this.showIcon && this.icon && (hAsync("bh-featured-icon", { key: '541884194ca5d974f043c112be2dc572b39ea91b', color: this.iconColor, icon: this.icon, iconStyle: "outlined", size: "md" })), hAsync("div", { key: 'd62a700b96f50c97dfe0ebe0f1563fb71ec125c8', class: "panel-text-content" }, hAsync("h3", { key: 'aa6773b297c819008a2f7077dbf51f0e4da8d1e9', class: "panel-title" }, this.panelTitle), this.description && (hAsync("p", { key: 'b39e76e15559448c148b13f488914a512228295f', class: "panel-description" }, this.description)))), this.showCloseButton && (hAsync("div", { key: 'fd241777351f6dab5cf1bcc4e67ab4c2d64adec3', class: "close-button" }, hAsync("bh-close-button", { key: '086edfc28db803236b6dfc3dee200998f7ec5674', ariaLabel: "Close panel", onClick: this.handleClose })))), this.divider && hAsync("div", { key: 'a5135859dd026ad96526f97697a39c3a668bd54c', class: "divider" })));
|
|
75013
75826
|
}
|
|
75014
75827
|
static get style() { return bhSidePanelHeaderCss(); }
|
|
75015
75828
|
static get cmpMeta() { return {
|
|
@@ -75164,6 +75977,19 @@ class BhSidebar {
|
|
|
75164
75977
|
* Avatar menu items override
|
|
75165
75978
|
*/
|
|
75166
75979
|
avatarMenuItems;
|
|
75980
|
+
/**
|
|
75981
|
+
* Avatar image alt text
|
|
75982
|
+
*/
|
|
75983
|
+
avatarAlt = "Avatar";
|
|
75984
|
+
/**
|
|
75985
|
+
* Keyboard shortcut hint shown next to search (e.g. "cmd+k").
|
|
75986
|
+
* Display only — the consumer binds the actual hotkey.
|
|
75987
|
+
*/
|
|
75988
|
+
searchHotkey;
|
|
75989
|
+
/**
|
|
75990
|
+
* Header shown at the top of the avatar dropdown menu
|
|
75991
|
+
*/
|
|
75992
|
+
avatarMenuHeader;
|
|
75167
75993
|
/**
|
|
75168
75994
|
* Event emitted when a menu item is clicked
|
|
75169
75995
|
*/
|
|
@@ -75363,7 +76189,7 @@ class BhSidebar {
|
|
|
75363
76189
|
return (hAsync("div", { class: "sidebar-header", part: "header" }, hAsync("bh-logo-box", { assetBasePath: this.assetBasePath, logoSrc: this.logoSrc, logoType: this.logoType, products: this.products })));
|
|
75364
76190
|
}
|
|
75365
76191
|
renderSearch() {
|
|
75366
|
-
return (hAsync("div", { class: "search-container", part: "search" }, hAsync("bh-button-icon", { hierarchy: "secondary", iconName: "search", onClick: this.handleSearchClick, size: "md" })));
|
|
76192
|
+
return (hAsync("div", { class: "search-container", part: "search" }, hAsync("bh-button-icon", { hierarchy: "secondary", iconName: "search", onClick: this.handleSearchClick, size: "md" }), this.searchHotkey && this.open && (hAsync("bh-kbd", { class: "search-hotkey", keys: this.searchHotkey, size: "sm" }))));
|
|
75367
76193
|
}
|
|
75368
76194
|
renderToggleHandle() {
|
|
75369
76195
|
if (!this.showToggleHandle)
|
|
@@ -75383,7 +76209,7 @@ class BhSidebar {
|
|
|
75383
76209
|
}
|
|
75384
76210
|
renderFooter() {
|
|
75385
76211
|
const layout = this.navItemLayout;
|
|
75386
|
-
return (hAsync("div", { class: "sidebar-footer", part: "footer" }, hAsync("div", { class: "footer-navigation", part: "footer-nav" }, this.footerItems.map((item) => (hAsync("bh-nav-item", { icon: item.icon, isActive: false, key: item.label, label: item.label, layout: layout, onBhClick: () => this.handleNavItemClick(item.label), showLabel: layout === "row" })))), hAsync("bh-dropdown", { avatarEmail: this.avatarEmail, avatarName: this.avatarName, avatarSize: "md", avatarSrc: this.avatarUrl, menuItems: this.avatarMenuItems || DEFAULT_AVATAR_MENU_ITEMS, showIcons: true, size: "md", variant: "avatar" })));
|
|
76212
|
+
return (hAsync("div", { class: "sidebar-footer", part: "footer" }, hAsync("div", { class: "footer-navigation", part: "footer-nav" }, this.footerItems.map((item) => (hAsync("bh-nav-item", { icon: item.icon, isActive: false, key: item.label, label: item.label, layout: layout, onBhClick: () => this.handleNavItemClick(item.label), showLabel: layout === "row" })))), hAsync("slot", { name: "user-menu" }, hAsync("bh-dropdown", { avatarAlt: this.avatarAlt, avatarEmail: this.avatarEmail, avatarInitials: this.avatarInitials, avatarName: this.avatarName, avatarSize: "md", avatarSrc: this.avatarUrl, header: this.avatarMenuHeader, menuItems: this.avatarMenuItems || DEFAULT_AVATAR_MENU_ITEMS, showIcons: true, size: "md", variant: "avatar" }))));
|
|
75387
76213
|
}
|
|
75388
76214
|
render() {
|
|
75389
76215
|
const layout = this.navItemLayout;
|
|
@@ -75393,7 +76219,7 @@ class BhSidebar {
|
|
|
75393
76219
|
"sidebar-open": this.open,
|
|
75394
76220
|
[`sidebar-style-${this.sidebarStyle}`]: true,
|
|
75395
76221
|
};
|
|
75396
|
-
return (hAsync(Host, { key: '
|
|
76222
|
+
return (hAsync(Host, { key: '2dec369efb3e4dc9ec7d84959b337ff30d44412d', onKeyDown: this.handleKeyDown }, hAsync("div", { key: '452065ea048a8857b1d6cef73732faee54d56a22', "aria-expanded": this.open ? "true" : "false", class: sidebarClasses, part: "sidebar" }, hAsync("nav", { key: 'cb273ec0b22a186fa3b4177e9d3081588cf613bc', "aria-label": resolveI18n("bh-sidebar", "mainNavAriaLabel", this.mainNavAriaLabel, "Main navigation"), class: "navigation", part: "navigation" }, hAsync("div", { key: '12267bf76b6662f8ebfe949c576ea20ec612b352', class: "gradient-bar", part: "gradient-bar" }, hAsync("div", { key: '86b9610ff1167e06ddf4c0b4015f32893d92fcc9', class: "detail-bar" })), hAsync("div", { key: '7e033b47ed6f9d4ae678fd60a7259137cf2fb377', class: "sidebar-content", part: "content" }, this.renderHeader(), hAsync("div", { key: '84957e80d53b5f6f9b31ff27e2f8aad8016ce545', class: "navigation-section", part: "nav-section" }, this.renderSearch(), hAsync("div", { key: 'b4ed4701e6e600350b7ce0442fc4b9307c778e46', class: "nav-items", part: "nav-items" }, this.menuItems.map((item) => {
|
|
75397
76223
|
const hasChildren = !!item.children?.length;
|
|
75398
76224
|
const isExpandable = hasChildren && this.sidebarStyle !== "slim";
|
|
75399
76225
|
return [
|
|
@@ -75411,7 +76237,7 @@ class BhSidebar {
|
|
|
75411
76237
|
}; }
|
|
75412
76238
|
static get style() { return bhSidebarCss(); }
|
|
75413
76239
|
static get cmpMeta() { return {
|
|
75414
|
-
"$flags$":
|
|
76240
|
+
"$flags$": 777,
|
|
75415
76241
|
"$tagName$": "bh-sidebar",
|
|
75416
76242
|
"$members$": {
|
|
75417
76243
|
"sidebarStyle": [1, "sidebar-style"],
|
|
@@ -75432,6 +76258,9 @@ class BhSidebar {
|
|
|
75432
76258
|
"menuItems": [16],
|
|
75433
76259
|
"footerItems": [16],
|
|
75434
76260
|
"avatarMenuItems": [16],
|
|
76261
|
+
"avatarAlt": [1, "avatar-alt"],
|
|
76262
|
+
"searchHotkey": [1, "search-hotkey"],
|
|
76263
|
+
"avatarMenuHeader": [16],
|
|
75435
76264
|
"_i18nVersion": [32],
|
|
75436
76265
|
"activeItem": [32],
|
|
75437
76266
|
"expandedItemLabel": [32],
|
|
@@ -75515,7 +76344,7 @@ class BhSkeletonLoader {
|
|
|
75515
76344
|
skeleton: true,
|
|
75516
76345
|
"skeleton-circle": this.circle,
|
|
75517
76346
|
};
|
|
75518
|
-
return (hAsync(Host, { key: '
|
|
76347
|
+
return (hAsync(Host, { key: 'c3fe544da1ed2c4f780c336fbf964c8c22665435' }, hAsync("span", { key: '54c173841af25b2a7c1d4b388b492e8db1e95057', "aria-busy": "true", "aria-label": resolveI18n("bh-skeleton-loader", "ariaLabel", this.ariaLabel, "Loading"), "aria-live": "polite", class: skeletonClasses, part: "skeleton", role: "status", style: { width: this.safeWidth, height: this.safeHeight } })));
|
|
75519
76348
|
}
|
|
75520
76349
|
static get style() { return bhSkeletonLoaderCss(); }
|
|
75521
76350
|
static get cmpMeta() { return {
|
|
@@ -75853,11 +76682,11 @@ class BhTabItem {
|
|
|
75853
76682
|
"tab-button-disabled": this.disabled,
|
|
75854
76683
|
...(this.disabled ? {} : focusClasses),
|
|
75855
76684
|
};
|
|
75856
|
-
return (hAsync(Host, { key: '
|
|
76685
|
+
return (hAsync(Host, { key: '6feaa14297ed9671314fe18241b4d552f75e7055', class: {
|
|
75857
76686
|
"tab-item": true,
|
|
75858
76687
|
"tab-item-active": this.active,
|
|
75859
76688
|
"tab-item-disabled": this.disabled,
|
|
75860
|
-
}, onClick: this.handleClick }, hAsync("button", { key: '
|
|
76689
|
+
}, onClick: this.handleClick }, hAsync("button", { key: '443a865ea0d87717da3587b7050d3cd78d0c9158', "aria-controls": this.panelId, "aria-disabled": this.disabled ? "true" : "false", "aria-posinset": this.posInSet, "aria-selected": this.active ? "true" : "false", "aria-setsize": this.setSize, class: buttonClasses, disabled: this.disabled, id: `tab-${this.value}`, onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "button", role: "tab", tabIndex: this.active ? 0 : -1, type: "button" }, this.icon && (hAsync("span", { key: '379857e6150ff11dfd831e88d576e46186d58afd', "aria-hidden": "true", class: "tab-icon material-symbols-outlined", part: "icon" }, this.icon)), hAsync("span", { key: 'c0e9970e0737baeb714191ce7a06ced589f34c32', class: "tab-label", part: "label" }, this.label), hAsync("slot", { key: '2d54a6be0dbb73bcf4df3705172d046be368f873' }))));
|
|
75861
76690
|
}
|
|
75862
76691
|
static get style() { return bhTabItemCss(); }
|
|
75863
76692
|
static get cmpMeta() { return {
|
|
@@ -75920,7 +76749,7 @@ class BhTableHeader {
|
|
|
75920
76749
|
}
|
|
75921
76750
|
render() {
|
|
75922
76751
|
const hasItemCount = !!this.itemCount;
|
|
75923
|
-
return (hAsync(Host, { key: '
|
|
76752
|
+
return (hAsync(Host, { key: '44e768f9758c3a23b62dad1e841202e43c8126ea', "aria-label": this.heading || "Table header", role: "region" }, hAsync("div", { key: 'aa8101727fcd585921b49e0b0ed2e87c22bf9206', class: "table-header", part: "table-header" }, hAsync("div", { key: '20309d683a9cab5f43e711c47da3344906a4da0a', class: "content" }, hAsync("div", { key: '3c299b721cc6fb10f5e003c8b9a5b61c07aa45d5', class: "text-group" }, this.heading && (hAsync("h3", { key: 'a767be72bc114681f08504aa55fb255af5535bac', class: "heading", part: "heading" }, this.heading)), hasItemCount && (hAsync("span", { key: 'f8bdb6e6a9036fbcfef92e3888f91245950ec31e', class: "item-count", part: "item-count" }, this.itemCount))), hAsync("div", { key: 'cf57f2b14bc2c287cdd1a711bf70e6414042f96c', class: "controls" }, this.showSearch && (hAsync("div", { key: '0e7caf3307d40cd2fee1e9d679e3dd22dccf5aaf', class: "search", part: "search" }, hAsync("slot", { key: '54156f2d8e710104147834590fc37449243f7973', name: "search" }))), this.showActions && (hAsync("div", { key: 'c4cef8663e9a79e861e4c8d0d4fa58f21093c794', class: "actions", part: "actions" }, hAsync("slot", { key: '03b2ca92c4c5007ab4ddcbc7803c9975a4b713f6', name: "actions" }))))), this.showDivider && hAsync("div", { key: '68629b7b7407fe057202b5c7b971765c0fe20a2c', class: "divider", part: "divider" }))));
|
|
75924
76753
|
}
|
|
75925
76754
|
static get style() { return bhTableHeaderCss(); }
|
|
75926
76755
|
static get cmpMeta() { return {
|
|
@@ -76186,7 +77015,7 @@ class BhTabs {
|
|
|
76186
77015
|
[`tabs-${this.orientation}`]: true,
|
|
76187
77016
|
"tabs-full-width": this.fullWidth,
|
|
76188
77017
|
};
|
|
76189
|
-
return (hAsync(Host, { key: '
|
|
77018
|
+
return (hAsync(Host, { key: '959bd6dc3908532185cf569bd0b4e2d376711ff0', class: hostClasses }, hAsync("div", { key: 'd4a6ce9368c1bfe1ec434c0fc709b09986b2ab3e', class: "tabs-container", part: "container" }, hAsync("div", { key: 'b6772c7747a48154476532635106139353d5cfa8', "aria-level": this.ariaLevel, "aria-orientation": this.orientation, class: "tabs-list", id: this.tablistId, part: "list", role: "tablist" }, hAsync("slot", { key: '66c17f42b14ed8a72c36eed47e85dd43588322b7' })))));
|
|
76190
77019
|
}
|
|
76191
77020
|
static get style() { return bhTabsCss(); }
|
|
76192
77021
|
static get cmpMeta() { return {
|
|
@@ -76368,10 +77197,10 @@ class BhTag {
|
|
|
76368
77197
|
width: CHECKBOX_SIZE_MAP[this.size],
|
|
76369
77198
|
height: CHECKBOX_SIZE_MAP[this.size],
|
|
76370
77199
|
};
|
|
76371
|
-
return (hAsync(Host, { key: '
|
|
77200
|
+
return (hAsync(Host, { key: '4d29753431e9e6e060207d62eee48abed885cda9' }, hAsync("span", { key: 'a5b87c658722d637947af883ce2305c906f53dbd', "aria-disabled": this.disabled ? "true" : undefined, class: classes, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "tag", role: "status", tabIndex: isInteractive && !this.disabled ? 0 : -1 }, hAsync("div", { key: 'cc80dd525464a72f1114d68e8172004251503bf3', class: "tag-content" }, this.isCheckboxMode && (hAsync("div", { key: '290ad9389b202f4e21c37c1447c685ace4382af4', "aria-hidden": "true", class: {
|
|
76372
77201
|
"tag-checkbox": true,
|
|
76373
77202
|
"tag-checkbox-checked": this.checked === true,
|
|
76374
|
-
}, style: checkboxStyle }, this.checked && (hAsync("span", { key: '
|
|
77203
|
+
}, style: checkboxStyle }, this.checked && (hAsync("span", { key: '2b33240f231f44c0806b3507498a867c99a6a897', class: "material-symbols-outlined tag-checkbox-icon" }, "check")))), this.variant === "dot" && (hAsync("bh-badge-dot", { key: '443267726ac2e0a0985fb2f72b0ca399b4c0ebc0', color: this.dotColor, size: DOT_SIZE_MAP[this.size] })), this.variant === "avatar" && (hAsync("bh-avatar", { key: '984c31beb18196be69cb8c6317958a6e691f48ff', imageSrc: this.avatarSrc, size: "xxs", variant: this.avatarSrc ? "image" : "placeholder" })), hAsync("span", { key: '2f322d1088b3693f5f19cb08e06c8b1c60913b6b', class: "tag-label-wrapper" }, hAsync("span", { key: 'bed69f25fc9ee9a91d01767265f0538bd4b4818a', class: "tag-label", part: "label", style: labelStyle }, this.label))), this.showCount && (hAsync("span", { key: 'b8ae69d629f8985b3fb72fc868187b20aba74116', class: "tag-count", part: "count" }, this.count)), this.showDismiss && (hAsync("bh-button-icon", { key: '1f9309576c7b7f748c0a32a9ba62ecf2be2437ab', ariaLabel: `Remove ${this.label}`, class: "tag-dismiss", disabled: this.disabled, hierarchy: "tertiary", iconName: "close", onClick: this.handleDismiss, part: "dismiss-button", size: "xs" })))));
|
|
76375
77204
|
}
|
|
76376
77205
|
static get style() { return bhTagCss(); }
|
|
76377
77206
|
static get cmpMeta() { return {
|
|
@@ -76466,7 +77295,7 @@ class BhTagGroup {
|
|
|
76466
77295
|
const parsedTags = this.getParsedTags();
|
|
76467
77296
|
const visibleTags = parsedTags.slice(0, this.maxVisible);
|
|
76468
77297
|
const remaining = parsedTags.length - visibleTags.length;
|
|
76469
|
-
return (hAsync(Host, { key: '
|
|
77298
|
+
return (hAsync(Host, { key: '56ef6c8be13cec0ff3044ffa76ec033afd5e0e06' }, hAsync("div", { key: 'f43d1b5facd4c4df6b451451f1a8ffdecf1ef2e2', "aria-disabled": this.disabled ? "true" : undefined, class: `tag-group tag-group-${this.size}`, part: "container", role: "group" }, visibleTags.map((tag) => (hAsync("bh-tag", { action: (tag.dismissible ?? this.dismissible) ? "dismiss" : "none", avatarSrc: tag.avatarSrc, checked: tag.checked, count: tag.count, disabled: tag.disabled ?? this.disabled, dotColor: tag.dotColor, key: tag.id, label: tag.label, onBhChange: (event) => this.handleTagCheckedChange(tag.id, event.detail), onBhClose: () => this.handleTagDismiss(tag.id), onClick: () => this.handleTagClick(tag.id), size: this.size, variant: tag.variant ?? "text-only" }))), remaining > 0 && (hAsync("bh-tag", { key: '78ab161b41b73e2cdd7009577e5c307019a7c0c8', action: "none", label: `+${remaining}`, onClick: () => this.handleOverflowClick(remaining), size: this.size })))));
|
|
76470
77299
|
}
|
|
76471
77300
|
static get style() { return bhTagGroupCss(); }
|
|
76472
77301
|
static get cmpMeta() { return {
|
|
@@ -76701,13 +77530,13 @@ class BhTagInput {
|
|
|
76701
77530
|
"tag-input-error": this.error,
|
|
76702
77531
|
"tag-input-disabled": this.disabled,
|
|
76703
77532
|
};
|
|
76704
|
-
return (hAsync(Host, { key: '
|
|
77533
|
+
return (hAsync(Host, { key: '3fc8a7109097f9cd6d12d7931079e735a76673ba' }, hAsync("div", { key: '29dacb1ef719e5ad6207657d5f8594c449a0fa34', class: "tag-input-wrapper", part: "wrapper" }, hAsync("bh-label", { key: 'f3822f0c81de310980e1937e54272c391e9105a9', disabled: this.disabled, helpIconTooltip: resolveI18n("bh-tag-input", "helpIconTooltip", this.helpIconTooltip, "Help"), label: this.showLabel ? this.label : "", onBhHelpClick: this.handleHelpClick, required: this.required, showHelpIcon: this.showHelpIcon }, hAsync("div", { key: '3aa490ed1f1c9c0bbbbef52efc06ddb1125eb7dc', class: fieldClasses, onClick: this.handleContainerClick, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "field" }, hAsync("div", { key: '082cd9bcac878b8740c952c8e76456fc336303cd', class: "tag-input-content-flow" }, parsedTags.map((tag) => (hAsync("bh-tag", { avatarSrc: tag.avatarSrc, disabled: this.disabled, dismissible: !this.disabled, key: tag.id, label: tag.label, onBhClose: () => this.removeTag(tag), size: this.tagSize ?? this.size, variant: tag.variant ?? "text-only" }))), hAsync("input", { key: 'a2fca86ab273a56e53020999c70f4373704722d9', "aria-describedby": this.showHintText && this.hintText
|
|
76705
77534
|
? "tag-input-hint"
|
|
76706
77535
|
: undefined, "aria-invalid": this.error ? "true" : undefined, "aria-label": this.label || "Tag input", "aria-required": this.required ? "true" : undefined, class: "tag-inline-input", disabled: this.disabled, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, part: "input", placeholder: parsedTags.length === 0
|
|
76707
77536
|
? resolveI18n("bh-tag-input", "placeholder", this.placeholder, "Add tags...")
|
|
76708
77537
|
: "", ref: (el) => {
|
|
76709
77538
|
this.inputEl = el;
|
|
76710
|
-
}, type: "text", value: this.value })))), this.showHintText && this.hintText && (hAsync("div", { key: '
|
|
77539
|
+
}, type: "text", value: this.value })))), this.showHintText && this.hintText && (hAsync("div", { key: '2edbc0d596d50fc63e9fbee35a56d2f2df828346', class: {
|
|
76711
77540
|
"hint-text": true,
|
|
76712
77541
|
"hint-error": this.error,
|
|
76713
77542
|
}, id: "tag-input-hint" }, this.hintText)))));
|
|
@@ -76993,12 +77822,12 @@ class BhTextarea {
|
|
|
76993
77822
|
textarea: true,
|
|
76994
77823
|
"textarea-error": this.error,
|
|
76995
77824
|
};
|
|
76996
|
-
return (hAsync(Host, { key: '
|
|
77825
|
+
return (hAsync(Host, { key: '7a88a40a88347869a802e82b1fe9efd75630f969' }, hAsync("div", { key: '347dccbe10ed0878c53027618a21a7afda30bb5c', class: "textarea-wrapper", part: "container" }, hAsync("bh-label", { key: '98b580b1c4203dfb04ec84e118e7b1599a5563fb', disabled: this.disabled, helpIconTooltip: resolveI18n("bh-textarea", "helpIconTooltip", this.helpIconTooltip, "Help"), label: this.showLabel ? this.label : "", onBhHelpClick: this.handleHelpClick, required: this.required, showHelpIcon: this.showHelpIcon }, hAsync("div", { key: 'f258616a32f25f99020845b3b838bcf38cff42f4', class: containerClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, hAsync("div", { key: 'e9eaa467665f4b7719ae5e2307f6f53b69d171e4', class: "textarea-content" }, hAsync("textarea", { key: 'd770979a84815617ebbe0be621c3df89a53129bc', "aria-atomic": "true", "aria-busy": "false", "aria-describedby": [
|
|
76997
77826
|
this.showHintText && this.hintText ? "hint-text" : "",
|
|
76998
77827
|
this.ariaDescribedBy,
|
|
76999
77828
|
]
|
|
77000
77829
|
.filter(Boolean)
|
|
77001
|
-
.join(" ") || undefined, "aria-details": this.ariaDetails, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": this.error ? "true" : "false", "aria-label": this.label, "aria-live": "polite", "aria-multiline": "true", "aria-readonly": String(this.readOnly), "aria-required": String(this.required), class: textareaClasses, "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, maxLength: this.maxLength, name: this.name, onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, part: "textarea", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.textareaEl = el), required: this.required, rows: this.safeRows, style: { resize: this.resize }, value: this.value })))), this.showHintText && this.hintText && (hAsync("div", { key: '
|
|
77830
|
+
.join(" ") || undefined, "aria-details": this.ariaDetails, "aria-errormessage": this.ariaErrorMessage, "aria-invalid": this.error ? "true" : "false", "aria-label": this.label, "aria-live": "polite", "aria-multiline": "true", "aria-readonly": String(this.readOnly), "aria-required": String(this.required), class: textareaClasses, "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), disabled: this.disabled, maxLength: this.maxLength, name: this.name, onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, part: "textarea", placeholder: this.placeholder, readOnly: this.readOnly, ref: (el) => (this.textareaEl = el), required: this.required, rows: this.safeRows, style: { resize: this.resize }, value: this.value })))), this.showHintText && this.hintText && (hAsync("div", { key: '80d6642613e24c67a135f7eccc1c76c392236b7e', class: { "hint-text": true, "hint-error": this.error }, id: "hint-text" }, this.hintText)))));
|
|
77002
77831
|
}
|
|
77003
77832
|
static get formAssociated() { return true; }
|
|
77004
77833
|
static get style() { return bhTextareaCss(); }
|
|
@@ -77281,9 +78110,9 @@ class BhToast {
|
|
|
77281
78110
|
}
|
|
77282
78111
|
render() {
|
|
77283
78112
|
const showIconWrapper = this.iconMode !== "none";
|
|
77284
|
-
return (hAsync(Host, { key: '
|
|
78113
|
+
return (hAsync(Host, { key: '9a2ebcbadbcb1649f11a57005ea37ec7e92edcb4' }, hAsync("div", { key: 'b344e63c0a6b562766e5e76c2afef81dda7abec5', "aria-atomic": "true", "aria-live": "polite", class: "sr-only", part: "sr-announcements" }, this.toastTitle || this.description
|
|
77285
78114
|
? `${this.toastTitle || ""} ${this.description || ""}`.trim()
|
|
77286
|
-
: "Notification"), hAsync("div", { key: '
|
|
78115
|
+
: "Notification"), hAsync("div", { key: 'f249c920f031530a21dde037efda7e55fa320a3b', class: { toast: true, [`toast-${this.variant}`]: true }, onKeyDown: this.handleKeyDown, onMouseEnter: this.pauseDismissTimer, onMouseLeave: this.resumeDismissTimer, part: "container", role: "status", tabindex: this.dismissible ? 0 : undefined }, hAsync("div", { key: '9880b0c0c2d315b4c04061ee26fe18c73e3c3de1', class: "toast-content", part: "content" }, showIconWrapper && (hAsync("div", { key: '734596884baa957ea38722833040fec97aeaf1c3', class: "toast-icon-wrapper", part: "icon-wrapper" }, this.renderIconContent())), hAsync("div", { key: '003f652ede6b41426756958c3eaf18faaccb4f86', class: "toast-text", part: "text" }, hAsync("div", { key: '3dae1b7ccaef1c67fdabd8c26d6febd2e572859e', class: "toast-text-wrapper" }, this.toastTitle && (hAsync("h3", { key: '68aef7baddae73e8c80bfb1e1265828696fad8b2', class: "toast-title", part: "title" }, this.toastTitle)), this.description && (hAsync("p", { key: '3da89dc9d30c7c62bf61556d1ec3e94b01eef942', class: "toast-description", part: "description" }, this.description))), (this.actionText || this.dismissText) && (hAsync("div", { key: '5100abb7f81c2b803d439a00d8f40489f5ece999', class: "toast-actions", part: "actions" }, this.dismissText && (hAsync("bh-button", { key: 'a79861445d9cbb984de33538e4ff56877782ec00', hierarchy: "tertiary", icon: "none", label: this.dismissText, onBhClick: this.handleDismiss, size: "sm" })), this.actionText && (hAsync("bh-button", { key: '3f594c17ef656f6fc9b61966188b53db7c8baa1b', hierarchy: "tertiary", icon: "none", label: this.actionText, onBhClick: this.handleAction, size: "sm" })))))), this.dismissible && (hAsync("div", { key: '097547557eaf5c5a988b996c78fecc4b60e0cd6a', class: "toast-close", part: "close" }, hAsync("bh-close-button", { key: '1e3c267c87bd8a4ed48fc2ea5a7d53e2ae4793a8', ariaLabel: resolveI18n(COMPONENT_NAME, "closeAriaLabel", this.closeAriaLabel, "Close toast"), onClick: this.handleClose }))))));
|
|
77287
78116
|
}
|
|
77288
78117
|
static get style() { return bhToastCss(); }
|
|
77289
78118
|
static get cmpMeta() { return {
|
|
@@ -77323,7 +78152,7 @@ class BhToastContainer {
|
|
|
77323
78152
|
*/
|
|
77324
78153
|
gap = 12;
|
|
77325
78154
|
render() {
|
|
77326
|
-
return (hAsync("div", { key: '
|
|
78155
|
+
return (hAsync("div", { key: 'fb695d7334b2b35348fc82e9e52fa69203f8a923', "aria-label": "Notifications", "aria-live": "polite", "aria-relevant": "additions", class: "toast-container", role: "region", style: { gap: `${this.gap}px` } }, hAsync("slot", { key: '5ddf3fe4f2bc19ba537d41a6543e787c7fbf418c' })));
|
|
77327
78156
|
}
|
|
77328
78157
|
static get style() { return bhToastContainerCss(); }
|
|
77329
78158
|
static get cmpMeta() { return {
|
|
@@ -77506,7 +78335,7 @@ class BhToggle {
|
|
|
77506
78335
|
"toggle-label": true,
|
|
77507
78336
|
[`toggle-label-${this.size}`]: true,
|
|
77508
78337
|
};
|
|
77509
|
-
return (hAsync(Host, { key: '
|
|
78338
|
+
return (hAsync(Host, { key: '55736caae478c39f8aa04b4b8b07716b9c3822bc', onClick: this.handleToggle }, hAsync("div", { key: '79619cd99433c9a3b12c0fc3aa82f77c6f8cf3c9', class: wrapperClasses, part: "container" }, hAsync("div", { key: '4f2198edb720643e792388b74c6f0991b8ae4f0c', "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-label": this.label || undefined, "aria-required": String(this.required), class: switchClasses, "data-dirty": String(this.isDirty), "data-touched": String(this.isTouched), onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "track", role: "switch", tabIndex: this.disabled ? -1 : 0 }, hAsync("div", { key: '28d6b615aebce12a038c17fa6b4dae44aceb2963', class: buttonClasses, part: "thumb" })), this.showText && (this.label || this.supportingText) && (hAsync("div", { key: 'efb8c81beae4e788172606e1d04a1e35b5d3b470', class: "toggle-text" }, this.label && (hAsync("span", { key: '4569e3cf82c881f4cb7854a0984a787c2d85468e', class: labelClasses, part: "label" }, this.label)), this.supportingText && (hAsync("div", { key: 'bb7d8c06e5782a1a4525daa702fc6c85cf6ef39d', class: "toggle-supporting-text" }, this.supportingText)))))));
|
|
77510
78339
|
}
|
|
77511
78340
|
static get formAssociated() { return true; }
|
|
77512
78341
|
static get style() { return bhToggleCss(); }
|
|
@@ -77913,7 +78742,7 @@ class BhTooltip {
|
|
|
77913
78742
|
tooltipStyles.top = `${this.computedPosition.y}px`;
|
|
77914
78743
|
tooltipStyles.transform = "none";
|
|
77915
78744
|
}
|
|
77916
|
-
return (hAsync(Host, { key: '
|
|
78745
|
+
return (hAsync(Host, { key: '418c8ccb2a8b128651b91e4f83954a6f515c2a5f' }, hAsync("slot", { key: '0e151c6b6074829abaae38c5181b2deb508b8394' }), hAsync("div", { key: '53c84943768b17a6197bf8794af2514e1d700fcf', "aria-hidden": this.isShown ? undefined : "true", class: tooltipClasses, part: "tooltip", ref: (el) => (this.tooltipEl = el), role: "tooltip", style: tooltipStyles }, hAsync("div", { key: 'f63dfdab26a4ecab969169b912ad40a10b522254', class: "tooltip-content", part: "content" }, this.text))));
|
|
77917
78746
|
}
|
|
77918
78747
|
static get watchers() { return {
|
|
77919
78748
|
"visible": [{
|
|
@@ -78151,12 +78980,12 @@ class BhTrendChart {
|
|
|
78151
78980
|
const strokeColor = this.getStrokeColor();
|
|
78152
78981
|
const fillColor = this.getFillColor();
|
|
78153
78982
|
const gradientId = `gradient-${this.trend}`;
|
|
78154
|
-
return (hAsync(Host, { key: '
|
|
78983
|
+
return (hAsync(Host, { key: 'ea8d6b51e373124621786bbd4ca7c62df12bd9c6' }, hAsync("div", { key: 'e9153f8a5efc172330635244a1c4744109a09e8b', class: {
|
|
78155
78984
|
"trend-chart": true,
|
|
78156
78985
|
[`trend-chart-${this.trend}`]: true,
|
|
78157
78986
|
[`trend-chart-${this.variant}`]: true,
|
|
78158
78987
|
"trend-chart-animated": this.animated,
|
|
78159
|
-
}, part: "container" }, hAsync("svg", { key: '
|
|
78988
|
+
}, part: "container" }, hAsync("svg", { key: '9f809a7f4d5f81182b172904ad83366675fe7b55', "aria-label": `Trend chart showing ${this.trend} trend`, class: "chart-svg", height: this.height, role: "img", viewBox: `0 0 ${this.width} ${this.height}`, width: this.width }, hAsync("defs", { key: '12b674338f78e3046948a0db5c5f3bab546962ab' }, hAsync("linearGradient", { key: 'cb1e1f2bd78cabcbcd04b16dec7c52ff98ba5dac', id: gradientId, x1: "0%", x2: "0%", y1: "0%", y2: "100%" }, hAsync("stop", { key: '6e8e2ff7be1a4f400024d2e16827e00b3c6b5178', offset: "0%", "stop-color": fillColor, "stop-opacity": this.variant === "fill-only" ? 0.4 : 0.2 }), hAsync("stop", { key: '9ed743ef3ca3ce5163182f4a72851c47ba0b90a5', offset: "100%", "stop-color": fillColor, "stop-opacity": this.variant === "fill-only" ? 0.1 : 0.05 }))), backgroundPath && this.variant !== "line-only" && (hAsync("path", { key: '70e5d76147769bfc2139c26635406bc18d6b88d1', class: "chart-background", d: backgroundPath, fill: `url(#${gradientId})` })), pathData && this.variant !== "fill-only" && (hAsync("path", { key: 'c80a4d83bcf81dec0523f27e59d9b26be8a3bfd0', class: "chart-line", d: pathData, fill: "none", onMouseEnter: this.handleLineHover, stroke: strokeColor, "stroke-width": "2" })), backgroundPath && this.variant !== "line-only" && (hAsync("path", { key: '53dc5a1878481379e089b9f24a2e2d16d1b9294d', class: "chart-background-hover", d: backgroundPath, fill: "transparent", onMouseEnter: this.handleLineHover })), points.map((point, index) => (hAsync("circle", { class: "chart-point", cx: point.x, cy: point.y, fill: strokeColor, key: index, onClick: (e) => this.handlePointClick(e, this.data[index], index, point.x, point.y), onMouseEnter: (e) => this.handlePointHover(e, this.data[index], index, point.x, point.y), onMouseLeave: (e) => this.handlePointLeave(e, this.data[index], index, point.x, point.y), opacity: "0", r: "6" })))))));
|
|
78160
78989
|
}
|
|
78161
78990
|
static get style() { return bhTrendChartCss(); }
|
|
78162
78991
|
static get cmpMeta() { return {
|
|
@@ -78203,6 +79032,7 @@ registerComponents([
|
|
|
78203
79032
|
BhCheckbox,
|
|
78204
79033
|
BhChecklistTaskGroup,
|
|
78205
79034
|
BhCloseButton,
|
|
79035
|
+
BhCommandBar,
|
|
78206
79036
|
BhContainer,
|
|
78207
79037
|
BhContainerFooter,
|
|
78208
79038
|
BhCreditCard,
|
|
@@ -78237,6 +79067,7 @@ registerComponents([
|
|
|
78237
79067
|
BhInputPassword,
|
|
78238
79068
|
BhInputText,
|
|
78239
79069
|
BhInputVerification,
|
|
79070
|
+
BhKbd,
|
|
78240
79071
|
BhLabel,
|
|
78241
79072
|
BhLineChart,
|
|
78242
79073
|
BhLoaderSpinner,
|
|
@@ -78250,6 +79081,7 @@ registerComponents([
|
|
|
78250
79081
|
BhMonthPickerContent,
|
|
78251
79082
|
BhMultiSelect,
|
|
78252
79083
|
BhNavItem,
|
|
79084
|
+
BhNotificationCenter,
|
|
78253
79085
|
BhPageHeader,
|
|
78254
79086
|
BhPageNavigation,
|
|
78255
79087
|
BhPageNavigationChild,
|