@arcgis/map-components 6.0.0-next.2 → 6.0.0-next.20
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/cdn/{OJIYHIGC.js → 23L5GSFN.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 27HLXBPP.js} +1 -1
- package/dist/cdn/2C4EHM32.js +2 -0
- package/dist/cdn/2CV4EHYO.js +2 -0
- package/dist/cdn/2JOUXCA5.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → 2T3ALADJ.js} +1 -1
- package/dist/cdn/2ZNQABOI.js +2 -0
- package/dist/cdn/35EYUDTJ.js +2 -0
- package/dist/cdn/{YDZZPLVB.js → 3ND2HQVC.js} +1 -1
- package/dist/cdn/3POODM7N.js +2 -0
- package/dist/cdn/3SX4JMXA.js +2 -0
- package/dist/cdn/{ZAUG5MSY.js → 3SZ3FE66.js} +1 -1
- package/dist/cdn/3TGVVG6M.js +2 -0
- package/dist/cdn/3VB6M2GX.js +2 -0
- package/dist/cdn/3XEUTP6J.js +2 -0
- package/dist/cdn/3YQDH3QT.js +2 -0
- package/dist/cdn/{TKILR2SM.js → 3ZFHZPWM.js} +1 -1
- package/dist/cdn/454VHWQQ.js +2 -0
- package/dist/cdn/4CLSMFD2.js +2 -0
- package/dist/cdn/4EGKJPJ2.js +2 -0
- package/dist/cdn/{H7NR6B6S.js → 4EHW2LXW.js} +1 -1
- package/dist/cdn/4IJC4V6Z.js +2 -0
- package/dist/cdn/{V2YPYCU6.js → 4IQJMQQZ.js} +1 -1
- package/dist/cdn/4JL3FLRV.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → 4NW2V4RQ.js} +1 -1
- package/dist/cdn/4XEZYOW7.js +2 -0
- package/dist/cdn/5EBCPTE5.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → 5FA37EZ6.js} +1 -1
- package/dist/cdn/5JRZJANG.js +2 -0
- package/dist/cdn/5P7WPXOY.js +2 -0
- package/dist/cdn/5RCFYMHK.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → 5T4TPTPA.js} +1 -1
- package/dist/cdn/5UF6YKFN.js +2 -0
- package/dist/cdn/5VXEMMLV.js +2 -0
- package/dist/cdn/5Y45LLBY.js +2 -0
- package/dist/cdn/{2UKSCGYU.js → 64TOY3PA.js} +1 -1
- package/dist/cdn/66RQ6K6J.js +2 -0
- package/dist/cdn/6BMZP72L.js +2 -0
- package/dist/cdn/6DDIOOI6.js +2 -0
- package/dist/cdn/6IF5KBOJ.js +2 -0
- package/dist/cdn/{7DM32WQP.js → 6LUCQLB7.js} +1 -1
- package/dist/cdn/6NCZTAOF.js +2 -0
- package/dist/cdn/6S6CZJKN.js +2 -0
- package/dist/cdn/6XODSQWR.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → 7465ANAR.js} +1 -1
- package/dist/cdn/7CHCF6IX.js +2 -0
- package/dist/cdn/7EIWYGE2.js +2 -0
- package/dist/cdn/7FA44B44.js +2 -0
- package/dist/cdn/7IGSTLKW.js +4 -0
- package/dist/cdn/7NB627L5.js +2 -0
- package/dist/cdn/{EMXGW73P.js → 7QA26M4F.js} +1 -1
- package/dist/cdn/{RVIHQZ44.js → 7SDUVBEL.js} +1 -1
- package/dist/cdn/AA4RF7H6.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → AB74IWXX.js} +1 -1
- package/dist/cdn/AD2IA3IS.js +2 -0
- package/dist/cdn/AFYLXNX3.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → AI3ETXGZ.js} +1 -1
- package/dist/cdn/{JRCEICO2.js → AKAOYYJ7.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → ALZFPS2D.js} +1 -1
- package/dist/cdn/ASHCHM4V.js +2 -0
- package/dist/cdn/ATLQSGEK.js +2 -0
- package/dist/cdn/{FZAQZSRA.js → AVLV4PPI.js} +1 -1
- package/dist/cdn/AWB7XOHF.js +2 -0
- package/dist/cdn/AXJE2SZV.js +2 -0
- package/dist/cdn/B7D5ZTB2.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → BE5M3N7T.js} +1 -1
- package/dist/cdn/BK2UM27Y.js +2 -0
- package/dist/cdn/BKSKZ6W6.js +2 -0
- package/dist/cdn/{OAYNZFL2.js → BNZFCSS2.js} +1 -1
- package/dist/cdn/{AO6ONNIJ.js → BP7H6IBX.js} +1 -1
- package/dist/cdn/{Z6AVJWLP.js → BPNUA7MC.js} +1 -1
- package/dist/cdn/BRGIHQI3.js +2 -0
- package/dist/cdn/{6VO7G2UX.js → BSTT6ICQ.js} +1 -1
- package/dist/cdn/{EV7IIQBP.js → BT755NSP.js} +1 -1
- package/dist/cdn/BWM4ZVN7.js +2 -0
- package/dist/cdn/C2YP473B.js +2 -0
- package/dist/cdn/C6XAWMZK.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → CBAI4VLY.js} +1 -1
- package/dist/cdn/{5TKSFDKY.js → CD2XIXN5.js} +1 -1
- package/dist/cdn/{WBBTZNZU.js → CESPPRYQ.js} +1 -1
- package/dist/cdn/{YQV2OMBS.js → CEVISDMV.js} +1 -1
- package/dist/cdn/CEW6QJGT.js +2 -0
- package/dist/cdn/CG7BTPM3.js +2 -0
- package/dist/cdn/CI6VWQ63.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → CUFP5Q3Z.js} +1 -1
- package/dist/cdn/{DUMHDAYP.js → CYH72IDQ.js} +1 -1
- package/dist/cdn/CYUO2UNT.js +2 -0
- package/dist/cdn/CYXNSUYF.js +2 -0
- package/dist/cdn/{FSBLGH6E.js → D6GJRZJV.js} +1 -1
- package/dist/cdn/D7T33U5Z.js +2 -0
- package/dist/cdn/{P2I63WVL.js → DAZLYCHV.js} +1 -1
- package/dist/cdn/DE4OSJG5.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → DIXSGC2P.js} +1 -1
- package/dist/cdn/{CAC3OOFR.js → DQDUD556.js} +1 -1
- package/dist/cdn/{A6H4JIO7.js → DQRQZK5Y.js} +1 -1
- package/dist/cdn/DQSP4RFL.js +2 -0
- package/dist/cdn/{2BUURGFL.js → DRD2FAEC.js} +1 -1
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DUKK2PHD.js +2 -0
- package/dist/cdn/{2DAGREZP.js → DWQQDLIU.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → DYUFBVXE.js} +1 -1
- package/dist/cdn/{XP74F2F6.js → EBQ537XN.js} +1 -1
- package/dist/cdn/{DN2EFA4T.js → EGD2CSA7.js} +1 -1
- package/dist/cdn/ELAKAKPE.js +2 -0
- package/dist/cdn/{SQEKT3GV.js → ENHMLZOY.js} +1 -1
- package/dist/cdn/EPNWPJZ6.js +2 -0
- package/dist/cdn/{ZO7TUIUE.js → ERULVBEV.js} +1 -1
- package/dist/cdn/EVJFKABL.js +4 -0
- package/dist/cdn/{PBHNO4J7.js → EVQL7FMR.js} +1 -1
- package/dist/cdn/EWM5PERI.js +2 -0
- package/dist/cdn/EXSZCSCL.js +2 -0
- package/dist/cdn/F2EOAAKS.js +2 -0
- package/dist/cdn/F2QSG3HU.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → F4AJCUZ6.js} +1 -1
- package/dist/cdn/FFVPO4JB.js +2 -0
- package/dist/cdn/{R5TXJ5FN.js → FIYZBOAN.js} +1 -1
- package/dist/cdn/FNJBBQT5.js +2 -0
- package/dist/cdn/FTFHL3EA.js +2 -0
- package/dist/cdn/FUJYJKDU.js +2 -0
- package/dist/cdn/FUSAMFLS.js +2 -0
- package/dist/cdn/GBJY4A36.js +2 -0
- package/dist/cdn/GCTF7CS7.js +2 -0
- package/dist/cdn/{HTC4LCZQ.js → GD4XR5XA.js} +1 -1
- package/dist/cdn/{M7AFSV3C.js → GE4QV5JC.js} +1 -1
- package/dist/cdn/{UUHCMLK6.js → GGUWUNUA.js} +1 -1
- package/dist/cdn/GIBXI44G.js +2 -0
- package/dist/cdn/GWXQ6CHV.js +2 -0
- package/dist/cdn/{GNSNEUMI.js → H22SGLVH.js} +1 -1
- package/dist/cdn/{W3TSTSES.js → H6KJMGY6.js} +1 -1
- package/dist/cdn/{Z2UUXST4.js → H6SIAY6D.js} +1 -1
- package/dist/cdn/H7QBBTTP.js +2 -0
- package/dist/cdn/HJZRNUBU.js +2 -0
- package/dist/cdn/HKB7SRFI.js +2 -0
- package/dist/cdn/{26URLKXD.js → HS2TQPAG.js} +1 -1
- package/dist/cdn/HWRPCOVE.js +2 -0
- package/dist/cdn/I3FQUA77.js +2 -0
- package/dist/cdn/IAIVTB2Q.js +2 -0
- package/dist/cdn/ID3UU7QE.js +2 -0
- package/dist/cdn/{2SO5S66J.js → IEZGQ2LC.js} +1 -1
- package/dist/cdn/{QKZ552KI.js → IQ4ADF3I.js} +1 -1
- package/dist/cdn/{M3FI4K44.js → ITRBNYSS.js} +1 -1
- package/dist/cdn/IU5QHF6T.js +2 -0
- package/dist/cdn/IU7BOICX.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → IZKG2DP3.js} +1 -1
- package/dist/cdn/J7VECW7F.js +2 -0
- package/dist/cdn/{XDU23V37.js → JAH2AKJ5.js} +1 -1
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/JCCTYIZ2.js +2 -0
- package/dist/cdn/JPFLHUNR.js +2 -0
- package/dist/cdn/JSHCS4Y6.js +2 -0
- package/dist/cdn/JVC5XNYJ.js +2 -0
- package/dist/cdn/K7OB5AHB.js +2 -0
- package/dist/cdn/KIFEVB5D.js +2 -0
- package/dist/cdn/{KBA5OIES.js → KLY36SOM.js} +1 -1
- package/dist/cdn/KM7PWRG2.js +2 -0
- package/dist/cdn/{M6YVO33A.js → KQDXSX5Y.js} +1 -1
- package/dist/cdn/KQZYGYQO.js +2 -0
- package/dist/cdn/KRJCOTGC.js +2 -0
- package/dist/cdn/KV5K3ATE.js +2 -0
- package/dist/cdn/KWPVYPJ5.js +2 -0
- package/dist/cdn/KZUUBMYO.js +2 -0
- package/dist/cdn/{YZJKSAQ5.js → L4HKKYNC.js} +1 -1
- package/dist/cdn/{F5IHFPKA.js → L726CUBZ.js} +1 -1
- package/dist/cdn/LB52TH7O.js +2 -0
- package/dist/cdn/LDC5FSWA.js +2 -0
- package/dist/cdn/{HY2JY2TT.js → LFSVKJXI.js} +1 -1
- package/dist/cdn/LKMQHTBY.js +2 -0
- package/dist/cdn/LL3DXDKE.js +2 -0
- package/dist/cdn/LMI7MLKS.js +2 -0
- package/dist/cdn/LOF4XAJZ.js +2 -0
- package/dist/cdn/LPXSF4M6.js +2 -0
- package/dist/cdn/{MYLIX42T.js → LXLZB2JC.js} +1 -1
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/{5DY7GHBN.js → M2HYKS62.js} +1 -1
- package/dist/cdn/{WO26ZR5Z.js → M4M3QTI4.js} +1 -1
- package/dist/cdn/M6COQWFB.js +2 -0
- package/dist/cdn/M6CSJLXC.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → M76PF7SP.js} +1 -1
- package/dist/cdn/{WNWTWPV6.js → MGE3J5KE.js} +1 -1
- package/dist/cdn/MGQA3G43.js +2 -0
- package/dist/cdn/{HKVIWCPL.js → MPIIQAQO.js} +1 -1
- package/dist/cdn/MRCZ6R25.js +2 -0
- package/dist/cdn/MWFZNICV.js +2 -0
- package/dist/cdn/NEQJAZLZ.js +2 -0
- package/dist/cdn/NHGQ7T4H.js +2 -0
- package/dist/cdn/NIMNZJJZ.js +2 -0
- package/dist/cdn/{OAMA6SL3.js → NR2RFSZB.js} +1 -1
- package/dist/cdn/NU75HQA2.js +2 -0
- package/dist/cdn/NY7PPWFQ.js +2 -0
- package/dist/cdn/O7ZXS622.js +2 -0
- package/dist/cdn/OBQUHPHJ.js +2 -0
- package/dist/cdn/OFBCNFBW.js +2 -0
- package/dist/cdn/{BQBWXR6P.js → OISNNHIG.js} +1 -1
- package/dist/cdn/OLEUR4YB.js +2 -0
- package/dist/cdn/{4IU5R6VO.js → ONSMVZAM.js} +1 -1
- package/dist/cdn/OT43XHBV.js +2 -0
- package/dist/cdn/{2ZMXUAQZ.js → P3ZJLVKC.js} +1 -1
- package/dist/cdn/{N3DTZRST.js → P7XX5RSZ.js} +1 -1
- package/dist/cdn/{DSD2SY73.js → PBXO27K2.js} +1 -1
- package/dist/cdn/{UVJWDKLK.js → PSD74QRS.js} +1 -1
- package/dist/cdn/{IQEEQOMD.js → PST64E7E.js} +1 -1
- package/dist/cdn/{TDZIH5OK.js → PVAKLYII.js} +1 -1
- package/dist/cdn/{FPPWXIBA.js → QABRDQFJ.js} +1 -1
- package/dist/cdn/QCYQNVPL.js +2 -0
- package/dist/cdn/QE7SN2DZ.js +2 -0
- package/dist/cdn/QFWFBHIF.js +2 -0
- package/dist/cdn/{SAOLD6MH.js → QMH2OBF6.js} +1 -1
- package/dist/cdn/QPHKPPYM.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → QYOTQQAL.js} +1 -1
- package/dist/cdn/QYYYQIAI.js +2 -0
- package/dist/cdn/R2KMEDRH.js +2 -0
- package/dist/cdn/R3VD3PEO.js +2 -0
- package/dist/cdn/{53OXTCE6.js → R5DBF7SZ.js} +1 -1
- package/dist/cdn/RLYKTTAI.js +2 -0
- package/dist/cdn/ROHGHCK6.js +2 -0
- package/dist/cdn/RQ2MM3DQ.js +2 -0
- package/dist/cdn/RQT2PVDJ.js +2 -0
- package/dist/cdn/RSNXBYXL.js +2 -0
- package/dist/cdn/{PWHXRRFU.js → RTZG4WTI.js} +1 -1
- package/dist/cdn/RUMWDBIU.js +2 -0
- package/dist/cdn/{E54VGGFM.js → RVJKTOGT.js} +1 -1
- package/dist/cdn/RYQW6GPV.js +2 -0
- package/dist/cdn/{JS3IKVKM.js → S5MD2X3H.js} +1 -1
- package/dist/cdn/SBYVR52H.js +2 -0
- package/dist/cdn/{DY2EOHFD.js → SDMJGSR7.js} +1 -1
- package/dist/cdn/{ZDMSSGIM.js → SFMD5PPC.js} +1 -1
- package/dist/cdn/{SMVLPJDD.js → SIIF27TS.js} +1 -1
- package/dist/cdn/SIXKHDVJ.js +2 -0
- package/dist/cdn/SMRY445Z.js +2 -0
- package/dist/cdn/{IAWXCNTX.js → SNEMD7IN.js} +1 -1
- package/dist/cdn/{PGUZODKZ.js → SNGKRGPF.js} +1 -1
- package/dist/cdn/{QEPANMVK.js → SQI6CU3W.js} +1 -1
- package/dist/cdn/SQXGDXHV.js +2 -0
- package/dist/cdn/{OUC5HWPQ.js → STOPSNWH.js} +1 -1
- package/dist/cdn/{MICLX7QW.js → SW6UOJIE.js} +1 -1
- package/dist/cdn/T2ONRGQX.js +2 -0
- package/dist/cdn/T2UN4CJT.js +2 -0
- package/dist/cdn/{Q4L65YE5.js → T5XVILYA.js} +1 -1
- package/dist/cdn/TFXSKVB7.js +2 -0
- package/dist/cdn/{3ONY25MG.js → THIUS6HZ.js} +1 -1
- package/dist/cdn/TIUFHDP2.js +2 -0
- package/dist/cdn/TJC7VHRZ.js +2 -0
- package/dist/cdn/{D7FBQECJ.js → TT57O767.js} +1 -1
- package/dist/cdn/TTDOASDI.js +2 -0
- package/dist/cdn/TTGQ4Y7X.js +2 -0
- package/dist/cdn/TWPVYHJG.js +2 -0
- package/dist/cdn/U7FYQAUZ.js +2 -0
- package/dist/cdn/{HPWF3IQV.js → U7WRQCRV.js} +1 -1
- package/dist/cdn/UBCDF55B.js +2 -0
- package/dist/cdn/UHP6ZS6H.js +2 -0
- package/dist/cdn/{3GHQZCMV.js → UJLIKFS6.js} +1 -1
- package/dist/cdn/UJYW2LBF.js +2 -0
- package/dist/cdn/UKB45JOM.js +2 -0
- package/dist/cdn/{Z2WYULU3.js → UN65FKRA.js} +1 -1
- package/dist/cdn/{VDEMMP33.js → UQLRFL2S.js} +1 -1
- package/dist/cdn/{6MCDOI5M.js → V3HQQ6TJ.js} +1 -1
- package/dist/cdn/{MTFIK3F4.js → V7OBQRSG.js} +1 -1
- package/dist/cdn/VBSWB2VR.js +2 -0
- package/dist/cdn/{VLPNB2Z3.js → VCJ6M3PX.js} +1 -1
- package/dist/cdn/VHYR3UPY.js +2 -0
- package/dist/cdn/{52CUDGKY.js → VIMOA3H7.js} +1 -1
- package/dist/cdn/{J3FRSWZD.js → VLGRGILZ.js} +1 -1
- package/dist/cdn/VQDXE456.js +2 -0
- package/dist/cdn/{65MI3MW2.js → VTER7AQ2.js} +1 -1
- package/dist/cdn/{J6HOUEVT.js → VWHNYGBM.js} +1 -1
- package/dist/cdn/VYM3TR3Q.js +2 -0
- package/dist/cdn/W472ZYUY.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → WALR7J3I.js} +1 -1
- package/dist/cdn/{3C6FN5WT.js → WD4TPDI6.js} +1 -1
- package/dist/cdn/WNRWNZGL.js +2 -0
- package/dist/cdn/WQF3SS53.js +2 -0
- package/dist/cdn/{LYT35TNY.js → WQIIAMYV.js} +1 -1
- package/dist/cdn/WTRZ6OZV.js +2 -0
- package/dist/cdn/{PZZU36OG.js → WV2GLDRQ.js} +1 -1
- package/dist/cdn/{PCOXR45L.js → X5RVRRKO.js} +1 -1
- package/dist/cdn/X5WMEO4X.js +2 -0
- package/dist/cdn/XCHCC6HT.js +2 -0
- package/dist/cdn/XDQ6UHVN.js +2 -0
- package/dist/cdn/XFPFS6PS.js +2 -0
- package/dist/cdn/XNHTHY3W.js +2 -0
- package/dist/cdn/{OAMPGCZF.js → XOOSPWUF.js} +1 -1
- package/dist/cdn/XSEDC76K.js +2 -0
- package/dist/cdn/XX6G24PV.js +2 -0
- package/dist/cdn/XYEUSNMJ.js +2 -0
- package/dist/cdn/XYQWC4QA.js +2 -0
- package/dist/cdn/Y3S6WJN2.js +2 -0
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{QT7GRA34.js → Y7ILKQZU.js} +1 -1
- package/dist/cdn/YAVRBZ5C.js +2 -0
- package/dist/cdn/YCQWS3JT.js +2 -0
- package/dist/cdn/{5RAIBYCT.js → YECZWYQZ.js} +1 -1
- package/dist/cdn/{WS46QSWM.js → YFYFQWXG.js} +1 -1
- package/dist/cdn/{RRSU6QD4.js → YMAEN7NR.js} +1 -1
- package/dist/cdn/YNMIPIKK.js +2 -0
- package/dist/cdn/YR4YEJ2N.js +2 -0
- package/dist/cdn/YSE67FR2.js +2 -0
- package/dist/cdn/Z24QDG3E.js +3 -0
- package/dist/cdn/{B32GNMHD.js → Z66I2FAE.js} +1 -1
- package/dist/cdn/ZDLHDQCX.js +2 -0
- package/dist/cdn/ZIQRARXE.js +2 -0
- package/dist/cdn/ZMXN6PZS.js +2 -0
- package/dist/cdn/ZN52ACGS.js +2 -0
- package/dist/cdn/ZNAOFUAU.js +2 -0
- package/dist/cdn/{FACY5XHG.js → ZO5WNVFD.js} +1 -1
- package/dist/cdn/ZOLOOVHX.js +2 -0
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{HBWEW6R7.js → ZQL4CTJK.js} +1 -1
- package/dist/cdn/{EPAR65ZP.js → ZUYPKJYL.js} +1 -1
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/dateUtils.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/slots.js +3 -3
- package/dist/chunks/useArcgisViewReadyError.js +224 -158
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-attachment-detail-view/customElement.d.ts +200 -0
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -10
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-editor/customElement.d.ts +26 -21
- package/dist/components/arcgis-editor/customElement.js +19 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +93 -89
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +51 -51
- package/dist/components/arcgis-feature-fields/customElement.js +20 -20
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +42 -9
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +12 -11
- package/dist/components/arcgis-features-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-features-next/customElement.js +171 -141
- package/dist/components/arcgis-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +2 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +27 -20
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +44 -36
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +8 -5
- package/dist/components/arcgis-popup/customElement.d.ts +10 -4
- package/dist/components/arcgis-popup/customElement.js +32 -28
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-scene/customElement.d.ts +27 -20
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +1 -2
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +19 -10
- package/dist/components/arcgis-sketch/customElement.js +146 -178
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +12 -4
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -9
- package/dist/components/arcgis-swipe/customElement.js +246 -46
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-slider/customElement.js +49 -54
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +9 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +61 -68
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +237 -33
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.js +6 -6
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/loader.js +8 -7
- package/dist/types/lumina.d.ts +14 -5
- package/dist/types/preact.d.ts +15 -5
- package/dist/types/react.d.ts +16 -5
- package/dist/types/stencil.d.ts +14 -5
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/4ZLIA5OM.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BM4TS2RT.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CHL5VZJQ.js +0 -3
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/COCGWEUR.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E5L3MOIC.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KGUALNRF.js +0 -4
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L2F4HQYY.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MQYTZX24.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PMRI66RQ.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SK5CTCTZ.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TIBX6CCV.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/UUNHAVGJ.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z2ABUIL3.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- /package/dist/cdn/{ND3V4Z4F.js → 33LESQ6T.js} +0 -0
|
@@ -3,6 +3,7 @@ import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
|
3
3
|
import type VideoLayer from "@arcgis/core/layers/VideoLayer.js";
|
|
4
4
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type { PreviewsInfo, VideoState } from "@arcgis/core/layers/video/types.js";
|
|
6
|
+
import type { VideoPlayerFollowingMode } from "./types.js";
|
|
6
7
|
|
|
7
8
|
/** @internal */
|
|
8
9
|
export interface VideoPlayerViewModelProperties extends Partial<Pick<VideoPlayerViewModel, "followingMode" | "layer" | "seekLength" | "view">> {}
|
|
@@ -15,7 +16,7 @@ export default class VideoPlayerViewModel extends Accessor {
|
|
|
15
16
|
get duration(): number;
|
|
16
17
|
get ended(): boolean;
|
|
17
18
|
/** @default "follow-both" */
|
|
18
|
-
accessor followingMode:
|
|
19
|
+
accessor followingMode: VideoPlayerFollowingMode;
|
|
19
20
|
accessor layer: VideoLayer | undefined;
|
|
20
21
|
get metadata(): {
|
|
21
22
|
missionInfo: Record<string, string>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type VideoPlayerViewModel from "./VideoPlayerViewModel.js";
|
|
3
2
|
import type VideoLayer from "@arcgis/core/layers/VideoLayer.js";
|
|
4
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
5
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
6
|
+
import type { VideoPlayerFollowingMode } from "./types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
import type { VideoState } from "@arcgis/core/layers/video/types.js";
|
|
9
9
|
|
|
@@ -82,7 +82,7 @@ export abstract class ArcgisVideoPlayer extends LitElement {
|
|
|
82
82
|
*
|
|
83
83
|
* @default "follow-both"
|
|
84
84
|
*/
|
|
85
|
-
accessor followingMode:
|
|
85
|
+
accessor followingMode: VideoPlayerFollowingMode;
|
|
86
86
|
/**
|
|
87
87
|
* Indicates whether to display the video player's header information.
|
|
88
88
|
*
|
|
@@ -262,10 +262,6 @@ export abstract class ArcgisVideoPlayer extends LitElement {
|
|
|
262
262
|
/**
|
|
263
263
|
* The view associated with the component.
|
|
264
264
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-video-player component will be associated with a map or scene component rather than using the `view` property.
|
|
265
|
-
*
|
|
266
|
-
* @example
|
|
267
|
-
* // Set the video player view model's view to a map view.
|
|
268
|
-
* videoPlayerViewModel.view = mapView;
|
|
269
265
|
*/
|
|
270
266
|
accessor view: MapView | undefined;
|
|
271
267
|
/** Permanently destroy the component. */
|
|
@@ -48,6 +48,9 @@ import type { SystemOrVolumeUnit, SystemOrLengthUnit, LengthUnit, SystemOrAreaUn
|
|
|
48
48
|
* and an [IntegratedMesh3DTilesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMesh3DTilesLayer/).
|
|
49
49
|
* - This tool does not support WGS 1984 spatial reference in a local
|
|
50
50
|
* [viewing mode](https://developers.arcgis.com/javascript/latest/references/core/webscene/InitialViewProperties/#viewingMode).
|
|
51
|
+
* - The cut-fill elevation tooltip remains enabled independently of
|
|
52
|
+
* [ViewOptions.tooltips](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#tooltips).
|
|
53
|
+
* Its display and input units can still inherit options on the view.
|
|
51
54
|
*
|
|
52
55
|
* **Things to consider**
|
|
53
56
|
*
|
|
@@ -149,7 +152,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
149
152
|
*
|
|
150
153
|
* When no area unit is explicitly set on the component or its analysis, this property uses the area unit configured in the view through
|
|
151
154
|
* [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
|
|
155
|
+
* If that option is unset or unavailable in [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions),
|
|
156
|
+
* the component uses its default unit if available, or the first available unit.
|
|
152
157
|
* This property overrides the area unit on this component's analysis without changing the units configured in the view.
|
|
158
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior.
|
|
153
159
|
*
|
|
154
160
|
* @since 5.0
|
|
155
161
|
*/
|
|
@@ -157,9 +163,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
157
163
|
/**
|
|
158
164
|
* List of available units and unit systems (imperial, metric) that are shown in the component's area display unit dropdown.
|
|
159
165
|
* By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-yards`, `square-miles`, `square-nautical-miles`, `square-us-feet`, `square-millimeters`, `square-centimeters`, `square-decimeters`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
|
|
160
|
-
*
|
|
166
|
+
* When neither the component nor its analysis has an explicit area unit, the unit inherited from
|
|
161
167
|
* [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
162
|
-
* is
|
|
168
|
+
* is used if listed in [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
163
169
|
* If it is, the component uses that default. If neither unit is listed, it uses the first entry in
|
|
164
170
|
* [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions).
|
|
165
171
|
*
|
|
@@ -191,7 +197,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
191
197
|
*
|
|
192
198
|
* When no elevation unit is explicitly set on the component or its analysis, this property uses the vertical length unit configured in the view through
|
|
193
199
|
* [view.options.displayUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
|
|
200
|
+
* If that option is unset or unavailable in [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions),
|
|
201
|
+
* the component uses its default unit if available, or the first available unit.
|
|
194
202
|
* This property overrides the elevation unit on this component's analysis without changing the units configured in the view.
|
|
203
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior.
|
|
195
204
|
*
|
|
196
205
|
* @since 5.0
|
|
197
206
|
*/
|
|
@@ -199,9 +208,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
199
208
|
/**
|
|
200
209
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
201
210
|
* By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
|
|
202
|
-
*
|
|
211
|
+
* When neither the component nor its analysis has an explicit elevation display unit, the unit inherited from
|
|
203
212
|
* [view.options.displayUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
204
|
-
* is
|
|
213
|
+
* is used if listed in [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
205
214
|
* If it is, the component uses that default. If neither unit is listed, it uses the first entry in
|
|
206
215
|
* [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions).
|
|
207
216
|
*
|
|
@@ -218,8 +227,11 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
218
227
|
* When no elevation input unit is explicitly set on the component or its analysis, this property uses the vertical length input unit configured in the view through
|
|
219
228
|
* [view.options.inputUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits).
|
|
220
229
|
* The `metric` and `imperial` measurement systems resolve to `meters` and `feet`, respectively.
|
|
230
|
+
* If that option is unset or its resolved unit is unavailable in [elevationInputUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationInputUnitOptions),
|
|
231
|
+
* the component uses its default unit if available, or the first available unit.
|
|
221
232
|
* This property overrides the elevation input unit on this component's analysis without changing the units configured in the view.
|
|
222
233
|
* Changing this property preserves the target surface elevation.
|
|
234
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior while preserving the target surface elevation.
|
|
223
235
|
*
|
|
224
236
|
* @since 5.0
|
|
225
237
|
*/
|
|
@@ -229,7 +241,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
229
241
|
*
|
|
230
242
|
* By default, the following units are included: `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`,
|
|
231
243
|
* `millimeters`, `centimeters`, `decimeters`, `meters`, `kilometers`.
|
|
232
|
-
*
|
|
244
|
+
* When neither the component nor its analysis has an explicit elevation input unit, the unit inherited from
|
|
233
245
|
* [view.options.inputUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits)
|
|
234
246
|
* resolves to `meters` for `metric` and `feet` for `imperial`.
|
|
235
247
|
* If the inherited unit is not listed in [elevationInputUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationInputUnitOptions), the component checks whether its default unit is listed there.
|
|
@@ -298,7 +310,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
298
310
|
*/
|
|
299
311
|
accessor hidePerimeterDisplayUnitSelect: boolean;
|
|
300
312
|
/**
|
|
301
|
-
* If true, all unit-reset buttons
|
|
313
|
+
* If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
|
|
314
|
+
*
|
|
315
|
+
* Resetting a unit clears the corresponding overrides on the component and its analysis. The component then uses the corresponding value from [ViewOptions.displayUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits), or [ViewOptions.inputUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits) for input units, when that option is set and its resolved unit is included in the component's available units. Otherwise, it uses its default unit if available, or the first available unit.
|
|
302
316
|
*
|
|
303
317
|
* @default false
|
|
304
318
|
* @since 5.2
|
|
@@ -466,7 +480,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
466
480
|
*
|
|
467
481
|
* When no perimeter unit is explicitly set on the component or its analysis, this property uses the length unit configured in the view through
|
|
468
482
|
* [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
|
|
483
|
+
* If that option is unset or unavailable in [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions),
|
|
484
|
+
* the component uses its default unit if available, or the first available unit.
|
|
469
485
|
* This property overrides the perimeter unit on this component's analysis without changing the units configured in the view.
|
|
486
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior.
|
|
470
487
|
*
|
|
471
488
|
* @since 5.0
|
|
472
489
|
*/
|
|
@@ -474,9 +491,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
474
491
|
/**
|
|
475
492
|
* List of available units and unit systems (imperial, metric) that are shown in the component's perimeter display unit dropdown.
|
|
476
493
|
* By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
|
|
477
|
-
*
|
|
494
|
+
* When neither the component nor its analysis has an explicit perimeter unit, the unit inherited from
|
|
478
495
|
* [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
479
|
-
* is
|
|
496
|
+
* is used if listed in [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
480
497
|
* If it is, the component uses that default. If neither unit is listed, it uses the first entry in
|
|
481
498
|
* [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions).
|
|
482
499
|
*
|
|
@@ -511,7 +528,10 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
511
528
|
*
|
|
512
529
|
* When no volume unit is explicitly set on the component or its analysis, this property uses the volume unit configured in the view through
|
|
513
530
|
* [view.options.displayUnits.volume](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
|
|
531
|
+
* If that option is unset or unavailable in [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions),
|
|
532
|
+
* the component uses its default unit if available, or the first available unit.
|
|
514
533
|
* This property overrides the volume unit on this component's analysis without changing the units configured in the view.
|
|
534
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior.
|
|
515
535
|
*
|
|
516
536
|
* @since 5.0
|
|
517
537
|
*/
|
|
@@ -519,9 +539,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
519
539
|
/**
|
|
520
540
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
521
541
|
* By default, the following units are included: `imperial`, `metric`, `liters`, `megaliters`, `gigaliters`, `cubic-millimeters`, `cubic-centimeters`, `cubic-decimeters`, `cubic-meters`, `cubic-kilometers`, `cubic-inches`, `cubic-us-feet`, `cubic-feet`, `cubic-yards`, `cubic-miles`.
|
|
522
|
-
*
|
|
542
|
+
* When neither the component nor its analysis has an explicit volume unit, the unit inherited from
|
|
523
543
|
* [view.options.displayUnits.volume](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
524
|
-
* is
|
|
544
|
+
* is used if listed in [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
525
545
|
* If it is, the component uses that default. If neither unit is listed, it uses the first entry in
|
|
526
546
|
* [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions).
|
|
527
547
|
*
|
|
@@ -14,15 +14,15 @@ import Y from "@arcgis/core/analysis/VolumeMeasurementAnalysis.js";
|
|
|
14
14
|
import { property as a, subclass as ee } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
15
15
|
import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
16
|
import { A as te } from "../../chunks/AnalysisViewModel.js";
|
|
17
|
-
import { g as
|
|
17
|
+
import { g as se, a as re, b as h, r as g, e as E, c as v, d as _, l as $, m as I } from "../../chunks/measurementUtils.js";
|
|
18
18
|
import { convertUnit as R } from "@arcgis/core/applications/Components/unitUtils.js";
|
|
19
|
-
const ne = F`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-view-corner-radius: var(--arcgis-view-corner-radius, 0px);--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:300px;position:relative}.root{--calcite-label-margin-bottom: 0;padding:var(--arcgis-internal-padding)}.content{flex-direction:column;display:flex;gap:var(--arcgis-internal-panel-gap)}.header{display:flex;align-items:center;justify-content:space-between;margin-block-end:var(--calcite-spacing-sm);&.no-content{margin-block-end:calc(var(--calcite-spacing-sm) * -1)}}.heading{margin:0}.settings-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxl);padding:var(--calcite-spacing-md);>div{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);>p{margin:0;font-size:var(--calcite-font-size-md)}}}.warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`;
|
|
20
|
-
var ae = Object.defineProperty, le = Object.getOwnPropertyDescriptor, n = (i, t, e,
|
|
21
|
-
for (var l =
|
|
22
|
-
(d = i[c]) && (l = (
|
|
23
|
-
return
|
|
19
|
+
const ne = F`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:300px;position:relative}.root{--calcite-label-margin-bottom: 0;padding:var(--arcgis-internal-padding)}.content{flex-direction:column;display:flex;gap:var(--arcgis-internal-panel-gap)}.header{display:flex;align-items:center;justify-content:space-between;margin-block-end:var(--calcite-spacing-sm);&.no-content{margin-block-end:calc(var(--calcite-spacing-sm) * -1)}}.heading{margin:0}.settings-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxl);padding:var(--calcite-spacing-md);>div{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);>p{margin:0;font-size:var(--calcite-font-size-md)}}}.warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`;
|
|
20
|
+
var ae = Object.defineProperty, le = Object.getOwnPropertyDescriptor, n = (i, t, e, s) => {
|
|
21
|
+
for (var l = s > 1 ? void 0 : s ? le(t, e) : t, c = i.length - 1, d; c >= 0; c--)
|
|
22
|
+
(d = i[c]) && (l = (s ? d(t, e, l) : d(l)) || l);
|
|
23
|
+
return s && l && ae(t, e, l), l;
|
|
24
24
|
};
|
|
25
|
-
let
|
|
25
|
+
let r = class extends te {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments), this._resettingUnits = !1, this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Volume Measurement component is only supported in 3D views.";
|
|
28
28
|
}
|
|
@@ -41,11 +41,11 @@ let s = class extends te {
|
|
|
41
41
|
analysis: i,
|
|
42
42
|
volumeDisplayUnit: t,
|
|
43
43
|
elevationDisplayUnit: e,
|
|
44
|
-
areaDisplayUnit:
|
|
44
|
+
areaDisplayUnit: s,
|
|
45
45
|
perimeterDisplayUnit: l,
|
|
46
46
|
elevationInputUnit: c
|
|
47
47
|
}) => {
|
|
48
|
-
this._resettingUnits || (t && (i.displayUnits.volume = t), e && (i.displayUnits.elevation = e),
|
|
48
|
+
this._resettingUnits || (t && (i.displayUnits.volume = t), e && (i.displayUnits.elevation = e), s && (i.displayUnits.area = s), l && (i.displayUnits.length = l), c && (i.inputUnits.elevation = c));
|
|
49
49
|
},
|
|
50
50
|
{ sync: !0, initial: !0 }
|
|
51
51
|
)
|
|
@@ -55,11 +55,11 @@ let s = class extends te {
|
|
|
55
55
|
return this.defaultMeasurementSystem === "metric" ? "meters" : "feet";
|
|
56
56
|
}
|
|
57
57
|
get state() {
|
|
58
|
-
const { analysis: i, disabled: t, operationState: e, ready:
|
|
59
|
-
return
|
|
58
|
+
const { analysis: i, disabled: t, operationState: e, ready: s, supported: l } = this, { valid: c } = i;
|
|
59
|
+
return se({ supported: l, disabled: t, ready: s, operationState: e, valid: c });
|
|
60
60
|
}
|
|
61
61
|
get displayState() {
|
|
62
|
-
return
|
|
62
|
+
return re(this.state, this.analysis.geometry != null);
|
|
63
63
|
}
|
|
64
64
|
get measurement() {
|
|
65
65
|
const { analysisView: i } = this, t = i?.result, e = i?.error == null;
|
|
@@ -137,8 +137,8 @@ let s = class extends te {
|
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
set elevationInputUnit(i) {
|
|
140
|
-
const { cutFillOptions: t, inputUnits: e } = this.analysis, { targetElevation:
|
|
141
|
-
i &&
|
|
140
|
+
const { cutFillOptions: t, inputUnits: e } = this.analysis, { targetElevation: s } = t;
|
|
141
|
+
i && s != null && (t.targetElevation = R(s, e.elevation ?? "meters", i)), this._userElevationInputUnit = i;
|
|
142
142
|
}
|
|
143
143
|
get areaDisplayUnitOptions() {
|
|
144
144
|
return g(this._userAreaUnitOptions, I, I);
|
|
@@ -194,7 +194,7 @@ let s = class extends te {
|
|
|
194
194
|
return this._userPerimeterDisplayUnit != null || this.analysis.displayUnits.length != null;
|
|
195
195
|
}
|
|
196
196
|
resetUnit(i) {
|
|
197
|
-
const { cutFillOptions: t, inputUnits: e, displayUnits:
|
|
197
|
+
const { cutFillOptions: t, inputUnits: e, displayUnits: s } = this.analysis;
|
|
198
198
|
this._resettingUnits = !0;
|
|
199
199
|
try {
|
|
200
200
|
switch (i) {
|
|
@@ -204,16 +204,16 @@ let s = class extends te {
|
|
|
204
204
|
break;
|
|
205
205
|
}
|
|
206
206
|
case "elevation":
|
|
207
|
-
this._userElevationDisplayUnit = void 0,
|
|
207
|
+
this._userElevationDisplayUnit = void 0, s.elevation = null;
|
|
208
208
|
break;
|
|
209
209
|
case "volume":
|
|
210
|
-
this._userVolumeDisplayUnit = void 0,
|
|
210
|
+
this._userVolumeDisplayUnit = void 0, s.volume = null;
|
|
211
211
|
break;
|
|
212
212
|
case "area":
|
|
213
|
-
this._userAreaDisplayUnit = void 0,
|
|
213
|
+
this._userAreaDisplayUnit = void 0, s.area = null;
|
|
214
214
|
break;
|
|
215
215
|
case "length":
|
|
216
|
-
this._userPerimeterDisplayUnit = void 0,
|
|
216
|
+
this._userPerimeterDisplayUnit = void 0, s.length = null;
|
|
217
217
|
break;
|
|
218
218
|
}
|
|
219
219
|
} finally {
|
|
@@ -223,95 +223,95 @@ let s = class extends te {
|
|
|
223
223
|
};
|
|
224
224
|
n([
|
|
225
225
|
a()
|
|
226
|
-
],
|
|
226
|
+
], r.prototype, "_defaultElevationInputUnit", 1);
|
|
227
227
|
n([
|
|
228
228
|
a()
|
|
229
|
-
],
|
|
229
|
+
], r.prototype, "state", 1);
|
|
230
230
|
n([
|
|
231
231
|
a()
|
|
232
|
-
],
|
|
232
|
+
], r.prototype, "displayState", 1);
|
|
233
233
|
n([
|
|
234
234
|
a({ readOnly: !0 })
|
|
235
|
-
],
|
|
235
|
+
], r.prototype, "measurement", 1);
|
|
236
236
|
n([
|
|
237
237
|
a()
|
|
238
|
-
],
|
|
238
|
+
], r.prototype, "volumeDisplayUnitOptions", 1);
|
|
239
239
|
n([
|
|
240
240
|
a()
|
|
241
|
-
],
|
|
241
|
+
], r.prototype, "volumeDisplayUnit", 1);
|
|
242
242
|
n([
|
|
243
243
|
a()
|
|
244
|
-
],
|
|
244
|
+
], r.prototype, "_userVolumeDisplayUnit", 2);
|
|
245
245
|
n([
|
|
246
246
|
a()
|
|
247
|
-
],
|
|
247
|
+
], r.prototype, "_userVolumeUnitOptions", 2);
|
|
248
248
|
n([
|
|
249
249
|
a()
|
|
250
|
-
],
|
|
250
|
+
], r.prototype, "elevationDisplayUnitOptions", 1);
|
|
251
251
|
n([
|
|
252
252
|
a()
|
|
253
|
-
],
|
|
253
|
+
], r.prototype, "elevationDisplayUnit", 1);
|
|
254
254
|
n([
|
|
255
255
|
a()
|
|
256
|
-
],
|
|
256
|
+
], r.prototype, "_userElevationDisplayUnit", 2);
|
|
257
257
|
n([
|
|
258
258
|
a()
|
|
259
|
-
],
|
|
259
|
+
], r.prototype, "_userElevationDisplayUnitOptions", 2);
|
|
260
260
|
n([
|
|
261
261
|
a()
|
|
262
|
-
],
|
|
262
|
+
], r.prototype, "elevationInputUnitOptions", 1);
|
|
263
263
|
n([
|
|
264
264
|
a()
|
|
265
|
-
],
|
|
265
|
+
], r.prototype, "elevationInputUnit", 1);
|
|
266
266
|
n([
|
|
267
267
|
a()
|
|
268
|
-
],
|
|
268
|
+
], r.prototype, "_userElevationInputUnit", 2);
|
|
269
269
|
n([
|
|
270
270
|
a()
|
|
271
|
-
],
|
|
271
|
+
], r.prototype, "_userElevationInputUnitOptions", 2);
|
|
272
272
|
n([
|
|
273
273
|
a()
|
|
274
|
-
],
|
|
274
|
+
], r.prototype, "areaDisplayUnitOptions", 1);
|
|
275
275
|
n([
|
|
276
276
|
a()
|
|
277
|
-
],
|
|
277
|
+
], r.prototype, "areaDisplayUnit", 1);
|
|
278
278
|
n([
|
|
279
279
|
a()
|
|
280
|
-
],
|
|
280
|
+
], r.prototype, "_userAreaDisplayUnit", 2);
|
|
281
281
|
n([
|
|
282
282
|
a()
|
|
283
|
-
],
|
|
283
|
+
], r.prototype, "_userAreaUnitOptions", 2);
|
|
284
284
|
n([
|
|
285
285
|
a()
|
|
286
|
-
],
|
|
286
|
+
], r.prototype, "perimeterDisplayUnitOptions", 1);
|
|
287
287
|
n([
|
|
288
288
|
a()
|
|
289
|
-
],
|
|
289
|
+
], r.prototype, "perimeterDisplayUnit", 1);
|
|
290
290
|
n([
|
|
291
291
|
a()
|
|
292
|
-
],
|
|
292
|
+
], r.prototype, "_userPerimeterDisplayUnit", 2);
|
|
293
293
|
n([
|
|
294
294
|
a()
|
|
295
|
-
],
|
|
295
|
+
], r.prototype, "_userPerimeterDisplayUnitOptions", 2);
|
|
296
296
|
n([
|
|
297
297
|
a({ readOnly: !0 })
|
|
298
|
-
],
|
|
298
|
+
], r.prototype, "canResetElevationInputUnit", 1);
|
|
299
299
|
n([
|
|
300
300
|
a({ readOnly: !0 })
|
|
301
|
-
],
|
|
301
|
+
], r.prototype, "canResetElevationDisplayUnit", 1);
|
|
302
302
|
n([
|
|
303
303
|
a({ readOnly: !0 })
|
|
304
|
-
],
|
|
304
|
+
], r.prototype, "canResetVolumeDisplayUnit", 1);
|
|
305
305
|
n([
|
|
306
306
|
a({ readOnly: !0 })
|
|
307
|
-
],
|
|
307
|
+
], r.prototype, "canResetAreaDisplayUnit", 1);
|
|
308
308
|
n([
|
|
309
309
|
a({ readOnly: !0 })
|
|
310
|
-
],
|
|
311
|
-
|
|
310
|
+
], r.prototype, "canResetPerimeterDisplayUnit", 1);
|
|
311
|
+
r = n([
|
|
312
312
|
ee("components.volume-measurement.VolumeMeasurementViewModel")
|
|
313
|
-
],
|
|
314
|
-
const oe = N(
|
|
313
|
+
], r);
|
|
314
|
+
const oe = N(r);
|
|
315
315
|
class ce extends q {
|
|
316
316
|
constructor() {
|
|
317
317
|
super(...arguments), this.viewModel = oe(this), this.messages = K({ blocking: !0 }), this.#e = J(), this._settingsPopoverIsOpen = !1, this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "cut-and-fill-volume-calculation", this.interactionDisabled = this.viewModel.interactionDisabled, this.state = this.viewModel.state, this.volumeDisplayUnit = this.viewModel.volumeDisplayUnit, this.volumeDisplayUnitOptions = this.viewModel.volumeDisplayUnitOptions, this.elevationDisplayUnit = this.viewModel.elevationDisplayUnit, this.elevationDisplayUnitOptions = this.viewModel.elevationDisplayUnitOptions, this.elevationInputUnit = this.viewModel.elevationInputUnit, this.elevationInputUnitOptions = this.viewModel.elevationInputUnitOptions, this.areaDisplayUnit = this.viewModel.areaDisplayUnit, this.areaDisplayUnitOptions = this.viewModel.areaDisplayUnitOptions, this.perimeterDisplayUnit = this.viewModel.perimeterDisplayUnit, this.perimeterDisplayUnitOptions = this.viewModel.perimeterDisplayUnitOptions, this.hideHeader = !1, this.hideSettingsButton = !1, this.hideResetUnitsButton = !1, this.hideElevationDisplayUnitSelect = !1, this.hideElevationInputUnitSelect = !1, this.hideVolumeDisplayUnitSelect = !1, this.hideModeSelect = !1, this.hideStartButton = !1, this.hideVisualization = this.viewModel.hideVisualization, this.headingLevel = 2, this.hideAreaDisplayUnitSelect = !1, this.hidePerimeterDisplayUnitSelect = !1, this.arcgisPropertyChange = G()("analysis", "interactionDisabled", "state"), this.arcgisReady = Z();
|
|
@@ -350,21 +350,21 @@ class ce extends q {
|
|
|
350
350
|
this._settingsPopoverIsOpen = !0;
|
|
351
351
|
}
|
|
352
352
|
render() {
|
|
353
|
-
const { hideResetUnitsButton: t, messages: e, viewModel:
|
|
354
|
-
m({ hidden: this.hideElevationInputUnitSelect, options: y, selectLabel: e.elevationInputUnit, value: P, canReset: !t &&
|
|
353
|
+
const { hideResetUnitsButton: t, messages: e, viewModel: s } = this, { measurement: l, state: c } = s, d = this.volumeDisplayUnitOptions, f = this.volumeDisplayUnit, U = this.elevationDisplayUnitOptions, b = this.elevationDisplayUnit, y = this.elevationInputUnitOptions, P = this.elevationInputUnit, L = this.perimeterDisplayUnitOptions, A = this.perimeterDisplayUnit, C = this.areaDisplayUnitOptions, B = this.areaDisplayUnit, k = s.analysisView?.error?.name, j = [
|
|
354
|
+
m({ hidden: this.hideElevationInputUnitSelect, options: y, selectLabel: e.elevationInputUnit, value: P, canReset: !t && s.canResetElevationInputUnit, resetLabel: e.reset, onReset: () => s.resetUnit("elevation-input"), onChange: (o) => {
|
|
355
355
|
this.viewModel.elevationInputUnit = o;
|
|
356
356
|
} })
|
|
357
357
|
], T = [
|
|
358
|
-
m({ hidden: this.hideElevationDisplayUnitSelect, options: U, selectLabel: e.elevationDisplayUnit, value: b, canReset: !t &&
|
|
358
|
+
m({ hidden: this.hideElevationDisplayUnitSelect, options: U, selectLabel: e.elevationDisplayUnit, value: b, canReset: !t && s.canResetElevationDisplayUnit, resetLabel: e.reset, onReset: () => s.resetUnit("elevation"), onChange: (o) => {
|
|
359
359
|
this.viewModel.elevationDisplayUnit = o;
|
|
360
360
|
} }),
|
|
361
|
-
m({ hidden: this.hideVolumeDisplayUnitSelect, options: d, selectLabel: e.volumeDisplayUnit, value: f, canReset: !t &&
|
|
361
|
+
m({ hidden: this.hideVolumeDisplayUnitSelect, options: d, selectLabel: e.volumeDisplayUnit, value: f, canReset: !t && s.canResetVolumeDisplayUnit, resetLabel: e.reset, onReset: () => s.resetUnit("volume"), onChange: (o) => {
|
|
362
362
|
this.viewModel.volumeDisplayUnit = o;
|
|
363
363
|
} }),
|
|
364
|
-
m({ hidden: this.hideAreaDisplayUnitSelect, options: C, selectLabel: e.areaDisplayUnit, value: B, canReset: !t &&
|
|
364
|
+
m({ hidden: this.hideAreaDisplayUnitSelect, options: C, selectLabel: e.areaDisplayUnit, value: B, canReset: !t && s.canResetAreaDisplayUnit, resetLabel: e.reset, onReset: () => s.resetUnit("area"), onChange: (o) => {
|
|
365
365
|
this.viewModel.areaDisplayUnit = o;
|
|
366
366
|
} }),
|
|
367
|
-
m({ hidden: this.hidePerimeterDisplayUnitSelect, options: L, selectLabel: e.perimeterDisplayUnit, value: A, canReset: !t &&
|
|
367
|
+
m({ hidden: this.hidePerimeterDisplayUnitSelect, options: L, selectLabel: e.perimeterDisplayUnit, value: A, canReset: !t && s.canResetPerimeterDisplayUnit, resetLabel: e.reset, onReset: () => s.resetUnit("length"), onChange: (o) => {
|
|
368
368
|
this.viewModel.perimeterDisplayUnit = o;
|
|
369
369
|
} })
|
|
370
370
|
], w = [this.hideElevationInputUnitSelect].filter((o) => !o).length === 0, x = [
|
|
@@ -382,7 +382,7 @@ class ce extends q {
|
|
|
382
382
|
"no-content": this.hideHeader
|
|
383
383
|
})}>${u({ hidden: this.hideHeader, children: Q({ class: "heading", level: this.headingLevel, children: e.title }) })}<span style=${X({ flex: 1 })}></span>${u({ hidden: D, children: p`<calcite-action icon=gear slot=settings .text=${O} title=${O ?? M} ${z(this.#e)}></calcite-action><calcite-popover slot=settings .label=${O} .referenceElement=${this.#e.value} overlay-positioning=fixed placement=bottom-end auto-close .open=${D ? !1 : void 0} @calcitePopoverOpen=${this._onSettingsPopoverOpen} @calcitePopoverClose=${this._onSettingsPopoverClose} ${z(this.#i)}><div class="settings-content">${u({ hidden: w, children: p`<div><p .hidden=${x}>${e.inputUnits}</p>${j}</div>` })}${u({ hidden: x, children: p`<div><p .hidden=${w}>${e.displayUnits}</p>${T}</div>` })}</div></calcite-popover>` })}</div>` })}<div class="content">${u({ hidden: this.hideModeSelect, children: p`<calcite-label>${this.messages.measurementMode}<calcite-select label="Select measurement mode" .value=${this.mode} @calciteSelectChange=${(o) => {
|
|
384
384
|
this.analysis.measureType = o.target.selectedOption.value;
|
|
385
|
-
}}><calcite-option value=cut-fill>${e.cutAndFillMode}</calcite-option><calcite-option value=stockpile>${e.stockpileMode}</calcite-option></calcite-select></calcite-label>` })}${k != null && pe({ error: k, messages: e }) || ""}<arcgis-measurement-content .state=${
|
|
385
|
+
}}><calcite-option value=cut-fill>${e.cutAndFillMode}</calcite-option><calcite-option value=stockpile>${e.stockpileMode}</calcite-option></calcite-select></calcite-label>` })}${k != null && pe({ error: k, messages: e }) || ""}<arcgis-measurement-content .state=${s.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
|
|
386
386
|
{
|
|
387
387
|
title: e.cutVolume,
|
|
388
388
|
measurement: l.cutVolume
|
|
@@ -409,16 +409,16 @@ class ce extends q {
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
function m(i) {
|
|
412
|
-
const { hidden: t, options: e, selectLabel:
|
|
413
|
-
return t ? null : p`<arcgis-unit-select .options=${e} .selectLabel=${
|
|
412
|
+
const { hidden: t, options: e, selectLabel: s, value: l, canReset: c, resetLabel: d, onReset: f, onChange: U } = i;
|
|
413
|
+
return t ? null : p`<arcgis-unit-select .options=${e} .selectLabel=${s} .value=${l} .canReset=${c} .resetLabel=${d} @arcgisInternalUnitReset=${f} @arcgisUnitSelectChange=${(b) => {
|
|
414
414
|
const y = b.detail;
|
|
415
415
|
e.includes(y) && U(y);
|
|
416
416
|
}}></arcgis-unit-select>`;
|
|
417
417
|
}
|
|
418
418
|
function pe(i) {
|
|
419
419
|
let t;
|
|
420
|
-
const { messages: e, error:
|
|
421
|
-
switch (
|
|
420
|
+
const { messages: e, error: s } = i;
|
|
421
|
+
switch (s) {
|
|
422
422
|
case "insufficient-data":
|
|
423
423
|
t = e.errorInsufficientData;
|
|
424
424
|
break;
|