@arcgis/map-components 5.2.0-next.136 → 5.2.0-next.137
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/{CG5EOZ5E.js → 276JOEH5.js} +1 -1
- package/dist/cdn/{DC4IVPQR.js → 27SNQYDX.js} +1 -1
- package/dist/cdn/{IKSUH4JU.js → 2AHPZLDU.js} +1 -1
- package/dist/cdn/{FKJYZGQV.js → 2AQYGR7K.js} +1 -1
- package/dist/cdn/{PZCNDQCM.js → 2EX7U37S.js} +1 -1
- package/dist/cdn/{OT6BZEVU.js → 2FUHDWJC.js} +1 -1
- package/dist/cdn/{AYFIXEVM.js → 2J3UOPGJ.js} +1 -1
- package/dist/cdn/{N7DY2QVI.js → 2QSFXHH3.js} +1 -1
- package/dist/cdn/{BDZ5LS7M.js → 2V5W5ALT.js} +1 -1
- package/dist/cdn/{H5W2Z2ZP.js → 2XFC7FKR.js} +1 -1
- package/dist/cdn/{NGOHAYP2.js → 3746LNYV.js} +1 -1
- package/dist/cdn/{CPKZEXWU.js → 3ALNFDAR.js} +1 -1
- package/dist/cdn/{TW3HJT3L.js → 3AMRNVK5.js} +1 -1
- package/dist/cdn/{AMWU2257.js → 3DSZKELU.js} +1 -1
- package/dist/cdn/{KYJLH5NA.js → 3DUIQTNG.js} +1 -1
- package/dist/cdn/{3OSRTFM7.js → 3ERS7RUZ.js} +1 -1
- package/dist/cdn/3IEK6I4A.js +2 -0
- package/dist/cdn/{MCU53PRF.js → 3JJWAMPV.js} +1 -1
- package/dist/cdn/{HJLEBQWT.js → 3JKLGU3I.js} +1 -1
- package/dist/cdn/{EV3HM55D.js → 3MAFD37H.js} +1 -1
- package/dist/cdn/{JEOUMVSL.js → 3MQPSWL6.js} +1 -1
- package/dist/cdn/{FDDVTJUT.js → 43ZSEAIE.js} +1 -1
- package/dist/cdn/{6B7OAZCR.js → 44NWCQ3H.js} +1 -1
- package/dist/cdn/{I6R62DOM.js → 45BUMM7P.js} +1 -1
- package/dist/cdn/{F6AE2AOX.js → 4F2ZWXO2.js} +1 -1
- package/dist/cdn/{ZYFORDEE.js → 4PGC5LTJ.js} +1 -1
- package/dist/cdn/{BMMTFWDL.js → 4Q4G4CNX.js} +1 -1
- package/dist/cdn/{3R6PNKAZ.js → 4S6SFZIL.js} +1 -1
- package/dist/cdn/{65BUPBAJ.js → 4SX63TIS.js} +1 -1
- package/dist/cdn/{3EQJPQ6F.js → 4Z7UMO6K.js} +1 -1
- package/dist/cdn/{3SJHCSFU.js → 55AW5TTI.js} +1 -1
- package/dist/cdn/{SFO6AP7T.js → 57WVZSOG.js} +1 -1
- package/dist/cdn/{YFCVMQTJ.js → 5U46L4OS.js} +1 -1
- package/dist/cdn/{JDF3QJHI.js → 5V2DO6ZW.js} +1 -1
- package/dist/cdn/{YFDOLBYH.js → 5WEBD55E.js} +1 -1
- package/dist/cdn/{BTC4LBE2.js → 5XVK5ZBK.js} +1 -1
- package/dist/cdn/{ZONAK2AT.js → 62F5KELU.js} +1 -1
- package/dist/cdn/{SGICUDOM.js → 6BLFYSDN.js} +1 -1
- package/dist/cdn/{VIMZLJRR.js → 6G5V7CRA.js} +1 -1
- package/dist/cdn/{ZVIW6QGG.js → 6IVEAPNI.js} +1 -1
- package/dist/cdn/{IL5HIKPU.js → 6J55YK5V.js} +1 -1
- package/dist/cdn/{TNCMYQSA.js → 6QJR3DJW.js} +1 -1
- package/dist/cdn/{F47MOBA6.js → 6TLWZEWR.js} +1 -1
- package/dist/cdn/{5JJW2F4I.js → 6YAG53VX.js} +1 -1
- package/dist/cdn/{AN5VDLBT.js → 6ZVO5NHN.js} +1 -1
- package/dist/cdn/{7SV2YDBW.js → 72Y7QTEN.js} +1 -1
- package/dist/cdn/{BQ7NE3DK.js → 7EQZKGJN.js} +1 -1
- package/dist/cdn/{CM7JI36S.js → 7JKQBKSB.js} +1 -1
- package/dist/cdn/{U4HYLVBE.js → 7JSXMSEG.js} +1 -1
- package/dist/cdn/{YVNN7BY7.js → 7N3DOELC.js} +1 -1
- package/dist/cdn/{LWH2GP6K.js → 7OWBS7XZ.js} +1 -1
- package/dist/cdn/{JNB3AQXF.js → 7Q6VLSIF.js} +1 -1
- package/dist/cdn/{JQUJV7QG.js → 7QOFSLJB.js} +1 -1
- package/dist/cdn/{3NNYNR4J.js → 7U6NRRQA.js} +1 -1
- package/dist/cdn/{QR64BMEG.js → 7YLDIVUT.js} +1 -1
- package/dist/cdn/{EF7GIYDU.js → 7YPRQCAD.js} +1 -1
- package/dist/cdn/{R54YGQ26.js → A2SML6M2.js} +1 -1
- package/dist/cdn/{L4IWJ5HD.js → A4GXQYJT.js} +1 -1
- package/dist/cdn/{OHCCNZCY.js → A76HBA6R.js} +1 -1
- package/dist/cdn/{W7QOIJAF.js → AA7WI5WW.js} +1 -1
- package/dist/cdn/{75OH7AOP.js → AAKBSWDH.js} +1 -1
- package/dist/cdn/ABPL62RR.js +2 -0
- package/dist/cdn/{LDUBRVF7.js → AKAINU52.js} +1 -1
- package/dist/cdn/{L6FOENSG.js → AMJGX73U.js} +1 -1
- package/dist/cdn/{URWPOPI7.js → AW3C3DKA.js} +1 -1
- package/dist/cdn/AY7H4VHX.js +2 -0
- package/dist/cdn/{K3TUMGVI.js → B42FANDV.js} +1 -1
- package/dist/cdn/{KS2KPSVW.js → B5GJ5JEW.js} +1 -1
- package/dist/cdn/{7WPN2Q4H.js → BPJVF2UL.js} +1 -1
- package/dist/cdn/{WIVG25HH.js → BSTO7TGD.js} +1 -1
- package/dist/cdn/{ILRRVKYV.js → BT7MBQAG.js} +1 -1
- package/dist/cdn/{CWCTE5IC.js → CFPD5HGW.js} +1 -1
- package/dist/cdn/{MQIR4CZ4.js → CGN2BQTU.js} +1 -1
- package/dist/cdn/{DVWF3ZI2.js → CL3HYAJB.js} +1 -1
- package/dist/cdn/{ZB2IZQYA.js → CV32R3JN.js} +1 -1
- package/dist/cdn/{NS22DZHN.js → CX45KI3X.js} +1 -1
- package/dist/cdn/{4J5X3RUS.js → CZOM5NWO.js} +1 -1
- package/dist/cdn/{2X677DFU.js → CZQ2TKVF.js} +1 -1
- package/dist/cdn/{T6GHF2C6.js → D2EWOBIL.js} +1 -1
- package/dist/cdn/{GHJBVA4W.js → D4NEQTQR.js} +1 -1
- package/dist/cdn/{M5N2K22Y.js → D7X7YG2F.js} +1 -1
- package/dist/cdn/{CODEI67F.js → DKT2KG4V.js} +1 -1
- package/dist/cdn/{Y7LCZTZN.js → DMYMCGHJ.js} +1 -1
- package/dist/cdn/DQIOYHTH.js +2 -0
- package/dist/cdn/{QZ5LJH35.js → DSDPDMLP.js} +1 -1
- package/dist/cdn/{ERHYWMHC.js → DZWDOJZM.js} +1 -1
- package/dist/cdn/{M5K25M52.js → EAUDMHFA.js} +1 -1
- package/dist/cdn/{NDZTQ5ZP.js → EAWNLTVO.js} +1 -1
- package/dist/cdn/{EWCRUGKH.js → ECWWQI7V.js} +1 -1
- package/dist/cdn/{A76WBNBW.js → EESGZV4K.js} +1 -1
- package/dist/cdn/{I2BIPOZQ.js → EKR2SAT2.js} +2 -2
- package/dist/cdn/{526WYJC7.js → EKYJUYXH.js} +1 -1
- package/dist/cdn/{HGGXNI56.js → EOTKZ4F3.js} +1 -1
- package/dist/cdn/{MN5HTWFG.js → EQTOPYEM.js} +1 -1
- package/dist/cdn/{WMARZKLI.js → ER2RSSPF.js} +1 -1
- package/dist/cdn/{WQQBKYQP.js → ET4ZLYK5.js} +1 -1
- package/dist/cdn/{IZBEIVBQ.js → EXH7T4QA.js} +1 -1
- package/dist/cdn/{PSTY67SN.js → F4O7DFPZ.js} +1 -1
- package/dist/cdn/{UONIIMIO.js → FATDNJDN.js} +1 -1
- package/dist/cdn/{F6WCDCVZ.js → FFJCCMDZ.js} +1 -1
- package/dist/cdn/{MRLCJSMH.js → FHDODVXQ.js} +1 -1
- package/dist/cdn/{F4GSGW6P.js → FKKIIIIL.js} +1 -1
- package/dist/cdn/{4RUPG7KN.js → FKQMO7IP.js} +1 -1
- package/dist/cdn/FMBYMUUP.js +2 -0
- package/dist/cdn/{5X5STRNV.js → FNSGB45I.js} +1 -1
- package/dist/cdn/{ILQQNZAY.js → FPYAF2JF.js} +1 -1
- package/dist/cdn/{EK7HMUVN.js → FR6WQYRX.js} +1 -1
- package/dist/cdn/{INSKARCW.js → FRGKA6VF.js} +1 -1
- package/dist/cdn/{XR33HMFY.js → FSIR3Q5K.js} +1 -1
- package/dist/cdn/{Q4EDWHEQ.js → FUHDYY2C.js} +1 -1
- package/dist/cdn/G7BSJ3HI.js +2 -0
- package/dist/cdn/{H5IDCIGU.js → GF7RZ4IH.js} +1 -1
- package/dist/cdn/{2DB2WQZ2.js → GFHRW7Q3.js} +1 -1
- package/dist/cdn/{ERYQD36J.js → GJW3WBSJ.js} +1 -1
- package/dist/cdn/{BEAV4EJ5.js → GTRQNPQ7.js} +1 -1
- package/dist/cdn/{YMRXKAOB.js → GV3IXBBT.js} +1 -1
- package/dist/cdn/{3DRCMLE6.js → H4UVQDZP.js} +1 -1
- package/dist/cdn/{Y76FKVQF.js → H6664MSX.js} +1 -1
- package/dist/cdn/{6JQ33U5S.js → HDY2VVQT.js} +1 -1
- package/dist/cdn/{UMQLYM36.js → HL3NRTKO.js} +1 -1
- package/dist/cdn/{4XLFPSJA.js → HLGU3U73.js} +1 -1
- package/dist/cdn/{OSMCEUNX.js → HM52HZIP.js} +1 -1
- package/dist/cdn/{YEDKH6UB.js → HP3L6VCW.js} +1 -1
- package/dist/cdn/{QHVMGF72.js → HPDEHYUR.js} +1 -1
- package/dist/cdn/{TWCK5GSX.js → HWJFBZLB.js} +1 -1
- package/dist/cdn/{JFA3BQNT.js → HX4CDWS4.js} +1 -1
- package/dist/cdn/{3SU3DIGX.js → HZFVQECI.js} +1 -1
- package/dist/cdn/{PIVEKSAG.js → IDOS6KP5.js} +1 -1
- package/dist/cdn/{RWGOXXTN.js → IDXQSKKB.js} +1 -1
- package/dist/cdn/{BEUJMB3Y.js → IFMBHZHX.js} +1 -1
- package/dist/cdn/{XEPOSXGI.js → IHONRMLO.js} +1 -1
- package/dist/cdn/{XUMOMEIU.js → ILRRFR6A.js} +1 -1
- package/dist/cdn/{7JCDDJEO.js → IRZGEFF5.js} +1 -1
- package/dist/cdn/{F3I3X5LJ.js → IU7VNFYQ.js} +1 -1
- package/dist/cdn/{HJS42AP6.js → J6O4QZ4A.js} +1 -1
- package/dist/cdn/{JXXITWQ3.js → JBKQB24G.js} +1 -1
- package/dist/cdn/{5F5KCXDO.js → JGFXEJ2F.js} +1 -1
- package/dist/cdn/{7HYL6HZM.js → JMXO55BZ.js} +1 -1
- package/dist/cdn/{4UYEQJ5Q.js → JOUEH4P2.js} +1 -1
- package/dist/cdn/{RGYBVXLH.js → JPKB745U.js} +1 -1
- package/dist/cdn/{PX2NWKEU.js → JPV3UKED.js} +1 -1
- package/dist/cdn/{WIAVK47T.js → K63E6F2R.js} +1 -1
- package/dist/cdn/{KCSLK5X4.js → K6DG7Q2R.js} +1 -1
- package/dist/cdn/{JNNG6SGW.js → KBE3EGCX.js} +1 -1
- package/dist/cdn/{SSNCB7LI.js → KBHLE7HT.js} +1 -1
- package/dist/cdn/{PISCWAG5.js → KG75OVSI.js} +1 -1
- package/dist/cdn/{4HPOOW2U.js → KJ6TWPZT.js} +1 -1
- package/dist/cdn/{MVBMO6GU.js → KKMKYRXT.js} +1 -1
- package/dist/cdn/{TXCP3D4T.js → KM2GXXBO.js} +1 -1
- package/dist/cdn/{UHVGSQZX.js → KT6XHXWT.js} +1 -1
- package/dist/cdn/{6XE3DEYV.js → KVID3JTE.js} +1 -1
- package/dist/cdn/{ILB7T57D.js → KY3ND2AY.js} +1 -1
- package/dist/cdn/{UGZMQPKL.js → LE373OSG.js} +1 -1
- package/dist/cdn/{ZTJ5RKET.js → LL7R6ETJ.js} +1 -1
- package/dist/cdn/{4TV72DOP.js → LMFSC4DB.js} +1 -1
- package/dist/cdn/{RQ3C7MN3.js → LNVKGGEJ.js} +1 -1
- package/dist/cdn/{WO4RKS5X.js → LT6PQIWR.js} +1 -1
- package/dist/cdn/{UBRGB2BM.js → LVCLEIMR.js} +1 -1
- package/dist/cdn/{NST47N4L.js → LWXWJVPR.js} +1 -1
- package/dist/cdn/{VM22FCS7.js → M5SZ7IHC.js} +1 -1
- package/dist/cdn/{NUOVRUNM.js → M64WT6LH.js} +1 -1
- package/dist/cdn/MA3URN32.js +2 -0
- package/dist/cdn/{ORZZVKYZ.js → MPKC74OS.js} +1 -1
- package/dist/cdn/{SNMWKAFO.js → MTV7N4IX.js} +1 -1
- package/dist/cdn/{BAHKHMBR.js → MZO3OOLZ.js} +1 -1
- package/dist/cdn/{XJJQGFWN.js → N4MW5VBL.js} +1 -1
- package/dist/cdn/{X633YHFG.js → NAQIQCPU.js} +1 -1
- package/dist/cdn/{OC7FE4UI.js → NEGRFTGQ.js} +1 -1
- package/dist/cdn/{6G2OC6X3.js → NIZSEYT5.js} +1 -1
- package/dist/cdn/{7YB4E7JF.js → NWHZD76J.js} +1 -1
- package/dist/cdn/{DOURJ47L.js → O4HMFAR4.js} +1 -1
- package/dist/cdn/{DM7LIJDU.js → O57LOC52.js} +1 -1
- package/dist/cdn/{KCHYYDUK.js → O7Y5ESTY.js} +1 -1
- package/dist/cdn/{7MTVNJT6.js → ODRTGQPR.js} +1 -1
- package/dist/cdn/{JMKQ5ZE3.js → OGAUCGGG.js} +1 -1
- package/dist/cdn/{2KVWP7C2.js → OX55WUIT.js} +1 -1
- package/dist/cdn/{7NFLX5FY.js → OZRG346X.js} +1 -1
- package/dist/cdn/{HDZY2M4D.js → P2O4PYOD.js} +2 -2
- package/dist/cdn/{YIXQRLNL.js → PC227EUS.js} +1 -1
- package/dist/cdn/{XUUOPL4Q.js → Q22KIHFH.js} +1 -1
- package/dist/cdn/{NAIKAKHU.js → Q2RZMF4G.js} +1 -1
- package/dist/cdn/{EBF7F6FV.js → Q5FKIZZ2.js} +1 -1
- package/dist/cdn/{YL32ZRHM.js → Q6DDRM2O.js} +1 -1
- package/dist/cdn/{G5YUYYQA.js → QDXORLKV.js} +1 -1
- package/dist/cdn/{D2TVY2FV.js → QJWFZYU4.js} +1 -1
- package/dist/cdn/{I2BUUAYU.js → QRKOCGQA.js} +1 -1
- package/dist/cdn/{VZE75HIS.js → QULOCPMK.js} +1 -1
- package/dist/cdn/{CBB2T3RI.js → R2WT5JJH.js} +1 -1
- package/dist/cdn/{LK3YGRVI.js → RAOEF6YV.js} +1 -1
- package/dist/cdn/{EKRYB356.js → RKTSSP3O.js} +1 -1
- package/dist/cdn/{G4EYCW4W.js → RMIXX6DI.js} +1 -1
- package/dist/cdn/{I6UNOZIU.js → S62FQUEJ.js} +1 -1
- package/dist/cdn/{KHOIXBJX.js → S676FY5E.js} +1 -1
- package/dist/cdn/{2CLE72G4.js → SLMVVKZQ.js} +1 -1
- package/dist/cdn/{AB5ED2JR.js → SOFRKY5U.js} +1 -1
- package/dist/cdn/{RL5WBJH2.js → SREWXCMU.js} +1 -1
- package/dist/cdn/{VSUOUORA.js → STN7DK4L.js} +1 -1
- package/dist/cdn/{GQJMWPC4.js → SXK337TP.js} +1 -1
- package/dist/cdn/{7O4U5KJX.js → SZSNXJFV.js} +1 -1
- package/dist/cdn/{DN5C7ZD7.js → T3TH5DE4.js} +1 -1
- package/dist/cdn/{NCIDWMPT.js → U5RLZAPF.js} +1 -1
- package/dist/cdn/{NEK27Q3B.js → UARFO4JX.js} +1 -1
- package/dist/cdn/{6R4JCD5X.js → UDDCWU3X.js} +1 -1
- package/dist/cdn/{QAXZ4V3U.js → UQS5IGQW.js} +1 -1
- package/dist/cdn/{55MKAVVI.js → UVWYEW4V.js} +1 -1
- package/dist/cdn/{PSG5IQUE.js → UXDGVSAC.js} +1 -1
- package/dist/cdn/{XMP3WRQ6.js → UYATOYWO.js} +1 -1
- package/dist/cdn/{5YQC25ID.js → V2BYIBVC.js} +1 -1
- package/dist/cdn/{FZBSTBH3.js → V2TJMHWI.js} +1 -1
- package/dist/cdn/V7OEXGEA.js +2 -0
- package/dist/cdn/{RH5K6YB3.js → VCSX4G2U.js} +1 -1
- package/dist/cdn/{22FG37EV.js → VD6Y7E7L.js} +1 -1
- package/dist/cdn/{EZMCUVKV.js → VEAJ52RN.js} +1 -1
- package/dist/cdn/{I7NHERZ6.js → VEXLHNEH.js} +1 -1
- package/dist/cdn/{RXRZKDP2.js → VJE33ARY.js} +1 -1
- package/dist/cdn/{IZMOYSTQ.js → VLMEN6HE.js} +1 -1
- package/dist/cdn/{2DHCFLH6.js → VQVU72A5.js} +1 -1
- package/dist/cdn/{7XCYURYF.js → W3GAVPP4.js} +1 -1
- package/dist/cdn/{LY5JI6RG.js → W3IOUXYL.js} +1 -1
- package/dist/cdn/{MI5LCW2A.js → W3RMU7EH.js} +1 -1
- package/dist/cdn/{2H37ZCDJ.js → W6RTXUUX.js} +1 -1
- package/dist/cdn/{H53QNXP3.js → WCEDE4CZ.js} +1 -1
- package/dist/cdn/{FFX7NJUV.js → WE7CJG55.js} +1 -1
- package/dist/cdn/{R2XADTZ4.js → WIMFUYH2.js} +1 -1
- package/dist/cdn/{KDF33PNA.js → WOMTFWWS.js} +1 -1
- package/dist/cdn/{AETC4BXC.js → WTLDXS6T.js} +1 -1
- package/dist/cdn/{2ZC5OSXY.js → X34YVIZX.js} +1 -1
- package/dist/cdn/{TXYWZMGM.js → XAADUJ74.js} +1 -1
- package/dist/cdn/XH6FWHBJ.js +2 -0
- package/dist/cdn/{QMTJIBIF.js → XIYYT5SJ.js} +1 -1
- package/dist/cdn/{ZTIABCV6.js → XSC3MQIT.js} +1 -1
- package/dist/cdn/{5W3B6N7U.js → XTPRVANS.js} +1 -1
- package/dist/cdn/{MN3BQEFN.js → XXVFJB4L.js} +1 -1
- package/dist/cdn/{O6Q5GNQ5.js → Y2LELW5Y.js} +1 -1
- package/dist/cdn/YDB2XJRU.js +2 -0
- package/dist/cdn/{U3MXAIIV.js → YLC4L2QV.js} +1 -1
- package/dist/cdn/{WSJLW4KK.js → YOFYOEJW.js} +1 -1
- package/dist/cdn/{MJFEMHMA.js → YOUMOTN3.js} +1 -1
- package/dist/cdn/YP6QRP5H.js +2 -0
- package/dist/cdn/{JYFFD5QA.js → YPNGSV66.js} +1 -1
- package/dist/cdn/{EL7UV72L.js → YRIUMDYH.js} +1 -1
- package/dist/cdn/YWC5AUFV.js +2 -0
- package/dist/cdn/{WZZBK6H2.js → ZJY3JAZ5.js} +1 -1
- package/dist/cdn/{FEEOQGVI.js → ZOZAQOE6.js} +1 -1
- package/dist/cdn/{2AGPRFMG.js → ZPRBYWVQ.js} +1 -1
- package/dist/cdn/{MVML6D4K.js → ZRHQFLLR.js} +1 -1
- package/dist/cdn/{YPRBAWD7.js → ZSARJE6G.js} +1 -1
- package/dist/cdn/{OWJM7UDS.js → ZX7PM7DO.js} +1 -1
- package/dist/cdn/{K3KO5IH4.js → ZYUFPCJ4.js} +1 -1
- package/dist/cdn/assets/feature-form-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 +1 -1
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +3 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +154 -0
- package/dist/components/arcgis-attachment-preview/customElement.js +114 -0
- package/dist/components/arcgis-attachment-preview/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-preview/index.js +2 -0
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +9 -0
- package/dist/components/arcgis-attachment-thumbnail/customElement.js +15 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +3 -0
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +3 -0
- package/dist/components/arcgis-scene/customElement.d.ts +2 -2
- package/dist/components/arcgis-scene/customElement.js +4 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.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 +4 -0
- package/dist/loader.js +2 -1
- package/dist/types/lumina.d.ts +6 -1
- package/dist/types/preact.d.ts +7 -1
- package/dist/types/react.d.ts +8 -1
- package/dist/types/stencil.d.ts +6 -1
- package/package.json +6 -6
- package/dist/cdn/A6MTABTS.js +0 -2
- package/dist/cdn/CBFS3BEX.js +0 -2
- package/dist/cdn/CV6Q2BL5.js +0 -2
- package/dist/cdn/DRRHERCS.js +0 -2
- package/dist/cdn/G37JKMBJ.js +0 -2
- package/dist/cdn/IROZR6HA.js +0 -2
- package/dist/cdn/KEMBLOSU.js +0 -2
- package/dist/cdn/QPIPHZCB.js +0 -2
- package/dist/cdn/RVVE37BK.js +0 -2
- package/dist/cdn/WTONUAJ6.js +0 -2
- package/dist/cdn/YGXUS6KG.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
function l(i) {
|
|
3
3
|
const a = i.toLowerCase();
|
|
4
|
-
return a === "image/bmp" || a === "image/emf" || a === "image/exif" || a === "image/gif" || a === "image/x-icon" || a === "image/jpeg" || a === "image/png" || a === "image/tiff" || a === "image/x-wmf";
|
|
4
|
+
return a === "image/bmp" || a === "image/emf" || a === "image/exif" || a === "image/gif" || a === "image/x-icon" || a === "image/jpeg" || a === "image/png" || a === "image/tiff" || a === "image/x-wmf" || a === "image/avif";
|
|
5
5
|
}
|
|
6
6
|
function r(i) {
|
|
7
7
|
return i ? i === "text/plain" ? "file-text" : i === "application/pdf" ? "file-pdf" : i === "text/csv" ? "file-csv" : i === "application/gpx+xml" ? "file-gpx" : i === "application/x-dwf" ? "file-cad" : i === "application/postscript" || i === "application/json" || i === "text/xml" || i === "model/vrml" ? "file-code" : i === "application/x-zip-compressed" || i === "application/x-7z-compressed" || i === "application/x-gzip" || i === "application/x-tar" || i === "application/x-gtar" || i === "application/x-bzip2" || i === "application/gzip" || i === "application/x-compress" || i === "application/x-apple-diskimage" || i === "application/x-rar-compressed" || i === "application/zip" ? "file-zip" : i.includes("image/") ? "file-image" : i.includes("audio/") ? "file-sound" : i.includes("video/") ? "file-video" : i.includes("msexcel") || i.includes("ms-excel") || i.includes("spreadsheetml") ? "file-excel" : i.includes("msword") || i.includes("ms-word") || i.includes("wordprocessingml") ? "file-word" : i.includes("powerpoint") || i.includes("presentationml") ? "file-ppt" : "file" : "file";
|
|
@@ -30,6 +30,7 @@ export abstract class ArcgisAddAttachmentView extends LitElement {
|
|
|
30
30
|
fileToBeReplaced: string;
|
|
31
31
|
heading: string;
|
|
32
32
|
};
|
|
33
|
+
"attachment-preview": { noPreview: string; };
|
|
33
34
|
thumbnail: { fileTypes: {
|
|
34
35
|
"file-cad": string;
|
|
35
36
|
"file-code": string;
|
|
@@ -73,6 +74,7 @@ export abstract class ArcgisAddAttachmentView extends LitElement {
|
|
|
73
74
|
fileToBeReplaced: string;
|
|
74
75
|
heading: string;
|
|
75
76
|
};
|
|
77
|
+
"attachment-preview": { noPreview: string; };
|
|
76
78
|
thumbnail: { fileTypes: {
|
|
77
79
|
"file-cad": string;
|
|
78
80
|
"file-code": string;
|
|
@@ -126,6 +128,7 @@ export abstract class ArcgisAddAttachmentView extends LitElement {
|
|
|
126
128
|
fileToBeReplaced?: string | undefined;
|
|
127
129
|
heading?: string | undefined;
|
|
128
130
|
} | undefined;
|
|
131
|
+
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
129
132
|
thumbnail?: { fileTypes?: {
|
|
130
133
|
"file-cad"?: string | undefined;
|
|
131
134
|
"file-code"?: string | undefined;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type AttachmentInfo from "@arcgis/core/rest/query/support/AttachmentInfo.js";
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
+
import type { AttachmentElementInputLike as AttachmentThumbnailInput } from "../arcgis-attachment-thumbnail/customElement.js";
|
|
5
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Displays a preview of an attachment.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export abstract class ArcgisAttachmentPreview extends LitElement {
|
|
13
|
+
/** @internal */
|
|
14
|
+
protected _messages: {
|
|
15
|
+
componentLabel: string;
|
|
16
|
+
components: { attachments: {
|
|
17
|
+
"attachment-validation-view": { validations: {
|
|
18
|
+
errorFileUnsupported: string;
|
|
19
|
+
maximumAudioLength: string;
|
|
20
|
+
maximumImageSize: string;
|
|
21
|
+
maximumFileSize: string;
|
|
22
|
+
maximumNumberOfFiles: string;
|
|
23
|
+
maximumVideoLength: string;
|
|
24
|
+
minimumNumberOfFiles: string;
|
|
25
|
+
}; };
|
|
26
|
+
"add-attachment-view": {
|
|
27
|
+
captureMethodNotSupported: string;
|
|
28
|
+
fileToBeReplaced: string;
|
|
29
|
+
heading: string;
|
|
30
|
+
};
|
|
31
|
+
"attachment-preview": { noPreview: string; };
|
|
32
|
+
thumbnail: { fileTypes: {
|
|
33
|
+
"file-cad": string;
|
|
34
|
+
"file-code": string;
|
|
35
|
+
"file-csv": string;
|
|
36
|
+
"file-excel": string;
|
|
37
|
+
"file-gpx": string;
|
|
38
|
+
"file-image": string;
|
|
39
|
+
"file-pdf": string;
|
|
40
|
+
"file-ppt": string;
|
|
41
|
+
"file-sound": string;
|
|
42
|
+
"file-text": string;
|
|
43
|
+
"file-video": string;
|
|
44
|
+
"file-word": string;
|
|
45
|
+
"file-zip": string;
|
|
46
|
+
file: string;
|
|
47
|
+
}; };
|
|
48
|
+
}; };
|
|
49
|
+
units: { bytes: {
|
|
50
|
+
B: string;
|
|
51
|
+
kB: string;
|
|
52
|
+
MB: string;
|
|
53
|
+
GB: string;
|
|
54
|
+
TB: string;
|
|
55
|
+
}; };
|
|
56
|
+
differentValuesPlaceholder: string;
|
|
57
|
+
empty: string;
|
|
58
|
+
} & T9nMeta<{
|
|
59
|
+
componentLabel: string;
|
|
60
|
+
components: { attachments: {
|
|
61
|
+
"attachment-validation-view": { validations: {
|
|
62
|
+
errorFileUnsupported: string;
|
|
63
|
+
maximumAudioLength: string;
|
|
64
|
+
maximumImageSize: string;
|
|
65
|
+
maximumFileSize: string;
|
|
66
|
+
maximumNumberOfFiles: string;
|
|
67
|
+
maximumVideoLength: string;
|
|
68
|
+
minimumNumberOfFiles: string;
|
|
69
|
+
}; };
|
|
70
|
+
"add-attachment-view": {
|
|
71
|
+
captureMethodNotSupported: string;
|
|
72
|
+
fileToBeReplaced: string;
|
|
73
|
+
heading: string;
|
|
74
|
+
};
|
|
75
|
+
"attachment-preview": { noPreview: string; };
|
|
76
|
+
thumbnail: { fileTypes: {
|
|
77
|
+
"file-cad": string;
|
|
78
|
+
"file-code": string;
|
|
79
|
+
"file-csv": string;
|
|
80
|
+
"file-excel": string;
|
|
81
|
+
"file-gpx": string;
|
|
82
|
+
"file-image": string;
|
|
83
|
+
"file-pdf": string;
|
|
84
|
+
"file-ppt": string;
|
|
85
|
+
"file-sound": string;
|
|
86
|
+
"file-text": string;
|
|
87
|
+
"file-video": string;
|
|
88
|
+
"file-word": string;
|
|
89
|
+
"file-zip": string;
|
|
90
|
+
file: string;
|
|
91
|
+
}; };
|
|
92
|
+
}; };
|
|
93
|
+
units: { bytes: {
|
|
94
|
+
B: string;
|
|
95
|
+
kB: string;
|
|
96
|
+
MB: string;
|
|
97
|
+
GB: string;
|
|
98
|
+
TB: string;
|
|
99
|
+
}; };
|
|
100
|
+
differentValuesPlaceholder: string;
|
|
101
|
+
empty: string;
|
|
102
|
+
}>;
|
|
103
|
+
accessor attachment: AttachmentInfo | undefined;
|
|
104
|
+
accessor input: AttachmentElementInputLike | undefined;
|
|
105
|
+
accessor messageOverrides: {
|
|
106
|
+
componentLabel?: string | undefined;
|
|
107
|
+
components?: { attachments?: {
|
|
108
|
+
"attachment-validation-view"?: { validations?: {
|
|
109
|
+
errorFileUnsupported?: string | undefined;
|
|
110
|
+
maximumAudioLength?: string | undefined;
|
|
111
|
+
maximumImageSize?: string | undefined;
|
|
112
|
+
maximumFileSize?: string | undefined;
|
|
113
|
+
maximumNumberOfFiles?: string | undefined;
|
|
114
|
+
maximumVideoLength?: string | undefined;
|
|
115
|
+
minimumNumberOfFiles?: string | undefined;
|
|
116
|
+
} | undefined; } | undefined;
|
|
117
|
+
"add-attachment-view"?: {
|
|
118
|
+
captureMethodNotSupported?: string | undefined;
|
|
119
|
+
fileToBeReplaced?: string | undefined;
|
|
120
|
+
heading?: string | undefined;
|
|
121
|
+
} | undefined;
|
|
122
|
+
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
123
|
+
thumbnail?: { fileTypes?: {
|
|
124
|
+
"file-cad"?: string | undefined;
|
|
125
|
+
"file-code"?: string | undefined;
|
|
126
|
+
"file-csv"?: string | undefined;
|
|
127
|
+
"file-excel"?: string | undefined;
|
|
128
|
+
"file-gpx"?: string | undefined;
|
|
129
|
+
"file-image"?: string | undefined;
|
|
130
|
+
"file-pdf"?: string | undefined;
|
|
131
|
+
"file-ppt"?: string | undefined;
|
|
132
|
+
"file-sound"?: string | undefined;
|
|
133
|
+
"file-text"?: string | undefined;
|
|
134
|
+
"file-video"?: string | undefined;
|
|
135
|
+
"file-word"?: string | undefined;
|
|
136
|
+
"file-zip"?: string | undefined;
|
|
137
|
+
file?: string | undefined;
|
|
138
|
+
} | undefined; } | undefined;
|
|
139
|
+
} | undefined; } | undefined;
|
|
140
|
+
units?: { bytes?: {
|
|
141
|
+
B?: string | undefined;
|
|
142
|
+
kB?: string | undefined;
|
|
143
|
+
MB?: string | undefined;
|
|
144
|
+
GB?: string | undefined;
|
|
145
|
+
TB?: string | undefined;
|
|
146
|
+
} | undefined; } | undefined;
|
|
147
|
+
differentValuesPlaceholder?: string | undefined;
|
|
148
|
+
empty?: string | undefined;
|
|
149
|
+
};
|
|
150
|
+
pause(): void;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export type AttachmentElementInputLike = AttachmentThumbnailInput;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as l, html as r } from "lit";
|
|
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 d } from "../../chunks/useT9n.js";
|
|
7
|
+
const m = 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 u extends h {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this._messages = d({ blocking: !0, name: "feature-form-next" }), this._attachment = void 0, this._input = void 0, this._hasError = !1, this.previewType = "none", this.url = void 0;
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
this.properties = { _hasError: 16, previewType: 16, url: 16, attachment: 0, input: 0, messageOverrides: 0 };
|
|
14
|
+
}
|
|
15
|
+
static {
|
|
16
|
+
this.styles = m;
|
|
17
|
+
}
|
|
18
|
+
get _altText() {
|
|
19
|
+
const { attachment: e, input: t } = this;
|
|
20
|
+
return !e || !t ? "" : e.name;
|
|
21
|
+
}
|
|
22
|
+
get attachment() {
|
|
23
|
+
return this._attachment;
|
|
24
|
+
}
|
|
25
|
+
set attachment(e) {
|
|
26
|
+
this._attachment !== e && (this._attachment = e, this.#e());
|
|
27
|
+
}
|
|
28
|
+
get input() {
|
|
29
|
+
return this._input;
|
|
30
|
+
}
|
|
31
|
+
set input(e) {
|
|
32
|
+
e !== this._input && (this._input = e, this.#e());
|
|
33
|
+
}
|
|
34
|
+
pause() {
|
|
35
|
+
this._mediaElement?.deref()?.pause();
|
|
36
|
+
}
|
|
37
|
+
connectedCallback() {
|
|
38
|
+
super.connectedCallback(), this.#e();
|
|
39
|
+
}
|
|
40
|
+
disconnectedCallback() {
|
|
41
|
+
const e = this._mediaElement?.deref();
|
|
42
|
+
super.disconnectedCallback(), this._cleanupMediaElement(e), this.previewType = "none";
|
|
43
|
+
}
|
|
44
|
+
#e() {
|
|
45
|
+
this._hasError = !1;
|
|
46
|
+
const { _attachment: e, _input: t } = this;
|
|
47
|
+
if (!e || !t) {
|
|
48
|
+
this.previewType = "none", this.url = void 0;
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const i = e.contentType?.split("/").at(0);
|
|
52
|
+
switch (i) {
|
|
53
|
+
case "image":
|
|
54
|
+
this.url = t.getAttachmentPreviewUrl(e) ?? e.url ?? void 0, this.previewType = "image";
|
|
55
|
+
return;
|
|
56
|
+
case "video":
|
|
57
|
+
case "audio":
|
|
58
|
+
this.url = e.url ?? void 0, this.previewType = i;
|
|
59
|
+
return;
|
|
60
|
+
default:
|
|
61
|
+
this.previewType = "none", this.url = void 0;
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
_handlePreviewError(e) {
|
|
66
|
+
e.stopPropagation(), this._hasError = !0;
|
|
67
|
+
}
|
|
68
|
+
_cleanupMediaElement(e) {
|
|
69
|
+
e?.pause(), e?.removeAttribute("src"), e?.load(), this._mediaElement = void 0;
|
|
70
|
+
}
|
|
71
|
+
_setMediaElementRef(e) {
|
|
72
|
+
this._mediaElement = e ? new WeakRef(e) : void 0;
|
|
73
|
+
}
|
|
74
|
+
#t() {
|
|
75
|
+
return r`<div class="thumbnail-container"><arcgis-attachment-thumbnail icon-only .attachment=${this.attachment} .input=${this.input} visual-scale=m></arcgis-attachment-thumbnail><div>${this._messages.components.attachments["attachment-preview"].noPreview}</div></div>`;
|
|
76
|
+
}
|
|
77
|
+
#i() {
|
|
78
|
+
const { url: e, _altText: t } = this;
|
|
79
|
+
return r`<img src=${e ?? s} alt=${t ?? "" ?? s} data-testid=preview-element @error=${this._handlePreviewError}>`;
|
|
80
|
+
}
|
|
81
|
+
#r(e) {
|
|
82
|
+
const { url: t, _altText: i } = this;
|
|
83
|
+
return r`<audio src=${o(t) ?? s} controls preload=none .ariaLabel=${i} data-testid=preview-element @error=${this._handlePreviewError} ${n(this._setMediaElementRef)}>${e}</audio>`;
|
|
84
|
+
}
|
|
85
|
+
#a(e) {
|
|
86
|
+
const { url: t, _altText: i } = this;
|
|
87
|
+
return r`<video src=${o(t) ?? s} controls preload=none .muted=${!0} .ariaLabel=${i} data-testid=preview-element @error=${this._handlePreviewError} ${n(this._setMediaElementRef)}>${e}</video>`;
|
|
88
|
+
}
|
|
89
|
+
render() {
|
|
90
|
+
const { previewType: e, _hasError: t } = this, i = this.#t();
|
|
91
|
+
if (t)
|
|
92
|
+
return r`<div class="lightbox">${i}</div>`;
|
|
93
|
+
let a = i;
|
|
94
|
+
switch (e) {
|
|
95
|
+
case "audio":
|
|
96
|
+
a = this.#r(i);
|
|
97
|
+
break;
|
|
98
|
+
case "video":
|
|
99
|
+
a = this.#a(i);
|
|
100
|
+
break;
|
|
101
|
+
case "image":
|
|
102
|
+
a = this.#i();
|
|
103
|
+
break;
|
|
104
|
+
default:
|
|
105
|
+
a = i;
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
return r`<div class="lightbox">${a}</div>`;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
c("arcgis-attachment-preview", u);
|
|
112
|
+
export {
|
|
113
|
+
u as ArcgisAttachmentPreview
|
|
114
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -31,6 +31,7 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
31
31
|
fileToBeReplaced: string;
|
|
32
32
|
heading: string;
|
|
33
33
|
};
|
|
34
|
+
"attachment-preview": { noPreview: string; };
|
|
34
35
|
thumbnail: { fileTypes: {
|
|
35
36
|
"file-cad": string;
|
|
36
37
|
"file-code": string;
|
|
@@ -74,6 +75,7 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
74
75
|
fileToBeReplaced: string;
|
|
75
76
|
heading: string;
|
|
76
77
|
};
|
|
78
|
+
"attachment-preview": { noPreview: string; };
|
|
77
79
|
thumbnail: { fileTypes: {
|
|
78
80
|
"file-cad": string;
|
|
79
81
|
"file-code": string;
|
|
@@ -102,6 +104,12 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
102
104
|
empty: string;
|
|
103
105
|
}>;
|
|
104
106
|
accessor attachment: AttachmentInfo | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Optionally skip any attempt to load a preview. Used to support situations where the thumbnail is a fallback for a failed-to-load preview image.
|
|
109
|
+
*
|
|
110
|
+
* @default false
|
|
111
|
+
*/
|
|
112
|
+
accessor iconOnly: boolean;
|
|
105
113
|
accessor input: AttachmentElementInputLike | undefined;
|
|
106
114
|
accessor messageOverrides: {
|
|
107
115
|
componentLabel?: string | undefined;
|
|
@@ -120,6 +128,7 @@ export abstract class ArcgisAttachmentThumbnail extends LitElement {
|
|
|
120
128
|
fileToBeReplaced?: string | undefined;
|
|
121
129
|
heading?: string | undefined;
|
|
122
130
|
} | undefined;
|
|
131
|
+
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
123
132
|
thumbnail?: { fileTypes?: {
|
|
124
133
|
"file-cad"?: string | undefined;
|
|
125
134
|
"file-code"?: string | undefined;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as m, html as a } from "lit";
|
|
4
4
|
import { LitElement as o, safeClassMap as u, nothing as s } from "@arcgis/lumina";
|
|
5
5
|
import { u as g } from "../../chunks/useT9n.js";
|
|
6
6
|
import { g as p, i as _ } from "../../chunks/attachment-utils.js";
|
|
7
|
-
const d =
|
|
7
|
+
const d = m`:host{display:contents;--arcgis-internal-attachment-thumbnail-size: 32px}img{object-fit:contain;width:var(--arcgis-internal-attachment-thumbnail-size);height:var(--arcgis-internal-attachment-thumbnail-size)}.icon-xl{scale:2;translate:50%}.icon-xl:dir(rtl){translate:-50%}.container{box-sizing:border-box;display:flex;align-items:center;justify-items:center;border-radius:var(--calcite-corner-radius-xs);overflow:clip;width:var(--arcgis-internal-attachment-thumbnail-size);height:var(--arcgis-internal-attachment-thumbnail-size)}.scale-s{--arcgis-internal-attachment-thumbnail-size: 16px}.scale-m{--arcgis-internal-attachment-thumbnail-size: 32px}.scale-l{--arcgis-internal-attachment-thumbnail-size: 64px}`;
|
|
8
8
|
class f extends o {
|
|
9
9
|
constructor() {
|
|
10
|
-
super(...arguments), this._messages = g({ blocking: !0, name: "feature-form-next" }), this._attachment = void 0, this._input = void 0, this._hasImageError = !1, this._resolvedImageUrl = void 0, this.skipFilenameAlt = !1, this.visualScale = "m";
|
|
10
|
+
super(...arguments), this._messages = g({ blocking: !0, name: "feature-form-next" }), this._attachment = void 0, this._input = void 0, this._iconOnly = !1, this._hasImageError = !1, this._resolvedImageUrl = void 0, this.skipFilenameAlt = !1, this.visualScale = "m";
|
|
11
11
|
}
|
|
12
12
|
static {
|
|
13
|
-
this.properties = { _hasImageError: 16, _resolvedImageUrl: 16, _iconName: 16, attachment: 0, input: 0, skipFilenameAlt: 5, messageOverrides: 0, visualScale: 1 };
|
|
13
|
+
this.properties = { _hasImageError: 16, _resolvedImageUrl: 16, _iconName: 16, attachment: 0, input: 0, skipFilenameAlt: 5, messageOverrides: 0, visualScale: 1, iconOnly: 5 };
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.styles = d;
|
|
@@ -46,6 +46,12 @@ class f extends o {
|
|
|
46
46
|
get input() {
|
|
47
47
|
return this._input;
|
|
48
48
|
}
|
|
49
|
+
get iconOnly() {
|
|
50
|
+
return this._iconOnly;
|
|
51
|
+
}
|
|
52
|
+
set iconOnly(t) {
|
|
53
|
+
t !== this._iconOnly && (this._iconOnly = t, this._reprocessThumbnail());
|
|
54
|
+
}
|
|
49
55
|
_reprocessThumbnail() {
|
|
50
56
|
this._hasImageError = !1;
|
|
51
57
|
const { _attachment: t, _input: e } = this;
|
|
@@ -53,17 +59,17 @@ class f extends o {
|
|
|
53
59
|
this._resolvedImageUrl = void 0, this._iconName = void 0;
|
|
54
60
|
return;
|
|
55
61
|
}
|
|
56
|
-
this._iconName = p(t.contentType), _(t.contentType) ? this._resolvedImageUrl = this.input?.getAttachmentPreviewUrl(t, this._imageDimensions * 2) ?? void 0 : this._resolvedImageUrl = "";
|
|
62
|
+
this._iconName = p(t.contentType), !this.iconOnly && _(t.contentType) ? this._resolvedImageUrl = this.input?.getAttachmentPreviewUrl(t, this._imageDimensions * 2) ?? void 0 : this._resolvedImageUrl = "";
|
|
57
63
|
}
|
|
58
64
|
_handleImageError(t) {
|
|
59
65
|
t.stopPropagation(), this._hasImageError = !0;
|
|
60
66
|
}
|
|
61
67
|
render() {
|
|
62
|
-
const { _hasImageError: t, _resolvedImageUrl: e, _altText:
|
|
63
|
-
return
|
|
68
|
+
const { _hasImageError: t, _resolvedImageUrl: e, _altText: i, _iconName: r, visualScale: n, _effectiveScale: l } = this, c = t || !e;
|
|
69
|
+
return a`<div data-testid=thumbnail-container class=${`container scale-${n}`}>${c ? a`<calcite-icon class=${u({ "icon-xl": n === "l" })} data-testid=thumbnail-icon .icon=${r ?? "file"} .scale=${l} .textLabel=${i}></calcite-icon>` : a`<img alt=${i ?? s} title=${i ?? s} src=${e ?? s} @error=${this._handleImageError}>`}</div>`;
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
|
-
|
|
72
|
+
h("arcgis-attachment-thumbnail", f);
|
|
67
73
|
export {
|
|
68
74
|
f as ArcgisAttachmentThumbnail
|
|
69
75
|
};
|
|
@@ -27,6 +27,7 @@ export abstract class ArcgisAttachmentValidationView extends LitElement {
|
|
|
27
27
|
fileToBeReplaced: string;
|
|
28
28
|
heading: string;
|
|
29
29
|
};
|
|
30
|
+
"attachment-preview": { noPreview: string; };
|
|
30
31
|
thumbnail: { fileTypes: {
|
|
31
32
|
"file-cad": string;
|
|
32
33
|
"file-code": string;
|
|
@@ -70,6 +71,7 @@ export abstract class ArcgisAttachmentValidationView extends LitElement {
|
|
|
70
71
|
fileToBeReplaced: string;
|
|
71
72
|
heading: string;
|
|
72
73
|
};
|
|
74
|
+
"attachment-preview": { noPreview: string; };
|
|
73
75
|
thumbnail: { fileTypes: {
|
|
74
76
|
"file-cad": string;
|
|
75
77
|
"file-code": string;
|
|
@@ -117,6 +119,7 @@ export abstract class ArcgisAttachmentValidationView extends LitElement {
|
|
|
117
119
|
fileToBeReplaced?: string | undefined;
|
|
118
120
|
heading?: string | undefined;
|
|
119
121
|
} | undefined;
|
|
122
|
+
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
120
123
|
thumbnail?: { fileTypes?: {
|
|
121
124
|
"file-cad"?: string | undefined;
|
|
122
125
|
"file-code"?: string | undefined;
|
|
@@ -23,6 +23,7 @@ export abstract class ArcgisFeatureFormField extends LitElement {
|
|
|
23
23
|
fileToBeReplaced: string;
|
|
24
24
|
heading: string;
|
|
25
25
|
};
|
|
26
|
+
"attachment-preview": { noPreview: string; };
|
|
26
27
|
thumbnail: { fileTypes: {
|
|
27
28
|
"file-cad": string;
|
|
28
29
|
"file-code": string;
|
|
@@ -66,6 +67,7 @@ export abstract class ArcgisFeatureFormField extends LitElement {
|
|
|
66
67
|
fileToBeReplaced: string;
|
|
67
68
|
heading: string;
|
|
68
69
|
};
|
|
70
|
+
"attachment-preview": { noPreview: string; };
|
|
69
71
|
thumbnail: { fileTypes: {
|
|
70
72
|
"file-cad": string;
|
|
71
73
|
"file-code": string;
|
|
@@ -118,6 +120,7 @@ export abstract class ArcgisFeatureFormField extends LitElement {
|
|
|
118
120
|
fileToBeReplaced?: string | undefined;
|
|
119
121
|
heading?: string | undefined;
|
|
120
122
|
} | undefined;
|
|
123
|
+
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
121
124
|
thumbnail?: { fileTypes?: {
|
|
122
125
|
"file-cad"?: string | undefined;
|
|
123
126
|
"file-code"?: string | undefined;
|
|
@@ -13,6 +13,7 @@ import type FocusAreas from "@arcgis/core/effects/FocusAreas.js";
|
|
|
13
13
|
import type Basemap from "@arcgis/core/Basemap.js";
|
|
14
14
|
import type Map from "@arcgis/core/Map.js";
|
|
15
15
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
16
|
+
import type Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
16
17
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
17
18
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
18
19
|
import type Extent from "@arcgis/core/geometry/Extent.js";
|
|
@@ -29,7 +30,6 @@ import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
|
29
30
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
30
31
|
import type Theme from "@arcgis/core/views/Theme.js";
|
|
31
32
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
32
|
-
import type Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
33
33
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
34
34
|
import type { LoadErrorSource } from "../types.js";
|
|
35
35
|
import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
@@ -982,7 +982,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
982
982
|
* @see [Sample: SceneView - visibleArea](https://developers.arcgis.com/javascript/latest/sample-code/sceneview-visible-area/)
|
|
983
983
|
* @see [extent](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#extent)
|
|
984
984
|
*/
|
|
985
|
-
get visibleArea():
|
|
985
|
+
get visibleArea(): null | undefined | Polygon;
|
|
986
986
|
/**
|
|
987
987
|
* Represents the level of detail (LOD) at the center of the view.
|
|
988
988
|
*
|
|
@@ -18,7 +18,7 @@ import { d as R, e as P, b as A, c as M, p as D, i as I } from "../../chunks/com
|
|
|
18
18
|
const S = w(g, {}), k = w(u, {});
|
|
19
19
|
class F extends d {
|
|
20
20
|
constructor() {
|
|
21
|
-
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = S(this), this.view = k(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.focusRegionEnabled = this.view.focusRegionEnabled, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.viewingMode = this.view.viewingMode, this.
|
|
21
|
+
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = S(this), this.view = k(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.focusRegionEnabled = this.view.focusRegionEnabled, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.viewingMode = this.view.viewingMode, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewFocusRegionSelect = t(() => this.view, "focus-region-select"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), C(this), this.view.ui = {
|
|
22
22
|
components: []
|
|
23
23
|
};
|
|
24
24
|
}
|
|
@@ -168,6 +168,9 @@ class F extends d {
|
|
|
168
168
|
set viewpoint(i) {
|
|
169
169
|
I(this.viewpoint, i) && (this.view.viewpoint = i);
|
|
170
170
|
}
|
|
171
|
+
get visibleArea() {
|
|
172
|
+
return this.view.visibleArea;
|
|
173
|
+
}
|
|
171
174
|
get zoom() {
|
|
172
175
|
return this.view.zoom;
|
|
173
176
|
}
|