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,4 +1,5 @@
|
|
1
|
-
import React__default, { useRef, useCallback, useEffect, useState, useMemo, useLayoutEffect, forwardRef, Fragment, isValidElement, cloneElement, createElement } from "react";
|
1
|
+
import React__default, { useRef, useCallback, useEffect, useState, useMemo, useLayoutEffect, createContext, useContext, forwardRef, Fragment, isValidElement, cloneElement, createElement, useId } from "react";
|
2
|
+
import { createPortal } from "react-dom";
|
2
3
|
const $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? React__default.useLayoutEffect : () => {
|
3
4
|
};
|
4
5
|
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
@@ -9,8 +10,8 @@ function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
9
10
|
fn
|
10
11
|
]);
|
11
12
|
return useCallback((...args) => {
|
12
|
-
const
|
13
|
-
return
|
13
|
+
const f2 = ref.current;
|
14
|
+
return f2 === null || f2 === void 0 ? void 0 : f2(...args);
|
14
15
|
}, []);
|
15
16
|
}
|
16
17
|
const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
@@ -87,17 +88,17 @@ function $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {
|
|
87
88
|
}
|
88
89
|
};
|
89
90
|
}, []);
|
90
|
-
let dispatchBlur = $8ae05eaa5c114e9c$export$7f54fc3180508a52((
|
91
|
-
onBlur === null || onBlur === void 0 ? void 0 : onBlur(
|
91
|
+
let dispatchBlur = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e2) => {
|
92
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(e2);
|
92
93
|
});
|
93
|
-
return useCallback((
|
94
|
-
if (
|
94
|
+
return useCallback((e2) => {
|
95
|
+
if (e2.target instanceof HTMLButtonElement || e2.target instanceof HTMLInputElement || e2.target instanceof HTMLTextAreaElement || e2.target instanceof HTMLSelectElement) {
|
95
96
|
stateRef.current.isFocused = true;
|
96
|
-
let target =
|
97
|
-
let onBlurHandler = (
|
97
|
+
let target = e2.target;
|
98
|
+
let onBlurHandler = (e3) => {
|
98
99
|
stateRef.current.isFocused = false;
|
99
100
|
if (target.disabled)
|
100
|
-
dispatchBlur(new $8a9cb279dc87e130$export$905e7fc544a71f36("blur",
|
101
|
+
dispatchBlur(new $8a9cb279dc87e130$export$905e7fc544a71f36("blur", e3));
|
101
102
|
if (stateRef.current.observer) {
|
102
103
|
stateRef.current.observer.disconnect();
|
103
104
|
stateRef.current.observer = null;
|
@@ -133,9 +134,9 @@ function $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {
|
|
133
134
|
}
|
134
135
|
function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
135
136
|
let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
|
136
|
-
const onBlur = useCallback((
|
137
|
-
if (
|
138
|
-
if (onBlurProp) onBlurProp(
|
137
|
+
const onBlur = useCallback((e2) => {
|
138
|
+
if (e2.target === e2.currentTarget) {
|
139
|
+
if (onBlurProp) onBlurProp(e2);
|
139
140
|
if (onFocusChange) onFocusChange(false);
|
140
141
|
return true;
|
141
142
|
}
|
@@ -144,12 +145,12 @@ function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
144
145
|
onFocusChange
|
145
146
|
]);
|
146
147
|
const onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
|
147
|
-
const onFocus = useCallback((
|
148
|
-
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(
|
149
|
-
if (
|
150
|
-
if (onFocusProp) onFocusProp(
|
148
|
+
const onFocus = useCallback((e2) => {
|
149
|
+
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(e2.target);
|
150
|
+
if (e2.target === e2.currentTarget && ownerDocument.activeElement === e2.target) {
|
151
|
+
if (onFocusProp) onFocusProp(e2);
|
151
152
|
if (onFocusChange) onFocusChange(true);
|
152
|
-
onSyntheticFocus(
|
153
|
+
onSyntheticFocus(e2);
|
153
154
|
}
|
154
155
|
}, [
|
155
156
|
onFocusChange,
|
@@ -172,37 +173,37 @@ const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
|
|
172
173
|
Tab: true,
|
173
174
|
Escape: true
|
174
175
|
};
|
175
|
-
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality,
|
176
|
-
for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality,
|
176
|
+
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e2) {
|
177
|
+
for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality, e2);
|
177
178
|
}
|
178
|
-
function $507fabe10e71c6fb$var$isValidKey(
|
179
|
-
return !(
|
179
|
+
function $507fabe10e71c6fb$var$isValidKey(e2) {
|
180
|
+
return !(e2.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e2.altKey || e2.ctrlKey || e2.key === "Control" || e2.key === "Shift" || e2.key === "Meta");
|
180
181
|
}
|
181
|
-
function $507fabe10e71c6fb$var$handleKeyboardEvent(
|
182
|
+
function $507fabe10e71c6fb$var$handleKeyboardEvent(e2) {
|
182
183
|
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
183
|
-
if ($507fabe10e71c6fb$var$isValidKey(
|
184
|
+
if ($507fabe10e71c6fb$var$isValidKey(e2)) {
|
184
185
|
$507fabe10e71c6fb$var$currentModality = "keyboard";
|
185
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard",
|
186
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard", e2);
|
186
187
|
}
|
187
188
|
}
|
188
|
-
function $507fabe10e71c6fb$var$handlePointerEvent(
|
189
|
+
function $507fabe10e71c6fb$var$handlePointerEvent(e2) {
|
189
190
|
$507fabe10e71c6fb$var$currentModality = "pointer";
|
190
|
-
if (
|
191
|
+
if (e2.type === "mousedown" || e2.type === "pointerdown") {
|
191
192
|
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
192
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("pointer",
|
193
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("pointer", e2);
|
193
194
|
}
|
194
195
|
}
|
195
|
-
function $507fabe10e71c6fb$var$handleClickEvent(
|
196
|
-
if ($6a7db85432448f7f$export$60278871457622de(
|
196
|
+
function $507fabe10e71c6fb$var$handleClickEvent(e2) {
|
197
|
+
if ($6a7db85432448f7f$export$60278871457622de(e2)) {
|
197
198
|
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
198
199
|
$507fabe10e71c6fb$var$currentModality = "virtual";
|
199
200
|
}
|
200
201
|
}
|
201
|
-
function $507fabe10e71c6fb$var$handleFocusEvent(
|
202
|
-
if (
|
202
|
+
function $507fabe10e71c6fb$var$handleFocusEvent(e2) {
|
203
|
+
if (e2.target === window || e2.target === document) return;
|
203
204
|
if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
|
204
205
|
$507fabe10e71c6fb$var$currentModality = "virtual";
|
205
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("virtual",
|
206
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("virtual", e2);
|
206
207
|
}
|
207
208
|
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
208
209
|
$507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
@@ -292,20 +293,20 @@ const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
|
|
292
293
|
"submit",
|
293
294
|
"reset"
|
294
295
|
]);
|
295
|
-
function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality,
|
296
|
+
function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e2) {
|
296
297
|
var _e_target;
|
297
|
-
const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(
|
298
|
-
const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(
|
299
|
-
const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(
|
300
|
-
const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(
|
301
|
-
isTextInput = isTextInput || (
|
302
|
-
return !(isTextInput && modality === "keyboard" &&
|
298
|
+
const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e2 === null || e2 === void 0 ? void 0 : e2.target).HTMLInputElement : HTMLInputElement;
|
299
|
+
const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e2 === null || e2 === void 0 ? void 0 : e2.target).HTMLTextAreaElement : HTMLTextAreaElement;
|
300
|
+
const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e2 === null || e2 === void 0 ? void 0 : e2.target).HTMLElement : HTMLElement;
|
301
|
+
const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e2 === null || e2 === void 0 ? void 0 : e2.target).KeyboardEvent : KeyboardEvent;
|
302
|
+
isTextInput = isTextInput || (e2 === null || e2 === void 0 ? void 0 : e2.target) instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(e2 === null || e2 === void 0 ? void 0 : (_e_target = e2.target) === null || _e_target === void 0 ? void 0 : _e_target.type) || (e2 === null || e2 === void 0 ? void 0 : e2.target) instanceof IHTMLTextAreaElement || (e2 === null || e2 === void 0 ? void 0 : e2.target) instanceof IHTMLElement && (e2 === null || e2 === void 0 ? void 0 : e2.target.isContentEditable);
|
303
|
+
return !(isTextInput && modality === "keyboard" && e2 instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e2.key]);
|
303
304
|
}
|
304
305
|
function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
305
306
|
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
306
307
|
useEffect(() => {
|
307
|
-
let handler = (modality,
|
308
|
-
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality,
|
308
|
+
let handler = (modality, e2) => {
|
309
|
+
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e2)) return;
|
309
310
|
fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
|
310
311
|
};
|
311
312
|
$507fabe10e71c6fb$var$changeHandlers.add(handler);
|
@@ -319,10 +320,10 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
319
320
|
let state = useRef({
|
320
321
|
isFocusWithin: false
|
321
322
|
});
|
322
|
-
let onBlur = useCallback((
|
323
|
-
if (state.current.isFocusWithin && !
|
323
|
+
let onBlur = useCallback((e2) => {
|
324
|
+
if (state.current.isFocusWithin && !e2.currentTarget.contains(e2.relatedTarget)) {
|
324
325
|
state.current.isFocusWithin = false;
|
325
|
-
if (onBlurWithin) onBlurWithin(
|
326
|
+
if (onBlurWithin) onBlurWithin(e2);
|
326
327
|
if (onFocusWithinChange) onFocusWithinChange(false);
|
327
328
|
}
|
328
329
|
}, [
|
@@ -331,12 +332,12 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
331
332
|
state
|
332
333
|
]);
|
333
334
|
let onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
|
334
|
-
let onFocus = useCallback((
|
335
|
-
if (!state.current.isFocusWithin && document.activeElement ===
|
336
|
-
if (onFocusWithin) onFocusWithin(
|
335
|
+
let onFocus = useCallback((e2) => {
|
336
|
+
if (!state.current.isFocusWithin && document.activeElement === e2.target) {
|
337
|
+
if (onFocusWithin) onFocusWithin(e2);
|
337
338
|
if (onFocusWithinChange) onFocusWithinChange(true);
|
338
339
|
state.current.isFocusWithin = true;
|
339
|
-
onSyntheticFocus(
|
340
|
+
onSyntheticFocus(e2);
|
340
341
|
}
|
341
342
|
}, [
|
342
343
|
onFocusWithin,
|
@@ -365,8 +366,8 @@ function $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {
|
|
365
366
|
$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
366
367
|
}, 50);
|
367
368
|
}
|
368
|
-
function $6179b936705e76d3$var$handleGlobalPointerEvent(
|
369
|
-
if (
|
369
|
+
function $6179b936705e76d3$var$handleGlobalPointerEvent(e2) {
|
370
|
+
if (e2.pointerType === "touch") $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();
|
370
371
|
}
|
371
372
|
function $6179b936705e76d3$var$setupGlobalTouchEvents() {
|
372
373
|
if (typeof document === "undefined") return;
|
@@ -421,23 +422,23 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
421
422
|
};
|
422
423
|
let hoverProps2 = {};
|
423
424
|
if (typeof PointerEvent !== "undefined") {
|
424
|
-
hoverProps2.onPointerEnter = (
|
425
|
-
if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents &&
|
426
|
-
triggerHoverStart(
|
425
|
+
hoverProps2.onPointerEnter = (e2) => {
|
426
|
+
if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e2.pointerType === "mouse") return;
|
427
|
+
triggerHoverStart(e2, e2.pointerType);
|
427
428
|
};
|
428
|
-
hoverProps2.onPointerLeave = (
|
429
|
-
if (!isDisabled &&
|
429
|
+
hoverProps2.onPointerLeave = (e2) => {
|
430
|
+
if (!isDisabled && e2.currentTarget.contains(e2.target)) triggerHoverEnd2(e2, e2.pointerType);
|
430
431
|
};
|
431
432
|
} else {
|
432
433
|
hoverProps2.onTouchStart = () => {
|
433
434
|
state.ignoreEmulatedMouseEvents = true;
|
434
435
|
};
|
435
|
-
hoverProps2.onMouseEnter = (
|
436
|
-
if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(
|
436
|
+
hoverProps2.onMouseEnter = (e2) => {
|
437
|
+
if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e2, "mouse");
|
437
438
|
state.ignoreEmulatedMouseEvents = false;
|
438
439
|
};
|
439
|
-
hoverProps2.onMouseLeave = (
|
440
|
-
if (!isDisabled &&
|
440
|
+
hoverProps2.onMouseLeave = (e2) => {
|
441
|
+
if (!isDisabled && e2.currentTarget.contains(e2.target)) triggerHoverEnd2(e2, "mouse");
|
441
442
|
};
|
442
443
|
}
|
443
444
|
return {
|
@@ -499,17 +500,17 @@ function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
|
|
499
500
|
focusProps: within ? focusWithinProps : focusProps
|
500
501
|
};
|
501
502
|
}
|
502
|
-
var i = Object.defineProperty;
|
503
|
-
var d = (t2,
|
504
|
-
var r = (t2,
|
505
|
-
let o$
|
503
|
+
var i$1 = Object.defineProperty;
|
504
|
+
var d = (t2, e2, n2) => e2 in t2 ? i$1(t2, e2, { enumerable: true, configurable: true, writable: true, value: n2 }) : t2[e2] = n2;
|
505
|
+
var r$1 = (t2, e2, n2) => (d(t2, typeof e2 != "symbol" ? e2 + "" : e2, n2), n2);
|
506
|
+
let o$4 = class o {
|
506
507
|
constructor() {
|
507
|
-
r(this, "current", this.detect());
|
508
|
-
r(this, "handoffState", "pending");
|
509
|
-
r(this, "currentId", 0);
|
508
|
+
r$1(this, "current", this.detect());
|
509
|
+
r$1(this, "handoffState", "pending");
|
510
|
+
r$1(this, "currentId", 0);
|
510
511
|
}
|
511
|
-
set(
|
512
|
-
this.current !==
|
512
|
+
set(e2) {
|
513
|
+
this.current !== e2 && (this.handoffState = "pending", this.currentId = 0, this.current = e2);
|
513
514
|
}
|
514
515
|
reset() {
|
515
516
|
this.set(this.detect());
|
@@ -533,150 +534,146 @@ let o$3 = class o {
|
|
533
534
|
return this.handoffState === "complete";
|
534
535
|
}
|
535
536
|
};
|
536
|
-
let s$
|
537
|
-
function u$
|
538
|
-
return s$
|
537
|
+
let s$2 = new o$4();
|
538
|
+
function u$3(r2) {
|
539
|
+
return s$2.isServer ? null : r2 instanceof Node ? r2.ownerDocument : r2 != null && r2.hasOwnProperty("current") && r2.current instanceof Node ? r2.current.ownerDocument : document;
|
539
540
|
}
|
540
|
-
function t$1(
|
541
|
-
typeof queueMicrotask == "function" ? queueMicrotask(
|
541
|
+
function t$1(e2) {
|
542
|
+
typeof queueMicrotask == "function" ? queueMicrotask(e2) : Promise.resolve().then(e2).catch((o3) => setTimeout(() => {
|
542
543
|
throw o3;
|
543
544
|
}));
|
544
545
|
}
|
545
|
-
function o$
|
546
|
-
let n2 = [], r2 = { addEventListener(
|
547
|
-
return
|
548
|
-
}, requestAnimationFrame(...
|
549
|
-
let t2 = requestAnimationFrame(...
|
546
|
+
function o$3() {
|
547
|
+
let n2 = [], r2 = { addEventListener(e2, t2, s2, a2) {
|
548
|
+
return e2.addEventListener(t2, s2, a2), r2.add(() => e2.removeEventListener(t2, s2, a2));
|
549
|
+
}, requestAnimationFrame(...e2) {
|
550
|
+
let t2 = requestAnimationFrame(...e2);
|
550
551
|
return r2.add(() => cancelAnimationFrame(t2));
|
551
|
-
}, nextFrame(...
|
552
|
-
return r2.requestAnimationFrame(() => r2.requestAnimationFrame(...
|
553
|
-
}, setTimeout(...
|
554
|
-
let t2 = setTimeout(...
|
552
|
+
}, nextFrame(...e2) {
|
553
|
+
return r2.requestAnimationFrame(() => r2.requestAnimationFrame(...e2));
|
554
|
+
}, setTimeout(...e2) {
|
555
|
+
let t2 = setTimeout(...e2);
|
555
556
|
return r2.add(() => clearTimeout(t2));
|
556
|
-
}, microTask(...
|
557
|
+
}, microTask(...e2) {
|
557
558
|
let t2 = { current: true };
|
558
559
|
return t$1(() => {
|
559
|
-
t2.current &&
|
560
|
+
t2.current && e2[0]();
|
560
561
|
}), r2.add(() => {
|
561
562
|
t2.current = false;
|
562
563
|
});
|
563
|
-
}, style(
|
564
|
-
let
|
565
|
-
return Object.assign(
|
566
|
-
Object.assign(
|
564
|
+
}, style(e2, t2, s2) {
|
565
|
+
let a2 = e2.style.getPropertyValue(t2);
|
566
|
+
return Object.assign(e2.style, { [t2]: s2 }), this.add(() => {
|
567
|
+
Object.assign(e2.style, { [t2]: a2 });
|
567
568
|
});
|
568
|
-
}, group(
|
569
|
-
let t2 = o$
|
570
|
-
return
|
571
|
-
}, add(
|
572
|
-
return n2.includes(
|
573
|
-
let t2 = n2.indexOf(
|
569
|
+
}, group(e2) {
|
570
|
+
let t2 = o$3();
|
571
|
+
return e2(t2), this.add(() => t2.dispose());
|
572
|
+
}, add(e2) {
|
573
|
+
return n2.includes(e2) || n2.push(e2), () => {
|
574
|
+
let t2 = n2.indexOf(e2);
|
574
575
|
if (t2 >= 0) for (let s2 of n2.splice(t2, 1)) s2();
|
575
576
|
};
|
576
577
|
}, dispose() {
|
577
|
-
for (let
|
578
|
+
for (let e2 of n2.splice(0)) e2();
|
578
579
|
} };
|
579
580
|
return r2;
|
580
581
|
}
|
581
|
-
function p() {
|
582
|
-
let [
|
583
|
-
return useEffect(() => () =>
|
582
|
+
function p$1() {
|
583
|
+
let [e2] = useState(o$3);
|
584
|
+
return useEffect(() => () => e2.dispose(), [e2]), e2;
|
584
585
|
}
|
585
|
-
let n = (
|
586
|
-
s$
|
586
|
+
let n = (e2, t2) => {
|
587
|
+
s$2.isServer ? useEffect(e2, t2) : useLayoutEffect(e2, t2);
|
587
588
|
};
|
588
|
-
function s(
|
589
|
-
let r2 = useRef(
|
589
|
+
function s$1(e2) {
|
590
|
+
let r2 = useRef(e2);
|
590
591
|
return n(() => {
|
591
|
-
r2.current =
|
592
|
-
}, [
|
592
|
+
r2.current = e2;
|
593
|
+
}, [e2]), r2;
|
593
594
|
}
|
594
|
-
let o$
|
595
|
-
let
|
596
|
-
return React__default.useCallback((...r2) =>
|
595
|
+
let o$2 = function(t2) {
|
596
|
+
let e2 = s$1(t2);
|
597
|
+
return React__default.useCallback((...r2) => e2.current(...r2), [e2]);
|
597
598
|
};
|
599
|
+
let e$2 = createContext(void 0);
|
600
|
+
function a$2() {
|
601
|
+
return useContext(e$2);
|
602
|
+
}
|
598
603
|
function t(...r2) {
|
599
604
|
return Array.from(new Set(r2.flatMap((n2) => typeof n2 == "string" ? n2.split(" ") : []))).filter(Boolean).join(" ");
|
600
605
|
}
|
601
|
-
function u$
|
606
|
+
function u$2(r2, n2, ...a2) {
|
602
607
|
if (r2 in n2) {
|
603
|
-
let
|
604
|
-
return typeof
|
608
|
+
let e2 = n2[r2];
|
609
|
+
return typeof e2 == "function" ? e2(...a2) : e2;
|
605
610
|
}
|
606
|
-
let t2 = new Error(`Tried to handle "${r2}" but there is no handler defined. Only defined handlers are: ${Object.keys(n2).map((
|
607
|
-
throw Error.captureStackTrace && Error.captureStackTrace(t2, u$
|
611
|
+
let t2 = new Error(`Tried to handle "${r2}" but there is no handler defined. Only defined handlers are: ${Object.keys(n2).map((e2) => `"${e2}"`).join(", ")}.`);
|
612
|
+
throw Error.captureStackTrace && Error.captureStackTrace(t2, u$2), t2;
|
608
613
|
}
|
609
|
-
var M = ((
|
610
|
-
function H({ ourProps: r2, theirProps: n2, slot:
|
614
|
+
var M = ((a2) => (a2[a2.None = 0] = "None", a2[a2.RenderStrategy = 1] = "RenderStrategy", a2[a2.Static = 2] = "Static", a2))(M || {}), O = ((e2) => (e2[e2.Unmount = 0] = "Unmount", e2[e2.Hidden = 1] = "Hidden", e2))(O || {});
|
615
|
+
function H({ ourProps: r2, theirProps: n2, slot: e2, defaultTag: a2, features: s2, visible: t2 = true, name: l2, mergeRefs: i2 }) {
|
611
616
|
i2 = i2 != null ? i2 : A;
|
612
|
-
let o3 = N(n2, r2);
|
613
|
-
if (t2) return b(o3,
|
617
|
+
let o3 = N$1(n2, r2);
|
618
|
+
if (t2) return b(o3, e2, a2, l2, i2);
|
614
619
|
let y2 = s2 != null ? s2 : 0;
|
615
620
|
if (y2 & 2) {
|
616
|
-
let { static:
|
617
|
-
if (
|
621
|
+
let { static: f2 = false, ...u2 } = o3;
|
622
|
+
if (f2) return b(u2, e2, a2, l2, i2);
|
618
623
|
}
|
619
624
|
if (y2 & 1) {
|
620
|
-
let { unmount:
|
621
|
-
return u$
|
625
|
+
let { unmount: f2 = true, ...u2 } = o3;
|
626
|
+
return u$2(f2 ? 0 : 1, { [0]() {
|
622
627
|
return null;
|
623
628
|
}, [1]() {
|
624
|
-
return b({ ...u2, hidden: true, style: { display: "none" } },
|
629
|
+
return b({ ...u2, hidden: true, style: { display: "none" } }, e2, a2, l2, i2);
|
625
630
|
} });
|
626
631
|
}
|
627
|
-
return b(o3,
|
632
|
+
return b(o3, e2, a2, l2, i2);
|
628
633
|
}
|
629
|
-
function b(r2, n2 = {},
|
630
|
-
let { as: t$12 =
|
634
|
+
function b(r2, n2 = {}, e2, a2, s2) {
|
635
|
+
let { as: t$12 = e2, children: l2, refName: i2 = "ref", ...o3 } = h(r2, ["unmount", "static"]), y2 = r2.ref !== void 0 ? { [i2]: r2.ref } : {}, f2 = typeof l2 == "function" ? l2(n2) : l2;
|
631
636
|
"className" in o3 && o3.className && typeof o3.className == "function" && (o3.className = o3.className(n2)), o3["aria-labelledby"] && o3["aria-labelledby"] === o3.id && (o3["aria-labelledby"] = void 0);
|
632
637
|
let u2 = {};
|
633
638
|
if (n2) {
|
634
639
|
let d2 = false, p2 = [];
|
635
|
-
for (let [
|
640
|
+
for (let [c2, T2] of Object.entries(n2)) typeof T2 == "boolean" && (d2 = true), T2 === true && p2.push(c2.replace(/([A-Z])/g, (g) => `-${g.toLowerCase()}`));
|
636
641
|
if (d2) {
|
637
642
|
u2["data-headlessui-state"] = p2.join(" ");
|
638
|
-
for (let
|
643
|
+
for (let c2 of p2) u2[`data-${c2}`] = "";
|
639
644
|
}
|
640
645
|
}
|
641
|
-
if (t$12 === Fragment && (Object.keys(m(o3)).length > 0 || Object.keys(m(u2)).length > 0)) if (!isValidElement(
|
642
|
-
if (Object.keys(m(o3)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${
|
646
|
+
if (t$12 === Fragment && (Object.keys(m(o3)).length > 0 || Object.keys(m(u2)).length > 0)) if (!isValidElement(f2) || Array.isArray(f2) && f2.length > 1) {
|
647
|
+
if (Object.keys(m(o3)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${a2} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(m(o3)).concat(Object.keys(m(u2))).map((d2) => ` - ${d2}`).join(`
|
643
648
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((d2) => ` - ${d2}`).join(`
|
644
649
|
`)].join(`
|
645
650
|
`));
|
646
651
|
} else {
|
647
|
-
let d2 =
|
652
|
+
let d2 = f2.props, p2 = d2 == null ? void 0 : d2.className, c2 = typeof p2 == "function" ? (...F) => t(p2(...F), o3.className) : t(p2, o3.className), T2 = c2 ? { className: c2 } : {}, g = N$1(f2.props, m(h(o3, ["ref"])));
|
648
653
|
for (let F in u2) F in g && delete u2[F];
|
649
|
-
return cloneElement(
|
654
|
+
return cloneElement(f2, Object.assign({}, g, u2, y2, { ref: s2(f2.ref, y2.ref) }, T2));
|
650
655
|
}
|
651
|
-
return createElement(t$12, Object.assign({}, h(o3, ["ref"]), t$12 !== Fragment && y2, t$12 !== Fragment && u2),
|
652
|
-
}
|
653
|
-
function I() {
|
654
|
-
let r2 = useRef([]), n2 = useCallback((e) => {
|
655
|
-
for (let a of r2.current) a != null && (typeof a == "function" ? a(e) : a.current = e);
|
656
|
-
}, []);
|
657
|
-
return (...e) => {
|
658
|
-
if (!e.every((a) => a == null)) return r2.current = e, n2;
|
659
|
-
};
|
656
|
+
return createElement(t$12, Object.assign({}, h(o3, ["ref"]), t$12 !== Fragment && y2, t$12 !== Fragment && u2), f2);
|
660
657
|
}
|
661
658
|
function A(...r2) {
|
662
659
|
return r2.every((n2) => n2 == null) ? void 0 : (n2) => {
|
663
|
-
for (let
|
660
|
+
for (let e2 of r2) e2 != null && (typeof e2 == "function" ? e2(n2) : e2.current = n2);
|
664
661
|
};
|
665
662
|
}
|
666
|
-
function N(...r2) {
|
663
|
+
function N$1(...r2) {
|
667
664
|
if (r2.length === 0) return {};
|
668
665
|
if (r2.length === 1) return r2[0];
|
669
|
-
let n2 = {},
|
670
|
-
for (let s2 of r2) for (let t2 in s2) t2.startsWith("on") && typeof s2[t2] == "function" ? (
|
671
|
-
if (n2.disabled || n2["aria-disabled"]) for (let s2 in
|
672
|
-
var
|
673
|
-
return (
|
666
|
+
let n2 = {}, e2 = {};
|
667
|
+
for (let s2 of r2) for (let t2 in s2) t2.startsWith("on") && typeof s2[t2] == "function" ? (e2[t2] != null || (e2[t2] = []), e2[t2].push(s2[t2])) : n2[t2] = s2[t2];
|
668
|
+
if (n2.disabled || n2["aria-disabled"]) for (let s2 in e2) /^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(s2) && (e2[s2] = [(t2) => {
|
669
|
+
var l2;
|
670
|
+
return (l2 = t2 == null ? void 0 : t2.preventDefault) == null ? void 0 : l2.call(t2);
|
674
671
|
}]);
|
675
|
-
for (let s2 in
|
676
|
-
let i2 =
|
672
|
+
for (let s2 in e2) Object.assign(n2, { [s2](t2, ...l2) {
|
673
|
+
let i2 = e2[s2];
|
677
674
|
for (let o3 of i2) {
|
678
675
|
if ((t2 instanceof Event || (t2 == null ? void 0 : t2.nativeEvent) instanceof Event) && t2.defaultPrevented) return;
|
679
|
-
o3(t2, ...
|
676
|
+
o3(t2, ...l2);
|
680
677
|
}
|
681
678
|
} });
|
682
679
|
return n2;
|
@@ -684,11 +681,11 @@ function N(...r2) {
|
|
684
681
|
function D(...r2) {
|
685
682
|
if (r2.length === 0) return {};
|
686
683
|
if (r2.length === 1) return r2[0];
|
687
|
-
let n2 = {},
|
688
|
-
for (let s2 of r2) for (let t2 in s2) t2.startsWith("on") && typeof s2[t2] == "function" ? (
|
689
|
-
for (let s2 in
|
690
|
-
let
|
691
|
-
for (let i2 of
|
684
|
+
let n2 = {}, e2 = {};
|
685
|
+
for (let s2 of r2) for (let t2 in s2) t2.startsWith("on") && typeof s2[t2] == "function" ? (e2[t2] != null || (e2[t2] = []), e2[t2].push(s2[t2])) : n2[t2] = s2[t2];
|
686
|
+
for (let s2 in e2) Object.assign(n2, { [s2](...t2) {
|
687
|
+
let l2 = e2[s2];
|
688
|
+
for (let i2 of l2) i2 == null || i2(...t2);
|
692
689
|
} });
|
693
690
|
return n2;
|
694
691
|
}
|
@@ -698,13 +695,95 @@ function W(r2) {
|
|
698
695
|
}
|
699
696
|
function m(r2) {
|
700
697
|
let n2 = Object.assign({}, r2);
|
701
|
-
for (let
|
698
|
+
for (let e2 in n2) n2[e2] === void 0 && delete n2[e2];
|
702
699
|
return n2;
|
703
700
|
}
|
704
701
|
function h(r2, n2 = []) {
|
705
|
-
let
|
706
|
-
for (let
|
707
|
-
return
|
702
|
+
let e2 = Object.assign({}, r2);
|
703
|
+
for (let a2 of n2) a2 in e2 && delete e2[a2];
|
704
|
+
return e2;
|
705
|
+
}
|
706
|
+
function T$2(l2, r2, c2) {
|
707
|
+
let [i2, s2] = useState(c2), e2 = l2 !== void 0, t2 = useRef(e2), u2 = useRef(false), d2 = useRef(false);
|
708
|
+
return e2 && !t2.current && !u2.current ? (u2.current = true, t2.current = e2, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !e2 && t2.current && !d2.current && (d2.current = true, t2.current = e2, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [e2 ? l2 : i2, o$2((n2) => (e2 || s2(n2), r2 == null ? void 0 : r2(n2)))];
|
709
|
+
}
|
710
|
+
function l$1(e2) {
|
711
|
+
let [t2] = useState(e2);
|
712
|
+
return t2;
|
713
|
+
}
|
714
|
+
function e$1(i2 = {}, s2 = null, t2 = []) {
|
715
|
+
for (let [r2, n2] of Object.entries(i2)) o$1(t2, f$2(s2, r2), n2);
|
716
|
+
return t2;
|
717
|
+
}
|
718
|
+
function f$2(i2, s2) {
|
719
|
+
return i2 ? i2 + "[" + s2 + "]" : s2;
|
720
|
+
}
|
721
|
+
function o$1(i2, s2, t2) {
|
722
|
+
if (Array.isArray(t2)) for (let [r2, n2] of t2.entries()) o$1(i2, f$2(s2, r2.toString()), n2);
|
723
|
+
else t2 instanceof Date ? i2.push([s2, t2.toISOString()]) : typeof t2 == "boolean" ? i2.push([s2, t2 ? "1" : "0"]) : typeof t2 == "string" ? i2.push([s2, t2]) : typeof t2 == "number" ? i2.push([s2, `${t2}`]) : t2 == null ? i2.push([s2, ""]) : e$1(t2, s2, i2);
|
724
|
+
}
|
725
|
+
function p(i2) {
|
726
|
+
var t2, r2;
|
727
|
+
let s2 = (t2 = i2 == null ? void 0 : i2.form) != null ? t2 : i2.closest("form");
|
728
|
+
if (s2) {
|
729
|
+
for (let n2 of s2.elements) if (n2 !== i2 && (n2.tagName === "INPUT" && n2.type === "submit" || n2.tagName === "BUTTON" && n2.type === "submit" || n2.nodeName === "INPUT" && n2.type === "image")) {
|
730
|
+
n2.click();
|
731
|
+
return;
|
732
|
+
}
|
733
|
+
(r2 = s2.requestSubmit) == null || r2.call(s2);
|
734
|
+
}
|
735
|
+
}
|
736
|
+
let a$1 = "span";
|
737
|
+
var s = ((e2) => (e2[e2.None = 1] = "None", e2[e2.Focusable = 2] = "Focusable", e2[e2.Hidden = 4] = "Hidden", e2))(s || {});
|
738
|
+
function l(t2, r2) {
|
739
|
+
var n2;
|
740
|
+
let { features: d2 = 1, ...e2 } = t2, o3 = { ref: r2, "aria-hidden": (d2 & 2) === 2 ? true : (n2 = e2["aria-hidden"]) != null ? n2 : void 0, hidden: (d2 & 4) === 4 ? true : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(d2 & 4) === 4 && (d2 & 2) !== 2 && { display: "none" } } };
|
741
|
+
return H({ ourProps: o3, theirProps: e2, slot: {}, defaultTag: a$1, name: "Hidden" });
|
742
|
+
}
|
743
|
+
let T$1 = W(l);
|
744
|
+
let f$1 = createContext(null);
|
745
|
+
function c$1({ children: t2 }) {
|
746
|
+
let e2 = useContext(f$1);
|
747
|
+
if (!e2) return React__default.createElement(React__default.Fragment, null, t2);
|
748
|
+
let { target: r2 } = e2;
|
749
|
+
return r2 ? createPortal(React__default.createElement(React__default.Fragment, null, t2), r2) : null;
|
750
|
+
}
|
751
|
+
function j({ data: t2, form: e2, disabled: r2, onReset: n2, overrides: F }) {
|
752
|
+
let [i2, a2] = useState(null), p2 = p$1();
|
753
|
+
return useEffect(() => {
|
754
|
+
if (n2 && i2) return p2.addEventListener(i2, "reset", n2);
|
755
|
+
}, [i2, e2, n2]), React__default.createElement(c$1, null, React__default.createElement(C$1, { setForm: a2, formId: e2 }), e$1(t2).map(([s$12, v]) => React__default.createElement(T$1, { features: s.Hidden, ...m({ key: s$12, as: "input", type: "hidden", hidden: true, readOnly: true, form: e2, disabled: r2, name: s$12, value: v, ...F }) })));
|
756
|
+
}
|
757
|
+
function C$1({ setForm: t2, formId: e2 }) {
|
758
|
+
return useEffect(() => {
|
759
|
+
if (e2) {
|
760
|
+
let r2 = document.getElementById(e2);
|
761
|
+
r2 && t2(r2);
|
762
|
+
}
|
763
|
+
}, [t2, e2]), e2 ? null : React__default.createElement(T$1, { features: s.Hidden, as: "input", type: "hidden", hidden: true, readOnly: true, ref: (r2) => {
|
764
|
+
if (!r2) return;
|
765
|
+
let n2 = r2.closest("form");
|
766
|
+
n2 && t2(n2);
|
767
|
+
} });
|
768
|
+
}
|
769
|
+
let e = createContext(void 0);
|
770
|
+
function u$1() {
|
771
|
+
return useContext(e);
|
772
|
+
}
|
773
|
+
function r(n2) {
|
774
|
+
let e2 = n2.parentElement, l2 = null;
|
775
|
+
for (; e2 && !(e2 instanceof HTMLFieldSetElement); ) e2 instanceof HTMLLegendElement && (l2 = e2), e2 = e2.parentElement;
|
776
|
+
let t2 = (e2 == null ? void 0 : e2.getAttribute("disabled")) === "";
|
777
|
+
return t2 && i(l2) ? false : t2;
|
778
|
+
}
|
779
|
+
function i(n2) {
|
780
|
+
if (!n2) return false;
|
781
|
+
let e2 = n2.previousElementSibling;
|
782
|
+
for (; e2 !== null; ) {
|
783
|
+
if (e2 instanceof HTMLLegendElement) return false;
|
784
|
+
e2 = e2.previousElementSibling;
|
785
|
+
}
|
786
|
+
return true;
|
708
787
|
}
|
709
788
|
let u = Symbol();
|
710
789
|
function T(t2, n2 = true) {
|
@@ -715,31 +794,120 @@ function y(...t2) {
|
|
715
794
|
useEffect(() => {
|
716
795
|
n2.current = t2;
|
717
796
|
}, [t2]);
|
718
|
-
let
|
719
|
-
for (let o3 of n2.current) o3 != null && (typeof o3 == "function" ? o3(
|
797
|
+
let c2 = o$2((e2) => {
|
798
|
+
for (let o3 of n2.current) o3 != null && (typeof o3 == "function" ? o3(e2) : o3.current = e2);
|
720
799
|
});
|
721
|
-
return t2.every((
|
800
|
+
return t2.every((e2) => e2 == null || (e2 == null ? void 0 : e2[u])) ? void 0 : c2;
|
801
|
+
}
|
802
|
+
let a = createContext(null);
|
803
|
+
a.displayName = "DescriptionContext";
|
804
|
+
function f() {
|
805
|
+
let r2 = useContext(a);
|
806
|
+
if (r2 === null) {
|
807
|
+
let e2 = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
|
808
|
+
throw Error.captureStackTrace && Error.captureStackTrace(e2, f), e2;
|
809
|
+
}
|
810
|
+
return r2;
|
722
811
|
}
|
812
|
+
function G$1() {
|
813
|
+
var r2, e2;
|
814
|
+
return (e2 = (r2 = useContext(a)) == null ? void 0 : r2.value) != null ? e2 : void 0;
|
815
|
+
}
|
816
|
+
function U$1() {
|
817
|
+
let [r2, e2] = useState([]);
|
818
|
+
return [r2.length > 0 ? r2.join(" ") : void 0, useMemo(() => function(t2) {
|
819
|
+
let i2 = o$2((n2) => (e2((s2) => [...s2, n2]), () => e2((s2) => {
|
820
|
+
let o3 = s2.slice(), p2 = o3.indexOf(n2);
|
821
|
+
return p2 !== -1 && o3.splice(p2, 1), o3;
|
822
|
+
}))), l2 = useMemo(() => ({ register: i2, slot: t2.slot, name: t2.name, props: t2.props, value: t2.value }), [i2, t2.slot, t2.name, t2.props, t2.value]);
|
823
|
+
return React__default.createElement(a.Provider, { value: l2 }, t2.children);
|
824
|
+
}, [e2])];
|
825
|
+
}
|
826
|
+
let S = "p";
|
827
|
+
function C(r2, e2) {
|
828
|
+
let d2 = useId(), t2 = a$2(), { id: i2 = `headlessui-description-${d2}`, ...l2 } = r2, n$1 = f(), s2 = y(e2);
|
829
|
+
n(() => n$1.register(i2), [i2, n$1.register]);
|
830
|
+
let o3 = t2 || false, p2 = useMemo(() => ({ ...n$1.slot, disabled: o3 }), [n$1.slot, o3]), D2 = { ref: s2, ...n$1.props, id: i2 };
|
831
|
+
return H({ ourProps: D2, theirProps: l2, slot: p2, defaultTag: S, name: n$1.name || "Description" });
|
832
|
+
}
|
833
|
+
let _ = W(C), w = Object.assign(_, {});
|
723
834
|
var o2 = ((r2) => (r2.Space = " ", r2.Enter = "Enter", r2.Escape = "Escape", r2.Backspace = "Backspace", r2.Delete = "Delete", r2.ArrowLeft = "ArrowLeft", r2.ArrowUp = "ArrowUp", r2.ArrowRight = "ArrowRight", r2.ArrowDown = "ArrowDown", r2.Home = "Home", r2.End = "End", r2.PageUp = "PageUp", r2.PageDown = "PageDown", r2.Tab = "Tab", r2))(o2 || {});
|
835
|
+
let c = createContext(null);
|
836
|
+
c.displayName = "LabelContext";
|
837
|
+
function P() {
|
838
|
+
let r2 = useContext(c);
|
839
|
+
if (r2 === null) {
|
840
|
+
let l2 = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
|
841
|
+
throw Error.captureStackTrace && Error.captureStackTrace(l2, P), l2;
|
842
|
+
}
|
843
|
+
return r2;
|
844
|
+
}
|
845
|
+
function I(r2) {
|
846
|
+
var a2, e2, o3;
|
847
|
+
let l2 = (e2 = (a2 = useContext(c)) == null ? void 0 : a2.value) != null ? e2 : void 0;
|
848
|
+
return ((o3 = r2 == null ? void 0 : r2.length) != null ? o3 : 0) > 0 ? [l2, ...r2].filter(Boolean).join(" ") : l2;
|
849
|
+
}
|
850
|
+
function z({ inherit: r2 = false } = {}) {
|
851
|
+
let l2 = I(), [a2, e2] = useState([]), o3 = r2 ? [l2, ...a2].filter(Boolean) : a2;
|
852
|
+
return [o3.length > 0 ? o3.join(" ") : void 0, useMemo(() => function(t2) {
|
853
|
+
let s2 = o$2((i2) => (e2((p2) => [...p2, i2]), () => e2((p2) => {
|
854
|
+
let u2 = p2.slice(), d2 = u2.indexOf(i2);
|
855
|
+
return d2 !== -1 && u2.splice(d2, 1), u2;
|
856
|
+
}))), m2 = useMemo(() => ({ register: s2, slot: t2.slot, name: t2.name, props: t2.props, value: t2.value }), [s2, t2.slot, t2.name, t2.props, t2.value]);
|
857
|
+
return React__default.createElement(c.Provider, { value: m2 }, t2.children);
|
858
|
+
}, [e2])];
|
859
|
+
}
|
860
|
+
let N = "label";
|
861
|
+
function G(r2, l2) {
|
862
|
+
var y$1;
|
863
|
+
let a2 = useId(), e2 = P(), o3 = u$1(), g = a$2(), { id: t2 = `headlessui-label-${a2}`, htmlFor: s2 = o3 != null ? o3 : (y$1 = e2.props) == null ? void 0 : y$1.htmlFor, passive: m2 = false, ...i2 } = r2, p2 = y(l2);
|
864
|
+
n(() => e2.register(t2), [t2, e2.register]);
|
865
|
+
let u2 = o$2((L) => {
|
866
|
+
let b2 = L.currentTarget;
|
867
|
+
if (b2 instanceof HTMLLabelElement && L.preventDefault(), e2.props && "onClick" in e2.props && typeof e2.props.onClick == "function" && e2.props.onClick(L), b2 instanceof HTMLLabelElement) {
|
868
|
+
let n2 = document.getElementById(b2.htmlFor);
|
869
|
+
if (n2) {
|
870
|
+
let E = n2.getAttribute("disabled");
|
871
|
+
if (E === "true" || E === "") return;
|
872
|
+
let x = n2.getAttribute("aria-disabled");
|
873
|
+
if (x === "true" || x === "") return;
|
874
|
+
(n2 instanceof HTMLInputElement && (n2.type === "radio" || n2.type === "checkbox") || n2.role === "radio" || n2.role === "checkbox" || n2.role === "switch") && n2.click(), n2.focus({ preventScroll: true });
|
875
|
+
}
|
876
|
+
}
|
877
|
+
}), d2 = g || false, C2 = useMemo(() => ({ ...e2.slot, disabled: d2 }), [e2.slot, d2]), f2 = { ref: p2, ...e2.props, id: t2, htmlFor: s2, onClick: u2 };
|
878
|
+
return m2 && ("onClick" in f2 && (delete f2.htmlFor, delete f2.onClick), "onClick" in i2 && delete i2.onClick), H({ ourProps: f2, theirProps: i2, slot: C2, defaultTag: s2 ? N : "div", name: e2.name || "Label" });
|
879
|
+
}
|
880
|
+
let U = W(G), K = Object.assign(U, {});
|
724
881
|
export {
|
725
882
|
$f7dceffc5ad7768b$export$4e328f61c538687f as $,
|
726
883
|
D,
|
884
|
+
G$1 as G,
|
727
885
|
H,
|
728
886
|
I,
|
887
|
+
K,
|
729
888
|
M,
|
730
|
-
T,
|
889
|
+
T$2 as T,
|
890
|
+
U$1 as U,
|
731
891
|
W,
|
732
|
-
u$
|
733
|
-
$
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
892
|
+
u$2 as a,
|
893
|
+
a$2 as b,
|
894
|
+
$6179b936705e76d3$export$ae780daf29e6d456 as c,
|
895
|
+
u$1 as d,
|
896
|
+
o2 as e,
|
897
|
+
p as f,
|
898
|
+
o$3 as g,
|
899
|
+
s$2 as h,
|
900
|
+
T as i,
|
901
|
+
j,
|
902
|
+
l$1 as l,
|
738
903
|
n,
|
739
|
-
o$
|
740
|
-
p,
|
741
|
-
|
904
|
+
o$2 as o,
|
905
|
+
p$1 as p,
|
906
|
+
r,
|
907
|
+
s$1 as s,
|
742
908
|
t$1 as t,
|
743
|
-
u$
|
744
|
-
|
909
|
+
u$3 as u,
|
910
|
+
w,
|
911
|
+
y,
|
912
|
+
z
|
745
913
|
};
|