@reapit/elements 5.0.0-beta.63 → 5.0.0-beta.64
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-BZ8aTzRd.cjs → app-switcher-Bx4ETRrk.cjs} +1 -1
- package/dist/js/{app-switcher-BdPf6bH2.js → app-switcher-DtVdB7JO.js} +1 -1
- package/dist/js/{autocomplete-La_vezgN.cjs → autocomplete-CYxComaA.cjs} +1 -1
- package/dist/js/{autocomplete-DvWmVjF3.js → autocomplete-D3dPhE8Z.js} +1 -1
- package/dist/js/autocomplete-control-CjSBJS9l.cjs +1 -0
- package/dist/js/{autocomplete-control-z_FFlogU.js → autocomplete-control-ciJlNJl0.js} +18 -17
- package/dist/js/{badge-CwBwwP4y.js → badge-B4weQtHe.js} +2 -2
- package/dist/js/{badge-mMmZbI52.cjs → badge-Bms7oWTK.cjs} +1 -1
- package/dist/js/{combobox-BIr0IlJH.js → combobox-CZZ5mxom.js} +352 -346
- package/dist/js/combobox-DtvFjGJH.cjs +1 -0
- package/dist/js/core/app-switcher.cjs +1 -1
- package/dist/js/core/app-switcher.js +1 -1
- package/dist/js/core/autocomplete-control.cjs +1 -1
- package/dist/js/core/autocomplete-control.js +1 -1
- package/dist/js/core/autocomplete.cjs +1 -1
- package/dist/js/core/autocomplete.js +1 -1
- package/dist/js/core/badge.cjs +1 -1
- package/dist/js/core/badge.js +1 -1
- package/dist/js/core/combobox.cjs +1 -1
- package/dist/js/core/combobox.js +1 -1
- package/dist/js/core/compact-select.cjs +1 -1
- package/dist/js/core/compact-select.js +13 -14
- package/dist/js/core/dialog.cjs +1 -1
- package/dist/js/core/dialog.js +1 -1
- package/dist/js/core/drawer.cjs +1 -1
- package/dist/js/core/drawer.js +1 -1
- package/dist/js/core/select-control.cjs +1 -1
- package/dist/js/core/select-control.js +1 -1
- package/dist/js/core/select.cjs +1 -1
- package/dist/js/core/select.js +1 -1
- package/dist/js/core/top-bar.cjs +1 -1
- package/dist/js/core/top-bar.js +1 -1
- package/dist/js/{dialog-CIcqgltv.cjs → dialog-C370PWIM.cjs} +1 -1
- package/dist/js/{dialog-GJqo4qVv.js → dialog-CiDAA5dI.js} +1 -1
- package/dist/js/{drawer-zFOSlbq5.js → drawer-CN1TJt10.js} +40 -40
- package/dist/js/drawer-D5SIlpKa.cjs +1 -0
- package/dist/js/index.cjs +1 -1
- package/dist/js/index.js +10 -10
- package/dist/js/lab/select-custom.cjs +1 -1
- package/dist/js/lab/select-custom.js +1 -1
- package/dist/js/{select-4533UXdq.cjs → select-D8uav0QV.cjs} +1 -1
- package/dist/js/{select-DQDeg7fv.js → select-_dfxrGPp.js} +1 -1
- package/dist/js/select-control-DmXnYhjM.js +61 -0
- package/dist/js/select-control-Dmqk_gJz.cjs +1 -0
- package/dist/js/style.css +1 -1
- package/dist/js/{top-bar-Cqg-4b4q.js → top-bar-Bx1mIKx-.js} +2 -2
- package/dist/js/{top-bar-n9uphHG2.cjs → top-bar-D_PdGmRH.cjs} +1 -1
- package/dist/types/core/autocomplete-control/autocomplete-control.d.ts.map +1 -1
- package/dist/types/core/avatar/avatar.stories.d.ts +1 -1
- package/dist/types/core/avatar/avatar.stories.d.ts.map +1 -1
- package/dist/types/core/combobox/button/button.d.ts.map +1 -1
- package/dist/types/core/combobox/button/styles.d.ts.map +1 -1
- package/dist/types/core/combobox/combobox.d.ts +1 -1
- package/dist/types/core/combobox/combobox.d.ts.map +1 -1
- package/dist/types/core/combobox/combobox.stories.d.ts.map +1 -1
- package/dist/types/core/combobox/context.d.ts +2 -0
- package/dist/types/core/combobox/context.d.ts.map +1 -1
- package/dist/types/core/combobox/popup-dialog/popup-dialog.d.ts +1 -1
- package/dist/types/core/combobox/popup-dialog/popup-dialog.d.ts.map +1 -1
- package/dist/types/core/combobox/use-button.d.ts +2 -0
- package/dist/types/core/combobox/use-button.d.ts.map +1 -1
- package/dist/types/core/compact-select/compact-select-button.d.ts.map +1 -1
- package/dist/types/core/compact-select/styles.d.ts.map +1 -1
- package/dist/types/core/drawer/use-cancel-close-requests.d.ts +1 -1
- package/dist/types/core/drawer/use-cancel-close-requests.d.ts.map +1 -1
- package/dist/types/core/form-control/label/label.d.ts +2 -2
- package/dist/types/core/form-control/label/label.d.ts.map +1 -1
- package/dist/types/core/select-control/select-control.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/js/autocomplete-control-k6KIqBZv.cjs +0 -1
- package/dist/js/combobox-BT2RnqxH.cjs +0 -1
- package/dist/js/drawer-ClnTbHbU.cjs +0 -1
- package/dist/js/select-control-DQzPYv20.cjs +0 -1
- package/dist/js/select-control-DWObhHin.js +0 -60
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),r=require("react"),p=require("./menu-3uzyqdE-.cjs"),d=require("./index-Dmlb2--K.cjs"),V=require("./icons/app-switcher.cjs");require("./avatar-B0abtPQ0.cjs");const j=require("./top-bar-n9uphHG2.cjs");require("./icons/chevron-down.cjs");require("./tooltip-CFeEMRgw.cjs");const B="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%23607890'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",D="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%234E56EA'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",P="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",H="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.703-7.946%2011.706-.16.032-.255.064-.382.064a.82.82%200%200%201-.794-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-6.075-5.054-11.006-11.284-11.006S8.685%2014.418%208.685%2020.46c0%203.881%202.13%207.507%205.562%209.479l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.51%205.51%200%200%201-1.251-.324%206.643%206.643%200%200%201-4.163-4.325c-.255-.89.413-1.813%201.398-1.813h10.108c.985%200%201.652.923%201.398%201.813-.751%202.495-2.979%204.393-5.717%204.674-.442%202.671-2.5%204.613-5.058%204.613a4.77%204.77%200%200%201-2.034-.445l-.319-.128C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.817%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.636.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.285.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",G="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.702-7.946%2011.706-.159.032-.254.064-.381.064a.821.821%200%200%201-.795-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-5.885-4.743-10.697-10.703-10.992l-.581-.013c-6.23%200-11.283%204.962-11.283%2011.005%200%203.881%202.13%207.508%205.562%209.48l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.515%205.515%200%200%201-1.251-.324%206.644%206.644%200%200%201-4.164-4.326c-.254-.89.414-1.813%201.4-1.813h10.107c.985%200%201.652.922%201.398%201.813-.75%202.495-2.978%204.392-5.716%204.674-.442%202.672-2.5%204.613-5.06%204.613-.73%200-1.43-.159-2.034-.445l-.318-.127C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.816%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.635.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.286.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",C="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",L="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",N="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",W="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",O="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",U="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",q="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",T="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",Y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",k="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",K="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234C56F3'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%234C56F3'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e",X="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%23607890'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e";function m({hasAccess:t,productId:a}){switch(a){case"agentBox":return t?e.jsx("img",{src:k}):e.jsx("img",{src:Y});case"autoResponder":return t?e.jsx("img",{src:D}):e.jsx("img",{src:B});case"consoleCloud":return t?e.jsx("img",{src:U}):e.jsx("img",{src:O});case"ireBdm":return t?e.jsx("img",{src:$}):e.jsx("img",{src:X});case"ireWeb":return t?e.jsx("img",{src:W}):e.jsx("img",{src:N});case"mmiWeb":return t?e.jsx("img",{src:G}):e.jsx("img",{src:R});case"reapitForms":return t?e.jsx("img",{src:L}):e.jsx("img",{src:C});case"reapitWebsites":return t?e.jsx("img",{src:z}):e.jsx("img",{src:K});case"reapitProposals":return t?e.jsx("img",{src:T}):e.jsx("img",{src:q});case"keyWhere":return t?e.jsx("img",{src:H}):e.jsx("img",{src:P})}}const h=r.createContext(!1);function u(){return r.useContext(h)}function v({children:t}){return e.jsx(p.Menu.Group,{label:"EXPLORE",children:e.jsx(h.Provider,{value:!1,children:t})})}const f=d.styled_default("a")({name:"ElAppSwitcherMenuItemAnchor",class:"el-app-switcher-menu-item-anchor",propsAsIs:!1}),w=d.styled_default("div")({name:"ElAppSwitcherMenuItemAvatar",class:"el-app-switcher-menu-item-avatar",propsAsIs:!1}),x=d.styled_default("span")({name:"ElAppSwitcherMenuItemLabel",class:"el-app-switcher-menu-item-label",propsAsIs:!1}),M=d.styled_default("span")({name:"ElAppSwitcherMenuItemSupplementaryInfo",class:"el-app-switcher-menu-item-supplementary-info",propsAsIs:!1});function A({avatar:t,appName:a,href:l,supplementaryInfo:i,...c}){const n=r.useId(),o=r.useId();return e.jsxs(f,{...c,"aria-labelledby":n,"aria-describedby":o,href:l,target:"_blank",rel:"noreferrer",children:[e.jsx(w,{"aria-hidden":!0,children:t}),e.jsx(x,{id:n,children:a}),e.jsx(M,{id:o,children:i})]})}function Z({"aria-label":t,...a}){return e.jsx(j.TopBarNavIconItemButton,{...a,"aria-label":t??"App Switcher",icon:e.jsx(V.AppSwitcherIcon,{})})}const J={autoResponder:{appName:"Auto Responder",supplementaryInfo:"Auto-enquiry follow up"},agentBox:{appName:"Reapit Sales",supplementaryInfo:"Real estate CRM"},consoleCloud:{appName:"Reapit PM",supplementaryInfo:"Property management"},ireBdm:{appName:"Lettings BDM",supplementaryInfo:"Business development"},ireWeb:{appName:"Reapit Lettings",supplementaryInfo:"Leasing management"},keyWhere:{appName:"KeyWhere",supplementaryInfo:"Key management"},mmiWeb:{appName:"Move Me In",supplementaryInfo:"Utility connections service"},reapitForms:{appName:"Reapit Forms",supplementaryInfo:"Documents & digital signing"},reapitWebsites:{appName:"Reapit Websites",supplementaryInfo:"Website builder"},reapitProposals:{appName:"Reapit Proposals",supplementaryInfo:"Interactive digital proposals"}},F=["ireWeb","consoleCloud","agentBox","keyWhere","ireBdm","mmiWeb"];function I({appName:t,avatar:a,href:l,productId:i,supplementaryInfo:c,...n}){const o=u(),{appName:E,supplementaryInfo:_}=J[i];return e.jsx(s.MenuItem,{...n,appName:t??E,avatar:a??e.jsx(s.AppAvatar,{hasAccess:o,productId:i}),href:l,supplementaryInfo:c??_})}function b({children:t}){return e.jsx(p.Menu.Group,{label:"YOUR APPS",children:e.jsx(h.Provider,{value:!0,children:t})})}function g(t,a){for(const l of a)if(new RegExp(`^${l}$`,"i").test(t))return!0;return!1}function y(t){return F.filter(a=>g(a,t))}function S(t){return F.filter(a=>!g(a,t))}function s({children:t,id:a,...l}){const i=a??r.useId(),c=r.useId();return e.jsxs(e.Fragment,{children:[e.jsx(Z,{...l,...p.Menu.getTriggerProps({id:i,popoverTarget:c,popoverTargetAction:"toggle"})}),e.jsx(p.Menu,{"aria-labelledby":i,id:c,placement:"bottom-start",children:t})]})}s.AppAvatar=m;s.Divider=p.Menu.Divider;s.ExploreMenuGroup=v;s.MenuItem=A;s.ProductMenuItem=I;s.YourAppsMenuGroup=b;s.getDisplayableProductsForExploreGroup=S;s.getDisplayableProductsForYourAppsGroup=y;exports.AppAvatar=m;exports.AppSwitcher=s;exports.AppSwitcherExploreMenuGroup=v;exports.AppSwitcherMenuGroupHasAccessContext=h;exports.AppSwitcherMenuItem=A;exports.AppSwitcherNavIconButton=Z;exports.AppSwitcherProductMenuItem=I;exports.AppSwitcherYourAppsMenuGroup=b;exports.ElAppSwitcherMenuItemAnchor=f;exports.ElAppSwitcherMenuItemAvatar=w;exports.ElAppSwitcherMenuItemLabel=x;exports.ElAppSwitcherMenuItemSupplementaryInfo=M;exports.getDisplayableProductsForExploreGroup=S;exports.getDisplayableProductsForYourAppsGroup=y;exports.isProductAccessible=g;exports.useAppSwitcherMenuGroupHasAccessContext=u;
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("react"),p=require("./menu-3uzyqdE-.cjs"),d=require("./index-Dmlb2--K.cjs"),V=require("./icons/app-switcher.cjs");require("./avatar-B0abtPQ0.cjs");const j=require("./top-bar-D_PdGmRH.cjs");require("./icons/chevron-down.cjs");require("./tooltip-CFeEMRgw.cjs");const B="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%23607890'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",D="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%234E56EA'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e",P="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",H="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e",R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.703-7.946%2011.706-.16.032-.255.064-.382.064a.82.82%200%200%201-.794-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-6.075-5.054-11.006-11.284-11.006S8.685%2014.418%208.685%2020.46c0%203.881%202.13%207.507%205.562%209.479l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.51%205.51%200%200%201-1.251-.324%206.643%206.643%200%200%201-4.163-4.325c-.255-.89.413-1.813%201.398-1.813h10.108c.985%200%201.652.923%201.398%201.813-.751%202.495-2.979%204.393-5.717%204.674-.442%202.671-2.5%204.613-5.058%204.613a4.77%204.77%200%200%201-2.034-.445l-.319-.128C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.817%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.636.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.285.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",G="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.702-7.946%2011.706-.159.032-.254.064-.381.064a.821.821%200%200%201-.795-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-5.885-4.743-10.697-10.703-10.992l-.581-.013c-6.23%200-11.283%204.962-11.283%2011.005%200%203.881%202.13%207.508%205.562%209.48l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.515%205.515%200%200%201-1.251-.324%206.644%206.644%200%200%201-4.164-4.326c-.254-.89.414-1.813%201.4-1.813h10.107c.985%200%201.652.922%201.398%201.813-.75%202.495-2.978%204.392-5.716%204.674-.442%202.672-2.5%204.613-5.06%204.613-.73%200-1.43-.159-2.034-.445l-.318-.127C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.816%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.635.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.286.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",C="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",L="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e",N="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",W="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",O="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",U="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",q="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",T="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e",Y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",k="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",K="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e",$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234C56F3'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%234C56F3'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e",X="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%23607890'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e";function m({hasAccess:t,productId:a}){switch(a){case"agentBox":return t?e.jsx("img",{src:k}):e.jsx("img",{src:Y});case"autoResponder":return t?e.jsx("img",{src:D}):e.jsx("img",{src:B});case"consoleCloud":return t?e.jsx("img",{src:U}):e.jsx("img",{src:O});case"ireBdm":return t?e.jsx("img",{src:$}):e.jsx("img",{src:X});case"ireWeb":return t?e.jsx("img",{src:W}):e.jsx("img",{src:N});case"mmiWeb":return t?e.jsx("img",{src:G}):e.jsx("img",{src:R});case"reapitForms":return t?e.jsx("img",{src:L}):e.jsx("img",{src:C});case"reapitWebsites":return t?e.jsx("img",{src:z}):e.jsx("img",{src:K});case"reapitProposals":return t?e.jsx("img",{src:T}):e.jsx("img",{src:q});case"keyWhere":return t?e.jsx("img",{src:H}):e.jsx("img",{src:P})}}const h=r.createContext(!1);function u(){return r.useContext(h)}function v({children:t}){return e.jsx(p.Menu.Group,{label:"EXPLORE",children:e.jsx(h.Provider,{value:!1,children:t})})}const f=d.styled_default("a")({name:"ElAppSwitcherMenuItemAnchor",class:"el-app-switcher-menu-item-anchor",propsAsIs:!1}),w=d.styled_default("div")({name:"ElAppSwitcherMenuItemAvatar",class:"el-app-switcher-menu-item-avatar",propsAsIs:!1}),x=d.styled_default("span")({name:"ElAppSwitcherMenuItemLabel",class:"el-app-switcher-menu-item-label",propsAsIs:!1}),M=d.styled_default("span")({name:"ElAppSwitcherMenuItemSupplementaryInfo",class:"el-app-switcher-menu-item-supplementary-info",propsAsIs:!1});function A({avatar:t,appName:a,href:l,supplementaryInfo:i,...c}){const n=r.useId(),o=r.useId();return e.jsxs(f,{...c,"aria-labelledby":n,"aria-describedby":o,href:l,target:"_blank",rel:"noreferrer",children:[e.jsx(w,{"aria-hidden":!0,children:t}),e.jsx(x,{id:n,children:a}),e.jsx(M,{id:o,children:i})]})}function Z({"aria-label":t,...a}){return e.jsx(j.TopBarNavIconItemButton,{...a,"aria-label":t??"App Switcher",icon:e.jsx(V.AppSwitcherIcon,{})})}const J={autoResponder:{appName:"Auto Responder",supplementaryInfo:"Auto-enquiry follow up"},agentBox:{appName:"Reapit Sales",supplementaryInfo:"Real estate CRM"},consoleCloud:{appName:"Reapit PM",supplementaryInfo:"Property management"},ireBdm:{appName:"Lettings BDM",supplementaryInfo:"Business development"},ireWeb:{appName:"Reapit Lettings",supplementaryInfo:"Leasing management"},keyWhere:{appName:"KeyWhere",supplementaryInfo:"Key management"},mmiWeb:{appName:"Move Me In",supplementaryInfo:"Utility connections service"},reapitForms:{appName:"Reapit Forms",supplementaryInfo:"Documents & digital signing"},reapitWebsites:{appName:"Reapit Websites",supplementaryInfo:"Website builder"},reapitProposals:{appName:"Reapit Proposals",supplementaryInfo:"Interactive digital proposals"}},F=["ireWeb","consoleCloud","agentBox","keyWhere","ireBdm","mmiWeb"];function I({appName:t,avatar:a,href:l,productId:i,supplementaryInfo:c,...n}){const o=u(),{appName:E,supplementaryInfo:_}=J[i];return e.jsx(s.MenuItem,{...n,appName:t??E,avatar:a??e.jsx(s.AppAvatar,{hasAccess:o,productId:i}),href:l,supplementaryInfo:c??_})}function b({children:t}){return e.jsx(p.Menu.Group,{label:"YOUR APPS",children:e.jsx(h.Provider,{value:!0,children:t})})}function g(t,a){for(const l of a)if(new RegExp(`^${l}$`,"i").test(t))return!0;return!1}function y(t){return F.filter(a=>g(a,t))}function S(t){return F.filter(a=>!g(a,t))}function s({children:t,id:a,...l}){const i=a??r.useId(),c=r.useId();return e.jsxs(e.Fragment,{children:[e.jsx(Z,{...l,...p.Menu.getTriggerProps({id:i,popoverTarget:c,popoverTargetAction:"toggle"})}),e.jsx(p.Menu,{"aria-labelledby":i,id:c,placement:"bottom-start",children:t})]})}s.AppAvatar=m;s.Divider=p.Menu.Divider;s.ExploreMenuGroup=v;s.MenuItem=A;s.ProductMenuItem=I;s.YourAppsMenuGroup=b;s.getDisplayableProductsForExploreGroup=S;s.getDisplayableProductsForYourAppsGroup=y;exports.AppAvatar=m;exports.AppSwitcher=s;exports.AppSwitcherExploreMenuGroup=v;exports.AppSwitcherMenuGroupHasAccessContext=h;exports.AppSwitcherMenuItem=A;exports.AppSwitcherNavIconButton=Z;exports.AppSwitcherProductMenuItem=I;exports.AppSwitcherYourAppsMenuGroup=b;exports.ElAppSwitcherMenuItemAnchor=f;exports.ElAppSwitcherMenuItemAvatar=w;exports.ElAppSwitcherMenuItemLabel=x;exports.ElAppSwitcherMenuItemSupplementaryInfo=M;exports.getDisplayableProductsForExploreGroup=S;exports.getDisplayableProductsForYourAppsGroup=y;exports.isProductAccessible=g;exports.useAppSwitcherMenuGroupHasAccessContext=u;
|
|
@@ -4,7 +4,7 @@ import { k as r } from "./menu-B0COo9_q.js";
|
|
|
4
4
|
import { s as g } from "./index-YtxCR-9e.js";
|
|
5
5
|
import { AppSwitcherIcon as Z } from "./icons/app-switcher.js";
|
|
6
6
|
import "./avatar-VyxUOz5Y.js";
|
|
7
|
-
import { k as A } from "./top-bar-
|
|
7
|
+
import { k as A } from "./top-bar-Bx1mIKx-.js";
|
|
8
8
|
import "./icons/chevron-down.js";
|
|
9
9
|
import "./tooltip-CPCyw6HR.js";
|
|
10
10
|
const F = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%23607890'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e", b = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M17.01%2020.678V18.39l-7.844%206.822%207.843%206.746V29.77c6.655-.082%2012.74-3.402%2012.74-6.755v-6.67c-3.157%204.295-11.41%204.352-12.74%204.333Z'/%3e%3cpath%20fill='%234E56EA'%20d='M29.437%2013.618c-.581-5.312-9.128-6.367-12.428-6.576v8.667c4.476.192%207.105%201.594%208.066%202.031.772-.366%203.477-1.787%204.362-4.122Z'/%3e%3c/svg%3e", y = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e", I = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m30.68%2023.655-4.2-4.196%203.989-3.984a4.243%204.243%200%200%200%200-5.986%204.257%204.257%200%200%200-5.995%200l-6.815%206.903-.014.025v-4.059c0-2.329-1.907-4.233-4.24-4.233-2.331%200-4.239%201.904-4.239%204.233v14.165c0%201.163.476%202.222%201.245%202.989l-.008.015a4.257%204.257%200%200%200%205.995%200l4.113-4.108%204.175%204.222a4.257%204.257%200%200%200%205.995%200%204.243%204.243%200%200%200%200-5.987v.001ZM13.407%208.764a3.558%203.558%200%200%201%203.56%203.555%203.558%203.558%200%200%201-3.56%203.555%203.558%203.558%200%200%201-3.56-3.555%203.558%203.558%200%200%201%203.56-3.555Zm.025%2021.314a3.532%203.532%200%201%201%200-7.063%203.532%203.532%200%201%201%200%207.063Zm10.472-17.915a3.558%203.558%200%200%201%203.803-3.293%203.556%203.556%200%200%201%203.298%203.799A3.558%203.558%200%200%201%2027.2%2015.96a3.556%203.556%200%200%201-3.297-3.798Zm3.994%2018.136a3.647%203.647%200%200%201-3.847-3.435%203.646%203.646%200%200%201%203.44-3.842%203.644%203.644%200%201%201%20.408%207.276Z'/%3e%3c/svg%3e", E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.703-7.946%2011.706-.16.032-.255.064-.382.064a.82.82%200%200%201-.794-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-6.075-5.054-11.006-11.284-11.006S8.685%2014.418%208.685%2020.46c0%203.881%202.13%207.507%205.562%209.479l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.51%205.51%200%200%201-1.251-.324%206.643%206.643%200%200%201-4.163-4.325c-.255-.89.413-1.813%201.398-1.813h10.108c.985%200%201.652.923%201.398%201.813-.751%202.495-2.979%204.393-5.717%204.674-.442%202.671-2.5%204.613-5.058%204.613a4.77%204.77%200%200%201-2.034-.445l-.319-.128C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.817%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.636.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.285.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", V = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M20%207.769c7.183%200%2013%205.694%2013%2012.692%200%205.122-3.115%209.702-7.946%2011.706-.159.032-.254.064-.381.064a.821.821%200%200%201-.795-.541c-.19-.445.032-.923.477-1.113%204.195-1.718%206.897-5.694%206.897-10.116%200-5.885-4.743-10.697-10.703-10.992l-.581-.013c-6.23%200-11.283%204.962-11.283%2011.005%200%203.881%202.13%207.508%205.562%209.48l.223.096c.381.19.826.286%201.303.286%201.623%200%202.933-1.227%203.317-2.952a5.515%205.515%200%200%201-1.251-.324%206.644%206.644%200%200%201-4.164-4.326c-.254-.89.414-1.813%201.4-1.813h10.107c.985%200%201.652.922%201.398%201.813-.75%202.495-2.978%204.392-5.716%204.674-.442%202.672-2.5%204.613-5.06%204.613-.73%200-1.43-.159-2.034-.445l-.318-.127C9.48%2029.177%207%2024.946%207%2020.461%207%2013.463%2012.816%207.77%2020%207.77Zm-2.701%206.774c.35%200%20.635.286.636.635v4.2h-2.512v-4.2c0-.35.286-.635.636-.636h1.24Zm6.96%200c.35%200%20.636.286.636.635v4.2h-2.51v-4.2c0-.35.286-.636.635-.636h1.24Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", _ = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e", S = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M31.917%208.042%207%2020.181l8.608%202.32%2010.827-8.6-7.233%2010.466%209.373%208.591%203.341-24.916Z'/%3e%3c/svg%3e", B = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", D = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-lettings__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M32.576%206C12.293%206%208.776%2025.887%207.424%2034H9.1c.45-2.977%203.493-14.748%2010.899-20.287%200%200-5.633%206.976-6.572%2015.051%203.426-.652%2013.845-3.372%2016.056-12.927l-3.84-.61c1.352-1.351%204.909-5.17%206.931-9.226V6Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-lettings__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", P = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", H = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-pm__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M8.375%2013v14L20.5%2034l12.124-7v-7.737l-1.687-.975-2.806-1.62-1.082-.624v4.83l-.002%204.83H13.95V16.07l3.275-1.89%202.192-1.265%201.082-.625%203.275%201.877%202.192%201.256%201.083.62V9.782L20.5%206%208.376%2013Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-pm__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", R = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e", C = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='M16.037%2011.648c-1.782-1.53-4.199-2.515-6.87-2.628v17.178c2.956.114%205.632%201.198%207.6%202.889.968.832%201.766%201.81%202.343%202.893V17.993c0-2.47-1.177-4.717-3.073-6.345ZM30.833%209.02c-2.671.113-5.089%201.098-6.87%202.628-1.896%201.628-3.073%203.874-3.073%206.344V31.98a10.076%2010.076%200%200%201%202.343-2.893c1.968-1.691%204.644-2.776%207.6-2.89V9.02Z'/%3e%3c/svg%3e", G = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales-disabled__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales-disabled__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.075'%20stop-color='%23798DA1'/%3e%3cstop%20offset='.575'%20stop-color='%23607890'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", L = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='url(%23reapit-sales__a)'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23fff'%20d='M10.41%206v3.779h15.048v19.537h4.132V6H10.41Z'/%3e%3cpath%20fill='%23fff'%20d='M20.967%2034V13.837L10.41%209.78v20.166L20.967%2034Z'/%3e%3cdefs%3e%3clinearGradient%20id='reapit-sales__a'%20x1='20.702'%20x2='20.702'%20y1='.351'%20y2='31.228'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235573FD'/%3e%3cstop%20offset='.575'%20stop-color='%234E56EA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", N = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e", W = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234E56EA'%20d='m17.713%2016.581%203.058%203.057c2.352%202.352%204.84.257%205.793-1.265.562-.896%201.067-1.752%201.438-2.585.868-1.95%201.001-3.5.356-4.146-.646-.645-2.195-.512-4.146.356-2.06.917-4.346%202.533-6.498%204.583Zm8.355-6.841c-4.35-2.577-9.987-2.148-13.909%201.287l4.421%204.421c3.38-3.231%206.857-5.262%209.488-5.707Zm-15.041%202.419c-3.435%203.922-3.864%209.559-1.286%2013.909.445-2.632%202.475-6.108%205.707-9.488l-4.421-4.421Zm8.988%2015.231.002-.002c-2.217%201.58-4.337%202.576-6.084%202.871%204.35%202.578%209.986%202.149%2013.909-1.286l-1.736-1.736c-2.567-2.567-4.366-1-6.091.153Zm-3.72.374c2.521-1.384%206.276-4.061%202.851-7.486l-2.565-2.565c-2.05%202.153-3.665%204.438-4.582%206.5-.868%201.95-1.001%203.5-.356%204.145.646.646%202.195.512%204.146-.355.168-.075.336-.155.506-.239ZM30.26%2013.931c-.304%201.798-1.35%203.99-3.01%206.275-.137.176-.276.36-.412.551-.987%201.392-1.778%203.17.312%205.261l1.824%201.824c3.433-3.923%203.863-9.56%201.286-13.91Z'/%3e%3c/svg%3e", O = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23ECF3FF'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%234C56F3'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%234C56F3'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e", U = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23F2F4F6'%20d='M0%208a8%208%200%200%201%208-8h24a8%208%200%200%201%208%208v24a8%208%200%200%201-8%208H8a8%208%200%200%201-8-8V8Z'/%3e%3cpath%20fill='%23607890'%20d='M31.134%208.083c-6.688%200-17.64%205.486-11.323%2023.27h1.456s-1.033-3.718-1.209-6.292c10.92-2.944%2011.453-12.402%2011.076-16.978Z'/%3e%3cpath%20fill='%23607890'%20d='M16.906%2014.772c-2.743-2.685-7.716-1.976-7.716-1.976-.13%203.048-.013%2010.335%208.04%2013.65-2.183-7.183-.324-11.674-.324-11.674Z'/%3e%3c/svg%3e";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const b=require("react/jsx-runtime"),o=require("./combobox-
|
|
1
|
+
"use strict";const b=require("react/jsx-runtime"),o=require("./combobox-DtvFjGJH.cjs");require("./button-base-tw0zLUCC.cjs");require("react");require("./listbox-BbmKy0PR.cjs");require("./icons/close.cjs");require("./icons/chevron-down.cjs");require("./search-input-V5FfarRw.cjs");const h=require("./icons/search.cjs");function u({children:n,defaultOptions:i,onClick:a,placeholder:C="Search...",selectionStyle:m="default",...r}){const l=o.Combobox.useButton({onClick:a}),e=o.Combobox.useContext(),s=o.Combobox.useHasSelection(e.listboxId),p=s&&!e.multiple,d=!s,c=s&&!e.multiple;return m==="card"&&c?b.jsx(o.Combobox.Card,{...r,...l,action:b.jsx(o.Combobox.ClearButton,{"aria-controls":e.listboxId,disabled:e.disabled}),size:e.size,children:b.jsx(o.Combobox.SelectedContent,{defaultOptions:i,listboxId:e.listboxId,children:n})}):b.jsx(o.Combobox.Button,{...r,...l,action:p&&b.jsx(o.Combobox.ClearButton,{"aria-controls":e.listboxId,disabled:e.disabled}),leadingIcon:d&&b.jsx(h.SearchIcon,{"aria-hidden":!0}),placeholder:C,size:e.size,children:c&&b.jsx(o.Combobox.SelectedContent,{defaultOptions:i,listboxId:e.listboxId,children:n})})}u.displayName="Autocomplete.Button";function x({closeOnSelection:n="auto",...i}){return b.jsx(o.Combobox.Popup,{...i,closeOnSelection:n})}x.displayName="Autocomplete.Popup";function t(n){return b.jsx(o.Combobox,{...n})}t.getValue=o.Combobox.getListboxValue;t.getListboxId=o.Combobox.getListboxId;t.getPopupId=o.Combobox.getPopupId;t.Button=u;t.CardDefaultContent=o.Combobox.CardDefaultContent;t.Divider=o.Combobox.Divider;t.DefaultOptionsContext=o.Combobox.DefaultOptionsContext;t.Listbox=o.Combobox.Listbox;t.Option=o.Combobox.Option;t.OptionAdditionalInfo=o.Combobox.OptionAdditionalInfo;t.Optgroup=o.Combobox.Optgroup;t.Placeholder=o.Combobox.ListboxPlaceholder;t.Popup=x;t.SearchInput=o.Combobox.SearchInput;t.SelectionChips=o.Combobox.SelectionChips;t.SelectionChipsItem=o.Combobox.SelectionChipsItem;t.useState=o.Combobox.useState;exports.Autocomplete=t;exports.AutocompleteButton=u;exports.AutocompletePopup=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("./autocomplete-CYxComaA.cjs"),i=require("./form-control-Be_ITYmU.cjs"),u=require("react");function t({children:C,defaultOptions:h,disabled:d,errorText:l,helpText:c,id:x,label:n,maxWidth:v,multiple:p,renderChips:b,required:s,size:m="medium",...f}){const j=u.useId(),r=x??j,a=u.useId(),A=u.useId(),I=u.useId();return e.jsx(i.FormControl,{as:"div",size:m,maxWidth:v,children:e.jsxs(o.Autocomplete.DefaultOptionsContext.Provider,{value:h??[],children:[n&&e.jsx(i.FormControl.Label,{htmlFor:r,id:a,isRequired:s,children:n}),e.jsx(o.Autocomplete,{...f,"aria-describedby":c&&!l?A:void 0,"aria-errormessage":l?I:void 0,"aria-invalid":l?!0:void 0,"aria-labelledby":n?a:void 0,disabled:d,id:r,multiple:p,required:s,size:m,children:C}),l?e.jsx(i.FormControl.ErrorText,{id:I,children:l}):c&&e.jsx(i.FormControl.HelpText,{id:A,children:c}),p&&e.jsx(o.Autocomplete.SelectionChips,{disabled:d,listboxId:o.Autocomplete.getListboxId(r),children:b})]})})}t.getValue=o.Autocomplete.getValue;t.Button=o.Autocomplete.Button;t.CardDefaultContent=o.Autocomplete.CardDefaultContent;t.Divider=o.Autocomplete.Divider;t.Listbox=o.Autocomplete.Listbox;t.Option=o.Autocomplete.Option;t.OptionAdditionalInfo=o.Autocomplete.OptionAdditionalInfo;t.Optgroup=o.Autocomplete.Optgroup;t.Placeholder=o.Autocomplete.Placeholder;t.Popup=o.Autocomplete.Popup;t.SearchInput=o.Autocomplete.SearchInput;t.SelectionChipsItem=o.Autocomplete.SelectionChipsItem;t.useState=o.Autocomplete.useState;exports.AutocompleteControl=t;
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { A as t } from "./autocomplete-
|
|
1
|
+
import { jsx as e, jsxs as g } from "react/jsx-runtime";
|
|
2
|
+
import { A as t } from "./autocomplete-D3dPhE8Z.js";
|
|
3
3
|
import { a as n } from "./form-control-Cv1xUB2V.js";
|
|
4
|
-
import { useId as
|
|
4
|
+
import { useId as d } from "react";
|
|
5
5
|
function o({
|
|
6
|
-
children:
|
|
7
|
-
defaultOptions:
|
|
8
|
-
disabled:
|
|
6
|
+
children: f,
|
|
7
|
+
defaultOptions: v,
|
|
8
|
+
disabled: p,
|
|
9
9
|
errorText: i,
|
|
10
10
|
helpText: r,
|
|
11
11
|
id: C,
|
|
12
|
-
label:
|
|
13
|
-
maxWidth:
|
|
12
|
+
label: a,
|
|
13
|
+
maxWidth: b,
|
|
14
14
|
multiple: c,
|
|
15
15
|
renderChips: A,
|
|
16
16
|
required: s,
|
|
17
17
|
size: u = "medium",
|
|
18
18
|
...O
|
|
19
19
|
}) {
|
|
20
|
-
const S =
|
|
21
|
-
return /* @__PURE__ */ e(n, { as: "div", size: u, maxWidth:
|
|
22
|
-
|
|
20
|
+
const S = d(), l = C ?? S, m = d(), I = d(), h = d();
|
|
21
|
+
return /* @__PURE__ */ e(n, { as: "div", size: u, maxWidth: b, children: /* @__PURE__ */ g(t.DefaultOptionsContext.Provider, { value: v ?? [], children: [
|
|
22
|
+
a && /* @__PURE__ */ e(n.Label, { htmlFor: l, id: m, isRequired: s, children: a }),
|
|
23
23
|
/* @__PURE__ */ e(
|
|
24
24
|
t,
|
|
25
25
|
{
|
|
26
26
|
...O,
|
|
27
|
-
"aria-describedby": r && !i ?
|
|
27
|
+
"aria-describedby": r && !i ? I : void 0,
|
|
28
28
|
"aria-errormessage": i ? h : void 0,
|
|
29
29
|
"aria-invalid": i ? !0 : void 0,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
"aria-labelledby": a ? m : void 0,
|
|
31
|
+
disabled: p,
|
|
32
|
+
id: l,
|
|
32
33
|
multiple: c,
|
|
33
34
|
required: s,
|
|
34
35
|
size: u,
|
|
35
|
-
children:
|
|
36
|
+
children: f
|
|
36
37
|
}
|
|
37
38
|
),
|
|
38
|
-
i ? /* @__PURE__ */ e(n.ErrorText, { id: h, children: i }) : r && /* @__PURE__ */ e(n.HelpText, { id:
|
|
39
|
-
c && /* @__PURE__ */ e(t.SelectionChips, { disabled:
|
|
39
|
+
i ? /* @__PURE__ */ e(n.ErrorText, { id: h, children: i }) : r && /* @__PURE__ */ e(n.HelpText, { id: I, children: r }),
|
|
40
|
+
c && /* @__PURE__ */ e(t.SelectionChips, { disabled: p, listboxId: t.getListboxId(l), children: A })
|
|
40
41
|
] }) });
|
|
41
42
|
}
|
|
42
43
|
o.getValue = t.getValue;
|
|
@@ -30,10 +30,10 @@ function _({
|
|
|
30
30
|
id: r
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ B(f, { ...I, ...b, "data-colour": g, "data-variant": m, children: [
|
|
33
|
+
t && /* @__PURE__ */ s(c, { triggerId: r, id: d, placement: "top", children: n }),
|
|
33
34
|
a && /* @__PURE__ */ s(p, { "aria-hidden": !0, children: a }),
|
|
34
35
|
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 })
|
|
36
|
+
e && /* @__PURE__ */ s(p, { "aria-hidden": !0, children: e })
|
|
37
37
|
] });
|
|
38
38
|
}
|
|
39
39
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("./index-Dmlb2--K.cjs"),i=require("./tooltip-CFeEMRgw.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})
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("./index-Dmlb2--K.cjs"),i=require("./tooltip-CFeEMRgw.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:[r&&e.jsx(i.Tooltip,{triggerId:l,id:c,placement:"top",children:n}),a&&e.jsx(o,{"aria-hidden":!0,children:a}),t&&e.jsx(p,{children:t}),s&&e.jsx(o,{"aria-hidden":!0,children:s})]})}exports.Badge=j;exports.ElBadge=g;exports.ElBadgeIconContainer=o;exports.ElBadgeLabelContainer=p;exports.badgeColours=x;
|