@reapit/elements 5.0.0-beta.39 → 5.0.0-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/app-switcher-BKUSwllv.cjs +1 -0
- package/dist/js/app-switcher-CmGQUl52.js +194 -0
- package/dist/js/badge-Zk1mHCLJ.js +45 -0
- package/dist/js/badge-oq_d8wNF.cjs +1 -0
- package/dist/js/bottom-bar-B-ADK41z.js +157 -0
- package/dist/js/bottom-bar-B5NCnGXA.cjs +1 -0
- package/dist/js/{checkbox-CS-7yT6x.js → checkbox-BFYth-66.js} +29 -33
- package/dist/js/checkbox-C3Yq8lEo.cjs +1 -0
- package/dist/js/constants-0FiUx6o2.js +6 -0
- package/dist/js/constants-C8dYB608.cjs +1 -0
- package/dist/js/core/app-switcher.cjs +1 -1
- package/dist/js/core/app-switcher.js +9 -10
- 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 +7 -8
- package/dist/js/core/checkbox.cjs +1 -1
- package/dist/js/core/checkbox.js +1 -1
- package/dist/js/core/drawer.cjs +1 -1
- package/dist/js/core/drawer.js +1 -1
- package/dist/js/core/features.cjs +1 -1
- package/dist/js/core/features.js +1 -1
- package/dist/js/core/menu.cjs +1 -1
- package/dist/js/core/menu.js +18 -23
- 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 +52 -51
- package/dist/js/core/table.cjs +1 -1
- package/dist/js/core/table.js +1 -1
- package/dist/js/core/textarea.cjs +1 -1
- package/dist/js/core/textarea.js +1 -1
- package/dist/js/core/tooltip.cjs +1 -1
- package/dist/js/core/tooltip.js +6 -5
- package/dist/js/core/top-bar.cjs +1 -1
- package/dist/js/core/top-bar.js +33 -33
- package/dist/js/css-anchor-positioning-fn-BF5l2GbQ.cjs +17 -0
- package/dist/js/css-anchor-positioning-fn-CJi6lnM4.js +6352 -0
- package/dist/js/deprecated/menu.cjs +1 -0
- package/dist/js/deprecated/menu.js +25 -0
- package/dist/js/features-CsGbEb2I.js +66 -0
- package/dist/js/features-DvTUfOTg.cjs +1 -0
- package/dist/js/icons/more-vert.cjs +1 -0
- package/dist/js/icons/{elipsis.js → more-vert.js} +3 -3
- package/dist/js/index.cjs +1 -1
- package/dist/js/index.js +1174 -1146
- package/dist/js/match-media-BEA-ogMA.cjs +1 -0
- package/dist/js/match-media-DGLjaFrm.js +24 -0
- package/dist/js/menu-C9dHilkn.cjs +1 -0
- package/dist/js/menu-DNfb22IS.cjs +1 -0
- package/dist/js/menu-RBD640_2.js +242 -0
- package/dist/js/menu-pb8vvQbH.js +183 -0
- package/dist/js/mergeRefs-D-i3MDCB.cjs +1 -0
- package/dist/js/mergeRefs-DODigRi2.js +11 -0
- package/dist/js/popover-CpXCYh5W.js +184 -0
- package/dist/js/popover-DBEXxy0O.cjs +59 -0
- package/dist/js/side-bar-CxrXcOgT.js +383 -0
- package/dist/js/side-bar-cfmgEQoA.cjs +1 -0
- package/dist/js/style.css +1 -1
- package/dist/js/{table-toolbar-oTwWnSVI.js → table-toolbar-CWzuWN-q.js} +1 -1
- package/dist/js/{table-toolbar-aAusD1Vl.cjs → table-toolbar-DBaOi2aA.cjs} +1 -1
- package/dist/js/{textarea-CL9nrQLm.js → textarea-NDJOP1HV.js} +55 -62
- package/dist/js/textarea-iG_R15G9.cjs +1 -0
- package/dist/js/tooltip-BszFuzzR.cjs +1 -0
- package/dist/js/tooltip-Dn4EQFOW.js +76 -0
- package/dist/js/{top-bar-DWuhMND0.js → top-bar-Bz3hZdH6.js} +200 -174
- package/dist/js/top-bar-CFU64d1b.cjs +1 -0
- package/dist/js/utils/keyboard-navigation.cjs +1 -0
- package/dist/js/utils/keyboard-navigation.js +37 -0
- package/dist/js/utils/match-media.cjs +1 -1
- package/dist/js/utils/match-media.js +3 -22
- package/dist/js/utils/popover.cjs +1 -0
- package/dist/js/utils/popover.js +6 -0
- package/dist/types/core/app-switcher/app-avatar/app-avatar.d.ts.map +1 -1
- package/dist/types/core/app-switcher/app-switcher.d.ts +1 -1
- package/dist/types/core/app-switcher/app-switcher.d.ts.map +1 -1
- package/dist/types/core/app-switcher/app-switcher.stories.d.ts.map +1 -1
- package/dist/types/core/app-switcher/index.d.ts +0 -1
- package/dist/types/core/app-switcher/index.d.ts.map +1 -1
- package/dist/types/core/app-switcher/nav-icon-button/nav-icon-button.d.ts +1 -1
- package/dist/types/core/app-switcher/nav-icon-button/nav-icon-button.d.ts.map +1 -1
- package/dist/types/core/badge/badge.d.ts +3 -3
- package/dist/types/core/badge/badge.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/bottom-bar.d.ts +0 -3
- package/dist/types/core/bottom-bar/bottom-bar.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/context.d.ts +23 -0
- package/dist/types/core/bottom-bar/context.d.ts.map +1 -0
- package/dist/types/core/bottom-bar/item/item-button.d.ts +1 -1
- package/dist/types/core/bottom-bar/item/item-button.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/item/item-button.stories.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/menu-list/menu-list-menu-item.d.ts +1 -1
- package/dist/types/core/bottom-bar/menu-list/menu-list-menu-item.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/menu-list/menu-list.stories.d.ts.map +1 -1
- package/dist/types/core/bottom-bar/menu-list/styles.d.ts +0 -11
- package/dist/types/core/bottom-bar/menu-list/styles.d.ts.map +1 -1
- package/dist/types/core/checkbox/checkbox.d.ts +1 -1
- package/dist/types/core/checkbox/checkbox.d.ts.map +1 -1
- package/dist/types/core/checkbox/checkbox.stories.d.ts +1 -1
- package/dist/types/core/chip/chip.stories.d.ts.map +1 -1
- package/dist/types/core/dialog/body/styles.d.ts.map +1 -1
- package/dist/types/core/drawer/constants.d.ts +1 -1
- package/dist/types/core/drawer/constants.d.ts.map +1 -1
- package/dist/types/core/features/item/item.d.ts +1 -1
- package/dist/types/core/features/item/item.d.ts.map +1 -1
- package/dist/types/core/label-text/styles.d.ts.map +1 -1
- package/dist/types/core/menu/__tests__/use-close-menu-on-click.test.d.ts +2 -0
- package/dist/types/core/menu/__tests__/use-close-menu-on-click.test.d.ts.map +1 -0
- package/dist/types/core/menu/__tests__/use-keyboard-navigation.test.d.ts +2 -0
- package/dist/types/core/menu/__tests__/use-keyboard-navigation.test.d.ts.map +1 -0
- package/dist/types/core/menu/divider/__tests__/divider.test.d.ts +2 -0
- package/dist/types/core/menu/divider/__tests__/divider.test.d.ts.map +1 -0
- package/dist/types/core/menu/divider/divider.d.ts +10 -0
- package/dist/types/core/menu/divider/divider.d.ts.map +1 -0
- package/dist/types/core/menu/divider/divider.stories.d.ts +10 -0
- package/dist/types/core/menu/divider/divider.stories.d.ts.map +1 -0
- package/dist/types/core/menu/divider/index.d.ts +3 -0
- package/dist/types/core/menu/divider/index.d.ts.map +1 -0
- package/dist/types/core/menu/divider/styles.d.ts +2 -0
- package/dist/types/core/menu/divider/styles.d.ts.map +1 -0
- package/dist/types/core/menu/group/__tests__/group.test.d.ts +2 -0
- package/dist/types/core/menu/group/__tests__/group.test.d.ts.map +1 -0
- package/dist/types/core/menu/group/group.d.ts +19 -0
- package/dist/types/core/menu/group/group.d.ts.map +1 -0
- package/dist/types/core/menu/group/group.stories.d.ts +40 -0
- package/dist/types/core/menu/group/group.stories.d.ts.map +1 -0
- package/dist/types/core/menu/group/index.d.ts +3 -0
- package/dist/types/core/menu/group/index.d.ts.map +1 -0
- package/dist/types/core/menu/group/styles.d.ts +3 -0
- package/dist/types/core/menu/group/styles.d.ts.map +1 -0
- package/dist/types/core/menu/index.d.ts +3 -3
- package/dist/types/core/menu/index.d.ts.map +1 -1
- package/dist/types/core/menu/item/__tests__/anchor-item.test.d.ts +2 -0
- package/dist/types/core/menu/item/__tests__/anchor-item.test.d.ts.map +1 -0
- package/dist/types/core/menu/item/__tests__/item-base.test.d.ts +2 -0
- package/dist/types/core/menu/item/__tests__/item-base.test.d.ts.map +1 -0
- package/dist/types/core/menu/item/__tests__/item.test.d.ts +2 -0
- package/dist/types/core/menu/item/__tests__/item.test.d.ts.map +1 -0
- package/dist/types/core/menu/item/anchor-item.d.ts +16 -0
- package/dist/types/core/menu/item/anchor-item.d.ts.map +1 -0
- package/dist/types/core/menu/item/index.d.ts +5 -0
- package/dist/types/core/menu/item/index.d.ts.map +1 -0
- package/dist/types/core/menu/item/item-base.d.ts +37 -0
- package/dist/types/core/menu/item/item-base.d.ts.map +1 -0
- package/dist/types/core/menu/item/item.d.ts +19 -0
- package/dist/types/core/menu/item/item.d.ts.map +1 -0
- package/dist/types/core/menu/item/item.stories.d.ts +93 -0
- package/dist/types/core/menu/item/item.stories.d.ts.map +1 -0
- package/dist/types/core/menu/item/styles.d.ts +8 -0
- package/dist/types/core/menu/item/styles.d.ts.map +1 -0
- package/dist/types/core/menu/menu.d.ts +33 -15
- package/dist/types/core/menu/menu.d.ts.map +1 -1
- package/dist/types/core/menu/menu.stories.d.ts +70 -9
- package/dist/types/core/menu/menu.stories.d.ts.map +1 -1
- package/dist/types/core/menu/styles.d.ts +1 -14
- package/dist/types/core/menu/styles.d.ts.map +1 -1
- package/dist/types/core/menu/use-close-menu-on-click.d.ts +10 -0
- package/dist/types/core/menu/use-close-menu-on-click.d.ts.map +1 -0
- package/dist/types/core/menu/use-keyboard-navigation.d.ts +7 -0
- package/dist/types/core/menu/use-keyboard-navigation.d.ts.map +1 -0
- package/dist/types/core/pagination/styles.d.ts.map +1 -1
- package/dist/types/core/side-bar/menu-group/styles.d.ts.map +1 -1
- package/dist/types/core/side-bar/menu-item/styles.d.ts.map +1 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/handle-arrow-navigation.test.d.ts +2 -0
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/handle-arrow-navigation.test.d.ts.map +1 -0
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/handle-close-menu-group.test.d.ts +2 -0
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/handle-close-menu-group.test.d.ts.map +1 -0
- package/dist/types/core/side-bar/use-keyboard-navigation/{navigate-items-on-arrow-key-down-handler.d.ts → handle-arrow-navigation.d.ts} +2 -2
- package/dist/types/core/side-bar/use-keyboard-navigation/handle-arrow-navigation.d.ts.map +1 -0
- package/dist/types/core/side-bar/use-keyboard-navigation/{close-menu-group-on-escape-key-down-handler.d.ts → handle-close-menu-group.d.ts} +2 -2
- package/dist/types/core/side-bar/use-keyboard-navigation/handle-close-menu-group.d.ts.map +1 -0
- package/dist/types/core/split-button/menu-button/menu-button.d.ts +1 -3
- package/dist/types/core/split-button/menu-button/menu-button.d.ts.map +1 -1
- package/dist/types/core/split-button/menu-button/menu-button.stories.d.ts +1 -1
- package/dist/types/core/split-button/menu-button/styles.d.ts.map +1 -1
- package/dist/types/core/split-button/split-button-menu.d.ts +2 -2
- package/dist/types/core/split-button/split-button-menu.d.ts.map +1 -1
- package/dist/types/core/split-button/split-button.stories.d.ts +0 -272
- package/dist/types/core/split-button/split-button.stories.d.ts.map +1 -1
- package/dist/types/core/table/table-container/styles.d.ts.map +1 -1
- package/dist/types/core/table/table-toolbar/styles.d.ts.map +1 -1
- package/dist/types/core/textarea/styles.d.ts.map +1 -1
- package/dist/types/core/tooltip/__tests__/get-tooltip-trigger-props.test.d.ts +2 -0
- package/dist/types/core/tooltip/__tests__/get-tooltip-trigger-props.test.d.ts.map +1 -0
- package/dist/types/core/tooltip/__tests__/is-tooltip-needed.test.d.ts +2 -0
- package/dist/types/core/tooltip/__tests__/is-tooltip-needed.test.d.ts.map +1 -0
- package/dist/types/core/tooltip/__tests__/use-tooltip-controller.test.d.ts +2 -0
- package/dist/types/core/tooltip/__tests__/use-tooltip-controller.test.d.ts.map +1 -0
- package/dist/types/core/tooltip/get-tooltip-trigger-props.d.ts +28 -0
- package/dist/types/core/tooltip/get-tooltip-trigger-props.d.ts.map +1 -0
- package/dist/types/core/tooltip/index.d.ts +3 -1
- package/dist/types/core/tooltip/index.d.ts.map +1 -1
- package/dist/types/core/tooltip/is-tooltip-needed.d.ts +8 -0
- package/dist/types/core/tooltip/is-tooltip-needed.d.ts.map +1 -0
- package/dist/types/core/tooltip/styles.d.ts +1 -2
- package/dist/types/core/tooltip/styles.d.ts.map +1 -1
- package/dist/types/core/tooltip/tooltip.d.ts +36 -9
- package/dist/types/core/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/core/tooltip/tooltip.stories.d.ts +35 -123
- package/dist/types/core/tooltip/tooltip.stories.d.ts.map +1 -1
- package/dist/types/core/tooltip/use-tooltip-controller.d.ts +21 -0
- package/dist/types/core/tooltip/use-tooltip-controller.d.ts.map +1 -0
- package/dist/types/core/top-bar/main-nav/main-nav-menu-list-item.d.ts +1 -1
- package/dist/types/core/top-bar/main-nav/main-nav-menu-list-item.d.ts.map +1 -1
- package/dist/types/core/top-bar/main-nav/main-nav.stories.d.ts.map +1 -1
- package/dist/types/core/top-bar/main-nav/styles.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-dropdown-button/nav-dropdown-button.d.ts +1 -5
- package/dist/types/core/top-bar/nav-dropdown-button/nav-dropdown-button.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-dropdown-button/nav-dropdown-button.stories.d.ts +0 -6
- package/dist/types/core/top-bar/nav-dropdown-button/nav-dropdown-button.stories.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-dropdown-button/styles.d.ts +1 -1
- package/dist/types/core/top-bar/nav-dropdown-button/styles.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-icon-item/__tests__/nav-icon-item-base.test.d.ts +2 -0
- package/dist/types/core/top-bar/nav-icon-item/__tests__/nav-icon-item-base.test.d.ts.map +1 -0
- package/dist/types/core/top-bar/nav-icon-item/index.d.ts +1 -1
- package/dist/types/core/top-bar/nav-icon-item/index.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item-base.d.ts +4 -4
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item-base.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item-button.d.ts +2 -2
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item-button.d.ts.map +1 -1
- package/dist/types/core/top-bar/nav-icon-item/{nav-icon-item-anchor.d.ts → nav-icon-item.d.ts} +3 -3
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item.d.ts.map +1 -0
- package/dist/types/core/top-bar/nav-icon-item/{nav-icon-item-anchor.stories.d.ts → nav-icon-item.stories.d.ts} +3 -3
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item.stories.d.ts.map +1 -0
- package/dist/types/core/top-bar/secondary-nav/secondary-nav-list-item.d.ts +3 -3
- package/dist/types/core/top-bar/secondary-nav/secondary-nav-list-item.d.ts.map +1 -1
- package/dist/types/core/top-bar/secondary-nav/secondary-nav-menu-list-item.d.ts +1 -1
- package/dist/types/core/top-bar/secondary-nav/secondary-nav-menu-list-item.d.ts.map +1 -1
- package/dist/types/core/top-bar/secondary-nav/styles.d.ts.map +1 -1
- package/dist/types/deprecated/avatar/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/button/styles.d.ts.map +1 -1
- package/dist/types/deprecated/card/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/form-layout/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/input/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/layout/styles.d.ts.map +1 -1
- package/dist/types/deprecated/menu/__tests__/menu-context.test.d.ts.map +1 -0
- package/dist/types/deprecated/menu/__tests__/menu-popover.test.d.ts.map +1 -0
- package/dist/types/deprecated/menu/__tests__/menu.atoms.tests.d.ts.map +1 -0
- package/dist/types/deprecated/menu/__tests__/menu.molecules.test.d.ts.map +1 -0
- package/dist/types/deprecated/menu/__tests__/menu.test.d.ts +2 -0
- package/dist/types/deprecated/menu/__tests__/menu.test.d.ts.map +1 -0
- package/dist/types/deprecated/menu/__tests__/use-menu.test.d.ts.map +1 -0
- package/dist/types/deprecated/menu/index.d.ts +6 -0
- package/dist/types/deprecated/menu/index.d.ts.map +1 -0
- package/dist/types/deprecated/menu/menu-context.d.ts +14 -0
- package/dist/types/deprecated/menu/menu-context.d.ts.map +1 -0
- package/dist/types/{core → deprecated}/menu/menu-popover.d.ts +4 -2
- package/dist/types/deprecated/menu/menu-popover.d.ts.map +1 -0
- package/dist/types/{core → deprecated}/menu/menu.atoms.d.ts +17 -8
- package/dist/types/deprecated/menu/menu.atoms.d.ts.map +1 -0
- package/dist/types/deprecated/menu/menu.d.ts +18 -0
- package/dist/types/deprecated/menu/menu.d.ts.map +1 -0
- package/dist/types/deprecated/menu/menu.molecules.d.ts +13 -0
- package/dist/types/deprecated/menu/menu.molecules.d.ts.map +1 -0
- package/dist/types/deprecated/menu/menu.stories.d.ts +11 -0
- package/dist/types/deprecated/menu/menu.stories.d.ts.map +1 -0
- package/dist/types/deprecated/menu/styles.d.ts +29 -0
- package/dist/types/deprecated/menu/styles.d.ts.map +1 -0
- package/dist/types/{core → deprecated}/menu/use-menu.d.ts +4 -2
- package/dist/types/deprecated/menu/use-menu.d.ts.map +1 -0
- package/dist/types/deprecated/multi-select/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/nav/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/page-header/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/persistent-notification/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/split-button/split-button.stories.d.ts.map +1 -1
- package/dist/types/deprecated/split-button/styles.d.ts.map +1 -1
- package/dist/types/deprecated/status-indicator/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/table/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/tabs/styles.d.ts.map +1 -1
- package/dist/types/deprecated/tile/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/toggle/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/typography/__styles__/index.d.ts.map +1 -1
- package/dist/types/icons/index.d.ts +1 -1
- package/dist/types/icons/index.d.ts.map +1 -1
- package/dist/types/icons/{elipsis.d.ts → more-vert.d.ts} +2 -2
- package/dist/types/icons/more-vert.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/polyfills/css-anchor-positioning/__tests__/is-css-anchor-positioning-supported.test.d.ts +2 -0
- package/dist/types/polyfills/css-anchor-positioning/__tests__/is-css-anchor-positioning-supported.test.d.ts.map +1 -0
- package/dist/types/polyfills/css-anchor-positioning/__tests__/polyfill.test.d.ts +2 -0
- package/dist/types/polyfills/css-anchor-positioning/__tests__/polyfill.test.d.ts.map +1 -0
- package/dist/types/polyfills/css-anchor-positioning/index.d.ts +3 -0
- package/dist/types/polyfills/css-anchor-positioning/index.d.ts.map +1 -0
- package/dist/types/polyfills/css-anchor-positioning/is-css-anchor-positioning-supported.d.ts +6 -0
- package/dist/types/polyfills/css-anchor-positioning/is-css-anchor-positioning-supported.d.ts.map +1 -0
- package/dist/types/polyfills/css-anchor-positioning/polyfill.d.ts +31 -0
- package/dist/types/polyfills/css-anchor-positioning/polyfill.d.ts.map +1 -0
- package/dist/types/styles/deprecated-intent.d.ts.map +1 -1
- package/dist/types/styles/deprecated-states.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/keyboard-navigation/__tests__/handle-arrow-navigation.test.d.ts +2 -0
- package/dist/types/utils/keyboard-navigation/__tests__/handle-arrow-navigation.test.d.ts.map +1 -0
- package/dist/types/utils/keyboard-navigation/__tests__/handle-link-activation.test.d.ts +2 -0
- package/dist/types/utils/keyboard-navigation/__tests__/handle-link-activation.test.d.ts.map +1 -0
- package/dist/types/utils/keyboard-navigation/handle-arrow-navigation.d.ts +19 -0
- package/dist/types/utils/keyboard-navigation/handle-arrow-navigation.d.ts.map +1 -0
- package/dist/types/utils/keyboard-navigation/handle-link-activation.d.ts +8 -0
- package/dist/types/utils/keyboard-navigation/handle-link-activation.d.ts.map +1 -0
- package/dist/types/utils/keyboard-navigation/index.d.ts +3 -0
- package/dist/types/utils/keyboard-navigation/index.d.ts.map +1 -0
- package/dist/types/utils/popover/__tests__/build-anchor-positioning-css.test.d.ts +2 -0
- package/dist/types/utils/popover/__tests__/build-anchor-positioning-css.test.d.ts.map +1 -0
- package/dist/types/utils/popover/__tests__/get-popover-trigger-props.test.d.ts +2 -0
- package/dist/types/utils/popover/__tests__/get-popover-trigger-props.test.d.ts.map +1 -0
- package/dist/types/utils/popover/__tests__/map-placement-to-css.test.d.ts +2 -0
- package/dist/types/utils/popover/__tests__/map-placement-to-css.test.d.ts.map +1 -0
- package/dist/types/utils/popover/__tests__/popover.test.d.ts +2 -0
- package/dist/types/utils/popover/__tests__/popover.test.d.ts.map +1 -0
- package/dist/types/utils/popover/build-anchor-positioning-css.d.ts +16 -0
- package/dist/types/utils/popover/build-anchor-positioning-css.d.ts.map +1 -0
- package/dist/types/utils/popover/get-popover-trigger-props.d.ts +26 -0
- package/dist/types/utils/popover/get-popover-trigger-props.d.ts.map +1 -0
- package/dist/types/utils/popover/index.d.ts +5 -0
- package/dist/types/utils/popover/index.d.ts.map +1 -0
- package/dist/types/utils/popover/map-placement-to-css.d.ts +9 -0
- package/dist/types/utils/popover/map-placement-to-css.d.ts.map +1 -0
- package/dist/types/utils/popover/popover.d.ts +83 -0
- package/dist/types/utils/popover/popover.d.ts.map +1 -0
- package/dist/types/utils/popover/popover.stories.d.ts +65 -0
- package/dist/types/utils/popover/popover.stories.d.ts.map +1 -0
- package/dist/types/utils/popover/styles.d.ts +2 -0
- package/dist/types/utils/popover/styles.d.ts.map +1 -0
- package/package.json +23 -15
- package/dist/js/app-switcher-CYrAmAg3.js +0 -195
- package/dist/js/app-switcher-DxlJu-e8.cjs +0 -1
- package/dist/js/badge-C9FTjwwZ.cjs +0 -1
- package/dist/js/badge-Ci0eZAEr.js +0 -40
- package/dist/js/bottom-bar-4vZqT8RP.cjs +0 -1
- package/dist/js/bottom-bar-miqnx82J.js +0 -133
- package/dist/js/checkbox-DUImw1xA.cjs +0 -1
- package/dist/js/constants-BNLqBJDi.js +0 -6
- package/dist/js/constants-MKnzVnjM.cjs +0 -1
- package/dist/js/features-D3eQh4dC.js +0 -65
- package/dist/js/features-DTnJg30E.cjs +0 -1
- package/dist/js/icons/elipsis.cjs +0 -1
- package/dist/js/menu-DCRn-9Lk.js +0 -225
- package/dist/js/menu-JyLBozNQ.cjs +0 -1
- package/dist/js/side-bar-C36ISncO.cjs +0 -1
- package/dist/js/side-bar-ChEb_Vv9.js +0 -412
- package/dist/js/textarea-PDvhvtu8.cjs +0 -1
- package/dist/js/top-bar-C0gvV1eb.cjs +0 -1
- package/dist/js/use-tooltip-B6c-rxoK.cjs +0 -1
- package/dist/js/use-tooltip-D8X2ozrD.js +0 -158
- package/dist/types/core/app-switcher/styles.d.ts +0 -2
- package/dist/types/core/app-switcher/styles.d.ts.map +0 -1
- package/dist/types/core/menu/__tests__/menu-context.test.d.ts.map +0 -1
- package/dist/types/core/menu/__tests__/menu-popover.test.d.ts.map +0 -1
- package/dist/types/core/menu/__tests__/menu.atoms.tests.d.ts.map +0 -1
- package/dist/types/core/menu/__tests__/menu.molecules.test.d.ts.map +0 -1
- package/dist/types/core/menu/__tests__/use-menu.test.d.ts.map +0 -1
- package/dist/types/core/menu/menu-context.d.ts +0 -10
- package/dist/types/core/menu/menu-context.d.ts.map +0 -1
- package/dist/types/core/menu/menu-popover.d.ts.map +0 -1
- package/dist/types/core/menu/menu.atoms.d.ts.map +0 -1
- package/dist/types/core/menu/menu.molecules.d.ts +0 -11
- package/dist/types/core/menu/menu.molecules.d.ts.map +0 -1
- package/dist/types/core/menu/use-menu.d.ts.map +0 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/activate-link-on-space-key-down-handler.test.d.ts +0 -2
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/activate-link-on-space-key-down-handler.test.d.ts.map +0 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/close-menu-group-on-escape-key-down-handler.test.d.ts +0 -2
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/close-menu-group-on-escape-key-down-handler.test.d.ts.map +0 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/navigate-items-on-arrow-key-down-handler.test.d.ts +0 -2
- package/dist/types/core/side-bar/use-keyboard-navigation/__tests__/navigate-items-on-arrow-key-down-handler.test.d.ts.map +0 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/activate-link-on-space-key-down-handler.d.ts +0 -7
- package/dist/types/core/side-bar/use-keyboard-navigation/activate-link-on-space-key-down-handler.d.ts.map +0 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/close-menu-group-on-escape-key-down-handler.d.ts.map +0 -1
- package/dist/types/core/side-bar/use-keyboard-navigation/navigate-items-on-arrow-key-down-handler.d.ts.map +0 -1
- package/dist/types/core/tooltip/__tests__/use-tooltip.test.d.ts +0 -2
- package/dist/types/core/tooltip/__tests__/use-tooltip.test.d.ts.map +0 -1
- package/dist/types/core/tooltip/use-tooltip.d.ts +0 -547
- package/dist/types/core/tooltip/use-tooltip.d.ts.map +0 -1
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item-anchor.d.ts.map +0 -1
- package/dist/types/core/top-bar/nav-icon-item/nav-icon-item-anchor.stories.d.ts.map +0 -1
- package/dist/types/helpers/calculatePopoverPosition.d.ts +0 -26
- package/dist/types/helpers/calculatePopoverPosition.d.ts.map +0 -1
- package/dist/types/icons/elipsis.d.ts.map +0 -1
- /package/dist/types/{core → deprecated}/menu/__tests__/menu-context.test.d.ts +0 -0
- /package/dist/types/{core → deprecated}/menu/__tests__/menu-popover.test.d.ts +0 -0
- /package/dist/types/{core → deprecated}/menu/__tests__/menu.atoms.tests.d.ts +0 -0
- /package/dist/types/{core → deprecated}/menu/__tests__/menu.molecules.test.d.ts +0 -0
- /package/dist/types/{core → deprecated}/menu/__tests__/use-menu.test.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),p=require("react"),s=require("./menu-DNfb22IS.cjs"),C=require("./index-Dmlb2--K.cjs"),H=require("./icons/app-switcher.cjs"),F=require("./top-bar-CFU64d1b.cjs");require("./icons/chevron-down.cjs");require("./tooltip-BszFuzzR.cjs");require("./icons/search.cjs");function y(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const e=y(p),I=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#F2F4F6"}),e.createElement("path",{d:"M17.0094 20.6776V18.3905L9.1665 25.2124L17.0094 31.9583V29.7696C23.6642 29.6883 29.7498 26.3678 29.7498 23.0145V16.3454C26.5921 20.6396 18.3383 20.6966 17.0094 20.6776Z",fill:"#607890"}),e.createElement("path",{d:"M29.4371 13.6183C28.8558 8.30581 20.3087 7.25079 17.0093 7.04163V15.7093C21.4846 15.9008 24.1145 17.3034 25.0753 17.7401C25.847 17.3742 28.5524 15.9532 29.4371 13.6183Z",fill:"#607890"})),P=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#ECF3FF"}),e.createElement("path",{d:"M17.0094 20.6776V18.3905L9.1665 25.2124L17.0094 31.9583V29.7696C23.6642 29.6883 29.7498 26.3678 29.7498 23.0145V16.3454C26.5921 20.6396 18.3383 20.6966 17.0094 20.6776Z",fill:"#4E56EA"}),e.createElement("path",{d:"M29.4371 13.6183C28.8558 8.30581 20.3087 7.25079 17.0093 7.04163V15.7093C21.4846 15.9008 24.1145 17.3034 25.0753 17.7401C25.847 17.3742 28.5524 15.9532 29.4371 13.6183Z",fill:"#4E56EA"})),b=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#F2F4F6"}),e.createElement("g",{clipPath:"url(#clip0_681_199)"},e.createElement("path",{d:"M30.9102 23.9576L26.3854 19.4328L30.682 15.1362C32.4565 13.3617 32.4565 10.4546 30.682 8.68007C28.9075 6.90557 26.0004 6.90557 24.2259 8.68007L16.8864 16.1246L16.8717 16.1519V11.7748C16.8717 9.26317 14.8179 7.20935 12.3063 7.20935C9.79471 7.20935 7.74091 9.26317 7.74091 11.7748V27.0501C7.74091 28.3052 8.25331 29.4463 9.08141 30.2737L9.07231 30.2898C10.8468 32.0643 13.7539 32.0643 15.5284 30.2898L19.958 25.8601L24.4541 30.4129C26.2286 32.1874 29.1357 32.1874 30.9102 30.4129C32.6847 28.6384 32.6847 25.7313 30.9102 23.9569V23.9576ZM12.3063 7.89817C14.4231 7.89817 16.1402 9.61528 16.1402 11.7321C16.1402 13.8489 14.4231 15.566 12.3063 15.566C10.1895 15.566 8.47241 13.8489 8.47241 11.7321C8.47241 9.61528 10.1895 7.89817 12.3063 7.89817ZM12.3336 30.8848C10.2308 30.8848 8.52491 29.181 8.52491 27.0761C8.52491 24.9712 10.2287 23.2674 12.3336 23.2674C14.4385 23.2674 16.1423 24.9712 16.1423 27.0761C16.1423 29.181 14.4385 30.8848 12.3336 30.8848ZM23.6106 11.564C23.7611 9.45215 25.5951 7.86245 27.707 8.01295C29.8189 8.16345 31.4086 9.99745 31.2581 12.1094C31.1076 14.2206 29.2736 15.8109 27.1617 15.6604C25.0498 15.5099 23.4601 13.6759 23.6106 11.564ZM27.9128 31.1221C25.747 31.2432 23.8906 29.5863 23.7695 27.4184C23.6484 25.2526 25.3053 23.3962 27.4732 23.2751C29.6411 23.154 31.4954 24.8109 31.6165 26.9788C31.7376 29.1467 30.0807 31.001 27.9128 31.1221Z",fill:"#607890"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_681_199"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),D=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#ECF3FF"}),e.createElement("g",{clipPath:"url(#clip0_681_8218)"},e.createElement("path",{d:"M30.9103 23.9576L26.3855 19.4328L30.6821 15.1362C32.4566 13.3617 32.4566 10.4546 30.6821 8.68007C28.9076 6.90557 26.0005 6.90557 24.226 8.68007L16.8865 16.1246L16.8718 16.1519V11.7748C16.8718 9.26317 14.818 7.20935 12.3064 7.20935C9.79477 7.20935 7.74097 9.26317 7.74097 11.7748V27.0501C7.74097 28.3052 8.25337 29.4463 9.08147 30.2737L9.07237 30.2898C10.8469 32.0643 13.754 32.0643 15.5285 30.2898L19.9581 25.8601L24.4542 30.4129C26.2287 32.1874 29.1358 32.1874 30.9103 30.4129C32.6848 28.6384 32.6848 25.7313 30.9103 23.9569V23.9576ZM12.3064 7.89817C14.4232 7.89817 16.1403 9.61528 16.1403 11.7321C16.1403 13.8489 14.4232 15.566 12.3064 15.566C10.1896 15.566 8.47247 13.8489 8.47247 11.7321C8.47247 9.61528 10.1896 7.89817 12.3064 7.89817ZM12.3337 30.8848C10.2309 30.8848 8.52497 29.181 8.52497 27.0761C8.52497 24.9712 10.2288 23.2674 12.3337 23.2674C14.4386 23.2674 16.1424 24.9712 16.1424 27.0761C16.1424 29.181 14.4386 30.8848 12.3337 30.8848ZM23.6107 11.564C23.7612 9.45215 25.5952 7.86245 27.7071 8.01295C29.819 8.16345 31.4087 9.99745 31.2582 12.1094C31.1077 14.2206 29.2737 15.8109 27.1618 15.6604C25.0499 15.5099 23.4602 13.6759 23.6107 11.564ZM27.9129 31.1221C25.7471 31.2432 23.8907 29.5863 23.7696 27.4184C23.6485 25.2526 25.3054 23.3962 27.4733 23.2751C29.6412 23.154 31.4955 24.8109 31.6166 26.9788C31.7377 29.1467 30.0808 31.001 27.9129 31.1221Z",fill:"#4E56EA"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_681_8218"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),j=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#F2F4F6"}),e.createElement("g",{clipPath:"url(#clip0_681_1435)"},e.createElement("path",{d:"M32.6 8.0007L6 20.32L15.1896 22.6741L26.748 13.9458L19.0263 24.5683L29.0328 33.2882L32.5993 8L32.6 8.0007Z",fill:"#607890"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_681_1435"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),B=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#ECF3FF"}),e.createElement("g",{clipPath:"url(#clip0_681_134)"},e.createElement("path",{d:"M32.6 8.0007L6 20.32L15.1896 22.6741L26.748 13.9458L19.0263 24.5683L29.0328 33.2882L32.5993 8L32.6 8.0007Z",fill:"#4E56EA"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_681_134"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),R=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_681_188)"}),e.createElement("path",{d:"M32.2415 6.15323C12.4847 6.15323 9.05886 25.5243 7.74146 33.4273H9.37526C9.81276 30.5279 12.7773 19.0619 19.9915 13.6663C19.9915 13.6663 14.5042 20.4619 13.59 28.3271C16.9276 27.6915 27.0762 25.042 29.2301 15.7348L25.4886 15.1419C26.806 13.8245 30.271 10.1054 32.2408 6.15393L32.2415 6.15323Z",fill:"white"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_681_188",x1:20.7019,y1:.350877,x2:20.7019,y2:31.2281,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{offset:.075,stopColor:"#798DA1"}),e.createElement("stop",{offset:.575,stopColor:"#607890"})))),G=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_681_1909)"}),e.createElement("path",{d:"M32.2415 6.15326C12.4847 6.15326 9.05886 25.5244 7.74146 33.4274H9.37526C9.81276 30.528 12.7773 19.062 19.9915 13.6664C19.9915 13.6664 14.5042 20.462 13.59 28.3272C16.9276 27.6916 27.0762 25.0421 29.2301 15.7349L25.4886 15.142C26.806 13.8246 30.271 10.1055 32.2408 6.15396L32.2415 6.15326Z",fill:"white"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_681_1909",x1:20.7019,y1:.350877,x2:20.7019,y2:31.2281,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#5573FD"}),e.createElement("stop",{offset:.575,stopColor:"#4E56EA"})))),O=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_681_3376)"}),e.createElement("g",{clipPath:"url(#clip0_681_3376)"},e.createElement("path",{d:"M8.11975 13.1456V26.8544L19.9911 33.7081L31.8631 26.8544V19.2783L30.2111 18.3242L27.4636 16.738L26.4045 16.1262L26.4031 20.8561L26.4017 25.586H25.1788H14.802H13.5784V24.3631V17.3757V16.1521L16.7844 14.3013L18.9313 13.0623L19.9904 12.4505L23.1971 14.2887L25.3433 15.5186L26.4045 16.1262V14.9033V9.99423L19.9911 6.29193L8.11975 13.1456Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_681_3376",x1:20.7019,y1:.350877,x2:20.7019,y2:31.2281,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{offset:.075,stopColor:"#798DA1"}),e.createElement("stop",{offset:.575,stopColor:"#607890"})),e.createElement("clipPath",{id:"clip0_681_3376"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),N=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_203_7948)"}),e.createElement("g",{clipPath:"url(#clip0_203_7948)"},e.createElement("path",{d:"M8.11963 13.1456V26.8544L19.9909 33.7081L31.8629 26.8544V19.2783L30.2109 18.3242L27.4634 16.738L26.4043 16.1262L26.4029 20.8561L26.4015 25.586H25.1786H14.8018H13.5782V24.3631V17.3757V16.1521L16.7842 14.3013L18.9311 13.0623L19.9902 12.4505L23.1969 14.2887L25.3431 15.5186L26.4043 16.1262V14.9033V9.99423L19.9909 6.29193L8.11963 13.1456Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_203_7948",x1:20.7019,y1:.350877,x2:20.7019,y2:31.2281,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#5573FD"}),e.createElement("stop",{offset:.575,stopColor:"#4E56EA"})),e.createElement("clipPath",{id:"clip0_203_7948"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),U=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#F2F4F6"}),e.createElement("path",{d:"M16.037 11.6481C14.255 10.1176 11.8381 9.13276 9.1665 9.01983V26.198C12.1231 26.3116 14.7987 27.3962 16.7671 29.0869C17.7355 29.9188 18.5333 30.8978 19.1098 31.9805V17.9933C19.1098 15.5233 17.9325 13.2758 16.037 11.6481Z",fill:"#607890"}),e.createElement("path",{d:"M30.8332 9.01929C28.1615 9.13288 25.744 10.1177 23.9627 11.6476C22.0672 13.2759 20.8899 15.5221 20.8899 17.9921V31.9793C21.4664 30.8966 22.2641 29.9176 23.2326 29.0857C25.201 27.395 27.8766 26.3104 30.8332 26.1968V9.01929Z",fill:"#607890"})),W=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#ECF3FF"}),e.createElement("path",{d:"M16.037 11.6481C14.255 10.1176 11.8381 9.13276 9.1665 9.01983V26.198C12.1231 26.3116 14.7987 27.3962 16.7671 29.0869C17.7355 29.9188 18.5333 30.8978 19.1098 31.9805V17.9933C19.1098 15.5233 17.9325 13.2758 16.037 11.6481Z",fill:"#4E56EA"}),e.createElement("path",{d:"M30.8332 9.01929C28.1615 9.13288 25.744 10.1177 23.9627 11.6476C22.0672 13.2759 20.8899 15.5221 20.8899 17.9921V31.9793C21.4664 30.8966 22.2641 29.9176 23.2326 29.0857C25.201 27.395 27.8766 26.3104 30.8332 26.1968V9.01929Z",fill:"#4E56EA"})),q=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_681_1707)"}),e.createElement("g",{clipPath:"url(#clip0_681_1707)"},e.createElement("path",{d:"M10.5934 6.28003V9.98303H25.3403V29.1294H29.3891V6.28003H10.5934Z",fill:"white"}),e.createElement("path",{d:"M20.9394 33.72V13.9604L10.5934 9.98303L10.5934 29.7461L20.9394 33.72Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_681_1707",x1:20.7019,y1:.350877,x2:20.7019,y2:31.2281,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{offset:.075,stopColor:"#798DA1"}),e.createElement("stop",{offset:.575,stopColor:"#607890"})),e.createElement("clipPath",{id:"clip0_681_1707"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),T=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_681_72)"}),e.createElement("g",{clipPath:"url(#clip0_681_72)"},e.createElement("path",{d:"M10.5934 6.28003V9.98303H25.3403V29.1294H29.3891V6.28003H10.5934Z",fill:"white"}),e.createElement("path",{d:"M20.9394 33.72V13.9604L10.5934 9.98303L10.5934 29.7461L20.9394 33.72Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_681_72",x1:20.7019,y1:.350877,x2:20.7019,y2:31.2281,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#5573FD"}),e.createElement("stop",{offset:.575,stopColor:"#4E56EA"})),e.createElement("clipPath",{id:"clip0_681_72"},e.createElement("rect",{width:28,height:28,fill:"white",transform:"translate(6 6)"})))),Y=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#F2F4F6"}),e.createElement("path",{d:"M17.7135 16.581L20.7708 19.6383C23.123 21.9905 25.6102 19.8952 26.5642 18.3731C27.1256 17.4774 27.6314 16.6207 28.0022 15.7878C28.8701 13.8375 29.0032 12.2876 28.3577 11.6422C27.7122 10.9967 26.163 11.1297 24.212 11.9977C22.1511 12.9153 19.8658 14.5306 17.7135 16.581Z",fill:"#607890"}),e.createElement("path",{d:"M26.0683 9.74059C21.7181 7.16326 16.0815 7.59226 12.159 11.0269L16.58 15.448C19.9604 12.2166 23.4367 10.1861 26.0683 9.74059Z",fill:"#607890"}),e.createElement("path",{d:"M11.027 12.1585C7.59239 16.0811 7.16339 21.7177 9.74069 26.068C10.1856 23.4364 12.216 19.96 15.4481 16.5796L11.027 12.1585Z",fill:"#607890"}),e.createElement("path",{d:"M20.0147 27.3895L20.0167 27.3876C17.8002 28.9685 15.6797 29.9642 13.9326 30.2595C18.2828 32.8368 23.9194 32.4078 27.8419 28.9732L26.1061 27.2373C23.5387 24.6699 21.74 26.2369 20.0147 27.3895Z",fill:"#607890"}),e.createElement("path",{d:"M16.2954 27.7642C18.8164 26.3799 22.5715 23.7026 19.1461 20.2778L16.5814 17.7131C14.5311 19.8661 12.9157 22.1514 11.9988 24.2124C11.1309 26.1627 10.9978 27.7126 11.6433 28.3581C12.2888 29.0036 13.8379 28.8705 15.789 28.0025C15.9565 27.9277 16.1253 27.8476 16.2954 27.7642Z",fill:"#607890"}),e.createElement("path",{d:"M30.2598 13.9315C29.956 15.7289 28.91 17.9203 27.2496 20.2056C27.1132 20.3817 26.9742 20.5658 26.8385 20.7571C25.8507 22.1487 25.0602 23.9276 27.1503 26.0184L28.9735 27.8416C32.4075 23.919 32.8371 18.2817 30.2598 13.9315Z",fill:"#607890"})),k=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#ECF3FF"}),e.createElement("path",{d:"M17.7135 16.581L20.7708 19.6383C23.123 21.9905 25.6102 19.8952 26.5642 18.3731C27.1256 17.4774 27.6314 16.6207 28.0022 15.7878C28.8701 13.8375 29.0032 12.2876 28.3577 11.6422C27.7122 10.9967 26.163 11.1297 24.212 11.9977C22.1511 12.9153 19.8658 14.5306 17.7135 16.581Z",fill:"#4E56EA"}),e.createElement("path",{d:"M26.0683 9.74059C21.7181 7.16326 16.0815 7.59226 12.159 11.0269L16.58 15.448C19.9604 12.2166 23.4367 10.1861 26.0683 9.74059Z",fill:"#4E56EA"}),e.createElement("path",{d:"M11.027 12.1585C7.59239 16.0811 7.16339 21.7177 9.74069 26.068C10.1856 23.4364 12.216 19.96 15.4481 16.5796L11.027 12.1585Z",fill:"#4E56EA"}),e.createElement("path",{d:"M20.0147 27.3895L20.0167 27.3876C17.8002 28.9685 15.6797 29.9642 13.9326 30.2595C18.2828 32.8368 23.9194 32.4078 27.8419 28.9732L26.1061 27.2373C23.5387 24.6699 21.74 26.2369 20.0147 27.3895Z",fill:"#4E56EA"}),e.createElement("path",{d:"M16.2954 27.7642C18.8164 26.3799 22.5715 23.7026 19.1461 20.2778L16.5814 17.7131C14.5311 19.8661 12.9157 22.1514 11.9988 24.2124C11.1309 26.1627 10.9978 27.7126 11.6433 28.3581C12.2888 29.0036 13.8379 28.8705 15.789 28.0025C15.9565 27.9277 16.1253 27.8476 16.2954 27.7642Z",fill:"#4E56EA"}),e.createElement("path",{d:"M30.2598 13.9315C29.956 15.7289 28.91 17.9203 27.2496 20.2056C27.1132 20.3817 26.9742 20.5658 26.8385 20.7571C25.8507 22.1487 25.0602 23.9276 27.1503 26.0184L28.9735 27.8416C32.4075 23.919 32.8371 18.2817 30.2598 13.9315Z",fill:"#4E56EA"})),K=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#ECF3FF"}),e.createElement("path",{d:"M31.1344 8.08337C24.4459 8.08337 13.4934 13.5694 19.8114 31.3534H21.2674C21.2674 31.3534 20.2339 27.6354 20.0584 25.0614C30.9784 22.1169 31.5114 12.6594 31.1344 8.08337Z",fill:"#4C56F3"}),e.createElement("path",{d:"M16.9059 14.7719C14.1629 12.0874 9.19041 12.7959 9.19041 12.7959C9.06041 15.8444 9.17741 23.1309 17.2309 26.4459C15.0469 19.2634 16.9059 14.7719 16.9059 14.7719Z",fill:"#4C56F3"})),z=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#F2F4F6"}),e.createElement("path",{d:"M31.1344 8.08337C24.4459 8.08337 13.4934 13.5694 19.8114 31.3534H21.2674C21.2674 31.3534 20.2339 27.6354 20.0584 25.0614C30.9784 22.1169 31.5114 12.6594 31.1344 8.08337Z",fill:"#607890"}),e.createElement("path",{d:"M16.9059 14.7719C14.1629 12.0874 9.19041 12.7959 9.19041 12.7959C9.06041 15.8444 9.17741 23.1309 17.2309 26.4459C15.0469 19.2634 16.9059 14.7719 16.9059 14.7719Z",fill:"#607890"}));function u({hasAccess:t,productId:r}){switch(r){case"consoleCloud":return t?l.jsx(N,{}):l.jsx(O,{});case"agentBox":return t?l.jsx(T,{}):l.jsx(q,{});case"ireWeb":return t?l.jsx(G,{}):l.jsx(R,{});case"reapitForms":return t?l.jsx(B,{}):l.jsx(j,{});case"reapitWebsites":return t?l.jsx(k,{}):l.jsx(Y,{});case"reapitProposals":return t?l.jsx(W,{}):l.jsx(U,{});case"keywhere":return t?l.jsx(D,{}):l.jsx(b,{});case"autoResponder":return t?l.jsx(P,{}):l.jsx(I,{});case"lettingsBDM":return t?l.jsx(K,{}):l.jsx(z,{})}}const m=p.createContext(!1);function d(){return p.useContext(m)}function E({children:t}){return l.jsx(s.Menu.Group,{label:"EXPLORE",children:l.jsx(m.Provider,{value:!1,children:t})})}const w=C.styled_default("a")({name:"ElAppSwitcherMenuItemAnchor",class:"el-app-switcher-menu-item-anchor",propsAsIs:!1}),f=C.styled_default("div")({name:"ElAppSwitcherMenuItemAvatar",class:"el-app-switcher-menu-item-avatar",propsAsIs:!1}),g=C.styled_default("span")({name:"ElAppSwitcherMenuItemLabel",class:"el-app-switcher-menu-item-label",propsAsIs:!1}),M=C.styled_default("span")({name:"ElAppSwitcherMenuItemSupplementaryInfo",class:"el-app-switcher-menu-item-supplementary-info",propsAsIs:!1});function L({avatar:t,appName:r,href:n,supplementaryInfo:i,...h}){const o=p.useId(),c=p.useId();return l.jsxs(w,{...h,"aria-labelledby":o,"aria-describedby":c,href:n,target:"_blank",rel:"noreferrer",children:[l.jsx(f,{"aria-hidden":!0,children:t}),l.jsx(g,{id:o,children:r}),l.jsx(M,{id:c,children:i})]})}function v({"aria-label":t,...r}){return l.jsx(F.TopBarNavIconItemButton,{...r,"aria-label":t??"App Switcher",icon:l.jsx(H.AppSwitcherIcon,{})})}const X={autoResponder:{appName:"Auto Responder",supplementaryInfo:"Automated Email Marketing"},agentBox:{appName:"Reapit Sales",supplementaryInfo:"Real Estate CRM"},consoleCloud:{appName:"Reapit PM",supplementaryInfo:"Property Management"},ireWeb:{appName:"Reapit Lettings",supplementaryInfo:"Lettings Management"},keywhere:{appName:"KeyWhere",supplementaryInfo:"Real-time Key Management"},lettingsBDM:{appName:"Lettings BDM",supplementaryInfo:"New Business"},reapitForms:{appName:"Reapit Forms",supplementaryInfo:"Documents & Digital Signing"},reapitWebsites:{appName:"Reapit Websites",supplementaryInfo:"Bespoke Website Design"},reapitProposals:{appName:"Reapit Proposals",supplementaryInfo:"Interactive Digital Proposals"}},x=["ireWeb","consoleCloud","keywhere","lettingsBDM"];function _({appName:t,avatar:r,href:n,productId:i,supplementaryInfo:h}){const o=d(),{appName:c,supplementaryInfo:Z}=X[i];return l.jsx(a.MenuItem,{appName:t??c,avatar:r??l.jsx(a.AppAvatar,{hasAccess:o,productId:i}),href:n,supplementaryInfo:h??Z})}function A({children:t}){return l.jsx(s.Menu.Group,{label:"YOUR APPS",children:l.jsx(m.Provider,{value:!0,children:t})})}function V(t){return x.filter(r=>t.includes(r))}function S(t){return x.filter(r=>!t.includes(r))}function a({children:t}){const r=p.useId(),n=p.useId();return l.jsxs(l.Fragment,{children:[l.jsx(v,{...s.Menu.getTriggerProps({id:r,popoverTarget:n,popoverTargetAction:"toggle"})}),l.jsx(s.Menu,{"aria-labelledby":r,id:n,placement:"bottom-start",children:t})]})}a.AppAvatar=u;a.Divider=s.Menu.Divider;a.ExploreMenuGroup=E;a.MenuItem=L;a.ProductMenuItem=_;a.YourAppsMenuGroup=A;a.getDisplayableProductsForExploreGroup=S;a.getDisplayableProductsForYourAppsGroup=V;exports.AppAvatar=u;exports.AppSwitcher=a;exports.AppSwitcherExploreMenuGroup=E;exports.AppSwitcherMenuGroupHasAccessContext=m;exports.AppSwitcherMenuItem=L;exports.AppSwitcherNavIconButton=v;exports.AppSwitcherProductMenuItem=_;exports.AppSwitcherYourAppsMenuGroup=A;exports.ElAppSwitcherMenuItemAnchor=w;exports.ElAppSwitcherMenuItemAvatar=f;exports.ElAppSwitcherMenuItemLabel=g;exports.ElAppSwitcherMenuItemSupplementaryInfo=M;exports.getDisplayableProductsForExploreGroup=S;exports.getDisplayableProductsForYourAppsGroup=V;exports.useAppSwitcherMenuGroupHasAccessContext=d;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { jsx as l, jsxs as E, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { createContext as g, useContext as u, useId as c } from "react";
|
|
4
|
+
import { m as i } from "./menu-pb8vvQbH.js";
|
|
5
|
+
import { s as m } from "./index-YtxCR-9e.js";
|
|
6
|
+
import { AppSwitcherIcon as L } from "./icons/app-switcher.js";
|
|
7
|
+
import { g as v } from "./top-bar-Bz3hZdH6.js";
|
|
8
|
+
import "./icons/chevron-down.js";
|
|
9
|
+
import "./tooltip-Dn4EQFOW.js";
|
|
10
|
+
import "./icons/search.js";
|
|
11
|
+
const M = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#F2F4F6" }), /* @__PURE__ */ e.createElement("path", { d: "M17.0094 20.6776V18.3905L9.1665 25.2124L17.0094 31.9583V29.7696C23.6642 29.6883 29.7498 26.3678 29.7498 23.0145V16.3454C26.5921 20.6396 18.3383 20.6966 17.0094 20.6776Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M29.4371 13.6183C28.8558 8.30581 20.3087 7.25079 17.0093 7.04163V15.7093C21.4846 15.9008 24.1145 17.3034 25.0753 17.7401C25.847 17.3742 28.5524 15.9532 29.4371 13.6183Z", fill: "#607890" })), _ = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#ECF3FF" }), /* @__PURE__ */ e.createElement("path", { d: "M17.0094 20.6776V18.3905L9.1665 25.2124L17.0094 31.9583V29.7696C23.6642 29.6883 29.7498 26.3678 29.7498 23.0145V16.3454C26.5921 20.6396 18.3383 20.6966 17.0094 20.6776Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M29.4371 13.6183C28.8558 8.30581 20.3087 7.25079 17.0093 7.04163V15.7093C21.4846 15.9008 24.1145 17.3034 25.0753 17.7401C25.847 17.3742 28.5524 15.9532 29.4371 13.6183Z", fill: "#4E56EA" })), V = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#F2F4F6" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_199)" }, /* @__PURE__ */ e.createElement("path", { d: "M30.9102 23.9576L26.3854 19.4328L30.682 15.1362C32.4565 13.3617 32.4565 10.4546 30.682 8.68007C28.9075 6.90557 26.0004 6.90557 24.2259 8.68007L16.8864 16.1246L16.8717 16.1519V11.7748C16.8717 9.26317 14.8179 7.20935 12.3063 7.20935C9.79471 7.20935 7.74091 9.26317 7.74091 11.7748V27.0501C7.74091 28.3052 8.25331 29.4463 9.08141 30.2737L9.07231 30.2898C10.8468 32.0643 13.7539 32.0643 15.5284 30.2898L19.958 25.8601L24.4541 30.4129C26.2286 32.1874 29.1357 32.1874 30.9102 30.4129C32.6847 28.6384 32.6847 25.7313 30.9102 23.9569V23.9576ZM12.3063 7.89817C14.4231 7.89817 16.1402 9.61528 16.1402 11.7321C16.1402 13.8489 14.4231 15.566 12.3063 15.566C10.1895 15.566 8.47241 13.8489 8.47241 11.7321C8.47241 9.61528 10.1895 7.89817 12.3063 7.89817ZM12.3336 30.8848C10.2308 30.8848 8.52491 29.181 8.52491 27.0761C8.52491 24.9712 10.2287 23.2674 12.3336 23.2674C14.4385 23.2674 16.1423 24.9712 16.1423 27.0761C16.1423 29.181 14.4385 30.8848 12.3336 30.8848ZM23.6106 11.564C23.7611 9.45215 25.5951 7.86245 27.707 8.01295C29.8189 8.16345 31.4086 9.99745 31.2581 12.1094C31.1076 14.2206 29.2736 15.8109 27.1617 15.6604C25.0498 15.5099 23.4601 13.6759 23.6106 11.564ZM27.9128 31.1221C25.747 31.2432 23.8906 29.5863 23.7695 27.4184C23.6484 25.2526 25.3053 23.3962 27.4732 23.2751C29.6411 23.154 31.4954 24.8109 31.6165 26.9788C31.7376 29.1467 30.0807 31.001 27.9128 31.1221Z", fill: "#607890" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_199" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), A = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#ECF3FF" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_8218)" }, /* @__PURE__ */ e.createElement("path", { d: "M30.9103 23.9576L26.3855 19.4328L30.6821 15.1362C32.4566 13.3617 32.4566 10.4546 30.6821 8.68007C28.9076 6.90557 26.0005 6.90557 24.226 8.68007L16.8865 16.1246L16.8718 16.1519V11.7748C16.8718 9.26317 14.818 7.20935 12.3064 7.20935C9.79477 7.20935 7.74097 9.26317 7.74097 11.7748V27.0501C7.74097 28.3052 8.25337 29.4463 9.08147 30.2737L9.07237 30.2898C10.8469 32.0643 13.754 32.0643 15.5285 30.2898L19.9581 25.8601L24.4542 30.4129C26.2287 32.1874 29.1358 32.1874 30.9103 30.4129C32.6848 28.6384 32.6848 25.7313 30.9103 23.9569V23.9576ZM12.3064 7.89817C14.4232 7.89817 16.1403 9.61528 16.1403 11.7321C16.1403 13.8489 14.4232 15.566 12.3064 15.566C10.1896 15.566 8.47247 13.8489 8.47247 11.7321C8.47247 9.61528 10.1896 7.89817 12.3064 7.89817ZM12.3337 30.8848C10.2309 30.8848 8.52497 29.181 8.52497 27.0761C8.52497 24.9712 10.2288 23.2674 12.3337 23.2674C14.4386 23.2674 16.1424 24.9712 16.1424 27.0761C16.1424 29.181 14.4386 30.8848 12.3337 30.8848ZM23.6107 11.564C23.7612 9.45215 25.5952 7.86245 27.7071 8.01295C29.819 8.16345 31.4087 9.99745 31.2582 12.1094C31.1077 14.2206 29.2737 15.8109 27.1618 15.6604C25.0499 15.5099 23.4602 13.6759 23.6107 11.564ZM27.9129 31.1221C25.7471 31.2432 23.8907 29.5863 23.7696 27.4184C23.6485 25.2526 25.3054 23.3962 27.4733 23.2751C29.6412 23.154 31.4955 24.8109 31.6166 26.9788C31.7377 29.1467 30.0808 31.001 27.9129 31.1221Z", fill: "#4E56EA" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_8218" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), Z = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#F2F4F6" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_1435)" }, /* @__PURE__ */ e.createElement("path", { d: "M32.6 8.0007L6 20.32L15.1896 22.6741L26.748 13.9458L19.0263 24.5683L29.0328 33.2882L32.5993 8L32.6 8.0007Z", fill: "#607890" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_1435" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), x = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#ECF3FF" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_134)" }, /* @__PURE__ */ e.createElement("path", { d: "M32.6 8.0007L6 20.32L15.1896 22.6741L26.748 13.9458L19.0263 24.5683L29.0328 33.2882L32.5993 8L32.6 8.0007Z", fill: "#4E56EA" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_134" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), S = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "url(#paint0_linear_681_188)" }), /* @__PURE__ */ e.createElement("path", { d: "M32.2415 6.15323C12.4847 6.15323 9.05886 25.5243 7.74146 33.4273H9.37526C9.81276 30.5279 12.7773 19.0619 19.9915 13.6663C19.9915 13.6663 14.5042 20.4619 13.59 28.3271C16.9276 27.6915 27.0762 25.042 29.2301 15.7348L25.4886 15.1419C26.806 13.8245 30.271 10.1054 32.2408 6.15393L32.2415 6.15323Z", fill: "white" }), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_681_188", x1: 20.7019, y1: 0.350877, x2: 20.7019, y2: 31.2281, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { offset: 0.075, stopColor: "#798DA1" }), /* @__PURE__ */ e.createElement("stop", { offset: 0.575, stopColor: "#607890" })))), H = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "url(#paint0_linear_681_1909)" }), /* @__PURE__ */ e.createElement("path", { d: "M32.2415 6.15326C12.4847 6.15326 9.05886 25.5244 7.74146 33.4274H9.37526C9.81276 30.528 12.7773 19.062 19.9915 13.6664C19.9915 13.6664 14.5042 20.462 13.59 28.3272C16.9276 27.6916 27.0762 25.0421 29.2301 15.7349L25.4886 15.142C26.806 13.8246 30.271 10.1055 32.2408 6.15396L32.2415 6.15326Z", fill: "white" }), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_681_1909", x1: 20.7019, y1: 0.350877, x2: 20.7019, y2: 31.2281, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#5573FD" }), /* @__PURE__ */ e.createElement("stop", { offset: 0.575, stopColor: "#4E56EA" })))), F = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "url(#paint0_linear_681_3376)" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_3376)" }, /* @__PURE__ */ e.createElement("path", { d: "M8.11975 13.1456V26.8544L19.9911 33.7081L31.8631 26.8544V19.2783L30.2111 18.3242L27.4636 16.738L26.4045 16.1262L26.4031 20.8561L26.4017 25.586H25.1788H14.802H13.5784V24.3631V17.3757V16.1521L16.7844 14.3013L18.9313 13.0623L19.9904 12.4505L23.1971 14.2887L25.3433 15.5186L26.4045 16.1262V14.9033V9.99423L19.9911 6.29193L8.11975 13.1456Z", fill: "white" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_681_3376", x1: 20.7019, y1: 0.350877, x2: 20.7019, y2: 31.2281, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { offset: 0.075, stopColor: "#798DA1" }), /* @__PURE__ */ e.createElement("stop", { offset: 0.575, stopColor: "#607890" })), /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_3376" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), y = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "url(#paint0_linear_203_7948)" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_203_7948)" }, /* @__PURE__ */ e.createElement("path", { d: "M8.11963 13.1456V26.8544L19.9909 33.7081L31.8629 26.8544V19.2783L30.2109 18.3242L27.4634 16.738L26.4043 16.1262L26.4029 20.8561L26.4015 25.586H25.1786H14.8018H13.5782V24.3631V17.3757V16.1521L16.7842 14.3013L18.9311 13.0623L19.9902 12.4505L23.1969 14.2887L25.3431 15.5186L26.4043 16.1262V14.9033V9.99423L19.9909 6.29193L8.11963 13.1456Z", fill: "white" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_203_7948", x1: 20.7019, y1: 0.350877, x2: 20.7019, y2: 31.2281, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#5573FD" }), /* @__PURE__ */ e.createElement("stop", { offset: 0.575, stopColor: "#4E56EA" })), /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_203_7948" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), P = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#F2F4F6" }), /* @__PURE__ */ e.createElement("path", { d: "M16.037 11.6481C14.255 10.1176 11.8381 9.13276 9.1665 9.01983V26.198C12.1231 26.3116 14.7987 27.3962 16.7671 29.0869C17.7355 29.9188 18.5333 30.8978 19.1098 31.9805V17.9933C19.1098 15.5233 17.9325 13.2758 16.037 11.6481Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M30.8332 9.01929C28.1615 9.13288 25.744 10.1177 23.9627 11.6476C22.0672 13.2759 20.8899 15.5221 20.8899 17.9921V31.9793C21.4664 30.8966 22.2641 29.9176 23.2326 29.0857C25.201 27.395 27.8766 26.3104 30.8332 26.1968V9.01929Z", fill: "#607890" })), I = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#ECF3FF" }), /* @__PURE__ */ e.createElement("path", { d: "M16.037 11.6481C14.255 10.1176 11.8381 9.13276 9.1665 9.01983V26.198C12.1231 26.3116 14.7987 27.3962 16.7671 29.0869C17.7355 29.9188 18.5333 30.8978 19.1098 31.9805V17.9933C19.1098 15.5233 17.9325 13.2758 16.037 11.6481Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M30.8332 9.01929C28.1615 9.13288 25.744 10.1177 23.9627 11.6476C22.0672 13.2759 20.8899 15.5221 20.8899 17.9921V31.9793C21.4664 30.8966 22.2641 29.9176 23.2326 29.0857C25.201 27.395 27.8766 26.3104 30.8332 26.1968V9.01929Z", fill: "#4E56EA" })), b = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "url(#paint0_linear_681_1707)" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_1707)" }, /* @__PURE__ */ e.createElement("path", { d: "M10.5934 6.28003V9.98303H25.3403V29.1294H29.3891V6.28003H10.5934Z", fill: "white" }), /* @__PURE__ */ e.createElement("path", { d: "M20.9394 33.72V13.9604L10.5934 9.98303L10.5934 29.7461L20.9394 33.72Z", fill: "white" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_681_1707", x1: 20.7019, y1: 0.350877, x2: 20.7019, y2: 31.2281, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { offset: 0.075, stopColor: "#798DA1" }), /* @__PURE__ */ e.createElement("stop", { offset: 0.575, stopColor: "#607890" })), /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_1707" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), D = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "url(#paint0_linear_681_72)" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_681_72)" }, /* @__PURE__ */ e.createElement("path", { d: "M10.5934 6.28003V9.98303H25.3403V29.1294H29.3891V6.28003H10.5934Z", fill: "white" }), /* @__PURE__ */ e.createElement("path", { d: "M20.9394 33.72V13.9604L10.5934 9.98303L10.5934 29.7461L20.9394 33.72Z", fill: "white" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_681_72", x1: 20.7019, y1: 0.350877, x2: 20.7019, y2: 31.2281, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#5573FD" }), /* @__PURE__ */ e.createElement("stop", { offset: 0.575, stopColor: "#4E56EA" })), /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_681_72" }, /* @__PURE__ */ e.createElement("rect", { width: 28, height: 28, fill: "white", transform: "translate(6 6)" })))), B = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#F2F4F6" }), /* @__PURE__ */ e.createElement("path", { d: "M17.7135 16.581L20.7708 19.6383C23.123 21.9905 25.6102 19.8952 26.5642 18.3731C27.1256 17.4774 27.6314 16.6207 28.0022 15.7878C28.8701 13.8375 29.0032 12.2876 28.3577 11.6422C27.7122 10.9967 26.163 11.1297 24.212 11.9977C22.1511 12.9153 19.8658 14.5306 17.7135 16.581Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M26.0683 9.74059C21.7181 7.16326 16.0815 7.59226 12.159 11.0269L16.58 15.448C19.9604 12.2166 23.4367 10.1861 26.0683 9.74059Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M11.027 12.1585C7.59239 16.0811 7.16339 21.7177 9.74069 26.068C10.1856 23.4364 12.216 19.96 15.4481 16.5796L11.027 12.1585Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M20.0147 27.3895L20.0167 27.3876C17.8002 28.9685 15.6797 29.9642 13.9326 30.2595C18.2828 32.8368 23.9194 32.4078 27.8419 28.9732L26.1061 27.2373C23.5387 24.6699 21.74 26.2369 20.0147 27.3895Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M16.2954 27.7642C18.8164 26.3799 22.5715 23.7026 19.1461 20.2778L16.5814 17.7131C14.5311 19.8661 12.9157 22.1514 11.9988 24.2124C11.1309 26.1627 10.9978 27.7126 11.6433 28.3581C12.2888 29.0036 13.8379 28.8705 15.789 28.0025C15.9565 27.9277 16.1253 27.8476 16.2954 27.7642Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M30.2598 13.9315C29.956 15.7289 28.91 17.9203 27.2496 20.2056C27.1132 20.3817 26.9742 20.5658 26.8385 20.7571C25.8507 22.1487 25.0602 23.9276 27.1503 26.0184L28.9735 27.8416C32.4075 23.919 32.8371 18.2817 30.2598 13.9315Z", fill: "#607890" })), R = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#ECF3FF" }), /* @__PURE__ */ e.createElement("path", { d: "M17.7135 16.581L20.7708 19.6383C23.123 21.9905 25.6102 19.8952 26.5642 18.3731C27.1256 17.4774 27.6314 16.6207 28.0022 15.7878C28.8701 13.8375 29.0032 12.2876 28.3577 11.6422C27.7122 10.9967 26.163 11.1297 24.212 11.9977C22.1511 12.9153 19.8658 14.5306 17.7135 16.581Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M26.0683 9.74059C21.7181 7.16326 16.0815 7.59226 12.159 11.0269L16.58 15.448C19.9604 12.2166 23.4367 10.1861 26.0683 9.74059Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M11.027 12.1585C7.59239 16.0811 7.16339 21.7177 9.74069 26.068C10.1856 23.4364 12.216 19.96 15.4481 16.5796L11.027 12.1585Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M20.0147 27.3895L20.0167 27.3876C17.8002 28.9685 15.6797 29.9642 13.9326 30.2595C18.2828 32.8368 23.9194 32.4078 27.8419 28.9732L26.1061 27.2373C23.5387 24.6699 21.74 26.2369 20.0147 27.3895Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M16.2954 27.7642C18.8164 26.3799 22.5715 23.7026 19.1461 20.2778L16.5814 17.7131C14.5311 19.8661 12.9157 22.1514 11.9988 24.2124C11.1309 26.1627 10.9978 27.7126 11.6433 28.3581C12.2888 29.0036 13.8379 28.8705 15.789 28.0025C15.9565 27.9277 16.1253 27.8476 16.2954 27.7642Z", fill: "#4E56EA" }), /* @__PURE__ */ e.createElement("path", { d: "M30.2598 13.9315C29.956 15.7289 28.91 17.9203 27.2496 20.2056C27.1132 20.3817 26.9742 20.5658 26.8385 20.7571C25.8507 22.1487 25.0602 23.9276 27.1503 26.0184L28.9735 27.8416C32.4075 23.919 32.8371 18.2817 30.2598 13.9315Z", fill: "#4E56EA" })), G = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#ECF3FF" }), /* @__PURE__ */ e.createElement("path", { d: "M31.1344 8.08337C24.4459 8.08337 13.4934 13.5694 19.8114 31.3534H21.2674C21.2674 31.3534 20.2339 27.6354 20.0584 25.0614C30.9784 22.1169 31.5114 12.6594 31.1344 8.08337Z", fill: "#4C56F3" }), /* @__PURE__ */ e.createElement("path", { d: "M16.9059 14.7719C14.1629 12.0874 9.19041 12.7959 9.19041 12.7959C9.06041 15.8444 9.17741 23.1309 17.2309 26.4459C15.0469 19.2634 16.9059 14.7719 16.9059 14.7719Z", fill: "#4C56F3" })), N = (t) => /* @__PURE__ */ e.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z", fill: "#F2F4F6" }), /* @__PURE__ */ e.createElement("path", { d: "M31.1344 8.08337C24.4459 8.08337 13.4934 13.5694 19.8114 31.3534H21.2674C21.2674 31.3534 20.2339 27.6354 20.0584 25.0614C30.9784 22.1169 31.5114 12.6594 31.1344 8.08337Z", fill: "#607890" }), /* @__PURE__ */ e.createElement("path", { d: "M16.9059 14.7719C14.1629 12.0874 9.19041 12.7959 9.19041 12.7959C9.06041 15.8444 9.17741 23.1309 17.2309 26.4459C15.0469 19.2634 16.9059 14.7719 16.9059 14.7719Z", fill: "#607890" }));
|
|
12
|
+
function O({ hasAccess: t, productId: a }) {
|
|
13
|
+
switch (a) {
|
|
14
|
+
case "consoleCloud":
|
|
15
|
+
return t ? /* @__PURE__ */ l(y, {}) : /* @__PURE__ */ l(F, {});
|
|
16
|
+
case "agentBox":
|
|
17
|
+
return t ? /* @__PURE__ */ l(D, {}) : /* @__PURE__ */ l(b, {});
|
|
18
|
+
case "ireWeb":
|
|
19
|
+
return t ? /* @__PURE__ */ l(H, {}) : /* @__PURE__ */ l(S, {});
|
|
20
|
+
case "reapitForms":
|
|
21
|
+
return t ? /* @__PURE__ */ l(x, {}) : /* @__PURE__ */ l(Z, {});
|
|
22
|
+
case "reapitWebsites":
|
|
23
|
+
return t ? /* @__PURE__ */ l(R, {}) : /* @__PURE__ */ l(B, {});
|
|
24
|
+
case "reapitProposals":
|
|
25
|
+
return t ? /* @__PURE__ */ l(I, {}) : /* @__PURE__ */ l(P, {});
|
|
26
|
+
case "keywhere":
|
|
27
|
+
return t ? /* @__PURE__ */ l(A, {}) : /* @__PURE__ */ l(V, {});
|
|
28
|
+
case "autoResponder":
|
|
29
|
+
return t ? /* @__PURE__ */ l(_, {}) : /* @__PURE__ */ l(M, {});
|
|
30
|
+
case "lettingsBDM":
|
|
31
|
+
return t ? /* @__PURE__ */ l(G, {}) : /* @__PURE__ */ l(N, {});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const h = g(!1);
|
|
35
|
+
function U() {
|
|
36
|
+
return u(h);
|
|
37
|
+
}
|
|
38
|
+
function W({ children: t }) {
|
|
39
|
+
return /* @__PURE__ */ l(i.Group, { label: "EXPLORE", children: /* @__PURE__ */ l(h.Provider, { value: !1, children: t }) });
|
|
40
|
+
}
|
|
41
|
+
const T = /* @__PURE__ */ m("a")({
|
|
42
|
+
name: "ElAppSwitcherMenuItemAnchor",
|
|
43
|
+
class: "el-app-switcher-menu-item-anchor",
|
|
44
|
+
propsAsIs: !1
|
|
45
|
+
}), k = /* @__PURE__ */ m("div")({
|
|
46
|
+
name: "ElAppSwitcherMenuItemAvatar",
|
|
47
|
+
class: "el-app-switcher-menu-item-avatar",
|
|
48
|
+
propsAsIs: !1
|
|
49
|
+
}), Y = /* @__PURE__ */ m("span")({
|
|
50
|
+
name: "ElAppSwitcherMenuItemLabel",
|
|
51
|
+
class: "el-app-switcher-menu-item-label",
|
|
52
|
+
propsAsIs: !1
|
|
53
|
+
}), K = /* @__PURE__ */ m("span")({
|
|
54
|
+
name: "ElAppSwitcherMenuItemSupplementaryInfo",
|
|
55
|
+
class: "el-app-switcher-menu-item-supplementary-info",
|
|
56
|
+
propsAsIs: !1
|
|
57
|
+
});
|
|
58
|
+
function j({
|
|
59
|
+
avatar: t,
|
|
60
|
+
appName: a,
|
|
61
|
+
href: n,
|
|
62
|
+
supplementaryInfo: p,
|
|
63
|
+
...C
|
|
64
|
+
}) {
|
|
65
|
+
const s = c(), o = c();
|
|
66
|
+
return /* @__PURE__ */ E(
|
|
67
|
+
T,
|
|
68
|
+
{
|
|
69
|
+
...C,
|
|
70
|
+
"aria-labelledby": s,
|
|
71
|
+
"aria-describedby": o,
|
|
72
|
+
href: n,
|
|
73
|
+
target: "_blank",
|
|
74
|
+
rel: "noreferrer",
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ l(k, { "aria-hidden": !0, children: t }),
|
|
77
|
+
/* @__PURE__ */ l(Y, { id: s, children: a }),
|
|
78
|
+
/* @__PURE__ */ l(K, { id: o, children: p })
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
function X({ "aria-label": t, ...a }) {
|
|
84
|
+
return /* @__PURE__ */ l(v, { ...a, "aria-label": t ?? "App Switcher", icon: /* @__PURE__ */ l(L, {}) });
|
|
85
|
+
}
|
|
86
|
+
const q = {
|
|
87
|
+
autoResponder: {
|
|
88
|
+
appName: "Auto Responder",
|
|
89
|
+
supplementaryInfo: "Automated Email Marketing"
|
|
90
|
+
},
|
|
91
|
+
agentBox: { appName: "Reapit Sales", supplementaryInfo: "Real Estate CRM" },
|
|
92
|
+
consoleCloud: { appName: "Reapit PM", supplementaryInfo: "Property Management" },
|
|
93
|
+
ireWeb: {
|
|
94
|
+
appName: "Reapit Lettings",
|
|
95
|
+
supplementaryInfo: "Lettings Management"
|
|
96
|
+
},
|
|
97
|
+
keywhere: {
|
|
98
|
+
appName: "KeyWhere",
|
|
99
|
+
supplementaryInfo: "Real-time Key Management"
|
|
100
|
+
},
|
|
101
|
+
lettingsBDM: {
|
|
102
|
+
appName: "Lettings BDM",
|
|
103
|
+
supplementaryInfo: "New Business"
|
|
104
|
+
},
|
|
105
|
+
reapitForms: {
|
|
106
|
+
appName: "Reapit Forms",
|
|
107
|
+
supplementaryInfo: "Documents & Digital Signing"
|
|
108
|
+
},
|
|
109
|
+
reapitWebsites: {
|
|
110
|
+
appName: "Reapit Websites",
|
|
111
|
+
supplementaryInfo: "Bespoke Website Design"
|
|
112
|
+
},
|
|
113
|
+
reapitProposals: {
|
|
114
|
+
appName: "Reapit Proposals",
|
|
115
|
+
supplementaryInfo: "Interactive Digital Proposals"
|
|
116
|
+
}
|
|
117
|
+
}, d = [
|
|
118
|
+
// Primary apps here (should be alphatically ordered by configured app name)
|
|
119
|
+
"ireWeb",
|
|
120
|
+
// Reapit Lettings
|
|
121
|
+
"consoleCloud",
|
|
122
|
+
// Reapit PM
|
|
123
|
+
// Secondary apps here (should be alphatically ordered by configured app name)
|
|
124
|
+
"keywhere",
|
|
125
|
+
"lettingsBDM"
|
|
126
|
+
];
|
|
127
|
+
function z({
|
|
128
|
+
appName: t,
|
|
129
|
+
avatar: a,
|
|
130
|
+
href: n,
|
|
131
|
+
productId: p,
|
|
132
|
+
supplementaryInfo: C
|
|
133
|
+
}) {
|
|
134
|
+
const s = U(), { appName: o, supplementaryInfo: w } = q[p];
|
|
135
|
+
return /* @__PURE__ */ l(
|
|
136
|
+
r.MenuItem,
|
|
137
|
+
{
|
|
138
|
+
appName: t ?? o,
|
|
139
|
+
avatar: a ?? /* @__PURE__ */ l(r.AppAvatar, { hasAccess: s, productId: p }),
|
|
140
|
+
href: n,
|
|
141
|
+
supplementaryInfo: C ?? w
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
function J({ children: t }) {
|
|
146
|
+
return /* @__PURE__ */ l(i.Group, { label: "YOUR APPS", children: /* @__PURE__ */ l(h.Provider, { value: !0, children: t }) });
|
|
147
|
+
}
|
|
148
|
+
function Q(t) {
|
|
149
|
+
return d.filter(
|
|
150
|
+
(a) => t.includes(a)
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
function $(t) {
|
|
154
|
+
return d.filter(
|
|
155
|
+
(a) => !t.includes(a)
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
function r({ children: t }) {
|
|
159
|
+
const a = c(), n = c();
|
|
160
|
+
return /* @__PURE__ */ E(f, { children: [
|
|
161
|
+
/* @__PURE__ */ l(
|
|
162
|
+
X,
|
|
163
|
+
{
|
|
164
|
+
...i.getTriggerProps({ id: a, popoverTarget: n, popoverTargetAction: "toggle" })
|
|
165
|
+
}
|
|
166
|
+
),
|
|
167
|
+
/* @__PURE__ */ l(i, { "aria-labelledby": a, id: n, placement: "bottom-start", children: t })
|
|
168
|
+
] });
|
|
169
|
+
}
|
|
170
|
+
r.AppAvatar = O;
|
|
171
|
+
r.Divider = i.Divider;
|
|
172
|
+
r.ExploreMenuGroup = W;
|
|
173
|
+
r.MenuItem = j;
|
|
174
|
+
r.ProductMenuItem = z;
|
|
175
|
+
r.YourAppsMenuGroup = J;
|
|
176
|
+
r.getDisplayableProductsForExploreGroup = $;
|
|
177
|
+
r.getDisplayableProductsForYourAppsGroup = Q;
|
|
178
|
+
export {
|
|
179
|
+
O as A,
|
|
180
|
+
T as E,
|
|
181
|
+
r as a,
|
|
182
|
+
W as b,
|
|
183
|
+
Q as c,
|
|
184
|
+
h as d,
|
|
185
|
+
k as e,
|
|
186
|
+
Y as f,
|
|
187
|
+
$ as g,
|
|
188
|
+
K as h,
|
|
189
|
+
j as i,
|
|
190
|
+
X as j,
|
|
191
|
+
z as k,
|
|
192
|
+
J as l,
|
|
193
|
+
U as u
|
|
194
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs as B, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { s as l } from "./index-YtxCR-9e.js";
|
|
3
|
+
import { T as c } from "./tooltip-Dn4EQFOW.js";
|
|
4
|
+
import { useId as i } from "react";
|
|
5
|
+
const P = ["neutral", "success", "pending", "warning", "danger", "inactive", "accent_1", "accent_2"], f = /* @__PURE__ */ l("span")({
|
|
6
|
+
name: "ElBadge",
|
|
7
|
+
class: "el-badge",
|
|
8
|
+
propsAsIs: !1
|
|
9
|
+
}), E = /* @__PURE__ */ l("span")({
|
|
10
|
+
name: "ElBadgeLabelContainer",
|
|
11
|
+
class: "el-badge-label-container",
|
|
12
|
+
propsAsIs: !1
|
|
13
|
+
}), p = /* @__PURE__ */ l("span")({
|
|
14
|
+
name: "ElBadgeIconContainer",
|
|
15
|
+
class: "el-badge-icon-container",
|
|
16
|
+
propsAsIs: !1
|
|
17
|
+
});
|
|
18
|
+
function _({
|
|
19
|
+
"aria-label": n,
|
|
20
|
+
children: o,
|
|
21
|
+
colour: g,
|
|
22
|
+
iconLeft: a,
|
|
23
|
+
iconRight: e,
|
|
24
|
+
id: u,
|
|
25
|
+
variant: m = "default",
|
|
26
|
+
...I
|
|
27
|
+
}) {
|
|
28
|
+
const t = !o && (a || e) && !(a && e) && n, r = u ?? i(), d = i(), b = t ? c.getTriggerProps({ id: r, tooltipId: d, tooltipPurpose: "label" }) : {
|
|
29
|
+
"aria-label": n,
|
|
30
|
+
id: r
|
|
31
|
+
};
|
|
32
|
+
return /* @__PURE__ */ B(f, { ...I, ...b, "data-colour": g, "data-variant": m, children: [
|
|
33
|
+
a && /* @__PURE__ */ s(p, { "aria-hidden": !0, children: a }),
|
|
34
|
+
o && /* @__PURE__ */ s(E, { children: o }),
|
|
35
|
+
e && /* @__PURE__ */ s(p, { "aria-hidden": !0, children: e }),
|
|
36
|
+
t && /* @__PURE__ */ s(c, { triggerId: r, id: d, placement: "top", children: n })
|
|
37
|
+
] });
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
_ as B,
|
|
41
|
+
f as E,
|
|
42
|
+
E as a,
|
|
43
|
+
P as b,
|
|
44
|
+
p as c
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("./index-Dmlb2--K.cjs"),i=require("./tooltip-BszFuzzR.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,157 @@
|
|
|
1
|
+
import { jsx as o, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as L, useMemo as A, useContext as T, useId as b, useRef as g, useEffect as v, useState as P } from "react";
|
|
3
|
+
import { c as O } from "./index-BsMVp4qF.js";
|
|
4
|
+
import { s as a } from "./index-YtxCR-9e.js";
|
|
5
|
+
import { m as E } from "./menu-pb8vvQbH.js";
|
|
6
|
+
import { MoreIcon as j } from "./icons/more.js";
|
|
7
|
+
const h = L(null);
|
|
8
|
+
function w({ children: t, isOpen: e }) {
|
|
9
|
+
const n = A(() => ({ isOpen: e }), [e]);
|
|
10
|
+
return /* @__PURE__ */ o(h.Provider, { value: n, children: t });
|
|
11
|
+
}
|
|
12
|
+
function y() {
|
|
13
|
+
const t = T(h);
|
|
14
|
+
if (!t)
|
|
15
|
+
throw new Error("BottomBarContext not defined: useBottomBarContext can only be used in a child of BottomBarContext");
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
const N = "el-bottom-bar-item", S = /* @__PURE__ */ a("span")({
|
|
19
|
+
name: "ElBottomBarItemIcon",
|
|
20
|
+
class: "el-bottom-bar-item-icon",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
}), R = /* @__PURE__ */ a("span")({
|
|
23
|
+
name: "ElBottomBarItemLabel",
|
|
24
|
+
class: "el-bottom-bar-item-label",
|
|
25
|
+
propsAsIs: !1
|
|
26
|
+
}), _ = /* @__PURE__ */ a("span")({
|
|
27
|
+
name: "ElBottomBarItemBadge",
|
|
28
|
+
class: "el-bottom-bar-item-badge",
|
|
29
|
+
propsAsIs: !1
|
|
30
|
+
});
|
|
31
|
+
function M({
|
|
32
|
+
as: t,
|
|
33
|
+
children: e,
|
|
34
|
+
className: n,
|
|
35
|
+
icon: r,
|
|
36
|
+
hasBadge: s,
|
|
37
|
+
...m
|
|
38
|
+
}) {
|
|
39
|
+
return (
|
|
40
|
+
// NOTE: We use a type assertion here to avoid having to narrow the type of `rest` to the specific `Element` type.
|
|
41
|
+
/* @__PURE__ */ f(t, { ...m, className: O(N, n), children: [
|
|
42
|
+
/* @__PURE__ */ f(S, { "aria-hidden": "true", children: [
|
|
43
|
+
s && /* @__PURE__ */ o(_, {}),
|
|
44
|
+
r
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ o(R, { children: e })
|
|
47
|
+
] })
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
function k(t) {
|
|
51
|
+
return /* @__PURE__ */ o(M, { ...t, as: "a" });
|
|
52
|
+
}
|
|
53
|
+
function x(t) {
|
|
54
|
+
return /* @__PURE__ */ o(M, { as: "button", ...t });
|
|
55
|
+
}
|
|
56
|
+
const F = /* @__PURE__ */ a("menu")({
|
|
57
|
+
name: "ElBottomBarMenuList",
|
|
58
|
+
class: "el-bottom-bar-menu-list",
|
|
59
|
+
propsAsIs: !1
|
|
60
|
+
}), C = /* @__PURE__ */ a("li")({
|
|
61
|
+
name: "ElBottomBarMenuListItem",
|
|
62
|
+
class: "el-bottom-bar-menu-list-item",
|
|
63
|
+
propsAsIs: !1
|
|
64
|
+
});
|
|
65
|
+
function H({ children: t, ...e }) {
|
|
66
|
+
return /* @__PURE__ */ o(C, { children: /* @__PURE__ */ o(k, { ...e, children: t }) });
|
|
67
|
+
}
|
|
68
|
+
function W({
|
|
69
|
+
children: t,
|
|
70
|
+
icon: e = /* @__PURE__ */ o(j, {}),
|
|
71
|
+
id: n,
|
|
72
|
+
label: r = "More",
|
|
73
|
+
maxHeight: s,
|
|
74
|
+
maxWidth: m,
|
|
75
|
+
...c
|
|
76
|
+
}) {
|
|
77
|
+
const u = b(), B = n ?? b(), l = g(null), { isOpen: d } = y();
|
|
78
|
+
return v(
|
|
79
|
+
function() {
|
|
80
|
+
const I = l.current?.lastElementChild;
|
|
81
|
+
!d && I instanceof HTMLElement && I.hidePopover();
|
|
82
|
+
},
|
|
83
|
+
[d]
|
|
84
|
+
), /* @__PURE__ */ f(C, { ref: l, children: [
|
|
85
|
+
/* @__PURE__ */ o(
|
|
86
|
+
x,
|
|
87
|
+
{
|
|
88
|
+
...c,
|
|
89
|
+
...E.getTriggerProps({ id: B, popoverTarget: u, popoverTargetAction: "toggle" }),
|
|
90
|
+
icon: e,
|
|
91
|
+
children: r
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ o(E, { "aria-labelledby": B, id: u, maxHeight: s, maxWidth: m, placement: "top-end", children: t })
|
|
95
|
+
] });
|
|
96
|
+
}
|
|
97
|
+
function i({ children: t, ...e }) {
|
|
98
|
+
return /* @__PURE__ */ o(F, { ...e, children: t });
|
|
99
|
+
}
|
|
100
|
+
i.Item = H;
|
|
101
|
+
i.MenuItem = W;
|
|
102
|
+
const q = /* @__PURE__ */ a("div")({
|
|
103
|
+
name: "ElBottomBarContainer",
|
|
104
|
+
class: "el-bottom-bar-container",
|
|
105
|
+
propsAsIs: !1
|
|
106
|
+
}), z = /* @__PURE__ */ a("nav")({
|
|
107
|
+
name: "ElBottomBarNav",
|
|
108
|
+
class: "el-bottom-bar-nav",
|
|
109
|
+
propsAsIs: !1
|
|
110
|
+
}), D = (t) => {
|
|
111
|
+
const [e, n] = P(!0), r = g(0);
|
|
112
|
+
return v(
|
|
113
|
+
function() {
|
|
114
|
+
if (!t.current) return;
|
|
115
|
+
const m = t.current, c = new AbortController();
|
|
116
|
+
function u(B) {
|
|
117
|
+
const l = B.target;
|
|
118
|
+
n(r.current > l.scrollTop), r.current = l.scrollTop;
|
|
119
|
+
}
|
|
120
|
+
return m.addEventListener("scroll", u, {
|
|
121
|
+
signal: c.signal
|
|
122
|
+
}), () => {
|
|
123
|
+
c.abort();
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
[t]
|
|
127
|
+
), e;
|
|
128
|
+
};
|
|
129
|
+
function p({
|
|
130
|
+
"aria-label": t = "Bottom navigation",
|
|
131
|
+
children: e,
|
|
132
|
+
scrollContainerRef: n,
|
|
133
|
+
...r
|
|
134
|
+
}) {
|
|
135
|
+
const s = D(n);
|
|
136
|
+
return /* @__PURE__ */ o(q, { children: /* @__PURE__ */ o(z, { ...r, "aria-label": t, "data-is-open": s, children: /* @__PURE__ */ o(w, { isOpen: s, children: e }) }) });
|
|
137
|
+
}
|
|
138
|
+
p.Item = i.Item;
|
|
139
|
+
p.ItemButton = x;
|
|
140
|
+
p.MenuItem = i.MenuItem;
|
|
141
|
+
p.MenuList = i;
|
|
142
|
+
export {
|
|
143
|
+
p as B,
|
|
144
|
+
S as E,
|
|
145
|
+
k as a,
|
|
146
|
+
x as b,
|
|
147
|
+
M as c,
|
|
148
|
+
R as d,
|
|
149
|
+
N as e,
|
|
150
|
+
_ as f,
|
|
151
|
+
F as g,
|
|
152
|
+
C as h,
|
|
153
|
+
i,
|
|
154
|
+
q as j,
|
|
155
|
+
z as k,
|
|
156
|
+
D as u
|
|
157
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),n=require("react"),q=require("./index-8ctufnBx.cjs"),l=require("./index-Dmlb2--K.cjs"),v=require("./menu-DNfb22IS.cjs"),O=require("./icons/more.cjs"),M=n.createContext(null);function P({children:t,isOpen:o}){const r=n.useMemo(()=>({isOpen:o}),[o]);return e.jsx(M.Provider,{value:r,children:t})}function R(){const t=n.useContext(M);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",g=l.styled_default("span")({name:"ElBottomBarItemIcon",class:"el-bottom-bar-item-icon",propsAsIs:!1}),h=l.styled_default("span")({name:"ElBottomBarItemLabel",class:"el-bottom-bar-item-label",propsAsIs:!1}),L=l.styled_default("span")({name:"ElBottomBarItemBadge",class:"el-bottom-bar-item-badge",propsAsIs:!1});function f({as:t,children:o,className:r,icon:s,hasBadge:a,...B}){return e.jsxs(t,{...B,className:q.cx_default(j,r),children:[e.jsxs(g,{"aria-hidden":"true",children:[a&&e.jsx(L,{}),s]}),e.jsx(h,{children:o})]})}function C(t){return e.jsx(f,{...t,as:"a"})}function p(t){return e.jsx(f,{as:"button",...t})}const A=l.styled_default("menu")({name:"ElBottomBarMenuList",class:"el-bottom-bar-menu-list",propsAsIs:!1}),b=l.styled_default("li")({name:"ElBottomBarMenuListItem",class:"el-bottom-bar-menu-list-item",propsAsIs:!1});function N({children:t,...o}){return e.jsx(b,{children:e.jsx(C,{...o,children:t})})}function w({children:t,icon:o=e.jsx(O.MoreIcon,{}),id:r,label:s="More",maxHeight:a,maxWidth:B,...c}){const d=n.useId(),I=r??n.useId(),u=n.useRef(null),{isOpen:x}=R();return n.useEffect(function(){const E=u.current?.lastElementChild;!x&&E instanceof HTMLElement&&E.hidePopover()},[x]),e.jsxs(b,{ref:u,children:[e.jsx(p,{...c,...v.Menu.getTriggerProps({id:I,popoverTarget:d,popoverTargetAction:"toggle"}),icon:o,children:s}),e.jsx(v.Menu,{"aria-labelledby":I,id:d,maxHeight:a,maxWidth:B,placement:"top-end",children:t})]})}function m({children:t,...o}){return e.jsx(A,{...o,children:t})}m.Item=N;m.MenuItem=w;const y=l.styled_default("div")({name:"ElBottomBarContainer",class:"el-bottom-bar-container",propsAsIs:!1}),_=l.styled_default("nav")({name:"ElBottomBarNav",class:"el-bottom-bar-nav",propsAsIs:!1}),T=t=>{const[o,r]=n.useState(!0),s=n.useRef(0);return n.useEffect(function(){if(!t.current)return;const B=t.current,c=new AbortController;function d(I){const u=I.target;r(s.current>u.scrollTop),s.current=u.scrollTop}return B.addEventListener("scroll",d,{signal:c.signal}),()=>{c.abort()}},[t]),o};function i({"aria-label":t="Bottom navigation",children:o,scrollContainerRef:r,...s}){const a=T(r);return e.jsx(y,{children:e.jsx(_,{...s,"aria-label":t,"data-is-open":a,children:e.jsx(P,{isOpen:a,children:o})})})}i.Item=m.Item;i.ItemButton=p;i.MenuItem=m.MenuItem;i.MenuList=m;exports.BottomBar=i;exports.BottomBarItemAnchor=C;exports.BottomBarItemBase=f;exports.BottomBarItemButton=p;exports.BottomBarMenuList=m;exports.ElBottomBarContainer=y;exports.ElBottomBarItemBadge=L;exports.ElBottomBarItemIcon=g;exports.ElBottomBarItemLabel=h;exports.ElBottomBarMenuList=A;exports.ElBottomBarMenuListItem=b;exports.ElBottomBarNav=_;exports.elBottomBarItem=j;exports.useBottomBarObserver=T;
|
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { s
|
|
2
|
+
import { forwardRef as x, useRef as m, useEffect as b } from "react";
|
|
3
|
+
import { s } from "./index-YtxCR-9e.js";
|
|
4
4
|
import { L as t } from "./label-text-U5z-Dzzw.js";
|
|
5
|
-
|
|
5
|
+
import { m as d } from "./mergeRefs-DODigRi2.js";
|
|
6
|
+
const u = /* @__PURE__ */ s("svg")({
|
|
6
7
|
name: "ElCheckboxSvgIcon",
|
|
7
8
|
class: "el-checkbox-svg-icon",
|
|
8
9
|
propsAsIs: !1
|
|
9
|
-
}),
|
|
10
|
+
}), f = /* @__PURE__ */ s("svg")({
|
|
10
11
|
name: "ElCheckboxSelectedSvgIcon",
|
|
11
12
|
class: "el-checkbox-selected-svg-icon",
|
|
12
13
|
propsAsIs: !1
|
|
13
|
-
}),
|
|
14
|
+
}), k = /* @__PURE__ */ s("svg")({
|
|
14
15
|
name: "ElCheckboxIndeterminateSvgIcon",
|
|
15
16
|
class: "el-checkbox-indeterminate-svg-icon",
|
|
16
17
|
propsAsIs: !1
|
|
17
|
-
}),
|
|
18
|
+
}), C = /* @__PURE__ */ s("label")({
|
|
18
19
|
name: "ElCheckbox",
|
|
19
20
|
class: "el-checkbox",
|
|
20
21
|
propsAsIs: !1
|
|
21
|
-
}),
|
|
22
|
+
}), I = /* @__PURE__ */ s("input")({
|
|
22
23
|
name: "ElCheckboxInput",
|
|
23
24
|
class: "el-checkbox-input",
|
|
24
25
|
propsAsIs: !1
|
|
25
|
-
}),
|
|
26
|
+
}), g = () => t, v = /* @__PURE__ */ s(g())({
|
|
26
27
|
name: "ElCheckboxLabelText",
|
|
27
28
|
class: "el-checkbox-label-text",
|
|
28
29
|
propsAsIs: !0
|
|
29
|
-
}),
|
|
30
|
+
}), E = () => t, w = /* @__PURE__ */ s(E())({
|
|
30
31
|
name: "ElCheckboxSupplementaryInfo",
|
|
31
32
|
class: "el-checkbox-supplementary-info",
|
|
32
33
|
propsAsIs: !0
|
|
33
|
-
}),
|
|
34
|
+
}), A = (o) => /* @__PURE__ */ e(u, { ...o, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ e(
|
|
34
35
|
"path",
|
|
35
36
|
{
|
|
36
37
|
fill: "currentColor",
|
|
37
38
|
d: "M20,2H4A2,2,0,0,0,2,4V20a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V4A2,2,0,0,0,20,2Zm0,18H4V4H20Z"
|
|
38
39
|
}
|
|
39
|
-
) }),
|
|
40
|
+
) }), H = (o) => /* @__PURE__ */ e(f, { ...o, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ e(
|
|
40
41
|
"path",
|
|
41
42
|
{
|
|
42
43
|
fill: "currentColor",
|
|
43
44
|
d: "M20,2H4A2,2,0,0,0,2,4V20a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V4A2,2,0,0,0,20,2ZM18,9.17l-7.07,7.07a1,1,0,0,1-.71.3,1,1,0,0,1-.7-.3L6,12.71a1,1,0,0,1,0-1.42,1,1,0,0,1,1.41,0l2.83,2.83L16.6,7.76A1,1,0,0,1,18,9.17Z"
|
|
44
45
|
}
|
|
45
|
-
) }),
|
|
46
|
+
) }), S = (o) => /* @__PURE__ */ n(k, { ...o, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: [
|
|
46
47
|
/* @__PURE__ */ e(
|
|
47
48
|
"path",
|
|
48
49
|
{
|
|
@@ -51,26 +52,21 @@ const b = /* @__PURE__ */ c("svg")({
|
|
|
51
52
|
}
|
|
52
53
|
),
|
|
53
54
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M8,13h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z" })
|
|
54
|
-
] }),
|
|
55
|
-
label: o,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
s && /* @__PURE__ */ e(w, { "aria-hidden": !0 }),
|
|
70
|
-
/* @__PURE__ */ e(C, { variant: "strong", size: "medium", isRequired: a, children: o }),
|
|
71
|
-
/* @__PURE__ */ e(v, { variant: "soft", size: "small", children: r })
|
|
72
|
-
] });
|
|
73
|
-
};
|
|
55
|
+
] }), R = x(
|
|
56
|
+
({ label: o, supplementaryInfo: r, required: a, isIndeterminate: c = !1, className: h, ...i }, p) => {
|
|
57
|
+
const l = m(null);
|
|
58
|
+
return b(() => {
|
|
59
|
+
l.current && (l.current.indeterminate = !!c);
|
|
60
|
+
}, [c]), /* @__PURE__ */ n(C, { className: h, children: [
|
|
61
|
+
/* @__PURE__ */ e(I, { type: "checkbox", ref: d(l, p), ...i, "aria-hidden": !0 }),
|
|
62
|
+
/* @__PURE__ */ e(A, { "aria-hidden": !0 }),
|
|
63
|
+
/* @__PURE__ */ e(H, { "aria-hidden": !0 }),
|
|
64
|
+
c && /* @__PURE__ */ e(S, { "aria-hidden": !0 }),
|
|
65
|
+
/* @__PURE__ */ e(v, { variant: "strong", size: "medium", isRequired: a, children: o }),
|
|
66
|
+
/* @__PURE__ */ e(w, { variant: "soft", size: "small", children: r })
|
|
67
|
+
] });
|
|
68
|
+
}
|
|
69
|
+
);
|
|
74
70
|
export {
|
|
75
|
-
|
|
71
|
+
R as C
|
|
76
72
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("react"),l=require("./index-Dmlb2--K.cjs"),n=require("./label-text-nJNHhf42.cjs"),d=require("./mergeRefs-D-i3MDCB.cjs"),u=l.styled_default("svg")({name:"ElCheckboxSvgIcon",class:"el-checkbox-svg-icon",propsAsIs:!1}),p=l.styled_default("svg")({name:"ElCheckboxSelectedSvgIcon",class:"el-checkbox-selected-svg-icon",propsAsIs:!1}),b=l.styled_default("svg")({name:"ElCheckboxIndeterminateSvgIcon",class:"el-checkbox-indeterminate-svg-icon",propsAsIs:!1}),f=l.styled_default("label")({name:"ElCheckbox",class:"el-checkbox",propsAsIs:!1}),k=l.styled_default("input")({name:"ElCheckboxInput",class:"el-checkbox-input",propsAsIs:!1}),m=()=>n.LabelText,C=l.styled_default(m())({name:"ElCheckboxLabelText",class:"el-checkbox-label-text",propsAsIs:!0}),g=()=>n.LabelText,I=l.styled_default(g())({name:"ElCheckboxSupplementaryInfo",class:"el-checkbox-supplementary-info",propsAsIs:!0}),v=s=>e.jsx(u,{...s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M20,2H4A2,2,0,0,0,2,4V20a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V4A2,2,0,0,0,20,2Zm0,18H4V4H20Z"})}),E=s=>e.jsx(p,{...s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M20,2H4A2,2,0,0,0,2,4V20a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V4A2,2,0,0,0,20,2ZM18,9.17l-7.07,7.07a1,1,0,0,1-.71.3,1,1,0,0,1-.7-.3L6,12.71a1,1,0,0,1,0-1.42,1,1,0,0,1,1.41,0l2.83,2.83L16.6,7.76A1,1,0,0,1,18,9.17Z"})}),w=s=>e.jsxs(b,{...s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[e.jsx("path",{fill:"currentColor",d:"M20,2H4A2,2,0,0,0,2,4V20a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V4A2,2,0,0,0,20,2Zm0,18H4V4H20Z"}),e.jsx("path",{fill:"currentColor",d:"M8,13h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"})]}),j=o.forwardRef(({label:s,supplementaryInfo:r,required:a,isIndeterminate:t=!1,className:x,...i},h)=>{const c=o.useRef(null);return o.useEffect(()=>{c.current&&(c.current.indeterminate=!!t)},[t]),e.jsxs(f,{className:x,children:[e.jsx(k,{type:"checkbox",ref:d.mergeRefs(c,h),...i,"aria-hidden":!0}),e.jsx(v,{"aria-hidden":!0}),e.jsx(E,{"aria-hidden":!0}),t&&e.jsx(w,{"aria-hidden":!0}),e.jsx(C,{variant:"strong",size:"medium",isRequired:a,children:s}),e.jsx(I,{variant:"soft",size:"small",children:r})]})});exports.Checkbox=j;
|