mimir-ui-kit 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ListPhotos.css +1 -0
- package/dist/assets/Uploader.css +1 -0
- package/dist/assets/UploaderPhotos.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/Button/Button.js +23 -22
- package/dist/components/Button/constants.d.ts +2 -1
- package/dist/components/Button/constants.js +1 -0
- package/dist/components/ListPhotos/ListPhotos.d.ts +23 -0
- package/dist/components/ListPhotos/ListPhotos.js +33 -0
- package/dist/components/ListPhotos/constants.d.ts +3 -0
- package/dist/components/ListPhotos/constants.js +21 -0
- package/dist/components/ListPhotos/index.d.ts +2 -0
- package/dist/components/ListPhotos/index.js +4 -0
- package/dist/components/RadioGroup/RadioGroup.js +2 -5
- package/dist/components/SelectSearch/SelectSearch.js +194 -105
- package/dist/components/Switch/Switch.js +2 -4
- package/dist/components/Uploader/Uploader.d.ts +30 -0
- package/dist/components/Uploader/Uploader.js +90 -0
- package/dist/components/Uploader/constants.d.ts +5 -0
- package/dist/components/Uploader/constants.js +16 -0
- package/dist/components/Uploader/index.d.ts +2 -0
- package/dist/components/Uploader/index.js +4 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +29 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.js +46 -0
- package/dist/components/UploaderPhotos/index.d.ts +2 -0
- package/dist/components/UploaderPhotos/index.js +4 -0
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.js +0 -10
- package/dist/{focus-management-1rQPII7Z.js → focus-management-CFDo6ZSc.js} +26 -12
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/components/12px/Close12px.d.ts +4 -0
- package/dist/icons/components/12px/Close12px.js +18 -0
- package/dist/icons/components/index.d.ts +1 -0
- package/dist/icons/components/index.js +560 -559
- package/dist/{index-_ACzPKPw.js → index-Cxiikb7g.js} +561 -558
- package/dist/index.js +0 -10
- package/dist/{keyboard-B256ZoM-.js → label-BXAcSLy0.js} +342 -174
- package/dist/{use-active-press-B6yeSopF.js → use-active-press-9MCrfRZk.js} +1 -1
- package/dist/utils/UUID4.d.ts +1 -0
- package/dist/utils/UUID4.js +9 -0
- package/dist/utils/formating/Date.d.ts +1 -1
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +3 -1
- package/package.json +1 -1
- package/dist/ACE-Dh-PnKV7.js +0 -23
- package/dist/Acceleration-GBCZC6x6.js +0 -34
- package/dist/Accept16px-CzM0Df91.js +0 -27
- package/dist/Accept24px-D2GGOEFK.js +0 -29
- package/dist/Accept32px-0cvrOUlB.js +0 -28
- package/dist/Acts16px-WrO5Razf.js +0 -40
- package/dist/Acts16pxF-tbac65nP.js +0 -35
- package/dist/Acts24px-DaszJ-oP.js +0 -41
- package/dist/Acts24pxF-D0aNSZ14.js +0 -34
- package/dist/Acts32px-Dk5XyG2F.js +0 -41
- package/dist/AdditionalServicess16px-ClYhS7AD.js +0 -33
- package/dist/AdditionalServicess16pxF-D_Cr5Ti3.js +0 -22
- package/dist/AdditionalServicess24px-B-GU8ljs.js +0 -34
- package/dist/AdditionalServicess24pxF-CcIv7u6B.js +0 -23
- package/dist/AdditionalServicess32px-CnkKKa5B.js +0 -25
- package/dist/AdditionalServicess32pxF-BJ7nNuJu.js +0 -23
- package/dist/Agents16px-CKtXJGgS.js +0 -24
- package/dist/Agents16pxF-MHuxLKdT.js +0 -22
- package/dist/Agents24px-Dmv9UkOs.js +0 -25
- package/dist/Agents24pxF-cCOGLyS0.js +0 -32
- package/dist/Agents32px-utYx_RfH.js +0 -37
- package/dist/Alarm16px-oU7xa_Pe.js +0 -25
- package/dist/Alarm24px-BwED0kCm.js +0 -26
- package/dist/Alarm32px-CzWKWxBo.js +0 -26
- package/dist/Alim-DUwhLV2k.js +0 -25
- package/dist/AllMetal-lsgMk2J1.js +0 -34
- package/dist/AllMetalCargoAndPassenger-BP6Rmi-A.js +0 -34
- package/dist/Amur-p-z-0MiH.js +0 -25
- package/dist/Ankai-CSfa2TEH.js +0 -25
- package/dist/ArrowDown16px-DTCW-Omg.js +0 -24
- package/dist/ArrowDown24px-BR0m3fU9.js +0 -25
- package/dist/ArrowDown32px-DLadIoFl.js +0 -25
- package/dist/ArrowLeft16px-CtInbI-A.js +0 -24
- package/dist/ArrowLeft24px-BWfU2AT7.js +0 -25
- package/dist/ArrowLeft32px-CklmCz2b.js +0 -25
- package/dist/ArrowRight16px-Cg_RnVkX.js +0 -24
- package/dist/ArrowRight24px-BMgowqrc.js +0 -25
- package/dist/ArrowRight32px-D7wPM6KT.js +0 -25
- package/dist/ArrowUp16px-DzX1aOjg.js +0 -24
- package/dist/ArrowUp24px-BOdGtGw-.js +0 -25
- package/dist/ArrowUp32px-BS3NXexJ.js +0 -25
- package/dist/ArrowUpright16px-BHoe8_IK.js +0 -24
- package/dist/ArrowUpright24px-grrXzBha.js +0 -25
- package/dist/ArrowUpright32px-DIsDrXTa.js +0 -25
- package/dist/AsphaltPaver-DVob-3UC.js +0 -37
- package/dist/AttachFile16px-CdnjRea_.js +0 -24
- package/dist/AttachFile24px-B3X67SsA.js +0 -25
- package/dist/AttachFile32px-B0tLm9XH.js +0 -25
- package/dist/Audi-9GskTRhO.js +0 -22
- package/dist/Autotower-C-yESqcn.js +0 -34
- package/dist/Awning-BYuoZpCu.js +0 -35
- package/dist/BMW-CNOj2fIU.js +0 -43
- package/dist/BRP-BwnKfFMU.js +0 -34
- package/dist/BackhoeLoader-Bas9aSQY.js +0 -41
- package/dist/Bell16px-kVv729Pi.js +0 -44
- package/dist/Bell16pxF-Dk7ukIHs.js +0 -34
- package/dist/Bell24px-DPKhmZSS.js +0 -45
- package/dist/Bell24pxF-CBBf_vwg.js +0 -28
- package/dist/Bell32px-CItSevhh.js +0 -45
- package/dist/Bell32pxF-CgdrAD-I.js +0 -28
- package/dist/Berths-fF7tVlVU.js +0 -39
- package/dist/Bike-ziBFLp4B.js +0 -25
- package/dist/Bucket-DOH0oMUM.js +0 -23
- package/dist/BucketLoadingCapacity-Wlbdjby5.js +0 -25
- package/dist/BucketVolume-CqdlsL3c.js +0 -32
- package/dist/Buggy-28YVK3gG.js +0 -34
- package/dist/Bulldozer-DiFvl6FQ.js +0 -36
- package/dist/Bus-DGeGG_Bn.js +0 -25
- package/dist/BusBus-Cd5CUveV.js +0 -34
- package/dist/BusMinibus-GLCo1rli.js +0 -34
- package/dist/BusShiftBuses-NRkdVtdF.js +0 -44
- package/dist/CabinTurn-Cj7h1hyS.js +0 -34
- package/dist/Calculator16px-DcyHx-IB.js +0 -24
- package/dist/Calculator24px-D7iXuH67.js +0 -25
- package/dist/Calculator32px-Bq6qy9LU.js +0 -25
- package/dist/CalculatorLkk16px-DTikpTVt.js +0 -35
- package/dist/CalculatorLkk16pxF-D_T7LJU1.js +0 -24
- package/dist/CalculatorLkk24px-Cx7gKN3F.js +0 -34
- package/dist/CalculatorLkk24pxF-BafBDJwM.js +0 -25
- package/dist/CalculatorLkk32px-eLK9ex6W.js +0 -34
- package/dist/CalculatorLkk32pxF-Dlt-EnxA.js +0 -25
- package/dist/Calendar16px-DlbVwhhr.js +0 -24
- package/dist/Calendar24px-B-wIv0Yr.js +0 -25
- package/dist/Calendar32px-lCelTHGL.js +0 -25
- package/dist/Camera16px-BwC_X-Lb.js +0 -36
- package/dist/Camera24px-DudduAtV.js +0 -25
- package/dist/Camera32px-DuwqnTg-.js +0 -37
- package/dist/Car-BJNp4xd5.js +0 -25
- package/dist/Car16px-BOQe5A9r.js +0 -35
- package/dist/Car16pxF-C8hXfwfl.js +0 -24
- package/dist/Car24px-DoDPcfCB.js +0 -36
- package/dist/Car24pxF-CxsC0qvq.js +0 -34
- package/dist/Car32px-B0kZCSIO.js +0 -36
- package/dist/Car32pxF-C9jSDHsv.js +0 -28
- package/dist/CarBodySize-CgpL5emG.js +0 -34
- package/dist/CarBodyType-BrJnDn1D.js +0 -25
- package/dist/CarColor-BSgbchb0.js +0 -34
- package/dist/CargoAScrapTruckFromTheCmu-visqbcbs.js +0 -41
- package/dist/CargoAutotower-CRTnX-z1.js +0 -34
- package/dist/CargoAwning-Du0lEh3W.js +0 -41
- package/dist/CargoConcreteMixerTruck-Ctc7aonB.js +0 -41
- package/dist/CargoDrillingRig-DJziKPfA.js +0 -34
- package/dist/CargoDumpTruck-B8oPJa3-.js +0 -41
- package/dist/CargoGarbageTruck-BKjnRTK3.js +0 -41
- package/dist/CargoGrainCarrier-dvNuEvJ8.js +0 -41
- package/dist/CargoIsothermal-BjBVaYw_.js +0 -41
- package/dist/CargoOnBoard-ZyK8rL3U.js +0 -41
- package/dist/CargoOnBoardWithCmu-BDROtl87.js +0 -41
- package/dist/CargoPromotionalItem-BC0nyDQZ.js +0 -41
- package/dist/CargoSortingTruck-D7fhqXha.js +0 -41
- package/dist/CargoTankerTruck-YOBCdvTS.js +0 -41
- package/dist/CargoTowTruck-DnopQ_Xj.js +0 -34
- package/dist/CargoTruckCrane-Bz3ve1nq.js +0 -43
- package/dist/CargoVacuumMachine-B9Tlsf1r.js +0 -34
- package/dist/Case-Ba1UVzLu.js +0 -25
- package/dist/Catalog16px-D5Yt-qH0.js +0 -24
- package/dist/Catalog24px-CbZg3Wd-.js +0 -25
- package/dist/Catalog32px-DEiqWdKw.js +0 -25
- package/dist/Certs16px-DLkV0erM.js +0 -33
- package/dist/Certs16pxF-Ch3Z_P-O.js +0 -33
- package/dist/Certs24px-Do5yPDqw.js +0 -34
- package/dist/Certs24pxF-Cv--w2Vo.js +0 -34
- package/dist/Certs32px-BtQpjGU1.js +0 -34
- package/dist/Certs32pxF-8Y-y5UOZ.js +0 -34
- package/dist/ChMZAP-wSHBGtdL.js +0 -48
- package/dist/ChTZ-PAVxMyHL.js +0 -34
- package/dist/Change16px-Dbr1Q8TY.js +0 -22
- package/dist/Change24px-DpIQOuUu.js +0 -25
- package/dist/Change32px-BobIrvEg.js +0 -25
- package/dist/Chat16px-DqarMh06.js +0 -33
- package/dist/Chat16pxF-BEr-Lqm2.js +0 -24
- package/dist/Chat24px-B07p4Fw1.js +0 -30
- package/dist/Chat24pxF-BhOEvhHa.js +0 -25
- package/dist/Chat32px-CVmTlFnb.js +0 -34
- package/dist/Chat32pxF-VLA-KrO8.js +0 -25
- package/dist/Chatbot16px-D7hmpHj8.js +0 -264
- package/dist/Chatbot24px-Xw6Km457.js +0 -265
- package/dist/Chatbot32px-JVrcxH1h.js +0 -265
- package/dist/Cherry-Brt0vTmK.js +0 -34
- package/dist/Citroen-B3-VBgfm.js +0 -25
- package/dist/Clearance-BdftjoaH.js +0 -25
- package/dist/Close16px-yncu3S1c.js +0 -24
- package/dist/Close24px-DLCl1anV.js +0 -25
- package/dist/Close32px-BUBxuA5k.js +0 -25
- package/dist/CloseFloatMenuArrow16px-BLuE9jUZ.js +0 -22
- package/dist/CloseFloatMenuArrow24px-DC2uXU5d.js +0 -25
- package/dist/CloseFloatMenuArrow32px-D6Yvw40h.js +0 -23
- package/dist/CloseFloatMenuMobileArrow16px-DiNBwNl1.js +0 -22
- package/dist/CloseFloatMenuMobileArrow24px-BEmt9mUk.js +0 -23
- package/dist/CloseFloatMenuMobileArrow32px-CyvwICDy.js +0 -23
- package/dist/Coin16px-GcAZwMd3.js +0 -35
- package/dist/Coin16pxF-BpBYLvKq.js +0 -42
- package/dist/Coin24px-BwvEPTOg.js +0 -26
- package/dist/Coin24pxF-C-23vx72.js +0 -43
- package/dist/Coin32px-BU5-H__H.js +0 -36
- package/dist/Coin32pxF-DJYZt9UJ.js +0 -34
- package/dist/CombineHarvester-BUiaszfW.js +0 -41
- package/dist/Compartment-Cve8sS0j.js +0 -34
- package/dist/ConcreteMixerTruck-D43EZPWI.js +0 -41
- package/dist/ConcretePump-aI6bfyE5.js +0 -42
- package/dist/Contracts16px-P-c8btCq.js +0 -35
- package/dist/Contracts16pxF-CpE-U_nV.js +0 -33
- package/dist/Contracts24px-DhC2VuZY.js +0 -36
- package/dist/Contracts24pxF-D99YdzWK.js +0 -34
- package/dist/Contracts32px-CTpoKmDS.js +0 -36
- package/dist/Contracts32pxF-C2N-DqSO.js +0 -34
- package/dist/CopyClipboard16px-CIAYNRb8.js +0 -27
- package/dist/CopyClipboard24px-C8MSBeW_.js +0 -28
- package/dist/CopyClipboard32px-BAEG5-rL.js +0 -34
- package/dist/Crossover-CnJjL1nR.js +0 -34
- package/dist/Cylinders-DPwb5yAG.js +0 -37
- package/dist/DaewooFull-DEhEPVc0.js +0 -60
- package/dist/DaewooSymbol-S5JjIyXx.js +0 -53
- package/dist/Daf-BLi-jvO7.js +0 -25
- package/dist/Dayun-DoRa_Bot.js +0 -25
- package/dist/Dimensions-D9vGycAr.js +0 -34
- package/dist/Done16px-BMgPTw68.js +0 -24
- package/dist/Done24px-BGMr2Ua0.js +0 -25
- package/dist/Done32px-QEOVlh9a.js +0 -25
- package/dist/DongFeng-D4bL6sDT.js +0 -25
- package/dist/Download16px-jVDc1H41.js +0 -31
- package/dist/Download24px-Dukxu87S.js +0 -32
- package/dist/Download32px-CUwBsHAz.js +0 -32
- package/dist/DragHandle16px-CMq5289r.js +0 -22
- package/dist/DragHandle24px-DHr905OK.js +0 -23
- package/dist/DragHandle32px-DgLRWYeT.js +0 -23
- package/dist/DragHandleHorizontal16px-DHFulbcY.js +0 -22
- package/dist/DragHandleHorizontal24px-_8e9iXNb.js +0 -23
- package/dist/DragHandleHorizontal32px-Cts1nMvt.js +0 -23
- package/dist/DragHandleVertical16px-E-_vKtAw.js +0 -22
- package/dist/DragHandleVertical24px-B8h4wqMw.js +0 -23
- package/dist/DragHandleVertical32px-CZaRHILC.js +0 -23
- package/dist/DrillingRigg-BQYdG37w.js +0 -34
- package/dist/DropdownArrowBottom16px-SThQoOWF.js +0 -24
- package/dist/DropdownArrowDown24px-D7HJu36H.js +0 -25
- package/dist/DropdownArrowDown32px-CoDpmPzb.js +0 -25
- package/dist/DropdownArrowLeft16px-vnfocUlF.js +0 -24
- package/dist/DropdownArrowLeft24px-CFIXhmYY.js +0 -25
- package/dist/DropdownArrowLeft32px-CrkV9DDk.js +0 -25
- package/dist/DropdownArrowRight16px-Rcl2Mdts.js +0 -24
- package/dist/DropdownArrowRight24px-BD5_Asbu.js +0 -25
- package/dist/DropdownArrowRight32px-Dl_TroXx.js +0 -25
- package/dist/DropdownArrowUp16px-9sX1aEWz.js +0 -24
- package/dist/DropdownArrowUp24px-Bru3PFd8.js +0 -25
- package/dist/DropdownArrowUp32px-Dix3CXLP.js +0 -17
- package/dist/Ducati-Bv7LcQfF.js +0 -34
- package/dist/DumpTruck-D5dhirQp.js +0 -41
- package/dist/Dzen16px-BhMZW8CQ.js +0 -22
- package/dist/Dzen24px-_4CZzwoe.js +0 -23
- package/dist/Dzen32px-Mp1ZYoFU.js +0 -23
- package/dist/EngineType-Dy3UEg8u.js +0 -23
- package/dist/Equipment-Dg2QMiKV.js +0 -25
- package/dist/Euro16px-DRrmEaHQ.js +0 -25
- package/dist/Euro24px-3OVC1BYQ.js +0 -26
- package/dist/Euro32px-1t3kvGR1.js +0 -26
- package/dist/Excavator-CKvI8Ld4.js +0 -25
- package/dist/Exeed-DvZ2upDV.js +0 -34
- package/dist/Eye16px-BnE52y-8.js +0 -35
- package/dist/Eye24px-BICxF_bD.js +0 -36
- package/dist/Eye32px-Bufwk59n.js +0 -36
- package/dist/Failure16px-CCLjItGs.js +0 -27
- package/dist/Failure24px-DF1Nx0eS.js +0 -28
- package/dist/Failure32px-2_DqYqLc.js +0 -28
- package/dist/Favorite16px-krp3rAcr.js +0 -24
- package/dist/Favorite16pxF-2l04IgLp.js +0 -22
- package/dist/Favorite24px-BrPVQNsC.js +0 -25
- package/dist/Favorite24pxF-qpmxGfdQ.js +0 -23
- package/dist/Favorite32px-B-1H6r80.js +0 -25
- package/dist/Favorite32pxF-CkdkHRaO.js +0 -23
- package/dist/Faw-CSEL1fGW.js +0 -36
- package/dist/Fenix-DM8r2D3D.js +0 -116
- package/dist/Fiat-D7CZ3Ckc.js +0 -39
- package/dist/Filter16px-BJ-x2rye.js +0 -24
- package/dist/Filter24px-DNJl9PUU.js +0 -23
- package/dist/Filter32px-ByqmaAVm.js +0 -23
- package/dist/Flag16pxF-iGv2y1Qi.js +0 -16
- package/dist/Flag24pxF-D6qYw5Xt.js +0 -17
- package/dist/Flag32pxF-oohlMmD7.js +0 -17
- package/dist/Folder16px-3KP0YySu.js +0 -24
- package/dist/Folder24px-BVZCIkEb.js +0 -25
- package/dist/Folder32px-BeLtJ6Qd.js +0 -25
- package/dist/Ford-D1V-_kFJ.js +0 -43
- package/dist/ForestPreparationEquipment-CzEBCRwV.js +0 -41
- package/dist/ForkliftTruck-CAfIFf0B.js +0 -34
- package/dist/Foton-Civb8Wym.js +0 -34
- package/dist/FrontLoader-CzZO8jqV.js +0 -41
- package/dist/FuelConsumption-DTLxpPes.js +0 -23
- package/dist/Fullscreen16px-CVa431PU.js +0 -24
- package/dist/Fullscreen24px-DfNRblKi.js +0 -25
- package/dist/Fullscreen32px-B2vAHZ8F.js +0 -25
- package/dist/Gac-BW4JUbjs.js +0 -23
- package/dist/Galery16px-S39B6Tbe.js +0 -27
- package/dist/Galery24px-B70Grc0U.js +0 -28
- package/dist/Galery32px-C7_L61cy.js +0 -28
- package/dist/Gaz-B_glod8E.js +0 -61
- package/dist/Gear16px-6LYCHNL-.js +0 -35
- package/dist/Gear24px-CsBWqeA7.js +0 -36
- package/dist/Gear32px-CtKlK6CH.js +0 -36
- package/dist/GearType-DGWbicya.js +0 -26
- package/dist/Geely-CFxLEtwE.js +0 -27
- package/dist/Genesis-7Ml8lPh1.js +0 -32
- package/dist/Gift16px-BZls-H_P.js +0 -33
- package/dist/Gift24px-DCRL_k44.js +0 -25
- package/dist/Gift32px-B9wx9_Nq.js +0 -25
- package/dist/Gitte-DBx1BJ0u.js +0 -25
- package/dist/Grunwald-BcES_oht.js +0 -25
- package/dist/HartungFull-DquRU8Xf.js +0 -34
- package/dist/HartungSymbol-BuaV-nn-.js +0 -34
- package/dist/Hatchback-Cr7cMM9l.js +0 -34
- package/dist/Haval-DwhOzaEd.js +0 -25
- package/dist/Higer-Bl2UgfCY.js +0 -25
- package/dist/Hint16px-jWHRB48x.js +0 -25
- package/dist/Hint24px-DYo08JCd.js +0 -28
- package/dist/Hint32px-lYPKPiUL.js +0 -28
- package/dist/Hitachi-zuMU7Wia.js +0 -23
- package/dist/Home16px-nf6BhuOH.js +0 -33
- package/dist/Home16pxF-ftr5z4yo.js +0 -24
- package/dist/Home24px-CJCjBHEr.js +0 -36
- package/dist/Home24pxF-qmdy9kwq.js +0 -25
- package/dist/Home32px-DxOVdW-j.js +0 -28
- package/dist/Home32pxF-D64UqJwi.js +0 -25
- package/dist/Honda-CWySTVed.js +0 -39
- package/dist/Hongqi-Dq1js33w.js +0 -32
- package/dist/Hongyan-BXHhgVMj.js +0 -25
- package/dist/Hot16pxF-B8gO0bZ4.js +0 -22
- package/dist/Hot24pxF-DmNyJCUv.js +0 -23
- package/dist/Hot32pxF-CM462_Xh.js +0 -23
- package/dist/Howo-CgERgVQf.js +0 -48
- package/dist/Hyundai-DW03vn5K.js +0 -25
- package/dist/IceRink-CXDcHn-o.js +0 -36
- package/dist/Improvements24px-BkSwmsJi.js +0 -43
- package/dist/Improvements24pxF-we-rw6ER.js +0 -37
- package/dist/Infiniti-DDZI7IUo.js +0 -23
- package/dist/Isothermal-BEv2n2uE.js +0 -41
- package/dist/Isuzu-BmYgjvDZ.js +0 -25
- package/dist/Iveco-BtAdscJd.js +0 -25
- package/dist/JCB-C5eowOn2.js +0 -34
- package/dist/Jac-D2cZV6Lk.js +0 -23
- package/dist/Juterborg-BTbo0Y2B.js +0 -59
- package/dist/KIA-Qk43TWFW.js +0 -25
- package/dist/Kaiyi-B7eA7eWh.js +0 -25
- package/dist/Kamaz-b6jHf99q.js +0 -37
- package/dist/Kassbohrer-IUn8MLcw.js +0 -25
- package/dist/Kebab16px-DfTPykAQ.js +0 -16
- package/dist/Kebab24px-BYolM7Lq.js +0 -23
- package/dist/Kebab32px-CDhlgcwj.js +0 -17
- package/dist/Komatsu-Ch4Q2bal.js +0 -23
- package/dist/Ktm-C2TLHVi8.js +0 -23
- package/dist/LCCE-B2S1Vwq5.js +0 -39
- package/dist/Lada-BTO9WBD7.js +0 -25
- package/dist/Lexus-CSnfKaB2.js +0 -25
- package/dist/Liftback-Bx_7-7fO.js +0 -25
- package/dist/LiftingHeight-CPHHgiKu.js +0 -23
- package/dist/List16px-BrwtUFgP.js +0 -22
- package/dist/List24px-CmENxvos.js +0 -23
- package/dist/List32px-ChDSXkFX.js +0 -23
- package/dist/LiuGong-DODz6x68.js +0 -32
- package/dist/LoadingCapacity-DDMbkIqV.js +0 -25
- package/dist/Location16px-BlLMaJvo.js +0 -35
- package/dist/Location24px-wPb9L50t.js +0 -36
- package/dist/Location32px-BoUvkB03.js +0 -36
- package/dist/Lonking-C5gBWh9S.js +0 -32
- package/dist/Lovol-BT_sP9Wd.js +0 -23
- package/dist/MTZBelarus-uprKopHJ.js +0 -36
- package/dist/Man-CD_0Sgqr.js +0 -23
- package/dist/Mans-BVm-vWA3.js +0 -21
- package/dist/Map16px-t8-9n8WE.js +0 -24
- package/dist/Map24px-BYoh_iPr.js +0 -25
- package/dist/Map32px-C4a9oUDP.js +0 -25
- package/dist/Maz-BYlKxE50.js +0 -34
- package/dist/Menu16px-DdE3Br07.js +0 -22
- package/dist/Menu24px-DBawOXMG.js +0 -23
- package/dist/Menu32px-ft8Xb8HO.js +0 -23
- package/dist/MenuMobile16px-B3ig9ai4.js +0 -24
- package/dist/MenuMobile24px-Dnuim2QB.js +0 -25
- package/dist/MenuMobile32px-DDLE5aRr.js +0 -25
- package/dist/MercedesBenz-DgVdOc5E.js +0 -25
- package/dist/Meusburger-5-bQL8UM.js +0 -25
- package/dist/MiniEscalator-DXtvdBtj.js +0 -43
- package/dist/MiniLoader-CgR-mjRs.js +0 -34
- package/dist/MiningDumpTruck-B6hJdZJu.js +0 -41
- package/dist/Minitractor-BMeJ-ZlO.js +0 -34
- package/dist/Minivan-BLrD96qN.js +0 -34
- package/dist/Minus16px-BsaSPrpm.js +0 -16
- package/dist/Minus24px-Cd4e6TzW.js +0 -25
- package/dist/Minus32px-D7xvjBJN.js +0 -25
- package/dist/Mitsubishi-BnT44Xoa.js +0 -23
- package/dist/MotorGrader-C6LK1V7h.js +0 -34
- package/dist/MotorVehiclesBike-UyntCPvQ.js +0 -26
- package/dist/MotorVehiclesQuadBike-7Wo4TANl.js +0 -32
- package/dist/Navigation16px-p9fAt-hP.js +0 -24
- package/dist/Navigation24px-CtJtnmhL.js +0 -25
- package/dist/Navigation32px-DNwrWMZE.js +0 -25
- package/dist/NefAZ-CYGovIEN.js +0 -32
- package/dist/News16px-CAJU2_p_.js +0 -33
- package/dist/News16pxF-7dNhfaU6.js +0 -24
- package/dist/News24px-QXFy8Y05.js +0 -34
- package/dist/News24pxF-CWFmlSru.js +0 -25
- package/dist/News32px-pJmYmKJ_.js +0 -34
- package/dist/News32pxF-BVjsHGm0.js +0 -25
- package/dist/Number16px-CijeDCqH.js +0 -33
- package/dist/Number24px-pDsuFcRN.js +0 -34
- package/dist/Number32px-Bp13_oDL.js +0 -34
- package/dist/NumberOfAxes-DAXQVVdk.js +0 -25
- package/dist/NumberOfSeats-DPuDLZw9.js +0 -23
- package/dist/NursanTrailer-zfpX_rJ5.js +0 -23
- package/dist/OffRoadVehicle-PcPhm4DC.js +0 -34
- package/dist/Omoda-CBWH_Ago.js +0 -39
- package/dist/OnBoard-0OYYMig3.js +0 -41
- package/dist/OnBoardCargoAndPassengerTransport-Bp9HcA-A.js +0 -41
- package/dist/OnBoardWithCmu-JBgrZGDm.js +0 -41
- package/dist/OpenFloatMenuArrow16px-CCqP46NH.js +0 -22
- package/dist/OpenFloatMenuArrow24px-DcV5bned.js +0 -23
- package/dist/OpenFloatMenuArrow32px-BL6HnNSl.js +0 -23
- package/dist/OpenFloatMenuMobileArrow16px-COMRCn5i.js +0 -22
- package/dist/OpenFloatMenuMobileArrow24px-D1wx7mh5.js +0 -25
- package/dist/OpenFloatMenuMobileArrow32px-CE6fDiO1.js +0 -25
- package/dist/Orders16px-Tkvhpk4W.js +0 -33
- package/dist/Orders16pxF-Dy1_IqA6.js +0 -27
- package/dist/Orders24px-BHWftVdQ.js +0 -34
- package/dist/Orders24pxF-DgwXbktU.js +0 -28
- package/dist/Orders32px-CTrpwXog.js +0 -43
- package/dist/Orders32pxF-DTyNKvnT.js +0 -34
- package/dist/OtherAgriculturalMachinery-9dGJTrMc.js +0 -50
- package/dist/OtherCareerTechniques-Dgr-LaXF.js +0 -41
- package/dist/PSATss-FH4_WoDx.js +0 -39
- package/dist/Pause16px-DrUHTQOp.js +0 -16
- package/dist/Pause24px-BDg2ApPJ.js +0 -17
- package/dist/Pause32px-D9KVeh8H.js +0 -17
- package/dist/Paz-Cz0iePw3.js +0 -25
- package/dist/Pen16px-BpvsshJ0.js +0 -35
- package/dist/Pen16pxF-D0Ot2_xX.js +0 -24
- package/dist/Pen24px-BC3_Lho-.js +0 -36
- package/dist/Pen24pxF-955o6GU-.js +0 -25
- package/dist/Pen32px-B169eyA7.js +0 -24
- package/dist/Pen32pxF-IYe01ej4.js +0 -25
- package/dist/Peugeot-DGGCgccX.js +0 -23
- package/dist/Phone16px-BTNcqkMT.js +0 -24
- package/dist/Phone24px-D1IgTWqO.js +0 -25
- package/dist/Phone32px-CP_IYGW7.js +0 -23
- package/dist/Pickup-C1vLK8Ds.js +0 -25
- package/dist/PickupTruck-DfMFIU5J.js +0 -34
- package/dist/PilingInstallation-DkktOtHW.js +0 -36
- package/dist/Play16pxF-DlflH6dC.js +0 -22
- package/dist/Play24px-DIeywBv3.js +0 -23
- package/dist/Play32px-CDOSEnVI.js +0 -23
- package/dist/Plus16px-DQ1CV6pu.js +0 -24
- package/dist/Plus24px-DN2J9UW_.js +0 -25
- package/dist/Plus32px-BnNzwYFx.js +0 -25
- package/dist/Pound16px-BI-TmzN3.js +0 -25
- package/dist/Pound24px-DyqVyAmG.js +0 -26
- package/dist/Pound32px-DOVd40fL.js +0 -26
- package/dist/PriceDown16px-C-cNQZW0.js +0 -35
- package/dist/PriceDown24px-PVTMb32v.js +0 -34
- package/dist/PriceDown32px-BnvMqfiD.js +0 -45
- package/dist/PriceUp16px-CYzIn1JK.js +0 -35
- package/dist/PriceUp24px-DhvCeTuT.js +0 -34
- package/dist/PriceUp32px-DXmbyQYE.js +0 -36
- package/dist/PromotionalItem-dcrkAiPD.js +0 -41
- package/dist/PublicUtilityVehicle-DhKmayVl.js +0 -48
- package/dist/QuarryExcavator-Cpw_k1y-.js +0 -28
- package/dist/Question16px-tzofmGkO.js +0 -24
- package/dist/Question16pxF-DSNmwd8C.js +0 -24
- package/dist/Question24px-eueJiFdF.js +0 -34
- package/dist/Question24pxF-CT9X-eEh.js +0 -25
- package/dist/Question32px-DocfaHkH.js +0 -34
- package/dist/Question32pxF-DREzHjSx.js +0 -25
- package/dist/Raskat-Dt9ZmFxF.js +0 -39
- package/dist/Renault-Ch74xcFm.js +0 -32
- package/dist/RussianCarsEmblem-Db6Bh8Bb.js +0 -34
- package/dist/RussianCarsKremlin-DoBsxn2Y.js +0 -43
- package/dist/Rutube16px-BMJ84Pid.js +0 -22
- package/dist/Rutube24px-CagkcqE2.js +0 -23
- package/dist/Rutube32px-DfSUkwlK.js +0 -23
- package/dist/Sany-DWj6_gDd.js +0 -52
- package/dist/Scan16px-y7KrBIJ7.js +0 -22
- package/dist/Scan24px-uYfvDHxJ.js +0 -23
- package/dist/Scan32px-XteDey6o.js +0 -23
- package/dist/Scania-BfRIErvN.js +0 -59
- package/dist/Schmitz-NM386tH6.js +0 -25
- package/dist/Scooter-ke7XINzD.js +0 -32
- package/dist/Search16px-D1uxbOTI.js +0 -24
- package/dist/Search24px-CL-9fhxx.js +0 -25
- package/dist/Search32px-Ci3in43W.js +0 -25
- package/dist/Sedan-BL07imjo.js +0 -34
- package/dist/Shacman-KOaW_Q-7.js +0 -32
- package/dist/Shantui-Bt2wnL1m.js +0 -23
- package/dist/Share16pxF-vtMj_7yk.js +0 -22
- package/dist/Share24pxF-uceRx-El.js +0 -23
- package/dist/Share32pxF-4ugq9kEJ.js +0 -23
- package/dist/ShopimgCard32px-iCGLjLtQ.js +0 -25
- package/dist/ShopingCard16px-XZLluJXh.js +0 -24
- package/dist/ShopingCard24px-L7CyQPVo.js +0 -25
- package/dist/Sinanli-DzqtzgDP.js +0 -73
- package/dist/Sitrak-DIUjfUpS.js +0 -36
- package/dist/Snowmobile-CbcOnsu2.js +0 -41
- package/dist/SobolIztechmash-C5dyz5Mb.js +0 -62
- package/dist/Sokol-D2pl6dSo.js +0 -23
- package/dist/Sollers-DdR7XX6w.js +0 -25
- package/dist/Sort16px-CBh69rcA.js +0 -24
- package/dist/Sort24px-B2CSwjt0.js +0 -23
- package/dist/Sort32px-BlrSI5hs.js +0 -23
- package/dist/Star16px-D9rd0Y2r.js +0 -24
- package/dist/Star16pxF-6345ObwP.js +0 -22
- package/dist/Star24px-Q9q-1A_S.js +0 -25
- package/dist/Star24pxF-DfniFNB1.js +0 -23
- package/dist/Star32px-DxQPQSMB.js +0 -25
- package/dist/Star32pxF-DYoBooDi.js +0 -23
- package/dist/StarHalf16pxF-BnS_DmI6.js +0 -24
- package/dist/StarHalf24pxF-DNqRfb03.js +0 -25
- package/dist/StarHalf32pxF-CiZCPnYl.js +0 -25
- package/dist/Step-IwkI6e-d.js +0 -22
- package/dist/TankerTruck-1D1cDEZV.js +0 -41
- package/dist/Telegram16pxF-CCMcUa6i.js +0 -22
- package/dist/Telegram24pxF-CNj1SGgA.js +0 -23
- package/dist/Telegram32pxF-C1Uvx9Qa.js +0 -23
- package/dist/TelegramPlane16pxF-f9kA7Rd5.js +0 -22
- package/dist/TelegramPlane24pxF-DOUaZ9RK.js +0 -23
- package/dist/TelegramPlane32pxF-CLaYnwuK.js +0 -23
- package/dist/TelescopicLoader-DxIQUBqy.js +0 -34
- package/dist/TheLift-BO2_aQm3.js +0 -39
- package/dist/Timer16px-DlqpvnY4.js +0 -40
- package/dist/Timer24px-CigoYjNV.js +0 -41
- package/dist/Timer32px--MNiQ70L.js +0 -35
- package/dist/TitanLipetskiyZavodPricepcenter-CX6tq7HL.js +0 -23
- package/dist/Tonar-DHMDqF89.js +0 -25
- package/dist/TowTruck-CgOd-TeZ.js +0 -34
- package/dist/Toyota-BLLYLpfp.js +0 -23
- package/dist/Tractor-CFVJfhOe.js +0 -34
- package/dist/TractorTruck-zY1F8Izn.js +0 -41
- package/dist/TrailerType-BAyMPr4C.js +0 -32
- package/dist/Trailerr-D0dFKerE.js +0 -25
- package/dist/TrailersCarCarrier-CGVWZnOD.js +0 -43
- package/dist/TrailersCattleTruck-Q-wf1wvI.js +0 -34
- package/dist/TrailersContainerShip-Bu7lNdXo.js +0 -42
- package/dist/TrailersCurtainSide-TzavyUiE.js +0 -41
- package/dist/TrailersDumpTruck-NyZQ82XD.js +0 -41
- package/dist/TrailersGrainTruck-CIhh4KB-.js +0 -41
- package/dist/TrailersHeavyTruck-CSGGqIBP.js +0 -41
- package/dist/TrailersIsothermal-DqNtO4CP.js +0 -41
- package/dist/TrailersOther-DrN3LDSc.js +0 -41
- package/dist/TrailersTankerTruck-DBQT2y32.js +0 -41
- package/dist/Trash16px-CrO1bSUC.js +0 -24
- package/dist/Trash24px-CSWDACv3.js +0 -45
- package/dist/Trash32px-Dsm9A0qb.js +0 -45
- package/dist/Trekol-zGkTKbbH.js +0 -36
- package/dist/Truck-VN9eRSGy.js +0 -25
- package/dist/TruckCrane-B9Gj09Ac.js +0 -43
- package/dist/TwinArrowLeft16px-CDGT5xd_.js +0 -22
- package/dist/TwinArrowLeft24px-CQIvnNbJ.js +0 -23
- package/dist/TwinArrowLeft32px-WGUdCm5V.js +0 -23
- package/dist/TwinArrowRight16px-C_M-ndWU.js +0 -22
- package/dist/TwinArrowRight24px-AJ6BESZj.js +0 -25
- package/dist/TwinArrowRight32px-CnM_Ncq0.js +0 -23
- package/dist/UAT-DBEtif_4.js +0 -23
- package/dist/USDollar16px-CIU1XDKE.js +0 -25
- package/dist/USDollar24px-BnowCnVm.js +0 -26
- package/dist/USDollar32px-DcFUaBXJ.js +0 -26
- package/dist/Uaz-p36RmoN2.js +0 -72
- package/dist/Umbrella16px-BWSAXn5N.js +0 -24
- package/dist/Umbrella16pxF-BRITAZUo.js +0 -22
- package/dist/Umbrella24px-AVixUdjO.js +0 -25
- package/dist/Umbrella24pxF-TsE9ph3B.js +0 -23
- package/dist/Umbrella32px-DKZ4AEWh.js +0 -25
- package/dist/Umbrella32pxF-BuM67_J_.js +0 -25
- package/dist/UnionIcon16px-DUou2SKn.js +0 -24
- package/dist/UnionIcon24px-DYZy73hR.js +0 -25
- package/dist/UnionIcon32px-C8oevJyK.js +0 -25
- package/dist/Universal--Hli-Fyc.js +0 -34
- package/dist/UnloadingType-DZ4BqmZv.js +0 -32
- package/dist/Ural-DKvJyedl.js +0 -23
- package/dist/User16px-B850i1hY.js +0 -33
- package/dist/User16pxF-C5WUBFEF.js +0 -22
- package/dist/User24px-ySYZdsWl.js +0 -34
- package/dist/User24pxF-Cu5ubeXY.js +0 -23
- package/dist/User32px-B49WiqJ8.js +0 -34
- package/dist/User32pxF-DD9wxfsd.js +0 -23
- package/dist/Users16px-B8FKM1pN.js +0 -33
- package/dist/Users16pxF-DHpV4xF9.js +0 -22
- package/dist/Users24px-hfCew_Yp.js +0 -25
- package/dist/Users24pxF-Krb9uIO9.js +0 -32
- package/dist/Users32px-jGZqJWDj.js +0 -25
- package/dist/Users32pxF-DOS0mO4M.js +0 -26
- package/dist/VIS-CCPWCRNN.js +0 -23
- package/dist/VK16pxF-QT0bicYh.js +0 -24
- package/dist/VK24pxF-BPZRP4Jz.js +0 -25
- package/dist/VK32pxF-TVYTWPoL.js +0 -25
- package/dist/VKR-Byq5h89A.js +0 -34
- package/dist/Van-CPAg1VRa.js +0 -25
- package/dist/Volkswagen-nMYNUfXZ.js +0 -25
- package/dist/Volvo-B-hmKU3t.js +0 -23
- package/dist/Waiting16px-BM1YdA8q.js +0 -24
- package/dist/Waiting24px-BH6FG4XU.js +0 -25
- package/dist/Waiting32px-Blp1lCt3.js +0 -25
- package/dist/Weight-Cpq4eaB8.js +0 -36
- package/dist/Whatsapp16px-BP6hKOaP.js +0 -33
- package/dist/Whatsapp24px-Bojsg4-5.js +0 -34
- package/dist/Whatsapp32px-_CC3IlMm.js +0 -34
- package/dist/WheelDriveType-BG5kZmSC.js +0 -32
- package/dist/WheelSheme-BGx779XP.js +0 -34
- package/dist/Wielton-DYfwDIYZ.js +0 -23
- package/dist/WriteUs16px-NFud1QiL.js +0 -27
- package/dist/WriteUs24px-C6p0fbp2.js +0 -28
- package/dist/WriteUs32px-mCAj6d-T.js +0 -28
- package/dist/XCMG-BwcL8g8n.js +0 -39
- package/dist/Ycles-CeloY3Ev.js +0 -44
- package/dist/Youtube16pxF-DSqMksVi.js +0 -22
- package/dist/Youtube24pxF-1HIRYumU.js +0 -23
- package/dist/Youtube32pxF-DavJD7E5.js +0 -23
- package/dist/Yuan16px-Bphe1lty.js +0 -25
- package/dist/Yuan24px-t7tRgewo.js +0 -26
- package/dist/Yuan32px-DkbPyZ4p.js +0 -26
- package/dist/Yutong-0CbTrUPe.js +0 -74
- package/dist/Zoomlion-DCGC9msz.js +0 -23
- package/dist/assets/Accordion.css +0 -1
- package/dist/assets/AccordionItem.css +0 -1
- package/dist/assets/TabTrail.css +0 -1
- package/dist/bugs-CSBdWk0R.js +0 -18
- package/dist/components/Accordion/Accordion.d.ts +0 -10
- package/dist/components/Accordion/Accordion.js +0 -1599
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +0 -8
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +0 -16
- package/dist/components/Accordion/AccordionItem/index.d.ts +0 -1
- package/dist/components/Accordion/AccordionItem/index.js +0 -4
- package/dist/components/Accordion/constants.d.ts +0 -4
- package/dist/components/Accordion/constants.js +0 -8
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/Accordion/index.js +0 -8
- package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +0 -8
- package/dist/components/TabTrail/TabButtons/TabButtons.js +0 -28
- package/dist/components/TabTrail/TabButtons/index.d.ts +0 -1
- package/dist/components/TabTrail/TabButtons/index.js +0 -4
- package/dist/components/TabTrail/TabTrail.d.ts +0 -11
- package/dist/components/TabTrail/TabTrail.js +0 -281
- package/dist/components/TabTrail/constants.d.ts +0 -4
- package/dist/components/TabTrail/constants.js +0 -8
- package/dist/components/TabTrail/index.d.ts +0 -2
- package/dist/components/TabTrail/index.js +0 -6
- package/dist/hidden-BuVoeHNy.js +0 -13
- package/dist/label-C_5Syaoj.js +0 -159
- package/dist/open-closed-CbXq00et.js +0 -93
- package/dist/use-by-comparator-BUO78DGe.js +0 -16
- package/dist/use-resolve-button-type-B6LE6gU3.js +0 -19
@@ -1,21 +1,16 @@
|
|
1
1
|
import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import * as React from "react";
|
4
|
-
import React__default, { useReducer, useMemo, useSyncExternalStore, useId as useId$1, useEffect, useCallback, useRef, useLayoutEffect, createContext, useContext,
|
4
|
+
import React__default, { useReducer, useMemo, useSyncExternalStore, useId as useId$1, useEffect, useCallback, useRef, useState, useLayoutEffect, createContext, useContext, Fragment, createRef, forwardRef } from "react";
|
5
5
|
import { ESelectSearchSize } from "./constants.js";
|
6
6
|
import { useMediaQuery } from "../../hooks/useMediaQuery/useMediaQuery.js";
|
7
7
|
import { EMediaQuery } from "../../hooks/useMediaQuery/constants.js";
|
8
8
|
import { Icon } from "../../icons/Icon.js";
|
9
|
-
import { n as n$
|
9
|
+
import { n as n$3, u as u$4, g as o$1, s as s$3, o as o$2, p as p$1, t as t$3, h as s$4, W as W$1, y as y$3, i as T$1, H, M as M$2, K, b as a$5, l as l$4, T as T$2, a as u$6, z, j as j$1, d as u$7, I as I$1, G, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, c as $6179b936705e76d3$export$ae780daf29e6d456, D as D$3, e as o$3, r as r$2 } from "../../label-BXAcSLy0.js";
|
10
10
|
import * as ReactDOM from "react-dom";
|
11
11
|
import { flushSync, createPortal } from "react-dom";
|
12
|
-
import { w } from "../../use-active-press-
|
13
|
-
import { u as u$
|
14
|
-
import { K, a as a$5, l as l$3, T as T$1, z, j as j$1, u as u$6, I as I$1, G } from "../../label-C_5Syaoj.js";
|
15
|
-
import { A, h as h$1, f as f$6, _ } from "../../focus-management-1rQPII7Z.js";
|
16
|
-
import { T as T$2 } from "../../use-resolve-button-type-B6LE6gU3.js";
|
17
|
-
import { c as c$2, i as i$2, u as u$7, V, A as A$1 } from "../../open-closed-CbXq00et.js";
|
18
|
-
import { r as r$2 } from "../../bugs-CSBdWk0R.js";
|
12
|
+
import { w } from "../../use-active-press-9MCrfRZk.js";
|
13
|
+
import { A as A$1, h as h$1, f as f$6, u as u$5, _ } from "../../focus-management-CFDo6ZSc.js";
|
19
14
|
import '../../assets/SelectSearch.css';function memo(getDeps, fn, opts) {
|
20
15
|
let deps = opts.initialDeps ?? [];
|
21
16
|
let result;
|
@@ -783,7 +778,7 @@ function s$2(e2) {
|
|
783
778
|
}
|
784
779
|
function f$5(e2, n2 = false) {
|
785
780
|
let t2 = e2 === null ? null : "current" in e2 ? e2.current : e2, [l2, u2] = useReducer(() => ({}), {}), r2 = useMemo(() => s$2(t2), [t2, l2]);
|
786
|
-
return n$
|
781
|
+
return n$3(() => {
|
787
782
|
if (!t2) return;
|
788
783
|
let i2 = new ResizeObserver(u2);
|
789
784
|
return i2.observe(t2), () => {
|
@@ -825,28 +820,28 @@ let p = new a$4(() => a$3(() => [], { ADD(r2) {
|
|
825
820
|
} }));
|
826
821
|
function x(r2, e2) {
|
827
822
|
let t2 = p.get(e2), i2 = useId$1(), h2 = o(t2);
|
828
|
-
if (n$
|
823
|
+
if (n$3(() => {
|
829
824
|
if (r2) return t2.dispatch("ADD", i2), () => t2.dispatch("REMOVE", i2);
|
830
825
|
}, [t2, r2]), !r2) return false;
|
831
826
|
let s2 = h2.indexOf(i2), o$12 = h2.length;
|
832
827
|
return s2 === -1 && (s2 = o$12, o$12 += 1), s2 === o$12 - 1;
|
833
828
|
}
|
834
|
-
let f$4 = /* @__PURE__ */ new Map(), u$
|
829
|
+
let f$4 = /* @__PURE__ */ new Map(), u$3 = /* @__PURE__ */ new Map();
|
835
830
|
function h(t2) {
|
836
831
|
var e2;
|
837
|
-
let r2 = (e2 = u$
|
838
|
-
return u$
|
832
|
+
let r2 = (e2 = u$3.get(t2)) != null ? e2 : 0;
|
833
|
+
return u$3.set(t2, r2 + 1), r2 !== 0 ? () => m$3(t2) : (f$4.set(t2, { "aria-hidden": t2.getAttribute("aria-hidden"), inert: t2.inert }), t2.setAttribute("aria-hidden", "true"), t2.inert = true, () => m$3(t2));
|
839
834
|
}
|
840
835
|
function m$3(t2) {
|
841
836
|
var i2;
|
842
|
-
let r2 = (i2 = u$
|
843
|
-
if (r2 === 1 ? u$
|
837
|
+
let r2 = (i2 = u$3.get(t2)) != null ? i2 : 1;
|
838
|
+
if (r2 === 1 ? u$3.delete(t2) : u$3.set(t2, r2 - 1), r2 !== 1) return;
|
844
839
|
let e2 = f$4.get(t2);
|
845
840
|
e2 && (e2["aria-hidden"] === null ? t2.removeAttribute("aria-hidden") : t2.setAttribute("aria-hidden", e2["aria-hidden"]), t2.inert = e2.inert, f$4.delete(t2));
|
846
841
|
}
|
847
842
|
function y$2(t2, { allowed: r2, disallowed: e2 } = {}) {
|
848
843
|
let i2 = x(t2, "inert-others");
|
849
|
-
n$
|
844
|
+
n$3(() => {
|
850
845
|
var d2, c2;
|
851
846
|
if (!i2) return;
|
852
847
|
let a3 = o$1();
|
@@ -854,7 +849,7 @@ function y$2(t2, { allowed: r2, disallowed: e2 } = {}) {
|
|
854
849
|
let s2 = (c2 = r2 == null ? void 0 : r2()) != null ? c2 : [];
|
855
850
|
for (let n2 of s2) {
|
856
851
|
if (!n2) continue;
|
857
|
-
let l2 = u$
|
852
|
+
let l2 = u$4(n2);
|
858
853
|
if (!l2) continue;
|
859
854
|
let o2 = n2.parentElement;
|
860
855
|
for (; o2 && o2 !== l2.body; ) {
|
@@ -889,13 +884,13 @@ function m$2(s2, n2, l2) {
|
|
889
884
|
function t$2() {
|
890
885
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
891
886
|
}
|
892
|
-
function i$
|
887
|
+
function i$3() {
|
893
888
|
return /Android/gi.test(window.navigator.userAgent);
|
894
889
|
}
|
895
|
-
function n$
|
896
|
-
return t$2() || i$
|
890
|
+
function n$2() {
|
891
|
+
return t$2() || i$3();
|
897
892
|
}
|
898
|
-
function i(t2, e2, o2, n2) {
|
893
|
+
function i$2(t2, e2, o2, n2) {
|
899
894
|
let u2 = s$3(o2);
|
900
895
|
useEffect(() => {
|
901
896
|
if (!t2) return;
|
@@ -916,7 +911,7 @@ function s$1(t2, e2, o2, n2) {
|
|
916
911
|
}, [t2, e2, n2]);
|
917
912
|
}
|
918
913
|
const d$2 = 30;
|
919
|
-
function F$
|
914
|
+
function F$2(E2, p2, C) {
|
920
915
|
let u2 = x(E2, "outside-click"), f2 = s$3(C), s2 = useCallback(function(e2, o2) {
|
921
916
|
if (e2.defaultPrevented) return;
|
922
917
|
let r2 = o2(e2);
|
@@ -929,27 +924,27 @@ function F$1(E2, p2, C) {
|
|
929
924
|
let n2 = i2 instanceof HTMLElement ? i2 : i2.current;
|
930
925
|
if (n2 != null && n2.contains(r2) || e2.composed && e2.composedPath().includes(n2)) return;
|
931
926
|
}
|
932
|
-
return !A(r2, h$1.Loose) && r2.tabIndex !== -1 && e2.preventDefault(), f2.current(e2, r2);
|
927
|
+
return !A$1(r2, h$1.Loose) && r2.tabIndex !== -1 && e2.preventDefault(), f2.current(e2, r2);
|
933
928
|
}, [f2]), l2 = useRef(null);
|
934
|
-
i(u2, "pointerdown", (t2) => {
|
929
|
+
i$2(u2, "pointerdown", (t2) => {
|
935
930
|
var e2, o2;
|
936
931
|
l2.current = ((o2 = (e2 = t2.composedPath) == null ? void 0 : e2.call(t2)) == null ? void 0 : o2[0]) || t2.target;
|
937
|
-
}, true), i(u2, "mousedown", (t2) => {
|
932
|
+
}, true), i$2(u2, "mousedown", (t2) => {
|
938
933
|
var e2, o2;
|
939
934
|
l2.current = ((o2 = (e2 = t2.composedPath) == null ? void 0 : e2.call(t2)) == null ? void 0 : o2[0]) || t2.target;
|
940
|
-
}, true), i(u2, "click", (t2) => {
|
941
|
-
n$
|
935
|
+
}, true), i$2(u2, "click", (t2) => {
|
936
|
+
n$2() || l2.current && (s2(t2, () => l2.current), l2.current = null);
|
942
937
|
}, true);
|
943
938
|
let a3 = useRef({ x: 0, y: 0 });
|
944
|
-
i(u2, "touchstart", (t2) => {
|
939
|
+
i$2(u2, "touchstart", (t2) => {
|
945
940
|
a3.current.x = t2.touches[0].clientX, a3.current.y = t2.touches[0].clientY;
|
946
|
-
}, true), i(u2, "touchend", (t2) => {
|
941
|
+
}, true), i$2(u2, "touchend", (t2) => {
|
947
942
|
let e2 = { x: t2.changedTouches[0].clientX, y: t2.changedTouches[0].clientY };
|
948
943
|
if (!(Math.abs(e2.x - a3.current.x) >= d$2 || Math.abs(e2.y - a3.current.y) >= d$2)) return s2(t2, () => t2.target instanceof HTMLElement ? t2.target : null);
|
949
944
|
}, true), s$1(u2, "blur", (t2) => s2(t2, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), true);
|
950
945
|
}
|
951
|
-
function n(...e2) {
|
952
|
-
return useMemo(() => u$
|
946
|
+
function n$1(...e2) {
|
947
|
+
return useMemo(() => u$4(...e2), [...e2]);
|
953
948
|
}
|
954
949
|
function E(n2, e2, a3, t2) {
|
955
950
|
let i2 = s$3(a3);
|
@@ -978,6 +973,20 @@ function f$3(l2) {
|
|
978
973
|
}
|
979
974
|
});
|
980
975
|
}
|
976
|
+
function i$1(t2) {
|
977
|
+
var n2;
|
978
|
+
if (t2.type) return t2.type;
|
979
|
+
let e2 = (n2 = t2.as) != null ? n2 : "button";
|
980
|
+
if (typeof e2 == "string" && e2.toLowerCase() === "button") return "button";
|
981
|
+
}
|
982
|
+
function T(t2, e2) {
|
983
|
+
let [n2, u2] = useState(() => i$1(t2));
|
984
|
+
return n$3(() => {
|
985
|
+
u2(i$1(t2));
|
986
|
+
}, [t2.type, t2.as]), n$3(() => {
|
987
|
+
n2 || e2.current && e2.current instanceof HTMLButtonElement && !e2.current.hasAttribute("type") && u2("button");
|
988
|
+
}, [n2, e2]), n2;
|
989
|
+
}
|
981
990
|
function d$1() {
|
982
991
|
let r2;
|
983
992
|
return { before({ doc: e2 }) {
|
@@ -1067,7 +1076,7 @@ a$2.subscribe(() => {
|
|
1067
1076
|
});
|
1068
1077
|
function a$1(r2, e2, n2 = () => ({ containers: [] })) {
|
1069
1078
|
let f2 = o(a$2), o$12 = e2 ? f2.get(e2) : void 0, i2 = o$12 ? o$12.count > 0 : false;
|
1070
|
-
return n$
|
1079
|
+
return n$3(() => {
|
1071
1080
|
if (!(!e2 || !r2)) return a$2.dispatch("PUSH", e2, n2), () => a$2.dispatch("POP", e2, n2);
|
1072
1081
|
}, [r2, e2]), i2;
|
1073
1082
|
}
|
@@ -1081,7 +1090,7 @@ function f$2(e2, c2, n2 = () => [document.body]) {
|
|
1081
1090
|
function t$1(e2) {
|
1082
1091
|
return [e2.screenX, e2.screenY];
|
1083
1092
|
}
|
1084
|
-
function u$
|
1093
|
+
function u$2() {
|
1085
1094
|
let e2 = useRef([-1, -1]);
|
1086
1095
|
return { wasMoved(r2) {
|
1087
1096
|
let n2 = t$1(r2);
|
@@ -1090,13 +1099,84 @@ function u$1() {
|
|
1090
1099
|
e2.current = t$1(r2);
|
1091
1100
|
} };
|
1092
1101
|
}
|
1102
|
+
function l$3(r2) {
|
1103
|
+
let e2 = { called: false };
|
1104
|
+
return (...t2) => {
|
1105
|
+
if (!e2.called) return e2.called = true, r2(...t2);
|
1106
|
+
};
|
1107
|
+
}
|
1108
|
+
function c$3(u2 = 0) {
|
1109
|
+
let [t2, l2] = useState(u2), g2 = useCallback((e2) => l2(e2), [t2]), s2 = useCallback((e2) => l2((a3) => a3 | e2), [t2]), m2 = useCallback((e2) => (t2 & e2) === e2, [t2]), n2 = useCallback((e2) => l2((a3) => a3 & ~e2), [l2]), F2 = useCallback((e2) => l2((a3) => a3 ^ e2), [l2]);
|
1110
|
+
return { flags: t2, setFlag: g2, addFlag: s2, hasFlag: m2, removeFlag: n2, toggleFlag: F2 };
|
1111
|
+
}
|
1112
|
+
var D$2 = ((i2) => (i2[i2.None = 0] = "None", i2[i2.Closed = 1] = "Closed", i2[i2.Enter = 2] = "Enter", i2[i2.Leave = 4] = "Leave", i2))(D$2 || {});
|
1113
|
+
function A(e2) {
|
1114
|
+
let a3 = {};
|
1115
|
+
for (let t2 in e2) e2[t2] === true && (a3[`data-${t2}`] = "");
|
1116
|
+
return a3;
|
1117
|
+
}
|
1118
|
+
function V(e2, a3, t2, r2) {
|
1119
|
+
let [i2, u2] = useState(t2), { hasFlag: d2, addFlag: f2, removeFlag: s2 } = c$3(e2 && i2 ? 3 : 0), l2 = useRef(false), n2 = useRef(false), o2 = p$1();
|
1120
|
+
return n$3(function p2() {
|
1121
|
+
var T2;
|
1122
|
+
if (!e2) return;
|
1123
|
+
t2 && u2(true);
|
1124
|
+
let c2 = a3.current;
|
1125
|
+
return c2 ? ((T2 = void 0) == null || T2.call(r2, t2), M$1(c2, { inFlight: l2, prepare() {
|
1126
|
+
n2.current ? n2.current = false : n2.current = l2.current, l2.current = true, !n2.current && (t2 ? (f2(3), s2(4)) : (f2(4), s2(2)));
|
1127
|
+
}, run() {
|
1128
|
+
n2.current ? t2 ? (s2(3), f2(4)) : (s2(4), f2(3)) : t2 ? s2(1) : f2(1);
|
1129
|
+
}, done() {
|
1130
|
+
var m2;
|
1131
|
+
n2.current && typeof c2.getAnimations == "function" && c2.getAnimations().length > 0 || (l2.current = false, s2(7), t2 || u2(false), (m2 = void 0) == null || m2.call(r2, t2));
|
1132
|
+
} })) : t2 ? (f2(3), o2.nextFrame(() => p2())) : void 0;
|
1133
|
+
}, [e2, t2, a3, o2]), e2 ? [i2, { closed: d2(1), enter: d2(2), leave: d2(4), transition: d2(2) || d2(4) }] : [t2, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
|
1134
|
+
}
|
1135
|
+
function M$1(e2, { prepare: a3, run: t2, done: r2, inFlight: i2 }) {
|
1136
|
+
let u2 = o$1();
|
1137
|
+
return R(e2, { prepare: a3, inFlight: i2 }), u2.nextFrame(() => {
|
1138
|
+
u2.add(F$1(e2, r2)), t2();
|
1139
|
+
}), u2.dispose;
|
1140
|
+
}
|
1141
|
+
function F$1(e2, a3) {
|
1142
|
+
let t2 = l$3(a3), r2 = o$1();
|
1143
|
+
if (!e2) return r2.dispose;
|
1144
|
+
let { transitionDuration: i2, transitionDelay: u2 } = getComputedStyle(e2), [d2, f2] = [i2, u2].map((l2) => {
|
1145
|
+
let [n2 = 0] = l2.split(",").filter(Boolean).map((o2) => o2.includes("ms") ? parseFloat(o2) : parseFloat(o2) * 1e3).sort((o2, p2) => p2 - o2);
|
1146
|
+
return n2;
|
1147
|
+
}), s2 = d2 + f2;
|
1148
|
+
if (s2 !== 0) {
|
1149
|
+
let l2 = r2.group((n2) => {
|
1150
|
+
let o2 = n2.setTimeout(() => {
|
1151
|
+
t2(), n2.dispose();
|
1152
|
+
}, s2);
|
1153
|
+
n2.addEventListener(e2, "transitionrun", (p2) => {
|
1154
|
+
p2.target === p2.currentTarget && (o2(), n2.addEventListener(e2, "transitioncancel", (c2) => {
|
1155
|
+
c2.target === c2.currentTarget && (t2(), l2());
|
1156
|
+
}));
|
1157
|
+
});
|
1158
|
+
});
|
1159
|
+
r2.addEventListener(e2, "transitionend", (n2) => {
|
1160
|
+
n2.target === n2.currentTarget && (t2(), r2.dispose());
|
1161
|
+
});
|
1162
|
+
} else t2();
|
1163
|
+
return r2.dispose;
|
1164
|
+
}
|
1165
|
+
function R(e2, { inFlight: a3, prepare: t2 }) {
|
1166
|
+
if (a3 != null && a3.current) {
|
1167
|
+
t2();
|
1168
|
+
return;
|
1169
|
+
}
|
1170
|
+
let r2 = e2.style.transition;
|
1171
|
+
e2.style.transition = "none", t2(), e2.offsetHeight, e2.style.transition = r2;
|
1172
|
+
}
|
1093
1173
|
function F(c2, { container: e2, accept: t2, walk: r2 }) {
|
1094
1174
|
let o2 = useRef(t2), l2 = useRef(r2);
|
1095
1175
|
useEffect(() => {
|
1096
1176
|
o2.current = t2, l2.current = r2;
|
1097
|
-
}, [t2, r2]), n$
|
1177
|
+
}, [t2, r2]), n$3(() => {
|
1098
1178
|
if (!e2 || !c2) return;
|
1099
|
-
let n2 = u$
|
1179
|
+
let n2 = u$4(e2);
|
1100
1180
|
if (!n2) return;
|
1101
1181
|
let f2 = o2.current, p2 = l2.current, i2 = Object.assign((m2) => f2(m2), { acceptNode: f2 }), u2 = n2.createTreeWalker(e2, NodeFilter.SHOW_ELEMENT, i2, false);
|
1102
1182
|
for (; u2.nextNode(); ) p2(u2.currentNode);
|
@@ -3172,7 +3252,7 @@ function be() {
|
|
3172
3252
|
function Re(e2 = null) {
|
3173
3253
|
e2 === false && (e2 = null), typeof e2 == "string" && (e2 = { to: e2 });
|
3174
3254
|
let t2 = useContext(S$1), n2 = useMemo(() => e2, [JSON.stringify(e2, typeof HTMLElement != "undefined" ? (r2, o2) => o2 instanceof HTMLElement ? o2.outerHTML : o2 : void 0)]);
|
3175
|
-
n$
|
3255
|
+
n$3(() => {
|
3176
3256
|
t2 == null || t2(n2 != null ? n2 : null);
|
3177
3257
|
}, [t2, n2]);
|
3178
3258
|
let l2 = useContext(y$1);
|
@@ -3183,7 +3263,7 @@ function ve({ children: e2, enabled: t2 = true }) {
|
|
3183
3263
|
let [n2, l2] = useState(null), [r2, o2] = useState(0), c2 = useRef(null), [u2, s2] = useState(null);
|
3184
3264
|
pe(u2);
|
3185
3265
|
let i2 = t2 && n2 !== null && u2 !== null, { to: F2 = "bottom", gap: C = 0, offset: M2 = 0, padding: p2 = 0, inner: P } = ce(n2, u2), [a3, f2 = "center"] = F2.split(" ");
|
3186
|
-
n$
|
3266
|
+
n$3(() => {
|
3187
3267
|
i2 && o2(0);
|
3188
3268
|
}, [i2]);
|
3189
3269
|
let { refs: b, floatingStyles: w2, context: g2 } = useFloating({ open: i2, placement: a3 === "selection" ? f2 === "center" ? "bottom" : `bottom-${f2}` : f2 === "center" ? `${a3}` : `${a3}-${f2}`, strategy: "absolute", transform: false, middleware: [offset({ mainAxis: a3 === "selection" ? 0 : C, crossAxis: M2 }), shift({ padding: p2 }), a3 !== "selection" && flip({ padding: p2 }), a3 === "selection" && P ? inner({ ...P, padding: p2, overflowRef: c2, offset: r2, minItemsVisible: q, referenceOverflowThreshold: p2, onFallbackChange(h2) {
|
@@ -3214,7 +3294,7 @@ function ve({ children: e2, enabled: t2 = true }) {
|
|
3214
3294
|
return React.createElement(S$1.Provider, { value: l2 }, React.createElement(y$1.Provider, { value: { setFloating: Y, setReference: b.setReference, styles: w2, getReferenceProps: Q, getFloatingProps: X, slot: G2 } }, e2));
|
3215
3295
|
}
|
3216
3296
|
function pe(e2) {
|
3217
|
-
n$
|
3297
|
+
n$3(() => {
|
3218
3298
|
if (!e2) return;
|
3219
3299
|
let t2 = new MutationObserver(() => {
|
3220
3300
|
let n2 = window.getComputedStyle(e2).maxHeight, l2 = parseFloat(n2);
|
@@ -3263,7 +3343,7 @@ function L(e2, t2, n2 = void 0) {
|
|
3263
3343
|
}
|
3264
3344
|
return [n2, null];
|
3265
3345
|
}), o2 = useMemo(() => r2(e2, t2)[0], [e2, t2]), [c2 = o2, u2] = useState();
|
3266
|
-
return n$
|
3346
|
+
return n$3(() => {
|
3267
3347
|
let [s2, i2] = r2(e2, t2);
|
3268
3348
|
if (u2(s2), !!i2) return i2(u2);
|
3269
3349
|
}, [e2, t2]), c2;
|
@@ -3292,6 +3372,15 @@ function l$2(o2, e2) {
|
|
3292
3372
|
let [n2, t2] = useState(e2);
|
3293
3373
|
return !o2 && n2 !== e2 && t2(e2), o2 ? n2 : e2;
|
3294
3374
|
}
|
3375
|
+
let n = createContext(null);
|
3376
|
+
n.displayName = "OpenClosedContext";
|
3377
|
+
var i = ((e2) => (e2[e2.Open = 1] = "Open", e2[e2.Closed = 2] = "Closed", e2[e2.Closing = 4] = "Closing", e2[e2.Opening = 8] = "Opening", e2))(i || {});
|
3378
|
+
function u$1() {
|
3379
|
+
return useContext(n);
|
3380
|
+
}
|
3381
|
+
function c$2({ value: o2, children: t2 }) {
|
3382
|
+
return React__default.createElement(n.Provider, { value: o2 }, t2);
|
3383
|
+
}
|
3295
3384
|
function t(n2) {
|
3296
3385
|
function e2() {
|
3297
3386
|
document.readyState !== "loading" && (n2(), document.removeEventListener("DOMContentLoaded", e2));
|
@@ -3368,7 +3457,7 @@ function a2() {
|
|
3368
3457
|
return useContext(e);
|
3369
3458
|
}
|
3370
3459
|
function D(p2) {
|
3371
|
-
let r2 = a2(), l2 = useContext(v), e2 = n(p2), [o2,
|
3460
|
+
let r2 = a2(), l2 = useContext(v), e2 = n$1(p2), [o2, n2] = useState(() => {
|
3372
3461
|
var t2;
|
3373
3462
|
if (!r2 && l2 !== null) return (t2 = l2.current) != null ? t2 : null;
|
3374
3463
|
if (s$4.isServer) return null;
|
@@ -3381,24 +3470,24 @@ function D(p2) {
|
|
3381
3470
|
return useEffect(() => {
|
3382
3471
|
o2 !== null && (e2 != null && e2.body.contains(o2) || e2 == null || e2.body.appendChild(o2));
|
3383
3472
|
}, [o2, e2]), useEffect(() => {
|
3384
|
-
r2 || l2 !== null &&
|
3385
|
-
}, [l2,
|
3473
|
+
r2 || l2 !== null && n2(l2.current);
|
3474
|
+
}, [l2, n2, r2]), o2;
|
3386
3475
|
}
|
3387
3476
|
let M = Fragment, N = W$1(function(r2, l2) {
|
3388
|
-
let e2 = r2, o2 = useRef(null),
|
3477
|
+
let e2 = r2, o2 = useRef(null), n2 = y$3(T$1((i2) => {
|
3389
3478
|
o2.current = i2;
|
3390
|
-
}), l2), u2 = n(o2), a3 = D(o2), [t2] = useState(() => {
|
3479
|
+
}), l2), u2 = n$1(o2), a3 = D(o2), [t2] = useState(() => {
|
3391
3480
|
var i2;
|
3392
3481
|
return s$4.isServer ? null : (i2 = u2 == null ? void 0 : u2.createElement("div")) != null ? i2 : null;
|
3393
3482
|
}), s2 = useContext(y), b = l$1();
|
3394
|
-
return n$
|
3483
|
+
return n$3(() => {
|
3395
3484
|
!a3 || !t2 || a3.contains(t2) || (t2.setAttribute("data-headlessui-portal", ""), a3.appendChild(t2));
|
3396
|
-
}, [a3, t2]), n$
|
3485
|
+
}, [a3, t2]), n$3(() => {
|
3397
3486
|
if (t2 && s2) return s2.register(t2);
|
3398
3487
|
}, [s2, t2]), c(() => {
|
3399
3488
|
var i2;
|
3400
3489
|
!a3 || !t2 || (t2 instanceof Node && a3.contains(t2) && a3.removeChild(t2), a3.childNodes.length <= 0 && ((i2 = a3.parentElement) == null || i2.removeChild(a3)));
|
3401
|
-
}), b ? !a3 || !t2 ? null : createPortal(H({ ourProps: { ref:
|
3490
|
+
}), b ? !a3 || !t2 ? null : createPortal(H({ ourProps: { ref: n2 }, theirProps: e2, slot: {}, defaultTag: M, name: "Portal" }), t2) : null;
|
3402
3491
|
});
|
3403
3492
|
function S(p2, r2) {
|
3404
3493
|
let l2 = y$3(r2), { enabled: e2 = true, ...o2 } = p2;
|
@@ -3496,7 +3585,7 @@ function Io(o2) {
|
|
3496
3585
|
var a3;
|
3497
3586
|
return (a3 = r2.optionsRef.current) != null ? a3 : null;
|
3498
3587
|
}, overscan: 12 }), [f2, s2] = useState(0);
|
3499
|
-
n$
|
3588
|
+
n$3(() => {
|
3500
3589
|
s2((a3) => a3 + 1);
|
3501
3590
|
}, [e2]);
|
3502
3591
|
let u2 = d2.getVirtualItems();
|
@@ -3521,12 +3610,12 @@ function oe(o2) {
|
|
3521
3610
|
return r2;
|
3522
3611
|
}
|
3523
3612
|
function Eo(o2, r2) {
|
3524
|
-
return u$
|
3613
|
+
return u$6(r2.type, Ao, o2, r2);
|
3525
3614
|
}
|
3526
3615
|
let _o = Fragment;
|
3527
3616
|
function ho(o2, r2) {
|
3528
3617
|
var ge, ve$1;
|
3529
|
-
let e2 = a$5(), { value: t2, defaultValue: c2, onChange: d2, form: f2, name: s2, by: u2, disabled: a3 = e2 || false, onClose: n2, __demoMode: T2 = false, multiple: C = false, immediate: _2 = false, virtual: p2 = null, nullable: L2, ...M2 } = o2, F2 = l$
|
3618
|
+
let e2 = a$5(), { value: t2, defaultValue: c2, onChange: d2, form: f2, name: s2, by: u2, disabled: a3 = e2 || false, onClose: n2, __demoMode: T2 = false, multiple: C = false, immediate: _2 = false, virtual: p2 = null, nullable: L2, ...M2 } = o2, F2 = l$4(c2), [v2 = C ? [] : void 0, y2] = T$2(t2, d2, F2), [A2, R2] = useReducer(Eo, { dataRef: createRef(), comboboxState: T2 ? 0 : 1, isTyping: false, options: [], virtual: p2 ? { options: p2.options, disabled: (ge = p2.disabled) != null ? ge : () => false } : null, activeOptionIndex: null, activationTrigger: 2, __demoMode: T2 }), h2 = useRef(false), O = useRef({ static: false, hold: false }), G2 = useRef(null), J2 = useRef(null), Q = useRef(null), I2 = u$5(u2), B = o$2((b) => p2 ? u2 === null ? p2.options.indexOf(b) : p2.options.findIndex((g2) => I2(g2, b)) : A2.options.findIndex((g2) => I2(g2.dataRef.current.value, b))), k = useCallback((b) => u$6(i$12.mode, { [1]: () => v2.some((g2) => I2(g2, b)), [0]: () => I2(v2, b) }), [v2]), K2 = o$2((b) => A2.activeOptionIndex === B(b)), i$12 = useMemo(() => ({ ...A2, immediate: _2, optionsPropsRef: O, inputRef: G2, buttonRef: J2, optionsRef: Q, value: v2, defaultValue: F2, disabled: a3, mode: C ? 1 : 0, virtual: p2 ? A2.virtual : null, get activeOptionIndex() {
|
3530
3619
|
if (h2.current && A2.activeOptionIndex === null && (p2 ? p2.options.length > 0 : A2.options.length > 0)) {
|
3531
3620
|
if (p2) {
|
3532
3621
|
let g2 = p2.options.findIndex((j2) => {
|
@@ -3540,50 +3629,50 @@ function ho(o2, r2) {
|
|
3540
3629
|
}
|
3541
3630
|
return A2.activeOptionIndex;
|
3542
3631
|
}, calculateIndex: B, compare: I2, isSelected: k, isActive: K2 }), [v2, F2, a3, C, T2, A2, p2]);
|
3543
|
-
n$
|
3632
|
+
n$3(() => {
|
3544
3633
|
var b;
|
3545
|
-
p2 &&
|
3546
|
-
}, [p2, p2 == null ? void 0 : p2.options, p2 == null ? void 0 : p2.disabled]), n$
|
3547
|
-
A2.dataRef.current =
|
3548
|
-
}, [
|
3549
|
-
let N2 =
|
3550
|
-
F$
|
3634
|
+
p2 && R2({ type: 7, options: p2.options, disabled: (b = p2.disabled) != null ? b : null });
|
3635
|
+
}, [p2, p2 == null ? void 0 : p2.options, p2 == null ? void 0 : p2.disabled]), n$3(() => {
|
3636
|
+
A2.dataRef.current = i$12;
|
3637
|
+
}, [i$12]);
|
3638
|
+
let N2 = i$12.comboboxState === 0;
|
3639
|
+
F$2(N2, [i$12.buttonRef, i$12.inputRef, i$12.optionsRef], () => x2.closeCombobox());
|
3551
3640
|
let q2 = useMemo(() => {
|
3552
3641
|
var b, g2, j2;
|
3553
|
-
return { open:
|
3554
|
-
}, [
|
3555
|
-
if (
|
3556
|
-
if (x2.setIsTyping(false),
|
3642
|
+
return { open: i$12.comboboxState === 0, disabled: a3, activeIndex: i$12.activeOptionIndex, activeOption: i$12.activeOptionIndex === null ? null : i$12.virtual ? i$12.virtual.options[(b = i$12.activeOptionIndex) != null ? b : 0] : (j2 = (g2 = i$12.options[i$12.activeOptionIndex]) == null ? void 0 : g2.dataRef.current.value) != null ? j2 : null, value: v2 };
|
3643
|
+
}, [i$12, a3, v2]), Y = o$2(() => {
|
3644
|
+
if (i$12.activeOptionIndex !== null) {
|
3645
|
+
if (x2.setIsTyping(false), i$12.virtual) S2(i$12.virtual.options[i$12.activeOptionIndex]);
|
3557
3646
|
else {
|
3558
|
-
let { dataRef: b } =
|
3647
|
+
let { dataRef: b } = i$12.options[i$12.activeOptionIndex];
|
3559
3648
|
S2(b.current.value);
|
3560
3649
|
}
|
3561
|
-
x2.goToOption(c$1.Specific,
|
3650
|
+
x2.goToOption(c$1.Specific, i$12.activeOptionIndex);
|
3562
3651
|
}
|
3563
3652
|
}), E2 = o$2(() => {
|
3564
|
-
|
3653
|
+
R2({ type: 0 }), h2.current = true;
|
3565
3654
|
}), ae = o$2(() => {
|
3566
|
-
|
3655
|
+
R2({ type: 1 }), h2.current = false, n2 == null || n2();
|
3567
3656
|
}), le = o$2((b) => {
|
3568
|
-
|
3569
|
-
}), l2 = o$2((b, g2, j2) => (h2.current = false, b === c$1.Specific ?
|
3570
|
-
|
3571
|
-
})), S2 = o$2((b) => u$
|
3657
|
+
R2({ type: 3, isTyping: b });
|
3658
|
+
}), l2 = o$2((b, g2, j2) => (h2.current = false, b === c$1.Specific ? R2({ type: 2, focus: c$1.Specific, idx: g2, trigger: j2 }) : R2({ type: 2, focus: b, trigger: j2 }))), U = o$2((b, g2) => (R2({ type: 4, payload: { id: b, dataRef: g2 } }), () => {
|
3659
|
+
i$12.isActive(g2.current.value) && (h2.current = true), R2({ type: 5, id: b });
|
3660
|
+
})), S2 = o$2((b) => u$6(i$12.mode, { [0]() {
|
3572
3661
|
return y2 == null ? void 0 : y2(b);
|
3573
3662
|
}, [1]() {
|
3574
|
-
let g2 =
|
3663
|
+
let g2 = i$12.value.slice(), j2 = g2.findIndex((ue) => I2(ue, b));
|
3575
3664
|
return j2 === -1 ? g2.push(b) : g2.splice(j2, 1), y2 == null ? void 0 : y2(g2);
|
3576
3665
|
} })), H$1 = o$2((b) => {
|
3577
|
-
|
3666
|
+
R2({ type: 6, trigger: b });
|
3578
3667
|
}), x2 = useMemo(() => ({ onChange: S2, registerOption: U, goToOption: l2, setIsTyping: le, closeCombobox: ae, openCombobox: E2, setActivationTrigger: H$1, selectActiveOption: Y }), []), [w2, W2] = z(), we = r2 === null ? {} : { ref: r2 }, Be = useCallback(() => {
|
3579
3668
|
if (F2 !== void 0) return y2 == null ? void 0 : y2(F2);
|
3580
3669
|
}, [y2, F2]);
|
3581
|
-
return React__default.createElement(W2, { value: w2, props: { htmlFor: (ve$1 =
|
3670
|
+
return React__default.createElement(W2, { value: w2, props: { htmlFor: (ve$1 = i$12.inputRef.current) == null ? void 0 : ve$1.id }, slot: { open: i$12.comboboxState === 0, disabled: a3 } }, React__default.createElement(ve, null, React__default.createElement(xe.Provider, { value: x2 }, React__default.createElement(ie.Provider, { value: i$12 }, React__default.createElement(c$2, { value: u$6(i$12.comboboxState, { [0]: i.Open, [1]: i.Closed }) }, s2 != null && React__default.createElement(j$1, { disabled: a3, data: v2 != null ? { [s2]: v2 } : {}, form: f2, onReset: Be }), H({ ourProps: we, theirProps: M2, slot: q2, defaultTag: _o, name: "Combobox" }))))));
|
3582
3671
|
}
|
3583
3672
|
let Do = "input";
|
3584
3673
|
function Mo(o2, r$12) {
|
3585
3674
|
var q2, Y, E2, ae, le;
|
3586
|
-
let e2 = oe("Combobox.Input"), t2 = re("Combobox.Input"), c2 = useId$1(), d2 = u$
|
3675
|
+
let e2 = oe("Combobox.Input"), t2 = re("Combobox.Input"), c2 = useId$1(), d2 = u$7(), { id: f2 = d2 || `headlessui-combobox-input-${c2}`, onChange: s2, displayValue: u2, disabled: a3 = e2.disabled || false, autoFocus: n2 = false, type: T2 = "text", ...C } = o2, _2 = y$3(e2.inputRef, r$12, ye()), p2 = n$1(e2.inputRef), L2 = p$1(), M2 = o$2(() => {
|
3587
3676
|
t2.onChange(null), e2.optionsRef.current && (e2.optionsRef.current.scrollTop = 0), t2.goToOption(c$1.Nothing);
|
3588
3677
|
}), F2 = useMemo(() => {
|
3589
3678
|
var l2;
|
@@ -3612,7 +3701,7 @@ function Mo(o2, r$12) {
|
|
3612
3701
|
L2.nextFrame(() => {
|
3613
3702
|
v2.current = false;
|
3614
3703
|
});
|
3615
|
-
}),
|
3704
|
+
}), R2 = o$2((l2) => {
|
3616
3705
|
switch (t2.setIsTyping(true), l2.key) {
|
3617
3706
|
case o$3.Enter:
|
3618
3707
|
if (e2.comboboxState !== 0 || v2.current) return;
|
@@ -3623,9 +3712,9 @@ function Mo(o2, r$12) {
|
|
3623
3712
|
t2.selectActiveOption(), e2.mode === 0 && t2.closeCombobox();
|
3624
3713
|
break;
|
3625
3714
|
case o$3.ArrowDown:
|
3626
|
-
return l2.preventDefault(), l2.stopPropagation(), u$
|
3715
|
+
return l2.preventDefault(), l2.stopPropagation(), u$6(e2.comboboxState, { [0]: () => t2.goToOption(c$1.Next), [1]: () => t2.openCombobox() });
|
3627
3716
|
case o$3.ArrowUp:
|
3628
|
-
return l2.preventDefault(), l2.stopPropagation(), u$
|
3717
|
+
return l2.preventDefault(), l2.stopPropagation(), u$6(e2.comboboxState, { [0]: () => t2.goToOption(c$1.Previous), [1]: () => {
|
3629
3718
|
flushSync(() => t2.openCombobox()), e2.value || t2.goToOption(c$1.Last);
|
3630
3719
|
} });
|
3631
3720
|
case o$3.Home:
|
@@ -3657,13 +3746,13 @@ function Mo(o2, r$12) {
|
|
3657
3746
|
(H2 = e2.buttonRef.current) != null && H2.contains(U) || (x2 = e2.optionsRef.current) != null && x2.contains(U) || e2.disabled || e2.immediate && e2.comboboxState !== 0 && L2.microTask(() => {
|
3658
3747
|
flushSync(() => t2.openCombobox()), t2.setActivationTrigger(1);
|
3659
3748
|
});
|
3660
|
-
}), J2 = I$1(), Q = G(), { isFocused: I2, focusProps: B } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus:
|
3749
|
+
}), J2 = I$1(), Q = G(), { isFocused: I2, focusProps: B } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: n2 }), { isHovered: k, hoverProps: K2 } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: a3 }), i2 = useMemo(() => ({ open: e2.comboboxState === 0, disabled: a3, hover: k, focus: I2, autofocus: n2 }), [e2, k, I2, n2, a3]), N2 = D$3({ ref: _2, id: f2, role: "combobox", type: T2, "aria-controls": (q2 = e2.optionsRef.current) == null ? void 0 : q2.id, "aria-expanded": e2.comboboxState === 0, "aria-activedescendant": e2.activeOptionIndex === null ? void 0 : e2.virtual ? (Y = e2.options.find((l2) => !l2.dataRef.current.disabled && e2.compare(l2.dataRef.current.value, e2.virtual.options[e2.activeOptionIndex]))) == null ? void 0 : Y.id : (E2 = e2.options[e2.activeOptionIndex]) == null ? void 0 : E2.id, "aria-labelledby": J2, "aria-describedby": Q, "aria-autocomplete": "list", defaultValue: (le = (ae = o2.defaultValue) != null ? ae : e2.defaultValue !== void 0 ? u2 == null ? void 0 : u2(e2.defaultValue) : null) != null ? le : e2.defaultValue, disabled: a3 || void 0, autoFocus: n2, onCompositionStart: y2, onCompositionEnd: A2, onKeyDown: R2, onChange: h2, onFocus: G$1, onBlur: O }, B, K2);
|
3661
3750
|
return H({ ourProps: N2, theirProps: C, slot: i2, defaultTag: Do, name: "Combobox.Input" });
|
3662
3751
|
}
|
3663
3752
|
let Fo = "button";
|
3664
3753
|
function Vo(o2, r2) {
|
3665
3754
|
var h2;
|
3666
|
-
let e2 = oe("Combobox.Button"), t2 = re("Combobox.Button"), c2 = y$3(e2.buttonRef, r2), d2 = useId$1(), { id: f2 = `headlessui-combobox-button-${d2}`, disabled: s2 = e2.disabled || false, autoFocus: u2 = false, ...a3 } = o2, n2 = f$3(e2.inputRef),
|
3755
|
+
let e2 = oe("Combobox.Button"), t2 = re("Combobox.Button"), c2 = y$3(e2.buttonRef, r2), d2 = useId$1(), { id: f2 = `headlessui-combobox-button-${d2}`, disabled: s2 = e2.disabled || false, autoFocus: u2 = false, ...a3 } = o2, n2 = f$3(e2.inputRef), T$12 = o$2((O) => {
|
3667
3756
|
switch (O.key) {
|
3668
3757
|
case o$3.Space:
|
3669
3758
|
case o$3.Enter:
|
@@ -3684,39 +3773,39 @@ function Vo(o2, r2) {
|
|
3684
3773
|
}
|
3685
3774
|
}), C = o$2((O) => {
|
3686
3775
|
O.preventDefault(), !r$2(O.currentTarget) && (O.button === g.Left && (e2.comboboxState === 0 ? t2.closeCombobox() : t2.openCombobox()), n2());
|
3687
|
-
}), _2 = I$1([f2]), { isFocusVisible: p2, focusProps: L2 } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: u2 }), { isHovered: M2, hoverProps: F2 } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: s2 }), { pressed: v2, pressProps: y2 } = w({ disabled: s2 }), A2 = useMemo(() => ({ open: e2.comboboxState === 0, active: v2 || e2.comboboxState === 0, disabled: s2, value: e2.value, hover: M2, focus: p2 }), [e2, M2, p2, v2, s2]),
|
3688
|
-
return H({ ourProps:
|
3776
|
+
}), _2 = I$1([f2]), { isFocusVisible: p2, focusProps: L2 } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: u2 }), { isHovered: M2, hoverProps: F2 } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: s2 }), { pressed: v2, pressProps: y2 } = w({ disabled: s2 }), A2 = useMemo(() => ({ open: e2.comboboxState === 0, active: v2 || e2.comboboxState === 0, disabled: s2, value: e2.value, hover: M2, focus: p2 }), [e2, M2, p2, v2, s2]), R2 = D$3({ ref: c2, id: f2, type: T(o2, e2.buttonRef), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": (h2 = e2.optionsRef.current) == null ? void 0 : h2.id, "aria-expanded": e2.comboboxState === 0, "aria-labelledby": _2, disabled: s2 || void 0, autoFocus: u2, onMouseDown: C, onKeyDown: T$12 }, L2, F2, y2);
|
3777
|
+
return H({ ourProps: R2, theirProps: a3, slot: A2, defaultTag: Fo, name: "Combobox.Button" });
|
3689
3778
|
}
|
3690
|
-
let Lo = "div", wo = M$
|
3779
|
+
let Lo = "div", wo = M$2.RenderStrategy | M$2.Static;
|
3691
3780
|
function Bo(o2, r2) {
|
3692
3781
|
var N2, q2, Y;
|
3693
|
-
let e2 = useId$1(), { id: t2 = `headlessui-combobox-options-${e2}`, hold: c2 = false, anchor: d2, portal: f2 = false, modal: s2 = true, transition: u2 = false, ...a3 } = o2,
|
3782
|
+
let e2 = useId$1(), { id: t2 = `headlessui-combobox-options-${e2}`, hold: c2 = false, anchor: d2, portal: f2 = false, modal: s2 = true, transition: u2 = false, ...a3 } = o2, n2 = oe("Combobox.Options"), T2 = re("Combobox.Options"), C = xe$1(d2);
|
3694
3783
|
C && (f2 = true);
|
3695
|
-
let [_2, p2] = Re(C), L2 = be(), M2 = y$3(
|
3696
|
-
m$2(y2,
|
3697
|
-
let
|
3698
|
-
f$2(
|
3699
|
-
let h2 =
|
3700
|
-
y$2(h2, { allowed: o$2(() => [
|
3784
|
+
let [_2, p2] = Re(C), L2 = be(), M2 = y$3(n2.optionsRef, r2, C ? _2 : null), F$12 = n$1(n2.optionsRef), v2 = u$1(), [y2, A$12] = V(u2, n2.optionsRef, v2 !== null ? (v2 & i.Open) === i.Open : n2.comboboxState === 0);
|
3785
|
+
m$2(y2, n2.inputRef, T2.closeCombobox);
|
3786
|
+
let R2 = n2.__demoMode ? false : s2 && n2.comboboxState === 0;
|
3787
|
+
f$2(R2, F$12);
|
3788
|
+
let h2 = n2.__demoMode ? false : s2 && n2.comboboxState === 0;
|
3789
|
+
y$2(h2, { allowed: o$2(() => [n2.inputRef.current, n2.buttonRef.current, n2.optionsRef.current]) }), n$3(() => {
|
3701
3790
|
var E2;
|
3702
|
-
|
3703
|
-
}, [
|
3704
|
-
|
3705
|
-
}, [
|
3791
|
+
n2.optionsPropsRef.current.static = (E2 = o2.static) != null ? E2 : false;
|
3792
|
+
}, [n2.optionsPropsRef, o2.static]), n$3(() => {
|
3793
|
+
n2.optionsPropsRef.current.hold = c2;
|
3794
|
+
}, [n2.optionsPropsRef, c2]), F(n2.comboboxState === 0, { container: n2.optionsRef.current, accept(E2) {
|
3706
3795
|
return E2.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : E2.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
3707
3796
|
}, walk(E2) {
|
3708
3797
|
E2.setAttribute("role", "none");
|
3709
3798
|
} });
|
3710
|
-
let O = I$1([(N2 =
|
3799
|
+
let O = I$1([(N2 = n2.buttonRef.current) == null ? void 0 : N2.id]), G2 = useMemo(() => ({ open: n2.comboboxState === 0, option: void 0 }), [n2.comboboxState]), J2 = o$2(() => {
|
3711
3800
|
T2.setActivationTrigger(0);
|
3712
3801
|
}), Q = o$2((E2) => {
|
3713
3802
|
E2.preventDefault(), T2.setActivationTrigger(0);
|
3714
|
-
}), I2 = D$
|
3715
|
-
if (
|
3803
|
+
}), I2 = D$3(C ? L2() : {}, { "aria-labelledby": O, role: "listbox", "aria-multiselectable": n2.mode === 1 ? true : void 0, id: t2, ref: M2, style: { ...a3.style, ...p2, "--input-width": f$5(n2.inputRef, true).width, "--button-width": f$5(n2.buttonRef, true).width }, onWheel: n2.activationTrigger === 0 ? void 0 : J2, onMouseDown: Q, ...A(A$12) }), B = y2 && n2.comboboxState === 1, k = l$2(B, (q2 = n2.virtual) == null ? void 0 : q2.options), K2 = l$2(B, n2.value), i$12 = o$2((E2) => n2.compare(K2, E2));
|
3804
|
+
if (n2.virtual) {
|
3716
3805
|
if (k === void 0) throw new Error("Missing `options` in virtual mode");
|
3717
|
-
Object.assign(a3, { children: React__default.createElement(ie.Provider, { value: k !==
|
3806
|
+
Object.assign(a3, { children: React__default.createElement(ie.Provider, { value: k !== n2.virtual.options ? { ...n2, virtual: { ...n2.virtual, options: k } } : n2 }, React__default.createElement(Io, { slot: G2 }, a3.children)) });
|
3718
3807
|
}
|
3719
|
-
return React__default.createElement(te, { enabled: f2 ? o2.static || y2 : false }, React__default.createElement(ie.Provider, { value:
|
3808
|
+
return React__default.createElement(te, { enabled: f2 ? o2.static || y2 : false }, React__default.createElement(ie.Provider, { value: n2.mode === 1 ? n2 : { ...n2, isSelected: i$12 } }, H({ ourProps: I2, theirProps: { ...a3, children: React__default.createElement(f$1, { freeze: B }, typeof a3.children == "function" ? (Y = a3.children) == null ? void 0 : Y.call(a3, G2) : a3.children) }, slot: G2, defaultTag: Lo, features: wo, visible: y2, name: "Combobox.Options" })));
|
3720
3809
|
}
|
3721
3810
|
let ko = "div";
|
3722
3811
|
function No(o2, r2) {
|
@@ -3724,30 +3813,30 @@ function No(o2, r2) {
|
|
3724
3813
|
let e2 = oe("Combobox.Option"), t2 = re("Combobox.Option"), c2 = useId$1(), { id: d2 = `headlessui-combobox-option-${c2}`, value: f2, disabled: s2 = (k = (B = (I2 = e2.virtual) == null ? void 0 : I2.disabled) == null ? void 0 : B.call(I2, f2)) != null ? k : false, order: u2 = null, ...a3 } = o2, n2 = f$3(e2.inputRef), T2 = e2.virtual ? e2.activeOptionIndex === e2.calculateIndex(f2) : e2.activeOptionIndex === null ? false : ((K2 = e2.options[e2.activeOptionIndex]) == null ? void 0 : K2.id) === d2, C = e2.isSelected(f2), _2 = useRef(null), p2 = s$3({ disabled: s2, value: f2, domRef: _2, order: u2 }), L2 = useContext(Le), M2 = y$3(r2, _2, L2 ? L2.measureElement : null), F2 = o$2(() => {
|
3725
3814
|
t2.setIsTyping(false), t2.onChange(f2);
|
3726
3815
|
});
|
3727
|
-
n$
|
3816
|
+
n$3(() => t2.registerOption(d2, p2), [p2, d2]);
|
3728
3817
|
let v2 = useRef(!(e2.virtual || e2.__demoMode));
|
3729
|
-
n$
|
3818
|
+
n$3(() => {
|
3730
3819
|
if (!e2.virtual && !e2.__demoMode) return o$1().requestAnimationFrame(() => {
|
3731
3820
|
v2.current = true;
|
3732
3821
|
});
|
3733
|
-
}, [e2.virtual, e2.__demoMode]), n$
|
3822
|
+
}, [e2.virtual, e2.__demoMode]), n$3(() => {
|
3734
3823
|
if (v2.current && e2.comboboxState === 0 && T2 && e2.activationTrigger !== 0) return o$1().requestAnimationFrame(() => {
|
3735
3824
|
var i2, N2;
|
3736
3825
|
(N2 = (i2 = _2.current) == null ? void 0 : i2.scrollIntoView) == null || N2.call(i2, { block: "nearest" });
|
3737
3826
|
});
|
3738
3827
|
}, [_2, T2, e2.comboboxState, e2.activationTrigger, e2.activeOptionIndex]);
|
3739
3828
|
let y2 = o$2((i2) => {
|
3740
|
-
i2.preventDefault(), i2.button === g.Left && (s2 || (F2(), n$
|
3829
|
+
i2.preventDefault(), i2.button === g.Left && (s2 || (F2(), n$2() || requestAnimationFrame(() => n2()), e2.mode === 0 && t2.closeCombobox()));
|
3741
3830
|
}), A2 = o$2(() => {
|
3742
3831
|
if (s2) return t2.goToOption(c$1.Nothing);
|
3743
3832
|
let i2 = e2.calculateIndex(f2);
|
3744
3833
|
t2.goToOption(c$1.Specific, i2);
|
3745
|
-
}),
|
3746
|
-
if (!
|
3834
|
+
}), R2 = u$2(), h2 = o$2((i2) => R2.update(i2)), O = o$2((i2) => {
|
3835
|
+
if (!R2.wasMoved(i2) || s2 || T2) return;
|
3747
3836
|
let N2 = e2.calculateIndex(f2);
|
3748
3837
|
t2.goToOption(c$1.Specific, N2, 0);
|
3749
3838
|
}), G2 = o$2((i2) => {
|
3750
|
-
|
3839
|
+
R2.wasMoved(i2) && (s2 || T2 && (e2.optionsPropsRef.current.hold || t2.goToOption(c$1.Nothing)));
|
3751
3840
|
}), J2 = useMemo(() => ({ active: T2, focus: T2, selected: C, disabled: s2 }), [T2, C, s2]);
|
3752
3841
|
return H({ ourProps: { id: d2, ref: M2, role: "option", tabIndex: s2 === true ? void 0 : -1, "aria-disabled": s2 === true ? true : void 0, "aria-selected": C, disabled: void 0, onMouseDown: y2, onFocus: A2, onPointerEnter: h2, onMouseEnter: h2, onPointerMove: O, onMouseMove: O, onPointerLeave: G2, onMouseLeave: G2 }, theirProps: a3, slot: J2, defaultTag: ko, name: "Combobox.Option" });
|
3753
3842
|
}
|
@@ -2,10 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import React__default, { useId, useState, useMemo, useCallback, forwardRef, useEffect } from "react";
|
4
4
|
import { Icon } from "../../icons/Icon.js";
|
5
|
-
import { W, p, o, $ as $f7dceffc5ad7768b$export$4e328f61c538687f,
|
6
|
-
import { w } from "../../use-active-press-
|
7
|
-
import { u, a, l, T, I, G, j, p as p$1 } from "../../label-C_5Syaoj.js";
|
8
|
-
import { r } from "../../bugs-CSBdWk0R.js";
|
5
|
+
import { W, d as u, b as a, l, T, I, G, p, o, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, c as $6179b936705e76d3$export$ae780daf29e6d456, D, j, H, r, e as o$1, f as p$1 } from "../../label-BXAcSLy0.js";
|
6
|
+
import { w } from "../../use-active-press-9MCrfRZk.js";
|
9
7
|
import '../../assets/Switch.css';let se = "span";
|
10
8
|
function ie(T$1, h) {
|
11
9
|
let C = useId(), k = u(), x = a(), { id: g = k || `headlessui-checkbox-${C}`, disabled: e = x || false, autoFocus: s = false, checked: E, defaultChecked: v, onChange: P, name: d, value: D$1, form: R, indeterminate: n = false, ...A } = T$1, r$1 = l(v), [a$1, t] = T(E, P, r$1 != null ? r$1 : false), F = I(), K = G(), _ = p(), [p$2, c] = useState(false), u$1 = o(() => {
|