@reapit/elements 5.0.0-beta.57 → 5.0.0-beta.59
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/README.md +8 -8
- package/dist/js/{app-switcher-BpWxZmX8.js → app-switcher-BxNAiD3Q.js} +3 -3
- package/dist/js/{app-switcher-J9WJtD84.cjs → app-switcher-L5BwviDO.cjs} +1 -1
- package/dist/js/{badge-BK6X0isI.js → badge-C4eMkitq.js} +1 -1
- package/dist/js/{badge-D0MCujaz.cjs → badge-CNv_SHOf.cjs} +1 -1
- package/dist/js/bottom-bar-DswNNvwU.js +165 -0
- package/dist/js/bottom-bar-mNVkH8h_.cjs +1 -0
- package/dist/js/{breadcrumb-BI_1vn-j.js → breadcrumb-BcykLWuz.js} +1 -1
- package/dist/js/{breadcrumb-BfR3DtoH.cjs → breadcrumb-IZaA8-u-.cjs} +1 -1
- package/dist/js/checkbox-BX2PWh1h.cjs +1 -0
- package/dist/js/checkbox-CCFCh92B.js +57 -0
- package/dist/js/checkbox-control-CQnfBvph.cjs +1 -0
- package/dist/js/checkbox-control-DLIP3r9I.js +22 -0
- package/dist/js/checkbox-group-control-BOda9k19.js +69 -0
- package/dist/js/checkbox-group-control-DZaXmETO.cjs +1 -0
- package/dist/js/{chip-C6JCWcuQ.js → chip-EmRR5ZvZ.js} +21 -20
- package/dist/js/chip-Vsb-fXDy.cjs +1 -0
- package/dist/js/{chip-group-BVHLDlTv.cjs → chip-group-CMOQNhYo.cjs} +1 -1
- package/dist/js/{chip-group-CKJMheZV.js → chip-group-_1Ujkr17.js} +1 -1
- package/dist/js/chip-select-CFT-hd36.js +150 -0
- package/dist/js/chip-select-ChrOjBdP.cjs +1 -0
- package/dist/js/chip-select-control-AgupgCE2.js +28 -0
- package/dist/js/chip-select-control-D-xOl5kM.cjs +1 -0
- package/dist/js/core/app-switcher.cjs +1 -1
- package/dist/js/core/app-switcher.js +1 -1
- package/dist/js/core/badge.cjs +1 -1
- package/dist/js/core/badge.js +1 -1
- package/dist/js/core/bottom-bar.cjs +1 -1
- package/dist/js/core/bottom-bar.js +1 -1
- package/dist/js/core/checkbox-control.cjs +1 -0
- package/dist/js/core/checkbox-control.js +4 -0
- package/dist/js/core/checkbox-group-control.cjs +1 -0
- package/dist/js/core/checkbox-group-control.js +8 -0
- package/dist/js/core/checkbox.cjs +1 -1
- package/dist/js/core/checkbox.js +1 -1
- package/dist/js/core/chip-group.cjs +1 -1
- package/dist/js/core/chip-group.js +1 -1
- package/dist/js/core/chip-select-control.cjs +1 -0
- package/dist/js/core/chip-select-control.js +4 -0
- package/dist/js/core/chip-select.cjs +1 -1
- package/dist/js/core/chip-select.js +1 -1
- package/dist/js/core/chip.cjs +1 -1
- package/dist/js/core/chip.js +1 -1
- package/dist/js/core/date-time-control.cjs +1 -0
- package/dist/js/core/date-time-control.js +4 -0
- package/dist/js/core/date-time-input.cjs +1 -1
- package/dist/js/core/date-time-input.js +2 -63
- package/dist/js/core/features.cjs +1 -1
- package/dist/js/core/features.js +1 -1
- package/dist/js/core/form-control.cjs +1 -1
- package/dist/js/core/form-control.js +9 -59
- package/dist/js/core/main-container.cjs +1 -0
- package/dist/js/core/main-container.js +6 -0
- package/dist/js/core/menu.cjs +1 -1
- package/dist/js/core/menu.js +1 -1
- package/dist/js/core/page-header.cjs +1 -1
- package/dist/js/core/page-header.js +1 -1
- package/dist/js/core/page-layout.cjs +1 -0
- package/dist/js/core/page-layout.js +15 -0
- package/dist/js/core/radio-group-control.cjs +1 -0
- package/dist/js/core/radio-group-control.js +12 -0
- package/dist/js/core/radio-input.cjs +1 -0
- package/dist/js/core/radio-input.js +7 -0
- package/dist/js/core/search-input.cjs +1 -0
- package/dist/js/core/search-input.js +4 -0
- package/dist/js/core/side-bar.cjs +1 -1
- package/dist/js/core/side-bar.js +1 -1
- package/dist/js/core/split-button.cjs +1 -1
- package/dist/js/core/split-button.js +1 -1
- package/dist/js/core/table.cjs +1 -1
- package/dist/js/core/table.js +1 -1
- package/dist/js/core/tag-group.cjs +1 -1
- package/dist/js/core/tag-group.js +1 -1
- package/dist/js/core/tag.cjs +1 -1
- package/dist/js/core/tag.js +3 -2
- package/dist/js/core/text-control.cjs +1 -0
- package/dist/js/core/text-control.js +4 -0
- package/dist/js/core/theme-provider.cjs +1 -1
- package/dist/js/core/theme-provider.js +3 -14
- package/dist/js/core/tooltip.cjs +1 -1
- package/dist/js/core/tooltip.js +1 -1
- package/dist/js/core/top-bar.cjs +1 -1
- package/dist/js/core/top-bar.js +1 -1
- package/dist/js/{css-anchor-positioning-fn-CJi6lnM4.js → css-anchor-positioning-fn-8Er8T2lM.js} +2296 -2277
- package/dist/js/css-anchor-positioning-fn-DmupQmpv.cjs +17 -0
- package/dist/js/date-time-control-DVnFGgtf.cjs +1 -0
- package/dist/js/date-time-control-DmolK-aY.js +24 -0
- package/dist/js/date-time-input-BgdO3sO3.cjs +1 -0
- package/dist/js/date-time-input-CxVYHXK5.js +65 -0
- package/dist/js/deprecated/breadcrumb.cjs +1 -1
- package/dist/js/deprecated/breadcrumb.js +1 -1
- package/dist/js/deprecated/file-input.cjs +1 -1
- package/dist/js/deprecated/file-input.js +1 -1
- package/dist/js/deprecated/key-value-list.cjs +1 -1
- package/dist/js/deprecated/key-value-list.js +1 -1
- package/dist/js/deprecated/layout.cjs +1 -1
- package/dist/js/deprecated/layout.js +9 -9
- package/dist/js/deprecated/page-header.cjs +1 -1
- package/dist/js/deprecated/page-header.js +1 -1
- package/dist/js/deprecated/table.cjs +1 -1
- package/dist/js/deprecated/table.js +1 -1
- package/dist/js/{features-C_exB9JU.js → features-BhveqBlv.js} +1 -1
- package/dist/js/{features-CO39S5S2.cjs → features-CJpKBH5H.cjs} +1 -1
- package/dist/js/{file-input-BL8raebF.js → file-input-B9G77L9D.js} +1 -1
- package/dist/js/{file-input-DiARaUp6.cjs → file-input-D8o5XC7I.cjs} +1 -1
- package/dist/js/form-control-Be_ITYmU.cjs +1 -0
- package/dist/js/form-control-Cv1xUB2V.js +78 -0
- package/dist/js/index.cjs +1 -1
- package/dist/js/index.js +1130 -1057
- package/dist/js/{key-value-list-Bbjc7wh8.js → key-value-list-CJdL4UQv.js} +1 -1
- package/dist/js/{key-value-list-2Io3OR5y.cjs → key-value-list-DH5P0eeu.cjs} +1 -1
- package/dist/js/lab/select-custom.cjs +1 -1
- package/dist/js/lab/select-custom.js +3 -3
- package/dist/js/lab/table.cjs +1 -1
- package/dist/js/lab/table.js +28 -29
- package/dist/js/{layout-Bgkgq_CB.js → layout-9vWoOGXZ.js} +29 -29
- package/dist/js/layout-CY1dJq9m.cjs +1 -0
- package/dist/js/main-container-Be3OXwTh.js +36 -0
- package/dist/js/main-container-jVZdjdRn.cjs +1 -0
- package/dist/js/{menu-DNryE2C6.js → menu-CBeq-0T4.js} +1 -1
- package/dist/js/{menu-CeNhpHX3.cjs → menu-Dnh4NX8q.cjs} +1 -1
- package/dist/js/page-header-Bl5tk42N.js +140 -0
- package/dist/js/{page-header-DKI8XT4s.cjs → page-header-CemAtcIQ.cjs} +1 -1
- package/dist/js/page-header-DQ75fZ7u.cjs +1 -0
- package/dist/js/{page-header-DKwAfWTw.js → page-header-DdOaRtly.js} +2 -2
- package/dist/js/page-layout-BWMEZalc.js +84 -0
- package/dist/js/page-layout-e5i9c0IV.cjs +1 -0
- package/dist/js/{popover--9bCQl-5.cjs → popover-Y-ha5ifI.cjs} +1 -1
- package/dist/js/{popover-CpYudwxB.js → popover-bBQLwPua.js} +1 -1
- package/dist/js/radio-group-control-BzTfznjG.cjs +1 -0
- package/dist/js/radio-group-control-Dasa9-6L.js +104 -0
- package/dist/js/radio-input-Czm_n289.js +32 -0
- package/dist/js/radio-input-DFZpS_XL.cjs +1 -0
- package/dist/js/search-input-BE3DpSLl.cjs +1 -0
- package/dist/js/search-input-DNymJ1pF.js +59 -0
- package/dist/js/{side-bar-DbM_zTje.js → side-bar-CVYEUZUt.js} +1 -1
- package/dist/js/{side-bar-CuagPjhx.cjs → side-bar-Dq4xIMA6.cjs} +1 -1
- package/dist/js/{split-button-S8MnRXex.js → split-button-BgTcuFGf.js} +1 -1
- package/dist/js/{split-button-soiUFCVS.cjs → split-button-DmGaQtfM.cjs} +1 -1
- package/dist/js/style.css +1 -1
- package/dist/js/{table-QAc7_gjb.js → table-Bl_O1Vba.js} +1 -1
- package/dist/js/{table-CbcOo57O.js → table-C2VDaoxQ.js} +1 -1
- package/dist/js/{table-DXKjgqbS.cjs → table-D4Ru4oVv.cjs} +1 -1
- package/dist/js/{table-C2unW7mA.cjs → table-DMCCX0Sr.cjs} +1 -1
- package/dist/js/tag-CHsvGlfC.cjs +1 -0
- package/dist/js/tag-D0RS56bK.js +26 -0
- package/dist/js/{tag-group-DkCLJLtj.cjs → tag-group-hoA-TErZ.cjs} +1 -1
- package/dist/js/{tag-group-BsQNR1AD.js → tag-group-uY3l-CpV.js} +1 -1
- package/dist/js/text-control-B77UKUVG.js +24 -0
- package/dist/js/text-control-CgoKajrV.cjs +1 -0
- package/dist/js/theme-provider-COd6XAGr.cjs +1 -0
- package/dist/js/theme-provider-h96i6AvJ.js +16 -0
- package/dist/js/{tooltip-CLmMeUrY.js → tooltip-B0jGN026.js} +1 -1
- package/dist/js/{tooltip-DsWQf5Wm.cjs → tooltip-DVVnlf_8.cjs} +1 -1
- package/dist/js/{top-bar-BemL6y67.cjs → top-bar-DNjBwRD0.cjs} +1 -1
- package/dist/js/{top-bar-DifjRjVI.js → top-bar-Dv1_vO38.js} +2 -2
- package/dist/js/utils/popover.cjs +1 -1
- package/dist/js/utils/popover.js +1 -1
- package/dist/types/core/bottom-bar/bottom-bar.d.ts +10 -13
- package/dist/types/core/bottom-bar/bottom-bar.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/bottom-bar.stories.d.ts +11 -2
- package/dist/types/core/bottom-bar/bottom-bar.stories.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/context.d.ts +3 -2
- package/dist/types/core/bottom-bar/context.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/styles.d.ts +5 -1
- package/dist/types/core/bottom-bar/styles.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/use-bottom-bar-observer.d.ts +4 -3
- package/dist/types/core/bottom-bar/use-bottom-bar-observer.d.ts.map +1 -1
- package/dist/types/core/checkbox/checkbox.d.ts +3 -2
- package/dist/types/core/checkbox/checkbox.d.ts.map +1 -1
- package/dist/types/core/checkbox/checkbox.stories.d.ts +5 -5
- package/dist/types/core/checkbox/checkbox.stories.d.ts.map +1 -1
- package/dist/types/core/checkbox/styles.d.ts +1 -4
- package/dist/types/core/checkbox/styles.d.ts.map +1 -1
- package/dist/types/core/checkbox-control/__tests__/checkbox-control.test.d.ts +2 -0
- package/dist/types/core/checkbox-control/__tests__/checkbox-control.test.d.ts.map +1 -0
- package/dist/types/core/checkbox-control/checkbox-control.d.ts +14 -0
- package/dist/types/core/checkbox-control/checkbox-control.d.ts.map +1 -0
- package/dist/types/core/checkbox-control/checkbox-control.figma.d.ts +2 -0
- package/dist/types/core/checkbox-control/checkbox-control.figma.d.ts.map +1 -0
- package/dist/types/core/checkbox-control/checkbox-control.stories.d.ts +44 -0
- package/dist/types/core/checkbox-control/checkbox-control.stories.d.ts.map +1 -0
- package/dist/types/core/checkbox-control/index.d.ts +2 -0
- package/dist/types/core/checkbox-control/index.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/__tests__/checkbox-group-control.test.d.ts +2 -0
- package/dist/types/core/checkbox-group-control/__tests__/checkbox-group-control.test.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control-option.d.ts +12 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control-option.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.d.ts +58 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.figma.d.ts +2 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.figma.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.stories.d.ts +65 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.stories.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/context.d.ts +28 -0
- package/dist/types/core/checkbox-group-control/context.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/index.d.ts +5 -0
- package/dist/types/core/checkbox-group-control/index.d.ts.map +1 -0
- package/dist/types/core/checkbox-group-control/styles.d.ts +6 -0
- package/dist/types/core/checkbox-group-control/styles.d.ts.map +1 -0
- package/dist/types/core/checkbox-input/checkbox-input.stories.d.ts +3 -0
- package/dist/types/core/checkbox-input/checkbox-input.stories.d.ts.map +1 -1
- package/dist/types/core/chip/chip.d.ts +1 -1
- package/dist/types/core/chip/chip.d.ts.map +1 -1
- package/dist/types/core/chip/chip.stories.d.ts +6 -1
- package/dist/types/core/chip/chip.stories.d.ts.map +1 -1
- package/dist/types/core/chip/styles.d.ts +1 -1
- package/dist/types/core/chip/styles.d.ts.map +1 -1
- package/dist/types/core/chip-select/chip-select-option.d.ts.map +1 -1
- package/dist/types/core/chip-select/chip-select.d.ts +7 -2
- package/dist/types/core/chip-select/chip-select.d.ts.map +1 -1
- package/dist/types/core/chip-select/context.d.ts +5 -0
- package/dist/types/core/chip-select/context.d.ts.map +1 -1
- package/dist/types/core/chip-select-control/__tests__/chip-select-control.test.d.ts +2 -0
- package/dist/types/core/chip-select-control/__tests__/chip-select-control.test.d.ts.map +1 -0
- package/dist/types/core/chip-select-control/chip-select-control.d.ts +31 -0
- package/dist/types/core/chip-select-control/chip-select-control.d.ts.map +1 -0
- package/dist/types/core/chip-select-control/chip-select-control.stories.d.ts +45 -0
- package/dist/types/core/chip-select-control/chip-select-control.stories.d.ts.map +1 -0
- package/dist/types/core/chip-select-control/chip-select.figma.d.ts.map +1 -0
- package/dist/types/core/chip-select-control/index.d.ts +2 -0
- package/dist/types/core/chip-select-control/index.d.ts.map +1 -0
- package/dist/types/core/date-time-control/__tests__/date-time-control.test.d.ts +2 -0
- package/dist/types/core/date-time-control/__tests__/date-time-control.test.d.ts.map +1 -0
- package/dist/types/core/date-time-control/date-time-control.d.ts +25 -0
- package/dist/types/core/date-time-control/date-time-control.d.ts.map +1 -0
- package/dist/types/core/date-time-control/date-time-control.figma.d.ts +2 -0
- package/dist/types/core/date-time-control/date-time-control.figma.d.ts.map +1 -0
- package/dist/types/core/date-time-control/date-time-control.stories.d.ts +76 -0
- package/dist/types/core/date-time-control/date-time-control.stories.d.ts.map +1 -0
- package/dist/types/core/date-time-control/index.d.ts +2 -0
- package/dist/types/core/date-time-control/index.d.ts.map +1 -0
- package/dist/types/core/date-time-input/date-time-input.stories.d.ts +4 -0
- package/dist/types/core/date-time-input/date-time-input.stories.d.ts.map +1 -1
- package/dist/types/core/filter-bar/applied-filters/applied-filters.stories.d.ts.map +1 -1
- package/dist/types/core/form-control/form-control.d.ts +3 -1
- package/dist/types/core/form-control/form-control.d.ts.map +1 -1
- package/dist/types/core/form-control/form-control.stories.d.ts +5 -0
- package/dist/types/core/form-control/form-control.stories.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +15 -1
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/main-container/__story__/placeholders.d.ts +7 -0
- package/dist/types/core/main-container/__story__/placeholders.d.ts.map +1 -0
- package/dist/types/core/main-container/__tests__/main-container.test.d.ts +2 -0
- package/dist/types/core/main-container/__tests__/main-container.test.d.ts.map +1 -0
- package/dist/types/core/main-container/index.d.ts +3 -0
- package/dist/types/core/main-container/index.d.ts.map +1 -0
- package/dist/types/core/main-container/main-container.d.ts +27 -0
- package/dist/types/core/main-container/main-container.d.ts.map +1 -0
- package/dist/types/core/main-container/main-container.stories.d.ts +345 -0
- package/dist/types/core/main-container/main-container.stories.d.ts.map +1 -0
- package/dist/types/core/main-container/styles.d.ts +10 -0
- package/dist/types/core/main-container/styles.d.ts.map +1 -0
- package/dist/types/core/page-header/page-header.d.ts +4 -2
- package/dist/types/core/page-header/page-header.d.ts.map +1 -1
- package/dist/types/core/page-header/page-header.stories.d.ts +15 -3
- package/dist/types/core/page-header/page-header.stories.d.ts.map +1 -1
- package/dist/types/core/page-header/styles.d.ts.map +1 -1
- package/dist/types/core/page-layout/__story__/placeholders.d.ts +5 -0
- package/dist/types/core/page-layout/__story__/placeholders.d.ts.map +1 -0
- package/dist/types/core/page-layout/__tests__/page-layout.test.d.ts +2 -0
- package/dist/types/core/page-layout/__tests__/page-layout.test.d.ts.map +1 -0
- package/dist/types/core/page-layout/body-region/__tests__/body-region.test.d.ts +2 -0
- package/dist/types/core/page-layout/body-region/__tests__/body-region.test.d.ts.map +1 -0
- package/dist/types/core/page-layout/body-region/body-region.d.ts +10 -0
- package/dist/types/core/page-layout/body-region/body-region.d.ts.map +1 -0
- package/dist/types/core/page-layout/body-region/index.d.ts +3 -0
- package/dist/types/core/page-layout/body-region/index.d.ts.map +1 -0
- package/dist/types/core/page-layout/body-region/styles.d.ts +6 -0
- package/dist/types/core/page-layout/body-region/styles.d.ts.map +1 -0
- package/dist/types/core/page-layout/bottom-bar-region/__tests__/bottom-bar-region.test.d.ts +2 -0
- package/dist/types/core/page-layout/bottom-bar-region/__tests__/bottom-bar-region.test.d.ts.map +1 -0
- package/dist/types/core/page-layout/bottom-bar-region/bottom-bar-region.d.ts +10 -0
- package/dist/types/core/page-layout/bottom-bar-region/bottom-bar-region.d.ts.map +1 -0
- package/dist/types/core/page-layout/bottom-bar-region/index.d.ts +3 -0
- package/dist/types/core/page-layout/bottom-bar-region/index.d.ts.map +1 -0
- package/dist/types/core/page-layout/bottom-bar-region/styles.d.ts +2 -0
- package/dist/types/core/page-layout/bottom-bar-region/styles.d.ts.map +1 -0
- package/dist/types/core/page-layout/context.d.ts +23 -0
- package/dist/types/core/page-layout/context.d.ts.map +1 -0
- package/dist/types/core/page-layout/index.d.ts +8 -0
- package/dist/types/core/page-layout/index.d.ts.map +1 -0
- package/dist/types/core/page-layout/page-layout.d.ts +35 -0
- package/dist/types/core/page-layout/page-layout.d.ts.map +1 -0
- package/dist/types/core/page-layout/page-layout.stories.d.ts +63 -0
- package/dist/types/core/page-layout/page-layout.stories.d.ts.map +1 -0
- package/dist/types/core/page-layout/side-bar-region/__tests__/side-bar-region.test.d.ts +2 -0
- package/dist/types/core/page-layout/side-bar-region/__tests__/side-bar-region.test.d.ts.map +1 -0
- package/dist/types/core/page-layout/side-bar-region/index.d.ts +3 -0
- package/dist/types/core/page-layout/side-bar-region/index.d.ts.map +1 -0
- package/dist/types/core/page-layout/side-bar-region/side-bar-region.d.ts +10 -0
- package/dist/types/core/page-layout/side-bar-region/side-bar-region.d.ts.map +1 -0
- package/dist/types/core/page-layout/side-bar-region/styles.d.ts +2 -0
- package/dist/types/core/page-layout/side-bar-region/styles.d.ts.map +1 -0
- package/dist/types/core/page-layout/styles.d.ts +6 -0
- package/dist/types/core/page-layout/styles.d.ts.map +1 -0
- package/dist/types/core/page-layout/top-bar-region/__tests__/top-bar-region.test.d.ts +2 -0
- package/dist/types/core/page-layout/top-bar-region/__tests__/top-bar-region.test.d.ts.map +1 -0
- package/dist/types/core/page-layout/top-bar-region/index.d.ts +3 -0
- package/dist/types/core/page-layout/top-bar-region/index.d.ts.map +1 -0
- package/dist/types/core/page-layout/top-bar-region/styles.d.ts +2 -0
- package/dist/types/core/page-layout/top-bar-region/styles.d.ts.map +1 -0
- package/dist/types/core/page-layout/top-bar-region/top-bar-region.d.ts +10 -0
- package/dist/types/core/page-layout/top-bar-region/top-bar-region.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/__tests__/radio-group-control.test.d.ts +2 -0
- package/dist/types/core/radio-group-control/__tests__/radio-group-control.test.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/context.d.ts +28 -0
- package/dist/types/core/radio-group-control/context.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/index.d.ts +6 -0
- package/dist/types/core/radio-group-control/index.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-button/__tests__/radio-button.test.d.ts +2 -0
- package/dist/types/core/radio-group-control/radio-button/__tests__/radio-button.test.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-button/index.d.ts +3 -0
- package/dist/types/core/radio-group-control/radio-button/index.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-button/radio-button.d.ts +18 -0
- package/dist/types/core/radio-group-control/radio-button/radio-button.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-button/radio-button.stories.d.ts +41 -0
- package/dist/types/core/radio-group-control/radio-button/radio-button.stories.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-button/styles.d.ts +4 -0
- package/dist/types/core/radio-group-control/radio-button/styles.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-group-control-option.d.ts +12 -0
- package/dist/types/core/radio-group-control/radio-group-control-option.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-group-control-option.figma.d.ts +2 -0
- package/dist/types/core/radio-group-control/radio-group-control-option.figma.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-group-control.d.ts +58 -0
- package/dist/types/core/radio-group-control/radio-group-control.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-group-control.figma.d.ts +2 -0
- package/dist/types/core/radio-group-control/radio-group-control.figma.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/radio-group-control.stories.d.ts +63 -0
- package/dist/types/core/radio-group-control/radio-group-control.stories.d.ts.map +1 -0
- package/dist/types/core/radio-group-control/styles.d.ts +6 -0
- package/dist/types/core/radio-group-control/styles.d.ts.map +1 -0
- package/dist/types/core/radio-input/__tests__/radio-input.test.d.ts +2 -0
- package/dist/types/core/radio-input/__tests__/radio-input.test.d.ts.map +1 -0
- package/dist/types/core/radio-input/index.d.ts +3 -0
- package/dist/types/core/radio-input/index.d.ts.map +1 -0
- package/dist/types/core/radio-input/radio-input.d.ts +22 -0
- package/dist/types/core/radio-input/radio-input.d.ts.map +1 -0
- package/dist/types/core/radio-input/radio-input.stories.d.ts +37 -0
- package/dist/types/core/radio-input/radio-input.stories.d.ts.map +1 -0
- package/dist/types/core/radio-input/styles.d.ts +8 -0
- package/dist/types/core/radio-input/styles.d.ts.map +1 -0
- package/dist/types/core/search-input/__tests__/search-input.test.d.ts +2 -0
- package/dist/types/core/search-input/__tests__/search-input.test.d.ts.map +1 -0
- package/dist/types/core/search-input/clear-button/__tests__/clear-button.test.d.ts +2 -0
- package/dist/types/core/search-input/clear-button/__tests__/clear-button.test.d.ts.map +1 -0
- package/dist/types/core/search-input/clear-button/clear-button.d.ts +14 -0
- package/dist/types/core/search-input/clear-button/clear-button.d.ts.map +1 -0
- package/dist/types/core/search-input/clear-button/index.d.ts +2 -0
- package/dist/types/core/search-input/clear-button/index.d.ts.map +1 -0
- package/dist/types/core/search-input/index.d.ts +2 -0
- package/dist/types/core/search-input/index.d.ts.map +1 -0
- package/dist/types/core/search-input/search-input.d.ts +28 -0
- package/dist/types/core/search-input/search-input.d.ts.map +1 -0
- package/dist/types/core/search-input/search-input.figma.d.ts +2 -0
- package/dist/types/core/search-input/search-input.figma.d.ts.map +1 -0
- package/dist/types/core/search-input/search-input.stories.d.ts +62 -0
- package/dist/types/core/search-input/search-input.stories.d.ts.map +1 -0
- package/dist/types/core/tag/styles.d.ts +15 -1
- package/dist/types/core/tag/styles.d.ts.map +1 -1
- package/dist/types/core/tag/tag.d.ts +5 -1
- package/dist/types/core/tag/tag.d.ts.map +1 -1
- package/dist/types/core/tag/tag.stories.d.ts +26 -0
- package/dist/types/core/tag/tag.stories.d.ts.map +1 -1
- package/dist/types/core/tag-group/styles.d.ts.map +1 -1
- package/dist/types/core/text-control/__tests__/text-control.test.d.ts +2 -0
- package/dist/types/core/text-control/__tests__/text-control.test.d.ts.map +1 -0
- package/dist/types/core/text-control/index.d.ts +2 -0
- package/dist/types/core/text-control/index.d.ts.map +1 -0
- package/dist/types/core/text-control/text-control.d.ts +25 -0
- package/dist/types/core/text-control/text-control.d.ts.map +1 -0
- package/dist/types/core/text-control/text-control.figma.d.ts +2 -0
- package/dist/types/core/text-control/text-control.figma.d.ts.map +1 -0
- package/dist/types/core/text-control/text-control.stories.d.ts +118 -0
- package/dist/types/core/text-control/text-control.stories.d.ts.map +1 -0
- package/dist/types/core/text-input/text-input.stories.d.ts +6 -2
- package/dist/types/core/text-input/text-input.stories.d.ts.map +1 -1
- package/dist/types/deprecated/accordion/accordion.stories.d.ts +0 -6
- package/dist/types/deprecated/accordion/accordion.stories.d.ts.map +1 -1
- package/dist/types/deprecated/layout/layout.d.ts +1 -1
- package/dist/types/deprecated/layout/layout.d.ts.map +1 -1
- package/dist/types/deprecated/layout/styles.d.ts +1 -1
- package/dist/types/deprecated/layout/styles.d.ts.map +1 -1
- package/dist/types/deprecated/use-theme/index.d.ts +1 -1
- package/dist/types/deprecated/use-theme/index.d.ts.map +1 -1
- package/dist/types/lab/radio/radio.d.ts +2 -0
- package/dist/types/lab/radio/radio.d.ts.map +1 -1
- package/dist/types/lab/radio-group/radio-group.d.ts +1 -0
- package/dist/types/lab/radio-group/radio-group.d.ts.map +1 -1
- package/dist/types/lab/search-input/search-input.d.ts +2 -0
- package/dist/types/lab/search-input/search-input.d.ts.map +1 -1
- package/dist/types/lab/table/table-container/table-container.stories.d.ts.map +1 -1
- package/dist/types/lab/table/table-toolbar/table-toolbar.stories.d.ts.map +1 -1
- package/package.json +18 -24
- package/dist/js/bottom-bar-Cm27wQtG.js +0 -160
- package/dist/js/bottom-bar-DzGf1QYt.cjs +0 -1
- package/dist/js/checkbox-DC8RqIoO.js +0 -49
- package/dist/js/checkbox-cF4oAr9E.cjs +0 -1
- package/dist/js/checkbox-group-C7hdmk4J.cjs +0 -1
- package/dist/js/checkbox-group-bsz2GTNs.js +0 -18
- package/dist/js/chip-BKyMTX7r.cjs +0 -1
- package/dist/js/chip-select-BA-hLDOk.js +0 -138
- package/dist/js/chip-select-CfP3jsaC.cjs +0 -1
- package/dist/js/core/checkbox-group.cjs +0 -1
- package/dist/js/core/checkbox-group.js +0 -6
- package/dist/js/css-anchor-positioning-fn-BF5l2GbQ.cjs +0 -17
- package/dist/js/layout-CmLwZEVf.cjs +0 -1
- package/dist/js/page-header-4pxNlaTx.js +0 -148
- package/dist/js/page-header-CQk4eRBB.cjs +0 -1
- package/dist/js/tag-az-kcnIL.cjs +0 -1
- package/dist/js/tag-tVSz6TvA.js +0 -14
- package/dist/types/core/checkbox-group/__tests__/checkbox-group.test.d.ts +0 -2
- package/dist/types/core/checkbox-group/__tests__/checkbox-group.test.d.ts.map +0 -1
- package/dist/types/core/checkbox-group/checkbox-group.atoms.d.ts +0 -8
- package/dist/types/core/checkbox-group/checkbox-group.atoms.d.ts.map +0 -1
- package/dist/types/core/checkbox-group/checkbox-group.d.ts +0 -13
- package/dist/types/core/checkbox-group/checkbox-group.d.ts.map +0 -1
- package/dist/types/core/checkbox-group/checkbox-group.stories.d.ts +0 -33
- package/dist/types/core/checkbox-group/checkbox-group.stories.d.ts.map +0 -1
- package/dist/types/core/checkbox-group/index.d.ts +0 -3
- package/dist/types/core/checkbox-group/index.d.ts.map +0 -1
- package/dist/types/core/checkbox-group/styles.d.ts +0 -3
- package/dist/types/core/checkbox-group/styles.d.ts.map +0 -1
- package/dist/types/core/chip-select/chip-select.figma.d.ts.map +0 -1
- package/dist/types/storybook/demo-theme.d.ts +0 -2
- package/dist/types/storybook/demo-theme.d.ts.map +0 -1
- package/dist/types/storybook/figma/guidelines-images/index.d.ts +0 -5
- package/dist/types/storybook/figma/guidelines-images/index.d.ts.map +0 -1
- package/dist/types/storybook/figma/index.d.ts +0 -12
- package/dist/types/storybook/figma/index.d.ts.map +0 -1
- /package/dist/types/core/{chip-select → chip-select-control}/chip-select.figma.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Reapit Elements
|
|
2
2
|
|
|
3
|
-
A React UI toolkit
|
|
3
|
+
A React UI toolkit for cross-platform web applications in the Reapit Foundations ecosystem. Written in TypeScript, it exports React Components and a CSS Stylesheet. Distributed via NPM [here](https://www.npmjs.com/package/@reapit/elements).
|
|
4
4
|
|
|
5
5
|
   
|
|
6
6
|
|
|
@@ -11,18 +11,18 @@ A React UI toolkit, with cross platform support for building web applications in
|
|
|
11
11
|
|
|
12
12
|
## Documentation
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
View the React Component Storybook and documentation [here](https://elements.reapit.cloud).
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Imported from the Reapit Foundations Monorepo at version 4.0.2. View the original commit history [here](https://github.com/reapit/foundations/tree/%40reapit/elements_v4.0.2).
|
|
17
17
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
18
|
+
- View detailed Foundations platform documentation [at this external link](https://foundations-documentation.reapit.cloud).
|
|
19
|
+
- Learn what we are building in Elements on the [discussions page here](https://github.com/reapit/elements/discussions).
|
|
20
|
+
- Request features or report bugs by opening an issue [here](https://github.com/reapit/elements/issues/new/choose). When accepted for development, track its progress on our [backlog board](https://github.com/orgs/reapit/projects/16)
|
|
21
|
+
- View our future roadmap [here](https://github.com/orgs/reapit/projects/16/views/2).
|
|
22
22
|
|
|
23
23
|
Please read our [disclaimer](./DISCLAIMER.md) before proceeding.
|
|
24
24
|
|
|
25
25
|
## For Contributors & AI Agents
|
|
26
26
|
|
|
27
27
|
- **[AGENTS.md](./AGENTS.md)** - Essential guide for AI agents working on this project
|
|
28
|
-
- **[guidelines
|
|
28
|
+
- **[guidelines/*](./guidelines/*)** - Guidelines concerning code style, patterns, and best practices
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as h, Fragment as u } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as x, useContext as M, useId as o } from "react";
|
|
3
|
-
import { k as r } from "./menu-
|
|
3
|
+
import { k as r } from "./menu-CBeq-0T4.js";
|
|
4
4
|
import { s as g } from "./index-YtxCR-9e.js";
|
|
5
5
|
import { AppSwitcherIcon as Z } from "./icons/app-switcher.js";
|
|
6
6
|
import "./avatar-VyxUOz5Y.js";
|
|
7
|
-
import { k as A } from "./top-bar-
|
|
7
|
+
import { k as A } from "./top-bar-Dv1_vO38.js";
|
|
8
8
|
import "./icons/chevron-down.js";
|
|
9
|
-
import "./tooltip-
|
|
9
|
+
import "./tooltip-B0jGN026.js";
|
|
10
10
|
const F = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%23607890'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e", b = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%234E56EA'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e", y = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e", I = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e", E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.703-7.946%2011.706-.16.032-.255.064-.382.064a.82.82%200%200%201-.794-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-6.075-5.054-11.006-11.284-11.006S8.685%2014.418%208.685%2020.46c0%203.881%202.13%207.507%205.562%209.479l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.51%205.51%200%200%201-1.251-.324%206.643%206.643%200%200%201-4.163-4.325c-.255-.89.413-1.813%201.398-1.813h10.108c.985%200%201.652.923%201.398%201.813-.751%202.495-2.979%204.393-5.717%204.674-.442%202.671-2.5%204.613-5.058%204.613a4.77%204.77%200%200%201-2.034-.445l-.319-.128C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.817%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.636.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.285.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", V = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.702-7.946%2011.706-.159.032-.254.064-.381.064a.821.821%200%200%201-.795-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-5.885-4.743-10.697-10.703-10.992l-.581-.013c-6.23%200-11.283%204.962-11.283%2011.005%200%203.881%202.13%207.508%205.562%209.48l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.515%205.515%200%200%201-1.251-.324%206.644%206.644%200%200%201-4.164-4.326c-.254-.89.414-1.813%201.4-1.813h10.107c.985%200%201.652.922%201.398%201.813-.75%202.495-2.978%204.392-5.716%204.674-.442%202.672-2.5%204.613-5.06%204.613-.73%200-1.43-.159-2.034-.445l-.318-.127C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.816%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.635.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.286.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", _ = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e", S = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e", B = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", D = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", P = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", H = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", R = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e", C = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e", G = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", L = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", N = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e", W = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e", O = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234C56F3'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%234C56F3'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e", U = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%23607890'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e";
|
|
11
11
|
function T({ hasAccess: a, productId: t }) {
|
|
12
12
|
switch (t) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),r=require("react"),p=require("./menu-CeNhpHX3.cjs"),d=require("./index-Dmlb2--K.cjs"),V=require("./icons/app-switcher.cjs");require("./avatar-B0abtPQ0.cjs");const j=require("./top-bar-BemL6y67.cjs");require("./icons/chevron-down.cjs");require("./tooltip-DsWQf5Wm.cjs");const B="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%23607890'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",D="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%234E56EA'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",P="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",H="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.703-7.946%2011.706-.16.032-.255.064-.382.064a.82.82%200%200%201-.794-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-6.075-5.054-11.006-11.284-11.006S8.685%2014.418%208.685%2020.46c0%203.881%202.13%207.507%205.562%209.479l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.51%205.51%200%200%201-1.251-.324%206.643%206.643%200%200%201-4.163-4.325c-.255-.89.413-1.813%201.398-1.813h10.108c.985%200%201.652.923%201.398%201.813-.751%202.495-2.979%204.393-5.717%204.674-.442%202.671-2.5%204.613-5.058%204.613a4.77%204.77%200%200%201-2.034-.445l-.319-.128C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.817%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.636.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.285.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",G="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.702-7.946%2011.706-.159.032-.254.064-.381.064a.821.821%200%200%201-.795-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-5.885-4.743-10.697-10.703-10.992l-.581-.013c-6.23%200-11.283%204.962-11.283%2011.005%200%203.881%202.13%207.508%205.562%209.48l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.515%205.515%200%200%201-1.251-.324%206.644%206.644%200%200%201-4.164-4.326c-.254-.89.414-1.813%201.4-1.813h10.107c.985%200%201.652.922%201.398%201.813-.75%202.495-2.978%204.392-5.716%204.674-.442%202.672-2.5%204.613-5.06%204.613-.73%200-1.43-.159-2.034-.445l-.318-.127C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.816%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.635.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.286.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",C="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",L="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",N="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",W="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",O="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",U="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",q="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",T="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",Y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",k="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",K="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234C56F3'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%234C56F3'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e",X="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%23607890'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e";function m({hasAccess:t,productId:a}){switch(a){case"agentBox":return t?e.jsx("img",{src:k}):e.jsx("img",{src:Y});case"autoResponder":return t?e.jsx("img",{src:D}):e.jsx("img",{src:B});case"consoleCloud":return t?e.jsx("img",{src:U}):e.jsx("img",{src:O});case"ireBdm":return t?e.jsx("img",{src:$}):e.jsx("img",{src:X});case"ireWeb":return t?e.jsx("img",{src:W}):e.jsx("img",{src:N});case"mmiWeb":return t?e.jsx("img",{src:G}):e.jsx("img",{src:R});case"reapitForms":return t?e.jsx("img",{src:L}):e.jsx("img",{src:C});case"reapitWebsites":return t?e.jsx("img",{src:z}):e.jsx("img",{src:K});case"reapitProposals":return t?e.jsx("img",{src:T}):e.jsx("img",{src:q});case"keyWhere":return t?e.jsx("img",{src:H}):e.jsx("img",{src:P})}}const h=r.createContext(!1);function u(){return r.useContext(h)}function v({children:t}){return e.jsx(p.Menu.Group,{label:"EXPLORE",children:e.jsx(h.Provider,{value:!1,children:t})})}const f=d.styled_default("a")({name:"ElAppSwitcherMenuItemAnchor",class:"el-app-switcher-menu-item-anchor",propsAsIs:!1}),w=d.styled_default("div")({name:"ElAppSwitcherMenuItemAvatar",class:"el-app-switcher-menu-item-avatar",propsAsIs:!1}),x=d.styled_default("span")({name:"ElAppSwitcherMenuItemLabel",class:"el-app-switcher-menu-item-label",propsAsIs:!1}),M=d.styled_default("span")({name:"ElAppSwitcherMenuItemSupplementaryInfo",class:"el-app-switcher-menu-item-supplementary-info",propsAsIs:!1});function A({avatar:t,appName:a,href:l,supplementaryInfo:i,...c}){const n=r.useId(),o=r.useId();return e.jsxs(f,{...c,"aria-labelledby":n,"aria-describedby":o,href:l,target:"_blank",rel:"noreferrer",children:[e.jsx(w,{"aria-hidden":!0,children:t}),e.jsx(x,{id:n,children:a}),e.jsx(M,{id:o,children:i})]})}function Z({"aria-label":t,...a}){return e.jsx(j.TopBarNavIconItemButton,{...a,"aria-label":t??"App Switcher",icon:e.jsx(V.AppSwitcherIcon,{})})}const J={autoResponder:{appName:"Auto Responder",supplementaryInfo:"Auto-enquiry follow up"},agentBox:{appName:"Reapit Sales",supplementaryInfo:"Real estate CRM"},consoleCloud:{appName:"Reapit PM",supplementaryInfo:"Property management"},ireBdm:{appName:"Lettings BDM",supplementaryInfo:"Business development"},ireWeb:{appName:"Reapit Lettings",supplementaryInfo:"Leasing management"},keyWhere:{appName:"KeyWhere",supplementaryInfo:"Key management"},mmiWeb:{appName:"Move Me In",supplementaryInfo:"Utility connections service"},reapitForms:{appName:"Reapit Forms",supplementaryInfo:"Documents & digital signing"},reapitWebsites:{appName:"Reapit Websites",supplementaryInfo:"Website builder"},reapitProposals:{appName:"Reapit Proposals",supplementaryInfo:"Interactive digital proposals"}},F=["ireWeb","consoleCloud","agentBox","keyWhere","ireBdm","mmiWeb"];function I({appName:t,avatar:a,href:l,productId:i,supplementaryInfo:c,...n}){const o=u(),{appName:E,supplementaryInfo:_}=J[i];return e.jsx(s.MenuItem,{...n,appName:t??E,avatar:a??e.jsx(s.AppAvatar,{hasAccess:o,productId:i}),href:l,supplementaryInfo:c??_})}function b({children:t}){return e.jsx(p.Menu.Group,{label:"YOUR APPS",children:e.jsx(h.Provider,{value:!0,children:t})})}function g(t,a){for(const l of a)if(new RegExp(`^${l}$`,"i").test(t))return!0;return!1}function y(t){return F.filter(a=>g(a,t))}function S(t){return F.filter(a=>!g(a,t))}function s({children:t,id:a,...l}){const i=a??r.useId(),c=r.useId();return e.jsxs(e.Fragment,{children:[e.jsx(Z,{...l,...p.Menu.getTriggerProps({id:i,popoverTarget:c,popoverTargetAction:"toggle"})}),e.jsx(p.Menu,{"aria-labelledby":i,id:c,placement:"bottom-start",children:t})]})}s.AppAvatar=m;s.Divider=p.Menu.Divider;s.ExploreMenuGroup=v;s.MenuItem=A;s.ProductMenuItem=I;s.YourAppsMenuGroup=b;s.getDisplayableProductsForExploreGroup=S;s.getDisplayableProductsForYourAppsGroup=y;exports.AppAvatar=m;exports.AppSwitcher=s;exports.AppSwitcherExploreMenuGroup=v;exports.AppSwitcherMenuGroupHasAccessContext=h;exports.AppSwitcherMenuItem=A;exports.AppSwitcherNavIconButton=Z;exports.AppSwitcherProductMenuItem=I;exports.AppSwitcherYourAppsMenuGroup=b;exports.ElAppSwitcherMenuItemAnchor=f;exports.ElAppSwitcherMenuItemAvatar=w;exports.ElAppSwitcherMenuItemLabel=x;exports.ElAppSwitcherMenuItemSupplementaryInfo=M;exports.getDisplayableProductsForExploreGroup=S;exports.getDisplayableProductsForYourAppsGroup=y;exports.isProductAccessible=g;exports.useAppSwitcherMenuGroupHasAccessContext=u;
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("react"),p=require("./menu-Dnh4NX8q.cjs"),d=require("./index-Dmlb2--K.cjs"),V=require("./icons/app-switcher.cjs");require("./avatar-B0abtPQ0.cjs");const j=require("./top-bar-DNjBwRD0.cjs");require("./icons/chevron-down.cjs");require("./tooltip-DVVnlf_8.cjs");const B="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%23607890'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",D="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%234E56EA'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",P="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",H="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.703-7.946%2011.706-.16.032-.255.064-.382.064a.82.82%200%200%201-.794-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-6.075-5.054-11.006-11.284-11.006S8.685%2014.418%208.685%2020.46c0%203.881%202.13%207.507%205.562%209.479l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.51%205.51%200%200%201-1.251-.324%206.643%206.643%200%200%201-4.163-4.325c-.255-.89.413-1.813%201.398-1.813h10.108c.985%200%201.652.923%201.398%201.813-.751%202.495-2.979%204.393-5.717%204.674-.442%202.671-2.5%204.613-5.058%204.613a4.77%204.77%200%200%201-2.034-.445l-.319-.128C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.817%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.636.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.285.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",G="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.702-7.946%2011.706-.159.032-.254.064-.381.064a.821.821%200%200%201-.795-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-5.885-4.743-10.697-10.703-10.992l-.581-.013c-6.23%200-11.283%204.962-11.283%2011.005%200%203.881%202.13%207.508%205.562%209.48l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.515%205.515%200%200%201-1.251-.324%206.644%206.644%200%200%201-4.164-4.326c-.254-.89.414-1.813%201.4-1.813h10.107c.985%200%201.652.922%201.398%201.813-.75%202.495-2.978%204.392-5.716%204.674-.442%202.672-2.5%204.613-5.06%204.613-.73%200-1.43-.159-2.034-.445l-.318-.127C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.816%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.635.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.286.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",C="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",L="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",N="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",W="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",O="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",U="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",q="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",T="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",Y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",k="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",K="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234C56F3'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%234C56F3'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e",X="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%23607890'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e";function m({hasAccess:t,productId:a}){switch(a){case"agentBox":return t?e.jsx("img",{src:k}):e.jsx("img",{src:Y});case"autoResponder":return t?e.jsx("img",{src:D}):e.jsx("img",{src:B});case"consoleCloud":return t?e.jsx("img",{src:U}):e.jsx("img",{src:O});case"ireBdm":return t?e.jsx("img",{src:$}):e.jsx("img",{src:X});case"ireWeb":return t?e.jsx("img",{src:W}):e.jsx("img",{src:N});case"mmiWeb":return t?e.jsx("img",{src:G}):e.jsx("img",{src:R});case"reapitForms":return t?e.jsx("img",{src:L}):e.jsx("img",{src:C});case"reapitWebsites":return t?e.jsx("img",{src:z}):e.jsx("img",{src:K});case"reapitProposals":return t?e.jsx("img",{src:T}):e.jsx("img",{src:q});case"keyWhere":return t?e.jsx("img",{src:H}):e.jsx("img",{src:P})}}const h=r.createContext(!1);function u(){return r.useContext(h)}function v({children:t}){return e.jsx(p.Menu.Group,{label:"EXPLORE",children:e.jsx(h.Provider,{value:!1,children:t})})}const f=d.styled_default("a")({name:"ElAppSwitcherMenuItemAnchor",class:"el-app-switcher-menu-item-anchor",propsAsIs:!1}),w=d.styled_default("div")({name:"ElAppSwitcherMenuItemAvatar",class:"el-app-switcher-menu-item-avatar",propsAsIs:!1}),x=d.styled_default("span")({name:"ElAppSwitcherMenuItemLabel",class:"el-app-switcher-menu-item-label",propsAsIs:!1}),M=d.styled_default("span")({name:"ElAppSwitcherMenuItemSupplementaryInfo",class:"el-app-switcher-menu-item-supplementary-info",propsAsIs:!1});function A({avatar:t,appName:a,href:l,supplementaryInfo:i,...c}){const n=r.useId(),o=r.useId();return e.jsxs(f,{...c,"aria-labelledby":n,"aria-describedby":o,href:l,target:"_blank",rel:"noreferrer",children:[e.jsx(w,{"aria-hidden":!0,children:t}),e.jsx(x,{id:n,children:a}),e.jsx(M,{id:o,children:i})]})}function Z({"aria-label":t,...a}){return e.jsx(j.TopBarNavIconItemButton,{...a,"aria-label":t??"App Switcher",icon:e.jsx(V.AppSwitcherIcon,{})})}const J={autoResponder:{appName:"Auto Responder",supplementaryInfo:"Auto-enquiry follow up"},agentBox:{appName:"Reapit Sales",supplementaryInfo:"Real estate CRM"},consoleCloud:{appName:"Reapit PM",supplementaryInfo:"Property management"},ireBdm:{appName:"Lettings BDM",supplementaryInfo:"Business development"},ireWeb:{appName:"Reapit Lettings",supplementaryInfo:"Leasing management"},keyWhere:{appName:"KeyWhere",supplementaryInfo:"Key management"},mmiWeb:{appName:"Move Me In",supplementaryInfo:"Utility connections service"},reapitForms:{appName:"Reapit Forms",supplementaryInfo:"Documents & digital signing"},reapitWebsites:{appName:"Reapit Websites",supplementaryInfo:"Website builder"},reapitProposals:{appName:"Reapit Proposals",supplementaryInfo:"Interactive digital proposals"}},F=["ireWeb","consoleCloud","agentBox","keyWhere","ireBdm","mmiWeb"];function I({appName:t,avatar:a,href:l,productId:i,supplementaryInfo:c,...n}){const o=u(),{appName:E,supplementaryInfo:_}=J[i];return e.jsx(s.MenuItem,{...n,appName:t??E,avatar:a??e.jsx(s.AppAvatar,{hasAccess:o,productId:i}),href:l,supplementaryInfo:c??_})}function b({children:t}){return e.jsx(p.Menu.Group,{label:"YOUR APPS",children:e.jsx(h.Provider,{value:!0,children:t})})}function g(t,a){for(const l of a)if(new RegExp(`^${l}$`,"i").test(t))return!0;return!1}function y(t){return F.filter(a=>g(a,t))}function S(t){return F.filter(a=>!g(a,t))}function s({children:t,id:a,...l}){const i=a??r.useId(),c=r.useId();return e.jsxs(e.Fragment,{children:[e.jsx(Z,{...l,...p.Menu.getTriggerProps({id:i,popoverTarget:c,popoverTargetAction:"toggle"})}),e.jsx(p.Menu,{"aria-labelledby":i,id:c,placement:"bottom-start",children:t})]})}s.AppAvatar=m;s.Divider=p.Menu.Divider;s.ExploreMenuGroup=v;s.MenuItem=A;s.ProductMenuItem=I;s.YourAppsMenuGroup=b;s.getDisplayableProductsForExploreGroup=S;s.getDisplayableProductsForYourAppsGroup=y;exports.AppAvatar=m;exports.AppSwitcher=s;exports.AppSwitcherExploreMenuGroup=v;exports.AppSwitcherMenuGroupHasAccessContext=h;exports.AppSwitcherMenuItem=A;exports.AppSwitcherNavIconButton=Z;exports.AppSwitcherProductMenuItem=I;exports.AppSwitcherYourAppsMenuGroup=b;exports.ElAppSwitcherMenuItemAnchor=f;exports.ElAppSwitcherMenuItemAvatar=w;exports.ElAppSwitcherMenuItemLabel=x;exports.ElAppSwitcherMenuItemSupplementaryInfo=M;exports.getDisplayableProductsForExploreGroup=S;exports.getDisplayableProductsForYourAppsGroup=y;exports.isProductAccessible=g;exports.useAppSwitcherMenuGroupHasAccessContext=u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as B, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { s as l } from "./index-YtxCR-9e.js";
|
|
3
|
-
import { T as c } from "./tooltip-
|
|
3
|
+
import { T as c } from "./tooltip-B0jGN026.js";
|
|
4
4
|
import { useId as i } from "react";
|
|
5
5
|
const P = ["neutral", "success", "pending", "warning", "danger", "inactive", "accent_1", "accent_2"], f = /* @__PURE__ */ l("span")({
|
|
6
6
|
name: "ElBadge",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("./index-Dmlb2--K.cjs"),i=require("./tooltip-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("./index-Dmlb2--K.cjs"),i=require("./tooltip-DVVnlf_8.cjs"),u=require("react"),x=["neutral","success","pending","warning","danger","inactive","accent_1","accent_2"],g=d.styled_default("span")({name:"ElBadge",class:"el-badge",propsAsIs:!1}),p=d.styled_default("span")({name:"ElBadgeLabelContainer",class:"el-badge-label-container",propsAsIs:!1}),o=d.styled_default("span")({name:"ElBadgeIconContainer",class:"el-badge-icon-container",propsAsIs:!1});function j({"aria-label":n,children:t,colour:I,iconLeft:a,iconRight:s,id:b,variant:B="default",...E}){const r=!t&&(a||s)&&!(a&&s)&&n,l=b??u.useId(),c=u.useId(),C=r?i.Tooltip.getTriggerProps({id:l,tooltipId:c,tooltipPurpose:"label"}):{"aria-label":n,id:l};return e.jsxs(g,{...E,...C,"data-colour":I,"data-variant":B,children:[a&&e.jsx(o,{"aria-hidden":!0,children:a}),t&&e.jsx(p,{children:t}),s&&e.jsx(o,{"aria-hidden":!0,children:s}),r&&e.jsx(i.Tooltip,{triggerId:l,id:c,placement:"top",children:n})]})}exports.Badge=j;exports.ElBadge=g;exports.ElBadgeIconContainer=o;exports.ElBadgeLabelContainer=p;exports.badgeColours=x;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as N, useContext as S, useId as g, useRef as h, useEffect as v, useState as P } from "react";
|
|
3
|
+
import { c as R } from "./index-BsMVp4qF.js";
|
|
4
|
+
import { s } from "./index-YtxCR-9e.js";
|
|
5
|
+
import { k as M } from "./menu-CBeq-0T4.js";
|
|
6
|
+
import { MoreIcon as j } from "./icons/more.js";
|
|
7
|
+
const I = N(null);
|
|
8
|
+
function x() {
|
|
9
|
+
const t = S(I);
|
|
10
|
+
if (!t)
|
|
11
|
+
throw new Error("BottomBarContext not defined: useBottomBarContext can only be used in a child of BottomBarContext");
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
const w = "el-bottom-bar-item", k = /* @__PURE__ */ s("span")({
|
|
15
|
+
name: "ElBottomBarItemIcon",
|
|
16
|
+
class: "el-bottom-bar-item-icon",
|
|
17
|
+
propsAsIs: !1
|
|
18
|
+
}), H = /* @__PURE__ */ s("span")({
|
|
19
|
+
name: "ElBottomBarItemLabel",
|
|
20
|
+
class: "el-bottom-bar-item-label",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
}), O = /* @__PURE__ */ s("span")({
|
|
23
|
+
name: "ElBottomBarItemBadge",
|
|
24
|
+
class: "el-bottom-bar-item-badge",
|
|
25
|
+
propsAsIs: !1
|
|
26
|
+
});
|
|
27
|
+
function L({
|
|
28
|
+
as: t,
|
|
29
|
+
children: o,
|
|
30
|
+
className: a,
|
|
31
|
+
icon: n,
|
|
32
|
+
hasBadge: r,
|
|
33
|
+
...m
|
|
34
|
+
}) {
|
|
35
|
+
return (
|
|
36
|
+
// NOTE: We use a type assertion here to avoid having to narrow the type of `rest` to the specific `Element` type.
|
|
37
|
+
/* @__PURE__ */ p(t, { ...m, className: R(w, a), children: [
|
|
38
|
+
/* @__PURE__ */ p(k, { "aria-hidden": "true", children: [
|
|
39
|
+
r && /* @__PURE__ */ e(O, {}),
|
|
40
|
+
n
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ e(H, { children: o })
|
|
43
|
+
] })
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
function _(t) {
|
|
47
|
+
return /* @__PURE__ */ e(L, { ...t, as: "a" });
|
|
48
|
+
}
|
|
49
|
+
function C(t) {
|
|
50
|
+
return /* @__PURE__ */ e(L, { as: "button", ...t });
|
|
51
|
+
}
|
|
52
|
+
const D = /* @__PURE__ */ s("menu")({
|
|
53
|
+
name: "ElBottomBarMenuList",
|
|
54
|
+
class: "el-bottom-bar-menu-list",
|
|
55
|
+
propsAsIs: !1
|
|
56
|
+
}), A = /* @__PURE__ */ s("li")({
|
|
57
|
+
name: "ElBottomBarMenuListItem",
|
|
58
|
+
class: "el-bottom-bar-menu-list-item",
|
|
59
|
+
propsAsIs: !1
|
|
60
|
+
});
|
|
61
|
+
function T({ children: t, ...o }) {
|
|
62
|
+
return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(_, { ...o, children: t }) });
|
|
63
|
+
}
|
|
64
|
+
T.displayName = "BottomBar.Item";
|
|
65
|
+
function y({
|
|
66
|
+
children: t,
|
|
67
|
+
hasBadge: o,
|
|
68
|
+
icon: a = /* @__PURE__ */ e(j, {}),
|
|
69
|
+
id: n,
|
|
70
|
+
label: r = "More",
|
|
71
|
+
maxHeight: m,
|
|
72
|
+
maxWidth: B,
|
|
73
|
+
...f
|
|
74
|
+
}) {
|
|
75
|
+
const u = g(), l = n ?? g(), d = h(null), { state: b } = x();
|
|
76
|
+
return v(
|
|
77
|
+
function() {
|
|
78
|
+
const E = d.current?.lastElementChild;
|
|
79
|
+
b === "retracted" && E instanceof HTMLElement && E.hidePopover();
|
|
80
|
+
},
|
|
81
|
+
[b]
|
|
82
|
+
), /* @__PURE__ */ p(A, { ref: d, children: [
|
|
83
|
+
/* @__PURE__ */ e(
|
|
84
|
+
C,
|
|
85
|
+
{
|
|
86
|
+
...f,
|
|
87
|
+
...M.getTriggerProps({ id: l, popoverTarget: u, popoverTargetAction: "toggle" }),
|
|
88
|
+
hasBadge: o,
|
|
89
|
+
icon: a,
|
|
90
|
+
children: r
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
/* @__PURE__ */ e(M, { "aria-labelledby": l, id: u, maxHeight: m, maxWidth: B, placement: "top-end", children: t })
|
|
94
|
+
] });
|
|
95
|
+
}
|
|
96
|
+
y.displayName = "BottomBar.MenuItem";
|
|
97
|
+
function c({ children: t, ...o }) {
|
|
98
|
+
return /* @__PURE__ */ e(D, { ...o, children: t });
|
|
99
|
+
}
|
|
100
|
+
c.displayName = "BottomBar.MenuList";
|
|
101
|
+
c.Item = T;
|
|
102
|
+
c.MenuItem = y;
|
|
103
|
+
const F = /* @__PURE__ */ s("div")({
|
|
104
|
+
name: "ElBottomBarContainer",
|
|
105
|
+
class: "el-bottom-bar-container",
|
|
106
|
+
propsAsIs: !1
|
|
107
|
+
}), W = /* @__PURE__ */ s("nav")({
|
|
108
|
+
name: "ElBottomBarNav",
|
|
109
|
+
class: "el-bottom-bar-nav",
|
|
110
|
+
propsAsIs: !1
|
|
111
|
+
}), q = (t) => {
|
|
112
|
+
const [o, a] = P("extended"), n = h(0);
|
|
113
|
+
return v(
|
|
114
|
+
function() {
|
|
115
|
+
if (!t) return;
|
|
116
|
+
const m = document.getElementById(t);
|
|
117
|
+
if (!m) return;
|
|
118
|
+
const B = new AbortController();
|
|
119
|
+
function f(u) {
|
|
120
|
+
const l = u.currentTarget;
|
|
121
|
+
if (l instanceof HTMLElement) {
|
|
122
|
+
const d = l.scrollTop - n.current;
|
|
123
|
+
a(d < 0 ? "extended" : "retracted"), n.current = l.scrollTop;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return m.addEventListener("scroll", f, {
|
|
127
|
+
signal: B.signal
|
|
128
|
+
}), () => {
|
|
129
|
+
B.abort();
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
[t]
|
|
133
|
+
), o;
|
|
134
|
+
};
|
|
135
|
+
function i({
|
|
136
|
+
"aria-label": t = "Bottom navigation",
|
|
137
|
+
children: o,
|
|
138
|
+
scrollContainerId: a,
|
|
139
|
+
...n
|
|
140
|
+
}) {
|
|
141
|
+
const r = q(a);
|
|
142
|
+
return /* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(W, { ...n, "aria-label": t, "data-state": r, children: /* @__PURE__ */ e(I.Provider, { value: { state: r }, children: o }) }) });
|
|
143
|
+
}
|
|
144
|
+
i.Item = c.Item;
|
|
145
|
+
i.ItemButton = C;
|
|
146
|
+
i.MenuItem = c.MenuItem;
|
|
147
|
+
i.MenuList = c;
|
|
148
|
+
i.Context = I;
|
|
149
|
+
i.useContext = x;
|
|
150
|
+
export {
|
|
151
|
+
i as B,
|
|
152
|
+
k as E,
|
|
153
|
+
_ as a,
|
|
154
|
+
C as b,
|
|
155
|
+
L as c,
|
|
156
|
+
H as d,
|
|
157
|
+
w as e,
|
|
158
|
+
O as f,
|
|
159
|
+
D as g,
|
|
160
|
+
A as h,
|
|
161
|
+
c as i,
|
|
162
|
+
F as j,
|
|
163
|
+
W as k,
|
|
164
|
+
q as u
|
|
165
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),n=require("react"),P=require("./index-8ctufnBx.cjs"),l=require("./index-Dmlb2--K.cjs"),v=require("./menu-Dnh4NX8q.cjs"),w=require("./icons/more.cjs"),p=n.createContext(null);function L(){const t=n.useContext(p);if(!t)throw new Error("BottomBarContext not defined: useBottomBarContext can only be used in a child of BottomBarContext");return t}const j="el-bottom-bar-item",h=l.styled_default("span")({name:"ElBottomBarItemIcon",class:"el-bottom-bar-item-icon",propsAsIs:!1}),C=l.styled_default("span")({name:"ElBottomBarItemLabel",class:"el-bottom-bar-item-label",propsAsIs:!1}),y=l.styled_default("span")({name:"ElBottomBarItemBadge",class:"el-bottom-bar-item-badge",propsAsIs:!1});function b({as:t,children:o,className:s,icon:r,hasBadge:a,...c}){return e.jsxs(t,{...c,className:P.cx_default(j,s),children:[e.jsxs(h,{"aria-hidden":"true",children:[a&&e.jsx(y,{}),r]}),e.jsx(C,{children:o})]})}function A(t){return e.jsx(b,{...t,as:"a"})}function x(t){return e.jsx(b,{as:"button",...t})}const T=l.styled_default("menu")({name:"ElBottomBarMenuList",class:"el-bottom-bar-menu-list",propsAsIs:!1}),E=l.styled_default("li")({name:"ElBottomBarMenuListItem",class:"el-bottom-bar-menu-list-item",propsAsIs:!1});function _({children:t,...o}){return e.jsx(E,{children:e.jsx(A,{...o,children:t})})}_.displayName="BottomBar.Item";function N({children:t,hasBadge:o,icon:s=e.jsx(w.MoreIcon,{}),id:r,label:a="More",maxHeight:c,maxWidth:i,...f}){const d=n.useId(),u=r??n.useId(),I=n.useRef(null),{state:M}=L();return n.useEffect(function(){const g=I.current?.lastElementChild;M==="retracted"&&g instanceof HTMLElement&&g.hidePopover()},[M]),e.jsxs(E,{ref:I,children:[e.jsx(x,{...f,...v.Menu.getTriggerProps({id:u,popoverTarget:d,popoverTargetAction:"toggle"}),hasBadge:o,icon:s,children:a}),e.jsx(v.Menu,{"aria-labelledby":u,id:d,maxHeight:c,maxWidth:i,placement:"top-end",children:t})]})}N.displayName="BottomBar.MenuItem";function m({children:t,...o}){return e.jsx(T,{...o,children:t})}m.displayName="BottomBar.MenuList";m.Item=_;m.MenuItem=N;const R=l.styled_default("div")({name:"ElBottomBarContainer",class:"el-bottom-bar-container",propsAsIs:!1}),q=l.styled_default("nav")({name:"ElBottomBarNav",class:"el-bottom-bar-nav",propsAsIs:!1}),S=t=>{const[o,s]=n.useState("extended"),r=n.useRef(0);return n.useEffect(function(){if(!t)return;const c=document.getElementById(t);if(!c)return;const i=new AbortController;function f(d){const u=d.currentTarget;if(u instanceof HTMLElement){const I=u.scrollTop-r.current;s(I<0?"extended":"retracted"),r.current=u.scrollTop}}return c.addEventListener("scroll",f,{signal:i.signal}),()=>{i.abort()}},[t]),o};function B({"aria-label":t="Bottom navigation",children:o,scrollContainerId:s,...r}){const a=S(s);return e.jsx(R,{children:e.jsx(q,{...r,"aria-label":t,"data-state":a,children:e.jsx(p.Provider,{value:{state:a},children:o})})})}B.Item=m.Item;B.ItemButton=x;B.MenuItem=m.MenuItem;B.MenuList=m;B.Context=p;B.useContext=L;exports.BottomBar=B;exports.BottomBarItemAnchor=A;exports.BottomBarItemBase=b;exports.BottomBarItemButton=x;exports.BottomBarMenuList=m;exports.ElBottomBarContainer=R;exports.ElBottomBarItemBadge=y;exports.ElBottomBarItemIcon=h;exports.ElBottomBarItemLabel=C;exports.ElBottomBarMenuList=T;exports.ElBottomBarMenuListItem=E;exports.ElBottomBarNav=q;exports.elBottomBarItem=j;exports.useBottomBarObserver=S;
|
|
@@ -3,7 +3,7 @@ import { useState as p } from "react";
|
|
|
3
3
|
import { s as i } from "./index-YtxCR-9e.js";
|
|
4
4
|
import { D as u } from "./icon-component-BjtO14Ws.js";
|
|
5
5
|
import { e as f } from "./deprecated-spacing-CGGxnk0m.js";
|
|
6
|
-
import { F as b } from "./layout-
|
|
6
|
+
import { F as b } from "./layout-9vWoOGXZ.js";
|
|
7
7
|
import { h } from "./handle-keyboard-event-DUi59qMJ.js";
|
|
8
8
|
const D = /* @__PURE__ */ i("a")({
|
|
9
9
|
name: "ElDeprecatedBreadCrumbItem",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),p=require("react"),u=require("./index-Dmlb2--K.cjs"),b=require("./icon-component-BI1VsBsU.cjs"),C=require("./deprecated-spacing-7wANCtsp.cjs"),D=require("./layout-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),p=require("react"),u=require("./index-Dmlb2--K.cjs"),b=require("./icon-component-BI1VsBsU.cjs"),C=require("./deprecated-spacing-7wANCtsp.cjs"),D=require("./layout-CY1dJq9m.cjs"),h=require("./handle-keyboard-event-BR3CNLf8.cjs"),i=u.styled_default("a")({name:"ElDeprecatedBreadCrumbItem",class:"el-deprecated-bread-crumb-item",propsAsIs:!1}),m=u.styled_default("div")({name:"ElDeprecatedBreadCrumbContainer",class:"el-deprecated-bread-crumb-container",propsAsIs:!1}),s=(a,n,c)=>r=>{r?.preventDefault(),a(c),n()},B=({items:a,defaultActiveIndex:n=0,...c})=>{const[r,d]=p.useState(n);return t.jsx(m,{...c,children:a.map(({onClick:l,text:o},e)=>e>r?null:t.jsxs(D.FlexContainer,{isFlexAlignCenter:!0,children:[!!e&&t.jsx(b.DeprecatedIcon,{className:C.elMr2,icon:"chevronRight",intent:"default",fontSize:"12px"}),t.jsx(i,{"aria-current":r===e?"page":"false",role:"button","aria-label":`Breadcrumb item hit return to navigate to ${o}`,tabIndex:0,onClick:s(d,l,e),onKeyDown:h.handleKeyboardEvent("Enter",s(d,l,e)),children:o})]},e))})};exports.DeprecatedBreadCrumb=B;exports.ElDeprecatedBreadCrumbContainer=m;exports.ElDeprecatedBreadCrumbItem=i;exports.handleNext=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),C=require("./checkbox-input-CfIO6wmC.cjs"),t=require("./index-Dmlb2--K.cjs"),e=require("react"),d=t.styled_default("label")({name:"ElCheckbox",class:"el-checkbox",propsAsIs:!1}),r=t.styled_default("span")({name:"ElCheckboxLabelText",class:"el-checkbox-label-text",propsAsIs:!1}),i=t.styled_default("span")({name:"ElCheckboxSupplementaryInfo",class:"el-checkbox-supplementary-info",propsAsIs:!1}),E=e.forwardRef(({"aria-describedby":x,className:u,id:h,isIndeterminate:l=!1,label:p,required:f,supplementaryInfo:n,...k},I)=>{const o=e.useId(),c=h??e.useId(),a=e.useId();return e.useEffect(function(){const b=document.getElementById(c);b instanceof HTMLInputElement&&(b.indeterminate=l)},[c,l]),s.jsxs(d,{className:u,children:[s.jsx(C.CheckboxInput,{...k,"aria-describedby":x??o,"aria-labelledby":a,id:c,ref:I,required:f}),s.jsx(r,{id:a,children:p}),n&&s.jsx(i,{id:o,children:n})]})});exports.Checkbox=E;exports.ElCheckbox=d;exports.ElCheckboxLabelText=r;exports.ElCheckboxSupplementaryInfo=i;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsxs as h, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { C as I } from "./checkbox-input-DaFZl6to.js";
|
|
3
|
+
import { s as c } from "./index-YtxCR-9e.js";
|
|
4
|
+
import { forwardRef as k, useId as o, useEffect as u } from "react";
|
|
5
|
+
const C = /* @__PURE__ */ c("label")({
|
|
6
|
+
name: "ElCheckbox",
|
|
7
|
+
class: "el-checkbox",
|
|
8
|
+
propsAsIs: !1
|
|
9
|
+
}), E = /* @__PURE__ */ c("span")({
|
|
10
|
+
name: "ElCheckboxLabelText",
|
|
11
|
+
class: "el-checkbox-label-text",
|
|
12
|
+
propsAsIs: !1
|
|
13
|
+
}), y = /* @__PURE__ */ c("span")({
|
|
14
|
+
name: "ElCheckboxSupplementaryInfo",
|
|
15
|
+
class: "el-checkbox-supplementary-info",
|
|
16
|
+
propsAsIs: !1
|
|
17
|
+
}), g = k(
|
|
18
|
+
({
|
|
19
|
+
"aria-describedby": b,
|
|
20
|
+
className: i,
|
|
21
|
+
id: d,
|
|
22
|
+
isIndeterminate: a = !1,
|
|
23
|
+
label: p,
|
|
24
|
+
required: f,
|
|
25
|
+
supplementaryInfo: t,
|
|
26
|
+
...x
|
|
27
|
+
}, m) => {
|
|
28
|
+
const l = o(), e = d ?? o(), n = o();
|
|
29
|
+
return u(
|
|
30
|
+
function() {
|
|
31
|
+
const r = document.getElementById(e);
|
|
32
|
+
r instanceof HTMLInputElement && (r.indeterminate = a);
|
|
33
|
+
},
|
|
34
|
+
[e, a]
|
|
35
|
+
), /* @__PURE__ */ h(C, { className: i, children: [
|
|
36
|
+
/* @__PURE__ */ s(
|
|
37
|
+
I,
|
|
38
|
+
{
|
|
39
|
+
...x,
|
|
40
|
+
"aria-describedby": b ?? l,
|
|
41
|
+
"aria-labelledby": n,
|
|
42
|
+
id: e,
|
|
43
|
+
ref: m,
|
|
44
|
+
required: f
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ s(E, { id: n, children: p }),
|
|
48
|
+
t && /* @__PURE__ */ s(y, { id: l, children: t })
|
|
49
|
+
] });
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
export {
|
|
53
|
+
g as C,
|
|
54
|
+
C as E,
|
|
55
|
+
E as a,
|
|
56
|
+
y as b
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),t=require("./checkbox-BX2PWh1h.cjs"),i=require("./form-control-Be_ITYmU.cjs"),d=require("./label-text-CtdGurHG.cjs"),l=require("react");function u({errorText:o,label:s,required:c,...n}){const r=l.useId();return e.jsxs(i.FormControl,{as:"div",size:"medium",children:[e.jsx(t.Checkbox,{...n,"aria-describedby":o?r:void 0,label:e.jsx(d.LabelText,{isRequired:c,children:s})}),o&&e.jsx(i.FormControl.ErrorText,{id:r,children:o})]})}exports.CheckboxControl=u;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as t, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { C as a } from "./checkbox-CCFCh92B.js";
|
|
3
|
+
import { a as e } from "./form-control-Cv1xUB2V.js";
|
|
4
|
+
import { L as n } from "./label-text-DfFJj8qi.js";
|
|
5
|
+
import { useId as c } from "react";
|
|
6
|
+
function h({ errorText: o, label: s, required: d, ...m }) {
|
|
7
|
+
const r = c();
|
|
8
|
+
return /* @__PURE__ */ t(e, { as: "div", size: "medium", children: [
|
|
9
|
+
/* @__PURE__ */ i(
|
|
10
|
+
a,
|
|
11
|
+
{
|
|
12
|
+
...m,
|
|
13
|
+
"aria-describedby": o ? r : void 0,
|
|
14
|
+
label: /* @__PURE__ */ i(n, { isRequired: d, children: s })
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
o && /* @__PURE__ */ i(e.ErrorText, { id: r, children: o })
|
|
18
|
+
] });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
h as C
|
|
22
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as r, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { C as k } from "./checkbox-CCFCh92B.js";
|
|
3
|
+
import { createContext as G, useContext as w, forwardRef as y, useId as E } from "react";
|
|
4
|
+
import { s as v } from "./index-YtxCR-9e.js";
|
|
5
|
+
import { a as i } from "./form-control-Cv1xUB2V.js";
|
|
6
|
+
const u = G(null);
|
|
7
|
+
function x() {
|
|
8
|
+
const e = w(u);
|
|
9
|
+
if (!e)
|
|
10
|
+
throw new Error("useCheckboxGroupControlContext must be used within a CheckboxGroupControl");
|
|
11
|
+
return e;
|
|
12
|
+
}
|
|
13
|
+
const m = y(
|
|
14
|
+
({ disabled: e, form: a, name: t, required: c, showValidity: n, ...s }, d) => {
|
|
15
|
+
const o = x();
|
|
16
|
+
return /* @__PURE__ */ r(
|
|
17
|
+
k,
|
|
18
|
+
{
|
|
19
|
+
...s,
|
|
20
|
+
disabled: e ?? o.disabled,
|
|
21
|
+
form: a ?? o.form,
|
|
22
|
+
name: t ?? o.name,
|
|
23
|
+
ref: d,
|
|
24
|
+
required: c ?? o.required,
|
|
25
|
+
showValidity: n ?? o.showValidity
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
m.displayName = "CheckboxGroupControl.Option";
|
|
31
|
+
const I = /* @__PURE__ */ v("div")({
|
|
32
|
+
name: "ElCheckboxGroup",
|
|
33
|
+
class: "el-checkbox-group",
|
|
34
|
+
propsAsIs: !1
|
|
35
|
+
});
|
|
36
|
+
function C({
|
|
37
|
+
children: e,
|
|
38
|
+
disabled: a,
|
|
39
|
+
errorText: t,
|
|
40
|
+
form: c,
|
|
41
|
+
helpText: n,
|
|
42
|
+
label: s,
|
|
43
|
+
name: d,
|
|
44
|
+
orientation: o = "vertical",
|
|
45
|
+
required: p,
|
|
46
|
+
showValidity: h,
|
|
47
|
+
...b
|
|
48
|
+
}) {
|
|
49
|
+
const l = E();
|
|
50
|
+
return (
|
|
51
|
+
// NOTE: we do not use the fieldset's native disabled, form or name attributes, because we want
|
|
52
|
+
// individual checkboxes to be able to override them.
|
|
53
|
+
/* @__PURE__ */ f(i, { ...b, "aria-describedby": l, as: "fieldset", size: "medium", children: [
|
|
54
|
+
s && /* @__PURE__ */ r(i.Label, { as: "legend", isRequired: p, children: s }),
|
|
55
|
+
/* @__PURE__ */ r(I, { "data-orientation": o, children: /* @__PURE__ */ r(u.Provider, { value: { disabled: a, form: c, name: d, required: p, showValidity: h }, children: e }) }),
|
|
56
|
+
t ? /* @__PURE__ */ r(i.ErrorText, { id: l, children: t }) : n && /* @__PURE__ */ r(i.HelpText, { id: l, children: n })
|
|
57
|
+
] })
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
C.Option = m;
|
|
61
|
+
C.Context = u;
|
|
62
|
+
C.useContext = x;
|
|
63
|
+
export {
|
|
64
|
+
C,
|
|
65
|
+
I as E,
|
|
66
|
+
m as a,
|
|
67
|
+
u as b,
|
|
68
|
+
x as u
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),f=require("./checkbox-BX2PWh1h.cjs"),i=require("react"),j=require("./index-Dmlb2--K.cjs"),c=require("./form-control-Be_ITYmU.cjs"),u=i.createContext(null);function h(){const r=i.useContext(u);if(!r)throw new Error("useCheckboxGroupControlContext must be used within a CheckboxGroupControl");return r}const p=i.forwardRef(({disabled:r,form:l,name:t,required:x,showValidity:n,...s},d)=>{const o=h();return e.jsx(f.Checkbox,{...s,disabled:r??o.disabled,form:l??o.form,name:t??o.name,ref:d,required:x??o.required,showValidity:n??o.showValidity})});p.displayName="CheckboxGroupControl.Option";const k=j.styled_default("div")({name:"ElCheckboxGroup",class:"el-checkbox-group",propsAsIs:!1});function C({children:r,disabled:l,errorText:t,form:x,helpText:n,label:s,name:d,orientation:o="vertical",required:b,showValidity:m,...G}){const a=i.useId();return e.jsxs(c.FormControl,{...G,"aria-describedby":a,as:"fieldset",size:"medium",children:[s&&e.jsx(c.FormControl.Label,{as:"legend",isRequired:b,children:s}),e.jsx(k,{"data-orientation":o,children:e.jsx(u.Provider,{value:{disabled:l,form:x,name:d,required:b,showValidity:m},children:r})}),t?e.jsx(c.FormControl.ErrorText,{id:a,children:t}):n&&e.jsx(c.FormControl.HelpText,{id:a,children:n})]})}C.Option=p;C.Context=u;C.useContext=h;exports.CheckboxGroupControl=C;exports.CheckboxGroupControlContext=u;exports.CheckboxGroupControlOption=p;exports.ElCheckboxGroup=k;exports.useCheckboxGroupControlContext=h;
|