@arcgis/map-components 5.0.0-next.95 → 5.0.0-next.97
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/{PYUUPENQ.js → 23IQWN6P.js} +2 -2
- package/dist/cdn/{CMXTUU35.js → 24LV7OWS.js} +2 -2
- package/dist/cdn/{J2UIB5XC.js → 24QJAXEY.js} +2 -2
- package/dist/cdn/{G3EFFV27.js → 25BAQLQE.js} +1 -1
- package/dist/cdn/{B37SSQNT.js → 2APVFB2Y.js} +2 -2
- package/dist/cdn/{7POS2EGD.js → 2DNALKBZ.js} +2 -2
- package/dist/cdn/{R6WX2YAU.js → 2DRCWTIC.js} +2 -2
- package/dist/cdn/{GRQLN2XE.js → 2NUV3GCT.js} +2 -2
- package/dist/cdn/{JYHK7DOM.js → 2U7B3MGR.js} +2 -2
- package/dist/cdn/{Y3N6UGXY.js → 2YKE3752.js} +2 -2
- package/dist/cdn/{HP7JDYA2.js → 2YS5NMMK.js} +2 -2
- package/dist/cdn/{PYPRUXUW.js → 34OR4C26.js} +2 -2
- package/dist/cdn/{CMF7GRQR.js → 35B5TLZR.js} +2 -2
- package/dist/cdn/{SKAM5IIB.js → 35ODREWU.js} +2 -2
- package/dist/cdn/{NHOGXB6I.js → 367TXU7E.js} +2 -2
- package/dist/cdn/{T5D7NGSS.js → 37YVBFHX.js} +2 -2
- package/dist/cdn/{DNLVST7T.js → 3BT4BVMM.js} +2 -2
- package/dist/cdn/{2OZ542LG.js → 3NEYISDK.js} +2 -2
- package/dist/cdn/{N6GYAFDY.js → 3QOLDEQT.js} +2 -2
- package/dist/cdn/{4UCTGUKZ.js → 3S4YYB5V.js} +2 -2
- package/dist/cdn/{ZKIAL5FI.js → 3SNE44XH.js} +2 -2
- package/dist/cdn/{DBPE7ZMC.js → 3SWCEQHP.js} +2 -2
- package/dist/cdn/{3BPU4YK5.js → 3U3BVGJE.js} +2 -2
- package/dist/cdn/{VHQLIOUY.js → 44SPSND4.js} +2 -2
- package/dist/cdn/{F4KJZP52.js → 466CNX7U.js} +2 -2
- package/dist/cdn/{7WS7CGON.js → 47RE5AIF.js} +2 -2
- package/dist/cdn/{VYAAHXIM.js → 4AV2GXSL.js} +1 -1
- package/dist/cdn/{SI3S3YNX.js → 4EH6HFUR.js} +2 -2
- package/dist/cdn/{T6H2JBV6.js → 4MHHFEON.js} +2 -2
- package/dist/cdn/{BJTFOOSY.js → 4MPXICUP.js} +2 -2
- package/dist/cdn/{36ERNOGL.js → 4RSZZ74M.js} +2 -2
- package/dist/cdn/{JNOXFAU2.js → 4VXGNQCN.js} +2 -2
- package/dist/cdn/{LN5TNHHH.js → 5EECQQSH.js} +2 -2
- package/dist/cdn/{NB4K2Z5F.js → 5JS7NXMU.js} +2 -2
- package/dist/cdn/{KBZL6D4M.js → 5MIWHCZ3.js} +2 -2
- package/dist/cdn/{KK6QUO4I.js → 5PI6PBFT.js} +2 -2
- package/dist/cdn/{BZVF25R6.js → 5V5U4YGF.js} +2 -2
- package/dist/cdn/{O3MZ6VL7.js → 66A4Q24B.js} +2 -2
- package/dist/cdn/{WMXBSBO6.js → 67HJ2Z2O.js} +2 -2
- package/dist/cdn/{BQIBNELV.js → 6JWSNQL6.js} +2 -2
- package/dist/cdn/{QBX3SMHQ.js → 6P6GJW4W.js} +1 -1
- package/dist/cdn/{SNPB3VPN.js → 6SS37TQV.js} +2 -2
- package/dist/cdn/{EX2U7HMY.js → 6T4ITO6A.js} +2 -2
- package/dist/cdn/{HKLTH5WB.js → 6XDLD4KQ.js} +2 -2
- package/dist/cdn/{VQKQQCFW.js → 77LD2P4J.js} +2 -2
- package/dist/cdn/{BP3VU3TI.js → 7BGXTY4J.js} +2 -2
- package/dist/cdn/{JO35RC4U.js → 7BTCK3KT.js} +2 -2
- package/dist/cdn/{OCGT37AH.js → 7ES5KG3I.js} +2 -2
- package/dist/cdn/{QQ3UJJYK.js → 7HJC7F22.js} +2 -2
- package/dist/cdn/{GXYBVVDN.js → 7OXWBYQF.js} +2 -2
- package/dist/cdn/{W6E6ZTTT.js → 7R5MGPO7.js} +2 -2
- package/dist/cdn/{IQWMBQLQ.js → 7TWFXZCB.js} +2 -2
- package/dist/cdn/{TP3FPHEI.js → A2BADTQF.js} +2 -2
- package/dist/cdn/{X2SHQ2FC.js → ACLQ7RH2.js} +2 -2
- package/dist/cdn/{QXST5JP4.js → AD3RPI4C.js} +2 -2
- package/dist/cdn/{IQYTRPQ2.js → AJIAVJX5.js} +2 -2
- package/dist/cdn/{JI5EBBCD.js → AKLK2L47.js} +2 -2
- package/dist/cdn/{DP4SNVJM.js → ATUDOH54.js} +2 -2
- package/dist/cdn/{ES5HS3ZB.js → AVVKE5J4.js} +2 -2
- package/dist/cdn/{JV4PCIST.js → AWERB4XQ.js} +2 -2
- package/dist/cdn/{2V2GLSV4.js → B2467J7F.js} +2 -2
- package/dist/cdn/{NJY2PUGP.js → B26ROOG3.js} +2 -2
- package/dist/cdn/{QS6HFQNH.js → B65VXX2Y.js} +2 -2
- package/dist/cdn/{GZF5BMPX.js → BDSG7MKU.js} +2 -2
- package/dist/cdn/BHTWVO7R.js +4 -0
- package/dist/cdn/{SNPTFS6H.js → BIVKJILW.js} +2 -2
- package/dist/cdn/{RZQJIQAQ.js → CCY4HPPF.js} +1 -1
- package/dist/cdn/{IMONGMVI.js → CP2RQPXW.js} +2 -2
- package/dist/cdn/{JQ7PV4B6.js → D2HK2Z3I.js} +2 -2
- package/dist/cdn/{NT7FXM5P.js → D4SU3PMN.js} +2 -2
- package/dist/cdn/{3DXHWHAI.js → D5OSJTTD.js} +2 -2
- package/dist/cdn/{LBPQE6VF.js → DANH2FGX.js} +2 -2
- package/dist/cdn/{MF2KJEFV.js → DRGX24AI.js} +1 -1
- package/dist/cdn/{WG5XMYIW.js → DY24VYMM.js} +2 -2
- package/dist/cdn/{LUI65ERH.js → EAYNL77W.js} +2 -2
- package/dist/cdn/{3KM2O7BZ.js → EHTXG3AD.js} +2 -2
- package/dist/cdn/{TJXXUQX2.js → EQBVWSQF.js} +2 -2
- package/dist/cdn/{KXGNFM2F.js → ERD6XSY7.js} +2 -2
- package/dist/cdn/{36GCBVQY.js → FCODLLLS.js} +2 -2
- package/dist/cdn/{IQGPJA6N.js → FF7CWK7M.js} +2 -2
- package/dist/cdn/{5RJMBI6A.js → FJ4GLQ5Y.js} +2 -2
- package/dist/cdn/{I73TZOM7.js → FSYLQ2WK.js} +2 -2
- package/dist/cdn/{JC4QRDXA.js → G364P3RJ.js} +2 -2
- package/dist/cdn/{GPB7AM7V.js → G3JAFIOU.js} +3 -3
- package/dist/cdn/{AWZVNGSO.js → G4CT2VXR.js} +2 -2
- package/dist/cdn/{DQI6G43Q.js → G5H4IVRO.js} +1 -1
- package/dist/cdn/{ALKW6LY6.js → G67RCGEA.js} +2 -2
- package/dist/cdn/{IRLQEWFK.js → G6A74MUL.js} +2 -2
- package/dist/cdn/{JDBCK7XT.js → G7HKWVBC.js} +2 -2
- package/dist/cdn/{CTH4TNHF.js → G7K5M67L.js} +2 -2
- package/dist/cdn/{SOWB7EUZ.js → GHHRPO6P.js} +2 -2
- package/dist/cdn/{3QWHR4XL.js → GHWYJMEG.js} +2 -2
- package/dist/cdn/{WZT5AB42.js → GU6WATJQ.js} +2 -2
- package/dist/cdn/{J4525K5P.js → GUPMSJZM.js} +2 -2
- package/dist/cdn/{QQVHH3A3.js → GUYUTB3Q.js} +2 -2
- package/dist/cdn/{XMDENUG7.js → GYPWQXWM.js} +2 -2
- package/dist/cdn/H47CXRWV.js +4 -0
- package/dist/cdn/{BPAA5SY7.js → H5SQ36RW.js} +2 -2
- package/dist/cdn/{LP6SWXLV.js → HGQ5AM7A.js} +2 -2
- package/dist/cdn/{2JIA43CV.js → HKFFWG7K.js} +2 -2
- package/dist/cdn/{TUZGYWAC.js → HKGGO2YM.js} +2 -2
- package/dist/cdn/{CIMLJ74H.js → HLN3LO47.js} +2 -2
- package/dist/cdn/{QKQSIIVK.js → HNTIEY25.js} +2 -2
- package/dist/cdn/{CXWOTMUB.js → HPYGJKZH.js} +2 -2
- package/dist/cdn/{SWFGGHDV.js → HT2YWNSL.js} +2 -2
- package/dist/cdn/{MRQQUWCR.js → HXHOX65U.js} +1 -1
- package/dist/cdn/{55KQI2K2.js → I4LRAOFO.js} +2 -2
- package/dist/cdn/{73RRPEOX.js → I4QELTDC.js} +2 -2
- package/dist/cdn/{S3JIHRTV.js → IJLIMVRO.js} +2 -2
- package/dist/cdn/{HM3ZXFQQ.js → IN6XV2YB.js} +2 -2
- package/dist/cdn/{7B7WUMCQ.js → IRG4ZJLQ.js} +2 -2
- package/dist/cdn/{4LIWQNR5.js → IU5FGMOA.js} +2 -2
- package/dist/cdn/{XQGNFDO4.js → IYF5IEIC.js} +2 -2
- package/dist/cdn/{WNXSQY2L.js → J4W6WRRM.js} +2 -2
- package/dist/cdn/{FHU5IUQF.js → J7XRXZGX.js} +2 -2
- package/dist/cdn/{YVQKAQV6.js → JAM6HIZ2.js} +2 -2
- package/dist/cdn/{SAODMA4S.js → JITN4LRX.js} +2 -2
- package/dist/cdn/{R5VR7WVB.js → JVI2EGLB.js} +2 -2
- package/dist/cdn/{M4WPXKE6.js → K7SKIUXL.js} +2 -2
- package/dist/cdn/{BQKR5GKP.js → KEQ5XIE6.js} +2 -2
- package/dist/cdn/{GCQ2232K.js → KHAMKR6F.js} +2 -2
- package/dist/cdn/{DFKDQ7T2.js → KLYRI7B6.js} +2 -2
- package/dist/cdn/{TPSYETWS.js → KOEWPJWX.js} +2 -2
- package/dist/cdn/{VWQPLP6J.js → KOWVN2VK.js} +2 -2
- package/dist/cdn/{KMIGBAPU.js → KRXHEWNQ.js} +2 -2
- package/dist/cdn/{ZMKI3K3W.js → KTJ4YGLQ.js} +2 -2
- package/dist/cdn/{LAXJHXF6.js → LGM4474T.js} +2 -2
- package/dist/cdn/{J4YWBA42.js → LIYSS3BA.js} +2 -2
- package/dist/cdn/{HPU5ZBJX.js → LPGJL5YA.js} +2 -2
- package/dist/cdn/{YZCKECQH.js → LRVXB6JS.js} +2 -2
- package/dist/cdn/{SVS26UVY.js → LRWMBJRO.js} +2 -2
- package/dist/cdn/{MNMRFQYE.js → LUT7FHBB.js} +2 -2
- package/dist/cdn/{DPN77VOB.js → LVKVXCX6.js} +2 -2
- package/dist/cdn/{OPQAHUC6.js → M2VRCBN2.js} +2 -2
- package/dist/cdn/{QI3GPP4B.js → M5DSXGTR.js} +2 -2
- package/dist/cdn/{FN6DPNFP.js → MC5VXLXS.js} +2 -2
- package/dist/cdn/{HMBQ2LLQ.js → MDAMSMZG.js} +2 -2
- package/dist/cdn/{3QRQFXKK.js → ML5ZWKQY.js} +2 -2
- package/dist/cdn/{N4WMESHG.js → MQHZUGJD.js} +2 -2
- package/dist/cdn/{I5CDRKXL.js → MWJIMRJ5.js} +2 -2
- package/dist/cdn/{QZMEUPHA.js → N35GRKJQ.js} +2 -2
- package/dist/cdn/{6FXLPZJC.js → N6PIS3V5.js} +2 -2
- package/dist/cdn/{HW6U5SKF.js → NAJISVHO.js} +2 -2
- package/dist/cdn/{EAF6HFJY.js → NFMMXNKI.js} +1 -1
- package/dist/cdn/{TFVJ2F4C.js → NL3GTAPB.js} +2 -2
- package/dist/cdn/{VD3QCRCL.js → NQNCOGCI.js} +2 -2
- package/dist/cdn/{HMTVQ2KZ.js → NTCFQYJQ.js} +1 -1
- package/dist/cdn/{EZTHX5J2.js → NWA6T6LB.js} +2 -2
- package/dist/cdn/{CZYJF72K.js → NWAXSHRG.js} +2 -2
- package/dist/cdn/{56I5DPLB.js → NWUSAZEH.js} +2 -2
- package/dist/cdn/{KORUO72V.js → OB6V7BNK.js} +2 -2
- package/dist/cdn/{FAXFVGIK.js → OC7VTUWA.js} +2 -2
- package/dist/cdn/{F3B4KLDK.js → ODIQZSIZ.js} +2 -2
- package/dist/cdn/{LSPH2YTC.js → OHIMUUYO.js} +2 -2
- package/dist/cdn/{LQSJAPHD.js → OSFD7XKR.js} +2 -2
- package/dist/cdn/{7BGP66E4.js → OZTULARO.js} +2 -2
- package/dist/cdn/{2BHNUR46.js → PCYF3FIJ.js} +2 -2
- package/dist/cdn/{JBWI6ILP.js → PMPP6FJF.js} +2 -2
- package/dist/cdn/{DTB4AHKG.js → PNEYSIEZ.js} +2 -2
- package/dist/cdn/{X6NYB2KQ.js → Q3OONQVK.js} +1 -1
- package/dist/cdn/{FTPZ7S36.js → Q43AWYPP.js} +2 -2
- package/dist/cdn/{5SICEPMU.js → Q4YMQE55.js} +2 -2
- package/dist/cdn/{72MWPP7L.js → QKMK6XOC.js} +1 -1
- package/dist/cdn/{FBEE3SL5.js → QT65MCWQ.js} +2 -2
- package/dist/cdn/{YEEPU5OG.js → QTKDMEI7.js} +2 -2
- package/dist/cdn/{HFQQIAYA.js → QZVMWPWJ.js} +2 -2
- package/dist/cdn/{EZVNP2LQ.js → QZZNPEGJ.js} +2 -2
- package/dist/cdn/{QTKLQEC6.js → R3CKFTEY.js} +2 -2
- package/dist/cdn/{ZJUBRI5F.js → RBGK3AYG.js} +2 -2
- package/dist/cdn/{ERB5XKCF.js → RE6DJ3UZ.js} +2 -2
- package/dist/cdn/{4OAFKXWB.js → RESVBV7L.js} +2 -2
- package/dist/cdn/{UN636J3R.js → RFRZK6AF.js} +2 -2
- package/dist/cdn/{TL3FJRJ4.js → RFTHLGGM.js} +2 -2
- package/dist/cdn/{FE4CLKE3.js → RODZPEXZ.js} +2 -2
- package/dist/cdn/{JD6FT3W7.js → RPMYPVX4.js} +2 -2
- package/dist/cdn/{YJFUYHCW.js → RSDXDL6B.js} +2 -2
- package/dist/cdn/{VJGJ66HR.js → RYINNXER.js} +2 -2
- package/dist/cdn/{KJJUE2G5.js → S3HHSFJR.js} +2 -2
- package/dist/cdn/{J4AX2RKV.js → S66GX57Y.js} +2 -2
- package/dist/cdn/{M5W2VHTI.js → S7EA6APX.js} +2 -2
- package/dist/cdn/{7OXTM3RQ.js → SFXSDVNW.js} +1 -1
- package/dist/cdn/{MJ2YQLNH.js → SG5VP4O3.js} +2 -2
- package/dist/cdn/{UGUSRAH5.js → SKFZJ6YS.js} +2 -2
- package/dist/cdn/{TVB3UTFJ.js → SSBEZKBD.js} +1 -1
- package/dist/cdn/{S6MVQD2R.js → SSOEOTK2.js} +2 -2
- package/dist/cdn/{PMH6AMDQ.js → SZG2GJRU.js} +2 -2
- package/dist/cdn/{G7K6FISY.js → T2XVUQBG.js} +2 -2
- package/dist/cdn/{HDFQHWTP.js → T4U3JFHF.js} +2 -2
- package/dist/cdn/{KWLGOVRX.js → TBAIYGPK.js} +2 -2
- package/dist/cdn/{MNARIQ6D.js → TE5QV3EO.js} +2 -2
- package/dist/cdn/{WRWW47GK.js → TFBDOL3X.js} +2 -2
- package/dist/cdn/{BPJEBI4X.js → TJ5RI2YH.js} +2 -2
- package/dist/cdn/{LXXPHZY4.js → TJJZS5LJ.js} +2 -2
- package/dist/cdn/{6HP7EN3F.js → TJKCU5YZ.js} +2 -2
- package/dist/cdn/{7YSQJH3Y.js → TU3NEFO2.js} +2 -2
- package/dist/cdn/{34RS2MBL.js → TZMTB62K.js} +2 -2
- package/dist/cdn/{6H7GCW23.js → U2N26ICF.js} +2 -2
- package/dist/cdn/{PSKEAYHF.js → UHJOENTU.js} +2 -2
- package/dist/cdn/{4IMJ2CHO.js → UHRT6TGG.js} +2 -2
- package/dist/cdn/{6XZMR2VE.js → UICLYMMB.js} +2 -2
- package/dist/cdn/{46LHVJVD.js → UJNCG5ZX.js} +2 -2
- package/dist/cdn/{NJ22NILR.js → UKLVH22U.js} +2 -2
- package/dist/cdn/{7EUNZL7X.js → UKQFBUYZ.js} +2 -2
- package/dist/cdn/{VJX4ICEC.js → ULE52ISY.js} +2 -2
- package/dist/cdn/{BHCCBQ4S.js → UOXHYHKS.js} +2 -2
- package/dist/cdn/{M6AXNQ7I.js → UU3CISFU.js} +2 -2
- package/dist/cdn/{7LVEDDDE.js → V26EXOON.js} +2 -2
- package/dist/cdn/{6ISW4DPK.js → V74DKMFT.js} +2 -2
- package/dist/cdn/V7KLTMCM.js +4 -0
- package/dist/cdn/{RJLK3W3N.js → VHPLCHCU.js} +2 -2
- package/dist/cdn/{L3BACQWJ.js → VI7MYJNY.js} +1 -1
- package/dist/cdn/{H7AGGCPK.js → VPN6AJD3.js} +2 -2
- package/dist/cdn/{RT2X7WYI.js → W27VWCOJ.js} +1 -1
- package/dist/cdn/{VQ35YTXI.js → WCEKYYON.js} +2 -2
- package/dist/cdn/{7IZSZJGN.js → WQPFK4PW.js} +2 -2
- package/dist/cdn/{GCO6B7TC.js → WR6VOTCC.js} +2 -2
- package/dist/cdn/{LFUGAIT4.js → WRORWPOY.js} +2 -2
- package/dist/cdn/{VV2YZX2P.js → WV5KOELF.js} +2 -2
- package/dist/cdn/{WUZWZNHP.js → WXMXUIFO.js} +2 -2
- package/dist/cdn/{67OCL2CG.js → X2OMSWER.js} +2 -2
- package/dist/cdn/{VXN55R3Y.js → X5BEOD5N.js} +2 -2
- package/dist/cdn/{6EFGOE2N.js → XEKD3DHQ.js} +2 -2
- package/dist/cdn/{XVFUASBB.js → XKO2JKCR.js} +2 -2
- package/dist/cdn/{K7XTYHKS.js → XTI6RSEM.js} +2 -2
- package/dist/cdn/{ICWP7LZJ.js → XWP4QADZ.js} +2 -2
- package/dist/cdn/{NCWKKCLN.js → YGOADIJ3.js} +2 -2
- package/dist/cdn/{VE6RJNIS.js → YOHNICWT.js} +2 -2
- package/dist/cdn/{DQC7MEQT.js → YYIR232N.js} +1 -1
- package/dist/cdn/{AC2WZABE.js → Z7ZIZRVR.js} +2 -2
- package/dist/cdn/{KMONZEOG.js → ZAFLYBCQ.js} +2 -2
- package/dist/cdn/{6KF2PMW2.js → ZK6ZGYTX.js} +2 -2
- package/dist/cdn/{SZCYANNS.js → ZLGAOEIJ.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/constants.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +11 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +8 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +3 -0
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +38 -11
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +13 -0
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -4
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +8 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +11 -0
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +10 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +12 -2
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +860 -152
- package/dist/docs/docs.json +734 -136
- package/dist/docs/vscode.html-custom-data.json +16 -16
- package/dist/docs/web-types.json +36 -36
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/QMZI2EUC.js +0 -4
- package/dist/cdn/VQCA73HC.js +0 -4
- package/dist/cdn/YCZQEVRF.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import"./Q3OONQVK.js";var r={_decimalSeparator:".",_thousandSeparator:"'",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"K",_big_number_suffix_6:"Mio",_big_number_suffix_9:"Mrd",_big_number_suffix_12:"Bio",_big_number_suffix_15:"Brd",_big_number_suffix_18:"Trill",_big_number_suffix_21:"Trd",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd. MMM, yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM, yyyy",_date_week:"ww",_date_week_full:"dd. MMM, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"v. Chr.",_era_bc:"n. Chr.",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Januar",February:"Februar",March:"M\xE4rz",April:"April",May:"Mai",June:"Juni",July:"Juli",August:"August",September:"September",October:"Oktober",November:"November",December:"Dezember",Jan:"Jan.",Feb:"Febr.",Mar:"M\xE4rz",Apr:"Apr.","May(short)":"Mai",Jun:"Juni",Jul:"Juli",Aug:"Aug.",Sep:"Sept.",Oct:"Okt.",Nov:"Nov.",Dec:"Dez.",Sunday:"Sonntag",Monday:"Montag",Tuesday:"Dienstag",Wednesday:"Mittwoch",Thursday:"Donnerstag",Friday:"Freitag",Saturday:"Samstag",Sun:"So.",Mon:"Mo.",Tue:"Di.",Wed:"Mi.",Thu:"Do.",Fri:"Fr.",Sat:"Sa.",_dateOrd:function(e){return e+"."},"Zoom Out":"Herauszoomen",Play:"Abspielen",Stop:"Stop",Legend:"Legende","Press ENTER to toggle":"Klicken, tippen oder ENTER dr\xFCcken zum Umschalten",Loading:"Wird geladen",Home:"Home",Chart:"Diagramm","Serial chart":"Seriendiagramm","X/Y chart":"X-Y-Diagramm","Pie chart":"Kreisdiagramm","Gauge chart":"Messdiagramm","Radar chart":"Netzdiagramm","Sankey diagram":"Sankey-Diagramm","Chord diagram":"","Flow diagram":"Flussdiagramm","TreeMap chart":"Baumdiagramm",Series:"Serie","Candlestick Series":"Kerzendiagramm","Column Series":"Balkendiagramm","Line Series":"Liniendiagramm","Pie Slice Series":"Kreisdiagramm","X/Y Series":"Punktdiagramm",Map:"Karte","Press ENTER to zoom in":"Dr\xFCcke ENTER zum Hereinzoomen","Press ENTER to zoom out":"Dr\xFCcke ENTER zum Herauszoomen","Use arrow keys to zoom in and out":"Benutze die Pfeiltasten zum Zoomen","Use plus and minus keys on your keyboard to zoom in and out":"Benutze Plus- und Minustasten zum Zoomen",Export:"Export",Image:"Bild",Data:"Daten",Print:"Drucken","Press ENTER to open":"Zum \xD6ffnen klicken, tippen oder ENTER dr\xFCcken","Press ENTER to print.":"Zum Drucken klicken, tippen oder ENTER dr\xFCcken.","Press ENTER to export as %1.":"Klicken, tippen oder ENTER dr\xFCcken um als %1 zu exportieren","(Press ESC to close this message)":"ESC dr\xFCcken um diese Nachricht zu schlie\xDFen","Image Export Complete":"Bildexport komplett","Export operation took longer than expected. Something might have gone wrong.":"Der Export dauert l\xE4nger als geplant. Vielleicht ist etwas schiefgelaufen.","Saved from":"Gespeichert von",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder linke und rechte Pfeiltaste um die Auswahl zu \xE4ndern","Use left and right arrows to move selection":"Linke und rechte Pfeiltaste nutzen um die Auswahl zu verschieben","Use left and right arrows to move left selection":"Linke und rechte Pfeiltaste nutzen um die linke Auswahl zu verschieben","Use left and right arrows to move right selection":"Linke und rechte Pfeiltaste nutzen um die rechte Auswahl zu verschieben","Use TAB select grip buttons or up and down arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu \xE4ndern","Use up and down arrows to move selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu verschieben","Use up and down arrows to move lower selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die untere Auswahl zu verschieben","Use up and down arrows to move upper selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die obere Auswahl zu verschieben","From %1 to %2":"Von %1 bis %2","From %1":"Von %1","To %1":"Bis %1","No parser available for file: %1":"Kein Parser f\xFCr Datei %1 verf\xFCgbar","Error parsing file: %1":"Fehler beim Parsen von Datei %1","Unable to load file: %1":"Datei %1 konnte nicht geladen werden","Invalid date":"Kein Datum",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{N as u,O as l,T as o,a as c,b as r}from"./
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{N as u,O as l,T as o,a as c,b as r}from"./SFXSDVNW.js";import"./Q3OONQVK.js";export default $arcgis.t(([{watch:f},m])=>{var v=c`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,p="arcgis-print",d={srLabel:`${p}__sr-label`,invalidWkidText:`${p}__invalid-wkid-text`};function _(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends u{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[f(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:a}=this;return r`<div><calcite-label><div class=${l(d.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:s})=>{let i=g(s.value);if(Number.isNaN(i)||i==null||i<=0||!Number.isFinite(i)){s.value=`${a?.wkid??""}`;return}this.viewModel.outSpatialReference=Number.isNaN(i)||i==null?null:new m({wkid:i}),this._isValidSpatialReference=!a||_(a)}}></calcite-input-number>${this._isValidSpatialReference?null:r`<div class=${l(d.invalidWkidText)}>${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils","geometry/SpatialReference")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{e as r}from"./
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{e as r}from"./X2OMSWER.js";import"./IJLIMVRO.js";import"./6P6GJW4W.js";import{N as o,T as n,b as t}from"./SFXSDVNW.js";import"./Q3OONQVK.js";export default $arcgis.t(([h,{watch:v}])=>{var _=["Auto"],g=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],d=new h([255,127,0]),s=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._direction=r(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,a=this._direction==="rtl"?"chevron-left":"chevron-right",p=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({label:i,value:c})=>t`<calcite-list-item .disabled=${l?.layer?.isLive&&c!==1} .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${_.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,$=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??d.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new h(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item .heading=${e.settings} .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??d.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?p:null}${this._active==="quality"?m:null}${this._active==="color"?$:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",s);return s},"Color","core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{a as i}from"./X2OMSWER.js";import{a as t}from"./VI7MYJNY.js";import{z as s}from"./SFXSDVNW.js";export default $arcgis.t(([c])=>{var p=n=>m(n),e=class extends s{#o;constructor(o){super(o),this.setProvisionalExports(void 0)}hostConnected(){this.component.manager.loadedCalled&&t(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:o}=this.component,h=o.shadowRoot?.firstElementChild??o.firstElementChild??void 0;o.childElem??=h,this.#o=c.when(()=>this.component.view!=null,()=>{this.component.arcgisReady.emit()},{once:!0,initial:!0,sync:!0}),o.isConnected&&t(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.view?.ui?.remove(this.component.el.childElem),this.#o?.remove()}hostUpdate(o){o.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&t(this.component),o.has("referenceElement")&&t(this.component)}},m=i(e);return{a:p,b:e}},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as l}from"./ERB5XKCF.js";import d from"./ZMKI3K3W.js";import c from"./3QWHR4XL.js";import b from"./BHCCBQ4S.js";import{g as s}from"./67OCL2CG.js";import"./S3JIHRTV.js";import"./L3BACQWJ.js";import"./QBX3SMHQ.js";import{N as a,T as n,a as t,x as o}from"./7OXTM3RQ.js";import"./X6NYB2KQ.js";export default $arcgis.t(([c,g,,,d])=>{var m=t`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`,v=d(g),i=class extends a{constructor(){super(...arguments),this.widget=v(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.dataCaptureEnabled=this.widget.dataCaptureEnabled,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.imageOverlaysOpened=this.widget.imageOverlaysOpened,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=s()("imageGalleryEnabled","layer"),this.arcgisReady=o()}static{this.properties={view:0,autoDestroyDisabled:5,currentCoverageVisible:5,dataCaptureEnabled:5,disabled:5,galleryOpened:5,icon:0,imageEnhancementToolActive:5,imageGalleryEnabled:4,imageOverlaysOpened:5,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.styles=[l,m]}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let r=this.orientedImageryLayerItemId;r&&this.widget&&(this.layer=new c({portalItem:{id:r}}),this.widget.view?this.widget.view.map?.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map?.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);return i},"layers/OrientedImageryLayer","widgets/OrientedImageryViewer",b,c,d)
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{a as l}from"./RE6DJ3UZ.js";import d from"./KTJ4YGLQ.js";import c from"./GHWYJMEG.js";import b from"./UOXHYHKS.js";import{g as s}from"./X2OMSWER.js";import"./IJLIMVRO.js";import"./VI7MYJNY.js";import"./6P6GJW4W.js";import{N as a,T as n,a as t,x as o}from"./SFXSDVNW.js";import"./Q3OONQVK.js";export default $arcgis.t(([c,g,,,d])=>{var m=t`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`,v=d(g),i=class extends a{constructor(){super(...arguments),this.widget=v(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.dataCaptureEnabled=this.widget.dataCaptureEnabled,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.imageOverlaysOpened=this.widget.imageOverlaysOpened,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=s()("imageGalleryEnabled","layer"),this.arcgisReady=o()}static{this.properties={view:0,autoDestroyDisabled:5,currentCoverageVisible:5,dataCaptureEnabled:5,disabled:5,galleryOpened:5,icon:0,imageEnhancementToolActive:5,imageGalleryEnabled:4,imageOverlaysOpened:5,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.styles=[l,m]}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let r=this.orientedImageryLayerItemId;r&&this.widget&&(this.layer=new c({portalItem:{id:r}}),this.widget.view?this.widget.view.map?.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map?.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);return i},"layers/OrientedImageryLayer","widgets/OrientedImageryViewer",b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import c from"./BJTFOOSY.js";import{a as S}from"./MNARIQ6D.js";import b from"./3QWHR4XL.js";import a from"./BHCCBQ4S.js";import"./67OCL2CG.js";import"./S3JIHRTV.js";import"./L3BACQWJ.js";import"./QBX3SMHQ.js";import{L as I,M as y,N as k,O as V,T as E,a as w,b as h,g as _,q as x,x as v}from"./7OXTM3RQ.js";import"./X6NYB2KQ.js";export default $arcgis.t(([{once:M,watch:$},A,,,L])=>{var U=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content}.arcgis-version-management{.component-container-flow{width:350px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}`,T=L(A),z="map-components:version-management",p=class extends k{constructor(){super(...arguments),this.flowElement=I(),this.messages=S({blocking:!0}),this.viewModel=T(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=v(),this.arcgisVersioningStateChanged=v()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.styles=U}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){M(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){x(this)(i)}})}),this.manager.onLifecycle(()=>[$(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:r}=this,o=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){o&&this._removeVersionPropertiesFlowItem(i),r&&this._removeVersionListFlowItem(i);return}r&&(r.versionListElementProps={...r.versionListElementProps,executionError:this.viewModel.executionError},r.versionListElementProps={...r.versionListElementProps,state:e}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:r,viewModel:o,viewModel:{state:n}}=this,c={closable:r,currentUser:o.userLookup.get(e),isVersionAdministrator:o.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let t=_(h`<arcgis-version-management-version-properties .versionPropertiesElementProps=${c} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),s=Array.from(t.parentNode.childNodes).find(a=>a.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(s,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(s,"calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(s,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(s,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(s,"arcgisAlterVersion",this._handleAlterVersion),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:r}=this,{alterVersionParameters:o}=e.detail;await r.alterVersion(o).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:o.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:r}=this,{createVersionParameters:o,switchToVersion:n}=e.detail;r.createVersion(o).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),n&&await this.viewModel.changeVersion(o.featureServerUrl,c.versionIdentifier.name,c.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)})}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:r}=this,{url:o,name:n}=e,c=r.versioningStateLookup.get(o);if(!c)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${z} - no versioning state found for feature service ${o}`);let t=c?.versionInfos.find(g=>g.versionIdentifier.name===n);if(!t)throw i.set(o,!0),new Error(`${z} - version ${n} not found in the versioning state for feature service ${o}`);let s=t.versionIdentifier,a=c?.currentVersionInfo?.versionIdentifier;s.guid!==a?.guid&&r.changeVersion(o,s.name,s.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:n,flowElement:c}=this;switch(i){case"changeVersion":{n.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)});let{versionList:s}=this;s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let t=this._createVersionPropertiesFlowItem(r,o);c.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:r,viewModel:o}=this;if(i){let n=await o.getVersionInfos(e),c=i.getElementsByTagName("arcgis-version-management-service-item");for(let t of c)t.serviceItemElementProps.serviceUrl===e&&(t.serviceItemElementProps={...t.serviceItemElementProps,versionInfos:n});r&&(r.versionListElementProps={...r.versionListElementProps,currentVersionIdentifier:o.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},initialVersionInfos:o,_isInitialVersionInvalid:n,label:c,messages:t,mode:s,pageSize:a,versionList:g,viewModel:d,viewModel:{loadError:u,state:f}}=this,C=Array.from(d.serviceNameLookup,([l,m])=>({url:l,name:m})),P=f!=="disabled"?C.map(l=>{let m={allowEditing:!e,closable:i,currentUser:d.userLookup.get(l.url),currentVersionIdentifier:d.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,heading:c,initialVersionInfos:o,isInitialVersionInvalid:n,isVersionAdministrator:d.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(d.serverVersionLookup.get(l.url)??0)>=11.2,mode:s,pageSize:a,serviceName:l.name,state:f,serviceUrl:l.url,strings:t,versionInfos:d.versioningStateLookup.get(l.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${m} @arcgisFlowItemBack=${()=>{r&&(this._removeVersionListFlowItem(r),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async b=>{await this._refreshVersionList(b.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${b=>this.versionList=b.detail}></arcgis-version-management-service-item>`}):void 0,N=f==="disabled"&&u!=null?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(u)}</div></calcite-notice>`:void 0,F=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${t.headers.invalidInitialFeatureService}</div><div slot=message>${t.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${V(this.mode==="dialog"?"":"component-container-flow")} ${y(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${c??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!g}>${F}<calcite-panel class="service-items-panel" .loading=${f==="loading"||f==="executing"}>${P}${N}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};E("arcgis-version-management",p);return p},"core/reactiveUtils","versionManagement/VersionManager",a,b,c)
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import c from"./4MPXICUP.js";import{a as S}from"./TE5QV3EO.js";import b from"./GHWYJMEG.js";import a from"./UOXHYHKS.js";import"./X2OMSWER.js";import"./IJLIMVRO.js";import"./VI7MYJNY.js";import"./6P6GJW4W.js";import{L as I,M as y,N as k,O as V,T as E,a as w,b as h,g as _,q as x,x as v}from"./SFXSDVNW.js";import"./Q3OONQVK.js";export default $arcgis.t(([{once:M,watch:$},A,,,L])=>{var U=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content}.arcgis-version-management{.component-container-flow{width:350px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}`,T=L(A),z="map-components:version-management",p=class extends k{constructor(){super(...arguments),this.flowElement=I(),this.messages=S({blocking:!0}),this.viewModel=T(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=v(),this.arcgisVersioningStateChanged=v()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.styles=U}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){M(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){x(this)(i)}})}),this.manager.onLifecycle(()=>[$(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:r}=this,o=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){o&&this._removeVersionPropertiesFlowItem(i),r&&this._removeVersionListFlowItem(i);return}r&&(r.versionListElementProps={...r.versionListElementProps,executionError:this.viewModel.executionError},r.versionListElementProps={...r.versionListElementProps,state:e}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:r,viewModel:o,viewModel:{state:n}}=this,c={closable:r,currentUser:o.userLookup.get(e),isVersionAdministrator:o.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let t=_(h`<arcgis-version-management-version-properties .versionPropertiesElementProps=${c} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),s=Array.from(t.parentNode.childNodes).find(a=>a.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(s,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(s,"calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(s,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(s,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(s,"arcgisAlterVersion",this._handleAlterVersion),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:r}=this,{alterVersionParameters:o}=e.detail;await r.alterVersion(o).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:o.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:r}=this,{createVersionParameters:o,switchToVersion:n}=e.detail;r.createVersion(o).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)}),n&&await this.viewModel.changeVersion(o.featureServerUrl,c.versionIdentifier.name,c.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:r.versioningStateLookup.get(o.featureServerUrl)})}),await this._refreshVersionList(o.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:r}=this,{url:o,name:n}=e,c=r.versioningStateLookup.get(o);if(!c)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${z} - no versioning state found for feature service ${o}`);let t=c?.versionInfos.find(g=>g.versionIdentifier.name===n);if(!t)throw i.set(o,!0),new Error(`${z} - version ${n} not found in the versioning state for feature service ${o}`);let s=t.versionIdentifier,a=c?.currentVersionInfo?.versionIdentifier;s.guid!==a?.guid&&r.changeVersion(o,s.name,s.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:n,flowElement:c}=this;switch(i){case"changeVersion":{n.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)});let{versionList:s}=this;s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async t=>{t&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:n.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let t=this._createVersionPropertiesFlowItem(r,o);c.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:r,viewModel:o}=this;if(i){let n=await o.getVersionInfos(e),c=i.getElementsByTagName("arcgis-version-management-service-item");for(let t of c)t.serviceItemElementProps.serviceUrl===e&&(t.serviceItemElementProps={...t.serviceItemElementProps,versionInfos:n});r&&(r.versionListElementProps={...r.versionListElementProps,currentVersionIdentifier:o.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},initialVersionInfos:o,_isInitialVersionInvalid:n,label:c,messages:t,mode:s,pageSize:a,versionList:g,viewModel:d,viewModel:{loadError:u,state:f}}=this,C=Array.from(d.serviceNameLookup,([l,m])=>({url:l,name:m})),P=f!=="disabled"?C.map(l=>{let m={allowEditing:!e,closable:i,currentUser:d.userLookup.get(l.url),currentVersionIdentifier:d.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,heading:c,initialVersionInfos:o,isInitialVersionInvalid:n,isVersionAdministrator:d.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(d.serverVersionLookup.get(l.url)??0)>=11.2,mode:s,pageSize:a,serviceName:l.name,state:f,serviceUrl:l.url,strings:t,versionInfos:d.versioningStateLookup.get(l.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${m} @arcgisFlowItemBack=${()=>{r&&(this._removeVersionListFlowItem(r),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async b=>{await this._refreshVersionList(b.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${b=>this.versionList=b.detail}></arcgis-version-management-service-item>`}):void 0,N=f==="disabled"&&u!=null?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(u)}</div></calcite-notice>`:void 0,F=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${t.headers.invalidInitialFeatureService}</div><div slot=message>${t.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${V(this.mode==="dialog"?"":"component-container-flow")} ${y(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${c??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!g}>${F}<calcite-panel class="service-items-panel" .loading=${f==="loading"||f==="executing"}>${P}${N}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};E("arcgis-version-management",p);return p},"core/reactiveUtils","versionManagement/VersionManager",a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import"./Q3OONQVK.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{j as m}from"./GHHRPO6P.js";import"./KEQ5XIE6.js";import"./ATUDOH54.js";import{t as p}from"./6XDLD4KQ.js";import"./UHJOENTU.js";import"./NTCFQYJQ.js";import"./SKFZJ6YS.js";import"./Q3OONQVK.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./35B5TLZR.js")],["bg-BG",()=>import("./G364P3RJ.js")],["bs-BA",()=>import("./S7EA6APX.js")],["ca-ES",()=>import("./KRXHEWNQ.js")],["cs-CZ",()=>import("./LVKVXCX6.js")],["da-DK",()=>import("./KHAMKR6F.js")],["de-DE",()=>import("./ERD6XSY7.js")],["de-CH",()=>import("./UKLVH22U.js")],["el-GR",()=>import("./UJNCG5ZX.js")],["en-US",()=>import("./OB6V7BNK.js")],["en-CA",()=>import("./RFTHLGGM.js")],["es-ES",()=>import("./GUYUTB3Q.js")],["et-EE",()=>import("./GU6WATJQ.js")],["fi-FI",()=>import("./23IQWN6P.js")],["fr-FR",()=>import("./NAJISVHO.js")],["he-IL",()=>import("./G7HKWVBC.js")],["hr-HR",()=>import("./5MIWHCZ3.js")],["hu-HU",()=>import("./H5SQ36RW.js")],["id-ID",()=>import("./66A4Q24B.js")],["it-IT",()=>import("./MQHZUGJD.js")],["ja-JP",()=>import("./466CNX7U.js")],["ko-KR",()=>import("./7OXWBYQF.js")],["lt-LT",()=>import("./RFRZK6AF.js")],["lv-LV",()=>import("./67HJ2Z2O.js")],["no-NO",()=>import("./RESVBV7L.js")],["nb-NO",()=>import("./RESVBV7L.js")],["nl-NL",()=>import("./B26ROOG3.js")],["pl-PL",()=>import("./OC7VTUWA.js")],["pt-BR",()=>import("./TBAIYGPK.js")],["pt-PT",()=>import("./B65VXX2Y.js")],["ro-RO",()=>import("./JITN4LRX.js")],["ru-RU",()=>import("./TJKCU5YZ.js")],["sk-SK",()=>import("./GUPMSJZM.js")],["sl-SL",()=>import("./ML5ZWKQY.js")],["sr-RS",()=>import("./AKLK2L47.js")],["sv-SE",()=>import("./LRWMBJRO.js")],["th-TH",()=>import("./ODIQZSIZ.js")],["tr-TR",()=>import("./XEKD3DHQ.js")],["uk-UA",()=>import("./PMPP6FJF.js")],["vi-VN",()=>import("./24QJAXEY.js")],["zh-CN",()=>import("./V74DKMFT.js")],["zh-HK",()=>import("./3NEYISDK.js")],["zh-TW",()=>import("./3NEYISDK.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{E as s,F as i,I as o,f as r}from"./
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{E as s,F as i,I as o,f as r}from"./SFXSDVNW.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
4
|
var f={"top-left":"top-left","top-right":"top-right","bottom-left":"bottom-left","bottom-right":"bottom-right","bottom-leading":"bottom-start","bottom-trailing":"bottom-end","top-leading":"top-start","top-trailing":"top-end"},m=["manual"];function v(e){e.el.childElem&&(e.el.childElem.ownedBy=e.el),e.position&&m.includes(e.position)?e.el.removeAttribute("slot"):e.position&&(e.el.slot=f[e.position]);let n=p(e);if(!n){let t=E(e);if(!t){u(e);return}return a(t,e,!0),t}return g(n,e.el.parent)||(e.el.parent=n,n.localName==="arcgis-expand"?h(n,e):n.localName==="arcgis-placement"?y(n,e):a(n,e,!1)),n}function p({el:e}){for(let n=e.parentElement;n;n=n?.parentElement??null){if(c.has(n.localName))return n;if("ownedBy"in n&&n.ownedBy instanceof HTMLElement&&c.has(n.ownedBy.localName))return n.ownedBy}}var c=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand","arcgis-placement"]);function g(e,n){if(e!==n)return!1;let t=e.localName;return t==="arcgis-expand"||t==="arcgis-placement"}function l(e,n,t="arcgisReady"){let o=e;if(o.view)n(o.view);else{let i=function(d){d.target===e&&(l(e,n,t),e.removeEventListener(t,i))};e.addEventListener(t,i)}}var h=(e,n)=>l(e,t=>{let o=r(n);n.el.shadowRoot?e.content=n.el:n.el.childElem&&e.content!=null&&o.append(n.el.childElem),n.el.view=t}),y=(e,n)=>l(e,t=>{let o=r(n);n.el.childElem&&o.append(n.el.childElem),n.el.view=t}),a=(e,n,t)=>l(e,o=>{t&&u(n),n.el.view=o,n.referenceElement=e},"arcgisViewReadyChange");function w(e){return e==null||e===""}function b(e,n){return e?.position===n?.position&&e?.heading===n.heading&&e?.tilt===n.tilt&&e?.fov===n.fov}function N(e,n){return n===void 0||e?.targetGeometry!==n?.targetGeometry||e?.rotation!==n?.rotation||e?.scale!==n?.scale}function R(e,n){return s(n?.center,e)}function s(e,n){if(typeof n=="string")return s(e,n.split(",").map(Number));if(!e)return n;if(Array.isArray(n)){let t=n[0],o=n[1],i=n.length>2?n[2]:void 0;if(t!==e.longitude||o!==e.latitude||i!==e.z)return n}else if(n&&!e?.equals(n))return n}function u(e){e.el.childElem&&r(e).append(e.el.childElem)}function r(e){return e.el.shadowRoot??e.el}function E(e,n){let t=e.referenceElement;if(typeof t!="string")return t??void 0;let o=t.includes("#")||t.includes(".")||t.includes("["),i=e.el.getRootNode();return(o?void 0:i.querySelector(`#${t}`))??i.querySelector(t)??void 0}var B=e=>e.el.childElem;async function x(e){let n=typeof e=="function"?e():e;n&&("setFocus"in n&&typeof n.setFocus=="function"?await n.setFocus():n instanceof HTMLElement&&n.focus())}export{v as a,w as b,b as c,N as d,R as e,s as f,B as g,x as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as p,d as c}from"./RT2X7WYI.js";import j from"./PMH6AMDQ.js";import i from"./BQIBNELV.js";import"./DQC7MEQT.js";import e from"./BJTFOOSY.js";import{a as y}from"./MNARIQ6D.js";import{a as g}from"./G3EFFV27.js";import d from"./3QWHR4XL.js";import a from"./BHCCBQ4S.js";import{g as x}from"./67OCL2CG.js";import"./S3JIHRTV.js";import"./L3BACQWJ.js";import"./QBX3SMHQ.js";import{N as w,O as f,Q as v,T as b,a as m,b as h,x as _}from"./7OXTM3RQ.js";import"./X6NYB2KQ.js";export default $arcgis.t(([O,{isAboveGeodesicDistanceThreshold:$},{getDefaultUnitForView:U},{property:n,subclass:V},{watch:L},,,z,{e:k},D])=>{var j=m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{width:300px}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,a=(e,i,t,s)=>{for(var o=s>1?void 0:s?E(i,t):i,l=e.length-1,d;l>=0;l--)(d=e[l])&&(o=(s?d(i,t,o):d(o))||o);return s&&o&&C(i,t,o),o},r=class extends D{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(L(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:i})=>{e!=null&&(e.unit=i)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,i=e?.mode??"euclidean";if(!this.analysis.valid)return{mode:i,directDistance:c(void 0),horizontalDistance:c(void 0),verticalDistance:c(void 0)};let t=e?.directDistance,s=t!=null&&$(t);return{mode:i,directDistance:c(s?void 0:t),horizontalDistance:c(e?.horizontalDistance),verticalDistance:c(e?.verticalDistance)}}get unitOptions(){let e=this._userUnitOptions?.filter(i=>p.includes(i));return e&&e.length>0?e:p.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit??this.analysis.unit,i=this.unitOptions;if(e&&i.includes(e))return e;let t=this._defaultUnit;return t&&i.includes(t)?t:i[0]}set unit(e){this._userUnit=e}get _defaultUnit(){return this.view?U(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new O}};a([n({readOnly:!0})],r.prototype,"state",1);a([n({readOnly:!0})],r.prototype,"displayState",1);a([n({readOnly:!0})],r.prototype,"measurement",1);a([n()],r.prototype,"unitOptions",1);a([n()],r.prototype,"_userUnitOptions",2);a([n()],r.prototype,"unit",1);a([n()],r.prototype,"_userUnit",2);a([n({readOnly:!0})],r.prototype,"_defaultUnit",1);r=a([V("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],r);var P="arcgis-direct-line-measurement-3d",A={base:P},S=z(r),u=class extends w{constructor(){super(...arguments),this.viewModel=S(this),this.messages=y({name:"directline-measurement-3d",blocking:!0}),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="measure-line",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=x()("analysis","state"),this.arcgisReady=_()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideVisualization:5,icon:2,label:1,position:1,referenceElement:1,state:35,unit:1,unitOptions:0}}static{this.styles=j}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){k(this.viewModel.start())}render(){let{messages:i,unit:t,unitOptions:s,viewModel:o}=this,{measurement:l,state:d}=o;return h`<div aria-label=${i.componentLabel??v} class=${f({[A.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation><arcgis-measurement-content .state=${o.displayState} .hintLabel=${i.hint} .unsupportedLabel=${i.unsupported} .items=${[{title:i.direct,measurement:l.directDistance},{title:i.horizontal,measurement:l.horizontalDistance},{title:i.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${s} .selectLabel=${i.unit} .value=${t} @arcgisUnitSelectChange=${M=>{this.unit=M.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${this.start}>${i.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};b("arcgis-direct-line-measurement-3d",u);return u},"analysis/DirectLineMeasurementAnalysis","applications/Components/analysisUtils","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import{a as p,d as c}from"./W27VWCOJ.js";import j from"./SZG2GJRU.js";import i from"./6JWSNQL6.js";import"./YYIR232N.js";import e from"./4MPXICUP.js";import{a as y}from"./TE5QV3EO.js";import{a as g}from"./25BAQLQE.js";import d from"./GHWYJMEG.js";import a from"./UOXHYHKS.js";import{g as x}from"./X2OMSWER.js";import"./IJLIMVRO.js";import"./VI7MYJNY.js";import"./6P6GJW4W.js";import{N as w,O as f,Q as v,T as b,a as m,b as h,x as _}from"./SFXSDVNW.js";import"./Q3OONQVK.js";export default $arcgis.t(([O,{isAboveGeodesicDistanceThreshold:$},{getDefaultUnitForView:U},{property:n,subclass:V},{watch:L},,,z,{e:k},D])=>{var j=m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{width:300px}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,a=(e,i,t,s)=>{for(var o=s>1?void 0:s?E(i,t):i,l=e.length-1,d;l>=0;l--)(d=e[l])&&(o=(s?d(i,t,o):d(o))||o);return s&&o&&C(i,t,o),o},r=class extends D{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(L(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:i})=>{e!=null&&(e.unit=i)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,i=e?.mode??"euclidean";if(!this.analysis.valid)return{mode:i,directDistance:c(void 0),horizontalDistance:c(void 0),verticalDistance:c(void 0)};let t=e?.directDistance,s=t!=null&&$(t);return{mode:i,directDistance:c(s?void 0:t),horizontalDistance:c(e?.horizontalDistance),verticalDistance:c(e?.verticalDistance)}}get unitOptions(){let e=this._userUnitOptions?.filter(i=>p.includes(i));return e&&e.length>0?e:p.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit??this.analysis.unit,i=this.unitOptions;if(e&&i.includes(e))return e;let t=this._defaultUnit;return t&&i.includes(t)?t:i[0]}set unit(e){this._userUnit=e}get _defaultUnit(){return this.view?U(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new O}};a([n({readOnly:!0})],r.prototype,"state",1);a([n({readOnly:!0})],r.prototype,"displayState",1);a([n({readOnly:!0})],r.prototype,"measurement",1);a([n()],r.prototype,"unitOptions",1);a([n()],r.prototype,"_userUnitOptions",2);a([n()],r.prototype,"unit",1);a([n()],r.prototype,"_userUnit",2);a([n({readOnly:!0})],r.prototype,"_defaultUnit",1);r=a([V("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],r);var P="arcgis-direct-line-measurement-3d",A={base:P},S=z(r),u=class extends w{constructor(){super(...arguments),this.viewModel=S(this),this.messages=y({name:"directline-measurement-3d",blocking:!0}),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="measure-line",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=x()("analysis","state"),this.arcgisReady=_()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideVisualization:5,icon:2,label:1,position:1,referenceElement:1,state:35,unit:1,unitOptions:0}}static{this.styles=j}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){k(this.viewModel.start())}render(){let{messages:i,unit:t,unitOptions:s,viewModel:o}=this,{measurement:l,state:d}=o;return h`<div aria-label=${i.componentLabel??v} class=${f({[A.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation><arcgis-measurement-content .state=${o.displayState} .hintLabel=${i.hint} .unsupportedLabel=${i.unsupported} .items=${[{title:i.direct,measurement:l.directDistance},{title:i.horizontal,measurement:l.horizontalDistance},{title:i.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${s} .selectLabel=${i.unit} .value=${t} @arcgisUnitSelectChange=${M=>{this.unit=M.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${this.start}>${i.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};b("arcgis-direct-line-measurement-3d",u);return u},"analysis/DirectLineMeasurementAnalysis","applications/Components/analysisUtils","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
4
|
var t=["metric","imperial"],s=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],a=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],i=["liters","cubic-millimeters","cubic-centimeters","cubic-decimeters","cubic-meters","cubic-kilometers","cubic-inches","cubic-feet","cubic-yards","cubic-miles"],c=[...t,...s],u=[...t,...a],m=[...t,...i];function l(e,r=!0){return r?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function n(e,r){switch(r.type){case"length":return e.formatLength(r);case"area":return e.formatArea(r);case"volume":return e.formatVolume(r);default:return""}}function o(e){return e==="imperial"||e==="metric"}export{c as a,u as b,m as c,l as d,n as e,o as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import f from"./PMH6AMDQ.js";import e from"./BQIBNELV.js";import"./DQC7MEQT.js";import{a as S}from"./BPJEBI4X.js";import"./EZTHX5J2.js";import d from"./BJTFOOSY.js";import{a as k}from"./MNARIQ6D.js";import{a as _}from"./G3EFFV27.js";import c from"./3QWHR4XL.js";import a from"./BHCCBQ4S.js";import{g as L}from"./67OCL2CG.js";import"./S3JIHRTV.js";import"./L3BACQWJ.js";import"./QBX3SMHQ.js";import{N as w,O as r,Q as b,T as $,a as y,b as o,x as v}from"./7OXTM3RQ.js";import"./X6NYB2KQ.js";export default $arcgis.t(([G,{property:p,subclass:T},{ignoreAbortErrors:A},{watch:j},,,z,,M])=>{var B=y`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,u;g>=0;g--)(u=e[g])&&(l=(d?u(i,t,l):u(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends M{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new G}};c([p()],n.prototype,"_excludingLayers",2);c([p({readOnly:!0})],n.prototype,"state",1);c([p()],n.prototype,"shape",1);c([p()],n.prototype,"tiltEnabled",1);c([p()],n.prototype,"excludedLayers",1);c([p()],n.prototype,"excludeGroundSurface",1);n=c([T("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.hideVisualization=this.viewModel.hideVisualization,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=v()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,hideVisualization:5,icon:2,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,hideVisualization:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:u}=this.viewModel,m=this.excludeGroundSurface,C=u.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${S({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:u.toArray(),excludeGroundSurface:m,onLayerClick:V=>{this.excludedLayers.remove(V)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function E(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>E({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(E({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
|
|
3
|
+
v5.0.0-next.97 */
|
|
4
|
+
import f from"./SZG2GJRU.js";import e from"./6JWSNQL6.js";import"./YYIR232N.js";import{a as S}from"./TJ5RI2YH.js";import"./NWA6T6LB.js";import d from"./4MPXICUP.js";import{a as k}from"./TE5QV3EO.js";import{a as _}from"./25BAQLQE.js";import c from"./GHWYJMEG.js";import a from"./UOXHYHKS.js";import{g as L}from"./X2OMSWER.js";import"./IJLIMVRO.js";import"./VI7MYJNY.js";import"./6P6GJW4W.js";import{N as w,O as r,Q as b,T as $,a as y,b as o,x as v}from"./SFXSDVNW.js";import"./Q3OONQVK.js";export default $arcgis.t(([G,{property:p,subclass:T},{ignoreAbortErrors:A},{watch:j},,,z,,M])=>{var B=y`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,u;g>=0;g--)(u=e[g])&&(l=(d?u(i,t,l):u(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends M{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new G}};c([p()],n.prototype,"_excludingLayers",2);c([p({readOnly:!0})],n.prototype,"state",1);c([p()],n.prototype,"shape",1);c([p()],n.prototype,"tiltEnabled",1);c([p()],n.prototype,"excludedLayers",1);c([p()],n.prototype,"excludeGroundSurface",1);n=c([T("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.hideVisualization=this.viewModel.hideVisualization,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=v()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,hideVisualization:5,icon:2,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,hideVisualization:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:u}=this.viewModel,m=this.excludeGroundSurface,C=u.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${S({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:u.toArray(),excludeGroundSurface:m,onLayerClick:V=>{this.excludedLayers.remove(V)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function E(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>E({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(E({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
|