@arcgis/map-components 6.0.0-next.2 → 6.0.0-next.21
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/22RLIDCP.js +2 -0
- package/dist/cdn/{5TKSFDKY.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/{3ONY25MG.js → 2GPVEWYM.js} +1 -1
- package/dist/cdn/2IBL2HKQ.js +2 -0
- package/dist/cdn/2NM6UWC4.js +2 -0
- package/dist/cdn/{DSD2SY73.js → 2P5AJORF.js} +1 -1
- package/dist/cdn/2PLAZVGP.js +2 -0
- package/dist/cdn/2RQGZLOJ.js +2 -0
- package/dist/cdn/2SQGIY7T.js +2 -0
- package/dist/cdn/2UAH624K.js +2 -0
- package/dist/cdn/2WJ53TNR.js +2 -0
- package/dist/cdn/{2SO5S66J.js → 2YXWKKNB.js} +1 -1
- package/dist/cdn/{65MI3MW2.js → 32526XJ7.js} +1 -1
- package/dist/cdn/34XDXFK6.js +2 -0
- package/dist/cdn/3B4VHD67.js +2 -0
- package/dist/cdn/3EXEL7AM.js +2 -0
- package/dist/cdn/3GN3DAON.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → 3MWXYWKR.js} +1 -1
- package/dist/cdn/3SXQLU4S.js +2 -0
- package/dist/cdn/{3C6FN5WT.js → 3W7KESW7.js} +1 -1
- package/dist/cdn/43IGD6V3.js +2 -0
- package/dist/cdn/4DPAOAMZ.js +2 -0
- package/dist/cdn/4FFEPX2D.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → 4H2REMNG.js} +1 -1
- package/dist/cdn/4I6F64B2.js +2 -0
- package/dist/cdn/4IG6WUCI.js +2 -0
- package/dist/cdn/4LNXCEM5.js +2 -0
- package/dist/cdn/4LO7PNX7.js +2 -0
- package/dist/cdn/{UUHCMLK6.js → 4LWSF6AI.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → 4P4NKBQC.js} +1 -1
- package/dist/cdn/{QEPANMVK.js → 4PDZTEB2.js} +1 -1
- package/dist/cdn/4WZZZTT5.js +2 -0
- package/dist/cdn/55VX76T5.js +2 -0
- package/dist/cdn/57LPG3BE.js +2 -0
- package/dist/cdn/5A7LDBDR.js +2 -0
- package/dist/cdn/5DN4ONEW.js +2 -0
- package/dist/cdn/{RRSU6QD4.js → 5FBHHKRV.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → 5GFPOTOB.js} +1 -1
- package/dist/cdn/{VLPNB2Z3.js → 5GGAWGSN.js} +1 -1
- package/dist/cdn/{R5TXJ5FN.js → 5GTPIPN7.js} +1 -1
- package/dist/cdn/5V6BNJ5O.js +2 -0
- package/dist/cdn/{FPPWXIBA.js → 5V6K43GW.js} +1 -1
- package/dist/cdn/{HTC4LCZQ.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/{AO6ONNIJ.js → 62HMPABL.js} +1 -1
- package/dist/cdn/62OAO327.js +2 -0
- package/dist/cdn/6DRXFSTW.js +2 -0
- package/dist/cdn/{WS46QSWM.js → 6G5QADEG.js} +1 -1
- package/dist/cdn/6HDYZ7WW.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6QWLMG5M.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6WFVZM5S.js +2 -0
- package/dist/cdn/6Y7Q7GRB.js +2 -0
- package/dist/cdn/74PUSJU5.js +2 -0
- package/dist/cdn/7EIN5VCY.js +2 -0
- package/dist/cdn/7EKBNXGL.js +2 -0
- package/dist/cdn/7ILT5PDJ.js +2 -0
- package/dist/cdn/7JK4JGPG.js +2 -0
- package/dist/cdn/7JPHMESH.js +2 -0
- package/dist/cdn/7LO6ACC7.js +2 -0
- package/dist/cdn/{N3DTZRST.js → 7V7LQ35Q.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 7Y4SF2NT.js} +1 -1
- package/dist/cdn/7Y6PADB5.js +2 -0
- package/dist/cdn/{RVIHQZ44.js → 7YT5W57B.js} +1 -1
- package/dist/cdn/7ZWBGSCM.js +2 -0
- package/dist/cdn/A5IFDSOU.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → AHWBCZBO.js} +1 -1
- package/dist/cdn/AKGUTL2V.js +2 -0
- package/dist/cdn/{PCOXR45L.js → AKTIOEYM.js} +1 -1
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/AOGDXJ2J.js +2 -0
- package/dist/cdn/ARN5ZKLI.js +2 -0
- package/dist/cdn/{KBA5OIES.js → AUP633OS.js} +1 -1
- package/dist/cdn/{HY2JY2TT.js → AYQJ2LTV.js} +1 -1
- package/dist/cdn/B2TICPHR.js +2 -0
- package/dist/cdn/BDZHLGVT.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → BFYJTV6Q.js} +1 -1
- package/dist/cdn/BJ35LPCU.js +2 -0
- package/dist/cdn/BJI5DVB5.js +2 -0
- package/dist/cdn/BJJZGYBG.js +2 -0
- package/dist/cdn/BLYXYNGB.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → BOPNSNUT.js} +1 -1
- package/dist/cdn/BUH3AQ7E.js +2 -0
- package/dist/cdn/{QT7GRA34.js → BVRQWRKX.js} +1 -1
- package/dist/cdn/C6K7TZ27.js +2 -0
- package/dist/cdn/{JS3IKVKM.js → CHMBPPHS.js} +1 -1
- package/dist/cdn/CLICUS2A.js +2 -0
- package/dist/cdn/COSETVX4.js +2 -0
- package/dist/cdn/{XP74F2F6.js → CWCVAPXD.js} +1 -1
- package/dist/cdn/CXXBV6RJ.js +2 -0
- package/dist/cdn/DCO26B7J.js +2 -0
- package/dist/cdn/DDGUDJJZ.js +2 -0
- package/dist/cdn/DEW5IWND.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DFTYQJWJ.js +2 -0
- package/dist/cdn/DFZ22GLY.js +2 -0
- package/dist/cdn/DGSTI5DI.js +2 -0
- package/dist/cdn/{B32GNMHD.js → DLUFAV4S.js} +1 -1
- package/dist/cdn/{J6HOUEVT.js → DPEWQQEB.js} +1 -1
- package/dist/cdn/DS6EUOYE.js +2 -0
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DWPXOIRF.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → DZIJPJS3.js} +1 -1
- package/dist/cdn/E6ZXXC74.js +2 -0
- package/dist/cdn/{PWHXRRFU.js → EB4V6SPF.js} +1 -1
- package/dist/cdn/{UVJWDKLK.js → ECA47Z37.js} +1 -1
- package/dist/cdn/ECUVJOIW.js +2 -0
- package/dist/cdn/ED2T4ASN.js +2 -0
- package/dist/cdn/EP27GLNL.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → EXB4CY2Y.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → EZHYSI6R.js} +1 -1
- package/dist/cdn/F2DTKJTK.js +2 -0
- package/dist/cdn/F74YQZ2X.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → FDESUDJ5.js} +1 -1
- package/dist/cdn/FGU7NUST.js +2 -0
- package/dist/cdn/{M6YVO33A.js → FH6Q5A5L.js} +1 -1
- package/dist/cdn/{EPAR65ZP.js → FJMXBIN5.js} +1 -1
- package/dist/cdn/FMLDKHWP.js +3 -0
- package/dist/cdn/FOKE5ILO.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → FQ3ZJA4Q.js} +1 -1
- package/dist/cdn/{MA7GBKLW.js → FZGMIIBX.js} +1 -1
- package/dist/cdn/G2ACNJGG.js +2 -0
- package/dist/cdn/G2PLGAUY.js +2 -0
- package/dist/cdn/{2BUURGFL.js → G4IKO2R6.js} +1 -1
- package/dist/cdn/G56N6RF4.js +2 -0
- package/dist/cdn/{M7AFSV3C.js → GCPR7XFU.js} +1 -1
- package/dist/cdn/{WBBTZNZU.js → GEOME3IC.js} +1 -1
- package/dist/cdn/{PZZU36OG.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/GKNGEZCO.js +2 -0
- package/dist/cdn/{MICLX7QW.js → GPYZM5CC.js} +1 -1
- package/dist/cdn/GQQTIX2X.js +2 -0
- package/dist/cdn/H4BTVLCG.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → HLOH2QPV.js} +1 -1
- package/dist/cdn/I52P5EXK.js +2 -0
- package/dist/cdn/{CAC3OOFR.js → IAYL44LK.js} +1 -1
- package/dist/cdn/IFLDLAK4.js +2 -0
- package/dist/cdn/IN7TMVRK.js +2 -0
- package/dist/cdn/IOUO7KBT.js +2 -0
- package/dist/cdn/{YQV2OMBS.js → IRFIHD5X.js} +1 -1
- package/dist/cdn/{MYLIX42T.js → IZFEOYED.js} +1 -1
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{YZJKSAQ5.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JN6RVFAM.js +2 -0
- package/dist/cdn/JUOOKKZJ.js +2 -0
- package/dist/cdn/JUYPQUPQ.js +2 -0
- package/dist/cdn/KAG4QZ7K.js +2 -0
- package/dist/cdn/KE2ER3F7.js +2 -0
- package/dist/cdn/KIHYSYOL.js +2 -0
- package/dist/cdn/{QKZ552KI.js → KIWV2RIN.js} +1 -1
- package/dist/cdn/{A6H4JIO7.js → KOMTNQPT.js} +1 -1
- package/dist/cdn/{TKILR2SM.js → KXD4VEKE.js} +1 -1
- package/dist/cdn/{DY2EOHFD.js → L4WLEN3C.js} +1 -1
- package/dist/cdn/{OUC5HWPQ.js → L5XC4FXT.js} +1 -1
- package/dist/cdn/L6FLCEH6.js +2 -0
- package/dist/cdn/LILX2DJE.js +2 -0
- package/dist/cdn/LKGURYDH.js +2 -0
- package/dist/cdn/LRH4FKHU.js +2 -0
- package/dist/cdn/{HKVIWCPL.js → LS4U4GD5.js} +1 -1
- package/dist/cdn/{OAYNZFL2.js → LSLTIN2Q.js} +1 -1
- package/dist/cdn/LTFGTX7S.js +2 -0
- package/dist/cdn/LUW2PXWZ.js +2 -0
- package/dist/cdn/{7DM32WQP.js → LVIYMA67.js} +1 -1
- package/dist/cdn/LWVYNWD5.js +2 -0
- package/dist/cdn/LXHZGIW5.js +2 -0
- package/dist/cdn/LXJURAXP.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/M37TWKYP.js +2 -0
- package/dist/cdn/M3CIFZFR.js +2 -0
- package/dist/cdn/M5OK7RKI.js +2 -0
- package/dist/cdn/M7MRLBZA.js +2 -0
- package/dist/cdn/MA2DWIGR.js +2 -0
- package/dist/cdn/MBLS5ES4.js +2 -0
- package/dist/cdn/{PBHNO4J7.js → MDS3NVWM.js} +1 -1
- package/dist/cdn/{LYT35TNY.js → MEISDI2H.js} +1 -1
- package/dist/cdn/MGH6EHT7.js +2 -0
- package/dist/cdn/MNL7ONFB.js +2 -0
- package/dist/cdn/{6MCDOI5M.js → N2YWWQOS.js} +1 -1
- package/dist/cdn/N4D5I6Y4.js +2 -0
- package/dist/cdn/NHMHVWNB.js +2 -0
- package/dist/cdn/NKFAPBY3.js +2 -0
- package/dist/cdn/NQ3COROI.js +2 -0
- package/dist/cdn/NTHSQXKG.js +2 -0
- package/dist/cdn/NTT5IV4A.js +2 -0
- package/dist/cdn/{SQEKT3GV.js → NVKOZL7X.js} +1 -1
- package/dist/cdn/{SMVLPJDD.js → NVN2CATF.js} +1 -1
- package/dist/cdn/{EMXGW73P.js → NZQLQGTQ.js} +1 -1
- package/dist/cdn/{3GHQZCMV.js → O46PVNMT.js} +1 -1
- package/dist/cdn/O5HQ5YZK.js +2 -0
- package/dist/cdn/{XDU23V37.js → OFBWNR54.js} +1 -1
- package/dist/cdn/OJJSIN3V.js +2 -0
- package/dist/cdn/{JRCEICO2.js → OLSESBZ7.js} +1 -1
- package/dist/cdn/{HPWF3IQV.js → OLY5EME5.js} +1 -1
- package/dist/cdn/{FSBLGH6E.js → ONYCZO7Y.js} +1 -1
- package/dist/cdn/OQ6SYZBT.js +2 -0
- package/dist/cdn/{H7NR6B6S.js → ORVSAF3Z.js} +1 -1
- package/dist/cdn/{FZAQZSRA.js → OZF64H7N.js} +1 -1
- package/dist/cdn/P3565WG3.js +2 -0
- package/dist/cdn/P65FMRMP.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → PCXDOSKQ.js} +1 -1
- package/dist/cdn/PFSIUSDJ.js +2 -0
- package/dist/cdn/PHVKEWZ7.js +2 -0
- package/dist/cdn/PKYYNRBS.js +2 -0
- package/dist/cdn/PQ7NUE5C.js +4 -0
- package/dist/cdn/{5DY7GHBN.js → PRUHLC54.js} +1 -1
- package/dist/cdn/{ZDMSSGIM.js → PWZHB6VD.js} +1 -1
- package/dist/cdn/PXDX3LCI.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/Q6RSVQNE.js +2 -0
- package/dist/cdn/Q7GF26CL.js +2 -0
- package/dist/cdn/QAOT2TJ6.js +2 -0
- package/dist/cdn/QET5SVDO.js +2 -0
- package/dist/cdn/QKGJVGXJ.js +2 -0
- package/dist/cdn/QUPDTNAC.js +2 -0
- package/dist/cdn/{BQBWXR6P.js → QVJ2FUNW.js} +1 -1
- package/dist/cdn/{Z2WYULU3.js → QWMDZDQA.js} +1 -1
- package/dist/cdn/{OAMA6SL3.js → QZVF23GH.js} +1 -1
- package/dist/cdn/{OAMPGCZF.js → RBRDUDEY.js} +1 -1
- package/dist/cdn/{ZSPYPXBY.js → REB4CHAK.js} +1 -1
- package/dist/cdn/RINX3CTL.js +2 -0
- package/dist/cdn/ROHGHCK6.js +2 -0
- package/dist/cdn/{OJIYHIGC.js → RTDY3HLR.js} +1 -1
- package/dist/cdn/S4L4V6FJ.js +2 -0
- package/dist/cdn/SAQ5BNZJ.js +2 -0
- package/dist/cdn/{53OXTCE6.js → SDLZ4BNM.js} +1 -1
- package/dist/cdn/{WNWTWPV6.js → SFDCS6A2.js} +1 -1
- package/dist/cdn/SI2DEXWH.js +2 -0
- package/dist/cdn/{VDEMMP33.js → SIT5NBLS.js} +1 -1
- package/dist/cdn/SJGQALDG.js +2 -0
- package/dist/cdn/SJGWHUCR.js +2 -0
- package/dist/cdn/SKAZPI3A.js +2 -0
- package/dist/cdn/{4IU5R6VO.js → SLNXNVPI.js} +1 -1
- package/dist/cdn/{2DAGREZP.js → SLQPDAGN.js} +1 -1
- package/dist/cdn/SU2SAOBL.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → SXW4GFL3.js} +1 -1
- package/dist/cdn/{DN2EFA4T.js → T34W3GKP.js} +1 -1
- package/dist/cdn/T3MDSQ3T.js +2 -0
- package/dist/cdn/T4Z2B3T7.js +2 -0
- package/dist/cdn/TDYIVFVF.js +2 -0
- package/dist/cdn/{5RAIBYCT.js → TKD5T5DW.js} +1 -1
- package/dist/cdn/{IQEEQOMD.js → TP2KQRW6.js} +1 -1
- package/dist/cdn/U77WHUC6.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → UE6EBLH3.js} +1 -1
- package/dist/cdn/UFDB6U6V.js +2 -0
- package/dist/cdn/UFK7DHVC.js +2 -0
- package/dist/cdn/UHDJ2SI5.js +2 -0
- package/dist/cdn/UI4IEVSV.js +2 -0
- package/dist/cdn/UKIVMO7H.js +2 -0
- package/dist/cdn/UPCWZNTA.js +2 -0
- package/dist/cdn/{E54VGGFM.js → UR3Z5YHW.js} +1 -1
- package/dist/cdn/{P2I63WVL.js → UVAUYBWF.js} +1 -1
- package/dist/cdn/{52CUDGKY.js → UVPQKV5P.js} +1 -1
- package/dist/cdn/{YDZZPLVB.js → UYAOMCP7.js} +1 -1
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/V4AT7ENI.js +2 -0
- package/dist/cdn/V4JCZIP5.js +2 -0
- package/dist/cdn/{GNSNEUMI.js → V7DMA5ZO.js} +1 -1
- package/dist/cdn/VEV3AAVP.js +2 -0
- package/dist/cdn/VHZM25YV.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → VKO3CVBS.js} +1 -1
- package/dist/cdn/VLHURRRU.js +2 -0
- package/dist/cdn/VM5QVCMC.js +2 -0
- package/dist/cdn/VPDDFGYQ.js +2 -0
- package/dist/cdn/VWUH2VUY.js +2 -0
- package/dist/cdn/VWW5GBIK.js +2 -0
- package/dist/cdn/{ZAUG5MSY.js → W4GNRGIN.js} +1 -1
- package/dist/cdn/{ZO7TUIUE.js → WG5PHRPT.js} +1 -1
- package/dist/cdn/WKI4XW7G.js +2 -0
- package/dist/cdn/WTAAQHO3.js +2 -0
- package/dist/cdn/WUWF6ZDM.js +2 -0
- package/dist/cdn/{DUMHDAYP.js → WVKMYNN7.js} +1 -1
- package/dist/cdn/{2UKSCGYU.js → WW7YOPDY.js} +1 -1
- package/dist/cdn/{HBWEW6R7.js → XCSF7KJK.js} +1 -1
- package/dist/cdn/{MTFIK3F4.js → XGWYQ7FU.js} +1 -1
- package/dist/cdn/XLB473BN.js +2 -0
- package/dist/cdn/XLZB6JMZ.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → XO7X6L4B.js} +1 -1
- package/dist/cdn/XPBFBRSY.js +2 -0
- package/dist/cdn/{2ZMXUAQZ.js → XQ2WXTW7.js} +1 -1
- package/dist/cdn/XTCYIS4Z.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → XYAJT7LP.js} +1 -1
- package/dist/cdn/Y3E2FJPQ.js +2 -0
- package/dist/cdn/Y4C7JJCJ.js +2 -0
- package/dist/cdn/{J3FRSWZD.js → Y6NC7ML3.js} +1 -1
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → Y7IM3OFU.js} +1 -1
- package/dist/cdn/Y7XSHXVA.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → YBJ6ZAPO.js} +1 -1
- package/dist/cdn/YBSEIOQX.js +2 -0
- package/dist/cdn/YBXCTOS7.js +2 -0
- package/dist/cdn/{Z6AVJWLP.js → YC7VLNKI.js} +1 -1
- package/dist/cdn/YDILFOHE.js +2 -0
- package/dist/cdn/YEKQVWF5.js +2 -0
- package/dist/cdn/{W3TSTSES.js → YJROHURO.js} +1 -1
- package/dist/cdn/YYCTSS52.js +2 -0
- package/dist/cdn/Z42MH42I.js +2 -0
- package/dist/cdn/Z6NHKWWS.js +2 -0
- package/dist/cdn/ZC5YVHZ3.js +2 -0
- package/dist/cdn/{D7FBQECJ.js → ZCL4XHIZ.js} +1 -1
- package/dist/cdn/{IAWXCNTX.js → ZE4UHSTB.js} +1 -1
- package/dist/cdn/{26URLKXD.js → ZH3MW6H3.js} +1 -1
- package/dist/cdn/{Q4L65YE5.js → ZHYXFOYU.js} +1 -1
- package/dist/cdn/{6VO7G2UX.js → ZJPYW3TN.js} +1 -1
- package/dist/cdn/{F5IHFPKA.js → ZKKZQVJT.js} +1 -1
- package/dist/cdn/{FACY5XHG.js → ZNIMZP5R.js} +1 -1
- package/dist/cdn/{V2YPYCU6.js → ZNV3M5P2.js} +1 -1
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{M3FI4K44.js → ZSKO7HLH.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 +100 -102
- 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 +174 -137
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- 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 +393 -235
- package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
- 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.d.ts +8 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +57 -62
- 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 +22 -0
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +17 -6
- package/dist/types/preact.d.ts +18 -6
- package/dist/types/react.d.ts +19 -6
- package/dist/types/stencil.d.ts +17 -6
- 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/WO26ZR5Z.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 → UDXDE3LW.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?: {
|