mimir-ui-kit 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/ACE-Dh-PnKV7.js +23 -0
- package/dist/Acceleration-GBCZC6x6.js +34 -0
- package/dist/Accept16px-CzM0Df91.js +27 -0
- package/dist/Accept24px-D2GGOEFK.js +29 -0
- package/dist/Accept32px-0cvrOUlB.js +28 -0
- package/dist/Acts16px-WrO5Razf.js +40 -0
- package/dist/Acts16pxF-tbac65nP.js +35 -0
- package/dist/Acts24px-DaszJ-oP.js +41 -0
- package/dist/Acts24pxF-D0aNSZ14.js +34 -0
- package/dist/Acts32px-Dk5XyG2F.js +41 -0
- package/dist/AdditionalServicess16px-ClYhS7AD.js +33 -0
- package/dist/AdditionalServicess16pxF-D_Cr5Ti3.js +22 -0
- package/dist/AdditionalServicess24px-B-GU8ljs.js +34 -0
- package/dist/AdditionalServicess24pxF-CcIv7u6B.js +23 -0
- package/dist/AdditionalServicess32px-CnkKKa5B.js +25 -0
- package/dist/AdditionalServicess32pxF-BJ7nNuJu.js +23 -0
- package/dist/Agents16px-CKtXJGgS.js +24 -0
- package/dist/Agents16pxF-MHuxLKdT.js +22 -0
- package/dist/Agents24px-Dmv9UkOs.js +25 -0
- package/dist/Agents24pxF-cCOGLyS0.js +32 -0
- package/dist/Agents32px-utYx_RfH.js +37 -0
- package/dist/Alarm16px-oU7xa_Pe.js +25 -0
- package/dist/Alarm24px-BwED0kCm.js +26 -0
- package/dist/Alarm32px-CzWKWxBo.js +26 -0
- package/dist/Alim-DUwhLV2k.js +25 -0
- package/dist/AllMetal-lsgMk2J1.js +34 -0
- package/dist/AllMetalCargoAndPassenger-BP6Rmi-A.js +34 -0
- package/dist/Amur-p-z-0MiH.js +25 -0
- package/dist/Ankai-CSfa2TEH.js +25 -0
- package/dist/ArrowDown16px-DTCW-Omg.js +24 -0
- package/dist/ArrowDown24px-BR0m3fU9.js +25 -0
- package/dist/ArrowDown32px-DLadIoFl.js +25 -0
- package/dist/ArrowLeft16px-CtInbI-A.js +24 -0
- package/dist/ArrowLeft24px-BWfU2AT7.js +25 -0
- package/dist/ArrowLeft32px-CklmCz2b.js +25 -0
- package/dist/ArrowRight16px-Cg_RnVkX.js +24 -0
- package/dist/ArrowRight24px-BMgowqrc.js +25 -0
- package/dist/ArrowRight32px-D7wPM6KT.js +25 -0
- package/dist/ArrowUp16px-DzX1aOjg.js +24 -0
- package/dist/ArrowUp24px-BOdGtGw-.js +25 -0
- package/dist/ArrowUp32px-BS3NXexJ.js +25 -0
- package/dist/ArrowUpright16px-BHoe8_IK.js +24 -0
- package/dist/ArrowUpright24px-grrXzBha.js +25 -0
- package/dist/ArrowUpright32px-DIsDrXTa.js +25 -0
- package/dist/AsphaltPaver-DVob-3UC.js +37 -0
- package/dist/AttachFile16px-CdnjRea_.js +24 -0
- package/dist/AttachFile24px-B3X67SsA.js +25 -0
- package/dist/AttachFile32px-B0tLm9XH.js +25 -0
- package/dist/Audi-9GskTRhO.js +22 -0
- package/dist/Autotower-C-yESqcn.js +34 -0
- package/dist/Awning-BYuoZpCu.js +35 -0
- package/dist/BMW-CNOj2fIU.js +43 -0
- package/dist/BRP-BwnKfFMU.js +34 -0
- package/dist/BackhoeLoader-Bas9aSQY.js +41 -0
- package/dist/Bell16px-kVv729Pi.js +44 -0
- package/dist/Bell16pxF-Dk7ukIHs.js +34 -0
- package/dist/Bell24px-DPKhmZSS.js +45 -0
- package/dist/Bell24pxF-CBBf_vwg.js +28 -0
- package/dist/Bell32px-CItSevhh.js +45 -0
- package/dist/Bell32pxF-CgdrAD-I.js +28 -0
- package/dist/Berths-fF7tVlVU.js +39 -0
- package/dist/Bike-ziBFLp4B.js +25 -0
- package/dist/Bucket-DOH0oMUM.js +23 -0
- package/dist/BucketLoadingCapacity-Wlbdjby5.js +25 -0
- package/dist/BucketVolume-CqdlsL3c.js +32 -0
- package/dist/Buggy-28YVK3gG.js +34 -0
- package/dist/Bulldozer-DiFvl6FQ.js +36 -0
- package/dist/Bus-DGeGG_Bn.js +25 -0
- package/dist/BusBus-Cd5CUveV.js +34 -0
- package/dist/BusMinibus-GLCo1rli.js +34 -0
- package/dist/BusShiftBuses-NRkdVtdF.js +44 -0
- package/dist/CabinTurn-Cj7h1hyS.js +34 -0
- package/dist/Calculator16px-DcyHx-IB.js +24 -0
- package/dist/Calculator24px-D7iXuH67.js +25 -0
- package/dist/Calculator32px-Bq6qy9LU.js +25 -0
- package/dist/CalculatorLkk16px-DTikpTVt.js +35 -0
- package/dist/CalculatorLkk16pxF-D_T7LJU1.js +24 -0
- package/dist/CalculatorLkk24px-Cx7gKN3F.js +34 -0
- package/dist/CalculatorLkk24pxF-BafBDJwM.js +25 -0
- package/dist/CalculatorLkk32px-eLK9ex6W.js +34 -0
- package/dist/CalculatorLkk32pxF-Dlt-EnxA.js +25 -0
- package/dist/Calendar16px-DlbVwhhr.js +24 -0
- package/dist/Calendar24px-B-wIv0Yr.js +25 -0
- package/dist/Calendar32px-lCelTHGL.js +25 -0
- package/dist/Camera16px-BwC_X-Lb.js +36 -0
- package/dist/Camera24px-DudduAtV.js +25 -0
- package/dist/Camera32px-DuwqnTg-.js +37 -0
- package/dist/Car-BJNp4xd5.js +25 -0
- package/dist/Car16px-BOQe5A9r.js +35 -0
- package/dist/Car16pxF-C8hXfwfl.js +24 -0
- package/dist/Car24px-DoDPcfCB.js +36 -0
- package/dist/Car24pxF-CxsC0qvq.js +34 -0
- package/dist/Car32px-B0kZCSIO.js +36 -0
- package/dist/Car32pxF-C9jSDHsv.js +28 -0
- package/dist/CarBodySize-CgpL5emG.js +34 -0
- package/dist/CarBodyType-BrJnDn1D.js +25 -0
- package/dist/CarColor-BSgbchb0.js +34 -0
- package/dist/CargoAScrapTruckFromTheCmu-visqbcbs.js +41 -0
- package/dist/CargoAutotower-CRTnX-z1.js +34 -0
- package/dist/CargoAwning-Du0lEh3W.js +41 -0
- package/dist/CargoConcreteMixerTruck-Ctc7aonB.js +41 -0
- package/dist/CargoDrillingRig-DJziKPfA.js +34 -0
- package/dist/CargoDumpTruck-B8oPJa3-.js +41 -0
- package/dist/CargoGarbageTruck-BKjnRTK3.js +41 -0
- package/dist/CargoGrainCarrier-dvNuEvJ8.js +41 -0
- package/dist/CargoIsothermal-BjBVaYw_.js +41 -0
- package/dist/CargoOnBoard-ZyK8rL3U.js +41 -0
- package/dist/CargoOnBoardWithCmu-BDROtl87.js +41 -0
- package/dist/CargoPromotionalItem-BC0nyDQZ.js +41 -0
- package/dist/CargoSortingTruck-D7fhqXha.js +41 -0
- package/dist/CargoTankerTruck-YOBCdvTS.js +41 -0
- package/dist/CargoTowTruck-DnopQ_Xj.js +34 -0
- package/dist/CargoTruckCrane-Bz3ve1nq.js +43 -0
- package/dist/CargoVacuumMachine-B9Tlsf1r.js +34 -0
- package/dist/Case-Ba1UVzLu.js +25 -0
- package/dist/Catalog16px-D5Yt-qH0.js +24 -0
- package/dist/Catalog24px-CbZg3Wd-.js +25 -0
- package/dist/Catalog32px-DEiqWdKw.js +25 -0
- package/dist/Certs16px-DLkV0erM.js +33 -0
- package/dist/Certs16pxF-Ch3Z_P-O.js +33 -0
- package/dist/Certs24px-Do5yPDqw.js +34 -0
- package/dist/Certs24pxF-Cv--w2Vo.js +34 -0
- package/dist/Certs32px-BtQpjGU1.js +34 -0
- package/dist/Certs32pxF-8Y-y5UOZ.js +34 -0
- package/dist/ChMZAP-wSHBGtdL.js +48 -0
- package/dist/ChTZ-PAVxMyHL.js +34 -0
- package/dist/Change16px-Dbr1Q8TY.js +22 -0
- package/dist/Change24px-DpIQOuUu.js +25 -0
- package/dist/Change32px-BobIrvEg.js +25 -0
- package/dist/Chat16px-DqarMh06.js +33 -0
- package/dist/Chat16pxF-BEr-Lqm2.js +24 -0
- package/dist/Chat24px-B07p4Fw1.js +30 -0
- package/dist/Chat24pxF-BhOEvhHa.js +25 -0
- package/dist/Chat32px-CVmTlFnb.js +34 -0
- package/dist/Chat32pxF-VLA-KrO8.js +25 -0
- package/dist/Chatbot16px-D7hmpHj8.js +264 -0
- package/dist/Chatbot24px-Xw6Km457.js +265 -0
- package/dist/Chatbot32px-JVrcxH1h.js +265 -0
- package/dist/Cherry-Brt0vTmK.js +34 -0
- package/dist/Citroen-B3-VBgfm.js +25 -0
- package/dist/Clearance-BdftjoaH.js +25 -0
- package/dist/Close16px-yncu3S1c.js +24 -0
- package/dist/Close24px-DLCl1anV.js +25 -0
- package/dist/Close32px-BUBxuA5k.js +25 -0
- package/dist/CloseFloatMenuArrow16px-BLuE9jUZ.js +22 -0
- package/dist/CloseFloatMenuArrow24px-DC2uXU5d.js +25 -0
- package/dist/CloseFloatMenuArrow32px-D6Yvw40h.js +23 -0
- package/dist/CloseFloatMenuMobileArrow16px-DiNBwNl1.js +22 -0
- package/dist/CloseFloatMenuMobileArrow24px-BEmt9mUk.js +23 -0
- package/dist/CloseFloatMenuMobileArrow32px-CyvwICDy.js +23 -0
- package/dist/Coin16px-GcAZwMd3.js +35 -0
- package/dist/Coin16pxF-BpBYLvKq.js +42 -0
- package/dist/Coin24px-BwvEPTOg.js +26 -0
- package/dist/Coin24pxF-C-23vx72.js +43 -0
- package/dist/Coin32px-BU5-H__H.js +36 -0
- package/dist/Coin32pxF-DJYZt9UJ.js +34 -0
- package/dist/CombineHarvester-BUiaszfW.js +41 -0
- package/dist/Compartment-Cve8sS0j.js +34 -0
- package/dist/ConcreteMixerTruck-D43EZPWI.js +41 -0
- package/dist/ConcretePump-aI6bfyE5.js +42 -0
- package/dist/Contracts16px-P-c8btCq.js +35 -0
- package/dist/Contracts16pxF-CpE-U_nV.js +33 -0
- package/dist/Contracts24px-DhC2VuZY.js +36 -0
- package/dist/Contracts24pxF-D99YdzWK.js +34 -0
- package/dist/Contracts32px-CTpoKmDS.js +36 -0
- package/dist/Contracts32pxF-C2N-DqSO.js +34 -0
- package/dist/CopyClipboard16px-CIAYNRb8.js +27 -0
- package/dist/CopyClipboard24px-C8MSBeW_.js +28 -0
- package/dist/CopyClipboard32px-BAEG5-rL.js +34 -0
- package/dist/Crossover-CnJjL1nR.js +34 -0
- package/dist/Cylinders-DPwb5yAG.js +37 -0
- package/dist/DaewooFull-DEhEPVc0.js +60 -0
- package/dist/DaewooSymbol-S5JjIyXx.js +53 -0
- package/dist/Daf-BLi-jvO7.js +25 -0
- package/dist/Dayun-DoRa_Bot.js +25 -0
- package/dist/Dimensions-D9vGycAr.js +34 -0
- package/dist/Done16px-BMgPTw68.js +24 -0
- package/dist/Done24px-BGMr2Ua0.js +25 -0
- package/dist/Done32px-QEOVlh9a.js +25 -0
- package/dist/DongFeng-D4bL6sDT.js +25 -0
- package/dist/Download16px-jVDc1H41.js +31 -0
- package/dist/Download24px-Dukxu87S.js +32 -0
- package/dist/Download32px-CUwBsHAz.js +32 -0
- package/dist/DragHandle16px-CMq5289r.js +22 -0
- package/dist/DragHandle24px-DHr905OK.js +23 -0
- package/dist/DragHandle32px-DgLRWYeT.js +23 -0
- package/dist/DragHandleHorizontal16px-DHFulbcY.js +22 -0
- package/dist/DragHandleHorizontal24px-_8e9iXNb.js +23 -0
- package/dist/DragHandleHorizontal32px-Cts1nMvt.js +23 -0
- package/dist/DragHandleVertical16px-E-_vKtAw.js +22 -0
- package/dist/DragHandleVertical24px-B8h4wqMw.js +23 -0
- package/dist/DragHandleVertical32px-CZaRHILC.js +23 -0
- package/dist/DrillingRigg-BQYdG37w.js +34 -0
- package/dist/DropdownArrowBottom16px-SThQoOWF.js +24 -0
- package/dist/DropdownArrowDown24px-D7HJu36H.js +25 -0
- package/dist/DropdownArrowDown32px-CoDpmPzb.js +25 -0
- package/dist/DropdownArrowLeft16px-vnfocUlF.js +24 -0
- package/dist/DropdownArrowLeft24px-CFIXhmYY.js +25 -0
- package/dist/DropdownArrowLeft32px-CrkV9DDk.js +25 -0
- package/dist/DropdownArrowRight16px-Rcl2Mdts.js +24 -0
- package/dist/DropdownArrowRight24px-BD5_Asbu.js +25 -0
- package/dist/DropdownArrowRight32px-Dl_TroXx.js +25 -0
- package/dist/DropdownArrowUp16px-9sX1aEWz.js +24 -0
- package/dist/DropdownArrowUp24px-Bru3PFd8.js +25 -0
- package/dist/DropdownArrowUp32px-Dix3CXLP.js +17 -0
- package/dist/Ducati-Bv7LcQfF.js +34 -0
- package/dist/DumpTruck-D5dhirQp.js +41 -0
- package/dist/Dzen16px-BhMZW8CQ.js +22 -0
- package/dist/Dzen24px-_4CZzwoe.js +23 -0
- package/dist/Dzen32px-Mp1ZYoFU.js +23 -0
- package/dist/EngineType-Dy3UEg8u.js +23 -0
- package/dist/Equipment-Dg2QMiKV.js +25 -0
- package/dist/Euro16px-DRrmEaHQ.js +25 -0
- package/dist/Euro24px-3OVC1BYQ.js +26 -0
- package/dist/Euro32px-1t3kvGR1.js +26 -0
- package/dist/Excavator-CKvI8Ld4.js +25 -0
- package/dist/Exeed-DvZ2upDV.js +34 -0
- package/dist/Eye16px-BnE52y-8.js +35 -0
- package/dist/Eye24px-BICxF_bD.js +36 -0
- package/dist/Eye32px-Bufwk59n.js +36 -0
- package/dist/Failure16px-CCLjItGs.js +27 -0
- package/dist/Failure24px-DF1Nx0eS.js +28 -0
- package/dist/Failure32px-2_DqYqLc.js +28 -0
- package/dist/Favorite16px-krp3rAcr.js +24 -0
- package/dist/Favorite16pxF-2l04IgLp.js +22 -0
- package/dist/Favorite24px-BrPVQNsC.js +25 -0
- package/dist/Favorite24pxF-qpmxGfdQ.js +23 -0
- package/dist/Favorite32px-B-1H6r80.js +25 -0
- package/dist/Favorite32pxF-CkdkHRaO.js +23 -0
- package/dist/Faw-CSEL1fGW.js +36 -0
- package/dist/Fenix-DM8r2D3D.js +116 -0
- package/dist/Fiat-D7CZ3Ckc.js +39 -0
- package/dist/Filter16px-BJ-x2rye.js +24 -0
- package/dist/Filter24px-DNJl9PUU.js +23 -0
- package/dist/Filter32px-ByqmaAVm.js +23 -0
- package/dist/Flag16pxF-iGv2y1Qi.js +16 -0
- package/dist/Flag24pxF-D6qYw5Xt.js +17 -0
- package/dist/Flag32pxF-oohlMmD7.js +17 -0
- package/dist/Folder16px-3KP0YySu.js +24 -0
- package/dist/Folder24px-BVZCIkEb.js +25 -0
- package/dist/Folder32px-BeLtJ6Qd.js +25 -0
- package/dist/Ford-D1V-_kFJ.js +43 -0
- package/dist/ForestPreparationEquipment-CzEBCRwV.js +41 -0
- package/dist/ForkliftTruck-CAfIFf0B.js +34 -0
- package/dist/Foton-Civb8Wym.js +34 -0
- package/dist/FrontLoader-CzZO8jqV.js +41 -0
- package/dist/FuelConsumption-DTLxpPes.js +23 -0
- package/dist/Fullscreen16px-CVa431PU.js +24 -0
- package/dist/Fullscreen24px-DfNRblKi.js +25 -0
- package/dist/Fullscreen32px-B2vAHZ8F.js +25 -0
- package/dist/Gac-BW4JUbjs.js +23 -0
- package/dist/Galery16px-S39B6Tbe.js +27 -0
- package/dist/Galery24px-B70Grc0U.js +28 -0
- package/dist/Galery32px-C7_L61cy.js +28 -0
- package/dist/Gaz-B_glod8E.js +61 -0
- package/dist/Gear16px-6LYCHNL-.js +35 -0
- package/dist/Gear24px-CsBWqeA7.js +36 -0
- package/dist/Gear32px-CtKlK6CH.js +36 -0
- package/dist/GearType-DGWbicya.js +26 -0
- package/dist/Geely-CFxLEtwE.js +27 -0
- package/dist/Genesis-7Ml8lPh1.js +32 -0
- package/dist/Gift16px-BZls-H_P.js +33 -0
- package/dist/Gift24px-DCRL_k44.js +25 -0
- package/dist/Gift32px-B9wx9_Nq.js +25 -0
- package/dist/Gitte-DBx1BJ0u.js +25 -0
- package/dist/Grunwald-BcES_oht.js +25 -0
- package/dist/HartungFull-DquRU8Xf.js +34 -0
- package/dist/HartungSymbol-BuaV-nn-.js +34 -0
- package/dist/Hatchback-Cr7cMM9l.js +34 -0
- package/dist/Haval-DwhOzaEd.js +25 -0
- package/dist/Higer-Bl2UgfCY.js +25 -0
- package/dist/Hint16px-jWHRB48x.js +25 -0
- package/dist/Hint24px-DYo08JCd.js +28 -0
- package/dist/Hint32px-lYPKPiUL.js +28 -0
- package/dist/Hitachi-zuMU7Wia.js +23 -0
- package/dist/Home16px-nf6BhuOH.js +33 -0
- package/dist/Home16pxF-ftr5z4yo.js +24 -0
- package/dist/Home24px-CJCjBHEr.js +36 -0
- package/dist/Home24pxF-qmdy9kwq.js +25 -0
- package/dist/Home32px-DxOVdW-j.js +28 -0
- package/dist/Home32pxF-D64UqJwi.js +25 -0
- package/dist/Honda-CWySTVed.js +39 -0
- package/dist/Hongqi-Dq1js33w.js +32 -0
- package/dist/Hongyan-BXHhgVMj.js +25 -0
- package/dist/Hot16pxF-B8gO0bZ4.js +22 -0
- package/dist/Hot24pxF-DmNyJCUv.js +23 -0
- package/dist/Hot32pxF-CM462_Xh.js +23 -0
- package/dist/Howo-CgERgVQf.js +48 -0
- package/dist/Hyundai-DW03vn5K.js +25 -0
- package/dist/IceRink-CXDcHn-o.js +36 -0
- package/dist/Improvements24px-BkSwmsJi.js +43 -0
- package/dist/Improvements24pxF-we-rw6ER.js +37 -0
- package/dist/Infiniti-DDZI7IUo.js +23 -0
- package/dist/Isothermal-BEv2n2uE.js +41 -0
- package/dist/Isuzu-BmYgjvDZ.js +25 -0
- package/dist/Iveco-BtAdscJd.js +25 -0
- package/dist/JCB-C5eowOn2.js +34 -0
- package/dist/Jac-D2cZV6Lk.js +23 -0
- package/dist/Juterborg-BTbo0Y2B.js +59 -0
- package/dist/KIA-Qk43TWFW.js +25 -0
- package/dist/Kaiyi-B7eA7eWh.js +25 -0
- package/dist/Kamaz-b6jHf99q.js +37 -0
- package/dist/Kassbohrer-IUn8MLcw.js +25 -0
- package/dist/Kebab16px-DfTPykAQ.js +16 -0
- package/dist/Kebab24px-BYolM7Lq.js +23 -0
- package/dist/Kebab32px-CDhlgcwj.js +17 -0
- package/dist/Komatsu-Ch4Q2bal.js +23 -0
- package/dist/Ktm-C2TLHVi8.js +23 -0
- package/dist/LCCE-B2S1Vwq5.js +39 -0
- package/dist/Lada-BTO9WBD7.js +25 -0
- package/dist/Lexus-CSnfKaB2.js +25 -0
- package/dist/Liftback-Bx_7-7fO.js +25 -0
- package/dist/LiftingHeight-CPHHgiKu.js +23 -0
- package/dist/List16px-BrwtUFgP.js +22 -0
- package/dist/List24px-CmENxvos.js +23 -0
- package/dist/List32px-ChDSXkFX.js +23 -0
- package/dist/LiuGong-DODz6x68.js +32 -0
- package/dist/LoadingCapacity-DDMbkIqV.js +25 -0
- package/dist/Location16px-BlLMaJvo.js +35 -0
- package/dist/Location24px-wPb9L50t.js +36 -0
- package/dist/Location32px-BoUvkB03.js +36 -0
- package/dist/Lonking-C5gBWh9S.js +32 -0
- package/dist/Lovol-BT_sP9Wd.js +23 -0
- package/dist/MTZBelarus-uprKopHJ.js +36 -0
- package/dist/Man-CD_0Sgqr.js +23 -0
- package/dist/Mans-BVm-vWA3.js +21 -0
- package/dist/Map16px-t8-9n8WE.js +24 -0
- package/dist/Map24px-BYoh_iPr.js +25 -0
- package/dist/Map32px-C4a9oUDP.js +25 -0
- package/dist/Maz-BYlKxE50.js +34 -0
- package/dist/Menu16px-DdE3Br07.js +22 -0
- package/dist/Menu24px-DBawOXMG.js +23 -0
- package/dist/Menu32px-ft8Xb8HO.js +23 -0
- package/dist/MenuMobile16px-B3ig9ai4.js +24 -0
- package/dist/MenuMobile24px-Dnuim2QB.js +25 -0
- package/dist/MenuMobile32px-DDLE5aRr.js +25 -0
- package/dist/MercedesBenz-DgVdOc5E.js +25 -0
- package/dist/Meusburger-5-bQL8UM.js +25 -0
- package/dist/MiniEscalator-DXtvdBtj.js +43 -0
- package/dist/MiniLoader-CgR-mjRs.js +34 -0
- package/dist/MiningDumpTruck-B6hJdZJu.js +41 -0
- package/dist/Minitractor-BMeJ-ZlO.js +34 -0
- package/dist/Minivan-BLrD96qN.js +34 -0
- package/dist/Minus16px-BsaSPrpm.js +16 -0
- package/dist/Minus24px-Cd4e6TzW.js +25 -0
- package/dist/Minus32px-D7xvjBJN.js +25 -0
- package/dist/Mitsubishi-BnT44Xoa.js +23 -0
- package/dist/MotorGrader-C6LK1V7h.js +34 -0
- package/dist/MotorVehiclesBike-UyntCPvQ.js +26 -0
- package/dist/MotorVehiclesQuadBike-7Wo4TANl.js +32 -0
- package/dist/Navigation16px-p9fAt-hP.js +24 -0
- package/dist/Navigation24px-CtJtnmhL.js +25 -0
- package/dist/Navigation32px-DNwrWMZE.js +25 -0
- package/dist/NefAZ-CYGovIEN.js +32 -0
- package/dist/News16px-CAJU2_p_.js +33 -0
- package/dist/News16pxF-7dNhfaU6.js +24 -0
- package/dist/News24px-QXFy8Y05.js +34 -0
- package/dist/News24pxF-CWFmlSru.js +25 -0
- package/dist/News32px-pJmYmKJ_.js +34 -0
- package/dist/News32pxF-BVjsHGm0.js +25 -0
- package/dist/Number16px-CijeDCqH.js +33 -0
- package/dist/Number24px-pDsuFcRN.js +34 -0
- package/dist/Number32px-Bp13_oDL.js +34 -0
- package/dist/NumberOfAxes-DAXQVVdk.js +25 -0
- package/dist/NumberOfSeats-DPuDLZw9.js +23 -0
- package/dist/NursanTrailer-zfpX_rJ5.js +23 -0
- package/dist/OffRoadVehicle-PcPhm4DC.js +34 -0
- package/dist/Omoda-CBWH_Ago.js +39 -0
- package/dist/OnBoard-0OYYMig3.js +41 -0
- package/dist/OnBoardCargoAndPassengerTransport-Bp9HcA-A.js +41 -0
- package/dist/OnBoardWithCmu-JBgrZGDm.js +41 -0
- package/dist/OpenFloatMenuArrow16px-CCqP46NH.js +22 -0
- package/dist/OpenFloatMenuArrow24px-DcV5bned.js +23 -0
- package/dist/OpenFloatMenuArrow32px-BL6HnNSl.js +23 -0
- package/dist/OpenFloatMenuMobileArrow16px-COMRCn5i.js +22 -0
- package/dist/OpenFloatMenuMobileArrow24px-D1wx7mh5.js +25 -0
- package/dist/OpenFloatMenuMobileArrow32px-CE6fDiO1.js +25 -0
- package/dist/Orders16px-Tkvhpk4W.js +33 -0
- package/dist/Orders16pxF-Dy1_IqA6.js +27 -0
- package/dist/Orders24px-BHWftVdQ.js +34 -0
- package/dist/Orders24pxF-DgwXbktU.js +28 -0
- package/dist/Orders32px-CTrpwXog.js +43 -0
- package/dist/Orders32pxF-DTyNKvnT.js +34 -0
- package/dist/OtherAgriculturalMachinery-9dGJTrMc.js +50 -0
- package/dist/OtherCareerTechniques-Dgr-LaXF.js +41 -0
- package/dist/PSATss-FH4_WoDx.js +39 -0
- package/dist/Pause16px-DrUHTQOp.js +16 -0
- package/dist/Pause24px-BDg2ApPJ.js +17 -0
- package/dist/Pause32px-D9KVeh8H.js +17 -0
- package/dist/Paz-Cz0iePw3.js +25 -0
- package/dist/Pen16px-BpvsshJ0.js +35 -0
- package/dist/Pen16pxF-D0Ot2_xX.js +24 -0
- package/dist/Pen24px-BC3_Lho-.js +36 -0
- package/dist/Pen24pxF-955o6GU-.js +25 -0
- package/dist/Pen32px-B169eyA7.js +24 -0
- package/dist/Pen32pxF-IYe01ej4.js +25 -0
- package/dist/Peugeot-DGGCgccX.js +23 -0
- package/dist/Phone16px-BTNcqkMT.js +24 -0
- package/dist/Phone24px-D1IgTWqO.js +25 -0
- package/dist/Phone32px-CP_IYGW7.js +23 -0
- package/dist/Pickup-C1vLK8Ds.js +25 -0
- package/dist/PickupTruck-DfMFIU5J.js +34 -0
- package/dist/PilingInstallation-DkktOtHW.js +36 -0
- package/dist/Play16pxF-DlflH6dC.js +22 -0
- package/dist/Play24px-DIeywBv3.js +23 -0
- package/dist/Play32px-CDOSEnVI.js +23 -0
- package/dist/Plus16px-DQ1CV6pu.js +24 -0
- package/dist/Plus24px-DN2J9UW_.js +25 -0
- package/dist/Plus32px-BnNzwYFx.js +25 -0
- package/dist/Pound16px-BI-TmzN3.js +25 -0
- package/dist/Pound24px-DyqVyAmG.js +26 -0
- package/dist/Pound32px-DOVd40fL.js +26 -0
- package/dist/PriceDown16px-C-cNQZW0.js +35 -0
- package/dist/PriceDown24px-PVTMb32v.js +34 -0
- package/dist/PriceDown32px-BnvMqfiD.js +45 -0
- package/dist/PriceUp16px-CYzIn1JK.js +35 -0
- package/dist/PriceUp24px-DhvCeTuT.js +34 -0
- package/dist/PriceUp32px-DXmbyQYE.js +36 -0
- package/dist/PromotionalItem-dcrkAiPD.js +41 -0
- package/dist/PublicUtilityVehicle-DhKmayVl.js +48 -0
- package/dist/QuarryExcavator-Cpw_k1y-.js +28 -0
- package/dist/Question16px-tzofmGkO.js +24 -0
- package/dist/Question16pxF-DSNmwd8C.js +24 -0
- package/dist/Question24px-eueJiFdF.js +34 -0
- package/dist/Question24pxF-CT9X-eEh.js +25 -0
- package/dist/Question32px-DocfaHkH.js +34 -0
- package/dist/Question32pxF-DREzHjSx.js +25 -0
- package/dist/Raskat-Dt9ZmFxF.js +39 -0
- package/dist/Renault-Ch74xcFm.js +32 -0
- package/dist/RussianCarsEmblem-Db6Bh8Bb.js +34 -0
- package/dist/RussianCarsKremlin-DoBsxn2Y.js +43 -0
- package/dist/Rutube16px-BMJ84Pid.js +22 -0
- package/dist/Rutube24px-CagkcqE2.js +23 -0
- package/dist/Rutube32px-DfSUkwlK.js +23 -0
- package/dist/Sany-DWj6_gDd.js +52 -0
- package/dist/Scan16px-y7KrBIJ7.js +22 -0
- package/dist/Scan24px-uYfvDHxJ.js +23 -0
- package/dist/Scan32px-XteDey6o.js +23 -0
- package/dist/Scania-BfRIErvN.js +59 -0
- package/dist/Schmitz-NM386tH6.js +25 -0
- package/dist/Scooter-ke7XINzD.js +32 -0
- package/dist/Search16px-D1uxbOTI.js +24 -0
- package/dist/Search24px-CL-9fhxx.js +25 -0
- package/dist/Search32px-Ci3in43W.js +25 -0
- package/dist/Sedan-BL07imjo.js +34 -0
- package/dist/Shacman-KOaW_Q-7.js +32 -0
- package/dist/Shantui-Bt2wnL1m.js +23 -0
- package/dist/Share16pxF-vtMj_7yk.js +22 -0
- package/dist/Share24pxF-uceRx-El.js +23 -0
- package/dist/Share32pxF-4ugq9kEJ.js +23 -0
- package/dist/ShopimgCard32px-iCGLjLtQ.js +25 -0
- package/dist/ShopingCard16px-XZLluJXh.js +24 -0
- package/dist/ShopingCard24px-L7CyQPVo.js +25 -0
- package/dist/Sinanli-DzqtzgDP.js +73 -0
- package/dist/Sitrak-DIUjfUpS.js +36 -0
- package/dist/Snowmobile-CbcOnsu2.js +41 -0
- package/dist/SobolIztechmash-C5dyz5Mb.js +62 -0
- package/dist/Sokol-D2pl6dSo.js +23 -0
- package/dist/Sollers-DdR7XX6w.js +25 -0
- package/dist/Sort16px-CBh69rcA.js +24 -0
- package/dist/Sort24px-B2CSwjt0.js +23 -0
- package/dist/Sort32px-BlrSI5hs.js +23 -0
- package/dist/Star16px-D9rd0Y2r.js +24 -0
- package/dist/Star16pxF-6345ObwP.js +22 -0
- package/dist/Star24px-Q9q-1A_S.js +25 -0
- package/dist/Star24pxF-DfniFNB1.js +23 -0
- package/dist/Star32px-DxQPQSMB.js +25 -0
- package/dist/Star32pxF-DYoBooDi.js +23 -0
- package/dist/StarHalf16pxF-BnS_DmI6.js +24 -0
- package/dist/StarHalf24pxF-DNqRfb03.js +25 -0
- package/dist/StarHalf32pxF-CiZCPnYl.js +25 -0
- package/dist/Step-IwkI6e-d.js +22 -0
- package/dist/TankerTruck-1D1cDEZV.js +41 -0
- package/dist/Telegram16pxF-CCMcUa6i.js +22 -0
- package/dist/Telegram24pxF-CNj1SGgA.js +23 -0
- package/dist/Telegram32pxF-C1Uvx9Qa.js +23 -0
- package/dist/TelegramPlane16pxF-f9kA7Rd5.js +22 -0
- package/dist/TelegramPlane24pxF-DOUaZ9RK.js +23 -0
- package/dist/TelegramPlane32pxF-CLaYnwuK.js +23 -0
- package/dist/TelescopicLoader-DxIQUBqy.js +34 -0
- package/dist/TheLift-BO2_aQm3.js +39 -0
- package/dist/Timer16px-DlqpvnY4.js +40 -0
- package/dist/Timer24px-CigoYjNV.js +41 -0
- package/dist/Timer32px--MNiQ70L.js +35 -0
- package/dist/TitanLipetskiyZavodPricepcenter-CX6tq7HL.js +23 -0
- package/dist/Tonar-DHMDqF89.js +25 -0
- package/dist/TowTruck-CgOd-TeZ.js +34 -0
- package/dist/Toyota-BLLYLpfp.js +23 -0
- package/dist/Tractor-CFVJfhOe.js +34 -0
- package/dist/TractorTruck-zY1F8Izn.js +41 -0
- package/dist/TrailerType-BAyMPr4C.js +32 -0
- package/dist/Trailerr-D0dFKerE.js +25 -0
- package/dist/TrailersCarCarrier-CGVWZnOD.js +43 -0
- package/dist/TrailersCattleTruck-Q-wf1wvI.js +34 -0
- package/dist/TrailersContainerShip-Bu7lNdXo.js +42 -0
- package/dist/TrailersCurtainSide-TzavyUiE.js +41 -0
- package/dist/TrailersDumpTruck-NyZQ82XD.js +41 -0
- package/dist/TrailersGrainTruck-CIhh4KB-.js +41 -0
- package/dist/TrailersHeavyTruck-CSGGqIBP.js +41 -0
- package/dist/TrailersIsothermal-DqNtO4CP.js +41 -0
- package/dist/TrailersOther-DrN3LDSc.js +41 -0
- package/dist/TrailersTankerTruck-DBQT2y32.js +41 -0
- package/dist/Trash16px-CrO1bSUC.js +24 -0
- package/dist/Trash24px-CSWDACv3.js +45 -0
- package/dist/Trash32px-Dsm9A0qb.js +45 -0
- package/dist/Trekol-zGkTKbbH.js +36 -0
- package/dist/Truck-VN9eRSGy.js +25 -0
- package/dist/TruckCrane-B9Gj09Ac.js +43 -0
- package/dist/TwinArrowLeft16px-CDGT5xd_.js +22 -0
- package/dist/TwinArrowLeft24px-CQIvnNbJ.js +23 -0
- package/dist/TwinArrowLeft32px-WGUdCm5V.js +23 -0
- package/dist/TwinArrowRight16px-C_M-ndWU.js +22 -0
- package/dist/TwinArrowRight24px-AJ6BESZj.js +25 -0
- package/dist/TwinArrowRight32px-CnM_Ncq0.js +23 -0
- package/dist/UAT-DBEtif_4.js +23 -0
- package/dist/USDollar16px-CIU1XDKE.js +25 -0
- package/dist/USDollar24px-BnowCnVm.js +26 -0
- package/dist/USDollar32px-DcFUaBXJ.js +26 -0
- package/dist/Uaz-p36RmoN2.js +72 -0
- package/dist/Umbrella16px-BWSAXn5N.js +24 -0
- package/dist/Umbrella16pxF-BRITAZUo.js +22 -0
- package/dist/Umbrella24px-AVixUdjO.js +25 -0
- package/dist/Umbrella24pxF-TsE9ph3B.js +23 -0
- package/dist/Umbrella32px-DKZ4AEWh.js +25 -0
- package/dist/Umbrella32pxF-BuM67_J_.js +25 -0
- package/dist/UnionIcon16px-DUou2SKn.js +24 -0
- package/dist/UnionIcon24px-DYZy73hR.js +25 -0
- package/dist/UnionIcon32px-C8oevJyK.js +25 -0
- package/dist/Universal--Hli-Fyc.js +34 -0
- package/dist/UnloadingType-DZ4BqmZv.js +32 -0
- package/dist/Ural-DKvJyedl.js +23 -0
- package/dist/User16px-B850i1hY.js +33 -0
- package/dist/User16pxF-C5WUBFEF.js +22 -0
- package/dist/User24px-ySYZdsWl.js +34 -0
- package/dist/User24pxF-Cu5ubeXY.js +23 -0
- package/dist/User32px-B49WiqJ8.js +34 -0
- package/dist/User32pxF-DD9wxfsd.js +23 -0
- package/dist/Users16px-B8FKM1pN.js +33 -0
- package/dist/Users16pxF-DHpV4xF9.js +22 -0
- package/dist/Users24px-hfCew_Yp.js +25 -0
- package/dist/Users24pxF-Krb9uIO9.js +32 -0
- package/dist/Users32px-jGZqJWDj.js +25 -0
- package/dist/Users32pxF-DOS0mO4M.js +26 -0
- package/dist/VIS-CCPWCRNN.js +23 -0
- package/dist/VK16pxF-QT0bicYh.js +24 -0
- package/dist/VK24pxF-BPZRP4Jz.js +25 -0
- package/dist/VK32pxF-TVYTWPoL.js +25 -0
- package/dist/VKR-Byq5h89A.js +34 -0
- package/dist/Van-CPAg1VRa.js +25 -0
- package/dist/Volkswagen-nMYNUfXZ.js +25 -0
- package/dist/Volvo-B-hmKU3t.js +23 -0
- package/dist/Waiting16px-BM1YdA8q.js +24 -0
- package/dist/Waiting24px-BH6FG4XU.js +25 -0
- package/dist/Waiting32px-Blp1lCt3.js +25 -0
- package/dist/Weight-Cpq4eaB8.js +36 -0
- package/dist/Whatsapp16px-BP6hKOaP.js +33 -0
- package/dist/Whatsapp24px-Bojsg4-5.js +34 -0
- package/dist/Whatsapp32px-_CC3IlMm.js +34 -0
- package/dist/WheelDriveType-BG5kZmSC.js +32 -0
- package/dist/WheelSheme-BGx779XP.js +34 -0
- package/dist/Wielton-DYfwDIYZ.js +23 -0
- package/dist/WriteUs16px-NFud1QiL.js +27 -0
- package/dist/WriteUs24px-C6p0fbp2.js +28 -0
- package/dist/WriteUs32px-mCAj6d-T.js +28 -0
- package/dist/XCMG-BwcL8g8n.js +39 -0
- package/dist/Ycles-CeloY3Ev.js +44 -0
- package/dist/Youtube16pxF-DSqMksVi.js +22 -0
- package/dist/Youtube24pxF-1HIRYumU.js +23 -0
- package/dist/Youtube32pxF-DavJD7E5.js +23 -0
- package/dist/Yuan16px-Bphe1lty.js +25 -0
- package/dist/Yuan24px-t7tRgewo.js +26 -0
- package/dist/Yuan32px-DkbPyZ4p.js +26 -0
- package/dist/Yutong-0CbTrUPe.js +74 -0
- package/dist/Zoomlion-DCGC9msz.js +23 -0
- package/dist/assets/Accordion.css +1 -0
- package/dist/assets/AccordionItem.css +1 -0
- package/dist/assets/Button.css +1 -1
- package/dist/assets/TabTrail.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/bugs-CSBdWk0R.js +18 -0
- package/dist/components/Accordion/Accordion.d.ts +10 -0
- package/dist/components/Accordion/Accordion.js +1599 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +8 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +16 -0
- package/dist/components/Accordion/AccordionItem/index.d.ts +1 -0
- package/dist/components/Accordion/AccordionItem/index.js +4 -0
- package/dist/components/Accordion/constants.d.ts +4 -0
- package/dist/components/Accordion/constants.js +8 -0
- package/dist/components/Accordion/index.d.ts +3 -0
- package/dist/components/Accordion/index.js +8 -0
- package/dist/components/Button/Button.js +22 -23
- package/dist/components/Button/constants.d.ts +1 -2
- package/dist/components/Button/constants.js +0 -1
- package/dist/components/RadioGroup/RadioGroup.js +5 -2
- package/dist/components/SelectSearch/SelectSearch.js +105 -194
- package/dist/components/Switch/Switch.js +4 -2
- package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +8 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.js +28 -0
- package/dist/components/TabTrail/TabButtons/index.d.ts +1 -0
- package/dist/components/TabTrail/TabButtons/index.js +4 -0
- package/dist/components/TabTrail/TabTrail.d.ts +11 -0
- package/dist/components/TabTrail/TabTrail.js +281 -0
- package/dist/components/TabTrail/constants.d.ts +4 -0
- package/dist/components/TabTrail/constants.js +8 -0
- package/dist/components/TabTrail/index.d.ts +2 -0
- package/dist/components/TabTrail/index.js +6 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +10 -0
- package/dist/{focus-management-CFDo6ZSc.js → focus-management-1rQPII7Z.js} +12 -26
- package/dist/hidden-BuVoeHNy.js +13 -0
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/components/index.d.ts +0 -1
- package/dist/icons/components/index.js +559 -560
- package/dist/{index-Cxiikb7g.js → index-_ACzPKPw.js} +558 -561
- package/dist/index.js +10 -0
- package/dist/{label-BXAcSLy0.js → keyboard-B256ZoM-.js} +174 -342
- package/dist/label-C_5Syaoj.js +159 -0
- package/dist/open-closed-CbXq00et.js +93 -0
- package/dist/{use-active-press-9MCrfRZk.js → use-active-press-B6yeSopF.js} +1 -1
- package/dist/use-by-comparator-BUO78DGe.js +16 -0
- package/dist/use-resolve-button-type-B6LE6gU3.js +19 -0
- package/dist/utils/formating/Date.d.ts +1 -1
- package/dist/utils/index.d.ts +0 -2
- package/dist/utils/index.js +1 -3
- package/package.json +1 -1
- package/dist/assets/ListPhotos.css +0 -1
- package/dist/assets/Uploader.css +0 -1
- package/dist/assets/UploaderPhotos.css +0 -1
- package/dist/components/ListPhotos/ListPhotos.d.ts +0 -23
- package/dist/components/ListPhotos/ListPhotos.js +0 -33
- package/dist/components/ListPhotos/constants.d.ts +0 -3
- package/dist/components/ListPhotos/constants.js +0 -21
- package/dist/components/ListPhotos/index.d.ts +0 -2
- package/dist/components/ListPhotos/index.js +0 -4
- package/dist/components/Uploader/Uploader.d.ts +0 -30
- package/dist/components/Uploader/Uploader.js +0 -91
- package/dist/components/Uploader/constants.d.ts +0 -5
- package/dist/components/Uploader/constants.js +0 -16
- package/dist/components/Uploader/index.d.ts +0 -2
- package/dist/components/Uploader/index.js +0 -4
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +0 -29
- package/dist/components/UploaderPhotos/UploaderPhotos.js +0 -48
- package/dist/components/UploaderPhotos/index.d.ts +0 -2
- package/dist/components/UploaderPhotos/index.js +0 -4
- package/dist/icons/components/12px/Close12px.d.ts +0 -4
- package/dist/icons/components/12px/Close12px.js +0 -18
- package/dist/utils/UUID4.d.ts +0 -1
- package/dist/utils/UUID4.js +0 -9
@@ -0,0 +1,159 @@
|
|
1
|
+
import React__default, { createContext, useContext, useState, useRef, useEffect, useMemo, useId } from "react";
|
2
|
+
import { o as o$1, p as p$1, m, W, y, n, H } from "./keyboard-B256ZoM-.js";
|
3
|
+
import { createPortal } from "react-dom";
|
4
|
+
import { T as T$1, s } from "./hidden-BuVoeHNy.js";
|
5
|
+
let e$2 = createContext(void 0);
|
6
|
+
function a$1() {
|
7
|
+
return useContext(e$2);
|
8
|
+
}
|
9
|
+
function T(l2, r, c2) {
|
10
|
+
let [i, s2] = useState(c2), e2 = l2 !== void 0, t = useRef(e2), u2 = useRef(false), d = useRef(false);
|
11
|
+
return e2 && !t.current && !u2.current ? (u2.current = true, t.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 && t.current && !d.current && (d.current = true, t.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 : i, o$1((n2) => (e2 || s2(n2), r == null ? void 0 : r(n2)))];
|
12
|
+
}
|
13
|
+
function l(e2) {
|
14
|
+
let [t] = useState(e2);
|
15
|
+
return t;
|
16
|
+
}
|
17
|
+
function e$1(i = {}, s2 = null, t = []) {
|
18
|
+
for (let [r, n2] of Object.entries(i)) o(t, f$2(s2, r), n2);
|
19
|
+
return t;
|
20
|
+
}
|
21
|
+
function f$2(i, s2) {
|
22
|
+
return i ? i + "[" + s2 + "]" : s2;
|
23
|
+
}
|
24
|
+
function o(i, s2, t) {
|
25
|
+
if (Array.isArray(t)) for (let [r, n2] of t.entries()) o(i, f$2(s2, r.toString()), n2);
|
26
|
+
else t instanceof Date ? i.push([s2, t.toISOString()]) : typeof t == "boolean" ? i.push([s2, t ? "1" : "0"]) : typeof t == "string" ? i.push([s2, t]) : typeof t == "number" ? i.push([s2, `${t}`]) : t == null ? i.push([s2, ""]) : e$1(t, s2, i);
|
27
|
+
}
|
28
|
+
function p(i) {
|
29
|
+
var t, r;
|
30
|
+
let s2 = (t = i == null ? void 0 : i.form) != null ? t : i.closest("form");
|
31
|
+
if (s2) {
|
32
|
+
for (let n2 of s2.elements) if (n2 !== i && (n2.tagName === "INPUT" && n2.type === "submit" || n2.tagName === "BUTTON" && n2.type === "submit" || n2.nodeName === "INPUT" && n2.type === "image")) {
|
33
|
+
n2.click();
|
34
|
+
return;
|
35
|
+
}
|
36
|
+
(r = s2.requestSubmit) == null || r.call(s2);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
let f$1 = createContext(null);
|
40
|
+
function c$1({ children: t }) {
|
41
|
+
let e2 = useContext(f$1);
|
42
|
+
if (!e2) return React__default.createElement(React__default.Fragment, null, t);
|
43
|
+
let { target: r } = e2;
|
44
|
+
return r ? createPortal(React__default.createElement(React__default.Fragment, null, t), r) : null;
|
45
|
+
}
|
46
|
+
function j({ data: t, form: e2, disabled: r, onReset: n2, overrides: F }) {
|
47
|
+
let [i, a2] = useState(null), p2 = p$1();
|
48
|
+
return useEffect(() => {
|
49
|
+
if (n2 && i) return p2.addEventListener(i, "reset", n2);
|
50
|
+
}, [i, e2, n2]), React__default.createElement(c$1, null, React__default.createElement(C$1, { setForm: a2, formId: e2 }), e$1(t).map(([s$1, v]) => React__default.createElement(T$1, { features: s.Hidden, ...m({ key: s$1, as: "input", type: "hidden", hidden: true, readOnly: true, form: e2, disabled: r, name: s$1, value: v, ...F }) })));
|
51
|
+
}
|
52
|
+
function C$1({ setForm: t, formId: e2 }) {
|
53
|
+
return useEffect(() => {
|
54
|
+
if (e2) {
|
55
|
+
let r = document.getElementById(e2);
|
56
|
+
r && t(r);
|
57
|
+
}
|
58
|
+
}, [t, e2]), e2 ? null : React__default.createElement(T$1, { features: s.Hidden, as: "input", type: "hidden", hidden: true, readOnly: true, ref: (r) => {
|
59
|
+
if (!r) return;
|
60
|
+
let n2 = r.closest("form");
|
61
|
+
n2 && t(n2);
|
62
|
+
} });
|
63
|
+
}
|
64
|
+
let e = createContext(void 0);
|
65
|
+
function u() {
|
66
|
+
return useContext(e);
|
67
|
+
}
|
68
|
+
let a = createContext(null);
|
69
|
+
a.displayName = "DescriptionContext";
|
70
|
+
function f() {
|
71
|
+
let r = useContext(a);
|
72
|
+
if (r === null) {
|
73
|
+
let e2 = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
|
74
|
+
throw Error.captureStackTrace && Error.captureStackTrace(e2, f), e2;
|
75
|
+
}
|
76
|
+
return r;
|
77
|
+
}
|
78
|
+
function G$1() {
|
79
|
+
var r, e2;
|
80
|
+
return (e2 = (r = useContext(a)) == null ? void 0 : r.value) != null ? e2 : void 0;
|
81
|
+
}
|
82
|
+
function U$1() {
|
83
|
+
let [r, e2] = useState([]);
|
84
|
+
return [r.length > 0 ? r.join(" ") : void 0, useMemo(() => function(t) {
|
85
|
+
let i = o$1((n2) => (e2((s2) => [...s2, n2]), () => e2((s2) => {
|
86
|
+
let o2 = s2.slice(), p2 = o2.indexOf(n2);
|
87
|
+
return p2 !== -1 && o2.splice(p2, 1), o2;
|
88
|
+
}))), l2 = useMemo(() => ({ register: i, slot: t.slot, name: t.name, props: t.props, value: t.value }), [i, t.slot, t.name, t.props, t.value]);
|
89
|
+
return React__default.createElement(a.Provider, { value: l2 }, t.children);
|
90
|
+
}, [e2])];
|
91
|
+
}
|
92
|
+
let S = "p";
|
93
|
+
function C(r, e2) {
|
94
|
+
let d = useId(), t = a$1(), { id: i = `headlessui-description-${d}`, ...l2 } = r, n$1 = f(), s2 = y(e2);
|
95
|
+
n(() => n$1.register(i), [i, n$1.register]);
|
96
|
+
let o2 = t || false, p2 = useMemo(() => ({ ...n$1.slot, disabled: o2 }), [n$1.slot, o2]), D = { ref: s2, ...n$1.props, id: i };
|
97
|
+
return H({ ourProps: D, theirProps: l2, slot: p2, defaultTag: S, name: n$1.name || "Description" });
|
98
|
+
}
|
99
|
+
let _ = W(C), w = Object.assign(_, {});
|
100
|
+
let c = createContext(null);
|
101
|
+
c.displayName = "LabelContext";
|
102
|
+
function P() {
|
103
|
+
let r = useContext(c);
|
104
|
+
if (r === null) {
|
105
|
+
let l2 = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
|
106
|
+
throw Error.captureStackTrace && Error.captureStackTrace(l2, P), l2;
|
107
|
+
}
|
108
|
+
return r;
|
109
|
+
}
|
110
|
+
function I(r) {
|
111
|
+
var a2, e2, o2;
|
112
|
+
let l2 = (e2 = (a2 = useContext(c)) == null ? void 0 : a2.value) != null ? e2 : void 0;
|
113
|
+
return ((o2 = r == null ? void 0 : r.length) != null ? o2 : 0) > 0 ? [l2, ...r].filter(Boolean).join(" ") : l2;
|
114
|
+
}
|
115
|
+
function z({ inherit: r = false } = {}) {
|
116
|
+
let l2 = I(), [a2, e2] = useState([]), o2 = r ? [l2, ...a2].filter(Boolean) : a2;
|
117
|
+
return [o2.length > 0 ? o2.join(" ") : void 0, useMemo(() => function(t) {
|
118
|
+
let s2 = o$1((i) => (e2((p2) => [...p2, i]), () => e2((p2) => {
|
119
|
+
let u2 = p2.slice(), d = u2.indexOf(i);
|
120
|
+
return d !== -1 && u2.splice(d, 1), u2;
|
121
|
+
}))), m2 = useMemo(() => ({ register: s2, slot: t.slot, name: t.name, props: t.props, value: t.value }), [s2, t.slot, t.name, t.props, t.value]);
|
122
|
+
return React__default.createElement(c.Provider, { value: m2 }, t.children);
|
123
|
+
}, [e2])];
|
124
|
+
}
|
125
|
+
let N = "label";
|
126
|
+
function G(r, l2) {
|
127
|
+
var y$1;
|
128
|
+
let a2 = useId(), e2 = P(), o2 = u(), g = a$1(), { id: t = `headlessui-label-${a2}`, htmlFor: s2 = o2 != null ? o2 : (y$1 = e2.props) == null ? void 0 : y$1.htmlFor, passive: m2 = false, ...i } = r, p2 = y(l2);
|
129
|
+
n(() => e2.register(t), [t, e2.register]);
|
130
|
+
let u$1 = o$1((L) => {
|
131
|
+
let b = L.currentTarget;
|
132
|
+
if (b instanceof HTMLLabelElement && L.preventDefault(), e2.props && "onClick" in e2.props && typeof e2.props.onClick == "function" && e2.props.onClick(L), b instanceof HTMLLabelElement) {
|
133
|
+
let n2 = document.getElementById(b.htmlFor);
|
134
|
+
if (n2) {
|
135
|
+
let E = n2.getAttribute("disabled");
|
136
|
+
if (E === "true" || E === "") return;
|
137
|
+
let x = n2.getAttribute("aria-disabled");
|
138
|
+
if (x === "true" || x === "") return;
|
139
|
+
(n2 instanceof HTMLInputElement && (n2.type === "radio" || n2.type === "checkbox") || n2.role === "radio" || n2.role === "checkbox" || n2.role === "switch") && n2.click(), n2.focus({ preventScroll: true });
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}), d = g || false, C2 = useMemo(() => ({ ...e2.slot, disabled: d }), [e2.slot, d]), f2 = { ref: p2, ...e2.props, id: t, htmlFor: s2, onClick: u$1 };
|
143
|
+
return m2 && ("onClick" in f2 && (delete f2.htmlFor, delete f2.onClick), "onClick" in i && delete i.onClick), H({ ourProps: f2, theirProps: i, slot: C2, defaultTag: s2 ? N : "div", name: e2.name || "Label" });
|
144
|
+
}
|
145
|
+
let U = W(G), K = Object.assign(U, {});
|
146
|
+
export {
|
147
|
+
G$1 as G,
|
148
|
+
I,
|
149
|
+
K,
|
150
|
+
T,
|
151
|
+
U$1 as U,
|
152
|
+
a$1 as a,
|
153
|
+
j,
|
154
|
+
l,
|
155
|
+
p,
|
156
|
+
u,
|
157
|
+
w,
|
158
|
+
z
|
159
|
+
};
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import React__default, { useState, useCallback, useRef, createContext, useContext } from "react";
|
2
|
+
import { p, n as n$1, d as o } from "./keyboard-B256ZoM-.js";
|
3
|
+
function l(r) {
|
4
|
+
let e = { called: false };
|
5
|
+
return (...t) => {
|
6
|
+
if (!e.called) return e.called = true, r(...t);
|
7
|
+
};
|
8
|
+
}
|
9
|
+
function c$1(u2 = 0) {
|
10
|
+
let [t, l2] = useState(u2), g = useCallback((e) => l2(e), [t]), s2 = useCallback((e) => l2((a) => a | e), [t]), m = useCallback((e) => (t & e) === e, [t]), n2 = useCallback((e) => l2((a) => a & ~e), [l2]), F2 = useCallback((e) => l2((a) => a ^ e), [l2]);
|
11
|
+
return { flags: t, setFlag: g, addFlag: s2, hasFlag: m, removeFlag: n2, toggleFlag: F2 };
|
12
|
+
}
|
13
|
+
var D = ((i2) => (i2[i2.None = 0] = "None", i2[i2.Closed = 1] = "Closed", i2[i2.Enter = 2] = "Enter", i2[i2.Leave = 4] = "Leave", i2))(D || {});
|
14
|
+
function A(e) {
|
15
|
+
let a = {};
|
16
|
+
for (let t in e) e[t] === true && (a[`data-${t}`] = "");
|
17
|
+
return a;
|
18
|
+
}
|
19
|
+
function V(e, a, t, r) {
|
20
|
+
let [i2, u2] = useState(t), { hasFlag: d, addFlag: f, removeFlag: s2 } = c$1(e && i2 ? 3 : 0), l2 = useRef(false), n2 = useRef(false), o2 = p();
|
21
|
+
return n$1(function p2() {
|
22
|
+
var T;
|
23
|
+
if (!e) return;
|
24
|
+
t && u2(true);
|
25
|
+
let c2 = a.current;
|
26
|
+
return c2 ? ((T = void 0) == null || T.call(r, t), M(c2, { inFlight: l2, prepare() {
|
27
|
+
n2.current ? n2.current = false : n2.current = l2.current, l2.current = true, !n2.current && (t ? (f(3), s2(4)) : (f(4), s2(2)));
|
28
|
+
}, run() {
|
29
|
+
n2.current ? t ? (s2(3), f(4)) : (s2(4), f(3)) : t ? s2(1) : f(1);
|
30
|
+
}, done() {
|
31
|
+
var m;
|
32
|
+
n2.current && typeof c2.getAnimations == "function" && c2.getAnimations().length > 0 || (l2.current = false, s2(7), t || u2(false), (m = void 0) == null || m.call(r, t));
|
33
|
+
} })) : t ? (f(3), o2.nextFrame(() => p2())) : void 0;
|
34
|
+
}, [e, t, a, o2]), e ? [i2, { closed: d(1), enter: d(2), leave: d(4), transition: d(2) || d(4) }] : [t, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
|
35
|
+
}
|
36
|
+
function M(e, { prepare: a, run: t, done: r, inFlight: i2 }) {
|
37
|
+
let u2 = o();
|
38
|
+
return R(e, { prepare: a, inFlight: i2 }), u2.nextFrame(() => {
|
39
|
+
u2.add(F(e, r)), t();
|
40
|
+
}), u2.dispose;
|
41
|
+
}
|
42
|
+
function F(e, a) {
|
43
|
+
let t = l(a), r = o();
|
44
|
+
if (!e) return r.dispose;
|
45
|
+
let { transitionDuration: i2, transitionDelay: u2 } = getComputedStyle(e), [d, f] = [i2, u2].map((l2) => {
|
46
|
+
let [n2 = 0] = l2.split(",").filter(Boolean).map((o2) => o2.includes("ms") ? parseFloat(o2) : parseFloat(o2) * 1e3).sort((o2, p2) => p2 - o2);
|
47
|
+
return n2;
|
48
|
+
}), s2 = d + f;
|
49
|
+
if (s2 !== 0) {
|
50
|
+
let l2 = r.group((n2) => {
|
51
|
+
let o2 = n2.setTimeout(() => {
|
52
|
+
t(), n2.dispose();
|
53
|
+
}, s2);
|
54
|
+
n2.addEventListener(e, "transitionrun", (p2) => {
|
55
|
+
p2.target === p2.currentTarget && (o2(), n2.addEventListener(e, "transitioncancel", (c2) => {
|
56
|
+
c2.target === c2.currentTarget && (t(), l2());
|
57
|
+
}));
|
58
|
+
});
|
59
|
+
});
|
60
|
+
r.addEventListener(e, "transitionend", (n2) => {
|
61
|
+
n2.target === n2.currentTarget && (t(), r.dispose());
|
62
|
+
});
|
63
|
+
} else t();
|
64
|
+
return r.dispose;
|
65
|
+
}
|
66
|
+
function R(e, { inFlight: a, prepare: t }) {
|
67
|
+
if (a != null && a.current) {
|
68
|
+
t();
|
69
|
+
return;
|
70
|
+
}
|
71
|
+
let r = e.style.transition;
|
72
|
+
e.style.transition = "none", t(), e.offsetHeight, e.style.transition = r;
|
73
|
+
}
|
74
|
+
let n = createContext(null);
|
75
|
+
n.displayName = "OpenClosedContext";
|
76
|
+
var i = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(i || {});
|
77
|
+
function u() {
|
78
|
+
return useContext(n);
|
79
|
+
}
|
80
|
+
function c({ value: o2, children: t }) {
|
81
|
+
return React__default.createElement(n.Provider, { value: o2 }, t);
|
82
|
+
}
|
83
|
+
function s({ children: o2 }) {
|
84
|
+
return React__default.createElement(n.Provider, { value: null }, o2);
|
85
|
+
}
|
86
|
+
export {
|
87
|
+
A,
|
88
|
+
V,
|
89
|
+
c,
|
90
|
+
i,
|
91
|
+
s,
|
92
|
+
u
|
93
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useRef, useState } from "react";
|
2
|
-
import { p, o, u } from "./
|
2
|
+
import { p, o, u } from "./keyboard-B256ZoM-.js";
|
3
3
|
function E(e) {
|
4
4
|
let t = e.width / 2, n = e.height / 2;
|
5
5
|
return { top: e.clientY - n, right: e.clientX + t, bottom: e.clientY + n, left: e.clientX - t };
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { useCallback } from "react";
|
2
|
+
function l(e, r) {
|
3
|
+
return e !== null && r !== null && typeof e == "object" && typeof r == "object" && "id" in e && "id" in r ? e.id === r.id : e === r;
|
4
|
+
}
|
5
|
+
function u(e = l) {
|
6
|
+
return useCallback((r, t) => {
|
7
|
+
if (typeof e == "string") {
|
8
|
+
let o = e;
|
9
|
+
return (r == null ? void 0 : r[o]) === (t == null ? void 0 : t[o]);
|
10
|
+
}
|
11
|
+
return e(r, t);
|
12
|
+
}, [e]);
|
13
|
+
}
|
14
|
+
export {
|
15
|
+
u
|
16
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { useState } from "react";
|
2
|
+
import { n } from "./keyboard-B256ZoM-.js";
|
3
|
+
function i(t) {
|
4
|
+
var n2;
|
5
|
+
if (t.type) return t.type;
|
6
|
+
let e = (n2 = t.as) != null ? n2 : "button";
|
7
|
+
if (typeof e == "string" && e.toLowerCase() === "button") return "button";
|
8
|
+
}
|
9
|
+
function T(t, e) {
|
10
|
+
let [n$1, u] = useState(() => i(t));
|
11
|
+
return n(() => {
|
12
|
+
u(i(t));
|
13
|
+
}, [t.type, t.as]), n(() => {
|
14
|
+
n$1 || e.current && e.current instanceof HTMLButtonElement && !e.current.hasAttribute("type") && u("button");
|
15
|
+
}, [n$1, e]), n$1;
|
16
|
+
}
|
17
|
+
export {
|
18
|
+
T
|
19
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
export default function _Date(x: Date
|
1
|
+
export default function _Date(x: Date, y: string | Date): string;
|
package/dist/utils/index.d.ts
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
import { default as Date } from './formating/Date';
|
2
2
|
import { default as Month } from './formating/Month';
|
3
3
|
import { default as Number } from './formating/Numbers';
|
4
|
-
import { default as UUIDv4 } from './UUID4';
|
5
4
|
|
6
5
|
export declare const formating: {
|
7
6
|
Number: typeof Number;
|
8
7
|
Month: typeof Month;
|
9
8
|
Date: typeof Date;
|
10
|
-
UUIDv4: typeof UUIDv4;
|
11
9
|
};
|
package/dist/utils/index.js
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
import _Date from "./formating/Date.js";
|
2
2
|
import Month from "./formating/Month.js";
|
3
3
|
import Numbers from "./formating/Numbers.js";
|
4
|
-
import UUIDv4 from "./UUID4.js";
|
5
4
|
const formating = {
|
6
5
|
Number: Numbers,
|
7
6
|
Month,
|
8
|
-
Date: _Date
|
9
|
-
UUIDv4
|
7
|
+
Date: _Date
|
10
8
|
};
|
11
9
|
export {
|
12
10
|
formating
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
._list-photos_1lzkm_2{display:flex;gap:16px}._list-photos_1lzkm_2 li{position:relative;width:64px;height:64px;overflow:hidden;border-radius:var(--control-radius);box-shadow:0 0 #16172705,0 2px 4px #16172705,0 6px 6px #16172705,0 15px 9px #16172703}._list-photos_1lzkm_2 img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}._list-photos_1lzkm_2 button{position:absolute;right:4px;top:4px}
|
package/dist/assets/Uploader.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
._upload-file__wrapper_7tnzg_2{position:relative;width:100%}._upload-file__wrapper_7tnzg_2 label{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}._upload-file__wrapper_7tnzg_2 label button{z-index:1}._upload-file__wrapper_7tnzg_2 label b{color:var(--black-100);text-align:center;font-family:var(--font-inter);font-size:var(--size-text-l2);font-style:normal;font-weight:var(--font-weight-text-regular);line-height:130%}._upload-file__wrapper_7tnzg_2 label ._upload-text_7tnzg_25{color:var(--disabled-color);text-align:center;font-family:var(--font-inter);font-size:var(--size-text-m);font-style:normal;font-weight:var(--font-weight-text-regular);line-height:var(--line-height-text-xxs)}._upload-file-input_7tnzg_36{opacity:0;position:absolute;top:0;width:100%;left:0;overflow:hidden;height:100%}
|
@@ -1 +0,0 @@
|
|
1
|
-
._upload-file__wrapper_1ltfh_2{display:flex;flex-direction:column;gap:16px}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export type TListPhotos = {
|
2
|
-
/**
|
3
|
-
* Массив фото
|
4
|
-
*/
|
5
|
-
value: TPhotosDetail[];
|
6
|
-
/**
|
7
|
-
* функция -callback, которая вызывается при изменении списка и передает обновленный список и deleteId,
|
8
|
-
*/
|
9
|
-
onChange?: (e: TPhotoValue) => void;
|
10
|
-
};
|
11
|
-
export type TPhotoItem = {
|
12
|
-
id: number;
|
13
|
-
url: string;
|
14
|
-
};
|
15
|
-
export type TPhotoValue = {
|
16
|
-
deleteId?: number;
|
17
|
-
list: TPhotoItem[];
|
18
|
-
};
|
19
|
-
export type TPhotosDetail = {
|
20
|
-
id: number;
|
21
|
-
url: string;
|
22
|
-
};
|
23
|
-
export declare function ListPhotos({ value, onChange }: TListPhotos): import("react/jsx-runtime").JSX.Element;
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { useState, useEffect } from "react";
|
3
|
-
import { Button } from "../Button/Button.js";
|
4
|
-
import '../../assets/ListPhotos.css';const cls = {
|
5
|
-
"list-photos": "_list-photos_1lzkm_2"
|
6
|
-
};
|
7
|
-
function ListPhotos({ value, onChange }) {
|
8
|
-
const [list, setList] = useState(value);
|
9
|
-
useEffect(() => {
|
10
|
-
setList(value);
|
11
|
-
}, [value]);
|
12
|
-
const onDelete = async (id) => {
|
13
|
-
const newList = [...list.filter((el) => el.id !== id)];
|
14
|
-
setList(newList);
|
15
|
-
onChange == null ? void 0 : onChange({ deleteId: id, list: newList });
|
16
|
-
};
|
17
|
-
return /* @__PURE__ */ jsx("ul", { className: cls["list-photos"], children: list.map((el) => /* @__PURE__ */ jsxs("li", { children: [
|
18
|
-
/* @__PURE__ */ jsx("img", { src: el.url, alt: "" }),
|
19
|
-
onChange && /* @__PURE__ */ jsx(
|
20
|
-
Button,
|
21
|
-
{
|
22
|
-
isIconButton: true,
|
23
|
-
iconName: "Close12px",
|
24
|
-
size: "m-s",
|
25
|
-
variant: "secondary-gray",
|
26
|
-
onClick: () => onDelete(el.id)
|
27
|
-
}
|
28
|
-
)
|
29
|
-
] }, el.id)) });
|
30
|
-
}
|
31
|
-
export {
|
32
|
-
ListPhotos
|
33
|
-
};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
const photos = [
|
2
|
-
{
|
3
|
-
id: 111,
|
4
|
-
url: "https://i.pinimg.com/736x/5a/e6/12/5ae612a7ecf50870c8f41961fefc332f.jpg"
|
5
|
-
},
|
6
|
-
{
|
7
|
-
id: 112,
|
8
|
-
url: "https://i1.sndcdn.com/artworks-rQAPPfrs44UvRwIz-WJkvyQ-t500x500.jpg"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
id: 113,
|
12
|
-
url: "https://i1.sndcdn.com/avatars-000095020320-0pmjnu-t500x500.jpg"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
id: 114,
|
16
|
-
url: "https://i1.sndcdn.com/avatars-000151937348-27m28p-t500x500.jpg"
|
17
|
-
}
|
18
|
-
];
|
19
|
-
export {
|
20
|
-
photos
|
21
|
-
};
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { imageTypesArr } from './constants';
|
2
|
-
|
3
|
-
export type TUploader = {
|
4
|
-
/**
|
5
|
-
* Массив разрешенных типов файлов для настройки валидации
|
6
|
-
* 'jpeg' | 'png' | 'tiff'|'gif'|'doc'|'xls'|'pdf'|'docx' |'txt' | 'xlsx'
|
7
|
-
*/
|
8
|
-
filesType: imageTypesArr[];
|
9
|
-
/**
|
10
|
-
* Наименование передаваемого массива файлов
|
11
|
-
*/
|
12
|
-
name: string;
|
13
|
-
/**
|
14
|
-
* Функция - callback, которая вызывается при изменении значения и передает имя и новое значение
|
15
|
-
*/
|
16
|
-
onChangeValue: (e: TUploadValue) => void;
|
17
|
-
/**
|
18
|
-
* Максимальный размер файлов.
|
19
|
-
*/
|
20
|
-
maxSize: number;
|
21
|
-
};
|
22
|
-
export type TUploadValue = {
|
23
|
-
value: TFileItem[];
|
24
|
-
name?: string;
|
25
|
-
};
|
26
|
-
export type TFileItem = {
|
27
|
-
id: number;
|
28
|
-
file: File;
|
29
|
-
};
|
30
|
-
export declare function Uploader({ filesType, onChangeValue, name, maxSize }: TUploader): import("react/jsx-runtime").JSX.Element;
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
2
|
-
import { useId, useRef } from "react";
|
3
|
-
import { Icon } from "../../icons/Icon.js";
|
4
|
-
import { Button } from "../Button/Button.js";
|
5
|
-
import '../../assets/Uploader.css';const cls = {
|
6
|
-
"upload-file__wrapper": "_upload-file__wrapper_7tnzg_2",
|
7
|
-
"upload-text": "_upload-text_7tnzg_25",
|
8
|
-
"upload-file-input": "_upload-file-input_7tnzg_36"
|
9
|
-
};
|
10
|
-
const MIME = {
|
11
|
-
jpeg: "image/jpeg",
|
12
|
-
png: "image/png",
|
13
|
-
tiff: "image/tiff",
|
14
|
-
gif: "image/gif",
|
15
|
-
webp: "image/webp",
|
16
|
-
doc: "application/msword",
|
17
|
-
docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
18
|
-
pdf: "application/pdf",
|
19
|
-
xls: "application/excel",
|
20
|
-
txt: "text/plain",
|
21
|
-
xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
22
|
-
};
|
23
|
-
const filesTyps = ["jpeg", "png", "tiff", "gif"];
|
24
|
-
const generateId = (min, max) => {
|
25
|
-
return Math.random() * (max - min) + min;
|
26
|
-
};
|
27
|
-
function Uploader({
|
28
|
-
filesType = filesTyps,
|
29
|
-
onChangeValue,
|
30
|
-
name,
|
31
|
-
maxSize = 15
|
32
|
-
}) {
|
33
|
-
const idImg = useId();
|
34
|
-
const ref = useRef(null);
|
35
|
-
const onChange = (e) => {
|
36
|
-
if (e.target.files && e.target.files[0]) {
|
37
|
-
const list = [];
|
38
|
-
Array.from(e.target.files).forEach((el) => {
|
39
|
-
console.log(el.type);
|
40
|
-
if (filesType.map((name2) => MIME[name2]).includes(el.type) && el.size / 1024 ** 2 <= maxSize) {
|
41
|
-
list.push({ file: el, id: generateId(1, 100) });
|
42
|
-
}
|
43
|
-
});
|
44
|
-
onChangeValue({ name, value: list });
|
45
|
-
}
|
46
|
-
};
|
47
|
-
const onOpen = () => {
|
48
|
-
var _a;
|
49
|
-
(_a = ref.current) == null ? void 0 : _a.click();
|
50
|
-
};
|
51
|
-
return /* @__PURE__ */ jsxs("div", { className: cls["upload-file__wrapper"], children: [
|
52
|
-
/* @__PURE__ */ jsx(
|
53
|
-
"input",
|
54
|
-
{
|
55
|
-
type: "file",
|
56
|
-
className: cls["upload-file-input"],
|
57
|
-
"aria-label": "Upload",
|
58
|
-
name: "image[]",
|
59
|
-
multiple: true,
|
60
|
-
onChange,
|
61
|
-
title: "",
|
62
|
-
id: idImg,
|
63
|
-
accept: filesType.map((i) => MIME[i]).join()
|
64
|
-
}
|
65
|
-
),
|
66
|
-
/* @__PURE__ */ jsxs("label", { htmlFor: idImg, ref, children: [
|
67
|
-
/* @__PURE__ */ jsx(
|
68
|
-
Button,
|
69
|
-
{
|
70
|
-
size: "m",
|
71
|
-
variant: "secondary-asphalt",
|
72
|
-
leftIcon: /* @__PURE__ */ jsx(Icon, { iconName: "UnionIcon16px" }),
|
73
|
-
onClick: onOpen,
|
74
|
-
children: "Выберите файлы"
|
75
|
-
}
|
76
|
-
),
|
77
|
-
/* @__PURE__ */ jsx("b", { children: "Или перетащие сюда" }),
|
78
|
-
/* @__PURE__ */ jsxs("span", { className: cls["upload-text"], children: [
|
79
|
-
"Максимальный размер одного файла – ",
|
80
|
-
maxSize,
|
81
|
-
" Мб",
|
82
|
-
/* @__PURE__ */ jsx("br", {}),
|
83
|
-
"Загрузить можно файлы следующих форматов: ",
|
84
|
-
filesType.join(", ")
|
85
|
-
] })
|
86
|
-
] })
|
87
|
-
] });
|
88
|
-
}
|
89
|
-
export {
|
90
|
-
Uploader
|
91
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
const imageFileTypes = ["jpeg", "png", "tiff", "gif"];
|
2
|
-
const docsFileTypes = [
|
3
|
-
"doc",
|
4
|
-
"xls",
|
5
|
-
"pdf",
|
6
|
-
"docx",
|
7
|
-
"txt",
|
8
|
-
"xlsx"
|
9
|
-
];
|
10
|
-
const TypeFilesArray = {
|
11
|
-
images: imageFileTypes,
|
12
|
-
docs: docsFileTypes
|
13
|
-
};
|
14
|
-
export {
|
15
|
-
TypeFilesArray
|
16
|
-
};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { imageTypesArr } from '../Uploader/constants';
|
2
|
-
import { TFileItem } from '../Uploader/Uploader';
|
3
|
-
|
4
|
-
export type TUploaderPhotos = {
|
5
|
-
/**
|
6
|
-
* Массив разрешенных типов файлов для настройки валидации
|
7
|
-
* 'jpeg' | 'png' | 'tiff' | 'gif' | 'doc' | 'xls' | 'pdf' |'docx' | 'txt'
|
8
|
-
*/
|
9
|
-
filesType: imageTypesArr[];
|
10
|
-
/**
|
11
|
-
* Наименование передаваемого массива файлов
|
12
|
-
*/
|
13
|
-
name: string;
|
14
|
-
/**
|
15
|
-
* Максимальный размер файлов.
|
16
|
-
*/
|
17
|
-
maxSize: number;
|
18
|
-
/**
|
19
|
-
* Функция обратного вызова, передает параметры type и data,
|
20
|
-
* type 'add' в data передает массив файлов,
|
21
|
-
* type:'delete' в data передает id удаленного файла
|
22
|
-
*/
|
23
|
-
onChange: (j: TOnChangePhotosUpdate) => void;
|
24
|
-
};
|
25
|
-
export type TOnChangePhotosUpdate = {
|
26
|
-
type: string;
|
27
|
-
data: TFileItem[] | number;
|
28
|
-
};
|
29
|
-
export declare function UploaderPhotos({ filesType, name, maxSize, onChange }: TUploaderPhotos): import("react/jsx-runtime").JSX.Element;
|