@esri/calcite-components 3.2.0-next.8 → 3.2.0
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/THIRD-PARTY-LICENSES.md +64 -64
- package/dist/calcite/{5GIPQRAP.js → 2VWSWHUO.js} +2 -2
- package/dist/calcite/{57TKKIMA.js → 2XJXDX35.js} +2 -2
- package/dist/calcite/{BWI7EASN.js → 2ZPYAPUV.js} +1 -1
- package/dist/calcite/33LF6V2F.js +4 -0
- package/dist/calcite/{RPYGF6DR.js → 3YMJIQXL.js} +1 -1
- package/dist/calcite/{RXUW2ZPM.js → 4KW4L2NG.js} +2 -2
- package/dist/calcite/4LKLXJQ3.js +4 -0
- package/dist/calcite/{X5TBQPJS.js → 4LWRPTS6.js} +1 -1
- package/dist/calcite/{25YKJDJU.js → 4LYUPSQL.js} +1 -1
- package/dist/calcite/4PW5TCQQ.js +4 -0
- package/dist/calcite/4X4WSYXE.js +4 -0
- package/dist/calcite/{PX53SOKE.js → 4ZUPNG3R.js} +2 -2
- package/dist/calcite/57JX5UY5.js +4 -0
- package/dist/calcite/5ED2MDFW.js +4 -0
- package/dist/calcite/5EXDVQNV.js +4 -0
- package/dist/calcite/5QTBLU5A.js +4 -0
- package/dist/calcite/{ARJFZBQD.js → 5W7APHDH.js} +1 -1
- package/dist/calcite/{CRR5THX6.js → 5Z5PVQME.js} +2 -2
- package/dist/calcite/{KZDTHGML.js → 5ZIDO3WK.js} +1 -1
- package/dist/calcite/{MKOXCM2U.js → 6FWOJZJZ.js} +2 -2
- package/dist/calcite/6GGGMC6V.js +4 -0
- package/dist/calcite/6XKL4KIC.js +4 -0
- package/dist/calcite/6YNUUPAM.js +4 -0
- package/dist/calcite/724E4DCX.js +4 -0
- package/dist/calcite/7F2T2TZB.js +4 -0
- package/dist/calcite/{DDVGJ3AI.js → 7MKN2HK4.js} +2 -2
- package/dist/calcite/7PMKHZBL.js +4 -0
- package/dist/calcite/{PKGKHGZV.js → 7T6XJUIF.js} +2 -2
- package/dist/calcite/A4ZVVA7X.js +4 -0
- package/dist/calcite/A6PXYMIR.js +6 -0
- package/dist/calcite/A7GNZ3QS.js +4 -0
- package/dist/calcite/{F4JN4HLT.js → AE3GS3TO.js} +2 -2
- package/dist/calcite/{WFVAIMKJ.js → AGGZYDSJ.js} +2 -2
- package/dist/calcite/AIAWPDXP.js +4 -0
- package/dist/calcite/{4MIR3MCT.js → AMVXXWNE.js} +2 -2
- package/dist/calcite/AROVLRPQ.js +4 -0
- package/dist/calcite/ARQGD5AY.js +4 -0
- package/dist/calcite/{ISUO3HZG.js → BIZ5KGJ4.js} +2 -2
- package/dist/calcite/BLX3NI2A.js +4 -0
- package/dist/calcite/BRNVT3TW.js +4 -0
- package/dist/calcite/{3LVKLTBP.js → BTG3ZQHR.js} +1 -1
- package/dist/calcite/{K5N57473.js → BV4RQJCP.js} +1 -1
- package/dist/calcite/BZLUPMH7.js +4 -0
- package/dist/calcite/C3MM7YIK.js +4 -0
- package/dist/calcite/{XA67TEL6.js → CBCJC3QL.js} +2 -2
- package/dist/calcite/COBNOPHA.js +4 -0
- package/dist/calcite/{DNFDLZDF.js → CPPK4EL6.js} +2 -2
- package/dist/calcite/{5EQJU55O.js → CXROJX6Z.js} +2 -2
- package/dist/calcite/{IPY56QZG.js → D6JA6XN7.js} +2 -2
- package/dist/calcite/{XVQP5YFF.js → D6ZFQYBQ.js} +2 -2
- package/dist/calcite/D77FEDVT.js +4 -0
- package/dist/calcite/{3B3WOBFK.js → DHVU76YN.js} +2 -2
- package/dist/calcite/EDY2FMMS.js +4 -0
- package/dist/calcite/EFSPPMQZ.js +4 -0
- package/dist/calcite/EPTT6FOG.js +4 -0
- package/dist/calcite/EQGLLJWZ.js +4 -0
- package/dist/calcite/{6ZRIY6GI.js → EYQ4MKP4.js} +2 -2
- package/dist/calcite/{VE6NAQ25.js → F3SWCYBI.js} +2 -2
- package/dist/calcite/{H5ZZ3QTQ.js → F5HXSDNY.js} +1 -1
- package/dist/calcite/F7IBMSKP.js +4 -0
- package/dist/calcite/FPUJ7TY4.js +4 -0
- package/dist/calcite/FR6DFQYT.js +4 -0
- package/dist/calcite/FRFT53GA.js +4 -0
- package/dist/calcite/{RQHIXF7V.js → FS2CKSAW.js} +2 -2
- package/dist/calcite/{SZQLBJAT.js → FYZ3GMZG.js} +2 -2
- package/dist/calcite/{6JX33DZY.js → GBG57GTY.js} +2 -2
- package/dist/calcite/GDY6EEGJ.js +4 -0
- package/dist/calcite/GWTJU2YA.js +4 -0
- package/dist/calcite/GXX53HP4.js +4 -0
- package/dist/calcite/H77KJPTL.js +4 -0
- package/dist/calcite/{ZVU2D4KF.js → HFKSCF6J.js} +2 -2
- package/dist/calcite/HKVYLC2Z.js +4 -0
- package/dist/calcite/{6X37DDK7.js → HL2RUMZE.js} +2 -2
- package/dist/calcite/HNYHSIBT.js +4 -0
- package/dist/calcite/I6U5TCK6.js +4 -0
- package/dist/calcite/I7DJ6W5P.js +4 -0
- package/dist/calcite/IDBLX5MO.js +4 -0
- package/dist/calcite/IET7BEH6.js +4 -0
- package/dist/calcite/{3B4ZMICD.js → IH3P3OTS.js} +2 -2
- package/dist/calcite/{2KAP7KHG.js → IKVKGIXU.js} +2 -2
- package/dist/calcite/J7M4MHMP.js +4 -0
- package/dist/calcite/JHMJHPB7.js +4 -0
- package/dist/calcite/JJ3TNPPG.js +4 -0
- package/dist/calcite/{IGI7XHYM.js → JMNH6CX4.js} +1 -1
- package/dist/calcite/{FCMBVF4G.js → JNUM2VBP.js} +2 -2
- package/dist/calcite/JO4MYWKA.js +4 -0
- package/dist/calcite/JO5PFPNE.js +4 -0
- package/dist/calcite/JWDWKQES.js +4 -0
- package/dist/calcite/{JKCW2R26.js → JYXQGOKN.js} +1 -1
- package/dist/calcite/JZ7LMAA4.js +4 -0
- package/dist/calcite/KMO43TL6.js +4 -0
- package/dist/calcite/KNKTO7BF.js +4 -0
- package/dist/calcite/KSX4MO62.js +4 -0
- package/dist/calcite/KTLYNRYB.js +4 -0
- package/dist/calcite/L4MGQ327.js +4 -0
- package/dist/calcite/{YIA67T7L.js → LFMPTQHL.js} +2 -2
- package/dist/calcite/{IMYVM6PP.js → LKMYJMH6.js} +2 -2
- package/dist/calcite/LPBOLYYY.js +4 -0
- package/dist/calcite/M6O66VHM.js +4 -0
- package/dist/calcite/{7FNXODFT.js → MAUHZXDA.js} +1 -1
- package/dist/calcite/MMABND5P.js +4 -0
- package/dist/calcite/{UBYQTSIZ.js → MN7FASIH.js} +2 -2
- package/dist/calcite/N7VCH2CZ.js +4 -0
- package/dist/calcite/{DBYT3GGY.js → NIF4A2CN.js} +2 -2
- package/dist/calcite/NIGVBTMJ.js +4 -0
- package/dist/calcite/{5GXR7XJR.js → NOQW64ZT.js} +2 -2
- package/dist/calcite/NT65MCOL.js +4 -0
- package/dist/calcite/NTYF4BYL.js +4 -0
- package/dist/calcite/{XG2Y7SPV.js → O26S5KNA.js} +2 -2
- package/dist/calcite/{AP6UZLXY.js → O3OCUHQX.js} +3 -3
- package/dist/calcite/{BWZGXCV2.js → OI2S43L6.js} +2 -2
- package/dist/calcite/{6OVOVMEJ.js → ORUBBEG4.js} +3 -3
- package/dist/calcite/OTR7EFHA.js +4 -0
- package/dist/calcite/OXIG3UQX.js +4 -0
- package/dist/calcite/OYLV6C5O.js +4 -0
- package/dist/calcite/P7SDV27A.js +4 -0
- package/dist/calcite/PLAT5F6Z.js +4 -0
- package/dist/calcite/{U6I5KCO7.js → PXSMRHY6.js} +2 -2
- package/dist/calcite/{U6Z7HEQF.js → PZWAMXZN.js} +2 -2
- package/dist/calcite/{OKAPKGPC.js → Q6D3SXPB.js} +1 -1
- package/dist/calcite/QDUF6PLE.js +4 -0
- package/dist/calcite/{UQPOTXOA.js → R4RIHSHB.js} +1 -1
- package/dist/calcite/{LDA2KEW6.js → RCGAFOG2.js} +2 -2
- package/dist/calcite/{CZA4BUJS.js → RFLLPTVQ.js} +2 -2
- package/dist/calcite/{GBJDVAPM.js → RIPCYHYN.js} +2 -2
- package/dist/calcite/RP5ZF7Z4.js +4 -0
- package/dist/calcite/{J5HTPOM6.js → S2CYF2UT.js} +1 -1
- package/dist/calcite/S3OWE3OZ.js +4 -0
- package/dist/calcite/SELO3ARM.js +4 -0
- package/dist/calcite/SGERRLJ6.js +4 -0
- package/dist/calcite/SIJ4YJOE.js +4 -0
- package/dist/calcite/SR7WIFHH.js +4 -0
- package/dist/calcite/{LXTTQN7Q.js → TJVULDS6.js} +2 -2
- package/dist/calcite/TNGZVW6J.js +4 -0
- package/dist/calcite/{PPH64LLP.js → TOJOSNQO.js} +2 -2
- package/dist/calcite/TV4RA23F.js +4 -0
- package/dist/calcite/{KBL6LP4F.js → TZX6J2CY.js} +2 -2
- package/dist/calcite/{RN5VUZPY.js → U3ASAMB5.js} +2 -2
- package/dist/calcite/UAIMJEKZ.js +4 -0
- package/dist/calcite/UBFWUWDR.js +4 -0
- package/dist/calcite/{3XIUBW54.js → USZDNB3N.js} +1 -1
- package/dist/calcite/UXQGRKED.js +4 -0
- package/dist/calcite/VFQBULT7.js +4 -0
- package/dist/calcite/VGL3WVHU.js +4 -0
- package/dist/calcite/VL3H5XEC.js +4 -0
- package/dist/calcite/{MBXKQUSU.js → VMKYGMQE.js} +2 -2
- package/dist/calcite/VS5DUK5N.js +4 -0
- package/dist/calcite/{QAZFY7I6.js → VZKQBOJM.js} +2 -2
- package/dist/calcite/{XNPWEYA5.js → W27T3IZZ.js} +2 -2
- package/dist/calcite/W5KETLAD.js +4 -0
- package/dist/calcite/WMQZRSQB.js +4 -0
- package/dist/calcite/WOIUHABN.js +4 -0
- package/dist/calcite/{QGUFKUNX.js → WQASJHDE.js} +2 -2
- package/dist/calcite/WQMVF7FU.js +4 -0
- package/dist/calcite/WSN3L2FK.js +4 -0
- package/dist/calcite/XDXZC7TK.js +4 -0
- package/dist/calcite/{ERPFKQBM.js → XEDUET37.js} +2 -2
- package/dist/calcite/{2TK7P7OU.js → XJN5Z3JP.js} +2 -2
- package/dist/calcite/{X4TMNYBK.js → XQ3BDEY3.js} +2 -2
- package/dist/calcite/XRHSWUWV.js +4 -0
- package/dist/calcite/{JFQS4RJV.js → YGX5ZVDM.js} +2 -2
- package/dist/calcite/{6KEEH3LC.js → YMW6PFGO.js} +1 -1
- package/dist/calcite/{B675Y7Q7.js → YPQ2SFHJ.js} +2 -2
- package/dist/calcite/{ABRBZ6QR.js → YSRW4TZC.js} +1 -1
- package/dist/calcite/{MNHILYE7.js → YUCOP2VX.js} +2 -2
- package/dist/calcite/Z7R3MZGO.js +4 -0
- package/dist/calcite/{7FYOCQNY.js → ZCWNMSG2.js} +2 -2
- package/dist/calcite/{A7LITRZB.js → ZJPKOYKY.js} +2 -2
- package/dist/calcite/{FZEKF3F3.js → ZKLMMLWH.js} +1 -1
- package/dist/calcite/{SIN24NH3.js → ZP55CECM.js} +2 -2
- package/dist/calcite/{647MYONW.js → ZXTMKTM3.js} +2 -2
- package/dist/calcite/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages.json +1 -1
- package/dist/calcite/assets/icon/calendarHeatChart16.json +1 -0
- package/dist/calcite/assets/icon/calendarHeatChart24.json +1 -0
- package/dist/calcite/assets/icon/calendarHeatChart32.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart16.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart24.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum32.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart16.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart24.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined16F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined24F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined32F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked32.json +1 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +3 -3
- package/dist/chunks/ExpandToggle.js +7 -42
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +6 -2
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/_sortable.js +8 -0
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +2 -7
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +15 -6
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -5
- package/dist/chunks/form.js +2 -2
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +2259 -2254
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +2 -2
- package/dist/chunks/locale.js +17 -59
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +3 -2
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +9 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +5 -1
- package/dist/chunks/time.js +183 -148
- package/dist/chunks/useFocusTrap.js +2 -2
- package/dist/chunks/usePreventDocumentScroll.js +54 -0
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/utils.js +5 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +10 -6
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.d.ts +23 -5
- package/dist/components/calcite-accordion/customElement.js +4 -9
- package/dist/components/calcite-accordion-item/customElement.d.ts +9 -5
- package/dist/components/calcite-accordion-item/customElement.js +10 -15
- package/dist/components/calcite-accordion-item/resources.d.ts +2 -0
- package/dist/components/calcite-action/customElement.d.ts +49 -21
- package/dist/components/calcite-action/customElement.js +3 -12
- package/dist/components/calcite-action-bar/customElement.d.ts +47 -24
- package/dist/components/calcite-action-bar/customElement.js +55 -36
- package/dist/components/calcite-action-bar/resources.d.ts +1 -0
- package/dist/components/calcite-action-bar/utils.d.ts +0 -14
- package/dist/components/calcite-action-group/customElement.d.ts +26 -16
- package/dist/components/calcite-action-group/customElement.js +3 -12
- package/dist/components/calcite-action-menu/customElement.d.ts +31 -9
- package/dist/components/calcite-action-menu/customElement.js +6 -14
- package/dist/components/calcite-action-pad/customElement.d.ts +37 -23
- package/dist/components/calcite-action-pad/customElement.js +11 -12
- package/dist/components/calcite-alert/customElement.d.ts +52 -25
- package/dist/components/calcite-alert/customElement.js +3 -17
- package/dist/components/calcite-autocomplete/customElement.d.ts +62 -31
- package/dist/components/calcite-autocomplete/customElement.js +11 -44
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +7 -3
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -8
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +2 -6
- package/dist/components/calcite-avatar/customElement.d.ts +5 -1
- package/dist/components/calcite-avatar/customElement.js +2 -8
- package/dist/components/calcite-block/customElement.d.ts +64 -42
- package/dist/components/calcite-block/customElement.js +6 -19
- package/dist/components/calcite-block-group/customElement.d.ts +17 -7
- package/dist/components/calcite-block-group/customElement.js +6 -23
- package/dist/components/calcite-block-section/customElement.d.ts +17 -15
- package/dist/components/calcite-block-section/customElement.js +3 -15
- package/dist/components/calcite-button/customElement.d.ts +53 -20
- package/dist/components/calcite-button/customElement.js +5 -14
- package/dist/components/calcite-card/customElement.d.ts +37 -25
- package/dist/components/calcite-card/customElement.js +3 -12
- package/dist/components/calcite-card-group/customElement.d.ts +11 -7
- package/dist/components/calcite-card-group/customElement.js +2 -11
- package/dist/components/calcite-carousel/customElement.d.ts +45 -34
- package/dist/components/calcite-carousel/customElement.js +3 -14
- package/dist/components/calcite-carousel-item/customElement.d.ts +6 -2
- package/dist/components/calcite-carousel-item/customElement.js +2 -4
- package/dist/components/calcite-checkbox/customElement.d.ts +24 -6
- package/dist/components/calcite-checkbox/customElement.js +2 -11
- package/dist/components/calcite-chip/customElement.d.ts +51 -20
- package/dist/components/calcite-chip/customElement.js +3 -12
- package/dist/components/calcite-chip-group/customElement.d.ts +13 -7
- package/dist/components/calcite-chip-group/customElement.js +2 -11
- package/dist/components/calcite-color-picker/customElement.d.ts +57 -37
- package/dist/components/calcite-color-picker/customElement.js +24 -49
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +14 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -11
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +10 -2
- package/dist/components/calcite-color-picker-swatch/customElement.js +2 -8
- package/dist/components/calcite-combobox/customElement.d.ts +82 -44
- package/dist/components/calcite-combobox/customElement.js +144 -89
- package/dist/components/calcite-combobox/index.d.ts +1 -0
- package/dist/components/calcite-combobox/index.js +1 -0
- package/dist/components/calcite-combobox/resources.d.ts +9 -5
- package/dist/components/calcite-combobox-item/customElement.d.ts +29 -9
- package/dist/components/calcite-combobox-item/customElement.js +14 -13
- package/dist/components/calcite-combobox-item/resources.d.ts +7 -0
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +2 -6
- package/dist/components/calcite-date-picker/customElement.d.ts +40 -25
- package/dist/components/calcite-date-picker/customElement.js +3 -38
- package/dist/components/calcite-date-picker-day/customElement.d.ts +45 -9
- package/dist/components/calcite-date-picker-day/customElement.js +3 -12
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -1
- package/dist/components/calcite-date-picker-month/customElement.js +10 -77
- package/dist/components/calcite-date-picker-month-header/customElement.js +3 -23
- package/dist/components/calcite-dialog/customElement.d.ts +86 -43
- package/dist/components/calcite-dialog/customElement.js +39 -95
- package/dist/components/calcite-dialog/resources.d.ts +0 -2
- package/dist/components/calcite-dropdown/customElement.d.ts +37 -15
- package/dist/components/calcite-dropdown/customElement.js +4 -25
- package/dist/components/calcite-dropdown-group/customElement.d.ts +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +2 -8
- package/dist/components/calcite-dropdown-item/customElement.d.ts +12 -4
- package/dist/components/calcite-dropdown-item/customElement.js +2 -11
- package/dist/components/calcite-fab/customElement.d.ts +35 -7
- package/dist/components/calcite-fab/customElement.js +3 -10
- package/dist/components/calcite-filter/customElement.d.ts +21 -24
- package/dist/components/calcite-filter/customElement.js +4 -22
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.js +2 -20
- package/dist/components/calcite-flow-item/customElement.d.ts +75 -41
- package/dist/components/calcite-flow-item/customElement.js +3 -28
- package/dist/components/calcite-graph/customElement.js +2 -6
- package/dist/components/calcite-handle/customElement.d.ts +16 -15
- package/dist/components/calcite-handle/customElement.js +3 -12
- package/dist/components/calcite-icon/customElement.d.ts +15 -3
- package/dist/components/calcite-icon/customElement.js +2 -8
- package/dist/components/calcite-inline-editable/customElement.d.ts +30 -19
- package/dist/components/calcite-inline-editable/customElement.js +6 -16
- package/dist/components/calcite-input/customElement.d.ts +57 -24
- package/dist/components/calcite-input/customElement.js +11 -22
- package/dist/components/calcite-input-date-picker/customElement.d.ts +61 -26
- package/dist/components/calcite-input-date-picker/customElement.js +10 -30
- package/dist/components/calcite-input-message/customElement.d.ts +16 -4
- package/dist/components/calcite-input-message/customElement.js +2 -8
- package/dist/components/calcite-input-number/customElement.d.ts +59 -25
- package/dist/components/calcite-input-number/customElement.js +47 -24
- package/dist/components/calcite-input-number/resources.d.ts +3 -0
- package/dist/components/calcite-input-text/customElement.d.ts +44 -22
- package/dist/components/calcite-input-text/customElement.js +8 -19
- package/dist/components/calcite-input-time-picker/customElement.d.ts +84 -28
- package/dist/components/calcite-input-time-picker/customElement.js +648 -522
- package/dist/components/calcite-input-time-picker/index.d.ts +1 -2
- package/dist/components/calcite-input-time-picker/index.js +1 -2
- package/dist/components/calcite-input-time-picker/resources.d.ts +18 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +111 -89
- package/dist/components/calcite-input-time-zone/customElement.js +6 -28
- package/dist/components/calcite-label/customElement.d.ts +16 -4
- package/dist/components/calcite-label/customElement.js +2 -8
- package/dist/components/calcite-link/customElement.d.ts +7 -2
- package/dist/components/calcite-link/customElement.js +2 -11
- package/dist/components/calcite-list/customElement.d.ts +53 -41
- package/dist/components/calcite-list/customElement.js +17 -37
- package/dist/components/calcite-list-item/customElement.d.ts +66 -37
- package/dist/components/calcite-list-item/customElement.js +6 -26
- package/dist/components/calcite-list-item-group/customElement.d.ts +8 -3
- package/dist/components/calcite-list-item-group/customElement.js +2 -8
- package/dist/components/calcite-loader/customElement.d.ts +22 -4
- package/dist/components/calcite-loader/customElement.js +2 -13
- package/dist/components/calcite-menu/customElement.d.ts +8 -9
- package/dist/components/calcite-menu/customElement.js +4 -13
- package/dist/components/calcite-menu-item/customElement.d.ts +21 -14
- package/dist/components/calcite-menu-item/customElement.js +3 -12
- package/dist/components/calcite-meter/customElement.d.ts +60 -12
- package/dist/components/calcite-meter/customElement.js +2 -8
- package/dist/components/calcite-modal/customElement.d.ts +58 -27
- package/dist/components/calcite-modal/customElement.js +22 -56
- package/dist/components/calcite-navigation/customElement.d.ts +15 -11
- package/dist/components/calcite-navigation/customElement.js +3 -10
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-logo/customElement.js +2 -7
- package/dist/components/calcite-navigation-user/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-user/customElement.js +2 -7
- package/dist/components/calcite-notice/customElement.d.ts +40 -21
- package/dist/components/calcite-notice/customElement.js +4 -13
- package/dist/components/calcite-option/customElement.d.ts +10 -2
- package/dist/components/calcite-option/customElement.js +2 -8
- package/dist/components/calcite-option-group/customElement.d.ts +6 -2
- package/dist/components/calcite-option-group/customElement.js +2 -8
- package/dist/components/calcite-pagination/customElement.d.ts +36 -21
- package/dist/components/calcite-pagination/customElement.js +3 -19
- package/dist/components/calcite-panel/customElement.d.ts +75 -42
- package/dist/components/calcite-panel/customElement.js +5 -26
- package/dist/components/calcite-panel/resources.d.ts +1 -0
- package/dist/components/calcite-popover/customElement.d.ts +59 -24
- package/dist/components/calcite-popover/customElement.js +3 -18
- package/dist/components/calcite-progress/customElement.d.ts +12 -2
- package/dist/components/calcite-progress/customElement.js +2 -4
- package/dist/components/calcite-radio-button/customElement.d.ts +18 -4
- package/dist/components/calcite-radio-button/customElement.js +6 -15
- package/dist/components/calcite-radio-button/resources.d.ts +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +23 -9
- package/dist/components/calcite-radio-button-group/customElement.js +3 -12
- package/dist/components/calcite-rating/customElement.d.ts +33 -19
- package/dist/components/calcite-rating/customElement.js +3 -13
- package/dist/components/calcite-scrim/customElement.d.ts +7 -8
- package/dist/components/calcite-scrim/customElement.js +3 -9
- package/dist/components/calcite-segmented-control/customElement.d.ts +33 -12
- package/dist/components/calcite-segmented-control/customElement.js +2 -11
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +10 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -8
- package/dist/components/calcite-select/customElement.d.ts +23 -10
- package/dist/components/calcite-select/customElement.js +2 -11
- package/dist/components/calcite-sheet/customElement.d.ts +45 -18
- package/dist/components/calcite-sheet/customElement.js +40 -58
- package/dist/components/calcite-sheet/resources.d.ts +0 -2
- package/dist/components/calcite-shell/customElement.d.ts +17 -13
- package/dist/components/calcite-shell/customElement.js +7 -8
- package/dist/components/calcite-shell-center-row/customElement.d.ts +17 -5
- package/dist/components/calcite-shell-center-row/customElement.js +2 -8
- package/dist/components/calcite-shell-panel/customElement.d.ts +28 -14
- package/dist/components/calcite-shell-panel/customElement.js +156 -204
- package/dist/components/calcite-shell-panel/index.d.ts +1 -0
- package/dist/components/calcite-shell-panel/index.js +1 -0
- package/dist/components/calcite-shell-panel/interfaces.d.ts +8 -0
- package/dist/components/calcite-shell-panel/resources.d.ts +4 -1
- package/dist/components/calcite-slider/customElement.d.ts +73 -16
- package/dist/components/calcite-slider/customElement.js +2 -69
- package/dist/components/calcite-sort-handle/customElement.d.ts +39 -30
- package/dist/components/calcite-sort-handle/customElement.js +4 -15
- package/dist/components/calcite-sortable-list/customElement.d.ts +22 -6
- package/dist/components/calcite-sortable-list/customElement.js +2 -8
- package/dist/components/calcite-split-button/customElement.d.ts +41 -10
- package/dist/components/calcite-split-button/customElement.js +2 -13
- package/dist/components/calcite-stack/customElement.d.ts +10 -6
- package/dist/components/calcite-stack/customElement.js +2 -6
- package/dist/components/calcite-stepper/customElement.d.ts +28 -21
- package/dist/components/calcite-stepper/customElement.js +4 -21
- package/dist/components/calcite-stepper/resources.d.ts +5 -0
- package/dist/components/calcite-stepper-item/customElement.d.ts +29 -14
- package/dist/components/calcite-stepper-item/customElement.js +4 -14
- package/dist/components/calcite-stepper-item/resources.d.ts +1 -0
- package/dist/components/calcite-switch/customElement.d.ts +16 -4
- package/dist/components/calcite-switch/customElement.js +3 -12
- package/dist/components/calcite-tab/customElement.d.ts +3 -1
- package/dist/components/calcite-tab/customElement.js +3 -17
- package/dist/components/calcite-tab-nav/customElement.d.ts +12 -19
- package/dist/components/calcite-tab-nav/customElement.js +14 -25
- package/dist/components/calcite-tab-title/customElement.d.ts +27 -16
- package/dist/components/calcite-tab-title/customElement.js +3 -25
- package/dist/components/calcite-table/customElement.d.ts +62 -33
- package/dist/components/calcite-table/customElement.js +10 -19
- package/dist/components/calcite-table-cell/customElement.d.ts +11 -12
- package/dist/components/calcite-table-cell/customElement.js +3 -12
- package/dist/components/calcite-table-header/customElement.d.ts +10 -11
- package/dist/components/calcite-table-header/customElement.js +3 -12
- package/dist/components/calcite-table-row/customElement.d.ts +14 -5
- package/dist/components/calcite-table-row/customElement.js +36 -25
- package/dist/components/calcite-tabs/customElement.d.ts +22 -6
- package/dist/components/calcite-tabs/customElement.js +2 -13
- package/dist/components/calcite-text-area/customElement.d.ts +45 -25
- package/dist/components/calcite-text-area/customElement.js +33 -31
- package/dist/components/calcite-text-area/resources.d.ts +1 -0
- package/dist/components/calcite-tile/customElement.d.ts +32 -10
- package/dist/components/calcite-tile/customElement.js +2 -11
- package/dist/components/calcite-tile-group/customElement.d.ts +22 -8
- package/dist/components/calcite-tile-group/customElement.js +2 -8
- package/dist/components/calcite-tile-select/customElement.d.ts +34 -8
- package/dist/components/calcite-tile-select/customElement.js +2 -11
- package/dist/components/calcite-tile-select-group/customElement.d.ts +8 -2
- package/dist/components/calcite-tile-select-group/customElement.js +2 -6
- package/dist/components/calcite-time-picker/customElement.d.ts +18 -15
- package/dist/components/calcite-time-picker/customElement.js +25 -23
- package/dist/components/calcite-tip/customElement.d.ts +20 -15
- package/dist/components/calcite-tip/customElement.js +3 -9
- package/dist/components/calcite-tip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -5
- package/dist/components/calcite-tip-manager/customElement.d.ts +17 -17
- package/dist/components/calcite-tip-manager/customElement.js +2 -12
- package/dist/components/calcite-tooltip/customElement.d.ts +27 -9
- package/dist/components/calcite-tooltip/customElement.js +2 -15
- package/dist/components/calcite-tree/customElement.d.ts +11 -7
- package/dist/components/calcite-tree/customElement.js +2 -8
- package/dist/components/calcite-tree-item/customElement.d.ts +18 -6
- package/dist/components/calcite-tree-item/customElement.js +2 -15
- package/dist/components/functional/Validation.d.ts +3 -2
- package/dist/controllers/time/time.d.ts +160 -0
- package/dist/controllers/useFocusTrap.d.ts +1 -1
- package/dist/controllers/usePreventDocumentScroll.d.ts +22 -0
- package/dist/controllers/useT9n.d.ts +1 -1
- package/dist/custom-theme/block.d.ts +3 -0
- package/dist/custom-theme/filter.d.ts +17 -0
- package/dist/custom-theme/input-number.d.ts +27 -0
- package/dist/custom-theme/notice.d.ts +3 -0
- package/dist/custom-theme/radio-button-group.d.ts +5 -0
- package/dist/custom-theme/radio-button.d.ts +7 -0
- package/dist/custom-theme/shell-panel.d.ts +11 -6
- package/dist/custom-theme/stepper-item.d.ts +22 -0
- package/dist/custom-theme/stepper.d.ts +8 -0
- package/dist/custom-theme/switch.d.ts +1 -0
- package/dist/custom-theme/time-picker.d.ts +11 -0
- package/dist/docs/api.json +767 -252
- package/dist/docs/docs.json +1079 -513
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +414 -22
- package/dist/docs/vscode.html-custom-data.json +39 -21
- package/dist/docs/web-types.json +792 -361
- package/dist/extras/vscode-data.json +39 -21
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -7
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/dom.d.ts +9 -4
- package/dist/utils/locale.d.ts +1 -3
- package/dist/utils/overflow.d.ts +28 -0
- package/dist/utils/resources.d.ts +2 -0
- package/dist/utils/text.d.ts +7 -0
- package/dist/utils/time.d.ts +22 -24
- package/package.json +18 -13
- package/dist/calcite/25YKJDJU.js.LEGAL.txt +0 -3
- package/dist/calcite/2AN2HC6A.js +0 -4
- package/dist/calcite/2AN2HC6A.js.LEGAL.txt +0 -3
- package/dist/calcite/2BD5PCTQ.js +0 -4
- package/dist/calcite/2BD5PCTQ.js.LEGAL.txt +0 -3
- package/dist/calcite/2CXGG3AV.js +0 -4
- package/dist/calcite/2CXGG3AV.js.LEGAL.txt +0 -3
- package/dist/calcite/2KAP7KHG.js.LEGAL.txt +0 -3
- package/dist/calcite/2KFKT352.js +0 -4
- package/dist/calcite/2KFKT352.js.LEGAL.txt +0 -3
- package/dist/calcite/2TK7P7OU.js.LEGAL.txt +0 -0
- package/dist/calcite/2VRMURCZ.js +0 -4
- package/dist/calcite/2VRMURCZ.js.LEGAL.txt +0 -3
- package/dist/calcite/33CYW37W.js +0 -4
- package/dist/calcite/33CYW37W.js.LEGAL.txt +0 -3
- package/dist/calcite/3B3WOBFK.js.LEGAL.txt +0 -0
- package/dist/calcite/3B4ZMICD.js.LEGAL.txt +0 -3
- package/dist/calcite/3D6Z6J44.js +0 -4
- package/dist/calcite/3D6Z6J44.js.LEGAL.txt +0 -0
- package/dist/calcite/3FZSCEZR.js +0 -4
- package/dist/calcite/3FZSCEZR.js.LEGAL.txt +0 -0
- package/dist/calcite/3GGOXFBU.js +0 -4
- package/dist/calcite/3GGOXFBU.js.LEGAL.txt +0 -8
- package/dist/calcite/3IGTNCHT.js +0 -4
- package/dist/calcite/3IGTNCHT.js.LEGAL.txt +0 -0
- package/dist/calcite/3JNEH6JA.js +0 -4
- package/dist/calcite/3JNEH6JA.js.LEGAL.txt +0 -0
- package/dist/calcite/3LVKLTBP.js.LEGAL.txt +0 -3
- package/dist/calcite/3MZXMJ6J.js +0 -4
- package/dist/calcite/3MZXMJ6J.js.LEGAL.txt +0 -3
- package/dist/calcite/3POVQK7A.js +0 -4
- package/dist/calcite/3POVQK7A.js.LEGAL.txt +0 -3
- package/dist/calcite/3XIUBW54.js.LEGAL.txt +0 -3
- package/dist/calcite/426RUOCV.js +0 -4
- package/dist/calcite/426RUOCV.js.LEGAL.txt +0 -3
- package/dist/calcite/42E27R5Y.js +0 -4
- package/dist/calcite/42E27R5Y.js.LEGAL.txt +0 -3
- package/dist/calcite/445IHRDQ.js +0 -4
- package/dist/calcite/445IHRDQ.js.LEGAL.txt +0 -3
- package/dist/calcite/4AWOD3LL.js +0 -4
- package/dist/calcite/4AWOD3LL.js.LEGAL.txt +0 -0
- package/dist/calcite/4BUOZZUN.js +0 -4
- package/dist/calcite/4BUOZZUN.js.LEGAL.txt +0 -0
- package/dist/calcite/4FXMZNIC.js +0 -4
- package/dist/calcite/4FXMZNIC.js.LEGAL.txt +0 -3
- package/dist/calcite/4H6NBK4J.js +0 -4
- package/dist/calcite/4H6NBK4J.js.LEGAL.txt +0 -0
- package/dist/calcite/4HFTAEWK.js +0 -4
- package/dist/calcite/4HFTAEWK.js.LEGAL.txt +0 -3
- package/dist/calcite/4KKZAF2O.js +0 -4
- package/dist/calcite/4KKZAF2O.js.LEGAL.txt +0 -3
- package/dist/calcite/4L2CQ4T4.js +0 -4
- package/dist/calcite/4L2CQ4T4.js.LEGAL.txt +0 -3
- package/dist/calcite/4MIR3MCT.js.LEGAL.txt +0 -3
- package/dist/calcite/4R5NMWY4.js +0 -4
- package/dist/calcite/4R5NMWY4.js.LEGAL.txt +0 -3
- package/dist/calcite/4UZRBOF4.js +0 -4
- package/dist/calcite/4UZRBOF4.js.LEGAL.txt +0 -3
- package/dist/calcite/4YMPHRVU.js +0 -4
- package/dist/calcite/4YMPHRVU.js.LEGAL.txt +0 -3
- package/dist/calcite/57TKKIMA.js.LEGAL.txt +0 -3
- package/dist/calcite/5EQJU55O.js.LEGAL.txt +0 -0
- package/dist/calcite/5GIPQRAP.js.LEGAL.txt +0 -3
- package/dist/calcite/5GXR7XJR.js.LEGAL.txt +0 -3
- package/dist/calcite/5PIN7LB7.js +0 -4
- package/dist/calcite/5PIN7LB7.js.LEGAL.txt +0 -0
- package/dist/calcite/5RQLNNIA.js +0 -4
- package/dist/calcite/5RQLNNIA.js.LEGAL.txt +0 -0
- package/dist/calcite/647MYONW.js.LEGAL.txt +0 -3
- package/dist/calcite/6CUFY6YA.js +0 -4
- package/dist/calcite/6CUFY6YA.js.LEGAL.txt +0 -0
- package/dist/calcite/6FMATUYL.js +0 -4
- package/dist/calcite/6FMATUYL.js.LEGAL.txt +0 -3
- package/dist/calcite/6GPVDRKZ.js +0 -4
- package/dist/calcite/6GPVDRKZ.js.LEGAL.txt +0 -3
- package/dist/calcite/6JX33DZY.js.LEGAL.txt +0 -3
- package/dist/calcite/6KEEH3LC.js.LEGAL.txt +0 -3
- package/dist/calcite/6N6XCCHL.js +0 -4
- package/dist/calcite/6N6XCCHL.js.LEGAL.txt +0 -3
- package/dist/calcite/6OVOVMEJ.js.LEGAL.txt +0 -3
- package/dist/calcite/6SBX3VU4.js +0 -4
- package/dist/calcite/6SBX3VU4.js.LEGAL.txt +0 -3
- package/dist/calcite/6WZY6VAS.js +0 -4
- package/dist/calcite/6WZY6VAS.js.LEGAL.txt +0 -3
- package/dist/calcite/6X37DDK7.js.LEGAL.txt +0 -0
- package/dist/calcite/6ZRIY6GI.js.LEGAL.txt +0 -3
- package/dist/calcite/7FNXODFT.js.LEGAL.txt +0 -3
- package/dist/calcite/7FPA5555.js +0 -4
- package/dist/calcite/7FPA5555.js.LEGAL.txt +0 -0
- package/dist/calcite/7FYOCQNY.js.LEGAL.txt +0 -7
- package/dist/calcite/7XZ673E5.js +0 -4
- package/dist/calcite/7XZ673E5.js.LEGAL.txt +0 -3
- package/dist/calcite/A5VLYQIP.js +0 -4
- package/dist/calcite/A5VLYQIP.js.LEGAL.txt +0 -3
- package/dist/calcite/A7LITRZB.js.LEGAL.txt +0 -3
- package/dist/calcite/ABRBZ6QR.js.LEGAL.txt +0 -12
- package/dist/calcite/AEXK3F3P.js +0 -4
- package/dist/calcite/AEXK3F3P.js.LEGAL.txt +0 -3
- package/dist/calcite/AFPPGGDZ.js +0 -4
- package/dist/calcite/AFPPGGDZ.js.LEGAL.txt +0 -3
- package/dist/calcite/AP6UZLXY.js.LEGAL.txt +0 -17
- package/dist/calcite/ARJFZBQD.js.LEGAL.txt +0 -3
- package/dist/calcite/ASVGSSHK.js +0 -4
- package/dist/calcite/ASVGSSHK.js.LEGAL.txt +0 -3
- package/dist/calcite/B5DWOWJS.js +0 -4
- package/dist/calcite/B5DWOWJS.js.LEGAL.txt +0 -3
- package/dist/calcite/B675Y7Q7.js.LEGAL.txt +0 -3
- package/dist/calcite/BLCJXQPP.js +0 -4
- package/dist/calcite/BLCJXQPP.js.LEGAL.txt +0 -3
- package/dist/calcite/BPDLXN66.js +0 -4
- package/dist/calcite/BPDLXN66.js.LEGAL.txt +0 -0
- package/dist/calcite/BQ6O4A5H.js +0 -4
- package/dist/calcite/BQ6O4A5H.js.LEGAL.txt +0 -0
- package/dist/calcite/BSJB6C3S.js +0 -4
- package/dist/calcite/BSJB6C3S.js.LEGAL.txt +0 -0
- package/dist/calcite/BTKWICXD.js +0 -4
- package/dist/calcite/BTKWICXD.js.LEGAL.txt +0 -3
- package/dist/calcite/BWI7EASN.js.LEGAL.txt +0 -3
- package/dist/calcite/BWZGXCV2.js.LEGAL.txt +0 -3
- package/dist/calcite/C5DOXR4Q.js +0 -4
- package/dist/calcite/C5DOXR4Q.js.LEGAL.txt +0 -3
- package/dist/calcite/CQCPAXPV.js +0 -4
- package/dist/calcite/CQCPAXPV.js.LEGAL.txt +0 -0
- package/dist/calcite/CRR5THX6.js.LEGAL.txt +0 -3
- package/dist/calcite/CRYSZQXB.js +0 -4
- package/dist/calcite/CRYSZQXB.js.LEGAL.txt +0 -3
- package/dist/calcite/CTLDZB4Z.js +0 -4
- package/dist/calcite/CTLDZB4Z.js.LEGAL.txt +0 -0
- package/dist/calcite/CZA4BUJS.js.LEGAL.txt +0 -3
- package/dist/calcite/DBYT3GGY.js.LEGAL.txt +0 -3
- package/dist/calcite/DDVGJ3AI.js.LEGAL.txt +0 -3
- package/dist/calcite/DFUVIGR5.js +0 -4
- package/dist/calcite/DFUVIGR5.js.LEGAL.txt +0 -0
- package/dist/calcite/DKJINFKV.js +0 -4
- package/dist/calcite/DKJINFKV.js.LEGAL.txt +0 -0
- package/dist/calcite/DNFDLZDF.js.LEGAL.txt +0 -0
- package/dist/calcite/DV5LVOU6.js +0 -4
- package/dist/calcite/DV5LVOU6.js.LEGAL.txt +0 -3
- package/dist/calcite/EQ3WHTPE.js +0 -4
- package/dist/calcite/EQ3WHTPE.js.LEGAL.txt +0 -0
- package/dist/calcite/ERPFKQBM.js.LEGAL.txt +0 -3
- package/dist/calcite/ESK27ZDQ.js +0 -4
- package/dist/calcite/ESK27ZDQ.js.LEGAL.txt +0 -3
- package/dist/calcite/EXPEABB5.js +0 -4
- package/dist/calcite/EXPEABB5.js.LEGAL.txt +0 -0
- package/dist/calcite/F4JN4HLT.js.LEGAL.txt +0 -15
- package/dist/calcite/FCMBVF4G.js.LEGAL.txt +0 -3
- package/dist/calcite/FDO4UPI3.js +0 -4
- package/dist/calcite/FDO4UPI3.js.LEGAL.txt +0 -3
- package/dist/calcite/FE4WAZ6Q.js +0 -4
- package/dist/calcite/FE4WAZ6Q.js.LEGAL.txt +0 -3
- package/dist/calcite/FIYBJG62.js +0 -4
- package/dist/calcite/FIYBJG62.js.LEGAL.txt +0 -3
- package/dist/calcite/FNYLOEQY.js +0 -4
- package/dist/calcite/FNYLOEQY.js.LEGAL.txt +0 -0
- package/dist/calcite/FZEKF3F3.js.LEGAL.txt +0 -3
- package/dist/calcite/GBJDVAPM.js.LEGAL.txt +0 -3
- package/dist/calcite/GRFG2SJL.js +0 -4
- package/dist/calcite/GRFG2SJL.js.LEGAL.txt +0 -3
- package/dist/calcite/GUDENJ5P.js +0 -4
- package/dist/calcite/GUDENJ5P.js.LEGAL.txt +0 -3
- package/dist/calcite/GZNBJ3WK.js +0 -6
- package/dist/calcite/GZNBJ3WK.js.LEGAL.txt +0 -145
- package/dist/calcite/H5ZZ3QTQ.js.LEGAL.txt +0 -0
- package/dist/calcite/HIAMLKEK.js +0 -4
- package/dist/calcite/HIAMLKEK.js.LEGAL.txt +0 -3
- package/dist/calcite/HKCFPBCD.js +0 -4
- package/dist/calcite/HKCFPBCD.js.LEGAL.txt +0 -3
- package/dist/calcite/I3WD7HNQ.js +0 -4
- package/dist/calcite/I3WD7HNQ.js.LEGAL.txt +0 -3
- package/dist/calcite/ICYHAJAD.js +0 -4
- package/dist/calcite/ICYHAJAD.js.LEGAL.txt +0 -3
- package/dist/calcite/IGI7XHYM.js.LEGAL.txt +0 -3
- package/dist/calcite/IKMOWPIR.js +0 -4
- package/dist/calcite/IKMOWPIR.js.LEGAL.txt +0 -3
- package/dist/calcite/ILWGXB7X.js +0 -4
- package/dist/calcite/ILWGXB7X.js.LEGAL.txt +0 -3
- package/dist/calcite/IMYVM6PP.js.LEGAL.txt +0 -3
- package/dist/calcite/IORMKFVZ.js +0 -4
- package/dist/calcite/IORMKFVZ.js.LEGAL.txt +0 -3
- package/dist/calcite/IPY56QZG.js.LEGAL.txt +0 -3
- package/dist/calcite/ISUO3HZG.js.LEGAL.txt +0 -3
- package/dist/calcite/J5HTPOM6.js.LEGAL.txt +0 -3
- package/dist/calcite/J7T3K7H4.js +0 -4
- package/dist/calcite/J7T3K7H4.js.LEGAL.txt +0 -0
- package/dist/calcite/JFQS4RJV.js.LEGAL.txt +0 -8
- package/dist/calcite/JH5YSED3.js +0 -4
- package/dist/calcite/JH5YSED3.js.LEGAL.txt +0 -3
- package/dist/calcite/JKCW2R26.js.LEGAL.txt +0 -3
- package/dist/calcite/JMTYMSAF.js +0 -4
- package/dist/calcite/JMTYMSAF.js.LEGAL.txt +0 -3
- package/dist/calcite/JXRMXLYL.js +0 -4
- package/dist/calcite/JXRMXLYL.js.LEGAL.txt +0 -3
- package/dist/calcite/K3LJZDZX.js +0 -4
- package/dist/calcite/K3LJZDZX.js.LEGAL.txt +0 -0
- package/dist/calcite/K5N57473.js.LEGAL.txt +0 -3
- package/dist/calcite/KACKHTVC.js +0 -4
- package/dist/calcite/KACKHTVC.js.LEGAL.txt +0 -3
- package/dist/calcite/KB64WHQM.js +0 -4
- package/dist/calcite/KB64WHQM.js.LEGAL.txt +0 -3
- package/dist/calcite/KBL6LP4F.js.LEGAL.txt +0 -3
- package/dist/calcite/KEFOUV55.js +0 -4
- package/dist/calcite/KEFOUV55.js.LEGAL.txt +0 -3
- package/dist/calcite/KESB4WDE.js +0 -4
- package/dist/calcite/KESB4WDE.js.LEGAL.txt +0 -3
- package/dist/calcite/KKIURLSZ.js +0 -4
- package/dist/calcite/KKIURLSZ.js.LEGAL.txt +0 -3
- package/dist/calcite/KMDLBEQU.js +0 -4
- package/dist/calcite/KMDLBEQU.js.LEGAL.txt +0 -3
- package/dist/calcite/KV3ZFMDK.js +0 -4
- package/dist/calcite/KV3ZFMDK.js.LEGAL.txt +0 -0
- package/dist/calcite/KVD3BJLT.js +0 -4
- package/dist/calcite/KVD3BJLT.js.LEGAL.txt +0 -0
- package/dist/calcite/KZDTHGML.js.LEGAL.txt +0 -3
- package/dist/calcite/L32ZCX7F.js +0 -4
- package/dist/calcite/L32ZCX7F.js.LEGAL.txt +0 -0
- package/dist/calcite/LDA2KEW6.js.LEGAL.txt +0 -3
- package/dist/calcite/LLIHXXUH.js +0 -4
- package/dist/calcite/LLIHXXUH.js.LEGAL.txt +0 -3
- package/dist/calcite/LLLVF72Q.js +0 -4
- package/dist/calcite/LLLVF72Q.js.LEGAL.txt +0 -0
- package/dist/calcite/LSOXOMC5.js +0 -4
- package/dist/calcite/LSOXOMC5.js.LEGAL.txt +0 -0
- package/dist/calcite/LXTTQN7Q.js.LEGAL.txt +0 -3
- package/dist/calcite/M7EGYC4A.js +0 -4
- package/dist/calcite/M7EGYC4A.js.LEGAL.txt +0 -0
- package/dist/calcite/MBXKQUSU.js.LEGAL.txt +0 -3
- package/dist/calcite/MEPYRDUS.js +0 -4
- package/dist/calcite/MEPYRDUS.js.LEGAL.txt +0 -3
- package/dist/calcite/MKOXCM2U.js.LEGAL.txt +0 -3
- package/dist/calcite/MNHILYE7.js.LEGAL.txt +0 -3
- package/dist/calcite/MUSD6O2C.js +0 -4
- package/dist/calcite/MUSD6O2C.js.LEGAL.txt +0 -3
- package/dist/calcite/N4R5NV43.js +0 -4
- package/dist/calcite/N4R5NV43.js.LEGAL.txt +0 -3
- package/dist/calcite/N4TM32IC.js +0 -4
- package/dist/calcite/N4TM32IC.js.LEGAL.txt +0 -3
- package/dist/calcite/NCTETSVH.js +0 -4
- package/dist/calcite/NCTETSVH.js.LEGAL.txt +0 -0
- package/dist/calcite/NJQ7HXUI.js +0 -4
- package/dist/calcite/NJQ7HXUI.js.LEGAL.txt +0 -0
- package/dist/calcite/NKAUTFMT.js +0 -4
- package/dist/calcite/NKAUTFMT.js.LEGAL.txt +0 -3
- package/dist/calcite/NN33UIOJ.js +0 -4
- package/dist/calcite/NN33UIOJ.js.LEGAL.txt +0 -3
- package/dist/calcite/NOS5P4MB.js +0 -4
- package/dist/calcite/NOS5P4MB.js.LEGAL.txt +0 -0
- package/dist/calcite/NQ5MR4DJ.js +0 -4
- package/dist/calcite/NQ5MR4DJ.js.LEGAL.txt +0 -3
- package/dist/calcite/NRUYYSGJ.js +0 -4
- package/dist/calcite/NRUYYSGJ.js.LEGAL.txt +0 -0
- package/dist/calcite/OKAPKGPC.js.LEGAL.txt +0 -3
- package/dist/calcite/OLCAP3UT.js +0 -4
- package/dist/calcite/OLCAP3UT.js.LEGAL.txt +0 -3
- package/dist/calcite/PDGJA2QZ.js +0 -4
- package/dist/calcite/PDGJA2QZ.js.LEGAL.txt +0 -3
- package/dist/calcite/PKGKHGZV.js.LEGAL.txt +0 -3
- package/dist/calcite/PPH64LLP.js.LEGAL.txt +0 -3
- package/dist/calcite/PX53SOKE.js.LEGAL.txt +0 -3
- package/dist/calcite/Q53ORX74.js +0 -4
- package/dist/calcite/Q53ORX74.js.LEGAL.txt +0 -0
- package/dist/calcite/QAZFY7I6.js.LEGAL.txt +0 -3
- package/dist/calcite/QCOAGYGQ.js +0 -4
- package/dist/calcite/QCOAGYGQ.js.LEGAL.txt +0 -0
- package/dist/calcite/QF2TJ7KA.js +0 -4
- package/dist/calcite/QF2TJ7KA.js.LEGAL.txt +0 -0
- package/dist/calcite/QGUFKUNX.js.LEGAL.txt +0 -3
- package/dist/calcite/QIJJ3WRJ.js +0 -4
- package/dist/calcite/QIJJ3WRJ.js.LEGAL.txt +0 -0
- package/dist/calcite/QKFYKDOU.js +0 -4
- package/dist/calcite/QKFYKDOU.js.LEGAL.txt +0 -3
- package/dist/calcite/QXI2GUI5.js +0 -4
- package/dist/calcite/QXI2GUI5.js.LEGAL.txt +0 -0
- package/dist/calcite/RF2AQL6Y.js +0 -4
- package/dist/calcite/RF2AQL6Y.js.LEGAL.txt +0 -3
- package/dist/calcite/RFJVAE6V.js +0 -4
- package/dist/calcite/RFJVAE6V.js.LEGAL.txt +0 -3
- package/dist/calcite/RN5VUZPY.js.LEGAL.txt +0 -3
- package/dist/calcite/RNUXKSWK.js +0 -4
- package/dist/calcite/RNUXKSWK.js.LEGAL.txt +0 -0
- package/dist/calcite/RPYGF6DR.js.LEGAL.txt +0 -0
- package/dist/calcite/RQHIXF7V.js.LEGAL.txt +0 -3
- package/dist/calcite/RUAWDDLG.js +0 -4
- package/dist/calcite/RUAWDDLG.js.LEGAL.txt +0 -3
- package/dist/calcite/RVE2FTWS.js +0 -4
- package/dist/calcite/RVE2FTWS.js.LEGAL.txt +0 -0
- package/dist/calcite/RXUW2ZPM.js.LEGAL.txt +0 -3
- package/dist/calcite/S6MS2OHM.js +0 -4
- package/dist/calcite/S6MS2OHM.js.LEGAL.txt +0 -3
- package/dist/calcite/SEDKXHV7.js +0 -4
- package/dist/calcite/SEDKXHV7.js.LEGAL.txt +0 -3
- package/dist/calcite/SIN24NH3.js.LEGAL.txt +0 -3
- package/dist/calcite/SOEG7B3Y.js +0 -4
- package/dist/calcite/SOEG7B3Y.js.LEGAL.txt +0 -3
- package/dist/calcite/SZQLBJAT.js.LEGAL.txt +0 -3
- package/dist/calcite/T2YHVPAE.js +0 -4
- package/dist/calcite/T2YHVPAE.js.LEGAL.txt +0 -0
- package/dist/calcite/THXTJVVZ.js +0 -4
- package/dist/calcite/THXTJVVZ.js.LEGAL.txt +0 -0
- package/dist/calcite/TQZT3JNR.js +0 -4
- package/dist/calcite/TQZT3JNR.js.LEGAL.txt +0 -3
- package/dist/calcite/TSYLRCCX.js +0 -4
- package/dist/calcite/TSYLRCCX.js.LEGAL.txt +0 -3
- package/dist/calcite/TV7EB7QE.js +0 -4
- package/dist/calcite/TV7EB7QE.js.LEGAL.txt +0 -0
- package/dist/calcite/TWAOZYGH.js +0 -4
- package/dist/calcite/TWAOZYGH.js.LEGAL.txt +0 -0
- package/dist/calcite/U6I5KCO7.js.LEGAL.txt +0 -3
- package/dist/calcite/U6Z7HEQF.js.LEGAL.txt +0 -0
- package/dist/calcite/UBYQTSIZ.js.LEGAL.txt +0 -0
- package/dist/calcite/UQPOTXOA.js.LEGAL.txt +0 -3
- package/dist/calcite/UROU5LEG.js +0 -4
- package/dist/calcite/UROU5LEG.js.LEGAL.txt +0 -0
- package/dist/calcite/UUTYLV7N.js +0 -4
- package/dist/calcite/UUTYLV7N.js.LEGAL.txt +0 -0
- package/dist/calcite/V52I4FAE.js +0 -4
- package/dist/calcite/V52I4FAE.js.LEGAL.txt +0 -0
- package/dist/calcite/V73BOD2W.js +0 -4
- package/dist/calcite/V73BOD2W.js.LEGAL.txt +0 -3
- package/dist/calcite/V7X6SDP4.js +0 -4
- package/dist/calcite/V7X6SDP4.js.LEGAL.txt +0 -3
- package/dist/calcite/VE6NAQ25.js.LEGAL.txt +0 -3
- package/dist/calcite/VG3JPDTN.js +0 -4
- package/dist/calcite/VG3JPDTN.js.LEGAL.txt +0 -3
- package/dist/calcite/W24L72M4.js +0 -4
- package/dist/calcite/W24L72M4.js.LEGAL.txt +0 -3
- package/dist/calcite/W3QW4ZPS.js +0 -4
- package/dist/calcite/W3QW4ZPS.js.LEGAL.txt +0 -0
- package/dist/calcite/WFVAIMKJ.js.LEGAL.txt +0 -3
- package/dist/calcite/WJN556XC.js +0 -4
- package/dist/calcite/WJN556XC.js.LEGAL.txt +0 -3
- package/dist/calcite/WKLSVJKC.js +0 -4
- package/dist/calcite/WKLSVJKC.js.LEGAL.txt +0 -3
- package/dist/calcite/WZEWR3RT.js +0 -4
- package/dist/calcite/WZEWR3RT.js.LEGAL.txt +0 -3
- package/dist/calcite/X3TVNPED.js +0 -4
- package/dist/calcite/X3TVNPED.js.LEGAL.txt +0 -3
- package/dist/calcite/X4TMNYBK.js.LEGAL.txt +0 -3
- package/dist/calcite/X5TBQPJS.js.LEGAL.txt +0 -13
- package/dist/calcite/XA67TEL6.js.LEGAL.txt +0 -3
- package/dist/calcite/XDLFA232.js +0 -4
- package/dist/calcite/XDLFA232.js.LEGAL.txt +0 -0
- package/dist/calcite/XG2Y7SPV.js.LEGAL.txt +0 -3
- package/dist/calcite/XMPGJJJA.js +0 -4
- package/dist/calcite/XMPGJJJA.js.LEGAL.txt +0 -0
- package/dist/calcite/XNPWEYA5.js.LEGAL.txt +0 -3
- package/dist/calcite/XVQP5YFF.js.LEGAL.txt +0 -3
- package/dist/calcite/XXTIBPCP.js +0 -4
- package/dist/calcite/XXTIBPCP.js.LEGAL.txt +0 -3
- package/dist/calcite/Y6JGDFGL.js +0 -4
- package/dist/calcite/Y6JGDFGL.js.LEGAL.txt +0 -0
- package/dist/calcite/YIA67T7L.js.LEGAL.txt +0 -8
- package/dist/calcite/YJOFTZLZ.js +0 -4
- package/dist/calcite/YJOFTZLZ.js.LEGAL.txt +0 -3
- package/dist/calcite/YO7IUTNJ.js +0 -4
- package/dist/calcite/YO7IUTNJ.js.LEGAL.txt +0 -0
- package/dist/calcite/YOUWNMMQ.js +0 -4
- package/dist/calcite/YOUWNMMQ.js.LEGAL.txt +0 -0
- package/dist/calcite/YVCTEAF3.js +0 -4
- package/dist/calcite/YVCTEAF3.js.LEGAL.txt +0 -3
- package/dist/calcite/ZBV7TNB7.js +0 -4
- package/dist/calcite/ZBV7TNB7.js.LEGAL.txt +0 -3
- package/dist/calcite/ZVDLVR7G.js +0 -4
- package/dist/calcite/ZVDLVR7G.js.LEGAL.txt +0 -3
- package/dist/calcite/ZVU2D4KF.js.LEGAL.txt +0 -3
- package/dist/calcite/calcite.esm.js.LEGAL.txt +0 -3
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ The most common approach for loading Calcite components is to use the version ho
|
|
|
17
17
|
```html
|
|
18
18
|
<script
|
|
19
19
|
type="module"
|
|
20
|
-
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.
|
|
20
|
+
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.2.0/dist/calcite/calcite.esm.js"
|
|
21
21
|
></script>
|
|
22
22
|
```
|
|
23
23
|
|
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -32,26 +32,26 @@ interactjs
|
|
|
32
32
|
|
|
33
33
|
Copyright (c) 2012-present Taye Adeyemi <dev@taye.me>
|
|
34
34
|
|
|
35
|
-
Permission is hereby granted, free of charge, to any person
|
|
36
|
-
obtaining a copy of this software and associated
|
|
37
|
-
documentation files (the "Software"), to deal in the Software
|
|
38
|
-
without restriction, including without limitation the rights
|
|
39
|
-
to use, copy, modify, merge, publish, distribute, sublicense,
|
|
40
|
-
and/or sell copies of the Software, and to permit persons to
|
|
41
|
-
whom the Software is furnished to do so, subject to the
|
|
35
|
+
Permission is hereby granted, free of charge, to any person
|
|
36
|
+
obtaining a copy of this software and associated
|
|
37
|
+
documentation files (the "Software"), to deal in the Software
|
|
38
|
+
without restriction, including without limitation the rights
|
|
39
|
+
to use, copy, modify, merge, publish, distribute, sublicense,
|
|
40
|
+
and/or sell copies of the Software, and to permit persons to
|
|
41
|
+
whom the Software is furnished to do so, subject to the
|
|
42
42
|
following conditions:
|
|
43
43
|
|
|
44
|
-
The above copyright notice and this permission notice shall
|
|
45
|
-
be included in all copies or substantial portions of the
|
|
44
|
+
The above copyright notice and this permission notice shall
|
|
45
|
+
be included in all copies or substantial portions of the
|
|
46
46
|
Software.
|
|
47
47
|
|
|
48
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
49
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
50
|
-
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
51
|
-
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
52
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
54
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
48
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
49
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
50
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
51
|
+
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
52
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
54
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
55
55
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
56
56
|
|
|
57
57
|
---
|
|
@@ -66,15 +66,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
66
66
|
modification, are permitted provided that the following conditions are met:
|
|
67
67
|
|
|
68
68
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
69
|
-
list of conditions and the following disclaimer.
|
|
69
|
+
list of conditions and the following disclaimer.
|
|
70
70
|
|
|
71
71
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
72
|
-
this list of conditions and the following disclaimer in the documentation
|
|
73
|
-
and/or other materials provided with the distribution.
|
|
72
|
+
this list of conditions and the following disclaimer in the documentation
|
|
73
|
+
and/or other materials provided with the distribution.
|
|
74
74
|
|
|
75
75
|
3. Neither the name of the copyright holder nor the names of its
|
|
76
|
-
contributors may be used to endorse or promote products derived from
|
|
77
|
-
this software without specific prior written permission.
|
|
76
|
+
contributors may be used to endorse or promote products derived from
|
|
77
|
+
this software without specific prior written permission.
|
|
78
78
|
|
|
79
79
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
80
80
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -89,6 +89,34 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
92
|
+
@types/node
|
|
93
|
+
@types/sortablejs
|
|
94
|
+
@types/trusted-types
|
|
95
|
+
|
|
96
|
+
MIT License
|
|
97
|
+
|
|
98
|
+
Copyright (c) Microsoft Corporation.
|
|
99
|
+
|
|
100
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
101
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
102
|
+
in the Software without restriction, including without limitation the rights
|
|
103
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
104
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
105
|
+
furnished to do so, subject to the following conditions:
|
|
106
|
+
|
|
107
|
+
The above copyright notice and this permission notice shall be included in all
|
|
108
|
+
copies or substantial portions of the Software.
|
|
109
|
+
|
|
110
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
111
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
112
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
113
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
114
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
115
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
116
|
+
SOFTWARE
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
92
120
|
@lit-labs/ssr-client
|
|
93
121
|
@lit/reactive-element
|
|
94
122
|
lit
|
|
@@ -102,15 +130,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
102
130
|
modification, are permitted provided that the following conditions are met:
|
|
103
131
|
|
|
104
132
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
105
|
-
list of conditions and the following disclaimer.
|
|
133
|
+
list of conditions and the following disclaimer.
|
|
106
134
|
|
|
107
135
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
108
|
-
this list of conditions and the following disclaimer in the documentation
|
|
109
|
-
and/or other materials provided with the distribution.
|
|
136
|
+
this list of conditions and the following disclaimer in the documentation
|
|
137
|
+
and/or other materials provided with the distribution.
|
|
110
138
|
|
|
111
139
|
3. Neither the name of the copyright holder nor the names of its
|
|
112
|
-
contributors may be used to endorse or promote products derived from
|
|
113
|
-
this software without specific prior written permission.
|
|
140
|
+
contributors may be used to endorse or promote products derived from
|
|
141
|
+
this software without specific prior written permission.
|
|
114
142
|
|
|
115
143
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
116
144
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -141,15 +169,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
141
169
|
modification, are permitted provided that the following conditions are met:
|
|
142
170
|
|
|
143
171
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
144
|
-
list of conditions and the following disclaimer.
|
|
172
|
+
list of conditions and the following disclaimer.
|
|
145
173
|
|
|
146
174
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
147
|
-
this list of conditions and the following disclaimer in the documentation
|
|
148
|
-
and/or other materials provided with the distribution.
|
|
175
|
+
this list of conditions and the following disclaimer in the documentation
|
|
176
|
+
and/or other materials provided with the distribution.
|
|
149
177
|
|
|
150
178
|
3. Neither the name of the copyright holder nor the names of its
|
|
151
|
-
contributors may be used to endorse or promote products derived from
|
|
152
|
-
this software without specific prior written permission.
|
|
179
|
+
contributors may be used to endorse or promote products derived from
|
|
180
|
+
this software without specific prior written permission.
|
|
153
181
|
|
|
154
182
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
155
183
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -171,34 +199,6 @@ MIT
|
|
|
171
199
|
|
|
172
200
|
---
|
|
173
201
|
|
|
174
|
-
@types/node
|
|
175
|
-
@types/sortablejs
|
|
176
|
-
@types/trusted-types
|
|
177
|
-
|
|
178
|
-
MIT License
|
|
179
|
-
|
|
180
|
-
Copyright (c) Microsoft Corporation.
|
|
181
|
-
|
|
182
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
183
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
184
|
-
in the Software without restriction, including without limitation the rights
|
|
185
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
186
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
187
|
-
furnished to do so, subject to the following conditions:
|
|
188
|
-
|
|
189
|
-
The above copyright notice and this permission notice shall be included in all
|
|
190
|
-
copies or substantial portions of the Software.
|
|
191
|
-
|
|
192
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
193
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
194
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
195
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
196
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
197
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
198
|
-
SOFTWARE
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
202
|
color
|
|
203
203
|
|
|
204
204
|
Copyright (c) 2012 Heather Arthur
|
|
@@ -513,15 +513,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
513
513
|
modification, are permitted provided that the following conditions are met:
|
|
514
514
|
|
|
515
515
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
516
|
-
list of conditions and the following disclaimer.
|
|
516
|
+
list of conditions and the following disclaimer.
|
|
517
517
|
|
|
518
518
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
519
|
-
this list of conditions and the following disclaimer in the documentation
|
|
520
|
-
and/or other materials provided with the distribution.
|
|
519
|
+
this list of conditions and the following disclaimer in the documentation
|
|
520
|
+
and/or other materials provided with the distribution.
|
|
521
521
|
|
|
522
522
|
3. Neither the name of the copyright holder nor the names of its
|
|
523
|
-
contributors may be used to endorse or promote products derived from
|
|
524
|
-
this software without specific prior written permission.
|
|
523
|
+
contributors may be used to endorse or promote products derived from
|
|
524
|
+
this software without specific prior written permission.
|
|
525
525
|
|
|
526
526
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
527
527
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
4
|
-
import{a as x,b as y}from"./ERPFKQBM.js";import{d as v}from"./GRFG2SJL.js";import{a as k}from"./QGUFKUNX.js";import{a as f}from"./3LVKLTBP.js";import{H as m,e as p,f as l,v as g,w as b,x as n}from"./GZNBJ3WK.js";var i={description:"description",descriptionOnly:"description-only",heading:"heading",headingOnly:"heading-only",icon:"icon",iconOnly:"icon-only",inputAlignmentEnd:"input-alignment-end",inputAlignmentStart:"input-alignment-start",inputEnabled:"input-enabled",largeVisual:"large-visual",tile:"tile",tileContentContainer:"tile-content-container",tileContent:"tile-content",tileDescription:"tile-description",tileHeading:"tile-heading",tileLargeVisual:"tile--large-visual",widthAuto:"width-auto",widthFull:"width-full"},z=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:.75rem;position:relative;vertical-align:top;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand),inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-start:.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-end:.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-end:.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;flex-direction:column;gap:.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends b{constructor(){super(),this.guid=`calcite-tile-select-${f()}`,this.focused=!1,this.checked=!1,this.disabled=!1,this.iconFlipRtl=!1,this.inputAlignment="start",this.inputEnabled=!1,this.type="radio",this.width="auto",this.calciteTileSelectChange=g({cancelable:!1}),this.listen("calciteCheckboxChange",this.checkboxChangeHandler),this.listen("calciteInternalCheckboxFocus",this.checkboxFocusBlurHandler),this.listen("calciteInternalCheckboxBlur",this.checkboxFocusBlurHandler),this.listen("calciteRadioButtonChange",this.radioButtonChangeHandler),this.listen("calciteInternalRadioButtonCheckedChange",this.radioButtonCheckedChangeHandler),this.listen("calciteInternalRadioButtonFocus",this.radioButtonFocusBlurHandler),this.listen("calciteInternalRadioButtonBlur",this.radioButtonFocusBlurHandler),this.listen("click",this.clickHandler),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler)}static{this.properties={focused:[16,{state:!0}],checked:[7,{reflect:!0,type:Boolean}],description:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],heading:[3,{reflect:!0}],icon:[3,{reflect:!0}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],inputAlignment:[3,{reflect:!0}],inputEnabled:[7,{reflect:!0,type:Boolean}],name:[3,{reflect:!0}],type:[3,{reflect:!0}],value:1,width:[3,{reflect:!0}]}}static{this.styles=z}async setFocus(){return await v(this),this.input?.setFocus()}connectedCallback(){super.connectedCallback(),this.renderInput()}load(){k.deprecated("component",{name:"tile-select",removalVersion:4,suggested:["tile","tile-group"]})}willUpdate(t){t.has("checked")&&(this.hasUpdated||this.checked!==!1)&&(this.input.checked=this.checked),t.has("name")&&(this.input.name=this.name)}updated(){x(this)}disconnectedCallback(){super.disconnectedCallback(),this.input?.remove()}checkboxChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){let e=t.target;e===this.input&&(this.focused=e.focused),t.stopPropagation()}clickHandler(t){if(this.disabled)return;let e=t.target;["calcite-tile","calcite-tile-select"].includes(e.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;let{localName:t}=this.input;(t==="calcite-radio-button"||t==="calcite-checkbox")&&(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;let{localName:t}=this.input;(t==="calcite-radio-button"||t==="calcite-checkbox")&&(this.input.hovered=!1)}renderInput(){this.input=this.type==="radio"?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=this.value!=null?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){let{checked:t,description:e,disabled:c,focused:w,heading:o,icon:a,inputAlignment:r,inputEnabled:C,width:d,iconFlipRtl:B}=this,u=o&&a&&!e,h=!!a;return y({disabled:c,children:l`<div class=${n({checked:t,container:!0,[i.description]:!!e,[i.descriptionOnly]:!!(!o&&!a&&e),disabled:c,focused:w,[i.heading]:!!o,[i.headingOnly]:o&&!a&&!e,[i.icon]:h,[i.iconOnly]:!o&&a&&!e,[i.inputAlignmentEnd]:r==="end",[i.inputAlignmentStart]:r==="start",[i.inputEnabled]:C,[i.largeVisual]:u,[i.widthAuto]:d==="auto",[i.widthFull]:d==="full"})}><div class=${n({[i.tile]:!0,[i.tileLargeVisual]:u})}>${a&&l`<div class=${n({[i.icon]:h})}><calcite-icon .flipRtl=${B} .icon=${a} scale=l></calcite-icon></div>`||""}<div class=${n(i.tileContentContainer)}><div class=${n(i.tileContent)}>${o&&l`<div class=${n(i.tileHeading)}>${o}</div>`||""}${e&&l`<div class=${n(i.tileDescription)}>${e}</div>`||""}</div></div></div><slot></slot></div>`})}};m("calcite-tile-select",s);export{s as TileSelect};
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{a as x,b as y}from"./XEDUET37.js";import{d as v}from"./VGL3WVHU.js";import{a as k}from"./WQASJHDE.js";import{a as f}from"./BTG3ZQHR.js";import{E as b,F as n,R as m,c as p,d as l,q as g}from"./A6PXYMIR.js";var i={description:"description",descriptionOnly:"description-only",heading:"heading",headingOnly:"heading-only",icon:"icon",iconOnly:"icon-only",inputAlignmentEnd:"input-alignment-end",inputAlignmentStart:"input-alignment-start",inputEnabled:"input-enabled",largeVisual:"large-visual",tile:"tile",tileContentContainer:"tile-content-container",tileContent:"tile-content",tileDescription:"tile-description",tileHeading:"tile-heading",tileLargeVisual:"tile--large-visual",widthAuto:"width-auto",widthFull:"width-full"},z=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:.75rem;position:relative;vertical-align:top;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand),inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-start:.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-end:.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-end:.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;flex-direction:column;gap:.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends b{constructor(){super(),this.guid=`calcite-tile-select-${f()}`,this.focused=!1,this.checked=!1,this.disabled=!1,this.iconFlipRtl=!1,this.inputAlignment="start",this.inputEnabled=!1,this.type="radio",this.width="auto",this.calciteTileSelectChange=g({cancelable:!1}),this.listen("calciteCheckboxChange",this.checkboxChangeHandler),this.listen("calciteInternalCheckboxFocus",this.checkboxFocusBlurHandler),this.listen("calciteInternalCheckboxBlur",this.checkboxFocusBlurHandler),this.listen("calciteRadioButtonChange",this.radioButtonChangeHandler),this.listen("calciteInternalRadioButtonCheckedChange",this.radioButtonCheckedChangeHandler),this.listen("calciteInternalRadioButtonFocus",this.radioButtonFocusBlurHandler),this.listen("calciteInternalRadioButtonBlur",this.radioButtonFocusBlurHandler),this.listen("click",this.clickHandler),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler)}static{this.properties={focused:[16,{},{state:!0}],checked:[7,{},{reflect:!0,type:Boolean}],description:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],heading:[3,{},{reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],inputAlignment:[3,{},{reflect:!0}],inputEnabled:[7,{},{reflect:!0,type:Boolean}],name:[3,{},{reflect:!0}],type:[3,{},{reflect:!0}],value:1,width:[3,{},{reflect:!0}]}}static{this.styles=z}async setFocus(){return await v(this),this.input?.setFocus()}connectedCallback(){super.connectedCallback(),this.renderInput()}load(){k.deprecated("component",{name:"tile-select",removalVersion:4,suggested:["tile","tile-group"]})}willUpdate(t){t.has("checked")&&(this.hasUpdated||this.checked!==!1)&&(this.input.checked=this.checked),t.has("name")&&(this.input.name=this.name)}updated(){x(this)}disconnectedCallback(){super.disconnectedCallback(),this.input?.remove()}checkboxChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){let e=t.target;e===this.input&&(this.focused=e.focused),t.stopPropagation()}clickHandler(t){if(this.disabled)return;let e=t.target;["calcite-tile","calcite-tile-select"].includes(e.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;let{localName:t}=this.input;(t==="calcite-radio-button"||t==="calcite-checkbox")&&(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;let{localName:t}=this.input;(t==="calcite-radio-button"||t==="calcite-checkbox")&&(this.input.hovered=!1)}renderInput(){this.input=this.type==="radio"?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=this.value!=null?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){let{checked:t,description:e,disabled:c,focused:w,heading:o,icon:a,inputAlignment:r,inputEnabled:C,width:d,iconFlipRtl:B}=this,u=o&&a&&!e,h=!!a;return y({disabled:c,children:l`<div class=${n({checked:t,container:!0,[i.description]:!!e,[i.descriptionOnly]:!!(!o&&!a&&e),disabled:c,focused:w,[i.heading]:!!o,[i.headingOnly]:o&&!a&&!e,[i.icon]:h,[i.iconOnly]:!o&&a&&!e,[i.inputAlignmentEnd]:r==="end",[i.inputAlignmentStart]:r==="start",[i.inputEnabled]:C,[i.largeVisual]:u,[i.widthAuto]:d==="auto",[i.widthFull]:d==="full"})}><div class=${n({[i.tile]:!0,[i.tileLargeVisual]:u})}>${a&&l`<div class=${n({[i.icon]:h})}><calcite-icon .flipRtl=${B} .icon=${a} scale=l></calcite-icon></div>`||""}<div class=${n(i.tileContentContainer)}><div class=${n(i.tileContent)}>${o&&l`<div class=${n(i.tileHeading)}>${o}</div>`||""}${e&&l`<div class=${n(i.tileDescription)}>${e}</div>`||""}</div></div></div><slot></slot></div>`})}};m("calcite-tile-select",s);export{s as TileSelect};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
4
|
-
import{C as i}from"./
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{C as i}from"./ZCWNMSG2.js";function r(e){return e[e.openProp||"open"]}function s(e){requestAnimationFrame(()=>{e.transitionEl&&i(e.transitionEl,e.transitionProp,()=>{r(e)?e.onBeforeOpen():e.onBeforeClose()},()=>{r(e)?e.onOpen():e.onClose()})})}export{s as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{a as R}from"./S2CYF2UT.js";import{k as c}from"./RP5ZF7Z4.js";import{a as B}from"./VL3H5XEC.js";import{c as T,e as W,h as F}from"./4ZUPNG3R.js";import{c as H,d as I,e as M}from"./OI2S43L6.js";import{a as S,b as $}from"./XEDUET37.js";import{d as A}from"./YSRW4TZC.js";import"./USZDNB3N.js";import{a as w}from"./5ZIDO3WK.js";import{b as C,c as O}from"./IDBLX5MO.js";import{a as E,b as g}from"./AE3GS3TO.js";import{u}from"./ZCWNMSG2.js";import{d as L}from"./VGL3WVHU.js";import"./WQASJHDE.js";import{a as k}from"./BTG3ZQHR.js";import{D as v,E as b,F as i,H as r,J as y,R as z,c as p,d as n,q as m}from"./A6PXYMIR.js";var a={assistiveText:"assistive-text",characterLimit:"character-limit",content:"content",container:"container",footer:"footer",characterOverLimit:"character--over-limit",readOnly:"readonly",textAreaInvalid:"text-area--invalid",footerSlotted:"footer--slotted",hide:"hide",footerEndSlotOnly:"footer--end-only",textArea:"text-area",textAreaOnly:"text-area--only",wrapper:"wrapper"},j={validationMessage:"textAreaValidationMessage"},N={footerStart:"footer-start",footerEnd:"footer-end"},D=100,f=Object.freeze({height:0,width:0}),G=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;font-family:var(--calcite-font-family);--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:var(--calcite-sans-family);max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width: 480px){.text-area{resize:none}}.text-area:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`,x=class extends b{constructor(){super(...arguments),this.attributeWatch=C(["autofocus","spellcheck"],this.handleGlobalAttributesChanged),this.footerEl=E(),this.guid=k(),this.resizeObserver=w("resize",async()=>{await this.componentOnReady();let{textAreaHeight:e,textAreaWidth:t,elHeight:o,elWidth:l,footerHeight:d,footerWidth:s,validationMessageHeight:h}=this.getHeightAndWidthOfElements();if(s>0&&s!==t&&(this.footerEl.value.style.width=`${t}px`),this.resize==="none")return;let{width:V,height:q}=getComputedStyle(this.el);l!==t&&V!=="auto"&&this.updateSizeToAuto("width"),o!==e+d+h&&q!=="auto"&&this.updateSizeToAuto("height")}),this.updateSizeToAuto=A(e=>{this.el.style[e]="auto"},D,{leading:!1}),this.messages=O({blocking:!0}),this.disabled=!1,this.groupSeparator=!1,this.limitText=!1,this.readOnly=!1,this.required=!1,this.resize="both",this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.wrap="soft",this.calciteTextAreaChange=m(),this.calciteTextAreaInput=m()}static{this.properties={endSlotHasElements:[16,{},{state:!0}],startSlotHasElements:[16,{},{state:!0}],columns:[11,{},{reflect:!0,type:Number}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],label:1,limitText:[7,{},{reflect:!0,type:Boolean}],maxLength:[11,{},{reflect:!0,type:Number}],messageOverrides:[0,{},{attribute:!1}],minLength:[11,{},{reflect:!0,type:Number}],name:[3,{},{reflect:!0}],numberingSystem:1,placeholder:1,readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],resize:[3,{},{reflect:!0}],rows:[11,{},{reflect:!0,type:Number}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:y},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1,wrap:[3,{},{reflect:!0}]}}static{this.styles=G}async selectText(){await this.componentOnReady(),this.textAreaEl.select()}async setFocus(){await L(this),this.textAreaEl.focus()}connectedCallback(){super.connectedCallback(),H(this),T(this)}updated(){S(this),this.setTextAreaHeight()}disconnectedCallback(){super.disconnectedCallback(),I(this),W(this),this.resizeObserver?.disconnect(),this.updateSizeToAuto?.cancel()}handleGlobalAttributesChanged(){this.requestUpdate()}onLabelClick(){this.setFocus()}handleInput(e){this.value=e.target.value,this.calciteTextAreaInput.emit()}handleChange(){this.calciteTextAreaChange.emit()}contentSlotChangeHandler(){this.value||this.el.childNodes.forEach(t=>{t.nodeName==="#text"&&(this.value=t.nodeValue.trim())})}getLocalizedCharacterLength(){let e=this.value?this.value.length.toString():"0",t=this.maxLength.toString();return this.numberingSystem==="latn"?{currentLength:e,maxLength:t}:(c.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:c.localize(e),maxLength:c.localize(t)})}syncHiddenFormInput(e){e.setCustomValidity(""),this.isCharacterLimitExceeded()&&e.setCustomValidity(this.replacePlaceholdersInMessages()),R("textarea",this,e)}setTextAreaEl(e){e&&(this.textAreaEl=e,this.resizeObserver?.observe(e))}setTextAreaHeight(){let{textAreaHeight:e,elHeight:t,footerHeight:o,validationMessageHeight:l}=this.getHeightAndWidthOfElements();o>0&&e+o+l!=t&&(this.textAreaEl.style.height=`${t-o}px`)}getHeightAndWidthOfElements(){let{height:e,width:t}=this.textAreaEl?this.textAreaEl.getBoundingClientRect():f,{height:o,width:l}=this.el.getBoundingClientRect(),{height:d,width:s}=this.footerEl.value?this.footerEl.value.getBoundingClientRect():f,{height:h}=this.validationMessageEl?this.validationMessageEl.getBoundingClientRect():f;return{textAreaHeight:e,textAreaWidth:t,elHeight:o,elWidth:l,footerHeight:d,footerWidth:s,validationMessageHeight:h}}replacePlaceholdersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}setValidationRef(e){e&&(this.validationMessageEl=e)}render(){let e=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return $({disabled:this.disabled,children:n`<div class=${i(a.wrapper)}><textarea aria-describedby=${this.guid??r} aria-errormessage=${j.validationMessage} .ariaInvalid=${this.status==="invalid"||this.isCharacterLimitExceeded()} .ariaLabel=${M(this)} .autofocus=${this.el.autofocus} class=${i({[a.textArea]:!0,[a.readOnly]:this.readOnly,[a.textAreaInvalid]:this.isCharacterLimitExceeded(),[a.footerSlotted]:this.endSlotHasElements&&this.startSlotHasElements,[a.textAreaOnly]:!e})} .cols=${this.columns} .disabled=${this.disabled} maxlength=${(this.limitText?this.maxLength:void 0)??r} name=${this.name??r} @change=${this.handleChange} @input=${this.handleInput} placeholder=${this.placeholder??r} .readOnly=${this.readOnly} .required=${this.required} .rows=${this.rows} spellcheck=${this.el.spellcheck??r} .value=${v(this.value??"")} wrap=${this.wrap??r} ${g(this.setTextAreaEl)}></textarea><span class=${i({[a.content]:!0})}><slot @slotchange=${this.contentSlotChangeHandler}></slot></span><footer class=${i({[a.footer]:!0,[a.readOnly]:this.readOnly,[a.hide]:!e})} ${g(this.footerEl)}><div class=${i({[a.container]:!0,[a.footerEndSlotOnly]:!this.startSlotHasElements&&this.endSlotHasElements})}><slot name=${N.footerStart} @slotchange=${t=>this.startSlotHasElements=u(t)}></slot><slot name=${N.footerEnd} @slotchange=${t=>this.endSlotHasElements=u(t)}></slot></div>${this.renderCharacterLimit()}</footer>${F({component:this})}${this.isCharacterLimitExceeded()&&n`<span aria-live=polite class=${i(a.assistiveText)} id=${this.guid??r}>${this.replacePlaceholdersInMessages()}</span>`||""}${this.validationMessage&&this.status==="invalid"?B({icon:this.validationIcon,id:j.validationMessage,message:this.validationMessage,ref:this.setValidationRef,scale:this.scale,status:this.status}):null}</div>`})}renderCharacterLimit(){return this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),n`<span class=${i(a.characterLimit)}><span class=${i({[a.characterOverLimit]:this.isCharacterLimitExceeded()})}>${this.localizedCharacterLengthObj.currentLength}</span>/${this.localizedCharacterLengthObj.maxLength}</span>`):null}};z("calcite-text-area",x);export{x as TextArea};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
var a=class{constructor(){this._formatterCache=new Map,this._commonDateTimeFormatterOptions={year:"numeric",month:"2-digit",day:"2-digit",timeZoneName:"shortOffset"}}get name(){return"native"}create(t){return new Date(t)}increase(t){return new Date(t.getTime()+864e5)}formatToIsoDateString(t){let e=t.getFullYear(),n=t.getMonth()+1,r=t.getDate();return`${e}-${n.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}`}isoToTimeZone(t,e){let n=this._toDate(t),o=this._getFormatter(e).formatToParts(n),[i]=o.filter(({type:s})=>s==="timeZoneName").map(({value:s})=>s),m=this._getTimeZoneOffsetInMins(i),c=n.getMinutes()-(n.getTimezoneOffset()-m);return n.setMinutes(c),n}same(t,e){return t.getTime()===e.getTime()}_toDate(t){return new Date(t)}_getFormatter(t){t==="Factory"&&(t="Etc/GMT");let e=this._formatterCache.get(t);return e||(e=new Intl.DateTimeFormat("en-US",{timeZone:t,...this._commonDateTimeFormatterOptions}),this._formatterCache.set(t,e)),e}_getTimeZoneOffsetInMins(t){let[e,...n]=t.slice(3),[r,o]=n.join("").split(":");return(e==="+"?1:-1)*(Number(r)*60+Number(o||0))}};export{a as DateEngine};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
4
|
-
import{a as
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{a as n}from"./LFMPTQHL.js";import{u as l,v as r}from"./ZCWNMSG2.js";import"./BTG3ZQHR.js";import{E as u,F as i,R as w,c as g,d as t}from"./A6PXYMIR.js";var b=g`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:var(--calcite-border-width-sm);border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-none);border-inline-end-width:var(--calcite-border-width-none);border-style:solid}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:var(--calcite-border-width-sm)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing, 26vw)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}slot[name=modals]::slotted(calcite-modal){position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,s={main:"main",content:"content",contentBehind:"content--behind",contentBottom:"content-bottom",contentNonInteractive:"content--non-interactive",footer:"footer",positionedSlotWrapper:"positioned-slot-wrapper",contentBehindCenterContent:"center-content"},a={centerRow:"center-row",panelStart:"panel-start",panelEnd:"panel-end",panelTop:"panel-top",panelBottom:"panel-bottom",header:"header",footer:"footer",alerts:"alerts",sheets:"sheets",modals:"modals",dialogs:"dialogs"},d=class extends u{constructor(){super(),this.hasAlerts=!1,this.hasDialogs=!1,this.hasFooter=!1,this.hasHeader=!1,this.hasModals=!1,this.hasOnlyPanelBottom=!1,this.hasPanelBottom=!1,this.hasPanelTop=!1,this.hasSheets=!1,this.panelIsResizing=!1,this.contentBehind=!1,this.listen("calciteInternalShellPanelResizeStart",this.handleCalciteInternalShellPanelResizeStart),this.listen("calciteInternalShellPanelResizeEnd",this.handleCalciteInternalShellPanelResizeEnd)}static{this.properties={hasAlerts:[16,{},{state:!0}],hasDialogs:[16,{},{state:!0}],hasFooter:[16,{},{state:!0}],hasHeader:[16,{},{state:!0}],hasModals:[16,{},{state:!0}],hasOnlyPanelBottom:[16,{},{state:!0}],hasPanelBottom:[16,{},{state:!0}],hasPanelTop:[16,{},{state:!0}],hasSheets:[16,{},{state:!0}],panelIsResizing:[16,{},{state:!0}],contentBehind:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=b}willUpdate(e){(e.has("hasPanelTop")&&(this.hasUpdated||this.hasPanelTop!==!1)||e.has("hasPanelBottom")&&(this.hasUpdated||this.hasPanelBottom!==!1))&&(this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom)}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}handleHeaderSlotChange(e){this.hasHeader=!!l(e)}handleFooterSlotChange(e){this.hasFooter=!!l(e)}handleAlertsSlotChange(e){this.hasAlerts=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-ALERT"&&(o.embedded=!0)})}handleSheetsSlotChange(e){this.hasSheets=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-SHEET"&&(o.embedded=!0)})}handleModalsSlotChange(e){this.hasModals=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-MODAL"&&(o.embedded=!0)})}handlePanelTopChange(e){this.hasPanelTop=l(e)}handlePanelBottomChange(e){this.hasPanelBottom=l(e)}handleDialogsSlotChange(e){this.hasDialogs=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-DIALOG"&&(o.embedded=!0)})}renderHeader(){return t`<div .hidden=${!this.hasHeader}>${n("header",t`<slot name=${a.header} @slotchange=${this.handleHeaderSlotChange}></slot>`)}</div>`}renderFooter(){return n("footer",t`<div class=${i(s.footer)} .hidden=${!this.hasFooter}><slot name=${a.footer} @slotchange=${this.handleFooterSlotChange}></slot></div>`)}renderAlerts(){return t`<div .hidden=${!this.hasAlerts}>${n("alerts",t`<slot name=${a.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`}renderSheets(){return t`<div .hidden=${!this.hasSheets}>${n("sheets",t`<slot name=${a.sheets} @slotchange=${this.handleSheetsSlotChange}></slot>`)}</div>`}renderModals(){return t`<div .hidden=${!this.hasModals}>${n("modals",t`<slot name=${a.modals} @slotchange=${this.handleModalsSlotChange}></slot>`)}</div>`}renderDialogs(){return t`<div .hidden=${!this.hasDialogs}>${n("dialogs",t`<slot name=${a.dialogs} @slotchange=${this.handleDialogsSlotChange}></slot>`)}</div>`}renderContent(){let{panelIsResizing:e}=this,o=n("default-slot",t`<slot></slot>`),h=e?t`<div class=${i(s.contentNonInteractive)}>${o}</div>`:o,c=n("center-row-slot",t`<slot name=${a.centerRow}></slot>`),p=n("panel-bottom-slot",t`<slot name=${a.panelBottom} @slotchange=${this.handlePanelBottomChange}></slot>`),m=n("panel-top-slot",t`<slot name=${a.panelTop} @slotchange=${this.handlePanelTopChange}></slot>`),f="content-container";return this.contentBehind?[n(f,t`<div class=${i({[s.content]:!0,[s.contentBehind]:!0})}>${h}</div>`),t`<div class=${i({[s.contentBehindCenterContent]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${p}${c}</div>`]:[n(f,t`<div class=${i({[s.content]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${h}${p}${c}</div>`)]}renderMain(){return t`<div class=${i(s.main)}><slot name=${a.panelStart}></slot>${this.renderContent()}<slot name=${a.panelEnd}></slot></div>`}renderPositionedSlots(){return t`<div class=${i(s.positionedSlotWrapper)}>${this.renderAlerts()}${this.renderModals()}${this.renderDialogs()}${this.renderSheets()}</div>`}render(){return t`${this.renderHeader()}${this.renderMain()}${this.renderFooter()}${this.renderPositionedSlots()}`}};w("calcite-shell",d);export{d as Shell};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{a as _}from"./WSN3L2FK.js";import{a as q}from"./O3OCUHQX.js";import{b as N}from"./RIPCYHYN.js";import"./YGX5ZVDM.js";import{c as m,d as T,e as R,f as U,g as S,h as I,i as g}from"./OTR7EFHA.js";import{a as O}from"./2XJXDX35.js";import{a as c}from"./LFMPTQHL.js";import"./YSRW4TZC.js";import{a as H}from"./USZDNB3N.js";import{a as k}from"./5ZIDO3WK.js";import{c as z}from"./IDBLX5MO.js";import{a as P,b as d}from"./AE3GS3TO.js";import{j as A,n as B,r as D,y as F}from"./ZCWNMSG2.js";import{a as $,d as L}from"./VGL3WVHU.js";import"./WQASJHDE.js";import{a as C}from"./BTG3ZQHR.js";import{E as y,F as a,I as w,R as x,c as E,d as l,q as s}from"./A6PXYMIR.js";var v=class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{let{registeredElements:t}=this,i=e.find(r=>t.has(r));return t.get(i)},this.togglePopovers=e=>{let t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter(r=>r!==i&&r.autoClose&&r.open&&!t.includes(r)).forEach(r=>r.open=!1)},this.keyDownHandler=e=>{e.defaultPrevented||(e.key==="Escape"?this.closeAllPopovers():H(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{F(e)||e.defaultPrevented||this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach(e=>e.open=!1)}addListeners(){window.addEventListener("click",this.clickHandler),window.addEventListener("keydown",this.keyDownHandler)}removeListeners(){window.removeEventListener("click",this.clickHandler),window.removeEventListener("keydown",this.keyDownHandler)}},o={positionContainer:"position-container",container:"container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContainer:"header-container",heading:"heading"},K="auto",j="aria-controls",M="aria-expanded",J=E`:host{display:contents;--calcite-floating-ui-z-index: var(--calcite-popover-z-index, var(--calcite-z-index-popup))}.position-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.position-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding:.5rem .75rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding:.75rem 1rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding:1rem 1.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-popover-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-popover-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-popover-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;border-block-end-color:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.heading{margin:0;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container{position:relative;display:flex;height:100%;flex-direction:row;flex-wrap:nowrap;border-radius:.25rem;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container.has-header{flex-direction:column}.content{display:flex;height:100%;width:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round));--calcite-action-corner-radius-start-end: var(--calcite-popover-corner-radius, var(--calcite-corner-radius-sharp));--calcite-action-corner-radius-end-end: var(--calcite-popover-corner-radius, var(--calcite-corner-radius-sharp))}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}:host([hidden]){display:none}[hidden]{display:none}`,V=new v,b=class extends y{constructor(){super(...arguments),this.closeButtonEl=P(),this.focusTrap=q({triggerProp:"open",focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(e.defaultPrevented||(this.open=!1,e.preventDefault()),!1)}})(this),this.guid=`calcite-popover-${C()}`,this.hasLoaded=!1,this.mutationObserver=k("mutation",()=>this.focusTrap.updateContainerElements()),this.transitionProp="opacity",this.messages=z(),this.floatingLayout="vertical",this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.offsetDistance=g,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=K,this.pointerDisabled=!1,this.scale="m",this.triggerDisabled=!1,this.calcitePopoverBeforeClose=s({cancelable:!1}),this.calcitePopoverBeforeOpen=s({cancelable:!1}),this.calcitePopoverClose=s({cancelable:!1}),this.calcitePopoverOpen=s({cancelable:!1})}static{this.properties={floatingLayout:[16,{},{state:!0}],referenceEl:[16,{},{state:!0}],autoClose:[7,{},{reflect:!0,type:Boolean}],closable:[7,{},{reflect:!0,type:Boolean}],flipDisabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],label:1,messageOverrides:[0,{},{attribute:!1}],offsetDistance:[11,{},{type:Number,reflect:!0}],offsetSkidding:[11,{},{reflect:!0,type:Number}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],pointerDisabled:[7,{},{reflect:!0,type:Boolean}],referenceElement:1,scale:[3,{},{reflect:!0}],triggerDisabled:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=J}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:r,flipDisabled:p,filteredFlipPlacements:f,offsetDistance:n,offsetSkidding:h,arrowEl:u,floatingEl:G}=this;return R(this,{floatingEl:G,referenceEl:t,overlayPositioning:r,placement:i,flipDisabled:p,flipPlacements:f,offsetDistance:n,offsetSkidding:h,arrowEl:u,type:"popover"},e)}async setFocus(){await L(this),this.requestUpdate(),B(this.el)}async updateFocusTrapElements(){this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),requestAnimationFrame(()=>this.setUpReferenceElement(this.hasLoaded))}willUpdate(e){e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==g)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!==K))&&this.reposition(!0),e.has("referenceElement")&&this.referenceElementHandler()}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement(),this.hasLoaded=!0}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.removeReferences(),I(this)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}openHandler(){O(this),this.reposition(!0),this.setExpandedAttr()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setTransitionEl(e){e&&(this.transitionEl=e)}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?T(t,e):null}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=this.getReferenceElement(),S(this);let{el:t,referenceElement:i,referenceEl:r}=this;e&&i&&!r&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}setExpandedAttr(){let{referenceEl:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,D(t))}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(j,t),V.registerElement(e,this.el),this.setExpandedAttr()}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(j),e.removeAttribute(M)),V.unregisterElement(e))}getReferenceElement(){let{referenceElement:e,el:t}=this;return(typeof e=="string"?A(t,{id:e}):e)||null}hide(){this.open=!1}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),U(this),this.focusTrap.deactivate()}storeArrowEl(e){this.arrowEl=e,this.reposition(!0)}renderCloseButton(){let{messages:e,closable:t}=this;return t?c(o.closeButtonContainer,l`<div class=${a(o.closeButtonContainer)}><calcite-action appearance=transparent class=${a(o.closeButton)} @click=${this.hide} .scale=${this.scale} .text=${e.close} ${d(this.closeButtonEl)}><calcite-icon icon=x .scale=${$(this.scale)}></calcite-icon></calcite-action></div>`):null}renderHeader(){let{heading:e,headingLevel:t}=this,i=e?N({class:o.heading,level:t,children:e}):null;return i?c(o.header,l`<div class=${a(o.header)}>${i}${this.renderCloseButton()}</div>`):null}render(){let{referenceEl:e,heading:t,label:i,open:r,pointerDisabled:p,floatingLayout:f}=this,n=e&&r,h=!n,u=p?null:c("floating-arrow",_({floatingLayout:f,ref:this.storeArrowEl}));return this.el.inert=h,this.el.ariaLabel=i,this.el.ariaLive="polite",w(this.el,"id",this.getId()),this.el.role="dialog",l`<div class=${a(o.positionContainer)} ${d(this.setFloatingEl)}><div class=${a({[o.container]:!0,[m.animation]:!0,[m.animationActive]:n})} ${d(this.setTransitionEl)}>${u}<div class=${a({[o.hasHeader]:!!t,[o.headerContainer]:!0})}>${this.renderHeader()}<div class=${a(o.content)}><slot></slot></div>${t?null:this.renderCloseButton()}</div></div></div>`}};x("calcite-popover",b);export{b as Popover};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fe(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Mt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(t){return typeof t}:Mt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$.apply(this,arguments)}function Ye(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,r;for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Be(e,t){if(e==null)return{};var n=Ye(e,t),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Ge="1.15.6";function U(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var q=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ot=U(/Edge/i),ce=U(/firefox/i),Et=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),ie=U(/iP(ad|od|hone)/i),we=U(/chrome/i)&&U(/android/i),ye={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!q&&ye)}function m(e,t,n){e.removeEventListener(t,n,!q&&ye)}function Yt(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Ee(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Yt(e,t):Yt(e,t))||o&&e===n)return e;if(e===n)break}while(e=Ee(e))}return null}var de=/\s+/g;function R(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(de," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(de," ")}}function h(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ct(e,t){var n="";if(typeof e=="string")n=e;else do{var o=h(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function De(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function K(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var r,a,l,s,u,d,c;if(e!==window&&e.parentNode&&e!==K()?(r=e.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,c=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,c=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!q))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||n&&h(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(h(i,"border-top-width")),l-=b.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(o&&e!==window){var E=ct(i||e),w=E&&E.a,y=E&&E.d;E&&(a/=y,l/=w,c/=w,d/=y,s=a+d,u=l+c)}return{top:a,left:l,bottom:s,right:u,width:c,height:d}}}function he(e,t,n){for(var o=tt(e,!0),i=O(e)[t];o;){var r=O(o)[n],a=void 0;if(n==="top"||n==="left"?a=i>=r:a=i<=r,!a)return o;if(o===K())break;o=tt(o,!1)}return!1}function dt(e,t,n,o){for(var i=0,r=0,a=e.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(o||a[r]!==p.dragged)&&H(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function re(e,t){for(var n=e.lastElementChild;n&&(n===p.ghost||h(n,"display")==="none"||t&&!Yt(n,t));)n=n.previousElementSibling;return n||null}function X(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==p.clone&&(!t||Yt(e,t))&&n++;return n}function pe(e){var t=0,n=0,o=K();if(e)do{var i=ct(e),r=i.a,a=i.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function He(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function tt(e,t){if(!e||!e.getBoundingClientRect)return K();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=h(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return K();if(o||t)return n;o=!0}}while(n=n.parentNode);return K()}function We(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function jt(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Dt;function Se(e,t){return function(){if(!Dt){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),Dt=setTimeout(function(){Dt=void 0},t)}}}function Ke(){clearTimeout(Dt),Dt=void 0}function _e(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Ce(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Oe(e,t,n){var o={};return Array.from(e.children).forEach(function(i){var r,a,l,s;if(!(!H(i,t.draggable,e,!1)||i.animated||i===n)){var u=O(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var P="Sortable"+new Date().getTime();function Le(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){e.push({target:i,rect:O(i)});var r=L({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=ct(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(He(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var r=!1,a=0;e.forEach(function(l){var s=0,u=l.target,d=u.fromRect,c=O(u),b=u.prevFromRect,E=u.prevToRect,w=l.rect,y=ct(u,!0);y&&(c.top-=y.f,c.left-=y.e),u.toRect=c,u.thisAnimationDuration&&jt(b,c)&&!jt(d,c)&&(w.top-c.top)/(w.left-c.left)===(d.top-c.top)/(d.left-c.left)&&(s=ze(w,b,E,i.options)),jt(c,d)||(u.prevFromRect=d,u.prevToRect=c,s||(s=i.options.animation),i.animate(u,w,c,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,r,a){if(a){h(o,"transition",""),h(o,"transform","");var l=ct(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),c=(i.top-r.top)/(u||1);o.animatingX=!!d,o.animatingY=!!c,h(o,"transform","translate3d("+d+"px,"+c+"px,0)"),this.forRepaintDummy=je(o),h(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){h(o,"transition",""),h(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function je(e){return e.offsetWidth}function ze(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var lt=[],zt={initializeByDefault:!0},Tt={mount:function(t){for(var n in zt)zt.hasOwnProperty(n)&&!(n in t)&&(t[n]=zt[n]);lt.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][r]&&n[a.pluginName][r](L({sortable:n},o)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](L({sortable:n},o)))})},initializePlugins:function(t,n,o,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[s]=u,$(o,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,n){var o={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&$(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(t[r.pluginName],o))}),i}};function Ue(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,c=e.newDraggableIndex,b=e.originalEvent,E=e.putSortable,w=e.extraEventProperties;if(t=t||n&&n[P],!!t){var y,Y=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!q&&!Ot?y=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(o,!0,!0)),y.to=a||n,y.from=l||n,y.item=i||n,y.clone=r,y.oldIndex=s,y.newIndex=u,y.oldDraggableIndex=d,y.newDraggableIndex=c,y.originalEvent=b,y.pullMode=E?E.lastPutMode:void 0;var I=L(L({},w),Tt.getEventProperties(o,t));for(var B in I)y[B]=I[B];n&&n.dispatchEvent(y),Y[j]&&Y[j].call(t,y)}}var $e=["evt"],N=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Be(o,$e);Tt.pluginEvent.bind(p)(t,n,L({dragEl:f,parentEl:_,ghostEl:g,rootEl:D,nextEl:at,lastDownEl:Ft,cloneEl:S,cloneHidden:J,dragStarted:bt,putSortable:T,activeSortable:p.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:xe,unhideGhostForTarget:Ne,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){x({sortable:n,name:l,originalEvent:i})}},r))};function x(e){Ue(L({putSortable:T,cloneEl:S,targetEl:f,rootEl:D,oldIndex:ft,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q},e))}var f,_,g,D,at,Ft,S,J,ft,k,St,Q,It,T,ut=!1,Bt=!1,Gt=[],it,G,Ut,$t,ge,me,bt,st,_t,Ct=!1,xt=!1,Rt,A,qt=[],te=!1,Ht=[],Kt=typeof document<"u",Nt=ie,ve=Ot||q?"cssFloat":"float",qe=Kt&&!we&&!ie&&"draggable"in document.createElement("div"),Te=function(){if(Kt){if(q)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Ae=function(t,n){var o=h(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=dt(t,0,n),a=dt(t,1,n),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+O(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var c=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===c)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&o[ve]==="none"||a&&o[ve]==="none"&&u+d>i)?"vertical":"horizontal"},Ve=function(t,n,o){var i=o?t.left:t.top,r=o?t.right:t.bottom,a=o?t.width:t.height,l=o?n.left:n.top,s=o?n.right:n.bottom,u=o?n.width:n.height;return i===l||r===s||i+a/2===l+u/2},Ze=function(t,n){var o;return Gt.some(function(i){var r=i[P].options.emptyInsertThreshold;if(!(!r||re(i))){var a=O(i),l=t>=a.left-r&&t<=a.right+r,s=n>=a.top-r&&n<=a.bottom+r;if(l&&s)return o=i}}),o},Ie=function(t){function n(r,a){return function(l,s,u,d){var c=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||c))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return n(r(l,s,u,d),a)(l,s,u,d);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var o={},i=t.group;(!i||Mt(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},xe=function(){!Te&&g&&h(g,"display","none")},Ne=function(){!Te&&g&&h(g,"display","")};Kt&&!we&&document.addEventListener("click",function(e){if(Bt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(f){t=t.touches?t.touches[0]:t;var n=Ze(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[P]._onDragOver(o)}}},Qe=function(t){f&&f.parentNode[P]._isOutsideThisEl(t.target)};function p(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$({},t),e[P]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&(!Et||ie),emptyInsertThreshold:5};Tt.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Ie(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Gt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$(this,Le())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,f):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(ln(o),!f&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Et&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=H(s,i.draggable,o,!1),!(s&&s.animated)&&Ft!==s)){if(ft=X(s),St=X(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){x({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:o,fromEl:o}),N("filter",n,{evt:t}),r&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(c){if(c=H(u,c.trim(),o,!1),c)return x({sortable:n,rootEl:c,name:"filter",targetEl:s,fromEl:o,toEl:o}),N("filter",n,{evt:t}),!0}),d)){r&&t.preventDefault();return}i.handle&&!H(u,i.handle,o,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,n,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!f&&o.parentNode===r){var u=O(o);if(D=r,f=o,_=f.parentNode,at=f.nextSibling,Ft=o,It=a.group,p.dragged=f,it={target:f,clientX:(n||t).clientX,clientY:(n||t).clientY},ge=it.clientX-u.left,me=it.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,f.style["will-change"]="all",s=function(){if(N("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!ce&&i.nativeDraggable&&(f.draggable=!0),i._triggerDragStart(t,n),x({sortable:i,name:"choose",originalEvent:t}),R(f,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){De(f,d.trim(),Vt)}),v(l,"dragover",rt),v(l,"mousemove",rt),v(l,"touchmove",rt),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),ce&&this.nativeDraggable&&(this.options.touchStartThreshold=4,f.draggable=!0),N("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ot||q))){if(p.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){f&&Vt(f),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"pointerup",this._disableDelayedDrag),m(t,"pointercancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):n?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(f,"dragend",this),v(D,"dragstart",this._onDragStart));try{document.selection?kt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ut=!1,D&&f){N("dragStarted",this,{evt:n}),this.nativeDraggable&&v(document,"dragover",Qe);var o=this.options;!t&&R(f,o.dragClass,!1),R(f,o.ghostClass,!0),p.active=this,t&&this._appendGhost(),x({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(G){this._lastX=G.clientX,this._lastY=G.clientY,xe();for(var t=document.elementFromPoint(G.clientX,G.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(G.clientX,G.clientY),t!==n);)n=t;if(f.parentNode[P]._isOutsideThisEl(t),n)do{if(n[P]){var o=void 0;if(o=n[P]._onDragOver({clientX:G.clientX,clientY:G.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=Ee(n));Ne()}},_onTouchMove:function(t){if(it){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ct(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Nt&&A&&pe(A),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),c=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-(Ut||0),a.f+=c-($t||0)):a={a:1,b:0,c:0,d:1,e:d,f:c};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",b),h(g,"mozTransform",b),h(g,"msTransform",b),h(g,"transform",b),Ut=d,$t=c,G=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:D,n=O(f,!0,Nt,!0,t),o=this.options;if(Nt){for(A=t;h(A,"position")==="static"&&h(A,"transform")==="none"&&A!==document;)A=A.parentNode;A!==document.body&&A!==document.documentElement?(A===document&&(A=K()),n.top+=A.scrollTop,n.left+=A.scrollLeft):A=K(),qt=pe(A)}g=f.cloneNode(!0),R(g,o.ghostClass,!1),R(g,o.fallbackClass,!0),R(g,o.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",n.top),h(g,"left",n.left),h(g,"width",n.width),h(g,"height",n.height),h(g,"opacity","0.8"),h(g,"position",Nt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",ge/parseInt(g.style.width)*100+"% "+me/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,r=o.options;if(N("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}N("setupClone",this),p.eventCanceled||(S=Ce(f),S.removeAttribute("id"),S.draggable=!1,S.style["will-change"]="",this._hideClone(),R(S,this.options.chosenClass,!1),p.clone=S),o.cloneId=kt(function(){N("clone",o),!p.eventCanceled&&(o.options.removeCloneOnHide||D.insertBefore(S,f),o._hideClone(),x({sortable:o,name:"clone"}))}),!n&&R(f,r.dragClass,!0),n?(Bt=!0,o._loopId=setInterval(o._emulateDragOver,50)):(m(document,"mouseup",o._onDrop),m(document,"touchend",o._onDrop),m(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,f)),v(document,"drop",o),h(f,"transform","translateZ(0)")),ut=!0,o._dragStartId=kt(o._dragStarted.bind(o,n,t)),v(document,"selectstart",o),bt=!0,window.getSelection().removeAllRanges(),Et&&h(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=It===s,c=l.sort,b=T||u,E,w=this,y=!1;if(te)return;function Y(vt,Re){N(vt,w,L({evt:t,isOwner:d,axis:E?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:c,fromSortable:b,target:o,completed:I,onMove:function(ue,ke){return Pt(D,n,f,i,ue,O(ue),t,ke)},changed:B},Re))}function j(){Y("dragOverAnimationCapture"),w.captureAnimationState(),w!==b&&b.captureAnimationState()}function I(vt){return Y("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(w),w!==b&&(R(f,T?T.options.ghostClass:u.options.ghostClass,!1),R(f,l.ghostClass,!0)),T!==w&&w!==p.active?T=w:w===p.active&&T&&(T=null),b===w&&(w._ignoreWhileAnimating=o),w.animateAll(function(){Y("dragOverAnimationComplete"),w._ignoreWhileAnimating=null}),w!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(o===f&&!f.animated||o===n&&!o.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&o!==document&&(f.parentNode[P]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),y=!0}function B(){k=X(f),Q=X(f,l.draggable),x({sortable:w,name:"change",toEl:n,newIndex:k,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=H(o,l.draggable,n,!0),Y("dragOver"),p.eventCanceled)return y;if(f.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||w._ignoreWhileAnimating===o)return I(!1);if(Bt=!1,u&&!l.disabled&&(d?c||(a=_!==D):T===this||(this.lastPutMode=It.checkPull(this,u,f,t))&&s.checkPut(this,u,f,t))){if(E=this._getDirection(t,o)==="vertical",i=O(f),Y("dragOverValid"),p.eventCanceled)return y;if(a)return _=D,j(),this._hideClone(),Y("revert"),p.eventCanceled||(at?D.insertBefore(f,at):D.appendChild(f)),I(!0);var M=re(n,l.draggable);if(!M||nn(t,E,this)&&!M.animated){if(M===f)return I(!1);if(M&&n===t.target&&(o=M),o&&(r=O(o)),Pt(D,n,f,i,o,r,t,!!o)!==!1)return j(),M&&M.nextSibling?n.insertBefore(f,M.nextSibling):n.appendChild(f),_=n,B(),I(!0)}else if(M&&en(t,E,this)){var et=dt(n,0,l,!0);if(et===f)return I(!1);if(o=et,r=O(o),Pt(D,n,f,i,o,r,t,!1)!==!1)return j(),n.insertBefore(f,et),_=n,B(),I(!0)}else if(o.parentNode===n){r=O(o);var W=0,nt,ht=f.parentNode!==n,F=!Ve(f.animated&&f.toRect||i,o.animated&&o.toRect||r,E),pt=E?"top":"left",V=he(o,"top","top")||he(f,"top","top"),gt=V?V.scrollTop:void 0;st!==o&&(nt=r[pt],Ct=!1,xt=!F&&l.invertSwap||ht),W=on(t,o,r,E,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,xt,st===o);var z;if(W!==0){var ot=X(f);do ot-=W,z=_.children[ot];while(z&&(h(z,"display")==="none"||z===g))}if(W===0||z===o)return I(!1);st=o,_t=W;var mt=o.nextElementSibling,Z=!1;Z=W===1;var At=Pt(D,n,f,i,o,r,t,Z);if(At!==!1)return(At===1||At===-1)&&(Z=At===1),te=!0,setTimeout(tn,30),j(),Z&&!mt?n.appendChild(f):o.parentNode.insertBefore(f,Z?mt:o),V&&_e(V,0,gt-V.scrollTop),_=f.parentNode,nt!==void 0&&!xt&&(Rt=Math.abs(nt-O(o)[pt])),B(),I(!0)}if(n.contains(f))return I(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",rt),m(document,"mousemove",rt),m(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"pointercancel",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(k=X(f),Q=X(f,o.draggable),N("drop",this,{evt:t}),_=f&&f.parentNode,k=X(f),Q=X(f,o.draggable),p.eventCanceled){this._nulling();return}ut=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ee(this.cloneId),ee(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Et&&h(document.body,"user-select",""),h(f,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(D===_||T&&T.lastPutMode!=="clone")&&S&&S.parentNode&&S.parentNode.removeChild(S),f&&(this.nativeDraggable&&m(f,"dragend",this),Vt(f),f.style["will-change"]="",bt&&!ut&&R(f,T?T.options.ghostClass:this.options.ghostClass,!1),R(f,this.options.chosenClass,!1),x({sortable:this,name:"unchoose",toEl:_,newIndex:null,newDraggableIndex:null,originalEvent:t}),D!==_?(k>=0&&(x({rootEl:_,name:"add",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"remove",toEl:_,originalEvent:t}),x({rootEl:_,name:"sort",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),T&&T.save()):k!==ft&&k>=0&&(x({sortable:this,name:"update",toEl:_,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),p.active&&((k==null||k===-1)&&(k=ft,Q=St),x({sortable:this,name:"end",toEl:_,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){N("nulling",this),D=f=_=g=at=S=Ft=J=it=G=bt=k=Q=ft=St=st=_t=T=It=p.dragged=p.ghost=p.clone=p.active=null,Ht.forEach(function(t){t.checked=!0}),Ht.length=Ut=$t=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":f&&(this._onDragOver(t),Je(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)n=o[i],H(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||an(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];H(l,this.options.draggable,i,!1)&&(o[r]=l)},this),n&&this.captureAnimationState(),t.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return H(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=Tt.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&Ie(o)},destroy:function(){N("destroy",this);var t=this.el;t[P]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Gt.splice(Gt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(N("hideClone",this),p.eventCanceled)return;h(S,"display","none"),this.options.removeCloneOnHide&&S.parentNode&&S.parentNode.removeChild(S),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(N("showClone",this),p.eventCanceled)return;f.parentNode==D&&!this.options.group.revertClone?D.insertBefore(S,f):at?D.insertBefore(S,at):D.appendChild(S),this.options.group.revertClone&&this.animate(f,S),h(S,"display",""),J=!1}}};function Je(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Pt(e,t,n,o,i,r,a,l){var s,u=e[P],d=u.options.onMove,c;return window.CustomEvent&&!q&&!Ot?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=r||O(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),d&&(c=d.call(u,s,a)),c}function Vt(e){e.draggable=!1}function tn(){te=!1}function en(e,t,n){var o=O(dt(n.el,0,n.options,!0)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX<i.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-r||e.clientY<o.bottom&&e.clientX<o.left}function nn(e,t,n){var o=O(re(n.el,n.options.draggable)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX>i.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+r||e.clientX>o.right&&e.clientY>o.top}function on(e,t,n,o,i,r,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,d=o?n.top:n.left,c=o?n.bottom:n.right,b=!1;if(!a){if(l&&Rt<u*i){if(!Ct&&(_t===1?s>d+u*r/2:s<c-u*r/2)&&(Ct=!0),Ct)b=!0;else if(_t===1?s<d+Rt:s>c-Rt)return-_t}else if(s>d+u*(1-i)/2&&s<c-u*(1-i)/2)return rn(t)}return b=b||a,b&&(s<d+u*r/2||s>c-u*r/2)?s>d+u/2?1:-1:0}function rn(e){return X(f)<X(e)?1:-1}function an(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function ln(e){Ht.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Ht.push(o)}}function kt(e){return setTimeout(e,0)}function ee(e){return clearTimeout(e)}Kt&&v(document,"touchmove",function(e){(p.active||ut)&&e.cancelable&&e.preventDefault()});p.utils={on:v,off:m,css:h,find:De,is:function(t,n){return!!H(t,n,t,!1)},extend:We,throttle:Se,closest:H,toggleClass:R,clone:Ce,index:X,nextTick:kt,cancelNextTick:ee,detectDirection:Ae,getChild:dt,expando:P};p.get=function(e){return e[P]};p.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(p.utils=L(L({},p.utils),o.utils)),Tt.mount(o)})};p.create=function(e,t){return new p(e,t)};p.version=Ge;var C=[],wt,ne,oe=!1,Zt,Qt,Wt,yt;function sn(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):o.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),be(),Xt(),Ke()},nulling:function(){Wt=ne=wt=oe=yt=Zt=Qt=null,C.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,r=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,l=document.elementFromPoint(r,a);if(Wt=n,o||this.options.forceAutoScrollFallback||Ot||q||Et){Jt(n,this.options,l,o);var s=tt(l,!0);oe&&(!yt||r!==Zt||a!==Qt)&&(yt&&be(),yt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Xt()),Jt(n,i.options,u,o)},10),Zt=r,Qt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===K()){Xt();return}Jt(n,this.options,tt(l,!1),!1)}}},$(e,{pluginName:"scroll",initializeByDefault:!0})}function Xt(){C.forEach(function(e){clearInterval(e.pid)}),C=[]}function be(){clearInterval(yt)}var Jt=Se(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=K(),u=!1,d;ne!==n&&(ne=n,Xt(),wt=t.scroll,d=t.scrollFn,wt===!0&&(wt=tt(n,!0)));var c=0,b=wt;do{var E=b,w=O(E),y=w.top,Y=w.bottom,j=w.left,I=w.right,B=w.width,M=w.height,et=void 0,W=void 0,nt=E.scrollWidth,ht=E.scrollHeight,F=h(E),pt=E.scrollLeft,V=E.scrollTop;E===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(I-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),z=W&&(Math.abs(Y-r)<=a&&V+M<ht)-(Math.abs(y-r)<=a&&!!V);if(!C[c])for(var ot=0;ot<=c;ot++)C[ot]||(C[ot]={});(C[c].vx!=gt||C[c].vy!=z||C[c].el!==E)&&(C[c].el=E,C[c].vx=gt,C[c].vy=z,clearInterval(C[c].pid),(gt!=0||z!=0)&&(u=!0,C[c].pid=setInterval(function(){o&&this.layer===0&&p.active._onTouchMove(Wt);var mt=C[this.layer].vy?C[this.layer].vy*l:0,Z=C[this.layer].vx?C[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[P],Z,mt,e,Wt,C[this.layer].el)!=="continue"||_e(C[this.layer].el,Z,mt)}.bind({layer:c}),24))),c++}while(t.bubbleScroll&&b!==s&&(b=tt(b,!1)));oe=u}},30),Pe=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(n){var u=o||r;l();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,c=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(c)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function ae(){}ae.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Pe};$(ae,{pluginName:"revertOnSpill"});function le(){}le.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Pe};$(le,{pluginName:"removeOnSpill"});p.mount(new sn);p.mount(le,ae);var Me=p;var Lt=new Set,un={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function mn(e){if(Fe(e))return;fn(e),Lt.add(e);let t="id",{group:n,handleSelector:o,dragSelector:i}=e;e.sortable=Me.create(e.el,{dataIdAttr:t,...un,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!e.canPull&&{pull:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPull({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})},...!!e.canPut&&{put:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPut({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})}}},onMove:({from:r,dragged:a,to:l,related:s})=>{e.onDragMove&&e.onDragMove({fromEl:r,dragEl:a,toEl:l,relatedEl:s})},handle:o,filter:`${o}[disabled]`,onStart:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!0,cn(),e.onDragStart({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onEnd:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!1,dn(),e.onDragEnd({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onSort:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{e.onDragSort({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})}})}function fn(e){Fe(e)||(Lt.delete(e),e.sortable?.destroy(),e.sortable=null)}var se={active:!1};function Fe(e){return e.dragEnabled&&se.active}function cn(){Array.from(Lt).forEach(e=>e.onGlobalDragStart())}function dn(){Array.from(Lt).forEach(e=>e.onGlobalDragEnd())}export{mn as a,fn as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
var m=(t,e,n)=>Math.max(e,Math.min(t,n)),c=new RegExp(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/),s=t=>{let e=(""+t).match(c);return!e||parseInt(e[1])===0?0:Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0))};function i(t){return s(t)>0&&t>0?parseFloat(`0.${t.toString().split(".")[1]}`):t}function o(t,e,n,a,r){return(t-e)*(r-a)/(n-e)+a}function g(t,e,n){return t<n?-1:t>e-n?1:0}export{m as a,s as b,i as c,o as d,g as e};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{a as c}from"./5ZIDO3WK.js";import{E as d,R as h,c as n,d as r,q as o}from"./A6PXYMIR.js";var u=n`:host{display:block}:host([hidden]){display:none}[hidden]{display:none}`,l=class extends d{constructor(){super(...arguments),this.mutationObserver=c("mutation",()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}),this.disabled=!1,this.calciteInternalOptionChange=o({cancelable:!1})}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,selected:[7,{},{reflect:!0,type:Boolean}],value:1}}static{this.styles=u}connectedCallback(){super.connectedCallback(),this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}willUpdate(e){e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handlePropChange(this.disabled,e.get("disabled"),"disabled"),e.has("label")&&this.handlePropChange(this.label,e.get("label"),"label"),e.has("selected")&&this.handlePropChange(this.selected,e.get("selected"),"selected"),e.has("value")&&this.handlePropChange(this.value,e.get("value"),"value")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}handlePropChange(e,a,t){(t==="label"||t==="value")&&this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){let{el:{textContent:e},internallySetLabel:a,internallySetValue:t,label:s,value:i}=this;(!s||s===a)&&(this.label=e,this.internallySetLabel=e),(i==null||i===t)&&(this.value=e,this.internallySetValue=e)}render(){return r`<slot>${this.label}</slot>`}};h("calcite-option",l);export{l as Option};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import{a as y}from"./QDUF6PLE.js";import{a as _}from"./UBFWUWDR.js";import{a as K}from"./O3OCUHQX.js";import{a as C}from"./JYXQGOKN.js";import{a as F}from"./4LYUPSQL.js";import{a as U}from"./2XJXDX35.js";import{a as R}from"./LFMPTQHL.js";import{a as M}from"./5ZIDO3WK.js";import{c as L}from"./IDBLX5MO.js";import{b as f}from"./AE3GS3TO.js";import{D as h,b as V,e as v,n as A}from"./ZCWNMSG2.js";import{d as P}from"./VGL3WVHU.js";import"./WQASJHDE.js";import"./BTG3ZQHR.js";import{E as O,F as c,I as E,K as I,M as T,N as $,R as H,c as B,d as S,q as u}from"./A6PXYMIR.js";var r={scrim:"scrim",container:"container",containerOpen:"container--open",content:"content",contentContainer:"content-container",containerEmbedded:"container--embedded",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},j=B`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);box-sizing:border-box;display:flex;opacity:0;color:var(--calcite-sheet-text-color, var(--calcite-color-text-2));transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--calcite-sheet-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden}:host([opened]){visibility:visible!important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:flex;max-height:100%;max-width:100%;padding:0;background-color:var(--calcite-sheet-background-color, var(--calcite-color-foreground-1));max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transform:var(--calcite-sheet-hidden-position-internal)}.content-container{position:relative;display:flex;max-height:100%;max-width:100%;flex:1 1 0%;overflow:hidden}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([display-mode=float]) .container{padding:var(--calcite-spacing-md)}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{height:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{width:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);right:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);left:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-top-left-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-top-right-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,D=class extends O{constructor(){super(),this.focusTrap=K({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:()=>this.embedded,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.usePreventDocumentScroll=_()(this),this.ignoreOpenChange=!1,this.messages=L(),this.mutationObserver=M("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openProp="opened",this.transitionProp="opacity",this.keyDownHandler=e=>{let{defaultPrevented:t,key:a}=e;!t&&!this.escapeDisabled&&this.focusTrapDisabled&&this.open&&a==="Escape"&&(e.preventDefault(),this.open=!1)},this.resizeValues={inlineSize:null,blockSize:null,minInlineSize:null,minBlockSize:null,maxInlineSize:null,maxBlockSize:null},this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.focusTrapDisabled=!1,this.heightScale="m",this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.resizable=!1,this.widthScale="m",this.calciteSheetBeforeClose=u({cancelable:!1}),this.calciteSheetBeforeOpen=u({cancelable:!1}),this.calciteSheetClose=u({cancelable:!1}),this.calciteSheetOpen=u({cancelable:!1}),this.listen("keydown",this.keyDownHandler)}static{this.properties={resizeValues:[16,{},{state:!0}],preventDocumentScroll:[16,{},{state:!0}],beforeClose:[0,{},{attribute:!1}],displayMode:[3,{},{reflect:!0}],embedded:[5,{},{type:Boolean}],escapeDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heightScale:[3,{},{reflect:!0}],height:[3,{},{reflect:!0}],label:1,messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],opened:[7,{},{reflect:!0,type:Boolean}],outsideCloseDisabled:[7,{},{reflect:!0,type:Boolean}],position:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=j}get preventDocumentScroll(){return!this.embedded}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleSheet(e))}async setFocus(){await P(this),A(this.el)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setupInteractions()}load(){this.open&&this.openSheet()}willUpdate(e){e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&U(this),(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("position")&&(this.hasUpdated||this.position!=="inline-start")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.setupInteractions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.embedded=!1,this.cleanupInteractions()}toggleSheet(e){this.ignoreOpenChange||(e?this.openSheet():this.closeSheet())}getResizeIcon(){let{position:e}=this;return e==="block-start"||e==="block-end"?"drag-resize-vertical":"drag-resize-horizontal"}getContentElDOMRect(){return this.contentEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,defaultPrevented:a,shiftKey:n}=e,{position:i,resizable:s,contentEl:b,el:d,resizeValues:{maxBlockSize:x,maxInlineSize:g,minBlockSize:k,minInlineSize:w}}=this,z=[...i==="block-end"||i==="block-start"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!s||!b||a||!z.includes(t))return;let l=this.getContentElDOMRect(),m=v(d)==="rtl"?-1:1,o=n?$:T;switch(t){case"ArrowUp":this.updateSize({size:l.height+(i==="block-end"?o:-o),type:"blockSize"}),e.preventDefault();break;case"ArrowDown":this.updateSize({size:l.height+(i==="block-end"?-o:o),type:"blockSize"}),e.preventDefault();break;case"ArrowLeft":this.updateSize({size:l.width+(i==="inline-end"?o:-o)*m,type:"inlineSize"}),e.preventDefault();break;case"ArrowRight":this.updateSize({size:l.width+(i==="inline-end"?-o:o)*m,type:"inlineSize"}),e.preventDefault();break;case"Home":this.updateSize({size:i==="block-start"||i==="block-end"?k:w,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"}),e.preventDefault();break;case"End":this.updateSize({size:i==="block-start"||i==="block-end"?x:g,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"}),e.preventDefault();break}}updateSize({type:e,size:t}){let{contentEl:a,resizeValues:n}=this;if(!a)return;let i=e==="blockSize"?"minBlockSize":"minInlineSize",s=e==="blockSize"?"maxBlockSize":"maxInlineSize",b=n[i]&&n[s]?F(t,n[i],n[s]):t,d=Math.round(b);this.resizeValues={...n,[e]:d},a.style[e]=t!==null?`${d}px`:null}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"})}async setupInteractions(){this.cleanupInteractions();let{el:e,contentEl:t,resizable:a,position:n,open:i,resizeHandleEl:s}=this;if(!t||!i||!a||!s)return;await this.el.componentOnReady();let{inlineSize:b,minInlineSize:d,blockSize:x,minBlockSize:g,maxInlineSize:k,maxBlockSize:w}=window.getComputedStyle(t),p={inlineSize:h(b),blockSize:h(x),minInlineSize:h(d),minBlockSize:h(g),maxInlineSize:h(k)||window.innerWidth,maxBlockSize:h(w)||window.innerHeight};this.resizeValues=p;let z=v(e)==="rtl";this.interaction=y(t,{context:e.ownerDocument}).resizable({edges:{top:n==="block-end"?s:!1,right:n===(z?"inline-end":"inline-start")?s:!1,bottom:n==="block-start"?s:!1,left:n===(z?"inline-start":"inline-end")?s:!1},modifiers:[y.modifiers.restrictSize({min:{width:p.minInlineSize,height:p.minBlockSize},max:{width:p.maxInlineSize,height:p.maxBlockSize}})],listeners:{move:({rect:l})=>{let m=n==="block-start"||n==="block-end";this.updateSize({size:m?l.height:l.width,type:m?"blockSize":"inlineSize"})}}})}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.focusTrapDisabled&&this.setFocus(),this.focusTrap.activate(),this.calciteSheetOpen.emit()}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),this.focusTrap.deactivate()}setResizeHandleEl(e){this.resizeHandleEl=e,this.setupInteractions()}setContentEl(e){this.contentEl=e,this.contentId=V(e)}setTransitionEl(e){e&&(this.transitionEl=e)}async openSheet(){await this.componentOnReady(),this.opened=!0}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeSheet(){if(this.beforeClose)try{await this.beforeClose(this.el)}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}this.opened=!1}handleMutationObserver(){this.focusTrap.updateContainerElements()}render(){let{resizable:e,position:t,resizeValues:a}=this,n=v(this.el),i=t==="block-start"||t==="block-end";return E(this.el,"aria-describedby",this.contentId),this.el.ariaLabel=this.label,this.el.ariaModal="true",this.el.role="dialog",S`<div class=${c({[r.container]:!0,[r.containerOpen]:this.opened,[r.containerEmbedded]:this.embedded,[I.rtl]:n==="rtl",[C("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[C("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} ${f(this.setTransitionEl)}><calcite-scrim class=${c(r.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${c(r.content)} id=sheet-content ${f(this.setContentEl)}><div class=${c(r.contentContainer)}><slot></slot></div>${e?R("resize-handle",S`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${i?a.maxBlockSize:a.maxInlineSize} .ariaValueMin=${i?a.minBlockSize:a.minInlineSize} .ariaValueNow=${i?a.blockSize:a.inlineSize} class=${c(r.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${f(this.setResizeHandleEl)}><div class=${c(r.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null}</div></div>`}};H("calcite-sheet",D);export{D as Sheet};
|