@esri/calcite-components 5.2.0-next.6 → 5.2.0-next.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/24ZPXFO2.js +2 -0
- package/dist/cdn/27YYIR6K.js +2 -0
- package/dist/cdn/{Z2RDFJ3O.js → 2NSIONWX.js} +1 -1
- package/dist/cdn/2SJO4J4R.js +2 -0
- package/dist/cdn/2U2XBJIC.js +2 -0
- package/dist/cdn/2VBSACV4.js +2 -0
- package/dist/cdn/{O63QYVPR.js → 2YYWQI2Y.js} +1 -1
- package/dist/cdn/33KJ6H63.js +2 -0
- package/dist/cdn/3E3DV27N.js +2 -0
- package/dist/cdn/3TT3H2DC.js +2 -0
- package/dist/cdn/3UCPKBOX.js +2 -0
- package/dist/cdn/4C447RNV.js +2 -0
- package/dist/cdn/4NUOXSES.js +2 -0
- package/dist/cdn/4WLQL2LO.js +2 -0
- package/dist/cdn/{WHJTD6F6.js → 4YUPF7VJ.js} +1 -1
- package/dist/cdn/4ZDF4MFU.js +2 -0
- package/dist/cdn/53INILYA.js +2 -0
- package/dist/cdn/5CCFPHCM.js +2 -0
- package/dist/cdn/5DJ4CKCP.js +2 -0
- package/dist/cdn/5EBGPCB7.js +2 -0
- package/dist/cdn/5EKKRMII.js +2 -0
- package/dist/cdn/5IBOQL24.js +2 -0
- package/dist/cdn/{ISVN563X.js → 5LIOB2S4.js} +1 -1
- package/dist/cdn/5MZZT4DZ.js +2 -0
- package/dist/cdn/{I5C2XC5I.js → 5QN2KNKV.js} +1 -1
- package/dist/cdn/5YOLNOLR.js +20 -0
- package/dist/cdn/64NNQEF2.js +2 -0
- package/dist/cdn/66ADBSUG.js +2 -0
- package/dist/cdn/6AQ32RJ3.js +2 -0
- package/dist/cdn/{L22NWLBO.js → 6EOVZI35.js} +1 -1
- package/dist/cdn/6KO6JWW2.js +2 -0
- package/dist/cdn/6QNZVMFV.js +2 -0
- package/dist/cdn/77M5NVCW.js +2 -0
- package/dist/cdn/7HN4KIKL.js +2 -0
- package/dist/cdn/7KJG6MJI.js +2 -0
- package/dist/cdn/7MVP6BMF.js +2 -0
- package/dist/cdn/7UFUIIT6.js +2 -0
- package/dist/cdn/{RWYSLJFS.js → 7WVLHDC2.js} +1 -1
- package/dist/cdn/AATDRNFN.js +2 -0
- package/dist/cdn/ABR4JGS6.js +2 -0
- package/dist/cdn/AFS3DWSI.js +2 -0
- package/dist/cdn/{KCNDBMLL.js → AG6XSUKY.js} +1 -1
- package/dist/cdn/{3VB4KSXM.js → AIYOA3MR.js} +1 -1
- package/dist/cdn/AJPDEGBC.js +2 -0
- package/dist/cdn/{AGH5I4NC.js → ALDVHLBK.js} +1 -1
- package/dist/cdn/ALQ5XT3O.js +2 -0
- package/dist/cdn/ALVYV6PP.js +2 -0
- package/dist/cdn/B26JHK23.js +2 -0
- package/dist/cdn/B5TGMHUH.js +2 -0
- package/dist/cdn/BI3ASVTE.js +2 -0
- package/dist/cdn/BKP63YJN.js +2 -0
- package/dist/cdn/BUQPQMAC.js +2 -0
- package/dist/cdn/C4WP5EBM.js +2 -0
- package/dist/cdn/CGJTG6ZG.js +2 -0
- package/dist/cdn/CHQV7JKN.js +2 -0
- package/dist/cdn/CIAZ5MQ4.js +2 -0
- package/dist/cdn/{2VQ4SQ6E.js → CRC4CPN5.js} +1 -1
- package/dist/cdn/CUOIHHYD.js +2 -0
- package/dist/cdn/CZERUG3F.js +2 -0
- package/dist/cdn/D2GBWTQP.js +2 -0
- package/dist/cdn/DA6G2CDE.js +2 -0
- package/dist/cdn/DITVB6NQ.js +2 -0
- package/dist/cdn/DKJI4BME.js +2 -0
- package/dist/cdn/DOZ6UYHV.js +2 -0
- package/dist/cdn/EFDZTHWE.js +2 -0
- package/dist/cdn/EFKVMB36.js +2 -0
- package/dist/cdn/{UGLRJ7LC.js → EGN72V2N.js} +1 -1
- package/dist/cdn/EHBE2PQL.js +2 -0
- package/dist/cdn/ELAIOFJ4.js +2 -0
- package/dist/cdn/EN3XGH2E.js +2 -0
- package/dist/cdn/ESIXAQ6K.js +2 -0
- package/dist/cdn/EWR2MENT.js +2 -0
- package/dist/cdn/F4JFQNV4.js +2 -0
- package/dist/cdn/FAJNCOGR.js +2 -0
- package/dist/cdn/FCCATXLE.js +2 -0
- package/dist/cdn/FLR4OLXP.js +2 -0
- package/dist/cdn/FMYJMVVP.js +2 -0
- package/dist/cdn/FNOHX6N6.js +2 -0
- package/dist/cdn/FXP452T5.js +2 -0
- package/dist/cdn/GH3XYO4N.js +2 -0
- package/dist/cdn/GHPHJNIN.js +2 -0
- package/dist/cdn/GTG5FVGV.js +2 -0
- package/dist/cdn/GV6LQKJ5.js +2 -0
- package/dist/cdn/HLGIMOHX.js +2 -0
- package/dist/cdn/HO3UIAL3.js +2 -0
- package/dist/cdn/HO6YAKCY.js +2 -0
- package/dist/cdn/HPQJQTFE.js +2 -0
- package/dist/cdn/{Y4OMJTVI.js → HYOIRP7M.js} +1 -1
- package/dist/cdn/I4YGWXF2.js +2 -0
- package/dist/cdn/IB7RH5LA.js +3 -0
- package/dist/cdn/ICUHGEJW.js +2 -0
- package/dist/cdn/IH2WXA3Y.js +2 -0
- package/dist/cdn/{QBOTNUZA.js → IMQEYTGU.js} +1 -1
- package/dist/cdn/IP7QMIWU.js +2 -0
- package/dist/cdn/IX37IWMS.js +2 -0
- package/dist/cdn/J2FC22XU.js +2 -0
- package/dist/cdn/J73DFDLL.js +2 -0
- package/dist/cdn/JCWUWI72.js +2 -0
- package/dist/cdn/JL43QOWW.js +2 -0
- package/dist/cdn/JMIOXL7Y.js +4 -0
- package/dist/cdn/K2DHAH4W.js +4 -0
- package/dist/cdn/KDUZXP3Z.js +2 -0
- package/dist/cdn/KOYROB43.js +2 -0
- package/dist/cdn/KQHTBOH6.js +2 -0
- package/dist/cdn/KSS4RZVA.js +2 -0
- package/dist/cdn/{AJYPMLTJ.js → KTM52SSP.js} +1 -1
- package/dist/cdn/LDTPXOII.js +2 -0
- package/dist/cdn/LEPQLXSU.js +2 -0
- package/dist/cdn/LGBS32ZJ.js +2 -0
- package/dist/cdn/LOZWZZQK.js +2 -0
- package/dist/cdn/LYALT4FI.js +2 -0
- package/dist/cdn/MEMTVARL.js +2 -0
- package/dist/cdn/MNSSTQOY.js +2 -0
- package/dist/cdn/MYI5MOSW.js +2 -0
- package/dist/cdn/N4EEZNJB.js +2 -0
- package/dist/cdn/NA5AHVFK.js +2 -0
- package/dist/cdn/NESAJ2N6.js +2 -0
- package/dist/cdn/NV5VLQFE.js +2 -0
- package/dist/cdn/{RZKOBNPA.js → O5OILABT.js} +1 -1
- package/dist/cdn/{EOLQCEAO.js → O5ZJVG2F.js} +1 -1
- package/dist/cdn/{CKF3HEXO.js → OFEUEEYE.js} +1 -1
- package/dist/cdn/OJ7UTMWU.js +2 -0
- package/dist/cdn/{LZMQVYXJ.js → OJFFKFJF.js} +1 -1
- package/dist/cdn/{OFWHQQ3T.js → OT5LBRCH.js} +1 -1
- package/dist/cdn/OTM7ANGQ.js +2 -0
- package/dist/cdn/OUIYTADW.js +2 -0
- package/dist/cdn/OWIYNEHP.js +2 -0
- package/dist/cdn/P7PBBZW7.js +2 -0
- package/dist/cdn/PG5PWIFP.js +2 -0
- package/dist/cdn/PM5LDKID.js +2 -0
- package/dist/cdn/PQQVM3PT.js +2 -0
- package/dist/cdn/QD5SMDGZ.js +2 -0
- package/dist/cdn/QFLQKRZ2.js +2 -0
- package/dist/cdn/QIOOGKIN.js +2 -0
- package/dist/cdn/{STVS4SFC.js → QKGNKKTP.js} +1 -1
- package/dist/cdn/{NKMMLWMY.js → QZXWHGHC.js} +1 -1
- package/dist/cdn/RKSNZJJU.js +2 -0
- package/dist/cdn/RLI632QM.js +2 -0
- package/dist/cdn/RXVZ6VQI.js +2 -0
- package/dist/cdn/RZUVUNAU.js +2 -0
- package/dist/cdn/{6SWGOABM.js → SGXPONZ6.js} +1 -1
- package/dist/cdn/SKZERRA6.js +2 -0
- package/dist/cdn/SM7FKOEU.js +2 -0
- package/dist/cdn/SZUPQ4CX.js +2 -0
- package/dist/cdn/THCHSKGW.js +2 -0
- package/dist/cdn/THIECYN6.js +2 -0
- package/dist/cdn/TICD2ESR.js +2 -0
- package/dist/cdn/TLCM37BI.js +2 -0
- package/dist/cdn/TR6543D6.js +2 -0
- package/dist/cdn/TUJJWPEI.js +2 -0
- package/dist/cdn/U3Y3V2ZH.js +2 -0
- package/dist/cdn/UCUAII7C.js +2 -0
- package/dist/cdn/UKNZDAOR.js +2 -0
- package/dist/cdn/VEHFV22W.js +2 -0
- package/dist/cdn/VHOHBCO5.js +2 -0
- package/dist/cdn/{YHD7HKDX.js → VOCKM3G2.js} +1 -1
- package/dist/cdn/VQIMFWM5.js +2 -0
- package/dist/cdn/{3KPPK6JG.js → VTXBR2D6.js} +1 -1
- package/dist/cdn/VUYX7MNO.js +2 -0
- package/dist/cdn/VV2GPUBD.js +2 -0
- package/dist/cdn/{XJAWMEAX.js → VYK7K53T.js} +1 -1
- package/dist/cdn/W7U5X4FD.js +2 -0
- package/dist/cdn/WFSL4A5D.js +2 -0
- package/dist/cdn/{T6FWGIF5.js → WG5TURFP.js} +1 -1
- package/dist/cdn/WGPHID34.js +2 -0
- package/dist/cdn/WRAJ3GCC.js +2 -0
- package/dist/cdn/X2ASSXUW.js +2 -0
- package/dist/cdn/{WYO3R6BR.js → XCOUYFAO.js} +1 -1
- package/dist/cdn/XDKUSTLR.js +2 -0
- package/dist/cdn/{Z3MFTUAY.js → XDSTGRJY.js} +1 -1
- package/dist/cdn/XDZ4Y2TW.js +2 -0
- package/dist/cdn/XFFYVFAY.js +2 -0
- package/dist/cdn/XMJ4XKZK.js +2 -0
- package/dist/cdn/XT4ABTSG.js +2 -0
- package/dist/cdn/XWK52FHR.js +2 -0
- package/dist/cdn/XX43OXTK.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/YTCYRPCC.js +2 -0
- package/dist/cdn/YVO24HXX.js +2 -0
- package/dist/cdn/YZGFO6CF.js +2 -0
- package/dist/cdn/{JE7COWZ4.js → ZINLMHN4.js} +1 -1
- package/dist/cdn/ZK6B7NDM.js +2 -0
- package/dist/cdn/ZPKCH32E.js +2 -0
- package/dist/cdn/ZYXHX4HG.js +2 -0
- package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/icon/aiAgent16.json +1 -0
- package/dist/cdn/assets/icon/aiAgent24.json +1 -0
- package/dist/cdn/assets/icon/aiAgent32.json +1 -0
- package/dist/cdn/assets/icon/aiAgents16.json +1 -0
- package/dist/cdn/assets/icon/aiAgents24.json +1 -0
- package/dist/cdn/assets/icon/aiAgents32.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise16.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise24.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise32.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures16.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures32.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry16.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry24.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry32.json +1 -0
- package/dist/cdn/assets/icon/integration16.json +1 -0
- package/dist/cdn/assets/icon/integration24.json +1 -0
- package/dist/cdn/assets/icon/integration32.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration16.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration24.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration32.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate16.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate24.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate32.json +1 -0
- package/dist/cdn/assets/icon/publish32.json +1 -1
- package/dist/cdn/assets/icon/radarChart16.json +1 -0
- package/dist/cdn/assets/icon/radarChart24.json +1 -0
- package/dist/cdn/assets/icon/radarChart32.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog16.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog24.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog32.json +1 -0
- package/dist/cdn/assets/icon/treeMap16.json +1 -0
- package/dist/cdn/assets/icon/treeMap24.json +1 -0
- package/dist/cdn/assets/icon/treeMap32.json +1 -0
- package/dist/cdn/assets/icon/userSave16.json +1 -0
- package/dist/cdn/assets/icon/userSave24.json +1 -0
- package/dist/cdn/assets/icon/userSave32.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar16.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar24.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar32.json +1 -0
- package/dist/cdn/assets/input/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.de.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/ExpandToggle.js +11 -45
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +28 -360
- package/dist/chunks/floating-ui.js +28 -18
- package/dist/chunks/label.js +1 -140
- package/dist/chunks/locale.js +3 -3
- package/dist/chunks/manager.js +8 -7
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +13 -21
- package/dist/chunks/resources10.js +55 -12
- package/dist/chunks/resources11.js +5 -57
- package/dist/chunks/resources12.js +13 -19
- package/dist/chunks/resources13.js +33 -0
- package/dist/chunks/resources14.js +63 -0
- package/dist/chunks/resources15.js +39 -0
- package/dist/chunks/resources16.js +12 -0
- package/dist/chunks/resources17.js +17 -0
- package/dist/chunks/resources18.js +17 -0
- package/dist/chunks/resources19.js +19 -0
- package/dist/chunks/resources2.js +4 -1
- package/dist/chunks/resources20.js +39 -0
- package/dist/chunks/resources21.js +17 -0
- package/dist/chunks/resources22.js +14 -0
- package/dist/chunks/resources23.js +20 -0
- package/dist/chunks/resources24.js +26 -0
- package/dist/chunks/resources25.js +31 -0
- package/dist/chunks/resources26.js +26 -0
- package/dist/chunks/resources27.js +38 -0
- package/dist/chunks/resources28.js +14 -0
- package/dist/chunks/resources29.js +17 -0
- package/dist/chunks/resources3.js +17 -14
- package/dist/chunks/resources30.js +17 -0
- package/dist/chunks/resources31.js +28 -0
- package/dist/chunks/resources32.js +35 -0
- package/dist/chunks/resources33.js +35 -0
- package/dist/chunks/resources34.js +73 -0
- package/dist/chunks/resources4.js +20 -13
- package/dist/chunks/resources5.js +7 -43
- package/dist/chunks/resources6.js +16 -26
- package/dist/chunks/resources7.js +41 -51
- package/dist/chunks/resources8.js +19 -44
- package/dist/chunks/resources9.js +27 -8
- package/dist/chunks/responsive.js +3 -2
- package/dist/chunks/runtime.js +63 -9
- package/dist/chunks/useFocusTrap.js +2 -2
- package/dist/chunks/useForm.js +9 -7
- package/dist/chunks/useInlineEditable.js +53 -0
- package/dist/chunks/useLabel.js +150 -0
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +26 -25
- package/dist/chunks/utils.js +94 -298
- package/dist/chunks/utils2.js +62 -98
- package/dist/chunks/utils3.js +299 -59
- package/dist/chunks/utils4.js +25 -8
- package/dist/components/calcite-accordion/customElement.d.ts +6 -7
- package/dist/components/calcite-accordion-item/customElement.d.ts +10 -5
- package/dist/components/calcite-accordion-item/customElement.js +2 -2
- package/dist/components/calcite-action/customElement.d.ts +11 -6
- package/dist/components/calcite-action/customElement.js +29 -13
- package/dist/components/calcite-action-bar/customElement.d.ts +41 -14
- package/dist/components/calcite-action-bar/customElement.js +431 -91
- package/dist/components/calcite-action-group/customElement.d.ts +25 -15
- package/dist/components/calcite-action-group/customElement.js +62 -52
- package/dist/components/calcite-action-menu/customElement.d.ts +15 -5
- package/dist/components/calcite-action-menu/customElement.js +83 -40
- package/dist/components/calcite-action-pad/customElement.d.ts +13 -9
- package/dist/components/calcite-action-pad/customElement.js +7 -7
- package/dist/components/calcite-alert/customElement.d.ts +9 -5
- package/dist/components/calcite-alert/customElement.js +4 -27
- package/dist/components/calcite-autocomplete/customElement.d.ts +14 -10
- package/dist/components/calcite-autocomplete/customElement.js +46 -30
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.js +11 -23
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +7 -0
- package/dist/components/calcite-autocomplete-item-group/customElement.js +25 -11
- package/dist/components/calcite-avatar/customElement.d.ts +1 -1
- package/dist/components/calcite-avatar/customElement.js +2 -2
- package/dist/components/calcite-block/customElement.d.ts +26 -10
- package/dist/components/calcite-block/customElement.js +32 -10
- package/dist/components/calcite-block/index.js +1 -0
- package/dist/components/calcite-block/types.d.ts +1 -0
- package/dist/components/calcite-block-group/customElement.d.ts +16 -4
- package/dist/components/calcite-block-group/customElement.js +45 -5
- package/dist/components/calcite-block-section/customElement.d.ts +14 -10
- package/dist/components/calcite-block-section/customElement.js +3 -4
- package/dist/components/calcite-button/customElement.d.ts +14 -6
- package/dist/components/calcite-button/customElement.js +7 -7
- package/dist/components/calcite-card/customElement.d.ts +8 -4
- package/dist/components/calcite-card/customElement.js +1 -36
- package/dist/components/calcite-card-group/customElement.d.ts +1 -1
- package/dist/components/calcite-card-group/customElement.js +30 -20
- package/dist/components/calcite-carousel/customElement.d.ts +13 -9
- package/dist/components/calcite-carousel/customElement.js +3 -3
- package/dist/components/calcite-checkbox/customElement.d.ts +12 -4
- package/dist/components/calcite-checkbox/customElement.js +4 -10
- package/dist/components/calcite-chip/customElement.d.ts +9 -5
- package/dist/components/calcite-chip/customElement.js +7 -14
- package/dist/components/calcite-chip-group/customElement.d.ts +6 -9
- package/dist/components/calcite-chip-group/customElement.js +22 -19
- package/dist/components/calcite-color-picker/customElement.d.ts +28 -24
- package/dist/components/calcite-color-picker/customElement.js +14 -10
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +2 -2
- package/dist/components/calcite-combobox/customElement.d.ts +40 -37
- package/dist/components/calcite-combobox/customElement.js +26 -26
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -2
- package/dist/components/calcite-combobox-item/customElement.js +4 -4
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +21 -17
- package/dist/components/calcite-date-picker/customElement.js +49 -27
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -5
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +16 -11
- package/dist/components/calcite-dialog/customElement.d.ts +32 -26
- package/dist/components/calcite-dialog/customElement.js +10 -38
- package/dist/components/calcite-dropdown/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown/customElement.js +53 -13
- package/dist/components/calcite-dropdown-group/customElement.d.ts +6 -8
- package/dist/components/calcite-dropdown-group/customElement.js +46 -8
- package/dist/components/calcite-dropdown-item/customElement.d.ts +9 -9
- package/dist/components/calcite-dropdown-item/customElement.js +5 -5
- package/dist/components/calcite-fab/customElement.d.ts +2 -2
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +8 -4
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow/types/index.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +20 -14
- package/dist/components/calcite-flow-item/customElement.js +12 -9
- package/dist/components/calcite-focus-trap/customElement.d.ts +6 -6
- package/dist/components/calcite-graph/customElement.d.ts +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.d.ts +13 -9
- package/dist/components/calcite-handle/customElement.js +3 -4
- package/dist/components/calcite-icon/customElement.d.ts +3 -3
- package/dist/components/calcite-icon/customElement.js +3 -5
- package/dist/components/calcite-icon/types.d.ts +16 -0
- package/dist/components/calcite-inline-editable/customElement.d.ts +19 -11
- package/dist/components/calcite-inline-editable/customElement.js +31 -19
- package/dist/components/calcite-inline-editable/index.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +45 -10
- package/dist/components/calcite-input/customElement.js +99 -16
- package/dist/components/calcite-input-date-picker/customElement.d.ts +40 -13
- package/dist/components/calcite-input-date-picker/customElement.js +107 -45
- package/dist/components/calcite-input-date-picker/index.js +1 -0
- package/dist/components/calcite-input-message/customElement.d.ts +2 -2
- package/dist/components/calcite-input-message/customElement.js +6 -8
- package/dist/components/calcite-input-number/customElement.d.ts +49 -12
- package/dist/components/calcite-input-number/customElement.js +89 -13
- package/dist/components/calcite-input-text/customElement.d.ts +45 -10
- package/dist/components/calcite-input-text/customElement.js +84 -16
- package/dist/components/calcite-input-time-picker/customElement.d.ts +49 -28
- package/dist/components/calcite-input-time-picker/customElement.js +22 -16
- package/dist/components/calcite-input-time-picker/index.js +1 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +636 -619
- package/dist/components/calcite-input-time-zone/customElement.js +9 -16
- package/dist/components/calcite-label/customElement.d.ts +5 -3
- package/dist/components/calcite-label/customElement.js +2 -2
- package/dist/components/calcite-link/customElement.d.ts +2 -2
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +27 -32
- package/dist/components/calcite-list/customElement.js +6 -21
- package/dist/components/calcite-list-item/customElement.d.ts +10 -6
- package/dist/components/calcite-list-item/customElement.js +4 -5
- package/dist/components/calcite-list-item/{interfaces.d.ts → types.d.ts} +3 -3
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -5
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +13 -2
- package/dist/components/calcite-menu/customElement.js +53 -33
- package/dist/components/calcite-menu-item/customElement.d.ts +15 -5
- package/dist/components/calcite-menu-item/customElement.js +19 -64
- package/dist/components/calcite-meter/customElement.d.ts +9 -6
- package/dist/components/calcite-meter/customElement.js +10 -10
- package/dist/components/calcite-navigation/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation/customElement.js +19 -6
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -10
- package/dist/components/calcite-navigation-logo/customElement.js +4 -12
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +3 -8
- package/dist/components/calcite-notice/customElement.d.ts +12 -6
- package/dist/components/calcite-notice/customElement.js +3 -3
- package/dist/components/calcite-option/customElement.d.ts +1 -1
- package/dist/components/calcite-option/customElement.js +1 -0
- package/dist/components/calcite-pagination/customElement.d.ts +10 -6
- package/dist/components/calcite-pagination/customElement.js +2 -2
- package/dist/components/calcite-panel/customElement.d.ts +16 -10
- package/dist/components/calcite-panel/customElement.js +67 -15
- package/dist/components/calcite-popover/customElement.d.ts +16 -12
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.d.ts +6 -2
- package/dist/components/calcite-radio-button/customElement.js +5 -4
- package/dist/components/calcite-radio-button-group/customElement.d.ts +11 -5
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +15 -7
- package/dist/components/calcite-rating/customElement.js +5 -11
- package/dist/components/calcite-scrim/customElement.d.ts +6 -2
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +22 -11
- package/dist/components/calcite-segmented-control/customElement.js +10 -15
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +4 -15
- package/dist/components/calcite-select/customElement.d.ts +21 -11
- package/dist/components/calcite-select/customElement.js +10 -21
- package/dist/components/calcite-sheet/customElement.d.ts +25 -15
- package/dist/components/calcite-sheet/customElement.js +26 -45
- package/dist/components/calcite-shell/customElement.d.ts +2 -0
- package/dist/components/calcite-shell/customElement.js +144 -24
- package/dist/components/calcite-shell-panel/customElement.d.ts +29 -18
- package/dist/components/calcite-shell-panel/customElement.js +164 -57
- package/dist/components/calcite-slider/customElement.d.ts +13 -7
- package/dist/components/calcite-slider/customElement.js +14 -10
- package/dist/components/calcite-sort-handle/customElement.d.ts +24 -20
- package/dist/components/calcite-sort-handle/customElement.js +3 -3
- package/dist/components/calcite-sortable-list/customElement.d.ts +3 -3
- package/dist/components/calcite-sortable-list/customElement.js +5 -6
- package/dist/components/calcite-split-button/customElement.d.ts +9 -7
- package/dist/components/calcite-split-button/customElement.js +2 -2
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +10 -6
- package/dist/components/calcite-stepper/customElement.js +20 -12
- package/dist/components/calcite-stepper-item/customElement.d.ts +8 -4
- package/dist/components/calcite-stepper-item/customElement.js +6 -22
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +6 -45
- package/dist/components/calcite-swatch-group/customElement.d.ts +6 -9
- package/dist/components/calcite-swatch-group/customElement.js +31 -22
- package/dist/components/calcite-switch/customElement.d.ts +19 -2
- package/dist/components/calcite-switch/customElement.js +6 -11
- package/dist/components/calcite-tab/customElement.js +5 -2
- package/dist/components/calcite-tab-nav/customElement.d.ts +8 -4
- package/dist/components/calcite-tab-nav/customElement.js +107 -81
- package/dist/components/calcite-tab-title/customElement.d.ts +9 -5
- package/dist/components/calcite-tab-title/customElement.js +10 -3
- package/dist/components/calcite-table/customElement.d.ts +22 -14
- package/dist/components/calcite-table/customElement.js +82 -6
- package/dist/components/calcite-table-cell/customElement.d.ts +16 -11
- package/dist/components/calcite-table-cell/customElement.js +4 -12
- package/dist/components/calcite-table-header/customElement.d.ts +12 -8
- package/dist/components/calcite-table-header/customElement.js +2 -21
- package/dist/components/calcite-table-row/customElement.d.ts +6 -5
- package/dist/components/calcite-table-row/customElement.js +30 -25
- package/dist/components/calcite-tabs/customElement.d.ts +8 -2
- package/dist/components/calcite-tabs/customElement.js +15 -14
- package/dist/components/calcite-text-area/customElement.d.ts +15 -9
- package/dist/components/calcite-text-area/customElement.js +26 -25
- package/dist/components/calcite-tile/customElement.d.ts +3 -3
- package/dist/components/calcite-tile/customElement.js +7 -46
- package/dist/components/calcite-tile-group/customElement.d.ts +10 -10
- package/dist/components/calcite-tile-group/customElement.js +33 -24
- package/dist/components/calcite-time-picker/customElement.d.ts +25 -21
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +5 -5
- package/dist/components/calcite-tooltip/customElement.js +2 -5
- package/dist/components/calcite-tree/customElement.d.ts +10 -16
- package/dist/components/calcite-tree/customElement.js +20 -13
- package/dist/components/calcite-tree-item/customElement.d.ts +2 -2
- package/dist/components/calcite-tree-item/customElement.js +6 -29
- package/dist/controllers/useTime.d.ts +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.js +3 -9
- package/dist/loader.js +26 -26
- package/dist/runtime.d.ts +5 -0
- package/dist/types/lumina.d.ts +28 -17
- package/dist/types/preact.d.ts +28 -17
- package/dist/types/react.d.ts +28 -17
- package/dist/types/stencil.d.ts +30 -19
- package/dist/utils/date.d.ts +2 -2
- package/package.json +15 -14
- package/dist/cdn/25HEUF62.js +0 -2
- package/dist/cdn/27TMS7TL.js +0 -2
- package/dist/cdn/2D5TGEGM.js +0 -2
- package/dist/cdn/2HYBPCP5.js +0 -2
- package/dist/cdn/2MVXV2MI.js +0 -2
- package/dist/cdn/2OKTIK5P.js +0 -2
- package/dist/cdn/2QCI6TGY.js +0 -2
- package/dist/cdn/3IIMBPGI.js +0 -2
- package/dist/cdn/4FFUO6AL.js +0 -2
- package/dist/cdn/4STE75YI.js +0 -2
- package/dist/cdn/524GQTNG.js +0 -2
- package/dist/cdn/55ECBMKY.js +0 -2
- package/dist/cdn/5BGGNWJQ.js +0 -2
- package/dist/cdn/5OJ3Q4SI.js +0 -2
- package/dist/cdn/5SJ7DUTY.js +0 -2
- package/dist/cdn/5TUWUQHN.js +0 -3
- package/dist/cdn/6JPWON4E.js +0 -2
- package/dist/cdn/6QSTWKNM.js +0 -2
- package/dist/cdn/6SJW5IBJ.js +0 -2
- package/dist/cdn/6UNW5QUY.js +0 -2
- package/dist/cdn/6XR57LJ6.js +0 -2
- package/dist/cdn/75TN3ELK.js +0 -2
- package/dist/cdn/7HV3O3DF.js +0 -2
- package/dist/cdn/7KYHXTZ7.js +0 -2
- package/dist/cdn/7QATBQUC.js +0 -2
- package/dist/cdn/7WN6WR2B.js +0 -2
- package/dist/cdn/AQJNAUQZ.js +0 -2
- package/dist/cdn/AXRVR7RO.js +0 -2
- package/dist/cdn/BDIWM5DD.js +0 -2
- package/dist/cdn/BJOJINNV.js +0 -2
- package/dist/cdn/BLWTCPBG.js +0 -2
- package/dist/cdn/BRRREDR5.js +0 -2
- package/dist/cdn/C2SFDYFY.js +0 -4
- package/dist/cdn/CA2SBV2Y.js +0 -2
- package/dist/cdn/CL5AZEAL.js +0 -2
- package/dist/cdn/DAE6OWX6.js +0 -2
- package/dist/cdn/DIIBT6ES.js +0 -2
- package/dist/cdn/DQBHDK7Y.js +0 -2
- package/dist/cdn/DXYF2XAM.js +0 -2
- package/dist/cdn/EDSYBZIF.js +0 -2
- package/dist/cdn/EKQRORSO.js +0 -2
- package/dist/cdn/ESHAWAWL.js +0 -2
- package/dist/cdn/ET7FYLD3.js +0 -2
- package/dist/cdn/F5S74A6J.js +0 -2
- package/dist/cdn/FEIOKH52.js +0 -2
- package/dist/cdn/FF3BNERI.js +0 -2
- package/dist/cdn/FU52LD3F.js +0 -2
- package/dist/cdn/G2XUNH4V.js +0 -2
- package/dist/cdn/G3Y3LVCH.js +0 -2
- package/dist/cdn/GH2UFRFZ.js +0 -2
- package/dist/cdn/GQHRGQXT.js +0 -2
- package/dist/cdn/GYJEWH7E.js +0 -2
- package/dist/cdn/H4DY4JG2.js +0 -2
- package/dist/cdn/H5PHSNTL.js +0 -2
- package/dist/cdn/H6QON2TD.js +0 -2
- package/dist/cdn/HELW7C5O.js +0 -2
- package/dist/cdn/HI4AC5NT.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/HRLK2RSF.js +0 -2
- package/dist/cdn/HYS3KXOM.js +0 -2
- package/dist/cdn/IMZBK4NI.js +0 -2
- package/dist/cdn/IQFKCBYR.js +0 -2
- package/dist/cdn/J5H2LW3F.js +0 -2
- package/dist/cdn/JJQGOFEM.js +0 -2
- package/dist/cdn/JPSCTBEO.js +0 -2
- package/dist/cdn/JTUQOIII.js +0 -2
- package/dist/cdn/KHGZVW5S.js +0 -2
- package/dist/cdn/KHVMN3I6.js +0 -4
- package/dist/cdn/KNOX6XCS.js +0 -2
- package/dist/cdn/KRZT7UVD.js +0 -2
- package/dist/cdn/KWIJFLPJ.js +0 -2
- package/dist/cdn/KZ3ACECQ.js +0 -2
- package/dist/cdn/L4DOJVLT.js +0 -2
- package/dist/cdn/L77XFD22.js +0 -2
- package/dist/cdn/LB3LM7KW.js +0 -2
- package/dist/cdn/LF3SYGBF.js +0 -2
- package/dist/cdn/LFL2NOMX.js +0 -2
- package/dist/cdn/LII6G3V3.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LMPBTORD.js +0 -2
- package/dist/cdn/LQJYSCJD.js +0 -2
- package/dist/cdn/M2KR7ZH5.js +0 -2
- package/dist/cdn/MEMDH5M4.js +0 -2
- package/dist/cdn/MKFZEFQ6.js +0 -2
- package/dist/cdn/MOSQZFYT.js +0 -2
- package/dist/cdn/MS7U4EKG.js +0 -2
- package/dist/cdn/N3D6FMEH.js +0 -2
- package/dist/cdn/NTJQBE2P.js +0 -2
- package/dist/cdn/NVF4K6HP.js +0 -2
- package/dist/cdn/OQ4ME7QP.js +0 -2
- package/dist/cdn/P2BT5ISA.js +0 -2
- package/dist/cdn/PKFY2P43.js +0 -2
- package/dist/cdn/PQ7DCUPL.js +0 -2
- package/dist/cdn/PZXDAKVC.js +0 -2
- package/dist/cdn/Q6HQOCPI.js +0 -2
- package/dist/cdn/QB2FASAQ.js +0 -2
- package/dist/cdn/QM74WXQL.js +0 -2
- package/dist/cdn/QSYX3KO4.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/QXDIQQGO.js +0 -2
- package/dist/cdn/RFXCFK6K.js +0 -2
- package/dist/cdn/RUVRJVVT.js +0 -2
- package/dist/cdn/RWITZVQC.js +0 -2
- package/dist/cdn/RYOYQ7JI.js +0 -2
- package/dist/cdn/SA35OSIJ.js +0 -2
- package/dist/cdn/SOLIHAFU.js +0 -2
- package/dist/cdn/SRKLCLO7.js +0 -2
- package/dist/cdn/SUMMJWW7.js +0 -2
- package/dist/cdn/SWQCPUC2.js +0 -2
- package/dist/cdn/TD3YG3I3.js +0 -2
- package/dist/cdn/TMENZ2VZ.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/U32ZDPXB.js +0 -2
- package/dist/cdn/U34FLFGP.js +0 -2
- package/dist/cdn/UWAER5W3.js +0 -2
- package/dist/cdn/VCM2ZHPT.js +0 -2
- package/dist/cdn/VCQ5M2XF.js +0 -2
- package/dist/cdn/VTB66B24.js +0 -2
- package/dist/cdn/VV7SRS22.js +0 -20
- package/dist/cdn/VYBYSRSC.js +0 -2
- package/dist/cdn/WBIPNNGL.js +0 -2
- package/dist/cdn/WXZMRXAK.js +0 -2
- package/dist/cdn/XGSEBUKD.js +0 -2
- package/dist/cdn/XMLFJMMC.js +0 -2
- package/dist/cdn/XVHDY6QN.js +0 -2
- package/dist/cdn/Y47AW44L.js +0 -2
- package/dist/cdn/Y5DQ7II6.js +0 -2
- package/dist/cdn/Z57BICST.js +0 -2
- package/dist/cdn/ZMJFSBIG.js +0 -2
- package/dist/cdn/ZO734Y5U.js +0 -2
- package/dist/cdn/ZW25BB34.js +0 -2
- package/dist/cdn/ZYLB2RT3.js +0 -2
- package/dist/chunks/core.js +0 -11
- package/dist/chunks/global.js +0 -23
- package/dist/chunks/logger.js +0 -50
- package/dist/components/calcite-icon/interfaces.d.ts +0 -10
- /package/dist/cdn/{QBJZUEM2.js → 47B6Y2DM.js} +0 -0
- /package/dist/cdn/{KWIC32XQ.js → NH334SIF.js} +0 -0
- /package/dist/cdn/{Q24FQVQ4.js → V6MLAVPM.js} +0 -0
- /package/dist/components/calcite-action-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-alert/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-section/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-button/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-carousel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-color-picker/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-combobox/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-dialog/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-flow/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-graph/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input-time-zone/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-list/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-meter/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sheet/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-shell-panel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sort-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-stepper/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-table/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-tabs/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/{interfaces.d.ts → types.d.ts} +0 -0
|
@@ -15,12 +15,36 @@ function onGlobalDragEnd() {
|
|
|
15
15
|
Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragEnd());
|
|
16
16
|
}
|
|
17
17
|
const globalDragState = { active: false };
|
|
18
|
+
const activeSortableComponentSet = /* @__PURE__ */ new Set();
|
|
19
|
+
function syncGlobalDragState() {
|
|
20
|
+
const active = activeSortableComponentSet.size > 0;
|
|
21
|
+
if (globalDragState.active === active) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
globalDragState.active = active;
|
|
25
|
+
if (active) {
|
|
26
|
+
onGlobalDragStart();
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
onGlobalDragEnd();
|
|
30
|
+
}
|
|
31
|
+
function markDragActive(component) {
|
|
32
|
+
activeSortableComponentSet.add(component);
|
|
33
|
+
syncGlobalDragState();
|
|
34
|
+
}
|
|
35
|
+
function markDragInactive(component) {
|
|
36
|
+
activeSortableComponentSet.delete(component);
|
|
37
|
+
syncGlobalDragState();
|
|
38
|
+
}
|
|
18
39
|
function createSortable(component) {
|
|
19
40
|
const dataIdAttr = "id";
|
|
20
41
|
const { el, group, handleSelector: handle, dragSelector: draggable, sortDisabled } = component;
|
|
21
42
|
return Sortable.create(el, {
|
|
22
43
|
dataIdAttr,
|
|
23
44
|
swapThreshold: 0.5,
|
|
45
|
+
// Keep the fallback ghost out of nested list DOM updates during touch drag startup.
|
|
46
|
+
// Applied globally so all sortable hosts use the same stable fallback behavior.
|
|
47
|
+
fallbackOnBody: true,
|
|
24
48
|
...CSS,
|
|
25
49
|
...!!draggable && { draggable },
|
|
26
50
|
...!!group && {
|
|
@@ -59,14 +83,18 @@ function createSortable(component) {
|
|
|
59
83
|
},
|
|
60
84
|
handle,
|
|
61
85
|
filter: `${handle}[disabled]`,
|
|
86
|
+
onChoose: () => {
|
|
87
|
+
markDragActive(component);
|
|
88
|
+
},
|
|
89
|
+
onUnchoose: () => {
|
|
90
|
+
markDragInactive(component);
|
|
91
|
+
},
|
|
62
92
|
onStart: ({ from: fromEl, item: dragEl, to: toEl, newDraggableIndex: newIndex, oldDraggableIndex: oldIndex }) => {
|
|
63
|
-
|
|
64
|
-
onGlobalDragStart();
|
|
93
|
+
markDragActive(component);
|
|
65
94
|
component.onDragStart({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
|
66
95
|
},
|
|
67
96
|
onEnd: ({ from: fromEl, item: dragEl, to: toEl, newDraggableIndex: newIndex, oldDraggableIndex: oldIndex }) => {
|
|
68
|
-
|
|
69
|
-
onGlobalDragEnd();
|
|
97
|
+
markDragInactive(component);
|
|
70
98
|
component.onDragEnd({ fromEl, dragEl, toEl, newIndex, oldIndex });
|
|
71
99
|
},
|
|
72
100
|
onSort: ({ from: fromEl, item: dragEl, to: toEl, newDraggableIndex: newIndex, oldDraggableIndex: oldIndex }) => {
|
|
@@ -103,6 +131,8 @@ const useSortable = () => {
|
|
|
103
131
|
setUpSortable(component);
|
|
104
132
|
});
|
|
105
133
|
controller.onDisconnected(() => {
|
|
134
|
+
sortableComponentSet.delete(component);
|
|
135
|
+
markDragInactive(component);
|
|
106
136
|
tearDownSortable(component);
|
|
107
137
|
});
|
|
108
138
|
return {
|
package/dist/chunks/useTime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { toFunction, GenericController } from "@arcgis/lumina/controllers";
|
|
3
3
|
import { createEvent } from "@arcgis/lumina";
|
|
4
|
-
import { l as localizedTwentyFourHourMeridiems, i as isValidNumber, n as numberStringFormatter, g as getDateTimeFormat,
|
|
4
|
+
import { l as localizedTwentyFourHourMeridiems, i as isValidNumber, n as numberStringFormatter, g as getDateTimeFormat, a as getSupportedNumberingSystem } from "./locale.js";
|
|
5
5
|
import { d as decimalPlaces, g as getDecimals } from "./math.js";
|
|
6
6
|
import { c as capitalizeWord } from "./text.js";
|
|
7
7
|
import { n as numberKeys } from "./key.js";
|
|
@@ -55,9 +55,10 @@ function formatTimePart(number, minLength) {
|
|
|
55
55
|
if (number >= 10) {
|
|
56
56
|
return numberAsString;
|
|
57
57
|
}
|
|
58
|
+
return;
|
|
58
59
|
}
|
|
59
60
|
function fractionalSecondPartToMilliseconds(fractionalSecondPart) {
|
|
60
|
-
return parseInt((parseFloat(`0.${fractionalSecondPart}`) / 1e-3).toFixed(3));
|
|
61
|
+
return parseInt((parseFloat(`0.${fractionalSecondPart}`) / 1e-3).toFixed(3), 10);
|
|
61
62
|
}
|
|
62
63
|
function getLocaleHourFormat(locale) {
|
|
63
64
|
const options = { locale };
|
|
@@ -166,7 +167,7 @@ function getMeridiem(hour) {
|
|
|
166
167
|
if (!isValidNumber(hour)) {
|
|
167
168
|
return null;
|
|
168
169
|
}
|
|
169
|
-
const hourAsNumber = parseInt(hour);
|
|
170
|
+
const hourAsNumber = parseInt(hour, 10);
|
|
170
171
|
return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
|
|
171
172
|
}
|
|
172
173
|
function getMeridiemOrder(locale) {
|
|
@@ -195,9 +196,9 @@ function isValidTime(value) {
|
|
|
195
196
|
if (!hour || !minute) {
|
|
196
197
|
return false;
|
|
197
198
|
}
|
|
198
|
-
const hourAsNumber = parseInt(hour);
|
|
199
|
-
const minuteAsNumber = parseInt(minute);
|
|
200
|
-
const secondAsNumber = parseInt(second ?? "");
|
|
199
|
+
const hourAsNumber = parseInt(hour, 10);
|
|
200
|
+
const minuteAsNumber = parseInt(minute, 10);
|
|
201
|
+
const secondAsNumber = parseInt(second ?? "", 10);
|
|
201
202
|
const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
|
|
202
203
|
const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
|
|
203
204
|
const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
|
|
@@ -243,7 +244,7 @@ function localizeTimePart({
|
|
|
243
244
|
numberingSystem
|
|
244
245
|
};
|
|
245
246
|
const localizedZero = numberStringFormatter.localize("0");
|
|
246
|
-
if (parseInt(value) === 0) {
|
|
247
|
+
if (parseInt(value, 10) === 0) {
|
|
247
248
|
localizedFractionalSecond = "".padStart(value.length, localizedZero);
|
|
248
249
|
} else {
|
|
249
250
|
localizedFractionalSecond = numberStringFormatter.localize(`0.${value}`).replace(`${localizedZero}${localizedDecimalSeparator}`, "");
|
|
@@ -254,7 +255,7 @@ function localizeTimePart({
|
|
|
254
255
|
}
|
|
255
256
|
return localizedFractionalSecond;
|
|
256
257
|
}
|
|
257
|
-
const valueAsNumber = parseInt(value);
|
|
258
|
+
const valueAsNumber = parseInt(value, 10);
|
|
258
259
|
const date = new Date(
|
|
259
260
|
Date.UTC(
|
|
260
261
|
0,
|
|
@@ -291,9 +292,9 @@ function localizeTimeString({
|
|
|
291
292
|
0,
|
|
292
293
|
0,
|
|
293
294
|
0,
|
|
294
|
-
parseInt(hour),
|
|
295
|
-
parseInt(minute),
|
|
296
|
-
includeSeconds && typeof second === "string" ? parseInt(second) : 0,
|
|
295
|
+
parseInt(hour, 10),
|
|
296
|
+
parseInt(minute, 10),
|
|
297
|
+
includeSeconds && typeof second === "string" ? parseInt(second, 10) : 0,
|
|
297
298
|
includeSeconds && fractionalSecond ? fractionalSecondPartToMilliseconds(fractionalSecond) : 0
|
|
298
299
|
)
|
|
299
300
|
);
|
|
@@ -381,9 +382,9 @@ function toISOTimeString(value, step = 60) {
|
|
|
381
382
|
fractionalSecond = value.fractionalSecond;
|
|
382
383
|
}
|
|
383
384
|
if (hour && minute) {
|
|
384
|
-
isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
|
|
385
|
+
isoTimeString = `${formatTimePart(parseInt(hour, 10))}:${formatTimePart(parseInt(minute, 10))}`;
|
|
385
386
|
if (step < 60) {
|
|
386
|
-
isoTimeString += `:${formatTimePart(parseInt(second || "0"))}`;
|
|
387
|
+
isoTimeString += `:${formatTimePart(parseInt(second || "0", 10))}`;
|
|
387
388
|
if (step < 1) {
|
|
388
389
|
isoTimeString += `.${formatFractionalSecond(fractionalSecond || "0", step)}`;
|
|
389
390
|
}
|
|
@@ -399,7 +400,7 @@ class TimeController extends GenericController {
|
|
|
399
400
|
this.handleHourKeyDownEvent = (event) => {
|
|
400
401
|
const key = event.key;
|
|
401
402
|
if (numberKeys.includes(key)) {
|
|
402
|
-
const keyAsNumber = parseInt(key);
|
|
403
|
+
const keyAsNumber = parseInt(key, 10);
|
|
403
404
|
let newHour;
|
|
404
405
|
if (isValidNumber(this.hour)) {
|
|
405
406
|
switch (this.hourFormat) {
|
|
@@ -445,10 +446,10 @@ class TimeController extends GenericController {
|
|
|
445
446
|
this.handleMinuteKeyDownEvent = (event) => {
|
|
446
447
|
const key = event.key;
|
|
447
448
|
if (numberKeys.includes(key)) {
|
|
448
|
-
const keyAsNumber = parseInt(key);
|
|
449
|
+
const keyAsNumber = parseInt(key, 10);
|
|
449
450
|
let newMinute;
|
|
450
451
|
if (typeof this.minute === "string" && isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
451
|
-
const minuteAsNumber = parseInt(this.minute);
|
|
452
|
+
const minuteAsNumber = parseInt(this.minute, 10);
|
|
452
453
|
newMinute = minuteAsNumber > maxTenthForMinuteAndSecond ? keyAsNumber : `${minuteAsNumber}${keyAsNumber}`;
|
|
453
454
|
} else {
|
|
454
455
|
newMinute = keyAsNumber;
|
|
@@ -479,10 +480,10 @@ class TimeController extends GenericController {
|
|
|
479
480
|
this.handleSecondKeyDownEvent = (event) => {
|
|
480
481
|
const key = event.key;
|
|
481
482
|
if (numberKeys.includes(key)) {
|
|
482
|
-
const keyAsNumber = parseInt(key);
|
|
483
|
+
const keyAsNumber = parseInt(key, 10);
|
|
483
484
|
let newSecond;
|
|
484
485
|
if (typeof this.second === "string" && isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
485
|
-
const secondAsNumber = parseInt(this.second);
|
|
486
|
+
const secondAsNumber = parseInt(this.second, 10);
|
|
486
487
|
newSecond = secondAsNumber > maxTenthForMinuteAndSecond ? keyAsNumber : `${secondAsNumber}${keyAsNumber}`;
|
|
487
488
|
} else {
|
|
488
489
|
newSecond = keyAsNumber;
|
|
@@ -514,7 +515,7 @@ class TimeController extends GenericController {
|
|
|
514
515
|
const { key } = event;
|
|
515
516
|
if (numberKeys.includes(key)) {
|
|
516
517
|
const stepPrecision = decimalPlaces(this.component.step);
|
|
517
|
-
const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
|
|
518
|
+
const fractionalSecondAsInteger = parseInt(this.fractionalSecond, 10);
|
|
518
519
|
const fractionalSecondAsIntegerLength = fractionalSecondAsInteger.toString().length;
|
|
519
520
|
let newFractionalSecondAsIntegerString;
|
|
520
521
|
if (fractionalSecondAsIntegerLength >= stepPrecision) {
|
|
@@ -579,7 +580,7 @@ class TimeController extends GenericController {
|
|
|
579
580
|
//#endregion
|
|
580
581
|
//#region Public Methods
|
|
581
582
|
decrementHour() {
|
|
582
|
-
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
|
|
583
|
+
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour, 10) - 1;
|
|
583
584
|
this.setValuePart("hour", newHour);
|
|
584
585
|
}
|
|
585
586
|
decrementMinute() {
|
|
@@ -589,7 +590,7 @@ class TimeController extends GenericController {
|
|
|
589
590
|
this.decrementMinuteOrSecond("second");
|
|
590
591
|
}
|
|
591
592
|
incrementHour() {
|
|
592
|
-
const newHour = typeof this.hour === "string" && isValidNumber(this.hour) ? this.hour === "23" ? 0 : parseInt(this.hour) + 1 : 1;
|
|
593
|
+
const newHour = typeof this.hour === "string" && isValidNumber(this.hour) ? this.hour === "23" ? 0 : parseInt(this.hour, 10) + 1 : 1;
|
|
593
594
|
this.setValuePart("hour", newHour);
|
|
594
595
|
}
|
|
595
596
|
incrementMinute() {
|
|
@@ -601,7 +602,7 @@ class TimeController extends GenericController {
|
|
|
601
602
|
nudgeFractionalSecond(direction) {
|
|
602
603
|
const stepDecimal = getDecimals(this.component.step);
|
|
603
604
|
const stepPrecision = decimalPlaces(this.component.step);
|
|
604
|
-
const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
|
|
605
|
+
const fractionalSecondAsInteger = parseInt(this.fractionalSecond, 10);
|
|
605
606
|
const fractionalSecondAsFloat = parseFloat(`0.${this.fractionalSecond}`);
|
|
606
607
|
let nudgedValue;
|
|
607
608
|
let nudgedValueRounded;
|
|
@@ -674,7 +675,7 @@ class TimeController extends GenericController {
|
|
|
674
675
|
decrementMinuteOrSecond(key) {
|
|
675
676
|
let newValue;
|
|
676
677
|
if (isValidNumber(this[key])) {
|
|
677
|
-
const valueAsNumber = parseInt(this[key]);
|
|
678
|
+
const valueAsNumber = parseInt(this[key], 10);
|
|
678
679
|
newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
|
|
679
680
|
} else {
|
|
680
681
|
newValue = 59;
|
|
@@ -682,7 +683,7 @@ class TimeController extends GenericController {
|
|
|
682
683
|
this.setValuePart(key, newValue);
|
|
683
684
|
}
|
|
684
685
|
incrementMinuteOrSecond(key) {
|
|
685
|
-
const newValue = isValidNumber(this[key]) ? this[key] === "59" ? 0 : parseInt(this[key]) + 1 : 0;
|
|
686
|
+
const newValue = isValidNumber(this[key]) ? this[key] === "59" ? 0 : parseInt(this[key], 10) + 1 : 0;
|
|
686
687
|
this.setValuePart(key, newValue);
|
|
687
688
|
}
|
|
688
689
|
setHourFormat() {
|
|
@@ -778,7 +779,7 @@ class TimeController extends GenericController {
|
|
|
778
779
|
value: this.meridiem
|
|
779
780
|
});
|
|
780
781
|
if (isValidNumber(this.hour)) {
|
|
781
|
-
const hourAsNumber = parseInt(this.hour);
|
|
782
|
+
const hourAsNumber = parseInt(this.hour, 10);
|
|
782
783
|
switch (value) {
|
|
783
784
|
case "AM":
|
|
784
785
|
if (hourAsNumber >= 12) {
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,315 +1,111 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
opacitySlider: "opacity-slider",
|
|
24
|
-
preview: "preview",
|
|
25
|
-
previewAndSliders: "preview-and-sliders",
|
|
26
|
-
saveColor: "save-color",
|
|
27
|
-
savedColor: "saved-color",
|
|
28
|
-
savedColorsButtons: "saved-colors-buttons",
|
|
29
|
-
savedColorsSection: "saved-colors-section",
|
|
30
|
-
scope: "scope",
|
|
31
|
-
section: "section",
|
|
32
|
-
slider: "slider",
|
|
33
|
-
sliders: "sliders",
|
|
34
|
-
splitSection: "section--split",
|
|
35
|
-
swatchGroup: "swatch-group"
|
|
36
|
-
};
|
|
37
|
-
const DEFAULT_COLOR = Color("#007AC2");
|
|
38
|
-
const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
|
|
39
|
-
const RGB_LIMITS = {
|
|
40
|
-
r: 255,
|
|
41
|
-
g: 255,
|
|
42
|
-
b: 255
|
|
43
|
-
};
|
|
44
|
-
const HSV_LIMITS = {
|
|
45
|
-
h: 360,
|
|
46
|
-
s: 100,
|
|
47
|
-
v: 100
|
|
48
|
-
};
|
|
49
|
-
const HUE_LIMIT_CONSTRAINED = HSV_LIMITS.h - 1;
|
|
50
|
-
const OPACITY_LIMITS = {
|
|
51
|
-
min: 0,
|
|
52
|
-
max: 100
|
|
53
|
-
};
|
|
54
|
-
const STATIC_DIMENSIONS = {
|
|
55
|
-
s: {
|
|
56
|
-
gap: parseInt(calciteSpacingFixedSm),
|
|
57
|
-
slider: {
|
|
58
|
-
height: 12
|
|
59
|
-
},
|
|
60
|
-
thumb: {
|
|
61
|
-
radius: 7
|
|
62
|
-
},
|
|
63
|
-
preview: {
|
|
64
|
-
size: 20
|
|
65
|
-
},
|
|
66
|
-
minWidth: 200
|
|
67
|
-
},
|
|
68
|
-
m: {
|
|
69
|
-
gap: parseInt(calciteSpacingFixedMd),
|
|
70
|
-
slider: {
|
|
71
|
-
height: 12
|
|
72
|
-
},
|
|
73
|
-
thumb: {
|
|
74
|
-
radius: 7
|
|
75
|
-
},
|
|
76
|
-
preview: {
|
|
77
|
-
size: 24
|
|
78
|
-
},
|
|
79
|
-
minWidth: 240
|
|
80
|
-
},
|
|
81
|
-
l: {
|
|
82
|
-
gap: parseInt(calciteSpacingFixedXl),
|
|
83
|
-
slider: {
|
|
84
|
-
height: 12
|
|
85
|
-
},
|
|
86
|
-
thumb: {
|
|
87
|
-
radius: 7
|
|
88
|
-
},
|
|
89
|
-
preview: {
|
|
90
|
-
size: 32
|
|
91
|
-
},
|
|
92
|
-
minWidth: 304
|
|
2
|
+
import { isServer } from "lit";
|
|
3
|
+
import { n as nodeListToArray } from "./dom.js";
|
|
4
|
+
import { A as AllComboboxChildrenSelector, C as ComboboxItemSelector, a as ComboboxItemGroupSelector } from "./resources10.js";
|
|
5
|
+
function getAncestors(element) {
|
|
6
|
+
const parent = element.parentElement?.closest(AllComboboxChildrenSelector);
|
|
7
|
+
const grandparent = parent?.parentElement?.closest(AllComboboxChildrenSelector);
|
|
8
|
+
return [parent, grandparent].filter((el) => !!el);
|
|
9
|
+
}
|
|
10
|
+
function getItemAncestors(item) {
|
|
11
|
+
return item.ancestors?.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM") || [];
|
|
12
|
+
}
|
|
13
|
+
function getItemChildren(item) {
|
|
14
|
+
return nodeListToArray(item.querySelectorAll("calcite-combobox-item"));
|
|
15
|
+
}
|
|
16
|
+
function hasActiveChildren(node) {
|
|
17
|
+
const items = nodeListToArray(node.querySelectorAll("calcite-combobox-item"));
|
|
18
|
+
return items.filter((item) => item.selected).length > 0;
|
|
19
|
+
}
|
|
20
|
+
function getDepth(element) {
|
|
21
|
+
if (isServer) {
|
|
22
|
+
return 0;
|
|
93
23
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
const hexChar = /^[0-9A-F]$/i;
|
|
101
|
-
const shorthandHex = /^#[0-9A-F]{3}$/i;
|
|
102
|
-
const longhandHex = /^#[0-9A-F]{6}$/i;
|
|
103
|
-
const shorthandHexWithAlpha = /^#[0-9A-F]{4}$/i;
|
|
104
|
-
const longhandHexWithAlpha = /^#[0-9A-F]{8}$/i;
|
|
105
|
-
function colorFromValue(value, clearable = false, mode) {
|
|
106
|
-
if (clearable && !value) {
|
|
107
|
-
return void 0;
|
|
108
|
-
}
|
|
109
|
-
return Color(
|
|
110
|
-
value != null && typeof value === "object" && alphaCompatible(mode) ? normalizeColor(value) : value
|
|
24
|
+
const result = document.evaluate(
|
|
25
|
+
"ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",
|
|
26
|
+
element,
|
|
27
|
+
null,
|
|
28
|
+
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
|
|
29
|
+
null
|
|
111
30
|
);
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
return hex.length === length && pattern.test(hex);
|
|
123
|
-
}
|
|
124
|
-
function isShorthandHex(hex, hasAlpha = false) {
|
|
125
|
-
const hexLength = hasAlpha ? 5 : 4;
|
|
126
|
-
const hexPattern = hasAlpha ? shorthandHexWithAlpha : shorthandHex;
|
|
127
|
-
return evaluateHex(hex, hexLength, hexPattern);
|
|
128
|
-
}
|
|
129
|
-
function isLonghandHex(hex, hasAlpha = false) {
|
|
130
|
-
const hexLength = hasAlpha ? 9 : 7;
|
|
131
|
-
const hexPattern = hasAlpha ? longhandHexWithAlpha : longhandHex;
|
|
132
|
-
return evaluateHex(hex, hexLength, hexPattern);
|
|
133
|
-
}
|
|
134
|
-
function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
|
|
135
|
-
hex = hex.toLowerCase();
|
|
136
|
-
if (!hex.startsWith("#")) {
|
|
137
|
-
hex = `#${hex}`;
|
|
138
|
-
}
|
|
139
|
-
if (isShorthandHex(hex, hasAlpha)) {
|
|
140
|
-
return rgbToHex(hexToRGB(hex));
|
|
141
|
-
}
|
|
142
|
-
if (hasAlpha && convertFromHexToHexa && isValidHex(
|
|
143
|
-
hex,
|
|
144
|
-
false
|
|
145
|
-
/* we only care about RGB hex for conversion */
|
|
146
|
-
)) {
|
|
147
|
-
const isShorthand = isShorthandHex(hex, false);
|
|
148
|
-
return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}`));
|
|
31
|
+
const depth = result.snapshotLength;
|
|
32
|
+
if (depth > 0 && element.nodeName === ComboboxItemSelector) {
|
|
33
|
+
for (let i = 0; i < depth; i++) {
|
|
34
|
+
const parent = result.snapshotItem(i);
|
|
35
|
+
if (parent.nodeName === ComboboxItemGroupSelector) {
|
|
36
|
+
return depth;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
} else if (element.nodeName === ComboboxItemGroupSelector) {
|
|
40
|
+
return depth;
|
|
149
41
|
}
|
|
150
|
-
return
|
|
151
|
-
}
|
|
152
|
-
function hexify(color, hasAlpha = false) {
|
|
153
|
-
return hasAlpha ? color.hexa() : color.hex();
|
|
154
|
-
}
|
|
155
|
-
function rgbToHex(color) {
|
|
156
|
-
const { r, g, b } = color;
|
|
157
|
-
const rChars = numToHex(r);
|
|
158
|
-
const gChars = numToHex(g);
|
|
159
|
-
const bChars = numToHex(b);
|
|
160
|
-
const alphaChars = "a" in color ? numToHex(color.a * 255) : "";
|
|
161
|
-
return `#${rChars}${gChars}${bChars}${alphaChars}`.toLowerCase();
|
|
162
|
-
}
|
|
163
|
-
function numToHex(num) {
|
|
164
|
-
return num.toString(16).padStart(2, "0");
|
|
42
|
+
return depth + 1;
|
|
165
43
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
168
|
-
...omit(colorObject, ["alpha"]),
|
|
169
|
-
a: colorObject.alpha ?? 1
|
|
170
|
-
/* Color() will omit alpha if 1 */
|
|
171
|
-
};
|
|
44
|
+
function isSingleLike(selectionMode) {
|
|
45
|
+
return selectionMode.includes("single");
|
|
172
46
|
}
|
|
173
|
-
function
|
|
174
|
-
return
|
|
47
|
+
function getLabel(item) {
|
|
48
|
+
return item.shortHeading || item.heading;
|
|
175
49
|
}
|
|
176
|
-
function
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
let g;
|
|
180
|
-
let b;
|
|
181
|
-
let a;
|
|
182
|
-
const isShorthand = hex.length === 3 || hex.length === 4;
|
|
183
|
-
if (isShorthand) {
|
|
184
|
-
const [first, second, third, fourth] = hex.split("");
|
|
185
|
-
r = parseInt(`${first}${first}`, 16);
|
|
186
|
-
g = parseInt(`${second}${second}`, 16);
|
|
187
|
-
b = parseInt(`${third}${third}`, 16);
|
|
188
|
-
a = parseInt(`${fourth}${fourth}`, 16) / 255;
|
|
189
|
-
} else {
|
|
190
|
-
r = parseInt(hex.slice(0, 2), 16);
|
|
191
|
-
g = parseInt(hex.slice(2, 4), 16);
|
|
192
|
-
b = parseInt(hex.slice(4, 6), 16);
|
|
193
|
-
a = parseInt(hex.slice(6, 8), 16) / 255;
|
|
50
|
+
function orderByPrevious(items, previousItems) {
|
|
51
|
+
if (items.length < 2 || previousItems.length === 0) {
|
|
52
|
+
return items;
|
|
194
53
|
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
const
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
RGB_CSS: "rgb-css",
|
|
202
|
-
RGBA_CSS: "rgba-css",
|
|
203
|
-
HSL_CSS: "hsl-css",
|
|
204
|
-
HSLA_CSS: "hsla-css"
|
|
205
|
-
});
|
|
206
|
-
const ObjectColorMode = enumify({
|
|
207
|
-
RGB: "rgb",
|
|
208
|
-
RGBA: "rgba",
|
|
209
|
-
HSL: "hsl",
|
|
210
|
-
HSLA: "hsla",
|
|
211
|
-
HSV: "hsv",
|
|
212
|
-
HSVA: "hsva"
|
|
213
|
-
});
|
|
214
|
-
function parseMode(colorValue) {
|
|
215
|
-
if (typeof colorValue === "string") {
|
|
216
|
-
if (colorValue.startsWith("#")) {
|
|
217
|
-
const { length } = colorValue;
|
|
218
|
-
if (length === 4 || length === 7) {
|
|
219
|
-
return CSSColorMode.HEX;
|
|
220
|
-
}
|
|
221
|
-
if (length === 5 || length === 9) {
|
|
222
|
-
return CSSColorMode.HEXA;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
if (colorValue.startsWith("rgba(")) {
|
|
226
|
-
return CSSColorMode.RGBA_CSS;
|
|
227
|
-
}
|
|
228
|
-
if (colorValue.startsWith("rgb(")) {
|
|
229
|
-
return CSSColorMode.RGB_CSS;
|
|
54
|
+
const previousItemOrder = new Map(previousItems.map((item, index) => [item, index]));
|
|
55
|
+
return [...items].sort((a, b) => {
|
|
56
|
+
const aOrder = previousItemOrder.get(a);
|
|
57
|
+
const bOrder = previousItemOrder.get(b);
|
|
58
|
+
if (aOrder !== void 0 && bOrder !== void 0) {
|
|
59
|
+
return aOrder - bOrder;
|
|
230
60
|
}
|
|
231
|
-
if (
|
|
232
|
-
return
|
|
61
|
+
if (aOrder !== void 0) {
|
|
62
|
+
return -1;
|
|
233
63
|
}
|
|
234
|
-
if (
|
|
235
|
-
return
|
|
64
|
+
if (bOrder !== void 0) {
|
|
65
|
+
return 1;
|
|
236
66
|
}
|
|
67
|
+
return 0;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function consumeValue(counts, value) {
|
|
71
|
+
const count = counts.get(value) ?? 0;
|
|
72
|
+
if (count === 0) {
|
|
73
|
+
return false;
|
|
237
74
|
}
|
|
238
|
-
if (
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
if (hasChannels(colorValue, "h", "s", "l")) {
|
|
243
|
-
return hasChannels(colorValue, "a") ? ObjectColorMode.HSLA : ObjectColorMode.HSL;
|
|
244
|
-
}
|
|
245
|
-
if (hasChannels(colorValue, "h", "s", "v")) {
|
|
246
|
-
return hasChannels(colorValue, "a") ? ObjectColorMode.HSVA : ObjectColorMode.HSV;
|
|
247
|
-
}
|
|
75
|
+
if (count === 1) {
|
|
76
|
+
counts.delete(value);
|
|
77
|
+
} else {
|
|
78
|
+
counts.set(value, count - 1);
|
|
248
79
|
}
|
|
249
|
-
return
|
|
250
|
-
}
|
|
251
|
-
function hasChannels(colorObject, ...channels) {
|
|
252
|
-
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
|
253
|
-
}
|
|
254
|
-
function colorEqual(value1, value2) {
|
|
255
|
-
return value1?.rgb().array().toString() === value2?.rgb().array().toString();
|
|
256
|
-
}
|
|
257
|
-
function alphaCompatible(mode) {
|
|
258
|
-
return mode === CSSColorMode.HEXA || mode === CSSColorMode.RGBA_CSS || mode === CSSColorMode.HSLA_CSS || mode === ObjectColorMode.RGBA || mode === ObjectColorMode.HSLA || mode === ObjectColorMode.HSVA;
|
|
259
|
-
}
|
|
260
|
-
function toAlphaMode(mode) {
|
|
261
|
-
const alphaMode = mode === CSSColorMode.HEX ? CSSColorMode.HEXA : mode === CSSColorMode.RGB_CSS ? CSSColorMode.RGBA_CSS : mode === CSSColorMode.HSL_CSS ? CSSColorMode.HSLA_CSS : mode === ObjectColorMode.RGB ? ObjectColorMode.RGBA : mode === ObjectColorMode.HSL ? ObjectColorMode.HSLA : mode === ObjectColorMode.HSV ? ObjectColorMode.HSVA : mode;
|
|
262
|
-
return alphaMode;
|
|
80
|
+
return true;
|
|
263
81
|
}
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
};
|
|
82
|
+
function orderValuesByPrevious(selectedValues, previousValues) {
|
|
83
|
+
if (selectedValues.length < 2 || previousValues.length === 0) {
|
|
84
|
+
return selectedValues;
|
|
85
|
+
}
|
|
86
|
+
const selectedValueCounts = /* @__PURE__ */ new Map();
|
|
87
|
+
selectedValues.forEach((value) => {
|
|
88
|
+
selectedValueCounts.set(value, (selectedValueCounts.get(value) ?? 0) + 1);
|
|
89
|
+
});
|
|
90
|
+
const orderedSelectedValues = previousValues.filter((value) => consumeValue(selectedValueCounts, value));
|
|
91
|
+
if (orderedSelectedValues.length === 0) {
|
|
92
|
+
return selectedValues;
|
|
93
|
+
}
|
|
94
|
+
selectedValues.forEach((value) => {
|
|
95
|
+
if (consumeValue(selectedValueCounts, value)) {
|
|
96
|
+
orderedSelectedValues.push(value);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
return orderedSelectedValues;
|
|
283
100
|
}
|
|
284
101
|
export {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
colorFromValue as c,
|
|
295
|
-
DEFAULT_STORAGE_KEY_PREFIX as d,
|
|
296
|
-
alphaCompatible as e,
|
|
297
|
-
colorEqual as f,
|
|
298
|
-
getSliderWidth as g,
|
|
299
|
-
hexToRGB as h,
|
|
300
|
-
isValidHex as i,
|
|
301
|
-
CSS as j,
|
|
302
|
-
HUE_LIMIT_CONSTRAINED as k,
|
|
303
|
-
normalizeAlpha as l,
|
|
304
|
-
alphaToOpacity as m,
|
|
305
|
-
normalizeHex as n,
|
|
306
|
-
opacityToAlpha as o,
|
|
307
|
-
parseMode as p,
|
|
308
|
-
SCOPE_SIZE as q,
|
|
309
|
-
toAlphaMode as r,
|
|
310
|
-
isLonghandHex as s,
|
|
311
|
-
toNonAlphaMode as t,
|
|
312
|
-
isShorthandHex as u,
|
|
313
|
-
rgbToHex as v,
|
|
314
|
-
hexChar as w
|
|
102
|
+
orderByPrevious as a,
|
|
103
|
+
getItemAncestors as b,
|
|
104
|
+
getItemChildren as c,
|
|
105
|
+
getAncestors as d,
|
|
106
|
+
getDepth as e,
|
|
107
|
+
getLabel as g,
|
|
108
|
+
hasActiveChildren as h,
|
|
109
|
+
isSingleLike as i,
|
|
110
|
+
orderValuesByPrevious as o
|
|
315
111
|
};
|