@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
|
@@ -144,7 +144,9 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
144
144
|
*/
|
|
145
145
|
accessor autoDestroyDisabled: boolean;
|
|
146
146
|
/**
|
|
147
|
-
* If true, all unit-reset buttons
|
|
147
|
+
* If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
|
|
148
|
+
*
|
|
149
|
+
* 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.
|
|
148
150
|
*
|
|
149
151
|
* @default false
|
|
150
152
|
* @since 5.2
|
|
@@ -251,15 +253,18 @@ export abstract class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
251
253
|
*
|
|
252
254
|
* When no unit is explicitly set on the component or its analysis, this property uses the area unit configured in the view through
|
|
253
255
|
* [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
|
|
256
|
+
* If that option is unset or unavailable in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unitOptions),
|
|
257
|
+
* the component uses its default unit if available, or the first available unit.
|
|
254
258
|
* This property overrides the area unit on this component's analysis without changing the units configured in the view.
|
|
259
|
+
* The reset button clears both overrides and resumes this inheritance and fallback behavior.
|
|
255
260
|
*/
|
|
256
261
|
accessor unit: SystemOrAreaUnit;
|
|
257
262
|
/**
|
|
258
263
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
259
264
|
* By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
|
|
260
|
-
*
|
|
265
|
+
* When neither the component nor its analysis has an explicit unit, the unit inherited from
|
|
261
266
|
* [view.options.displayUnits.area](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
262
|
-
* is
|
|
267
|
+
* is used if listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
263
268
|
* If it is, the component uses that default. If neither unit is listed, it uses the first entry in
|
|
264
269
|
* [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/#unitOptions).
|
|
265
270
|
*/
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type AttachmentInfo from "@arcgis/core/rest/query/support/AttachmentInfo.js";
|
|
3
|
+
import type AttachmentElementInput from "@arcgis/core/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js";
|
|
4
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
+
import type { AttachmentElementInputLike as PreviewAttachmentInput } from "../arcgis-attachment-preview/customElement.js";
|
|
6
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Displays details and actions for an attachment.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export abstract class ArcgisAttachmentDetailView extends LitElement {
|
|
14
|
+
/** @internal */
|
|
15
|
+
protected _messages: {
|
|
16
|
+
componentLabel: string;
|
|
17
|
+
components: { attachments: {
|
|
18
|
+
"attachment-validation-view": { validations: {
|
|
19
|
+
errorFileUnsupported: string;
|
|
20
|
+
maximumAudioLength: string;
|
|
21
|
+
maximumImageSize: string;
|
|
22
|
+
maximumFileSize: string;
|
|
23
|
+
maximumNumberOfFiles: string;
|
|
24
|
+
maximumVideoLength: string;
|
|
25
|
+
minimumNumberOfFiles: string;
|
|
26
|
+
}; };
|
|
27
|
+
"add-attachment-view": {
|
|
28
|
+
captureMethodNotSupported: string;
|
|
29
|
+
fileToBeReplaced: string;
|
|
30
|
+
heading: string;
|
|
31
|
+
};
|
|
32
|
+
"attachment-preview": { noPreview: string; };
|
|
33
|
+
"attachment-detail-view": {
|
|
34
|
+
maximize: string;
|
|
35
|
+
download: string;
|
|
36
|
+
replace: string;
|
|
37
|
+
fileName: string;
|
|
38
|
+
nameCannotBeNull: string;
|
|
39
|
+
size: string;
|
|
40
|
+
type: string;
|
|
41
|
+
reset: string;
|
|
42
|
+
imageDescription: string;
|
|
43
|
+
};
|
|
44
|
+
thumbnail: { fileTypes: {
|
|
45
|
+
"file-cad": string;
|
|
46
|
+
"file-code": string;
|
|
47
|
+
"file-csv": string;
|
|
48
|
+
"file-excel": string;
|
|
49
|
+
"file-gpx": string;
|
|
50
|
+
"file-pdf": string;
|
|
51
|
+
"file-ppt": string;
|
|
52
|
+
"file-text": string;
|
|
53
|
+
"file-word": string;
|
|
54
|
+
"file-zip": string;
|
|
55
|
+
file: string;
|
|
56
|
+
image: string;
|
|
57
|
+
sound: string;
|
|
58
|
+
video: string;
|
|
59
|
+
}; };
|
|
60
|
+
}; };
|
|
61
|
+
units: { bytes: {
|
|
62
|
+
B: string;
|
|
63
|
+
kB: string;
|
|
64
|
+
MB: string;
|
|
65
|
+
GB: string;
|
|
66
|
+
TB: string;
|
|
67
|
+
}; };
|
|
68
|
+
differentValuesPlaceholder: string;
|
|
69
|
+
empty: string;
|
|
70
|
+
} & T9nMeta<{
|
|
71
|
+
componentLabel: string;
|
|
72
|
+
components: { attachments: {
|
|
73
|
+
"attachment-validation-view": { validations: {
|
|
74
|
+
errorFileUnsupported: string;
|
|
75
|
+
maximumAudioLength: string;
|
|
76
|
+
maximumImageSize: string;
|
|
77
|
+
maximumFileSize: string;
|
|
78
|
+
maximumNumberOfFiles: string;
|
|
79
|
+
maximumVideoLength: string;
|
|
80
|
+
minimumNumberOfFiles: string;
|
|
81
|
+
}; };
|
|
82
|
+
"add-attachment-view": {
|
|
83
|
+
captureMethodNotSupported: string;
|
|
84
|
+
fileToBeReplaced: string;
|
|
85
|
+
heading: string;
|
|
86
|
+
};
|
|
87
|
+
"attachment-preview": { noPreview: string; };
|
|
88
|
+
"attachment-detail-view": {
|
|
89
|
+
maximize: string;
|
|
90
|
+
download: string;
|
|
91
|
+
replace: string;
|
|
92
|
+
fileName: string;
|
|
93
|
+
nameCannotBeNull: string;
|
|
94
|
+
size: string;
|
|
95
|
+
type: string;
|
|
96
|
+
reset: string;
|
|
97
|
+
imageDescription: string;
|
|
98
|
+
};
|
|
99
|
+
thumbnail: { fileTypes: {
|
|
100
|
+
"file-cad": string;
|
|
101
|
+
"file-code": string;
|
|
102
|
+
"file-csv": string;
|
|
103
|
+
"file-excel": string;
|
|
104
|
+
"file-gpx": string;
|
|
105
|
+
"file-pdf": string;
|
|
106
|
+
"file-ppt": string;
|
|
107
|
+
"file-text": string;
|
|
108
|
+
"file-word": string;
|
|
109
|
+
"file-zip": string;
|
|
110
|
+
file: string;
|
|
111
|
+
image: string;
|
|
112
|
+
sound: string;
|
|
113
|
+
video: string;
|
|
114
|
+
}; };
|
|
115
|
+
}; };
|
|
116
|
+
units: { bytes: {
|
|
117
|
+
B: string;
|
|
118
|
+
kB: string;
|
|
119
|
+
MB: string;
|
|
120
|
+
GB: string;
|
|
121
|
+
TB: string;
|
|
122
|
+
}; };
|
|
123
|
+
differentValuesPlaceholder: string;
|
|
124
|
+
empty: string;
|
|
125
|
+
}>;
|
|
126
|
+
accessor attachment: AttachmentInfo | undefined;
|
|
127
|
+
/** @default false */
|
|
128
|
+
accessor dialogOpen: boolean;
|
|
129
|
+
/** @default false */
|
|
130
|
+
accessor formDisabled: boolean;
|
|
131
|
+
accessor input: AttachmentElementInputLike | undefined;
|
|
132
|
+
accessor messageOverrides: {
|
|
133
|
+
componentLabel?: string | undefined;
|
|
134
|
+
components?: { attachments?: {
|
|
135
|
+
"attachment-validation-view"?: { validations?: {
|
|
136
|
+
errorFileUnsupported?: string | undefined;
|
|
137
|
+
maximumAudioLength?: string | undefined;
|
|
138
|
+
maximumImageSize?: string | undefined;
|
|
139
|
+
maximumFileSize?: string | undefined;
|
|
140
|
+
maximumNumberOfFiles?: string | undefined;
|
|
141
|
+
maximumVideoLength?: string | undefined;
|
|
142
|
+
minimumNumberOfFiles?: string | undefined;
|
|
143
|
+
} | undefined; } | undefined;
|
|
144
|
+
"add-attachment-view"?: {
|
|
145
|
+
captureMethodNotSupported?: string | undefined;
|
|
146
|
+
fileToBeReplaced?: string | undefined;
|
|
147
|
+
heading?: string | undefined;
|
|
148
|
+
} | undefined;
|
|
149
|
+
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
150
|
+
"attachment-detail-view"?: {
|
|
151
|
+
maximize?: string | undefined;
|
|
152
|
+
download?: string | undefined;
|
|
153
|
+
replace?: string | undefined;
|
|
154
|
+
fileName?: string | undefined;
|
|
155
|
+
nameCannotBeNull?: string | undefined;
|
|
156
|
+
size?: string | undefined;
|
|
157
|
+
type?: string | undefined;
|
|
158
|
+
reset?: string | undefined;
|
|
159
|
+
imageDescription?: string | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
thumbnail?: { fileTypes?: {
|
|
162
|
+
"file-cad"?: string | undefined;
|
|
163
|
+
"file-code"?: string | undefined;
|
|
164
|
+
"file-csv"?: string | undefined;
|
|
165
|
+
"file-excel"?: string | undefined;
|
|
166
|
+
"file-gpx"?: string | undefined;
|
|
167
|
+
"file-pdf"?: string | undefined;
|
|
168
|
+
"file-ppt"?: string | undefined;
|
|
169
|
+
"file-text"?: string | undefined;
|
|
170
|
+
"file-word"?: string | undefined;
|
|
171
|
+
"file-zip"?: string | undefined;
|
|
172
|
+
file?: string | undefined;
|
|
173
|
+
image?: string | undefined;
|
|
174
|
+
sound?: string | undefined;
|
|
175
|
+
video?: string | undefined;
|
|
176
|
+
} | undefined; } | undefined;
|
|
177
|
+
} | undefined; } | undefined;
|
|
178
|
+
units?: { bytes?: {
|
|
179
|
+
B?: string | undefined;
|
|
180
|
+
kB?: string | undefined;
|
|
181
|
+
MB?: string | undefined;
|
|
182
|
+
GB?: string | undefined;
|
|
183
|
+
TB?: string | undefined;
|
|
184
|
+
} | undefined; } | undefined;
|
|
185
|
+
differentValuesPlaceholder?: string | undefined;
|
|
186
|
+
empty?: string | undefined;
|
|
187
|
+
};
|
|
188
|
+
/** @internal */
|
|
189
|
+
readonly arcgisInternalAttachmentRename: import("@arcgis/lumina").TargetedEvent<this, { name: string; }>;
|
|
190
|
+
/** @internal */
|
|
191
|
+
readonly arcgisInternalAttachmentReplaceStart: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
192
|
+
readonly "@eventTypes": {
|
|
193
|
+
arcgisInternalAttachmentRename: ArcgisAttachmentDetailView["arcgisInternalAttachmentRename"]["detail"];
|
|
194
|
+
arcgisInternalAttachmentReplaceStart: ArcgisAttachmentDetailView["arcgisInternalAttachmentReplaceStart"]["detail"];
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** @internal */
|
|
199
|
+
export type AttachmentElementInputLike = Pick<AttachmentElementInput, "allowUserRename" | "canUploadFiles" | "getAttachmentEditState">
|
|
200
|
+
& PreviewAttachmentInput;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as f } from "lit/directives/ref.js";
|
|
4
|
+
import { downloadBlobAsFile as w } from "@arcgis/core/core/urlUtils.js";
|
|
5
|
+
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import { getAttachmentFilenameParts as b } from "@arcgis/core/widgets/BatchAttributeForm/attachmentUtils.js";
|
|
7
|
+
import { SharedCacheStore as $, sharedCache as _ } from "@arcgis/common-components";
|
|
8
|
+
import { LitElement as x, createEvent as m, nothing as o, safeStyleMap as P } from "@arcgis/lumina";
|
|
9
|
+
import { css as y, html as n } from "lit";
|
|
10
|
+
import { u as z } from "../../chunks/useT9n.js";
|
|
11
|
+
import { f as D } from "../../chunks/formattingUtils.js";
|
|
12
|
+
import { g as E } from "../../chunks/attachment-utils.js";
|
|
13
|
+
const A = {
|
|
14
|
+
primary: "Exif IFD0"
|
|
15
|
+
}, I = {
|
|
16
|
+
primary: {
|
|
17
|
+
// A description baked into the image. Apple Photos/Camera exposes this as 'Add a caption'
|
|
18
|
+
description: "Image Description"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function O(l) {
|
|
22
|
+
if (l.exifInfo?.length)
|
|
23
|
+
return l.exifInfo.find(({ name: e }) => e === A.primary)?.tags?.find(({ name: e }) => e === I.primary.description)?.value;
|
|
24
|
+
}
|
|
25
|
+
const N = y`.container{display:flex;flex-direction:column;gap:var(--calcite-space-md)}.button-group{display:flex;flex-wrap:wrap;flex-direction:row;gap:var(--calcite-space-xs)}@media(forced-colors:active){calcite-label{font-weight:var(--calcite-font-weight-bold)}}.metadata-content{word-break:break-word;word-wrap:break-word;line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);font-style:normal}.preview-placeholder{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);box-sizing:border-box;border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2)}`;
|
|
26
|
+
class M extends x {
|
|
27
|
+
constructor() {
|
|
28
|
+
super(...arguments), this.#e = new $(), this.#t = new ResizeObserver(([e]) => {
|
|
29
|
+
if (!e || this.dialogOpen)
|
|
30
|
+
return;
|
|
31
|
+
const { height: i, width: t } = e.contentRect;
|
|
32
|
+
if (i === 0 || t === 0)
|
|
33
|
+
return;
|
|
34
|
+
const a = this._attachmentPreviewDimensions;
|
|
35
|
+
(a?.height !== i || a.width !== t) && (this._attachmentPreviewDimensions = { height: i, width: t });
|
|
36
|
+
}), this._messages = z({ blocking: !0, name: "feature-form-next" }), this._hasPreviewError = !1, this.formDisabled = !1, this.dialogOpen = !1, this.arcgisInternalAttachmentRename = m(), this.arcgisInternalAttachmentReplaceStart = m();
|
|
37
|
+
}
|
|
38
|
+
static {
|
|
39
|
+
this.properties = { _hasPreviewError: 16, _formattedSize: 16, _imageDescription: 16, _localizedType: 16, _attachmentPreviewDimensions: 16, attachment: 0, input: 0, messageOverrides: 0, formDisabled: 5, dialogOpen: 5 };
|
|
40
|
+
}
|
|
41
|
+
static {
|
|
42
|
+
this.styles = N;
|
|
43
|
+
}
|
|
44
|
+
#e;
|
|
45
|
+
#t;
|
|
46
|
+
#i;
|
|
47
|
+
get _canMaximize() {
|
|
48
|
+
const e = this.attachment?.contentType;
|
|
49
|
+
return !!e && (e.startsWith("video") || e.startsWith("audio") || e.startsWith("image"));
|
|
50
|
+
}
|
|
51
|
+
get _maximizeDisabled() {
|
|
52
|
+
return !this.input || this._hasPreviewError;
|
|
53
|
+
}
|
|
54
|
+
get _ownMessages() {
|
|
55
|
+
return this._messages.components.attachments["attachment-detail-view"];
|
|
56
|
+
}
|
|
57
|
+
loaded() {
|
|
58
|
+
this.manager.onLifecycle(() => [
|
|
59
|
+
c(() => this.attachment?.url, () => this._hasPreviewError = !1),
|
|
60
|
+
c(() => this.attachment ? O(this.attachment) : void 0, (e) => this._imageDescription = e, { initial: !0 }),
|
|
61
|
+
c(() => ({ messageOverrides: this.messageOverrides, size: this.attachment?.size }), ({ size: e }) => this._formattedSize = e == null ? void 0 : D(this._messages.units, e), { initial: !0 }),
|
|
62
|
+
c(() => ({ contentType: this.attachment?.contentType, messageOverrides: this.messageOverrides }), ({ contentType: e }) => this._localizedType = e ? this._messages.components.attachments.thumbnail.fileTypes[E(e)] : void 0, { initial: !0 })
|
|
63
|
+
]);
|
|
64
|
+
}
|
|
65
|
+
willUpdate(e) {
|
|
66
|
+
e.has("dialogOpen") && this.#e.moveAllToCache();
|
|
67
|
+
}
|
|
68
|
+
#a() {
|
|
69
|
+
this.dialogOpen = !0;
|
|
70
|
+
}
|
|
71
|
+
async #n() {
|
|
72
|
+
const e = this.attachment;
|
|
73
|
+
if (!e?.url)
|
|
74
|
+
return;
|
|
75
|
+
const t = await (await fetch(e.url)).blob();
|
|
76
|
+
w(t, e.name);
|
|
77
|
+
}
|
|
78
|
+
#s() {
|
|
79
|
+
this.arcgisInternalAttachmentReplaceStart.emit();
|
|
80
|
+
}
|
|
81
|
+
#r() {
|
|
82
|
+
this.dialogOpen = !1;
|
|
83
|
+
}
|
|
84
|
+
#c(e) {
|
|
85
|
+
this.attachment && this.arcgisInternalAttachmentRename.emit({ name: e });
|
|
86
|
+
}
|
|
87
|
+
#o() {
|
|
88
|
+
this._hasPreviewError = !0;
|
|
89
|
+
}
|
|
90
|
+
#l(e) {
|
|
91
|
+
this.#i && this.#t.unobserve(this.#i), this.#i = e, e && this.#t.observe(e);
|
|
92
|
+
}
|
|
93
|
+
_resetName() {
|
|
94
|
+
if (!this.input || !this.attachment)
|
|
95
|
+
return;
|
|
96
|
+
const e = this.input.getAttachmentEditState(this.attachment).initialName;
|
|
97
|
+
e != null && this.arcgisInternalAttachmentRename.emit({ name: e });
|
|
98
|
+
}
|
|
99
|
+
render() {
|
|
100
|
+
const { attachment: e, input: i, _ownMessages: t, _formattedSize: a, _imageDescription: s, _localizedType: r } = this, h = e && i?.getAttachmentEditState(e).isReplaced;
|
|
101
|
+
return n`<div class="container" data-testid=attachment-detail-view-root>${this._renderInlineAttachmentPreview()}<div class="button-group">${this._canMaximize ? n`<calcite-button icon-start=expand kind=neutral appearance=outline .disabled=${this._maximizeDisabled} @click=${this.#a} title=${t.maximize ?? o} .label=${t.maximize}></calcite-button>` : void 0}${h ? void 0 : n`<calcite-button icon-start=download kind=neutral @click=${this.#n} appearance=outline .disabled=${!e || !i} title=${t.download ?? o} .label=${t.download}></calcite-button>`}<calcite-button icon-start=upload-to @click=${this.#s} kind=neutral appearance=outline .disabled=${this.formDisabled || !this.input?.canUploadFiles} title=${t.replace ?? o} .label=${t.replace}></calcite-button></div><div>${s ? this._renderMetadataPlain(t.imageDescription, s) : void 0}${i?.allowUserRename ? this._renderNameEntry() : this._renderMetadataPlain(t.fileName, e?.name ?? "")}${a !== void 0 ? this._renderMetadataPlain(t.size, a) : void 0}${r !== void 0 ? this._renderMetadataPlain(t.type, r) : void 0}</div><calcite-dialog data-testid=attachment-dialog .heading=${this.attachment?.name} .open=${this.dialogOpen} modal placement=cover @calciteDialogClose=${this.#r}>${this.dialogOpen ? this._renderAttachmentPreview() : void 0}</calcite-dialog></div>`;
|
|
102
|
+
}
|
|
103
|
+
_renderInlineAttachmentPreview() {
|
|
104
|
+
if (!this.dialogOpen)
|
|
105
|
+
return n`<div ${f(this.#l)}>${this._renderAttachmentPreview()}</div>`;
|
|
106
|
+
const e = this._attachmentPreviewDimensions;
|
|
107
|
+
return e ? n`<div class="preview-placeholder" style=${P({ height: `${e.height}px`, width: `${e.width}px` })}></div>` : void 0;
|
|
108
|
+
}
|
|
109
|
+
_renderAttachmentPreview() {
|
|
110
|
+
return _(this.#e, this, n`<arcgis-attachment-preview data-testid=attachment-preview .attachment=${this.attachment} .input=${this.input} .messageOverrides=${this._messages} @arcgisInternalAttachmentMediaError=${this.#o}></arcgis-attachment-preview>`);
|
|
111
|
+
}
|
|
112
|
+
_renderMetadataPlain(e, i) {
|
|
113
|
+
return n`<calcite-label>${e}<div class="metadata-content">${i}</div></calcite-label>`;
|
|
114
|
+
}
|
|
115
|
+
_renderNameEntry() {
|
|
116
|
+
const { attachment: e, input: i, _ownMessages: t, formDisabled: a } = this;
|
|
117
|
+
if (!e || !i)
|
|
118
|
+
return "";
|
|
119
|
+
const { initialName: s, isRenamed: r } = i.getAttachmentEditState(e), { baseName: h, extension: p } = b(e.name ?? ""), u = a || s == null || !r, d = !a && e.name.trim().length === 0;
|
|
120
|
+
return n`<calcite-label>${t.fileName}<calcite-input .disabled=${a} type=text .label=${t.fileName} data-testid=file-name-input .status=${d ? "invalid" : "idle"} .value=${h} .suffixText=${p} alignment=start @calciteInputInput=${({ currentTarget: g }) => this.#c(g.value)}><calcite-action icon=reset slot=action .disabled=${u} data-testid=reset-name-button @click=${this._resetName} title=${t.reset ?? o} .text=${t.reset}></calcite-action></calcite-input>${d ? n`<calcite-input-message icon status=invalid>${t.nameCannotBeNull}</calcite-input-message>` : void 0}</calcite-label>`;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
v("arcgis-attachment-detail-view", M);
|
|
124
|
+
export {
|
|
125
|
+
M as ArcgisAttachmentDetailView
|
|
126
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-dialog";
|
|
3
|
+
import "../arcgis-attachment-preview/index.js";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-input-message";
|
|
8
|
+
export * from "./customElement.js";
|
|
@@ -29,21 +29,32 @@ export abstract class ArcgisAttachmentPreview extends LitElement {
|
|
|
29
29
|
heading: string;
|
|
30
30
|
};
|
|
31
31
|
"attachment-preview": { noPreview: string; };
|
|
32
|
+
"attachment-detail-view": {
|
|
33
|
+
maximize: string;
|
|
34
|
+
download: string;
|
|
35
|
+
replace: string;
|
|
36
|
+
fileName: string;
|
|
37
|
+
nameCannotBeNull: string;
|
|
38
|
+
size: string;
|
|
39
|
+
type: string;
|
|
40
|
+
reset: string;
|
|
41
|
+
imageDescription: string;
|
|
42
|
+
};
|
|
32
43
|
thumbnail: { fileTypes: {
|
|
33
44
|
"file-cad": string;
|
|
34
45
|
"file-code": string;
|
|
35
46
|
"file-csv": string;
|
|
36
47
|
"file-excel": string;
|
|
37
48
|
"file-gpx": string;
|
|
38
|
-
"file-image": string;
|
|
39
49
|
"file-pdf": string;
|
|
40
50
|
"file-ppt": string;
|
|
41
|
-
"file-sound": string;
|
|
42
51
|
"file-text": string;
|
|
43
|
-
"file-video": string;
|
|
44
52
|
"file-word": string;
|
|
45
53
|
"file-zip": string;
|
|
46
54
|
file: string;
|
|
55
|
+
image: string;
|
|
56
|
+
sound: string;
|
|
57
|
+
video: string;
|
|
47
58
|
}; };
|
|
48
59
|
}; };
|
|
49
60
|
units: { bytes: {
|
|
@@ -73,21 +84,32 @@ export abstract class ArcgisAttachmentPreview extends LitElement {
|
|
|
73
84
|
heading: string;
|
|
74
85
|
};
|
|
75
86
|
"attachment-preview": { noPreview: string; };
|
|
87
|
+
"attachment-detail-view": {
|
|
88
|
+
maximize: string;
|
|
89
|
+
download: string;
|
|
90
|
+
replace: string;
|
|
91
|
+
fileName: string;
|
|
92
|
+
nameCannotBeNull: string;
|
|
93
|
+
size: string;
|
|
94
|
+
type: string;
|
|
95
|
+
reset: string;
|
|
96
|
+
imageDescription: string;
|
|
97
|
+
};
|
|
76
98
|
thumbnail: { fileTypes: {
|
|
77
99
|
"file-cad": string;
|
|
78
100
|
"file-code": string;
|
|
79
101
|
"file-csv": string;
|
|
80
102
|
"file-excel": string;
|
|
81
103
|
"file-gpx": string;
|
|
82
|
-
"file-image": string;
|
|
83
104
|
"file-pdf": string;
|
|
84
105
|
"file-ppt": string;
|
|
85
|
-
"file-sound": string;
|
|
86
106
|
"file-text": string;
|
|
87
|
-
"file-video": string;
|
|
88
107
|
"file-word": string;
|
|
89
108
|
"file-zip": string;
|
|
90
109
|
file: string;
|
|
110
|
+
image: string;
|
|
111
|
+
sound: string;
|
|
112
|
+
video: string;
|
|
91
113
|
}; };
|
|
92
114
|
}; };
|
|
93
115
|
units: { bytes: {
|
|
@@ -120,21 +142,32 @@ export abstract class ArcgisAttachmentPreview extends LitElement {
|
|
|
120
142
|
heading?: string | undefined;
|
|
121
143
|
} | undefined;
|
|
122
144
|
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
145
|
+
"attachment-detail-view"?: {
|
|
146
|
+
maximize?: string | undefined;
|
|
147
|
+
download?: string | undefined;
|
|
148
|
+
replace?: string | undefined;
|
|
149
|
+
fileName?: string | undefined;
|
|
150
|
+
nameCannotBeNull?: string | undefined;
|
|
151
|
+
size?: string | undefined;
|
|
152
|
+
type?: string | undefined;
|
|
153
|
+
reset?: string | undefined;
|
|
154
|
+
imageDescription?: string | undefined;
|
|
155
|
+
} | undefined;
|
|
123
156
|
thumbnail?: { fileTypes?: {
|
|
124
157
|
"file-cad"?: string | undefined;
|
|
125
158
|
"file-code"?: string | undefined;
|
|
126
159
|
"file-csv"?: string | undefined;
|
|
127
160
|
"file-excel"?: string | undefined;
|
|
128
161
|
"file-gpx"?: string | undefined;
|
|
129
|
-
"file-image"?: string | undefined;
|
|
130
162
|
"file-pdf"?: string | undefined;
|
|
131
163
|
"file-ppt"?: string | undefined;
|
|
132
|
-
"file-sound"?: string | undefined;
|
|
133
164
|
"file-text"?: string | undefined;
|
|
134
|
-
"file-video"?: string | undefined;
|
|
135
165
|
"file-word"?: string | undefined;
|
|
136
166
|
"file-zip"?: string | undefined;
|
|
137
167
|
file?: string | undefined;
|
|
168
|
+
image?: string | undefined;
|
|
169
|
+
sound?: string | undefined;
|
|
170
|
+
video?: string | undefined;
|
|
138
171
|
} | undefined; } | undefined;
|
|
139
172
|
} | undefined; } | undefined;
|
|
140
173
|
units?: { bytes?: {
|
|
@@ -148,6 +181,11 @@ export abstract class ArcgisAttachmentPreview extends LitElement {
|
|
|
148
181
|
empty?: string | undefined;
|
|
149
182
|
};
|
|
150
183
|
pause(): void;
|
|
184
|
+
/** @internal */
|
|
185
|
+
readonly arcgisInternalAttachmentMediaError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
186
|
+
readonly "@eventTypes": {
|
|
187
|
+
arcgisInternalAttachmentMediaError: ArcgisAttachmentPreview["arcgisInternalAttachmentMediaError"]["detail"];
|
|
188
|
+
};
|
|
151
189
|
}
|
|
152
190
|
|
|
153
191
|
/** @internal */
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { c } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as l, html as r } from "lit";
|
|
4
4
|
import { ref as n } from "lit/directives/ref.js";
|
|
5
|
-
import { LitElement as h, nothing as s, live as o } from "@arcgis/lumina";
|
|
6
|
-
import { u as
|
|
7
|
-
const
|
|
8
|
-
class
|
|
5
|
+
import { LitElement as h, createEvent as d, nothing as s, live as o } from "@arcgis/lumina";
|
|
6
|
+
import { u as m } from "../../chunks/useT9n.js";
|
|
7
|
+
const u = l`:host{display:contents;color:var(--calcite-color-text-1)}.lightbox{gap:var(--calcite-space-sm);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);box-sizing:border-box;border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);flex-direction:column;justify-content:center;align-items:center;inline-size:100%;display:flex;max-block-size:100%}.thumbnail-container{display:contents}img{object-fit:contain;width:100%;max-block-size:100%;max-inline-size:100%}audio,video{object-fit:contain;width:100%;overflow:clip;max-block-size:100%;max-inline-size:100%}`;
|
|
8
|
+
class p extends h {
|
|
9
9
|
constructor() {
|
|
10
|
-
super(...arguments), this._messages =
|
|
10
|
+
super(...arguments), this._messages = m({ blocking: !0, name: "feature-form-next" }), this._attachment = void 0, this._input = void 0, this._hasError = !1, this.previewType = "none", this.url = void 0, this.arcgisInternalAttachmentMediaError = d();
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
13
|
this.properties = { _hasError: 16, previewType: 16, url: 16, attachment: 0, input: 0, messageOverrides: 0 };
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.styles =
|
|
16
|
+
this.styles = u;
|
|
17
17
|
}
|
|
18
18
|
get _altText() {
|
|
19
19
|
const { attachment: e, input: t } = this;
|
|
@@ -39,7 +39,9 @@ class u extends h {
|
|
|
39
39
|
}
|
|
40
40
|
disconnectedCallback() {
|
|
41
41
|
const e = this._mediaElement?.deref();
|
|
42
|
-
super.disconnectedCallback(),
|
|
42
|
+
super.disconnectedCallback(), queueMicrotask(() => {
|
|
43
|
+
this.isConnected || (this._cleanupMediaElement(e), this.previewType = "none");
|
|
44
|
+
});
|
|
43
45
|
}
|
|
44
46
|
#e() {
|
|
45
47
|
this._hasError = !1;
|
|
@@ -63,7 +65,7 @@ class u extends h {
|
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
_handlePreviewError(e) {
|
|
66
|
-
e.stopPropagation(), this._hasError = !0;
|
|
68
|
+
e.stopPropagation(), this._hasError = !0, this.arcgisInternalAttachmentMediaError.emit();
|
|
67
69
|
}
|
|
68
70
|
_cleanupMediaElement(e) {
|
|
69
71
|
e?.pause(), e?.removeAttribute("src"), e?.load(), this._mediaElement = void 0;
|
|
@@ -108,7 +110,7 @@ class u extends h {
|
|
|
108
110
|
return r`<div class="lightbox">${a}</div>`;
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
|
-
c("arcgis-attachment-preview",
|
|
113
|
+
c("arcgis-attachment-preview", p);
|
|
112
114
|
export {
|
|
113
|
-
|
|
115
|
+
p as ArcgisAttachmentPreview
|
|
114
116
|
};
|
|
@@ -32,21 +32,32 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
32
32
|
heading: string;
|
|
33
33
|
};
|
|
34
34
|
"attachment-preview": { noPreview: string; };
|
|
35
|
+
"attachment-detail-view": {
|
|
36
|
+
maximize: string;
|
|
37
|
+
download: string;
|
|
38
|
+
replace: string;
|
|
39
|
+
fileName: string;
|
|
40
|
+
nameCannotBeNull: string;
|
|
41
|
+
size: string;
|
|
42
|
+
type: string;
|
|
43
|
+
reset: string;
|
|
44
|
+
imageDescription: string;
|
|
45
|
+
};
|
|
35
46
|
thumbnail: { fileTypes: {
|
|
36
47
|
"file-cad": string;
|
|
37
48
|
"file-code": string;
|
|
38
49
|
"file-csv": string;
|
|
39
50
|
"file-excel": string;
|
|
40
51
|
"file-gpx": string;
|
|
41
|
-
"file-image": string;
|
|
42
52
|
"file-pdf": string;
|
|
43
53
|
"file-ppt": string;
|
|
44
|
-
"file-sound": string;
|
|
45
54
|
"file-text": string;
|
|
46
|
-
"file-video": string;
|
|
47
55
|
"file-word": string;
|
|
48
56
|
"file-zip": string;
|
|
49
57
|
file: string;
|
|
58
|
+
image: string;
|
|
59
|
+
sound: string;
|
|
60
|
+
video: string;
|
|
50
61
|
}; };
|
|
51
62
|
}; };
|
|
52
63
|
units: { bytes: {
|
|
@@ -76,21 +87,32 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
76
87
|
heading: string;
|
|
77
88
|
};
|
|
78
89
|
"attachment-preview": { noPreview: string; };
|
|
90
|
+
"attachment-detail-view": {
|
|
91
|
+
maximize: string;
|
|
92
|
+
download: string;
|
|
93
|
+
replace: string;
|
|
94
|
+
fileName: string;
|
|
95
|
+
nameCannotBeNull: string;
|
|
96
|
+
size: string;
|
|
97
|
+
type: string;
|
|
98
|
+
reset: string;
|
|
99
|
+
imageDescription: string;
|
|
100
|
+
};
|
|
79
101
|
thumbnail: { fileTypes: {
|
|
80
102
|
"file-cad": string;
|
|
81
103
|
"file-code": string;
|
|
82
104
|
"file-csv": string;
|
|
83
105
|
"file-excel": string;
|
|
84
106
|
"file-gpx": string;
|
|
85
|
-
"file-image": string;
|
|
86
107
|
"file-pdf": string;
|
|
87
108
|
"file-ppt": string;
|
|
88
|
-
"file-sound": string;
|
|
89
109
|
"file-text": string;
|
|
90
|
-
"file-video": string;
|
|
91
110
|
"file-word": string;
|
|
92
111
|
"file-zip": string;
|
|
93
112
|
file: string;
|
|
113
|
+
image: string;
|
|
114
|
+
sound: string;
|
|
115
|
+
video: string;
|
|
94
116
|
}; };
|
|
95
117
|
}; };
|
|
96
118
|
units: { bytes: {
|
|
@@ -129,21 +151,32 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
129
151
|
heading?: string | undefined;
|
|
130
152
|
} | undefined;
|
|
131
153
|
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
154
|
+
"attachment-detail-view"?: {
|
|
155
|
+
maximize?: string | undefined;
|
|
156
|
+
download?: string | undefined;
|
|
157
|
+
replace?: string | undefined;
|
|
158
|
+
fileName?: string | undefined;
|
|
159
|
+
nameCannotBeNull?: string | undefined;
|
|
160
|
+
size?: string | undefined;
|
|
161
|
+
type?: string | undefined;
|
|
162
|
+
reset?: string | undefined;
|
|
163
|
+
imageDescription?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
132
165
|
thumbnail?: { fileTypes?: {
|
|
133
166
|
"file-cad"?: string | undefined;
|
|
134
167
|
"file-code"?: string | undefined;
|
|
135
168
|
"file-csv"?: string | undefined;
|
|
136
169
|
"file-excel"?: string | undefined;
|
|
137
170
|
"file-gpx"?: string | undefined;
|
|
138
|
-
"file-image"?: string | undefined;
|
|
139
171
|
"file-pdf"?: string | undefined;
|
|
140
172
|
"file-ppt"?: string | undefined;
|
|
141
|
-
"file-sound"?: string | undefined;
|
|
142
173
|
"file-text"?: string | undefined;
|
|
143
|
-
"file-video"?: string | undefined;
|
|
144
174
|
"file-word"?: string | undefined;
|
|
145
175
|
"file-zip"?: string | undefined;
|
|
146
176
|
file?: string | undefined;
|
|
177
|
+
image?: string | undefined;
|
|
178
|
+
sound?: string | undefined;
|
|
179
|
+
video?: string | undefined;
|
|
147
180
|
} | undefined; } | undefined;
|
|
148
181
|
} | undefined; } | undefined;
|
|
149
182
|
units?: { bytes?: {
|