@esri/calcite-components 3.2.0-next.13 → 3.2.0-next.14
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/dist/calcite/2CJ45E3M.js +4 -0
- package/dist/calcite/2CJ45E3M.js.LEGAL.txt +3 -0
- package/dist/calcite/2IA2ATXS.js +4 -0
- package/dist/calcite/2IA2ATXS.js.LEGAL.txt +3 -0
- package/dist/calcite/2KSNZRN3.js +4 -0
- package/dist/calcite/2KSNZRN3.js.LEGAL.txt +3 -0
- package/dist/calcite/2MDSHXXV.js +4 -0
- package/dist/calcite/2PWIVHKC.js +4 -0
- package/dist/calcite/2PWIVHKC.js.LEGAL.txt +3 -0
- package/dist/calcite/2QKMJITN.js +4 -0
- package/dist/calcite/2QKMJITN.js.LEGAL.txt +3 -0
- package/dist/calcite/2WDZXFRJ.js +4 -0
- package/dist/calcite/36IBLE27.js +4 -0
- package/dist/calcite/36IBLE27.js.LEGAL.txt +3 -0
- package/dist/calcite/36N5JTZK.js +4 -0
- package/dist/calcite/36N5JTZK.js.LEGAL.txt +3 -0
- package/dist/calcite/3C2LS72H.js +4 -0
- package/dist/calcite/3C2LS72H.js.LEGAL.txt +3 -0
- package/dist/calcite/3DXOK56D.js +4 -0
- package/dist/calcite/3DXOK56D.js.LEGAL.txt +3 -0
- package/dist/calcite/3GM64LYU.js +4 -0
- package/dist/calcite/3GM64LYU.js.LEGAL.txt +3 -0
- package/dist/calcite/3K2BFKTJ.js +4 -0
- package/dist/calcite/3K2BFKTJ.js.LEGAL.txt +3 -0
- package/dist/calcite/3LQVECA2.js +4 -0
- package/dist/calcite/3LQVECA2.js.LEGAL.txt +3 -0
- package/dist/calcite/3MPN3J2H.js +4 -0
- package/dist/calcite/3MPN3J2H.js.LEGAL.txt +3 -0
- package/dist/calcite/3NDDCYX6.js +4 -0
- package/dist/calcite/3NDDCYX6.js.LEGAL.txt +13 -0
- package/dist/calcite/3OHOKJCM.js +4 -0
- package/dist/calcite/3OHOKJCM.js.LEGAL.txt +3 -0
- package/dist/calcite/3Q5MO4XM.js +4 -0
- package/dist/calcite/3Q5MO4XM.js.LEGAL.txt +3 -0
- package/dist/calcite/3QIEXJQX.js +4 -0
- package/dist/calcite/3QIEXJQX.js.LEGAL.txt +3 -0
- package/dist/calcite/3TTD7TSS.js +4 -0
- package/dist/calcite/3TTD7TSS.js.LEGAL.txt +7 -0
- package/dist/calcite/43G3A5AU.js +4 -0
- package/dist/calcite/44RAUIFQ.js +4 -0
- package/dist/calcite/44RAUIFQ.js.LEGAL.txt +3 -0
- package/dist/calcite/4CQNT76S.js +4 -0
- package/dist/calcite/4CQNT76S.js.LEGAL.txt +3 -0
- package/dist/calcite/4I7A3SQF.js +4 -0
- package/dist/calcite/4I7A3SQF.js.LEGAL.txt +3 -0
- package/dist/calcite/4N2SWSMO.js +4 -0
- package/dist/calcite/4N2SWSMO.js.LEGAL.txt +3 -0
- package/dist/calcite/4SNJZNYA.js +4 -0
- package/dist/calcite/4SNJZNYA.js.LEGAL.txt +3 -0
- package/dist/calcite/4TFZCRM4.js +4 -0
- package/dist/calcite/4VNOC54S.js +4 -0
- package/dist/calcite/537IUKFX.js +4 -0
- package/dist/calcite/537IUKFX.js.LEGAL.txt +3 -0
- package/dist/calcite/544ABLSB.js +4 -0
- package/dist/calcite/544ABLSB.js.LEGAL.txt +3 -0
- package/dist/calcite/5AXPNA75.js +4 -0
- package/dist/calcite/5AXPNA75.js.LEGAL.txt +3 -0
- package/dist/calcite/5OLV5KSA.js +4 -0
- package/dist/calcite/5OLV5KSA.js.LEGAL.txt +3 -0
- package/dist/calcite/5UUVSU6N.js +4 -0
- package/dist/calcite/5VNSEQYL.js +4 -0
- package/dist/calcite/5VNSEQYL.js.LEGAL.txt +3 -0
- package/dist/calcite/5ZMI32JY.js +4 -0
- package/dist/calcite/64ESYODS.js +4 -0
- package/dist/calcite/6JR7SRCO.js +4 -0
- package/dist/calcite/6JR7SRCO.js.LEGAL.txt +3 -0
- package/dist/calcite/6TX77JLV.js +4 -0
- package/dist/calcite/6TX77JLV.js.LEGAL.txt +3 -0
- package/dist/calcite/6WLJ5F6P.js +4 -0
- package/dist/calcite/6WLJ5F6P.js.LEGAL.txt +3 -0
- package/dist/calcite/6XPVAOX3.js +4 -0
- package/dist/calcite/6XPVAOX3.js.LEGAL.txt +3 -0
- package/dist/calcite/6Z5MCHFN.js +4 -0
- package/dist/calcite/6Z5MCHFN.js.LEGAL.txt +3 -0
- package/dist/calcite/73BOMHSO.js +4 -0
- package/dist/calcite/73BOMHSO.js.LEGAL.txt +3 -0
- package/dist/calcite/73X76OZ5.js +4 -0
- package/dist/calcite/7CTT3GRO.js +4 -0
- package/dist/calcite/7EJ2PPBV.js +4 -0
- package/dist/calcite/7EJ2PPBV.js.LEGAL.txt +3 -0
- package/dist/calcite/7EL7DSBI.js +4 -0
- package/dist/calcite/7EL7DSBI.js.LEGAL.txt +3 -0
- package/dist/calcite/7PCQYPJ2.js +4 -0
- package/dist/calcite/7RUHED5H.js +4 -0
- package/dist/calcite/ADHL4DXX.js +4 -0
- package/dist/calcite/ADHL4DXX.js.LEGAL.txt +3 -0
- package/dist/calcite/AEK57Z2I.js +4 -0
- package/dist/calcite/AGHTJVDE.js +4 -0
- package/dist/calcite/ANNNPVVI.js +4 -0
- package/dist/calcite/ANNNPVVI.js.LEGAL.txt +3 -0
- package/dist/calcite/AQO4SJGI.js +4 -0
- package/dist/calcite/AQO4SJGI.js.LEGAL.txt +3 -0
- package/dist/calcite/B6CIHBDO.js +4 -0
- package/dist/calcite/B7JRTB3W.js +4 -0
- package/dist/calcite/B7ZIKA5W.js +4 -0
- package/dist/calcite/B7ZIKA5W.js.LEGAL.txt +3 -0
- package/dist/calcite/BDHZD6S5.js +4 -0
- package/dist/calcite/BDHZD6S5.js.LEGAL.txt +3 -0
- package/dist/calcite/BEPQLB2P.js +4 -0
- package/dist/calcite/BEPQLB2P.js.LEGAL.txt +3 -0
- package/dist/calcite/BFAFNOP2.js +4 -0
- package/dist/calcite/BFAFNOP2.js.LEGAL.txt +3 -0
- package/dist/calcite/BIMF4Y73.js +4 -0
- package/dist/calcite/BIMF4Y73.js.LEGAL.txt +3 -0
- package/dist/calcite/BKJXOBA7.js +4 -0
- package/dist/calcite/BKJXOBA7.js.LEGAL.txt +3 -0
- package/dist/calcite/BVAOAWQY.js +4 -0
- package/dist/calcite/BVAOAWQY.js.LEGAL.txt +3 -0
- package/dist/calcite/C2IRKX5U.js +4 -0
- package/dist/calcite/C2IRKX5U.js.LEGAL.txt +3 -0
- package/dist/calcite/C4CGGBRN.js +4 -0
- package/dist/calcite/C4CGGBRN.js.LEGAL.txt +3 -0
- package/dist/calcite/C5JMJ7X7.js +4 -0
- package/dist/calcite/C5JMJ7X7.js.LEGAL.txt +3 -0
- package/dist/calcite/C5T232RP.js +4 -0
- package/dist/calcite/C5T232RP.js.LEGAL.txt +3 -0
- package/dist/calcite/CEFEIP24.js +4 -0
- package/dist/calcite/CEFEIP24.js.LEGAL.txt +3 -0
- package/dist/calcite/CEYTPGGS.js +4 -0
- package/dist/calcite/CEYTPGGS.js.LEGAL.txt +3 -0
- package/dist/calcite/CGC4WLPN.js +4 -0
- package/dist/calcite/CN3JLTE3.js +4 -0
- package/dist/calcite/CN3JLTE3.js.LEGAL.txt +3 -0
- package/dist/calcite/CSHE5V4B.js +4 -0
- package/dist/calcite/CSHE5V4B.js.LEGAL.txt +3 -0
- package/dist/calcite/CSL4M6O2.js +4 -0
- package/dist/calcite/CSL4M6O2.js.LEGAL.txt +3 -0
- package/dist/calcite/CUC23TUQ.js +4 -0
- package/dist/calcite/CVLTO3WA.js +4 -0
- package/dist/calcite/CYR4TKCY.js +4 -0
- package/dist/calcite/CYR4TKCY.js.LEGAL.txt +3 -0
- package/dist/calcite/D4SISASV.js +4 -0
- package/dist/calcite/D5SGLN75.js +4 -0
- package/dist/calcite/D5SGLN75.js.LEGAL.txt +3 -0
- package/dist/calcite/D723XVUY.js +4 -0
- package/dist/calcite/D723XVUY.js.LEGAL.txt +3 -0
- package/dist/calcite/DBG7WAM6.js +4 -0
- package/dist/calcite/DBG7WAM6.js.LEGAL.txt +3 -0
- package/dist/calcite/DJCQTJGD.js +4 -0
- package/dist/calcite/DJCQTJGD.js.LEGAL.txt +3 -0
- package/dist/calcite/DKLFM2YC.js +4 -0
- package/dist/calcite/DKLFM2YC.js.LEGAL.txt +3 -0
- package/dist/calcite/DPKNONQQ.js +4 -0
- package/dist/calcite/DXYBIGI5.js +4 -0
- package/dist/calcite/DXYBIGI5.js.LEGAL.txt +3 -0
- package/dist/calcite/DZZJ3BNU.js +4 -0
- package/dist/calcite/DZZJ3BNU.js.LEGAL.txt +3 -0
- package/dist/calcite/E32CMNKB.js +4 -0
- package/dist/calcite/E32CMNKB.js.LEGAL.txt +3 -0
- package/dist/calcite/E556LVM6.js +4 -0
- package/dist/calcite/E556LVM6.js.LEGAL.txt +3 -0
- package/dist/calcite/EALYFQUS.js +4 -0
- package/dist/calcite/EBJR26QJ.js +4 -0
- package/dist/calcite/EBJR26QJ.js.LEGAL.txt +3 -0
- package/dist/calcite/EBVILQPH.js +4 -0
- package/dist/calcite/EBVILQPH.js.LEGAL.txt +3 -0
- package/dist/calcite/EMU7SXCO.js +4 -0
- package/dist/calcite/EMU7SXCO.js.LEGAL.txt +3 -0
- package/dist/calcite/EXGLVC7B.js +4 -0
- package/dist/calcite/EXGLVC7B.js.LEGAL.txt +3 -0
- package/dist/calcite/F6PWV3MH.js +4 -0
- package/dist/calcite/F6PWV3MH.js.LEGAL.txt +3 -0
- package/dist/calcite/FPNIQH57.js +4 -0
- package/dist/calcite/FQUY4ATA.js +4 -0
- package/dist/calcite/FQUY4ATA.js.LEGAL.txt +3 -0
- package/dist/calcite/FVU5WDQA.js +4 -0
- package/dist/calcite/FVU5WDQA.js.LEGAL.txt +3 -0
- package/dist/calcite/FWT2XO3Z.js +4 -0
- package/dist/calcite/FWT2XO3Z.js.LEGAL.txt +3 -0
- package/dist/calcite/G5XZT4RR.js +4 -0
- package/dist/calcite/G5XZT4RR.js.LEGAL.txt +3 -0
- package/dist/calcite/G6LKIFZI.js +4 -0
- package/dist/calcite/G6LKIFZI.js.LEGAL.txt +3 -0
- package/dist/calcite/GBXJA6PS.js +4 -0
- package/dist/calcite/GF2NAUID.js +4 -0
- package/dist/calcite/GJI2BHG3.js +4 -0
- package/dist/calcite/GJI2BHG3.js.LEGAL.txt +3 -0
- package/dist/calcite/HC3VTW3M.js +5 -0
- package/dist/calcite/HC3VTW3M.js.LEGAL.txt +17 -0
- package/dist/calcite/HFV5GZPS.js +4 -0
- package/dist/calcite/HJJRMTM7.js +4 -0
- package/dist/calcite/HOTLPDRR.js +4 -0
- package/dist/calcite/HOTLPDRR.js.LEGAL.txt +3 -0
- package/dist/calcite/HTHGDUK6.js +4 -0
- package/dist/calcite/HTHGDUK6.js.LEGAL.txt +3 -0
- package/dist/calcite/HUA2X57A.js +4 -0
- package/dist/calcite/HUA2X57A.js.LEGAL.txt +3 -0
- package/dist/calcite/HWDMP4B3.js +4 -0
- package/dist/calcite/HWDMP4B3.js.LEGAL.txt +3 -0
- package/dist/calcite/I65JALTW.js +4 -0
- package/dist/calcite/I65JALTW.js.LEGAL.txt +3 -0
- package/dist/calcite/ICM2GT75.js +4 -0
- package/dist/calcite/IGHOFY76.js +4 -0
- package/dist/calcite/IGHOFY76.js.LEGAL.txt +3 -0
- package/dist/calcite/IIR5NXNP.js +4 -0
- package/dist/calcite/IIR5NXNP.js.LEGAL.txt +3 -0
- package/dist/calcite/IU3JKZTU.js +4 -0
- package/dist/calcite/IU3JKZTU.js.LEGAL.txt +3 -0
- package/dist/calcite/J6CRAV6B.js +4 -0
- package/dist/calcite/J72H3YSO.js +4 -0
- package/dist/calcite/J72H3YSO.js.LEGAL.txt +3 -0
- package/dist/calcite/JJZTP45H.js +4 -0
- package/dist/calcite/JNB7YP3O.js +4 -0
- package/dist/calcite/JNB7YP3O.js.LEGAL.txt +3 -0
- package/dist/calcite/JOAIGJLJ.js +4 -0
- package/dist/calcite/JOAIGJLJ.js.LEGAL.txt +3 -0
- package/dist/calcite/JPHSEDUC.js +4 -0
- package/dist/calcite/JPHSEDUC.js.LEGAL.txt +3 -0
- package/dist/calcite/JRWP5WAG.js +4 -0
- package/dist/calcite/JRWP5WAG.js.LEGAL.txt +3 -0
- package/dist/calcite/K3APYKRE.js +4 -0
- package/dist/calcite/K3APYKRE.js.LEGAL.txt +3 -0
- package/dist/calcite/K5GFYKFN.js +4 -0
- package/dist/calcite/K75KFP3A.js +4 -0
- package/dist/calcite/KAU3LYOB.js +4 -0
- package/dist/calcite/KAU3LYOB.js.LEGAL.txt +3 -0
- package/dist/calcite/KCRS4MEC.js +5 -0
- package/dist/calcite/KCRS4MEC.js.LEGAL.txt +3 -0
- package/dist/calcite/KJ5AMJ7U.js +4 -0
- package/dist/calcite/KJ5AMJ7U.js.LEGAL.txt +3 -0
- package/dist/calcite/KJ6ZJRIR.js +4 -0
- package/dist/calcite/KJ6ZJRIR.js.LEGAL.txt +3 -0
- package/dist/calcite/KK3ZN6G2.js +5 -0
- package/dist/calcite/KOLI4RVH.js +4 -0
- package/dist/calcite/KOLI4RVH.js.LEGAL.txt +3 -0
- package/dist/calcite/L35MR7EV.js +4 -0
- package/dist/calcite/L35MR7EV.js.LEGAL.txt +3 -0
- package/dist/calcite/LCLH5QN2.js +4 -0
- package/dist/calcite/LCLH5QN2.js.LEGAL.txt +3 -0
- package/dist/calcite/LDNXFFOQ.js +4 -0
- package/dist/calcite/LDNXFFOQ.js.LEGAL.txt +3 -0
- package/dist/calcite/LMID44OD.js +4 -0
- package/dist/calcite/M4YMBJVF.js +4 -0
- package/dist/calcite/M4YMBJVF.js.LEGAL.txt +3 -0
- package/dist/calcite/M6FTCQCH.js +22 -0
- package/dist/calcite/M6FTCQCH.js.LEGAL.txt +3 -0
- package/dist/calcite/MBBXUT5E.js +4 -0
- package/dist/calcite/MDPTIVRP.js +4 -0
- package/dist/calcite/MDPTIVRP.js.LEGAL.txt +3 -0
- package/dist/calcite/MDXVZLYV.js +4 -0
- package/dist/calcite/MDXVZLYV.js.LEGAL.txt +3 -0
- package/dist/calcite/MLZVDLJB.js +4 -0
- package/dist/calcite/MLZVDLJB.js.LEGAL.txt +3 -0
- package/dist/calcite/MVPZJO2Y.js +4 -0
- package/dist/calcite/MXP76N56.js +4 -0
- package/dist/calcite/MXP76N56.js.LEGAL.txt +3 -0
- package/dist/calcite/N74UCSL5.js +4 -0
- package/dist/calcite/NEEXXX2Z.js +4 -0
- package/dist/calcite/NEEXXX2Z.js.LEGAL.txt +3 -0
- package/dist/calcite/NF6MT3QA.js +4 -0
- package/dist/calcite/NNJ74IFP.js +4 -0
- package/dist/calcite/NNJ74IFP.js.LEGAL.txt +3 -0
- package/dist/calcite/NPWWXYUW.js +4 -0
- package/dist/calcite/NPWWXYUW.js.LEGAL.txt +3 -0
- package/dist/calcite/NUQKLHRH.js +4 -0
- package/dist/calcite/NUQKLHRH.js.LEGAL.txt +3 -0
- package/dist/calcite/O56F6VH2.js +4 -0
- package/dist/calcite/ODBFMPKL.js +4 -0
- package/dist/calcite/ODBFMPKL.js.LEGAL.txt +3 -0
- package/dist/calcite/ODE4D5N5.js +4 -0
- package/dist/calcite/ODE4D5N5.js.LEGAL.txt +3 -0
- package/dist/calcite/OEXWZM46.js +4 -0
- package/dist/calcite/OEXWZM46.js.LEGAL.txt +3 -0
- package/dist/calcite/OHNUNBMK.js +4 -0
- package/dist/calcite/OHNUNBMK.js.LEGAL.txt +3 -0
- package/dist/calcite/OKLE2CV6.js +4 -0
- package/dist/calcite/OL2BT6T3.js +4 -0
- package/dist/calcite/OL2BT6T3.js.LEGAL.txt +3 -0
- package/dist/calcite/OOE2NM77.js +4 -0
- package/dist/calcite/OP7BY7PM.js +4 -0
- package/dist/calcite/OP7BY7PM.js.LEGAL.txt +3 -0
- package/dist/calcite/OTNBDELA.js +4 -0
- package/dist/calcite/OUYRXQGN.js +4 -0
- package/dist/calcite/OUYRXQGN.js.LEGAL.txt +3 -0
- package/dist/calcite/OYYJ6HZR.js +4 -0
- package/dist/calcite/OYYJ6HZR.js.LEGAL.txt +3 -0
- package/dist/calcite/P3V6B6DO.js +4 -0
- package/dist/calcite/P3V6B6DO.js.LEGAL.txt +3 -0
- package/dist/calcite/PBFDMIDJ.js +4 -0
- package/dist/calcite/PBFDMIDJ.js.LEGAL.txt +3 -0
- package/dist/calcite/PKTIO66P.js +4 -0
- package/dist/calcite/PVZ3WR3J.js +4 -0
- package/dist/calcite/Q3N5MFIU.js +4 -0
- package/dist/calcite/Q6OUB5G7.js +4 -0
- package/dist/calcite/QE45KRZ7.js +4 -0
- package/dist/calcite/QE45KRZ7.js.LEGAL.txt +3 -0
- package/dist/calcite/QGGHFGYX.js +4 -0
- package/dist/calcite/QI5SV3JN.js +4 -0
- package/dist/calcite/QOEGZSE2.js +5 -0
- package/dist/calcite/QWLV3QVG.js +4 -0
- package/dist/calcite/R2GCYBM3.js +4 -0
- package/dist/calcite/R2GCYBM3.js.LEGAL.txt +3 -0
- package/dist/calcite/RKV6NWUH.js +4 -0
- package/dist/calcite/RKV6NWUH.js.LEGAL.txt +3 -0
- package/dist/calcite/RL3CPAW5.js +4 -0
- package/dist/calcite/RL3CPAW5.js.LEGAL.txt +3 -0
- package/dist/calcite/ROMM3EUL.js +4 -0
- package/dist/calcite/RQZOTO4Z.js +4 -0
- package/dist/calcite/RQZOTO4Z.js.LEGAL.txt +3 -0
- package/dist/calcite/S4V4XA6Q.js +4 -0
- package/dist/calcite/S4V4XA6Q.js.LEGAL.txt +3 -0
- package/dist/calcite/S5G4LFOH.js +4 -0
- package/dist/calcite/S5G4LFOH.js.LEGAL.txt +3 -0
- package/dist/calcite/SBWWUAGU.js +4 -0
- package/dist/calcite/SBWWUAGU.js.LEGAL.txt +3 -0
- package/dist/calcite/SNE7O63O.js +4 -0
- package/dist/calcite/SNE7O63O.js.LEGAL.txt +3 -0
- package/dist/calcite/SNZGGGQ5.js +4 -0
- package/dist/calcite/SP4TM5FR.js +4 -0
- package/dist/calcite/T4VOSS4J.js +4 -0
- package/dist/calcite/T4VOSS4J.js.LEGAL.txt +3 -0
- package/dist/calcite/TA5F22ZO.js +4 -0
- package/dist/calcite/TA5F22ZO.js.LEGAL.txt +3 -0
- package/dist/calcite/TK65KE3V.js +4 -0
- package/dist/calcite/TK65KE3V.js.LEGAL.txt +3 -0
- package/dist/calcite/TNSRPEPJ.js +4 -0
- package/dist/calcite/U2VFDJVV.js +4 -0
- package/dist/calcite/U2VFDJVV.js.LEGAL.txt +3 -0
- package/dist/calcite/U5XIT5L6.js +4 -0
- package/dist/calcite/U5XIT5L6.js.LEGAL.txt +3 -0
- package/dist/calcite/UDPRCM3N.js +4 -0
- package/dist/calcite/UHZPUMTW.js +4 -0
- package/dist/calcite/UMJ37VKL.js +4 -0
- package/dist/calcite/UMJ37VKL.js.LEGAL.txt +3 -0
- package/dist/calcite/UVIPQ52T.js +4 -0
- package/dist/calcite/UVIPQ52T.js.LEGAL.txt +3 -0
- package/dist/calcite/VCMPMN7V.js +4 -0
- package/dist/calcite/VPKEH3CO.js +28 -0
- package/dist/calcite/VPKEH3CO.js.LEGAL.txt +3 -0
- package/dist/calcite/VQVANUS7.js +4 -0
- package/dist/calcite/VQVANUS7.js.LEGAL.txt +3 -0
- package/dist/calcite/VRBAWWZZ.js +4 -0
- package/dist/calcite/VWIZVIXZ.js +4 -0
- package/dist/calcite/WA5SEPDK.js +4 -0
- package/dist/calcite/WA5SEPDK.js.LEGAL.txt +3 -0
- package/dist/calcite/WJTTSYWP.js +4 -0
- package/dist/calcite/WR2ZP5L4.js +4 -0
- package/dist/calcite/WR2ZP5L4.js.LEGAL.txt +3 -0
- package/dist/calcite/WSCGYT7G.js +4 -0
- package/dist/calcite/WSCGYT7G.js.LEGAL.txt +3 -0
- package/dist/calcite/WV3PVVEA.js +4 -0
- package/dist/calcite/WXTLK6VN.js +4 -0
- package/dist/calcite/WYLXV24G.js +4 -0
- package/dist/calcite/WYLXV24G.js.LEGAL.txt +3 -0
- package/dist/calcite/WYQBOLVT.js +4 -0
- package/dist/calcite/WYQBOLVT.js.LEGAL.txt +3 -0
- package/dist/calcite/X5R5QU5N.js +4 -0
- package/dist/calcite/X5R5QU5N.js.LEGAL.txt +3 -0
- package/dist/calcite/X7QQISLB.js +4 -0
- package/dist/calcite/X7QQISLB.js.LEGAL.txt +3 -0
- package/dist/calcite/XAISKTMI.js +4 -0
- package/dist/calcite/XAISKTMI.js.LEGAL.txt +3 -0
- package/dist/calcite/XCEU53YF.js +4 -0
- package/dist/calcite/XCGSCD6C.js +4 -0
- package/dist/calcite/XHJW4X6Q.js +4 -0
- package/dist/calcite/XHJW4X6Q.js.LEGAL.txt +3 -0
- package/dist/calcite/XK7VBPCO.js +4 -0
- package/dist/calcite/XK7VBPCO.js.LEGAL.txt +3 -0
- package/dist/calcite/XLWUTQTB.js +4 -0
- package/dist/calcite/YFDBOGW5.js +4 -0
- package/dist/calcite/YUVQ5L4J.js +4 -0
- package/dist/calcite/YUVQ5L4J.js.LEGAL.txt +3 -0
- package/dist/calcite/YWCJBY37.js +4 -0
- package/dist/calcite/YWCJBY37.js.LEGAL.txt +3 -0
- package/dist/calcite/YXLWS5IS.js +4 -0
- package/dist/calcite/YXLWS5IS.js.LEGAL.txt +3 -0
- package/dist/calcite/Z2W4QVQG.js +4 -0
- package/dist/calcite/Z2W4QVQG.js.LEGAL.txt +3 -0
- package/dist/calcite/ZA7JHOGW.js +4 -0
- package/dist/calcite/ZA7JHOGW.js.LEGAL.txt +3 -0
- package/dist/calcite/ZPKEL3IX.js +4 -0
- package/dist/calcite/ZPKEL3IX.js.LEGAL.txt +3 -0
- package/dist/calcite/ZRK5GIKP.js +4 -0
- package/dist/calcite/ZROH4VWC.js +4 -0
- package/dist/calcite/ZROH4VWC.js.LEGAL.txt +3 -0
- package/dist/calcite/ZZ253KQR.js +6 -0
- package/dist/calcite/ZZ253KQR.js.LEGAL.txt +145 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- 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 +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- 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 +1 -1
- 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 +5 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +2 -2
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/custom-theme/switch.d.ts +1 -0
- package/dist/docs/api.json +8 -4
- package/dist/docs/docs.json +9 -4
- package/dist/docs/vscode.css-custom-data.json +7 -3
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +9 -5
- package/dist/extras/vscode-data.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/dist/calcite/2BOFWNYQ.js +0 -4
- package/dist/calcite/2BOFWNYQ.js.LEGAL.txt +0 -3
- package/dist/calcite/2CY2LEWM.js +0 -4
- package/dist/calcite/2CY2LEWM.js.LEGAL.txt +0 -3
- package/dist/calcite/2LBDT235.js +0 -4
- package/dist/calcite/2LBDT235.js.LEGAL.txt +0 -3
- package/dist/calcite/2T3M5IJY.js +0 -4
- package/dist/calcite/2T3M5IJY.js.LEGAL.txt +0 -3
- package/dist/calcite/2TCNEG45.js +0 -4
- package/dist/calcite/2TCNEG45.js.LEGAL.txt +0 -3
- package/dist/calcite/2UV2JAQY.js +0 -4
- package/dist/calcite/2UV2JAQY.js.LEGAL.txt +0 -3
- package/dist/calcite/2VEMJPTZ.js +0 -4
- package/dist/calcite/2VEMJPTZ.js.LEGAL.txt +0 -3
- package/dist/calcite/2WYRBB3Q.js +0 -4
- package/dist/calcite/2XTYGCIZ.js +0 -4
- package/dist/calcite/2ZJCMPXG.js +0 -4
- package/dist/calcite/2ZJCMPXG.js.LEGAL.txt +0 -3
- package/dist/calcite/3E7RRF2D.js +0 -4
- package/dist/calcite/3E7RRF2D.js.LEGAL.txt +0 -3
- package/dist/calcite/3GD2D2DP.js +0 -4
- package/dist/calcite/3GD2D2DP.js.LEGAL.txt +0 -3
- package/dist/calcite/3JVPPMSE.js +0 -4
- package/dist/calcite/3JVPPMSE.js.LEGAL.txt +0 -3
- package/dist/calcite/3LUZ52IE.js +0 -4
- package/dist/calcite/3NMXMYUQ.js +0 -4
- package/dist/calcite/3ZZU6BX2.js +0 -4
- package/dist/calcite/45MNAI57.js +0 -4
- package/dist/calcite/45MNAI57.js.LEGAL.txt +0 -3
- package/dist/calcite/4A2CZ5VR.js +0 -4
- package/dist/calcite/4A2CZ5VR.js.LEGAL.txt +0 -3
- package/dist/calcite/4BKGZDBV.js +0 -4
- package/dist/calcite/4BKGZDBV.js.LEGAL.txt +0 -3
- package/dist/calcite/4EAXA6HG.js +0 -4
- package/dist/calcite/4EAXA6HG.js.LEGAL.txt +0 -3
- package/dist/calcite/4EWQ6SNU.js +0 -4
- package/dist/calcite/4EWQ6SNU.js.LEGAL.txt +0 -3
- package/dist/calcite/4Q62CMYM.js +0 -4
- package/dist/calcite/4Q62CMYM.js.LEGAL.txt +0 -3
- package/dist/calcite/4QLNA7PQ.js +0 -4
- package/dist/calcite/4QLNA7PQ.js.LEGAL.txt +0 -3
- package/dist/calcite/4U3RU2GZ.js +0 -4
- package/dist/calcite/4U3RU2GZ.js.LEGAL.txt +0 -3
- package/dist/calcite/4UPYFUFI.js +0 -4
- package/dist/calcite/4UPYFUFI.js.LEGAL.txt +0 -3
- package/dist/calcite/5667JCRZ.js +0 -4
- package/dist/calcite/5667JCRZ.js.LEGAL.txt +0 -3
- package/dist/calcite/56TUC4VA.js +0 -4
- package/dist/calcite/5FQZGEHA.js +0 -4
- package/dist/calcite/5HJEBGM5.js +0 -4
- package/dist/calcite/5HJEBGM5.js.LEGAL.txt +0 -3
- package/dist/calcite/5NJOLUMK.js +0 -4
- package/dist/calcite/5NJOLUMK.js.LEGAL.txt +0 -3
- package/dist/calcite/5V7V7SB5.js +0 -4
- package/dist/calcite/5V7V7SB5.js.LEGAL.txt +0 -3
- package/dist/calcite/5VFVNDQY.js +0 -4
- package/dist/calcite/5VFVNDQY.js.LEGAL.txt +0 -3
- package/dist/calcite/5VOP4EJX.js +0 -4
- package/dist/calcite/5VOP4EJX.js.LEGAL.txt +0 -3
- package/dist/calcite/64BUQQ5M.js +0 -4
- package/dist/calcite/64BUQQ5M.js.LEGAL.txt +0 -3
- package/dist/calcite/64ZT7LPE.js +0 -4
- package/dist/calcite/64ZT7LPE.js.LEGAL.txt +0 -3
- package/dist/calcite/65BCNUVB.js +0 -4
- package/dist/calcite/65BCNUVB.js.LEGAL.txt +0 -3
- package/dist/calcite/6AMCC544.js +0 -4
- package/dist/calcite/6AMCC544.js.LEGAL.txt +0 -3
- package/dist/calcite/6BTXFUCN.js +0 -4
- package/dist/calcite/6BTXFUCN.js.LEGAL.txt +0 -3
- package/dist/calcite/6FMXA5KN.js +0 -4
- package/dist/calcite/6FMXA5KN.js.LEGAL.txt +0 -3
- package/dist/calcite/6FWWPCOI.js +0 -4
- package/dist/calcite/6FWWPCOI.js.LEGAL.txt +0 -3
- package/dist/calcite/6G7REEM6.js +0 -4
- package/dist/calcite/6G7REEM6.js.LEGAL.txt +0 -3
- package/dist/calcite/6L3PX6UA.js +0 -5
- package/dist/calcite/6OJ23NUH.js +0 -4
- package/dist/calcite/7CVZHHIL.js +0 -4
- package/dist/calcite/7CVZHHIL.js.LEGAL.txt +0 -3
- package/dist/calcite/7JEEQ7R5.js +0 -4
- package/dist/calcite/7JEEQ7R5.js.LEGAL.txt +0 -3
- package/dist/calcite/7LBWI334.js +0 -4
- package/dist/calcite/7LBWI334.js.LEGAL.txt +0 -3
- package/dist/calcite/7NWEU3G4.js +0 -4
- package/dist/calcite/7NWEU3G4.js.LEGAL.txt +0 -3
- package/dist/calcite/A24CHYGR.js +0 -4
- package/dist/calcite/A24CHYGR.js.LEGAL.txt +0 -3
- package/dist/calcite/AG75QN6A.js +0 -4
- package/dist/calcite/AG75QN6A.js.LEGAL.txt +0 -3
- package/dist/calcite/AKYZN5BE.js +0 -4
- package/dist/calcite/AKYZN5BE.js.LEGAL.txt +0 -3
- package/dist/calcite/ASTXPRA4.js +0 -4
- package/dist/calcite/B4BRHA5T.js +0 -4
- package/dist/calcite/BCVWT4DP.js +0 -4
- package/dist/calcite/BCVWT4DP.js.LEGAL.txt +0 -3
- package/dist/calcite/BI3AG5MJ.js +0 -4
- package/dist/calcite/BI3AG5MJ.js.LEGAL.txt +0 -3
- package/dist/calcite/BNHMEWI4.js +0 -4
- package/dist/calcite/BQ5BUNE7.js +0 -4
- package/dist/calcite/BQ5BUNE7.js.LEGAL.txt +0 -3
- package/dist/calcite/BUDBHEJE.js +0 -4
- package/dist/calcite/BXGY7HGR.js +0 -4
- package/dist/calcite/BXGY7HGR.js.LEGAL.txt +0 -3
- package/dist/calcite/CCTSGTN2.js +0 -4
- package/dist/calcite/CCTSGTN2.js.LEGAL.txt +0 -3
- package/dist/calcite/CR4ANT7E.js +0 -4
- package/dist/calcite/CR4ANT7E.js.LEGAL.txt +0 -3
- package/dist/calcite/CR4GSEIQ.js +0 -4
- package/dist/calcite/CTNP7F4O.js +0 -22
- package/dist/calcite/CTNP7F4O.js.LEGAL.txt +0 -3
- package/dist/calcite/CVOC5RIW.js +0 -4
- package/dist/calcite/CVOC5RIW.js.LEGAL.txt +0 -3
- package/dist/calcite/CXGNS3TA.js +0 -4
- package/dist/calcite/CXGNS3TA.js.LEGAL.txt +0 -3
- package/dist/calcite/D272LIMP.js +0 -4
- package/dist/calcite/D272LIMP.js.LEGAL.txt +0 -3
- package/dist/calcite/D7NDQWU7.js +0 -4
- package/dist/calcite/DHUVW4BM.js +0 -4
- package/dist/calcite/DHUVW4BM.js.LEGAL.txt +0 -3
- package/dist/calcite/DNQZZBQL.js +0 -4
- package/dist/calcite/DV3MDIGJ.js +0 -4
- package/dist/calcite/DVURK46Q.js +0 -4
- package/dist/calcite/DWD3QROV.js +0 -4
- package/dist/calcite/DWD3QROV.js.LEGAL.txt +0 -3
- package/dist/calcite/E4B6TCJ3.js +0 -4
- package/dist/calcite/E4GLOASR.js +0 -4
- package/dist/calcite/EAOBXKCF.js +0 -4
- package/dist/calcite/EAOBXKCF.js.LEGAL.txt +0 -3
- package/dist/calcite/ECMRSC3I.js +0 -4
- package/dist/calcite/EDHTGOC2.js +0 -4
- package/dist/calcite/EDHTGOC2.js.LEGAL.txt +0 -3
- package/dist/calcite/EK2QJQ77.js +0 -4
- package/dist/calcite/EP5TTQOO.js +0 -4
- package/dist/calcite/EP5TTQOO.js.LEGAL.txt +0 -3
- package/dist/calcite/EY6I4NKZ.js +0 -4
- package/dist/calcite/EY6I4NKZ.js.LEGAL.txt +0 -3
- package/dist/calcite/EYJJVQVN.js +0 -4
- package/dist/calcite/EYJJVQVN.js.LEGAL.txt +0 -3
- package/dist/calcite/F2QSNQKX.js +0 -4
- package/dist/calcite/F2QSNQKX.js.LEGAL.txt +0 -3
- package/dist/calcite/FCDR4H5H.js +0 -4
- package/dist/calcite/FCDR4H5H.js.LEGAL.txt +0 -3
- package/dist/calcite/FDXGFRHE.js +0 -5
- package/dist/calcite/FGHBGDDE.js +0 -4
- package/dist/calcite/FGHBGDDE.js.LEGAL.txt +0 -3
- package/dist/calcite/FJN3GPXX.js +0 -4
- package/dist/calcite/FJN3GPXX.js.LEGAL.txt +0 -3
- package/dist/calcite/FRHDB3OP.js +0 -4
- package/dist/calcite/FRHDB3OP.js.LEGAL.txt +0 -3
- package/dist/calcite/FU3IOAEG.js +0 -4
- package/dist/calcite/FU3IOAEG.js.LEGAL.txt +0 -3
- package/dist/calcite/FVCNK2TS.js +0 -4
- package/dist/calcite/FX3YXRJV.js +0 -4
- package/dist/calcite/FX3YXRJV.js.LEGAL.txt +0 -3
- package/dist/calcite/FY2365LL.js +0 -4
- package/dist/calcite/FY2365LL.js.LEGAL.txt +0 -3
- package/dist/calcite/GG2H67CN.js +0 -4
- package/dist/calcite/GG2H67CN.js.LEGAL.txt +0 -3
- package/dist/calcite/GMT3E7XO.js +0 -4
- package/dist/calcite/GMT3E7XO.js.LEGAL.txt +0 -3
- package/dist/calcite/GPVIJMWG.js +0 -4
- package/dist/calcite/GPVIJMWG.js.LEGAL.txt +0 -3
- package/dist/calcite/GWGLUFGJ.js +0 -6
- package/dist/calcite/GWGLUFGJ.js.LEGAL.txt +0 -145
- package/dist/calcite/GWWVNRJH.js +0 -4
- package/dist/calcite/GWWVNRJH.js.LEGAL.txt +0 -3
- package/dist/calcite/H2AWCRY6.js +0 -4
- package/dist/calcite/H2AWCRY6.js.LEGAL.txt +0 -3
- package/dist/calcite/H7B3E25G.js +0 -4
- package/dist/calcite/H7B3E25G.js.LEGAL.txt +0 -3
- package/dist/calcite/HCNXCCCY.js +0 -4
- package/dist/calcite/HCNXCCCY.js.LEGAL.txt +0 -3
- package/dist/calcite/HGPHBWD4.js +0 -4
- package/dist/calcite/HGPHBWD4.js.LEGAL.txt +0 -3
- package/dist/calcite/HMIOS3OJ.js +0 -4
- package/dist/calcite/HNPIZQST.js +0 -4
- package/dist/calcite/HNYVQPTR.js +0 -4
- package/dist/calcite/HVVVVG65.js +0 -4
- package/dist/calcite/HVVVVG65.js.LEGAL.txt +0 -3
- package/dist/calcite/HZCNBFUK.js +0 -4
- package/dist/calcite/I732GD2F.js +0 -4
- package/dist/calcite/I732GD2F.js.LEGAL.txt +0 -3
- package/dist/calcite/IDYH5LIF.js +0 -4
- package/dist/calcite/IDYH5LIF.js.LEGAL.txt +0 -3
- package/dist/calcite/IMOFAJLC.js +0 -4
- package/dist/calcite/IMOFAJLC.js.LEGAL.txt +0 -3
- package/dist/calcite/IP4XL6CS.js +0 -4
- package/dist/calcite/IP4XL6CS.js.LEGAL.txt +0 -3
- package/dist/calcite/IU7AUQME.js +0 -4
- package/dist/calcite/JAM6LW5H.js +0 -4
- package/dist/calcite/JAM6LW5H.js.LEGAL.txt +0 -3
- package/dist/calcite/JD4D6NPN.js +0 -4
- package/dist/calcite/JD4D6NPN.js.LEGAL.txt +0 -3
- package/dist/calcite/JDIAGBBP.js +0 -4
- package/dist/calcite/JDIAGBBP.js.LEGAL.txt +0 -3
- package/dist/calcite/JGKN2BCU.js +0 -4
- package/dist/calcite/JGKN2BCU.js.LEGAL.txt +0 -3
- package/dist/calcite/JHPWU7JO.js +0 -4
- package/dist/calcite/JHPWU7JO.js.LEGAL.txt +0 -3
- package/dist/calcite/JLAY235L.js +0 -4
- package/dist/calcite/JOPMLXO4.js +0 -4
- package/dist/calcite/JOPMLXO4.js.LEGAL.txt +0 -3
- package/dist/calcite/JPYANCJJ.js +0 -5
- package/dist/calcite/JPYANCJJ.js.LEGAL.txt +0 -3
- package/dist/calcite/JTC6LVBC.js +0 -4
- package/dist/calcite/JTC6LVBC.js.LEGAL.txt +0 -3
- package/dist/calcite/JV3JFREG.js +0 -4
- package/dist/calcite/JV3JFREG.js.LEGAL.txt +0 -3
- package/dist/calcite/JYEOF4KH.js +0 -4
- package/dist/calcite/K7DER2BO.js +0 -4
- package/dist/calcite/KCGPRVEH.js +0 -4
- package/dist/calcite/KCGPRVEH.js.LEGAL.txt +0 -3
- package/dist/calcite/KCTEW2JB.js +0 -4
- package/dist/calcite/KI6CZSF7.js +0 -4
- package/dist/calcite/KI6CZSF7.js.LEGAL.txt +0 -3
- package/dist/calcite/KQW5CO3Z.js +0 -4
- package/dist/calcite/KQW5CO3Z.js.LEGAL.txt +0 -3
- package/dist/calcite/KZTWR2IX.js +0 -4
- package/dist/calcite/KZTWR2IX.js.LEGAL.txt +0 -3
- package/dist/calcite/LCTEQ4KP.js +0 -4
- package/dist/calcite/LCTEQ4KP.js.LEGAL.txt +0 -3
- package/dist/calcite/LFX2IVHO.js +0 -4
- package/dist/calcite/LLX5Z5R4.js +0 -4
- package/dist/calcite/LLX5Z5R4.js.LEGAL.txt +0 -3
- package/dist/calcite/LVYHIFG5.js +0 -4
- package/dist/calcite/LVYHIFG5.js.LEGAL.txt +0 -3
- package/dist/calcite/LXTI23W7.js +0 -4
- package/dist/calcite/LYGDKYC6.js +0 -4
- package/dist/calcite/LYGDKYC6.js.LEGAL.txt +0 -3
- package/dist/calcite/M2RZ5EKT.js +0 -4
- package/dist/calcite/M2RZ5EKT.js.LEGAL.txt +0 -3
- package/dist/calcite/M3RJSVFT.js +0 -4
- package/dist/calcite/M3RJSVFT.js.LEGAL.txt +0 -3
- package/dist/calcite/MG22QVB4.js +0 -4
- package/dist/calcite/MG22QVB4.js.LEGAL.txt +0 -3
- package/dist/calcite/MMXPW5MR.js +0 -4
- package/dist/calcite/MMXPW5MR.js.LEGAL.txt +0 -3
- package/dist/calcite/MPP4FDPT.js +0 -4
- package/dist/calcite/MPP4FDPT.js.LEGAL.txt +0 -3
- package/dist/calcite/MT4KIJHB.js +0 -4
- package/dist/calcite/MXVZL7NY.js +0 -4
- package/dist/calcite/MY3MVPY5.js +0 -4
- package/dist/calcite/MY3MVPY5.js.LEGAL.txt +0 -3
- package/dist/calcite/NBY64CSO.js +0 -4
- package/dist/calcite/NEGFBTX5.js +0 -4
- package/dist/calcite/NEGFBTX5.js.LEGAL.txt +0 -3
- package/dist/calcite/NLDVVVMH.js +0 -4
- package/dist/calcite/NNCL6YYR.js +0 -4
- package/dist/calcite/NNCL6YYR.js.LEGAL.txt +0 -3
- package/dist/calcite/NQ2ID3ML.js +0 -4
- package/dist/calcite/NRV37BI6.js +0 -4
- package/dist/calcite/NRV37BI6.js.LEGAL.txt +0 -3
- package/dist/calcite/NYBQESD7.js +0 -4
- package/dist/calcite/NYBQESD7.js.LEGAL.txt +0 -13
- package/dist/calcite/O3WAJJY6.js +0 -4
- package/dist/calcite/O3WAJJY6.js.LEGAL.txt +0 -3
- package/dist/calcite/OBDVZNM2.js +0 -4
- package/dist/calcite/OBDVZNM2.js.LEGAL.txt +0 -3
- package/dist/calcite/OERU7BR7.js +0 -4
- package/dist/calcite/OERU7BR7.js.LEGAL.txt +0 -3
- package/dist/calcite/OOOYCUMH.js +0 -4
- package/dist/calcite/OQE2ET6K.js +0 -4
- package/dist/calcite/OTWM47LN.js +0 -4
- package/dist/calcite/OTWM47LN.js.LEGAL.txt +0 -3
- package/dist/calcite/OVVCBJ7I.js +0 -4
- package/dist/calcite/OW62IYQY.js +0 -4
- package/dist/calcite/OW62IYQY.js.LEGAL.txt +0 -3
- package/dist/calcite/P3XTL5WJ.js +0 -4
- package/dist/calcite/P3XTL5WJ.js.LEGAL.txt +0 -3
- package/dist/calcite/P6XWERVE.js +0 -4
- package/dist/calcite/PD6HWRS3.js +0 -4
- package/dist/calcite/PLXDBQKW.js +0 -4
- package/dist/calcite/PLXDBQKW.js.LEGAL.txt +0 -3
- package/dist/calcite/QJRWO6IN.js +0 -4
- package/dist/calcite/QJRWO6IN.js.LEGAL.txt +0 -3
- package/dist/calcite/QOP6E4UX.js +0 -4
- package/dist/calcite/QOP6E4UX.js.LEGAL.txt +0 -3
- package/dist/calcite/QVT2YOO4.js +0 -4
- package/dist/calcite/R6LNP6KG.js +0 -4
- package/dist/calcite/R6LNP6KG.js.LEGAL.txt +0 -3
- package/dist/calcite/RD5INOIE.js +0 -4
- package/dist/calcite/RD5INOIE.js.LEGAL.txt +0 -3
- package/dist/calcite/RDESQTGA.js +0 -4
- package/dist/calcite/RGCORVRS.js +0 -4
- package/dist/calcite/RN7ISGP6.js +0 -4
- package/dist/calcite/RN7ISGP6.js.LEGAL.txt +0 -3
- package/dist/calcite/RPUJHTMR.js +0 -4
- package/dist/calcite/RPUJHTMR.js.LEGAL.txt +0 -3
- package/dist/calcite/RTXZNVZS.js +0 -4
- package/dist/calcite/RU7DUXJM.js +0 -4
- package/dist/calcite/RU7DUXJM.js.LEGAL.txt +0 -3
- package/dist/calcite/RVKBEEFR.js +0 -4
- package/dist/calcite/RVO57LNN.js +0 -4
- package/dist/calcite/RVO57LNN.js.LEGAL.txt +0 -3
- package/dist/calcite/S4EW44LC.js +0 -4
- package/dist/calcite/S4EW44LC.js.LEGAL.txt +0 -3
- package/dist/calcite/S5WZMZ6P.js +0 -4
- package/dist/calcite/S5WZMZ6P.js.LEGAL.txt +0 -3
- package/dist/calcite/SDGS7LDB.js +0 -4
- package/dist/calcite/SJWKE5ID.js +0 -4
- package/dist/calcite/SJWKE5ID.js.LEGAL.txt +0 -3
- package/dist/calcite/SRIXNQN6.js +0 -4
- package/dist/calcite/SRIXNQN6.js.LEGAL.txt +0 -3
- package/dist/calcite/SRVIVVUV.js +0 -4
- package/dist/calcite/SRVIVVUV.js.LEGAL.txt +0 -3
- package/dist/calcite/SSLTCWGR.js +0 -4
- package/dist/calcite/STS4GWJD.js +0 -4
- package/dist/calcite/SUZH3CKK.js +0 -4
- package/dist/calcite/SUZH3CKK.js.LEGAL.txt +0 -3
- package/dist/calcite/SYVS7SLE.js +0 -4
- package/dist/calcite/SYVS7SLE.js.LEGAL.txt +0 -3
- package/dist/calcite/SZVN6KMY.js +0 -4
- package/dist/calcite/SZVN6KMY.js.LEGAL.txt +0 -3
- package/dist/calcite/T3RN7YTV.js +0 -4
- package/dist/calcite/T7AOG73M.js +0 -4
- package/dist/calcite/T7AOG73M.js.LEGAL.txt +0 -3
- package/dist/calcite/TMXKZWNP.js +0 -4
- package/dist/calcite/TQMXCJKX.js +0 -4
- package/dist/calcite/TQMXCJKX.js.LEGAL.txt +0 -3
- package/dist/calcite/TWEIXYZK.js +0 -4
- package/dist/calcite/UNSUHKQF.js +0 -5
- package/dist/calcite/UNSUHKQF.js.LEGAL.txt +0 -17
- package/dist/calcite/US7NTAES.js +0 -4
- package/dist/calcite/UYWWPPS4.js +0 -4
- package/dist/calcite/UYWWPPS4.js.LEGAL.txt +0 -3
- package/dist/calcite/UZWMCMO5.js +0 -4
- package/dist/calcite/V3JRBCAV.js +0 -4
- package/dist/calcite/V3JRBCAV.js.LEGAL.txt +0 -3
- package/dist/calcite/V7FGEMBR.js +0 -4
- package/dist/calcite/V7FGEMBR.js.LEGAL.txt +0 -3
- package/dist/calcite/V7FNSPAN.js +0 -4
- package/dist/calcite/V7FNSPAN.js.LEGAL.txt +0 -3
- package/dist/calcite/VEDFRJNU.js +0 -4
- package/dist/calcite/VG55RDCP.js +0 -4
- package/dist/calcite/VG55RDCP.js.LEGAL.txt +0 -3
- package/dist/calcite/VMMV2S7W.js +0 -4
- package/dist/calcite/VMMV2S7W.js.LEGAL.txt +0 -3
- package/dist/calcite/VSRPKB6Q.js +0 -4
- package/dist/calcite/VSRPKB6Q.js.LEGAL.txt +0 -3
- package/dist/calcite/VXD7ELV3.js +0 -4
- package/dist/calcite/VXD7ELV3.js.LEGAL.txt +0 -3
- package/dist/calcite/W4RZ5ONL.js +0 -4
- package/dist/calcite/W4RZ5ONL.js.LEGAL.txt +0 -3
- package/dist/calcite/W4YX4ET6.js +0 -4
- package/dist/calcite/W4YX4ET6.js.LEGAL.txt +0 -3
- package/dist/calcite/W6G3X4UY.js +0 -4
- package/dist/calcite/W6NC5ACF.js +0 -4
- package/dist/calcite/WFSAD4HU.js +0 -4
- package/dist/calcite/WIZLLDLU.js +0 -4
- package/dist/calcite/WIZLLDLU.js.LEGAL.txt +0 -3
- package/dist/calcite/WUBQHIV6.js +0 -4
- package/dist/calcite/WUBQHIV6.js.LEGAL.txt +0 -3
- package/dist/calcite/WX3W66MH.js +0 -4
- package/dist/calcite/WXCEYGUX.js +0 -4
- package/dist/calcite/X6OBP6PS.js +0 -4
- package/dist/calcite/XB6IHY5R.js +0 -4
- package/dist/calcite/XB6IHY5R.js.LEGAL.txt +0 -3
- package/dist/calcite/XDGFE7A4.js +0 -4
- package/dist/calcite/XDGFE7A4.js.LEGAL.txt +0 -3
- package/dist/calcite/XHXOILRR.js +0 -4
- package/dist/calcite/XHXOILRR.js.LEGAL.txt +0 -3
- package/dist/calcite/XLE3GSD2.js +0 -4
- package/dist/calcite/XLE3GSD2.js.LEGAL.txt +0 -7
- package/dist/calcite/XUNYKAEO.js +0 -4
- package/dist/calcite/XUZML7U5.js +0 -4
- package/dist/calcite/YE7CQYIZ.js +0 -4
- package/dist/calcite/YE7CQYIZ.js.LEGAL.txt +0 -3
- package/dist/calcite/YEAZCLNR.js +0 -28
- package/dist/calcite/YEAZCLNR.js.LEGAL.txt +0 -3
- package/dist/calcite/YWEGOSHT.js +0 -4
- package/dist/calcite/YWEGOSHT.js.LEGAL.txt +0 -3
- package/dist/calcite/ZOJEMJVW.js +0 -4
- package/dist/calcite/ZOJEMJVW.js.LEGAL.txt +0 -3
- package/dist/calcite/ZQE6XPIK.js +0 -4
- package/dist/calcite/ZQE6XPIK.js.LEGAL.txt +0 -3
- package/dist/calcite/ZSGSS5E6.js +0 -4
- package/dist/calcite/ZSGSS5E6.js.LEGAL.txt +0 -3
- /package/dist/calcite/{2WYRBB3Q.js.LEGAL.txt → 2MDSHXXV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{2XTYGCIZ.js.LEGAL.txt → 2WDZXFRJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{P6XWERVE.js.LEGAL.txt → 43G3A5AU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{3LUZ52IE.js.LEGAL.txt → 4TFZCRM4.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{3NMXMYUQ.js.LEGAL.txt → 4VNOC54S.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{3ZZU6BX2.js.LEGAL.txt → 5UUVSU6N.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{56TUC4VA.js.LEGAL.txt → 5ZMI32JY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5FQZGEHA.js.LEGAL.txt → 64ESYODS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6OJ23NUH.js.LEGAL.txt → 73X76OZ5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ASTXPRA4.js.LEGAL.txt → 7CTT3GRO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{B4BRHA5T.js.LEGAL.txt → 7PCQYPJ2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{BNHMEWI4.js.LEGAL.txt → 7RUHED5H.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{BUDBHEJE.js.LEGAL.txt → AEK57Z2I.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{CR4GSEIQ.js.LEGAL.txt → AGHTJVDE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{D7NDQWU7.js.LEGAL.txt → B6CIHBDO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DNQZZBQL.js.LEGAL.txt → B7JRTB3W.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DV3MDIGJ.js.LEGAL.txt → CGC4WLPN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DVURK46Q.js.LEGAL.txt → CUC23TUQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{E4GLOASR.js.LEGAL.txt → CVLTO3WA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ECMRSC3I.js.LEGAL.txt → D4SISASV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EK2QJQ77.js.LEGAL.txt → DPKNONQQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FDXGFRHE.js.LEGAL.txt → EALYFQUS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FVCNK2TS.js.LEGAL.txt → FPNIQH57.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HMIOS3OJ.js.LEGAL.txt → GBXJA6PS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HNPIZQST.js.LEGAL.txt → GF2NAUID.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HNYVQPTR.js.LEGAL.txt → HFV5GZPS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{HZCNBFUK.js.LEGAL.txt → HJJRMTM7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{IU7AUQME.js.LEGAL.txt → ICM2GT75.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JLAY235L.js.LEGAL.txt → J6CRAV6B.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JYEOF4KH.js.LEGAL.txt → JJZTP45H.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{K7DER2BO.js.LEGAL.txt → K5GFYKFN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KCTEW2JB.js.LEGAL.txt → K75KFP3A.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6L3PX6UA.js.LEGAL.txt → KK3ZN6G2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LFX2IVHO.js.LEGAL.txt → LMID44OD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LXTI23W7.js.LEGAL.txt → MBBXUT5E.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{MT4KIJHB.js.LEGAL.txt → MVPZJO2Y.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{MXVZL7NY.js.LEGAL.txt → N74UCSL5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NBY64CSO.js.LEGAL.txt → NF6MT3QA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NLDVVVMH.js.LEGAL.txt → O56F6VH2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{NQ2ID3ML.js.LEGAL.txt → OKLE2CV6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OQE2ET6K.js.LEGAL.txt → OOE2NM77.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OVVCBJ7I.js.LEGAL.txt → OTNBDELA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PD6HWRS3.js.LEGAL.txt → PKTIO66P.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QVT2YOO4.js.LEGAL.txt → PVZ3WR3J.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RDESQTGA.js.LEGAL.txt → Q3N5MFIU.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RGCORVRS.js.LEGAL.txt → Q6OUB5G7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RTXZNVZS.js.LEGAL.txt → QGGHFGYX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RVKBEEFR.js.LEGAL.txt → QI5SV3JN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SDGS7LDB.js.LEGAL.txt → QOEGZSE2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SSLTCWGR.js.LEGAL.txt → QWLV3QVG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{E4B6TCJ3.js.LEGAL.txt → ROMM3EUL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{STS4GWJD.js.LEGAL.txt → SNZGGGQ5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{T3RN7YTV.js.LEGAL.txt → SP4TM5FR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{TMXKZWNP.js.LEGAL.txt → TNSRPEPJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{TWEIXYZK.js.LEGAL.txt → UDPRCM3N.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{US7NTAES.js.LEGAL.txt → UHZPUMTW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WFSAD4HU.js.LEGAL.txt → VCMPMN7V.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UZWMCMO5.js.LEGAL.txt → VRBAWWZZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OOOYCUMH.js.LEGAL.txt → VWIZVIXZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{VEDFRJNU.js.LEGAL.txt → WJTTSYWP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{W6G3X4UY.js.LEGAL.txt → WV3PVVEA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{W6NC5ACF.js.LEGAL.txt → WXTLK6VN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WX3W66MH.js.LEGAL.txt → XCEU53YF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WXCEYGUX.js.LEGAL.txt → XCGSCD6C.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{X6OBP6PS.js.LEGAL.txt → XLWUTQTB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XUNYKAEO.js.LEGAL.txt → YFDBOGW5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XUZML7U5.js.LEGAL.txt → ZRK5GIKP.js.LEGAL.txt} +0 -0
|
@@ -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-next.14 */
|
|
4
|
+
import{c as z,e as A,h as F}from"./BFAFNOP2.js";import{c as I,d as C,e as R}from"./BKJXOBA7.js";import{a as g,b as w}from"./MLZVDLJB.js";import{a as d}from"./3GM64LYU.js";import{b as v}from"./43G3A5AU.js";import{e as B,l as x}from"./3TTD7TSS.js";import{d as y}from"./3DXOK56D.js";import"./ODE4D5N5.js";import"./DKLFM2YC.js";import{H as k,e as u,f,j as p,v as a,w as b,x as m}from"./ZZ253KQR.js";var E={container:"container"},q=u`: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;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;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;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{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))))}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size: var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size: var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size: var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::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([hidden]){display:none}[hidden]{display:none}`,l=class extends b{constructor(){super(),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.calciteInternalRadioButtonBlur=a({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=a({cancelable:!1}),this.calciteInternalRadioButtonFocus=a({cancelable:!1}),this.calciteRadioButtonChange=a({cancelable:!1}),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],focused:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hovered:[7,{reflect:!0,type:Boolean}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],value:1}}static{this.styles=q}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(){await y(this),this.disabled||x(this.containerEl)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),I(this),z(this),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}updated(){g(this)}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),C(this),A(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}syncHiddenFormInput(e){e.type="radio"}selectItem(e,o){e[o].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),o=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return o===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let o=e.currentTarget,t=o.for?this.rootNode.querySelector(`calcite-radio-button[id="${o.for}"]`):o.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let o=this.queryButtons().filter(t=>t.checked);if(o?.length>1){let t=o[o.length-1];o.filter(i=>i!==t).forEach(i=>{i.checked=!1,i.emitCheckedChange()})}}setContainerEl(e){this.containerEl=e}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach(o=>{o.checked&&(o.checked=!1,o.focused=!1)})}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el).forEach(t=>{t.checked&&(t.checked=!1,t.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el&&!t.disabled).forEach(t=>{t.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let o=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e,{el:i}=this;if(o.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let r=t;B(i)==="rtl"&&(t==="ArrowRight"&&(r="ArrowLeft"),t==="ArrowLeft"&&(r="ArrowRight"));let s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(n=>n.name===this.name),c=0,h=s.length;switch(s.some((n,L)=>{if(n.checked)return c=L,!0}),r){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(s,d(Math.max(c-1,-1),h));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(s,d(c+1,h));return;default:return}}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return w({disabled:this.disabled,children:f`<div .ariaChecked=${this.checked} .ariaLabel=${R(this)} class=${m(E.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??p} ${v(this.setContainerEl)}><div class="radio"></div></div>${F({component:this})}`})}};k("calcite-radio-button",l);export{l as RadioButton};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{k as s}from"./XHJW4X6Q.js";import{a as g,b as f}from"./MLZVDLJB.js";import"./3K2BFKTJ.js";import{a as v}from"./WYLXV24G.js";import{a as h,b as m}from"./43G3A5AU.js";import{c as u,d as b}from"./3DXOK56D.js";import"./ODE4D5N5.js";import{A as d,H as p,e as l,f as o,j as n,v as r,w as c,x as t}from"./ZZ253KQR.js";var i={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"},z=l`:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s: .25rem;--calcite-stepper-item-spacing-unit-m: .75rem;--calcite-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s: .5rem;--calcite-stepper-item-spacing-unit-m: 1rem;--calcite-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s: .75rem;--calcite-stepper-item-spacing-unit-m: 1.25rem;--calcite-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-color-foreground-3)}:host{outline-color:transparent}:host(: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))))}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-header:active{background-color:var(--calcite-color-foreground-3)}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:#007ac280}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:#007ac280}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;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))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{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([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,a=class extends c{constructor(){super(),this.headerEl=h(),this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.messages=v(),this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemKeyEvent=r({cancelable:!1}),this.calciteInternalStepperItemRegister=r({cancelable:!1}),this.calciteInternalStepperItemSelect=r({cancelable:!1}),this.calciteStepperItemSelect=r({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],error:[7,{reflect:!0,type:Boolean}],heading:1,icon:[5,{type:Boolean}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],itemHidden:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[5,{type:Boolean}],numberingSystem:1,scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=z}async setFocus(){await b(this),(this.layout==="vertical"?this.el:this.headerEl.value)?.focus()}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.registerStepperItem(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){g(this),d(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){s.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault();break}}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}handleItemClick(e){this.disabled||u(this.el)||this.layout==="horizontal"&&e.composedPath().some(y=>y.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])")).indexOf(this.el)}render(){this.el.ariaCurrent=this.selected?"step":"false";let e=this.layout==="horizontal"&&!this.disabled?0:null;return f({disabled:this.disabled,children:o`<div class=${t(i.container)}>${this.complete&&o`<span aria-live=polite class=${t(i.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${t(i.stepperItemHeader)} tabindex=${e??n} ${m(this.headerEl)}>${this.icon?this.renderIcon():null}${this.numbered?o`<div class=${t(i.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${t(i.stepperItemHeaderText)}><span class=${t(i.stepperItemHeading)}>${this.heading}</span><span class=${t(i.stepperItemDescription)}>${this.description}</span></div></div><div class=${t(i.stepperItemContent)}><slot></slot></div></div>`})}renderIcon(){let e="circle";return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),o`<calcite-icon class="stepper-item-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return s.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},s.numberFormatter.format(this.itemPosition+1)}};p("calcite-stepper-item",a);export{a as StepperItem};
|
|
@@ -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-next.14 */
|
|
4
|
+
var e={actionBarContainer:"action-bar-container",container:"container",contentBottom:"content-bottom",contentTop:"content-top",header:"header",headerContainer:"header-container",headerContainerBorderEnd:"header-container--border-end",heading:"heading",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",fabContainer:"fab-container",footer:"footer",footerContent:"footer-content",footerActions:"footer-actions",footerStart:"footer-start",footerEnd:"footer-end",headerSlottedContent:"header-slotted-content"},t={close:"close",collapse:"collapse"},o={close:"x",menu:"ellipsis",expand:"chevron-down",collapse:"chevron-up"},n={actionBar:"action-bar",alerts:"alerts",contentBottom:"content-bottom",contentTop:"content-top",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerEnd:"footer-end",footerStart:"footer-start",footerActions:"footer-actions"};export{e as a,t as b,o as c,n as d};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{b as r}from"./4TFZCRM4.js";import"./WXTLK6VN.js";var M={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function e(n,t,_){var a=M[_];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",n)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e}};r.locale(i,null,!0);var d=i;export{d as default};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{a as R}from"./3MPN3J2H.js";import{c as E,e as O,h as z}from"./BFAFNOP2.js";import{c as C,d as M}from"./BKJXOBA7.js";import{a as L,b as I}from"./MLZVDLJB.js";import{a as F}from"./WYLXV24G.js";import"./43G3A5AU.js";import{n as x}from"./3TTD7TSS.js";import{d as V}from"./3DXOK56D.js";import"./ODE4D5N5.js";import{a as w}from"./DKLFM2YC.js";import{B as $,H as k,e as g,f as s,u as m,v as b,w as f,x as u,y,z as r}from"./ZZ253KQR.js";var D=({full:v,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${v?"star-f":"star"} .scale=${e}></calcite-icon>`,K={validationMessage:"validationMessage"},P=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-internal-rating-spacing: .25rem}:host([scale=m]){block-size:2rem;--calcite-internal-rating-spacing: .5rem}:host([scale=l]){block-size:2.75rem;--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.star: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))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{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}.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([hidden]){display:none}[hidden]{display:none}`,p=class extends f{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${w()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=F({blocking:!0}),this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,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.calciteRatingChange=b({cancelable:!1}),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:[16,{state:!0}],average:[11,{reflect:!0,type:Number}],count:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],showChip:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:$}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{reflect:!0,type:Number}]}}static{this.styles=P}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(){await V(this),x(this.el)}connectedCallback(){super.connectedCallback(),C(this),E(this)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=!this.hoverValue&&this.average&&!this.value&&a<=this.average,c=a===this.value,n=this.average&&this.average+1-a,l=a<=this.hoverValue,h=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!l&&n>0&&n<1,d=this.value>=a,N=this.getTabIndex(a);return{average:i,checked:c,fraction:n,hovered:l,id:h,partial:o,selected:d,value:a,tabIndex:N}})}updated(){L(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}disconnectedCallback(){super.disconnectedCallback(),M(this),O(this)}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=null}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?void 0:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=null;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return I({disabled:this.disabled,children:s`<span class="wrapper"><fieldset class="fieldset" .disabled=${this.disabled}><legend class="visually-hidden">${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:c,id:n,partial:l,selected:h,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:h,hovered:c,average:t,partial:l})} data-value=${o??r} for=${n??r} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??r}><input aria-errormessage=${K.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??r} name=${this.guid??r} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${D({full:h||t||c,scale:this.scale})}${l&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${D({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class="visually-hidden">${this.messages.stars.replace("{num}",`${o}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?s`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&s`<span class="number--average">${this.average.toString()}</span>`||""}${!!this.count&&s`<span class="number--count">(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${z({component:this})}${this.validationMessage&&this.status==="invalid"?R({icon:this.validationIcon,id:K.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",p);export{p as Rating};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{b as M}from"./4TFZCRM4.js";import"./WXTLK6VN.js";var Y={name:"ko",weekdays:"\uC77C\uC694\uC77C_\uC6D4\uC694\uC77C_\uD654\uC694\uC77C_\uC218\uC694\uC77C_\uBAA9\uC694\uC77C_\uAE08\uC694\uC77C_\uD1A0\uC694\uC77C".split("_"),weekdaysShort:"\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"),weekdaysMin:"\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"),months:"1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"),monthsShort:"1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"),ordinal:function(_){return _+"\uC77C"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\uB144 MMMM D\uC77C",LLL:"YYYY\uB144 MMMM D\uC77C A h:mm",LLLL:"YYYY\uB144 MMMM D\uC77C dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\uB144 MMMM D\uC77C",lll:"YYYY\uB144 MMMM D\uC77C A h:mm",llll:"YYYY\uB144 MMMM D\uC77C dddd A h:mm"},meridiem:function(_){return _<12?"\uC624\uC804":"\uC624\uD6C4"},relativeTime:{future:"%s \uD6C4",past:"%s \uC804",s:"\uBA87 \uCD08",m:"1\uBD84",mm:"%d\uBD84",h:"\uD55C \uC2DC\uAC04",hh:"%d\uC2DC\uAC04",d:"\uD558\uB8E8",dd:"%d\uC77C",M:"\uD55C \uB2EC",MM:"%d\uB2EC",y:"\uC77C \uB144",yy:"%d\uB144"}};M.locale(Y,null,!0);var l=Y;export{l as default};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{a as k,b as y,j as o,m as I,n as F,q as b}from"./CEFEIP24.js";import"./XHJW4X6Q.js";import{a as A}from"./VWIZVIXZ.js";import"./3K2BFKTJ.js";import{b as H}from"./43G3A5AU.js";import{H as R,e as $,f,v,w as x,x as u}from"./ZZ253KQR.js";var D={calendar:"calendar",calendarContainer:"calendar-container",calendarStart:"calendar--start",currentDay:"current-day",dayContainer:"day-container",insideRangeHover:"inside-range--hover",month:"month",noncurrent:"noncurrent",outsideRangeHover:"outside-range--hover",weekDays:"week-days",weekHeader:"week-header",weekHeaderContainer:"week-header-container"},z=$`:host([hidden]){display:none}[hidden]{display:none}.calendar-container{display:flex;inline-size:100%}:host([range][layout=vertical]) .calendar-container{flex-direction:column}.calendar{inline-size:100%}.week-header-container{display:flex;block-size:16px;padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-md)}.week-header{display:flex;align-items:center;justify-content:center;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-bold);inline-size:14.2857142857%;color:var(--calcite-date-picker-week-header-text-color, var(--calcite-color-text-3))}.day-container{display:flex;inline-size:100%;min-inline-size:0px;justify-content:center}.day-container calcite-date-picker-day{inline-size:100%}.week-days{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;padding-inline:var(--calcite-spacing-sm);padding-block-end:var(--calcite-spacing-sm)}.month-header{display:flex;inline-size:100%;justify-content:space-between}.month{display:flex;inline-size:100%;flex-direction:column;justify-content:space-between}.day{font-size:var(--calcite-font-size)}:host([scale=s]) .week-days{padding-inline:var(--calcite-spacing-xs);padding-block-end:var(--calcite-spacing-xs)}:host([scale=s]) .week-header-container{padding-inline:var(--calcite-spacing-xs);padding-block:var(--calcite-spacing-sm)}:host([scale=s]) .day{font-size:var(--calcite-font-size-sm)}:host([scale=l]) .week-header{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .week-days{padding-inline:var(--calcite-spacing-md);padding-block-end:var(--calcite-spacing-md)}:host([scale=l]) .week-header-container{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-md-plus)}:host([scale=l]) .day{font-size:var(--calcite-font-size-md)}.calendar--start{border-width:0px;border-style:solid;border-color:var(--calcite-date-picker-range-calendar-divider-color, var(--calcite-color-border-1))}:host([range][layout=horizontal]) .calendar--start{border-inline-end-width:var(--calcite-border-width-sm)}:host([range][layout=vertical]) .calendar--start{border-block-end-width:var(--calcite-border-width-sm)}.noncurrent{pointer-events:none;opacity:0}`,m=7,w=6,M=class extends x{constructor(){super(),this.activeDate=new Date,this.range=!1,this.calciteInternalDatePickerDayHover=v({cancelable:!1}),this.calciteInternalDatePickerDaySelect=v({cancelable:!1}),this.calciteInternalDatePickerMonthActiveDateChange=v({cancelable:!1}),this.calciteInternalDatePickerMonthChange=v({cancelable:!1}),this.calciteInternalDatePickerMonthMouseOut=v({cancelable:!1}),this.listen("pointerout",this.pointerOutHandler),this.listen("focusout",this.disableActiveFocus)}static{this.properties={focusedDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],dateTimeFormat:[0,{attribute:!1}],endDate:[0,{attribute:!1}],headingLevel:[11,{type:Number,reflect:!0}],hoverRange:[0,{attribute:!1}],layout:[3,{reflect:!0}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,range:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}],startDate:[0,{attribute:!1}]}}static{this.styles=z}load(){this.focusedDate=this.selectedDate||this.activeDate}willUpdate(e){e.has("activeDate")&&this.updateFocusedDateWithActive(this.activeDate),e.has("selectedDate")&&(this.focusedDate=this.selectedDate)}updateFocusedDateWithActive(e){this.selectedDate||(this.focusedDate=k(e,this.min,this.max)?e:y(e,this.min,this.max))}keyDownHandler(e){if(e.defaultPrevented)return;let a=this.el.dir==="rtl",t=e.target.value;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7,t);break;case"ArrowRight":e.preventDefault(),this.addDays(a?-1:1,t);break;case"ArrowDown":e.preventDefault(),this.addDays(7,t);break;case"ArrowLeft":e.preventDefault(),this.addDays(a?1:-1,t);break;case"PageUp":e.preventDefault(),this.addMonths(-1,t);break;case"PageDown":e.preventDefault(),this.addMonths(1,t);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays(0,t);break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays(0,t);break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}}disableActiveFocus(){this.activeFocus=!1}pointerOutHandler(){this.calciteInternalDatePickerMonthMouseOut.emit()}addMonths(e,a){let t=new Date(a);t.setMonth(a.getMonth()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(y(t,this.min,this.max)),this.focusedDate=y(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}addDays(e=0,a){let t=new Date(a);t.setDate(a.getDate()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(y(t,this.min,this.max)),this.focusedDate=y(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}getPreviousMonthDays(e,a,t){let s=new Date(a,e,0),i=s.getDate(),n=s.getDay(),r=[];if(n===(t+w)%m)return r;if(n===t)return[i];for(let c=(m+n-t)%m;c>=0;c--)r.push(i-c);return r}getCurrentMonthDays(e,a){let t=new Date(a,e+1,0).getDate(),s=[];for(let i=0;i<t;i++)s.push(i+1);return s}getNextMonthDays(e,a,t){let s=new Date(a,e+1,0).getDay(),i=[];if(s===(t+w)%m)return i;for(let n=0;n<(w-(s-t))%m;n++)i.push(n+1);return i}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(o(e,this.selectedDate)||this.startDate&&o(e,this.startDate)||this.endDate&&o(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!o(this.startDate,this.endDate)&&o(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!o(this.startDate,this.endDate)&&o(this.endDate,e)||!this.endDate&&this.hoverRange&&o(this.startDate,this.hoverRange.end)&&o(e,this.hoverRange.end))}dayHover(e){let a=e.target;a.disabled?this.calciteInternalDatePickerMonthMouseOut.emit():this.calciteInternalDatePickerDayHover.emit(a.value),e.stopPropagation()}daySelect(e){let a=e.target;this.activeFocus=!1,this.calciteInternalDatePickerDaySelect.emit(a.value),e.stopPropagation()}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange||!this.startDate)return!1;let{start:e,end:a}=this.hoverRange,t=this.isFocusedOnStart(),s=this.startDate&&a>this.startDate,i=this.endDate&&a<this.endDate,n=this.startDate&&e>this.startDate,r=this.endDate&&e<this.endDate,c=!t&&this.startDate&&s&&(!this.endDate||i),l=t&&this.startDate&&n&&r;return c||l}isRangeHover(e){if(!this.hoverRange)return!1;let{start:a,end:t}=this.hoverRange,s=this.isFocusedOnStart(),i=this.isHoverInRange(),n=e>a&&e<this.startDate,r=e<t&&e>this.endDate,c=e>t&&e<this.endDate,l=e<a&&e>this.startDate,g=e<t&&e>this.startDate,h=e>a&&e<this.endDate,d=this.startDate&&this.endDate;if(i){if(d)return s?e<this.endDate&&(l||n):c||r;if(this.startDate&&!this.endDate)return s?n:g;if(!this.startDate&&this.endDate)return s?h:r}else if(d)return s?n:r}getDays(e,a,t,s="start"){let i=this.activeDate.getMonth(),n=i+1;i=s==="end"?n:i;let r=0,c=()=>r++%7,l=this.activeDate.getFullYear();return[...e.map(h=>({active:!1,day:h,dayInWeek:c(),date:new Date(l,i-1,h)})),...a.map(h=>{let d=new Date(l,i,h),p=o(d,new Date);return{active:this.focusedDate&&this.focusedDate!==this.startDate&&this.focusedDate!==this.endDate?o(d,this.focusedDate):o(d,this.startDate)||o(d,this.endDate),currentMonth:!0,currentDay:p,day:h,dayInWeek:c(),date:d,ref:!0}}),...t.map(h=>({active:!1,day:h,dayInWeek:c(),date:new Date(l,n,h)}))]}monthHeaderSelectChange(e){let a=new Date(e.detail),t=e.target;this.updateFocusableDate(a),e.stopPropagation(),this.calciteInternalDatePickerMonthChange.emit({date:a,position:t.position})}updateFocusableDate(e){!this.selectedDate||!this.range?this.focusedDate=this.getFirstValidDateOfMonth(e):this.selectedDate&&this.range&&(!b(this.startDate,e)||!b(this.endDate,e))&&(this.focusedDate=this.getFirstValidDateOfMonth(e))}getFirstValidDateOfMonth(e){return e.getDate()===1?e:I(e,this.min,this.max)}render(){let e=this.activeDate.getMonth(),a=this.activeDate.getFullYear(),t=this.localeData.weekStart%7,{abbreviated:s,short:i,narrow:n}=this.localeData.days,r=this.scale==="s"?n||i||s:i||s||n,c=[...r.slice(t,7),...r.slice(0,t)],l=this.getCurrentMonthDays(e,a),g=this.getPreviousMonthDays(e,a,t),h=this.getNextMonthDays(e,a,t),d=e+1,p=this.getPreviousMonthDays(d,a,t),S=this.getCurrentMonthDays(d,a),C=this.getNextMonthDays(d,a,t),P=this.getDays(g,l,h),E=this.getDays(p,S,C,"end");return f`<div class=${u({[D.calendarContainer]:!0})} role=grid>${this.renderCalendar(c,P)}${this.range&&this.renderCalendar(c,E,!0)||""}</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:s,day:i,dayInWeek:n,ref:r},c){let l=k(s,this.min,this.max);return A(c,f`<div class=${u({[D.dayContainer]:!0})} role=gridcell><calcite-date-picker-day .active=${e} class=${u({[D.currentDay]:t,[D.insideRangeHover]:this.isHoverInRange(),[D.outsideRangeHover]:!this.isHoverInRange(),[D.noncurrent]:this.range&&!a})} .currentMonth=${a} .dateTimeFormat=${this.dateTimeFormat} .day=${i} .disabled=${!l} .endOfRange=${this.isEndOfRange(s)} .highlighted=${this.betweenSelectedRange(s)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate&&!!this.endDate&&!o(this.startDate,this.endDate)} .rangeEdge=${n===0?"start":n===6?"end":void 0} .rangeHover=${l&&this.isRangeHover(s)} .scale=${this.scale} .selected=${this.isSelected(s)} .startOfRange=${this.isStartOfRange(s)} .value=${s} ${H(g=>{r&&e&&this.activeFocus&&g?.setFocus()})}></calcite-date-picker-day></div>`)}renderCalendar(e,a,t=!1){return f`<div class=${u({[D.calendar]:!0,[D.calendarStart]:!t})}><calcite-date-picker-month-header .activeDate=${t?F(this.activeDate):this.activeDate} data-test-calendar=${t?"end":"start"} .headingLevel=${this.headingLevel} .localeData=${this.localeData} .max=${this.max} .messages=${this.messages} .min=${this.min} .monthStyle=${this.monthStyle} @calciteInternalDatePickerMonthHeaderSelectChange=${this.monthHeaderSelectChange} .position=${t?"end":this.range?"start":null} .scale=${this.scale} .selectedDate=${this.selectedDate}></calcite-date-picker-month-header>${this.renderMonthCalendar(e,a,t)}</div>`}renderMonthCalendar(e,a,t=!1){return f`<div class=${u({[D.month]:!0})} @keydown=${this.keyDownHandler}><div class=${u({[D.weekHeaderContainer]:!0})} role=row>${e.map(i=>f`<span class=${u({[D.weekHeader]:!0})} role=columnheader>${i}</span>`)}</div><div class=${u({[D.weekDays]:!0})} role=row>${a.map((i,n)=>this.renderDateDay(i,t?50+n:n))}</div></div>`}};R("calcite-date-picker-month",M);export{M as DatePickerMonth};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{a as y}from"./EMU7SXCO.js";import{a as U}from"./HC3VTW3M.js";import{a as C}from"./2PWIVHKC.js";import{a as P}from"./D5SGLN75.js";import{a as L}from"./3C2LS72H.js";import{a as H}from"./VWIZVIXZ.js";import{a as $}from"./7EL7DSBI.js";import{a as A}from"./WYLXV24G.js";import{b as k}from"./43G3A5AU.js";import{D as d,b as M,e as w,n as R}from"./3TTD7TSS.js";import{d as V}from"./3DXOK56D.js";import"./ODE4D5N5.js";import"./DKLFM2YC.js";import{A as B,C as D,H as T,e as O,f as S,v as u,w as I,x as h}from"./ZZ253KQR.js";var l={scrim:"scrim",container:"container",containerOpen:"container--open",content:"content",contentContainer:"content-container",containerEmbedded:"container--embedded",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},F=10,K=25,_=O`: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;color:var(--calcite-color-text-2);opacity:0;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(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),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-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:.25rem}:host([display-mode=float]) .container{padding:.75rem}.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-overlay)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-color-background);color:var(--calcite-color-border-input)}.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:1px solid var(--calcite-color-border-3)}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:.25rem;border-end-end-radius:.25rem}: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:1px solid 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:1px solid 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:1px solid var(--calcite-color-border-3)}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-top-left-radius:.25rem;border-top-right-radius:.25rem}: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}`,E=class extends I{constructor(){super(),this.focusTrap=U({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:!1,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.ignoreOpenChange=!1,this.messages=A(),this.mutationObserver=$("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.openProp="opened",this.transitionProp="opacity",this.resizeValues={inlineSize:0,blockSize:0,minInlineSize:0,minBlockSize:0,maxInlineSize:0,maxBlockSize:0},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.keyDownHandler=e=>{let{defaultPrevented:t,key:s}=e;!t&&!this.escapeDisabled&&this.focusTrapDisabled&&this.open&&s==="Escape"&&(e.preventDefault(),this.open=!1)},this.listen("keydown",this.keyDownHandler)}static{this.properties={resizeValues:[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=_}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleSheet(e))}async setFocus(){await V(this),R(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)&&L(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.removeOverflowHiddenClass(),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:s,shiftKey:n}=e,{position:i,resizable:a,contentEl:p,el:r,resizeValues:{maxBlockSize:z,maxInlineSize:f,minBlockSize:x,minInlineSize:v}}=this,g=[...i==="block-end"||i==="block-start"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!a||!p||s||!g.includes(t))return;let c=this.getContentElDOMRect(),b=w(r)==="rtl"?-1:1,o=n?K:F;switch(t){case"ArrowUp":this.updateSize({size:c.height+(i==="block-end"?o:-o),type:"blockSize"}),e.preventDefault();break;case"ArrowDown":this.updateSize({size:c.height+(i==="block-end"?-o:o),type:"blockSize"}),e.preventDefault();break;case"ArrowLeft":this.updateSize({size:c.width+(i==="inline-end"?o:-o)*b,type:"inlineSize"}),e.preventDefault();break;case"ArrowRight":this.updateSize({size:c.width+(i==="inline-end"?-o:o)*b,type:"inlineSize"}),e.preventDefault();break;case"Home":this.updateSize({size:i==="block-start"||i==="block-end"?x:v,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"});break;case"End":this.updateSize({size:i==="block-start"||i==="block-end"?z:f,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"});break}}updateSize({type:e,size:t}){let{contentEl:s,resizeValues:n}=this;if(!s)return;let i=e==="blockSize"?"minBlockSize":"minInlineSize",a=e==="blockSize"?"maxBlockSize":"maxInlineSize",p=n[i]&&n[a]?P(t,n[i],n[a]):t,r=Math.round(p);this.resizeValues={...n,[e]:r},s.style[e]=t!==null?`${r}px`:null}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"})}setupInteractions(){this.cleanupInteractions();let{el:e,contentEl:t,resizable:s,position:n,open:i,resizeHandleEl:a}=this;if(!t||!i||!s||!a)return;let{inlineSize:p,minInlineSize:r,blockSize:z,minBlockSize:f,maxInlineSize:x,maxBlockSize:v}=window.getComputedStyle(t),m={inlineSize:d(p)?parseInt(p):0,blockSize:d(z)?parseInt(z):0,minInlineSize:d(r)?parseInt(r):0,minBlockSize:d(f)?parseInt(f):0,maxInlineSize:d(x)?parseInt(x):window.innerWidth,maxBlockSize:d(v)?parseInt(v):window.innerHeight};this.resizeValues=m;let g=w(e)==="rtl";this.interaction=y(t,{context:e.ownerDocument}).resizable({edges:{top:n==="block-end"?a:!1,right:n===(g?"inline-end":"inline-start")?a:!1,bottom:n==="block-start"?a:!1,left:n===(g?"inline-start":"inline-end")?a:!1},modifiers:[y.modifiers.restrictSize({min:{width:m.minInlineSize,height:m.minBlockSize},max:{width:m.maxInlineSize,height:m.maxBlockSize}})],listeners:{move:({rect:c})=>{let b=n==="block-start"||n==="block-end";this.updateSize({size:b?c.height:c.width,type:b?"blockSize":"inlineSize"})}}})}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),this.focusTrap.activate()}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=M(e)}setTransitionEl(e){e&&(this.transitionEl=e)}async openSheet(){await this.componentOnReady(),this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}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,this.removeOverflowHiddenClass()}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.focusTrap.updateContainerElements()}render(){let{resizable:e,position:t,resizeValues:s}=this,n=w(this.el),i=t==="block-start"||t==="block-end";return B(this.el,"aria-describedby",this.contentId),this.el.ariaLabel=this.label,this.el.ariaModal="true",this.el.role="dialog",S`<div class=${h({[l.container]:!0,[l.containerOpen]:this.opened,[l.containerEmbedded]:this.embedded,[D.rtl]:n==="rtl",[C("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[C("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} ${k(this.setTransitionEl)}><calcite-scrim class=${h(l.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${h(l.content)} ${k(this.setContentEl)}><div class=${h(l.contentContainer)}><slot></slot></div>${e?H("resize-handle",S`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${i?s.maxBlockSize:s.maxInlineSize} .ariaValueMin=${i?s.minBlockSize:s.minInlineSize} .ariaValueNow=${i?s.blockSize:s.inlineSize} class=${h(l.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${k(this.setResizeHandleEl)}><div class=${h(l.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null}</div></div>`}};T("calcite-sheet",E);export{E as Sheet};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{C as i}from"./3TTD7TSS.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-next.14 */
|
|
4
|
+
import{a as t}from"./ODE4D5N5.js";function r(i){return i==="l"?"m":"s"}function o(i,n,a){!i[n]&&!i[a]&&t.warn(`[${i.el.localName}] "${n.toString()}" or "${a.toString()}" is required.`)}function s(i){return i.hidden||i.itemHidden}async function u(i){await i.componentOnReady(),await i.updateComplete}export{r as a,o as b,s as c,u as d};
|
|
@@ -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-next.14 */
|
|
4
|
+
function t(n){return n==="Enter"||n===" "}var e=["0","1","2","3","4","5","6","7","8","9"];export{t as a,e as b};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{b as z}from"./D5SGLN75.js";import{b as S,f as I,g as M,k as g,l as D}from"./XHJW4X6Q.js";var U=5;function p({locale:t,numberingSystem:e,includeSeconds:n=!0,fractionalSecondDigits:r,hour12:i}){let o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:M(e)};return typeof i=="boolean"&&(o.hour12=i),n&&(o.second="2-digit",r&&(o.fractionalSecondDigits=r)),D(t,o)}function h(t,e){if(t==null)return;let n=t.toString(),r=z(t);if(t<1&&r>0&&r<4){let i=n.replace("0.","");return!e||i.length===e?i:i.length<e?i.padEnd(e,"0"):i}if(t>=0&&t<10)return n.padStart(2,"0");if(t>=10)return n}function V(t){if(!T(t))return null;let{hour:e,minute:n,second:r,fractionalSecond:i}=x(t),o=`${h(parseInt(e))}:${h(parseInt(n))}`;return r&&(o+=`:${h(parseInt(r))}`,i&&(o+=`.${i}`)),o}function O(t){return parseInt((parseFloat(`0.${t}`)/.001).toFixed(3))}function b(t){let e={locale:t};t==="mk"?e.hour12=!1:t.toLowerCase()==="es-mx"&&(e.hour12=!0);let r=p(e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return l("meridiem",r)?"12":"24"}function H(t){return b(t)==="24"?"12":"24"}function A(t,e,n="latn"){let r=p({hour12:!0,locale:t,numberingSystem:n}),i=6,o=18,u=new Date(Date.UTC(0,0,0,e==="AM"?i:o,0)),c=r.formatToParts(u);return l("meridiem",c)}function F(t,e){return g.numberFormatOptions={locale:t,numberingSystem:e},g.localize("1.1").split("")[1]}function k(t,e,n="latn"){let i=p({locale:e,numberingSystem:n}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return l(`${t}Suffix`,i)}function l(t,e){if(!t||!e)return null;if(t==="hourSuffix"){let n=e.indexOf(e.find(({type:o})=>o==="hour")),r=e.indexOf(e.find(({type:o})=>o==="minute")),i=e[n+1];return i&&i.type==="literal"&&r-n===2&&i.value?.trim()||null}if(t==="minuteSuffix"){let n=e.indexOf(e.find(({type:o})=>o==="minute")),r=e.indexOf(e.find(({type:o})=>o==="second")),i=e[n+1];return i&&i.type==="literal"&&r-n===2&&i.value?.trim()||null}if(t==="secondSuffix"){let n=e.indexOf(e.find(({type:i})=>i==="second")),r=e[n+1];return r&&r.type==="literal"&&r.value?.trim()||null}return e.find(({type:n})=>t=="meridiem"?n==="dayPeriod":n===t)?.value||null}function W(t){if(!S(t))return null;let e=parseInt(t);return e>=0&&e<=11?"AM":"PM"}function E(t){let e=A(t,"AM"),n=A(t,"PM"),r=L(t),i=$({hour12:!0,value:"00:00:00",locale:t,numberingSystem:"latn"}),o=i[r===0?1:r-1].type==="hour"||i[r-1]?.type==="second"?"":" ";return t!=="no"&&e===e.toLocaleLowerCase(t)&&n===n.toLocaleLowerCase(t)?r===0?`a${o}`:`${o}a`:r===0?`A${o}`:`${o}A`}function L(t){return $({hour12:!0,value:"00:00:00",locale:t,numberingSystem:"latn"}).findIndex(n=>n.type==="dayPeriod")}function Z(t,e){return t===H(e)}function T(t){if(!t||t.startsWith(":")||t.endsWith(":"))return!1;let e=t.split(":");if(!(e.length>1&&e.length<4))return!1;let[r,i,o]=e,u=parseInt(e[0]),c=parseInt(e[1]),f=parseInt(e[2]),d=S(r)&&u>=0&&u<24,a=S(i)&&c>=0&&c<60,m=S(o)&&f>=0&&f<60;if(d&&a&&!o||d&&a&&m)return!0}function w(t,e){if(e==="meridiem")return t==="AM"||t==="PM";if(!S(t))return!1;let n=Number(t);return e==="hour"?n>=0&&n<24:n>=0&&n<60}function y({value:t,part:e,locale:n,numberingSystem:r="latn",hour12:i}){if(e==="fractionalSecond"){let d=F(n,r),a=null;if(t){g.numberFormatOptions={locale:n,numberingSystem:r};let m=g.localize("0");parseInt(t)===0?a="".padStart(t.length,m):(a=g.localize(`0.${t}`).replace(`${m}${d}`,""),a.length<t.length&&(a=a.padEnd(t.length,m)))}return a}if(!w(t,e))return;let o=parseInt(t),u=new Date(Date.UTC(0,0,0,e==="hour"?o:e==="meridiem"?t==="AM"?0:12:0,e==="minute"?o:0,e==="second"?o:0));if(!u)return;let f=p({hour12:i,locale:n,numberingSystem:r}).formatToParts(u);return l(e,f)}function j({value:t,locale:e,numberingSystem:n="latn",includeSeconds:r=!0,fractionalSecondDigits:i,hour12:o}){if(!T(t))return null;let{hour:u,minute:c,second:f="0",fractionalSecond:d}=x(t),a=new Date(Date.UTC(0,0,0,parseInt(u),parseInt(c),parseInt(f),d&&O(d))),s=p({locale:e,numberingSystem:n,includeSeconds:r,fractionalSecondDigits:i,hour12:o}).format(a)||null;if(s&&e==="bg"&&s.includes(" \u0447.")&&(s=s.replaceAll(" \u0447.","")),e==="bs"||e==="mk"){let P=I.get(e);s.includes("AM")?s=s.replaceAll("AM",P.am):s.includes("PM")&&(s=s.replaceAll("PM",P.pm)),s.indexOf(".")!==s.length-1&&(s=s.replace(".",","))}return s}function B({value:t,locale:e,numberingSystem:n="latn",hour12:r}){if(!T(t))return null;let{hour:i,minute:o,second:u="0",fractionalSecond:c}=x(t),f=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(o),parseInt(u)));if(f){let a=p({locale:e,numberingSystem:n,hour12:r}).formatToParts(f),m=l("meridiem",a);if(r&&(e==="bs"||e==="mk")){let s=I.get(e);m=f.getHours()>11?s.am:s.pm}return{localizedHour:l("hour",a),localizedHourSuffix:l("hourSuffix",a),localizedMinute:l("minute",a),localizedMinuteSuffix:l("minuteSuffix",a),localizedSecond:l("second",a),localizedDecimalSeparator:F(e,n),localizedFractionalSecond:y({value:c,part:"fractionalSecond",locale:e,numberingSystem:n}),localizedSecondSuffix:l("secondSuffix",a),localizedMeridiem:m}}return null}function $({hour12:t,value:e,locale:n,numberingSystem:r}){if(!T(e))return null;let{hour:i,minute:o,second:u="0"}=x(e),c=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(o),parseInt(u)));return c?p({hour12:t,locale:n,numberingSystem:r}).formatToParts(c):null}function x(t){if(T(t)){let[e,n,r]=t.split(":"),i=r,o=null;return r?.includes(".")&&([i,o]=r.split(".")),{fractionalSecond:o,hour:e,minute:n,second:i}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function q(t,e=!0){if(!T(t))return"";let{hour:n,minute:r,second:i,fractionalSecond:o}=x(t),u=`${h(parseInt(n))}:${h(parseInt(r))}`;return e&&(u+=`:${h(parseInt(e&&i||"0"))}`,o&&(u+=`.${o}`)),u}export{U as a,h as b,V as c,b as d,H as e,F as f,k as g,W as h,E as i,L as j,Z as k,T as l,y as m,j as n,B as o,x as p,q};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{b as o}from"./43G3A5AU.js";import{f as a,j as t,x as n}from"./ZZ253KQR.js";var m={validationContainer:"validation-container"},d=()=>{},$=({scale:e,status:s,id:r,icon:l,message:c,ref:i})=>a`<div class=${n(m.validationContainer)} ${o(i||d)}><calcite-input-message aria-live=polite .icon=${l} id=${r??t} .scale=${e} .status=${s}>${c}</calcite-input-message></div>`;export{$ 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-next.14 */
|
|
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};
|
|
@@ -0,0 +1,13 @@
|
|
|
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-next.14 */
|
|
4
|
+
|
|
5
|
+
Bundled license information:
|
|
6
|
+
|
|
7
|
+
sortablejs/modular/sortable.esm.js:
|
|
8
|
+
/**!
|
|
9
|
+
* Sortable 1.15.6
|
|
10
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
11
|
+
* @author owenm <owen23355@gmail.com>
|
|
12
|
+
* @license MIT
|
|
13
|
+
*/
|
|
@@ -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-next.14 */
|
|
4
|
+
import{n as m,v as z}from"./KJ6ZJRIR.js";import"./ADHL4DXX.js";import{d as k}from"./3TTD7TSS.js";import"./DKLFM2YC.js";import{H as v,e as b,f as o,w as g,x as c,y as p,z as h}from"./ZZ253KQR.js";var u={thumbnail:"thumbnail",background:"background",initials:"initials",icon:"icon"};function x(r){r=$(r);let e=0;for(let i=0;i<r.length;i++)e=r.charCodeAt(i)+((e<<5)-e);let t="#";for(let i=0;i<3;i++){let a=e>>i*8&255;t+=("00"+a.toString(16)).substr(-2)}return t}function $(r){let e=Math.floor(r.length/2),t=r.split("").reverse().join("");return t.substring(e)+t.slice(0,e)}function y(r){let{r:e,g:t,b:i}=r;e/=255,t/=255,i/=255;let a=Math.max(e,t,i),l=Math.min(e,t,i),s=a-l;if(a===l)return 0;let n=(a+l)/2;switch(a){case e:n=(t-i)/s+(t<i?6:0);break;case t:n=(i-e)/s+2;break;case i:n=(e-t)/s+4;break}return Math.round(n*60)}function C(r){return y(z(r))}var T=b`:host{display:inline-block;overflow:hidden;border-radius:var(--calcite-avatar-corner-radius, 50%);color:var(--calcite-avatar-color, var(--calcite-color-text-2))}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:var(--calcite-avatar-corner-radius, 50%)}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase}.thumbnail{block-size:100%;inline-size:100%;border-radius:var(--calcite-avatar-corner-radius, 50%)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends g{constructor(){super(...arguments),this.thumbnailFailedToLoad=!1,this.scale="m"}static{this.properties={thumbnailFailedToLoad:[16,{state:!0}],fullName:[3,{reflect:!0}],label:1,scale:[3,{reflect:!0}],thumbnail:[3,{reflect:!0}],userId:[3,{reflect:!0}],username:[3,{reflect:!0}]}}static{this.styles=T}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return o`<img alt=${(this.label||"")??h} class=${c(u.thumbnail)} @error=${()=>this.thumbnailFailedToLoad=!0} src=${this.thumbnail??h}>`;let e=this.generateInitials(),t=this.generateFillColor();return o`<span .ariaLabel=${this.label||this.fullName} class=${c(u.background)} role=figure style=${p({backgroundColor:t})}>${e?o`<span aria-hidden=true class=${c(u.initials)}>${e}</span>`:o`<calcite-icon class=${c(u.icon)} icon=user .scale=${this.scale}></calcite-icon>`}</span>`}generateFillColor(){let{userId:e,username:t,fullName:i,el:a}=this,l=k(a),s=e&&`#${e.substr(e.length-6)}`,n=t||i||"",f=s&&m(s)?s:x(n);return!e&&!n||!m(f)?"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))":`var(--calcite-avatar-background-color, hsl(${C(f)}, 60%, ${l==="dark"?20:90}%))`}generateInitials(){let{fullName:e,username:t}=this;return e?e.trim().split(" ").map(i=>i.substring(0,1)).join(""):t?t.substring(0,2):!1}render(){return this.determineContent()}};v("calcite-avatar",d);export{d as Avatar};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{c as r}from"./UVIPQ52T.js";import{a as n,b as o}from"./MLZVDLJB.js";import{H as s,e as a,f as i,v as l,w as c,x as e}from"./ZZ253KQR.js";var d={container:"container",heading:"heading"},p=a`: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:flex;flex-direction:column}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{margin:0;display:flex;flex:1 1 0%;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1));color:var(--calcite-list-color, var(--calcite-color-text-2))}.heading{font-weight:var(--calcite-font-weight-medium)}:host([scale=s]) .container{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=m]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg);padding-block:var(--calcite-spacing-xl) var(--calcite-spacing-sm-plus, .625rem)}:host([scale=l]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md-plus, .875rem)}.heading{padding:0}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends c{constructor(){super(...arguments),this.disabled=!1,this.filterHidden=!1,this.scale="m",this.calciteInternalListItemGroupDefaultSlotChange=l({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],filterHidden:[7,{reflect:!0,type:Boolean}],heading:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=p}updated(){n(this)}handleDefaultSlotChange(){this.calciteInternalListItemGroupDefaultSlotChange.emit()}render(){let{disabled:h,heading:g}=this;return o({disabled:h,children:i`<div class=${e(d.container)} role=row><div .ariaColSpan=${r} class=${e(d.heading)} role=cell>${g}</div></div><slot @slotchange=${this.handleDefaultSlotChange}></slot>`})}};s("calcite-list-item-group",t);export{t as ListItemGroup};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{a as P}from"./2PWIVHKC.js";import{a as p,c as h,d as C,e as k,f as x,g as r,h as S}from"./QE45KRZ7.js";import"./YFDBOGW5.js";import{a as O}from"./3C2LS72H.js";import{a as y,b as E}from"./MLZVDLJB.js";import"./VCMPMN7V.js";import{a as I}from"./3K2BFKTJ.js";import{a as c}from"./7EL7DSBI.js";import{b as n}from"./43G3A5AU.js";import{l as d,n as v,z as a}from"./3TTD7TSS.js";import{d as D}from"./3DXOK56D.js";import"./ODE4D5N5.js";import{a as b}from"./DKLFM2YC.js";import{H as g,e as m,f as u,v as o,w,x as l}from"./ZZ253KQR.js";var A={dropdownTrigger:"trigger"},$={content:"calcite-dropdown-content",wrapper:"calcite-dropdown-wrapper"},U=m`: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:inline-block}.calcite-dropdown-wrapper{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);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)}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-dropdown-content{max-height:45vh;width:auto;overflow-y:auto;overflow-x:hidden;inline-size:var(--calcite-dropdown-width, var(--calcite-internal-dropdown-width));background-color:var(--calcite-dropdown-background-color, var(--calcite-color-foreground-1))}.calcite-trigger-container{position:relative;display:flex;height:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}.width-s{--calcite-internal-dropdown-width: 12rem}.width-m{--calcite-internal-dropdown-width: 14rem}.width-l{--calcite-internal-dropdown-width: 16rem}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:var(--calcite-border-width-sm) solid canvasText}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,f=class extends w{constructor(){super(),this.focusLastDropdownItem=!1,this.groups=[],this.guid=`calcite-dropdown-${b()}`,this.items=[],this.mutationObserver=c("mutation",()=>this.updateItems()),this.onOpenEnd=()=>{this.focusOnFirstActiveOrDefaultItem(),this.el.removeEventListener("calciteDropdownOpen",this.onOpenEnd)},this.transitionProp="opacity",this.resizeObserver=c("resize",e=>this.resizeObserverCallback(e)),this.closeOnSelectDisabled=!1,this.disabled=!1,this.maxItems=0,this.offsetDistance=0,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=p,this.scale="m",this.selectedItems=[],this.type="click",this.calciteDropdownBeforeClose=o({cancelable:!1}),this.calciteDropdownBeforeOpen=o({cancelable:!1}),this.calciteDropdownClose=o({cancelable:!1}),this.calciteDropdownOpen=o({cancelable:!1}),this.calciteDropdownSelect=o({cancelable:!1}),this.listenOn(window,"click",this.closeCalciteDropdownOnClick),this.listen("calciteInternalDropdownCloseRequest",this.closeCalciteDropdownOnEvent),this.listenOn(window,"calciteDropdownOpen",this.closeCalciteDropdownOnOpenEvent),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("calciteInternalDropdownItemKeyEvent",this.calciteInternalDropdownItemKeyEvent),this.listen("calciteInternalDropdownItemSelect",this.handleItemSelect)}static{this.properties={closeOnSelectDisabled:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],flipPlacements:[0,{attribute:!1}],maxItems:[11,{reflect:!0,type:Number}],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}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],type:[3,{reflect:!0}],widthScale:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=U}async reposition(e=!1){let{filteredFlipPlacements:t,floatingEl:i,offsetDistance:s,offsetSkidding:F,overlayPositioning:H,placement:z,referenceEl:T}=this;return k(this,{floatingEl:i,referenceEl:T,offsetDistance:s,offsetSkidding:F,overlayPositioning:H,placement:z,flipPlacements:t,type:"menu"},e)}async setFocus(){await D(this),v(this.referenceEl)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.updateItems(),r(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("maxItems")&&this.hasUpdated&&this.setMaxScrollerHeight(),this.hasUpdated&&(e.has("offsetDistance")&&this.offsetDistance!==0||e.has("offsetSkidding")&&this.offsetSkidding!==0||e.has("overlayPositioning")&&this.overlayPositioning!=="absolute"||e.has("placement")&&this.placement!==p)&&this.reposition(!0),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handlePropsChange()}updated(){y(this)}loaded(){this.updateSelectedItems(),r(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),S(this)}openHandler(){O(this),!this.disabled&&this.reposition(!0)}handleDisabledChange(e){e||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}handlePropsChange(){this.updateItems(),this.updateGroupProps()}closeCalciteDropdownOnClick(e){this.disabled||!this.open||e.composedPath().includes(this.el)||this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(e){this.closeCalciteDropdown(),e.stopPropagation()}closeCalciteDropdownOnOpenEvent(e){e.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||this.type!=="hover"||this.toggleDropdown()}pointerLeaveHandler(){this.disabled||this.type!=="hover"||this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter(e=>!e.disabled&&!e.hidden)}calciteInternalDropdownItemKeyEvent(e){let{keyboardEvent:t}=e.detail,i=t.target,s=this.getTraversableItems();switch(t.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(i);break;case"ArrowDown":a(s,i,"next");break;case"ArrowUp":a(s,i,"previous");break;case"Home":a(s,i,"first");break;case"End":a(s,i,"last");break}e.stopPropagation()}handleItemSelect(e){this.updateSelectedItems(),e.stopPropagation(),this.calciteDropdownSelect.emit(),(!this.closeOnSelectDisabled||e.detail.requestedDropdownGroup.selectionMode==="none")&&this.closeCalciteDropdown(),e.stopPropagation()}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?C(t,e):null}updateTriggers(e){this.triggers=e.target.assignedElements({flatten:!0}),this.reposition(!0)}updateItems(){this.items=this.groups.map(e=>Array.from(e?.querySelectorAll("calcite-dropdown-item"))).reduce((e,t)=>[...e,...t],[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach(e=>e.scale=this.scale)}updateGroups(e){let t=e.target.assignedElements({flatten:!0}).filter(i=>i?.matches("calcite-dropdown-group"));this.groups=t,this.updateItems(),this.updateGroupProps()}updateGroupProps(){this.groups.forEach((e,t)=>{e.scale=this.scale,e.position=t})}resizeObserverCallback(e){e.forEach(t=>{let{target:i}=t;this.hasUpdated&&(i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight())})}setDropdownWidth(){let{referenceEl:e,scrollerEl:t}=this,i=e?.clientWidth;t.style.minWidth=`${i}px`}setMaxScrollerHeight(){let e=this.getMaxScrollerHeight();this.scrollerEl.style.maxBlockSize=e>0?`${e}px`:"",this.reposition(!0)}setScrollerAndTransitionEl(e){e&&(this.resizeObserver?.observe(e),this.scrollerEl=e,this.transitionEl=e)}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit(),x(this)}setReferenceEl(e){this.referenceEl=e,r(this),e&&this.resizeObserver?.observe(e)}setFloatingEl(e){this.floatingEl=e,r(this)}keyDownHandler(e){if(!e.composedPath().includes(this.referenceEl))return;let{defaultPrevented:t,key:i}=e;if(!t){if(i==="Escape"){this.closeCalciteDropdown(),e.preventDefault();return}if(this.open&&e.shiftKey&&i==="Tab"){this.closeCalciteDropdown(),e.preventDefault();return}I(i)?(this.toggleDropdown(),e.preventDefault()):(i==="ArrowDown"||i==="ArrowUp")&&(e.preventDefault(),this.focusLastDropdownItem=i==="ArrowUp",this.open=!0,this.el.addEventListener("calciteDropdownOpen",this.onOpenEnd))}}updateSelectedItems(){this.selectedItems=this.items.filter(e=>e.selected)}getMaxScrollerHeight(){let{maxItems:e,items:t}=this;return t.length>=e&&e>0?this.getYDistance(this.scrollerEl,t[e-1]):0}getYDistance(e,t){let i=e.getBoundingClientRect();return t.getBoundingClientRect().bottom-i.top}closeCalciteDropdown(e=!0){this.open=!1,e&&d(this.triggers[0])}focusOnFirstActiveOrDefaultItem(){let t=this.getTraversableItems().find(i=>i.selected)||(this.focusLastDropdownItem?this.items[this.items.length-1]:this.items[0]);this.focusLastDropdownItem=!1,t&&d(t)}toggleDropdown(){this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.onOpenEnd)}updateTabIndexOfItems(e){this.items.forEach(t=>{t.tabIndex=e!==t?-1:0})}render(){let{open:e,guid:t}=this;return E({disabled:this.disabled,children:u`<div class="calcite-trigger-container" .id=${`${t}-menubutton`} @click=${this.toggleDropdown} @keydown=${this.keyDownHandler} ${n(this.setReferenceEl)}><slot aria-controls=${`${t}-menu`} .ariaExpanded=${e} aria-haspopup=menu name=${A.dropdownTrigger} @slotchange=${this.updateTriggers}></slot></div><div .ariaHidden=${!e} class=${l({[$.wrapper]:!0,[P("width",this.width,this.widthScale)]:!!(this.width||this.widthScale)})} ${n(this.setFloatingEl)}><div aria-labelledby=${`${t}-menubutton`} class=${l({[$.content]:!0,[h.animation]:!0,[h.animationActive]:e})} .id=${`${t}-menu`} role=menu ${n(this.setScrollerAndTransitionEl)}><slot @slotchange=${this.updateGroups}></slot></div></div>`})}};g("calcite-dropdown",f);export{f as Dropdown};
|
|
@@ -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-next.14 */
|
|
4
|
+
import{a as T}from"./DKLFM2YC.js";import{C as h}from"./ZZ253KQR.js";var O=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],b=O.join(","),N=typeof Element>"u",d=N?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,v=!N&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},g=function e(t,r){var n;r===void 0&&(r=!0);var a=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=a===""||a==="true",i=o||r&&t&&e(t.parentNode);return i},k=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},M=function(t,r,n){if(g(t))return[];var a=Array.prototype.slice.apply(t.querySelectorAll(b));return r&&d.call(t,b)&&a.unshift(t),a=a.filter(n),a},B=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!g(i,!1))if(i.tagName==="SLOT"){var u=i.assignedElements(),s=u.length?u:i.children,l=e(s,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var f=d.call(i,b);f&&n.filter(i)&&(r||!t.includes(i))&&a.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),F=!g(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&F){var S=e(c===!0?i.children:c.children,!0,n);n.flatten?a.push.apply(a,S):a.push({scopeParent:i,candidates:S})}else o.unshift.apply(o,i.children)}}return a},I=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},A=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||k(t))&&!I(t)?0:t.tabIndex},L=function(t,r){var n=A(t);return n<0&&r&&!I(t)?0:n},P=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},x=function(t){return t.tagName==="INPUT"},q=function(t){return x(t)&&t.type==="hidden"},$=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},W=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},G=function(t){if(!t.name)return!0;var r=t.form||v(t),n=function(u){return r.querySelectorAll('input[type="radio"][name="'+u+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(t.name));else try{a=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=W(a,t.form);return!o||o===t},U=function(t){return x(t)&&t.type==="radio"},j=function(t){return U(t)&&!G(t)},z=function(t){var r,n=t&&v(t),a=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var i,u,s;for(o=!!((i=a)!==null&&i!==void 0&&(u=i.ownerDocument)!==null&&u!==void 0&&u.contains(a)||t!=null&&(s=t.ownerDocument)!==null&&s!==void 0&&s.contains(t));!o&&a;){var l,f,c;n=v(a),a=(l=n)===null||l===void 0?void 0:l.host,o=!!((f=a)!==null&&f!==void 0&&(c=f.ownerDocument)!==null&&c!==void 0&&c.contains(a))}}return o},E=function(t){var r=t.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0},X=function(t,r){var n=r.displayCheck,a=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=d.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(d.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof a=="function"){for(var u=t;t;){var s=t.parentElement,l=v(t);if(s&&!s.shadowRoot&&a(s)===!0)return E(t);t.assignedSlot?t=t.assignedSlot:!s&&l!==t.ownerDocument?t=l.host:t=s}t=u}if(z(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return E(t);return!1},V=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}r=r.parentElement}return!1},Y=function(t,r){return!(r.disabled||g(r)||q(r)||X(r,t)||$(r)||V(r))},w=function(t,r){return!(j(r)||A(r)<0||!Y(t,r))},Z=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},H=function e(t){var r=[],n=[];return t.forEach(function(a,o){var i=!!a.scopeParent,u=i?a.scopeParent:a,s=L(u,i),l=i?e(a.candidates):u;s===0?i?r.push.apply(r,l):r.push(u):n.push({documentOrder:o,tabIndex:s,item:a,isScope:i,content:l})}),n.sort(P).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},K=function(t,r){r=r||{};var n;return r.getShadowRoot?n=B([t],r.includeContainer,{filter:w.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Z}):n=M(t,r.includeContainer,w.bind(null,r)),H(n)},J={getShadowRoot:!0};function dt(e){return e?e.id=e.id||`${e.tagName.toLowerCase()}-${T()}`:""}function ht(e){return Array.isArray(e)?e:Array.from(e)}function vt(e){let t=m(e,`.${h.darkMode}, .${h.lightMode}, .${h.autoMode}`);return t?.classList.contains("calcite-mode-dark")||t?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function gt(e){let t="dir",r=`[${t}]`,n=m(e,r);return n?n.getAttribute(t):"ltr"}function bt(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function p(e){return e.getRootNode()}function yt(e){let t=p(e);return"host"in t?t:null}function pt(e,t){if(!e)return 0;let n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width}function R(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=p(e);return(r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null)||Q(R(n),{selector:t,id:r})}function m(e,t){return e?e.closest(t)||m(R(p(e)),t):null}function _(e){return typeof e?.setFocus=="function"}async function tt(e){if(e)return _(e)?e.setFocus():e.focus()}function et(e){if(e)return K(e,J)[0]??e}function mt(e){et(e)?.focus()}function St(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function rt(e,t){return e.filter(r=>r.matches(t))}function Tt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function Et(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function wt(e){return(!!e).toString()}function Ct(e){return ot(e)||at(e)}function nt(e){return it(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function Nt(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function at(e){return!!nt(e)}function it(e){return e.currentTarget.assignedNodes({flatten:!0})}function ot(e){return!!ut(e).length}function ut(e,t){return st(e.target,t)}function st(e,t){let r=e.assignedElements({flatten:!0});return t?rt(r,t):r}function It(e){return!!(e.isPrimary&&e.button===0)}function At(e){return e.detail===0}var xt=(e,t,r,n=!0)=>{let a=e.indexOf(t),o=a===0,i=a===e.length-1;n&&(r=r==="previous"&&o?"last":r==="next"&&i?"first":r);let u;return r==="previous"?u=e[a-1]||e[n?e.length-1:a]:r==="next"?u=e[a+1]||e[n?0:a]:r==="last"?u=e[e.length-1]:u=e[0],tt(u),u};function Rt(e,t){if(e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Dt(e,t,r,n){return D(e,t,"animation",r,n)}async function Ft(e,t,r,n){return D(e,t,"transition",r,n)}async function lt(e,t){await y(),e?.(),await y(),t?.()}function C(e,t,r){let n=t==="transition"?"transitionProperty":"animationName";return e.getAnimations().find(a=>a[n]===r)}async function D(e,t,r,n,a){let o=C(e,r,t);if(o||(await y(),o=C(e,r,t)),!o)return lt(n,a);n?.();try{await o.finished}catch{}finally{a?.()}}function y(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Ot(e){return e.endsWith("px")}export{J as a,dt as b,ht as c,vt as d,gt as e,bt as f,p as g,yt as h,pt as i,Q as j,m as k,tt as l,et as m,mt as n,St as o,Tt as p,Et as q,wt as r,Ct as s,Nt as t,ot as u,ut as v,st as w,It as x,At as y,xt as z,Rt as A,Dt as B,Ft as C,Ot as D};
|
|
@@ -0,0 +1,7 @@
|
|
|
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-next.14 */
|
|
4
|
+
/*!
|
|
5
|
+
* tabbable 6.2.0
|
|
6
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
7
|
+
*/
|