@arcgis/map-components 5.0.0-next.110 → 5.0.0-next.111
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/{27AX6VAA.js → 2673TQBB.js} +2 -2
- package/dist/cdn/{KBNDDAUT.js → 2ASWOU44.js} +2 -2
- package/dist/cdn/{N7VSLU5R.js → 2CPDT5J6.js} +2 -2
- package/dist/cdn/{OCFNAZFY.js → 2ETDJ2LF.js} +2 -2
- package/dist/cdn/{X3KOWRFB.js → 2JIL7LQI.js} +2 -2
- package/dist/cdn/{YYS33TQ4.js → 2MVEIF2E.js} +2 -2
- package/dist/cdn/{RTO6GTVS.js → 2TVBRCWA.js} +2 -2
- package/dist/cdn/{XMTYXYXP.js → 2WIPL7Y6.js} +2 -2
- package/dist/cdn/{MTIMXXFL.js → 2XOOXV6R.js} +2 -2
- package/dist/cdn/{G26SGNQH.js → 2ZAU5PTH.js} +2 -2
- package/dist/cdn/{BGYJFCRA.js → 32567EUC.js} +2 -2
- package/dist/cdn/{MJT3D27H.js → 3IRH6O2M.js} +2 -2
- package/dist/cdn/{UHX67SFQ.js → 4A2K52RU.js} +2 -2
- package/dist/cdn/{RETGY4SG.js → 4E5TMTCE.js} +2 -2
- package/dist/cdn/{SHPB5CCO.js → 4FAUP5DN.js} +2 -2
- package/dist/cdn/{F2DJWFLO.js → 4FX6O7BZ.js} +2 -2
- package/dist/cdn/{5CVYBSSZ.js → 4HZTT5WU.js} +2 -2
- package/dist/cdn/{3Z3W5M6S.js → 4LTB7YSN.js} +2 -2
- package/dist/cdn/{MS7FFWAJ.js → 4QR5QQY4.js} +2 -2
- package/dist/cdn/{AFEYOUQS.js → 4RW6UKAA.js} +2 -2
- package/dist/cdn/{4MXIZ65N.js → 4US5LIM4.js} +2 -2
- package/dist/cdn/{C6TL3VPU.js → 54AJPF34.js} +2 -2
- package/dist/cdn/{JFKZ62NW.js → 5DEYGXJU.js} +2 -2
- package/dist/cdn/{FVVY7RMI.js → 5L2GAY77.js} +2 -2
- package/dist/cdn/{NYFKP6RJ.js → 5LD5HKIF.js} +2 -2
- package/dist/cdn/{SOIDA7GD.js → 5LIAQBJE.js} +2 -2
- package/dist/cdn/{KIT7WVMV.js → 5NAERFXR.js} +2 -2
- package/dist/cdn/{TQIRBCDV.js → 6234ZSZI.js} +2 -2
- package/dist/cdn/{3WR5FNIS.js → 644WHHRV.js} +2 -2
- package/dist/cdn/{4DQ52NYE.js → 67KUQXZI.js} +2 -2
- package/dist/cdn/{6LZLH5VV.js → 6BU3AX32.js} +1 -1
- package/dist/cdn/{SFOLG75V.js → 6DGXJK6M.js} +2 -2
- package/dist/cdn/{SXADSHPS.js → 6EEQWZEZ.js} +1 -1
- package/dist/cdn/{J2763T3G.js → 6NJF46PI.js} +2 -2
- package/dist/cdn/{JBATHADW.js → 6YU2WDTP.js} +1 -1
- package/dist/cdn/{ECC34CSQ.js → 77F2UB3M.js} +2 -2
- package/dist/cdn/{OTKMLAAF.js → 7D5I56JK.js} +2 -2
- package/dist/cdn/{TOSCC3G5.js → 7FJVVLNM.js} +2 -2
- package/dist/cdn/{WYP3P727.js → 7HT2QEZ3.js} +2 -2
- package/dist/cdn/{G37J3VKW.js → 7OSTNA7B.js} +2 -2
- package/dist/cdn/{MK5UCIN5.js → 7RWI5IBE.js} +2 -2
- package/dist/cdn/{R77WMDU2.js → 7WOBWSZ4.js} +2 -2
- package/dist/cdn/{RWSRN6WY.js → A2IPQ2JG.js} +2 -2
- package/dist/cdn/{7VKDS2ZF.js → AGTD3SL7.js} +2 -2
- package/dist/cdn/{4IVHLDI3.js → AHAG47HI.js} +2 -2
- package/dist/cdn/{RCWVAAYB.js → AL5PKKBD.js} +2 -2
- package/dist/cdn/{X4IDECRM.js → ALBR4Q7N.js} +1 -1
- package/dist/cdn/{BAINXG3J.js → B7763RXS.js} +2 -2
- package/dist/cdn/{5NGKK2AB.js → BH44RI4K.js} +1 -1
- package/dist/cdn/{XGVY56IC.js → BIHZG4TW.js} +2 -2
- package/dist/cdn/{AWB33SKE.js → BTNKQBAA.js} +2 -2
- package/dist/cdn/BUCWUZTI.js +4 -0
- package/dist/cdn/{7IAFOQVM.js → BWSJ7NBD.js} +2 -2
- package/dist/cdn/{QKOL2BRG.js → BY5WPHQH.js} +2 -2
- package/dist/cdn/{VD53Z7LY.js → CH2XHRCL.js} +2 -2
- package/dist/cdn/{CP6V62MZ.js → CXLTMZWT.js} +2 -2
- package/dist/cdn/{NLMOR5AB.js → D5PQMDWH.js} +2 -2
- package/dist/cdn/{FIWLFAWM.js → D77XJORE.js} +2 -2
- package/dist/cdn/{PP2EPF73.js → DAWAVUGB.js} +2 -2
- package/dist/cdn/{D3GV4OEK.js → DF3QSFLX.js} +2 -2
- package/dist/cdn/{TEGHXZJN.js → DHANYRKL.js} +2 -2
- package/dist/cdn/{WKTE5XSH.js → DKELEWCT.js} +2 -2
- package/dist/cdn/{EZVNUID7.js → DPUT7X5X.js} +2 -2
- package/dist/cdn/{Z7BSDSOP.js → E5Z2SR4B.js} +2 -2
- package/dist/cdn/{XRZGJ3WZ.js → E6M7DURD.js} +2 -2
- package/dist/cdn/{PPCO4XFA.js → E6Q2T57V.js} +2 -2
- package/dist/cdn/{IUGCGL5M.js → EAXW5KB7.js} +2 -2
- package/dist/cdn/{PNIDFYQM.js → EIYK5JFQ.js} +2 -2
- package/dist/cdn/EKFHUDRG.js +4 -0
- package/dist/cdn/{6F5O5Q4G.js → EN3OYGID.js} +2 -2
- package/dist/cdn/{IGQRGFGD.js → EO3R6F6J.js} +2 -2
- package/dist/cdn/{ZFUQVWPZ.js → EXSKYMGT.js} +2 -2
- package/dist/cdn/{KTZAMBRK.js → F7M3QETN.js} +2 -2
- package/dist/cdn/{VBBBGRFE.js → FE647SFD.js} +2 -2
- package/dist/cdn/{ZLN2LOZI.js → FK2GZJMH.js} +2 -2
- package/dist/cdn/{TEQP6WXY.js → FMB34NVC.js} +2 -2
- package/dist/cdn/{NR3MPKW5.js → FMNGUWPV.js} +2 -2
- package/dist/cdn/{TTNZ5F2N.js → FMSY3RAM.js} +2 -2
- package/dist/cdn/{WILJY3HZ.js → FSH3RQL2.js} +2 -2
- package/dist/cdn/{ZABD6P4G.js → FVYEHJTQ.js} +1 -1
- package/dist/cdn/{NFUEZP25.js → FXFAKQIR.js} +2 -2
- package/dist/cdn/{DG2NGS4U.js → G2B3DNUM.js} +2 -2
- package/dist/cdn/{AJH2SUYO.js → G3XO53E4.js} +2 -2
- package/dist/cdn/{XSUTMXBZ.js → GATJ6NBR.js} +2 -2
- package/dist/cdn/{QXR4AC33.js → GB5SMJFN.js} +2 -2
- package/dist/cdn/{G4WBNPGM.js → GE3JMLLH.js} +2 -2
- package/dist/cdn/{JQIWWUT2.js → GECSW7HK.js} +2 -2
- package/dist/cdn/{FO4SEFMJ.js → GMJWO53S.js} +2 -2
- package/dist/cdn/{F4PTOQET.js → GN3ZOJGS.js} +2 -2
- package/dist/cdn/{FTVCVXFG.js → GTQLBCS4.js} +1 -1
- package/dist/cdn/{Q25D3O3A.js → H3OFTELO.js} +2 -2
- package/dist/cdn/{ZI2WDP4G.js → H5Q4TCMF.js} +2 -2
- package/dist/cdn/{XSAOQY5N.js → HAWCK5IK.js} +2 -2
- package/dist/cdn/{575V4YRI.js → HCM3K26G.js} +2 -2
- package/dist/cdn/{BHE7AL45.js → HH474T3B.js} +2 -2
- package/dist/cdn/{MNFFN2PC.js → HHHMKTET.js} +2 -2
- package/dist/cdn/{QIUQFWNP.js → HKMYYOZB.js} +2 -2
- package/dist/cdn/HNXZEDST.js +4 -0
- package/dist/cdn/{IT72RLC2.js → HRGQYOBC.js} +2 -2
- package/dist/cdn/{4D4TXTM7.js → HTBXHWXX.js} +2 -2
- package/dist/cdn/{BSISFUMK.js → HVPDO6QD.js} +2 -2
- package/dist/cdn/{K3AXWVZV.js → HWM5PRNB.js} +2 -2
- package/dist/cdn/{NCP2EULJ.js → I3BBGGAR.js} +2 -2
- package/dist/cdn/{UNNGKP7O.js → IA2NFISM.js} +2 -2
- package/dist/cdn/{FDB3WLFH.js → IGWTRFF4.js} +2 -2
- package/dist/cdn/{FBXYB447.js → IITYSPKW.js} +2 -2
- package/dist/cdn/{XKSA2R6C.js → IJRKXHZX.js} +1 -1
- package/dist/cdn/{PTS6VUNA.js → IL6AZ4IV.js} +2 -2
- package/dist/cdn/{GPI4RQIV.js → ITE7TUQN.js} +2 -2
- package/dist/cdn/{BGYFLEOC.js → IULUUPDZ.js} +2 -2
- package/dist/cdn/{3U73JFQ4.js → IVC565MG.js} +2 -2
- package/dist/cdn/{O7RIL42M.js → IYDJNFA2.js} +2 -2
- package/dist/cdn/{HYVC26H4.js → J2JWQ3FW.js} +2 -2
- package/dist/cdn/{6HPOF4HZ.js → J33KYZOG.js} +2 -2
- package/dist/cdn/{P53MED2K.js → J3OI6BYV.js} +2 -2
- package/dist/cdn/{4PA5XO4V.js → J4CYKN3E.js} +2 -2
- package/dist/cdn/{IKYWXNDB.js → J4SZC2XA.js} +2 -2
- package/dist/cdn/{5AZ6BQHG.js → JAOBS3VE.js} +2 -2
- package/dist/cdn/{G2KKZR4I.js → JBWMB4L7.js} +3 -3
- package/dist/cdn/{55DEANOF.js → JCBS47GH.js} +2 -2
- package/dist/cdn/{TV7442I6.js → JDRKGYXH.js} +2 -2
- package/dist/cdn/{422SD5KW.js → JDUOH5JT.js} +2 -2
- package/dist/cdn/{HVRSNJDU.js → JEFAMRAF.js} +2 -2
- package/dist/cdn/{GXL4LE42.js → JEVFPH2Q.js} +1 -1
- package/dist/cdn/{QRTVT3QX.js → JF5RB7XR.js} +2 -2
- package/dist/cdn/{DPRRCW5P.js → JGQID3NX.js} +2 -2
- package/dist/cdn/{5HP4QU2A.js → JPQVEL3Q.js} +2 -2
- package/dist/cdn/{43BZNZDD.js → JPW7IG3P.js} +2 -2
- package/dist/cdn/{XIRCOM7C.js → KCT6KGAK.js} +2 -2
- package/dist/cdn/{A2T5JCFL.js → KL6VD7N6.js} +2 -2
- package/dist/cdn/{G7ROEGFH.js → KQYNVKEH.js} +1 -1
- package/dist/cdn/{OQHW24K3.js → KRZVVWVT.js} +2 -2
- package/dist/cdn/{KZCZZI43.js → KWJ7Z63Z.js} +2 -2
- package/dist/cdn/{W7USLEFU.js → KZAETF5M.js} +2 -2
- package/dist/cdn/{KB5MBKRP.js → L3WBK4BT.js} +2 -2
- package/dist/cdn/{5JLZGGJ3.js → L5J5WU2C.js} +2 -2
- package/dist/cdn/{PX6SVMQH.js → L6OMDXL3.js} +2 -2
- package/dist/cdn/{4RBHXFY4.js → LCGAPUYS.js} +2 -2
- package/dist/cdn/{VTEOLKTW.js → LS24KRJG.js} +2 -2
- package/dist/cdn/{65CPZ2KZ.js → LYJQKO5N.js} +2 -2
- package/dist/cdn/{GSQU2REJ.js → M42D6IHQ.js} +2 -2
- package/dist/cdn/{Q74SK7SV.js → M5YXNNFL.js} +2 -2
- package/dist/cdn/{6WMEVRFU.js → MF5I6FS2.js} +1 -1
- package/dist/cdn/{4P5BRFD5.js → MURIPFSN.js} +2 -2
- package/dist/cdn/{VUJGT26Y.js → NBK6AABU.js} +2 -2
- package/dist/cdn/{RMHX6WO3.js → NIHZ2VB3.js} +2 -2
- package/dist/cdn/{ZP5YYDZ2.js → NOG3VF73.js} +2 -2
- package/dist/cdn/{VD4WHRFB.js → NXATTBSX.js} +2 -2
- package/dist/cdn/{CPPHVEEA.js → NZZ3OXZZ.js} +2 -2
- package/dist/cdn/{2GSOWXYW.js → O4UNTMQF.js} +2 -2
- package/dist/cdn/{YBP7CBSJ.js → ODI6GR7V.js} +2 -2
- package/dist/cdn/{74LS4NAP.js → ODZZBRP7.js} +2 -2
- package/dist/cdn/{NBHOVBHC.js → OJFB4NQT.js} +2 -2
- package/dist/cdn/{FUSICPDM.js → OK3SW4W6.js} +2 -2
- package/dist/cdn/{V3UHZHYV.js → ONT6P5WY.js} +2 -2
- package/dist/cdn/{FB6W7DFW.js → OOQZHHQY.js} +2 -2
- package/dist/cdn/{JU5Z5KJF.js → OQU7XBRY.js} +2 -2
- package/dist/cdn/{7CYHQ6FD.js → OVK3UWJB.js} +2 -2
- package/dist/cdn/{2OKID74A.js → OWKGEODM.js} +2 -2
- package/dist/cdn/{M6QTQ35O.js → P467U5LP.js} +2 -2
- package/dist/cdn/{UUBY2HXK.js → P4ZUAPLW.js} +2 -2
- package/dist/cdn/{EESRNY2T.js → P7DAHRX6.js} +1 -1
- package/dist/cdn/{MH4WKVP3.js → PI3QRLAT.js} +2 -2
- package/dist/cdn/{BSGZITLJ.js → PKYKORGT.js} +2 -2
- package/dist/cdn/{6MBJ4AVS.js → PRPH2H7Z.js} +2 -2
- package/dist/cdn/{GNBPPVLP.js → PRZULKVM.js} +1 -1
- package/dist/cdn/{OA5FERZN.js → Q4SMSMFG.js} +2 -2
- package/dist/cdn/{6HYB4M3B.js → QBOXZOAN.js} +2 -2
- package/dist/cdn/{7X4PUGKU.js → QCAYPIVJ.js} +2 -2
- package/dist/cdn/{NIIJM5IV.js → QR5SG4RL.js} +2 -2
- package/dist/cdn/{LBY2QGM5.js → QRS3DLVN.js} +2 -2
- package/dist/cdn/{23HUP6H4.js → R6JSAASA.js} +2 -2
- package/dist/cdn/{IEMYK25U.js → RENLALIG.js} +2 -2
- package/dist/cdn/{GZCBIJGX.js → RH6GRAN6.js} +2 -2
- package/dist/cdn/{ZKB4YZNZ.js → RHLJAF54.js} +1 -1
- package/dist/cdn/{4ZQMNRXP.js → RJG2XAQJ.js} +2 -2
- package/dist/cdn/{GZJZZOKY.js → RNCT76H3.js} +2 -2
- package/dist/cdn/{GXT4JSC6.js → RPA5J4G3.js} +2 -2
- package/dist/cdn/{DHIW653L.js → RRSNWM4U.js} +2 -2
- package/dist/cdn/{GAR3FSPV.js → RRUGD6GB.js} +2 -2
- package/dist/cdn/{UM6ABQ4M.js → RYAMICXR.js} +2 -2
- package/dist/cdn/{GNJBWDF6.js → RYUBZPPI.js} +2 -2
- package/dist/cdn/{WZON6ADW.js → S6K3YSE5.js} +2 -2
- package/dist/cdn/{EA5BIZHW.js → SHY6N3QO.js} +2 -2
- package/dist/cdn/{XWMSRYJY.js → SI4ERHHK.js} +2 -2
- package/dist/cdn/{7AJW6CTA.js → SI5QHCXM.js} +2 -2
- package/dist/cdn/{2SBM6RKV.js → SLQZGCEZ.js} +2 -2
- package/dist/cdn/{O77ONXXD.js → SMLYMREP.js} +2 -2
- package/dist/cdn/{OCMKAGN4.js → STXTHRRI.js} +2 -2
- package/dist/cdn/{L27O5UYK.js → SXIVXBL2.js} +2 -2
- package/dist/cdn/{XMTPKTTY.js → SXOHTZZA.js} +2 -2
- package/dist/cdn/{NQFMIUBA.js → T2S7WPV3.js} +2 -2
- package/dist/cdn/{C7JYDN2K.js → T7SLWATZ.js} +2 -2
- package/dist/cdn/{Z75GPXSZ.js → TDSSDPLN.js} +2 -2
- package/dist/cdn/{2KICQPEY.js → TIY72KNK.js} +2 -2
- package/dist/cdn/{J3JE23S2.js → TLNDFK3C.js} +2 -2
- package/dist/cdn/{4ERPXL5C.js → TTCESNRU.js} +2 -2
- package/dist/cdn/{PIO5W5JO.js → TXFCO332.js} +2 -2
- package/dist/cdn/{4XZPUTED.js → U3OMXGTU.js} +2 -2
- package/dist/cdn/{OGYJY4QT.js → U3ZOPGY6.js} +2 -2
- package/dist/cdn/{MBBHONGQ.js → UDBESUGR.js} +2 -2
- package/dist/cdn/{XTC6GUIF.js → ULTJ3YTN.js} +2 -2
- package/dist/cdn/{LMTEQVTY.js → UPLJYCNS.js} +2 -2
- package/dist/cdn/{4UGGJAAV.js → USDPK733.js} +2 -2
- package/dist/cdn/{UAUGESNZ.js → UTPM65FE.js} +2 -2
- package/dist/cdn/{KSKMXEPU.js → UYZ5PQ4V.js} +2 -2
- package/dist/cdn/{CSFWACX6.js → V4DIGFQL.js} +2 -2
- package/dist/cdn/{YGZMZWEF.js → VC6Y463Y.js} +2 -2
- package/dist/cdn/{CODG2ENN.js → VDIYNEOA.js} +2 -2
- package/dist/cdn/{AGFEDBSM.js → VMB3PHJG.js} +2 -2
- package/dist/cdn/{5QJJGDQY.js → VOU2HGPE.js} +2 -2
- package/dist/cdn/{BXS7RSBQ.js → VR3TLNWF.js} +2 -2
- package/dist/cdn/{G374BNKB.js → VYLDJX7M.js} +2 -2
- package/dist/cdn/{MZVNRN4P.js → VYUFC2SL.js} +1 -1
- package/dist/cdn/{JRN6ZB25.js → W5QKAZYR.js} +2 -2
- package/dist/cdn/{2TZXT57Q.js → WBWLW3IY.js} +2 -2
- package/dist/cdn/{MS6WQOMV.js → WQB32EBZ.js} +2 -2
- package/dist/cdn/{MC4QL33W.js → WSUYJ43J.js} +2 -2
- package/dist/cdn/{RIZSU575.js → WU2EXLXQ.js} +2 -2
- package/dist/cdn/{S7UEUR3R.js → WUG47S7U.js} +2 -2
- package/dist/cdn/{I7EBKYZD.js → WUNEDKBE.js} +2 -2
- package/dist/cdn/{5BZUXWNM.js → WWVVGSOG.js} +2 -2
- package/dist/cdn/{HGJ5VCDV.js → X3OT2NG6.js} +2 -2
- package/dist/cdn/{IXGIOATU.js → XC7OGS3L.js} +2 -2
- package/dist/cdn/{PJ36QTY2.js → XCFBHODD.js} +2 -2
- package/dist/cdn/{FP2B4JQJ.js → XEMCC3KJ.js} +2 -2
- package/dist/cdn/{BWT34TJD.js → XF3N7ES5.js} +2 -2
- package/dist/cdn/{2GWPA3HC.js → XHM3BJY7.js} +2 -2
- package/dist/cdn/{NA22QC53.js → XKLJCUC5.js} +2 -2
- package/dist/cdn/{OKMGFKAT.js → XNKP5QCW.js} +2 -2
- package/dist/cdn/{GH2FOBM2.js → XS2QE6NZ.js} +2 -2
- package/dist/cdn/{ULE6CJOD.js → Y4TXPU5W.js} +1 -1
- package/dist/cdn/{6IC34O2H.js → YFHM6WV2.js} +1 -1
- package/dist/cdn/{PXPHMXKV.js → YR5ADHYP.js} +2 -2
- package/dist/cdn/{MZRPS5BC.js → YVKK4G4A.js} +2 -2
- package/dist/cdn/{YF57MQLE.js → ZGYRLTC3.js} +2 -2
- package/dist/cdn/{N6O33TAC.js → ZUZMPHCK.js} +2 -2
- package/dist/cdn/{PKSIMEQ2.js → ZYHWHC3W.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/building-layer-utils.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/component-wrapper.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.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-discipline-tree/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- 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.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.js +1 -1
- 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.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.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.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-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.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.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.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.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.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.js +1 -1
- 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-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/CJQFVW4G.js +0 -4
- package/dist/cdn/XNPK5HKI.js +0 -4
- package/dist/cdn/YASN6Z3U.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{a as E}from"./YGZMZWEF.js";import c from"./UM6ABQ4M.js";import b from"./4D4TXTM7.js";import a from"./XWMSRYJY.js";import"./JBATHADW.js";import"./FB6W7DFW.js";import{a as w}from"./BXS7RSBQ.js";import"./DG2NGS4U.js";import"./PJ36QTY2.js";import{h as S}from"./6IC34O2H.js";import{b as y}from"./GNBPPVLP.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{a as E}from"./VC6Y463Y.js";import c from"./RYAMICXR.js";import b from"./HTBXHWXX.js";import a from"./SI4ERHHK.js";import"./6YU2WDTP.js";import"./OOQZHHQY.js";import{a as w}from"./VR3TLNWF.js";import"./G2B3DNUM.js";import"./XCFBHODD.js";import{h as S}from"./YFHM6WV2.js";import{b as y}from"./PRZULKVM.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",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{a as N,b as D}from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{a as N,b as D}from"./XCFBHODD.js";import{c as L,g as _}from"./PRZULKVM.js";import{h as x,j as E,k as C,l as h,m as u,n as P,o as f,v,w as O,y as w}from"./6BU3AX32.js";var A=e=>(...r)=>{let t=u(),o=new e(...r),s=o.exports;h(t.at(-1));let n=o.component.manager;n.W(o,s),o.watchExports(n.W.bind(n,o)),P(o);let a=[o.component,...t].reverse();return v(a,i=>i===void 0?void 0:T(o,i,s),s)},T=(e,{host:r,key:t,isReactive:o},s)=>{let n=r,a=n[t]!==e.exports,i=n[t]!==s,c=s!==e.exports;if(a&&!i&&c&&(n[t]=e.exports),r===e.component){if(o){let p=e.component.manager;i&&p.W(e,n[t]),e.onUpdate(m=>{if(m.has(t)){let b=n[t];b!==e.exports&&p.W(e,b)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(d?f(()=>{n[t]=e.exports}):n[t]=e.exports)})};var y=e=>V(void 0,e),se=e=>r=>V(r,e),g=class extends w{constructor(r,t){super(r);let o=this.exports;try{E(this.component);let s=t(this.component,this),n=this.exports!==o;if(x(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s)}}catchUpLifecycle(){}},V=A(g);var re=e=>(...r)=>{let t=u(),o=new e(...r);return h(t.at(-1)),o},ne=e=>y((r,t)=>{let o=globalThis.matchMedia(e),s=()=>{t.exports=o.matches};s(),t.onLifecycle(()=>(o.addEventListener("change",s),()=>o.removeEventListener("change",s)))}),M="ltr",ie=()=>y((e,r)=>{r.exports=M,r.onLifecycle(()=>{let t=()=>{let o=_(e.el,"dir",M);r.exports=o==="rtl"?"rtl":"ltr"};return t(),L(e.el,["dir"],t)})}),ae=e=>(r={})=>y((t,o)=>{let s=N(t.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>D(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},r.name));let i=c=>{let l=o.exports,d=l._original??l,p=R(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),r.blocking?(o.setProvisionalExports(n,!1),o.ready):n}),R=(e,r)=>{if(!r)return e;let t={...e};return Object.entries(r).forEach(([o,s])=>{e[o]!==void 0&&(typeof s=="object"?t[o]=R(e[o],s):t[o]=s??e[o])}),t},ce=e=>F,U="arcgisPropertyChange",F=(...e)=>{let r=C(),t=O(U,void 0,r),o=!0;return r.manager.onUpdated(s=>{if(o||!r.el.isConnected){o=!1;return}for(let n of e)s.has(n)&&t.emit({name:n})}),t};export{A as a,se as b,re as c,ne as d,ie as e,ae as f,ce as g};
|
|
@@ -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 g from"./CSFWACX6.js";import e from"./XWMSRYJY.js";import"./JBATHADW.js";import d from"./VBBBGRFE.js";import{a as x}from"./BXS7RSBQ.js";import{a as p}from"./ZABD6P4G.js";import c from"./2SBM6RKV.js";import a from"./3WR5FNIS.js";import{g as b}from"./DG2NGS4U.js";import"./PJ36QTY2.js";import"./6IC34O2H.js";import"./GNBPPVLP.js";import{N as w,O as t,T as v,a as f,b as l,x as m}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([$,{property:M,subclass:C},,,y,{e:h},k])=>{var A=f`.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}:host{min-width:300px}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto;width:300px}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,a="arcgis-line-of-sight",s={base:a,actions:`${a}__actions`,container:`${a}__container`,error:`${a}__error`,hint:`${a}__hint`,hintText:`${a}__hint-text`,newAnalysisButton:`${a}__new-analysis-button`},O=Object.defineProperty,V=Object.getOwnPropertyDescriptor,z=(r,e,o,n)=>{for(var i=n>1?void 0:n?V(e,o):e,d=r.length-1,g;d>=0;d--)(g=r[d])&&(i=(n?g(e,o,i):g(i))||i);return n&&i&&O(e,o,i),i},c=class extends k{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new $}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(r){await this.analysisView?.place(r)}};z([M({readOnly:!0})],c.prototype,"state",1);c=z([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var j=y(c),u=class extends w{constructor(){super(...arguments),this.viewModel=j(this),this._messages=x({blocking:!0}),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="line-of-sight",this.arcgisPropertyChange=b()("analysis","state"),this.arcgisReady=m()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideVisualization:5,icon:2,label:1,messageOverrides:0,referenceElement:1,state:35,_supported:16}}static{this.styles=A}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){h(this.viewModel.start({clear:!1}))}async destroy(){await this.manager.destroy()}async start(){h(this.viewModel.start())}async stop(){this.viewModel.stop()}render(){return l`<div class=${t({[s.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${t(s.error)}><p>${this._messages.unsupported}</p></div>`;let e=this.viewModel.state,o=e==="creating";return l`<div class=${t(s.container)}>${o?l`<div class=${t(s.hint)}><p class=${t(s.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${t(s.actions)}>${e==="creating"?_({onClick:()=>{this.stop()},children:this._messages.done}):null}${e==="created"?_({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${_({className:s.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:e==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function _({className:r,onClick:e,primary:o,disabled:n,children:i}){return l`<calcite-button .appearance=${o?"solid":"outline-fill"} class=${t(r)} .disabled=${n} @click=${e}>${i}</calcite-button>`}v("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,c,d,e,g)
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import g from"./V4DIGFQL.js";import e from"./SI4ERHHK.js";import"./6YU2WDTP.js";import d from"./FE647SFD.js";import{a as x}from"./VR3TLNWF.js";import{a as p}from"./FVYEHJTQ.js";import c from"./SLQZGCEZ.js";import a from"./644WHHRV.js";import{g as b}from"./G2B3DNUM.js";import"./XCFBHODD.js";import"./YFHM6WV2.js";import"./PRZULKVM.js";import{N as w,O as t,T as v,a as f,b as l,x as m}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([$,{property:M,subclass:C},,,y,{e:h},k])=>{var A=f`.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}:host{min-width:300px}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto;width:300px}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,a="arcgis-line-of-sight",s={base:a,actions:`${a}__actions`,container:`${a}__container`,error:`${a}__error`,hint:`${a}__hint`,hintText:`${a}__hint-text`,newAnalysisButton:`${a}__new-analysis-button`},O=Object.defineProperty,V=Object.getOwnPropertyDescriptor,z=(r,e,o,n)=>{for(var i=n>1?void 0:n?V(e,o):e,d=r.length-1,g;d>=0;d--)(g=r[d])&&(i=(n?g(e,o,i):g(i))||i);return n&&i&&O(e,o,i),i},c=class extends k{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new $}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(r){await this.analysisView?.place(r)}};z([M({readOnly:!0})],c.prototype,"state",1);c=z([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var j=y(c),u=class extends w{constructor(){super(...arguments),this.viewModel=j(this),this._messages=x({blocking:!0}),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="line-of-sight",this.arcgisPropertyChange=b()("analysis","state"),this.arcgisReady=m()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideVisualization:5,icon:2,label:1,messageOverrides:0,referenceElement:1,state:35,_supported:16}}static{this.styles=A}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){h(this.viewModel.start({clear:!1}))}async destroy(){await this.manager.destroy()}async start(){h(this.viewModel.start())}async stop(){this.viewModel.stop()}render(){return l`<div class=${t({[s.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${t(s.error)}><p>${this._messages.unsupported}</p></div>`;let e=this.viewModel.state,o=e==="creating";return l`<div class=${t(s.container)}>${o?l`<div class=${t(s.hint)}><p class=${t(s.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${t(s.actions)}>${e==="creating"?_({onClick:()=>{this.stop()},children:this._messages.done}):null}${e==="created"?_({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${_({className:s.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:e==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function _({className:r,onClick:e,primary:o,disabled:n,children:i}){return l`<calcite-button .appearance=${o?"solid":"outline-fill"} class=${t(r)} .disabled=${n} @click=${e}>${i}</calcite-button>`}v("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,c,d,e,g)
|
|
@@ -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 b from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import b from"./HCM3K26G.js";import a from"./ALBR4Q7N.js";import{b as _}from"./PRZULKVM.js";import{N as p,O as i,P as e,T as m,a as g,b as t}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([,{a:v,b:b,d:f,f:y,g:h,h:s,i:u}])=>{var F=g`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row,.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__size-ramp~.arcgis-legend__layer-cell--info{width:80%;max-width:80%}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-legend__univariate-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__univariate-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-legend__univariate-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-legend__univariate-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-legend__univariate-label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-legend__univariate-label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",sizeRamp:"arcgis-legend__size-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateLabel:"arcgis-legend__univariate-label"},n=class extends p{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=F}render(){let{legendElement:w,opacity:x}=this,{sizeRampElement:l,colorRampElement:c}=y(w,this.messages);if(!l)return null;let $=v(l),z=12,o=f(l,"full",!1),L=b(c,{width:z,height:o,rampAlignment:"vertical",opacity:x,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages.previewColorRampAriaLabel}),E=l.infos.length-1,C=l.infos.map((r,d)=>d===0||d===E?t`<div class=${i(r.label?c?a.univariateLabel:a.rampLabel:void 0)}>${r.label}</div>`:null),R={display:"table-cell",verticalAlign:"middle"},j={marginTop:`${$}px`},A={height:`${o}px`};return t`<div style=${e(u)}><div class=${i(a.layerBody)}>${l.infos.map(r=>t`<div class=${i(_(a.layerRow,a.sizeRamp))}><div class=${i(a.symbol)} style=${e(R)}>${r.preview}</div></div>`)}</div><div style=${e(j)}><div style=${e(h)}><div style=${e(s)}><div class=${i(a.rampContainer)}>${L}</div></div><div style=${e(s)}><div class=${i(a.rampLabelsContainer)} style=${e(A)}>${C}</div></div></div></div></div>`}};m("arcgis-legend-classic-univariate-color-size-ramp",n);return n},a,b)
|
|
@@ -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{L as s,M as i,N as h,O as n,T as r,a,b as t}from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{L as s,M as i,N as h,O as n,T as r,a,b as t}from"./6BU3AX32.js";import"./Y4TXPU5W.js";var c=a``,m="arcgis-feature-attachments",d={base:m},e=class extends h{constructor(){super(...arguments),this._attachmentsRef=s(),this.hideSection=!1,this.attachmentsLength=0,this.headingLevel=2}static{this.properties={hideSection:16,attachmentsLength:16,state:16,attachmentKeywords:0,attachmentTypes:0,description:1,displayType:1,graphic:0,heading:1,headingLevel:9,messages:0}}static{this.styles=c}_updateAttachmentsState(){this.state=this._attachmentsRef.value?.state,this.attachmentsLength=this._attachmentsRef.value?.attachmentInfos?.length??0}render(){return t`<div class=${n(d.base)}>${this.renderContent()}</div>`}renderContent(){return t`<div .hidden=${!(this.state==="loading"||this.attachmentsLength>0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} .attachmentKeywords=${this.attachmentKeywords} .attachmentTypes=${this.attachmentTypes} ${i(this._attachmentsRef)}></arcgis-attachments></div>`}};r("arcgis-feature-attachments",e);export{e as ArcgisFeatureAttachments};
|
|
@@ -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.111 */
|
|
4
|
+
import"./Y4TXPU5W.js";var r={_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:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"\uC624\uC804","P.M.":"\uC624\uD6C4",January:"1\uC6D4",February:"2\uC6D4",March:"3\uC6D4",April:"4\uC6D4",May:"5\uC6D4",June:"6\uC6D4",July:"7\uC6D4",August:"8\uC6D4",September:"9\uC6D4",October:"10\uC6D4",November:"11\uC6D4",December:"12\uC6D4",Jan:"1\uC6D4",Feb:"2\uC6D4",Mar:"3\uC6D4",Apr:"4\uC6D4","May(short)":"5\uC6D4",Jun:"6\uC6D4",Jul:"7\uC6D4",Aug:"8\uC6D4",Sep:"9\uC6D4",Oct:"10\uC6D4",Nov:"11\uC6D4",Dec:"12\uC6D4",Sunday:"\uC77C\uC694\uC77C",Monday:"\uC6D4\uC694\uC77C",Tuesday:"\uD654\uC694\uC77C",Wednesday:"\uC218\uC694\uC77C",Thursday:"\uBAA9\uC694\uC77C",Friday:"\uAE08\uC694\uC77C",Saturday:"\uD1A0\uC694\uC77C",Sun:"\uC77C",Mon:"\uC6D4",Tue:"\uD654",Wed:"\uC218",Thu:"\uBAA9",Fri:"\uAE08",Sat:"\uD1A0",_dateOrd:function(_){let e="\uC77C";if(_<11||_>13)switch(_%10){case 1:e="\uC77C";break;case 2:e="\uC77C";break;case 3:e="\uC77C";break}return e},"Zoom Out":"\uCD95\uC18C",Play:"\uC2DC\uC791",Stop:"\uC815\uC9C0",Legend:"\uBC94\uB840","Press ENTER to toggle":"\uCF1C\uACE0 \uB044\uB824\uBA74 \uD074\uB9AD, \uD0ED \uD639\uC740 \uC5D4\uD130\uB97C \uB20C\uB7EC\uC8FC\uC138\uC694.",Loading:"\uBD88\uB7EC\uC624\uB294 \uC911",Home:"\uD648",Chart:"\uCC28\uD2B8","Serial chart":"\uC2DC\uB9AC\uC5BC \uCC28\uD2B8","X/Y chart":"X/Y \uCC28\uD2B8","Pie chart":"\uD30C\uC774 \uCC28\uD2B8","Gauge chart":"\uAC8C\uC774\uC9C0 \uCC28\uD2B8","Radar chart":"\uB808\uC774\uB354 \uCC28\uD2B8","Sankey diagram":"\uC0DD\uD0A4 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Flow diagram":"\uD50C\uB85C\uC6B0 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Chord diagram":"\uCF54\uB4DC \uB2E4\uC774\uC5B4\uADF8\uB7A8","TreeMap chart":"\uD2B8\uB9AC\uB9F5 \uCC28\uD2B8","Force directed tree":"\uD3EC\uC2A4 \uB514\uB809\uD2F0\uB4DC \uD2B8\uB9AC","Sliced chart":"\uC2AC\uB77C\uC774\uC2A4 \uCC28\uD2B8",Series:"\uC2DC\uB9AC\uC988","Candlestick Series":"\uCE94\uB4E4\uC2A4\uD2F1 \uC2DC\uB9AC\uC988","OHLC Series":"OHLC \uC2DC\uB9AC\uC988","Column Series":"\uCEEC\uB7FC \uC2DC\uB9AC\uC988","Line Series":"\uB77C\uC778 \uC2DC\uB9AC\uC988","Pie Slice Series":"\uD30C\uC774 \uC2AC\uB77C\uC774\uC2A4 \uC2DC\uB9AC\uC988","Funnel Series":"\uD37C\uB110 \uC2DC\uB9AC\uC988","Pyramid Series":"\uD53C\uB77C\uBBF8\uB4DC \uC2DC\uB9AC\uC988","X/Y Series":"X/Y \uC2DC\uB9AC\uC988",Map:"\uB9F5","Press ENTER to zoom in":"\uD655\uB300\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to zoom out":"\uCD95\uC18C\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Use arrow keys to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uBC29\uD5A5\uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use plus and minus keys on your keyboard to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uD0A4\uBCF4\uB4DC\uC758 +/- \uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.",Export:"\uB0B4\uBCF4\uB0B4\uAE30",Image:"\uC774\uBBF8\uC9C0",Data:"\uB370\uC774\uD130",Print:"\uC778\uC1C4","Press ENTER to open":"\uC5F4\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to print.":"\uCD9C\uB825\uD558\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to export as %1.":"%1(\uC73C)\uB85C \uB0B4\uBCF4\uB0B4\uB824\uBA74 \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","(Press ESC to close this message)":"(\uC774 \uBA54\uC2DC\uC9C0\uB97C \uB044\uB824\uBA74 ESC\uB97C \uB204\uB974\uC138\uC694.)","Image Export Complete":"\uC774\uBBF8\uC9C0 \uB0B4\uBCF4\uB0B4\uAE30 \uC644\uB8CC","Export operation took longer than expected. Something might have gone wrong.":"\uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uC9C0\uC5F0\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uBB38\uC81C\uAC00 \uC5C6\uB294\uC9C0 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.","Saved from":"\uB2E4\uC74C\uC73C\uB85C\uBD80\uD130 \uC800\uC7A5\uB428: ",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move left selection":"\uC67C\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move right selection":"\uC624\uB978\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use TAB select grip buttons or up and down arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move lower selection":"\uD558\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move upper selection":"\uC0C1\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","From %1 to %2":"%1 \uBD80\uD130 %2 \uAE4C\uC9C0","From %1":"%1 \uBD80\uD130","To %1":"%1 \uAE4C\uC9C0","No parser available for file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uBD88\uAC00\uB2A5: %1","Error parsing file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uC624\uB958: %1","Unable to load file: %1":"\uD30C\uC77C \uB85C\uB4DC \uBD88\uAC00\uB2A5: %1","Invalid date":"\uB0A0\uC9DC \uC62C\uBC14\uB974\uC9C0 \uC54A\uC74C",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"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import"./Y4TXPU5W.js";var t={_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:"sau CN",_era_bc:"Tr\u01B0\u1EDBc CN",A:"s",P:"c",AM:"SA",PM:"CH","A.M.":"SA","P.M.":"CH",January:"th\xE1ng 1",February:"th\xE1ng 2",March:"th\xE1ng 3",April:"th\xE1ng 4",May:"th\xE1ng 5",June:"th\xE1ng 6",July:"th\xE1ng 7",August:"th\xE1ng 8",September:"th\xE1ng 9",October:"th\xE1ng 10",November:"th\xE1ng 11",December:"th\xE1ng 12",Jan:"thg 1",Feb:"thg 2",Mar:"thg 3",Apr:"thg 4","May(short)":"thg 5",Jun:"thg 6",Jul:"thg 7",Aug:"thg 8",Sep:"thg 9",Oct:"thg 10",Nov:"thg 11",Dec:"thg 12",Sunday:"Ch\u1EE7 Nh\u1EADt",Monday:"Th\u1EE9 Hai",Tuesday:"Th\u1EE9 Ba",Wednesday:"Th\u1EE9 T\u01B0",Thursday:"Th\u1EE9 N\u0103m",Friday:"Th\u1EE9 S\xE1u",Saturday:"Th\u1EE9 B\u1EA3y",Sun:"CN",Mon:"Th 2",Tue:"Th 3",Wed:"Th 4",Thu:"Th 5",Fri:"Th 6",Sat:"Th 7",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Thu ph\xF3ng",Play:"Ph\xE1t",Stop:"D\u1EEBng",Legend:"Ch\xFA gi\u1EA3i","Press ENTER to toggle":"",Loading:"\u0110ang t\u1EA3i",Home:"Trang ch\u1EE7",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:"In",Image:"H\xECnh \u1EA3nh",Data:"D\u1EEF li\u1EC7u",Print:"In","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":"T\u1EEB %1 \u0111\u1EBFn %2","From %1":"T\u1EEB %1","To %1":"\u0110\u1EBFn %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{t 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{a as x}from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{a as x}from"./VR3TLNWF.js";import"./G2B3DNUM.js";import"./XCFBHODD.js";import"./PRZULKVM.js";import{N as T,O as p,T as S,a as v,b as g,p as c,x as y}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([I,m,h,C,P,G,A,_])=>{var B=v`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",b={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},L=class extends T{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.isSelectWaiting=!1,this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={isSelectWaiting:16,beforeTraceLocationSelectStart:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=B}async load(){h.isLoaded()||await h.load()}_createPolyline(e,t){return new C({hasZ:!1,hasM:!0,paths:e,spatialReference:new P({wkid:t})})}_calculatePercentAlong(e,t){let r=e.spatialReference,a=this._createPolyline(e.paths,r.wkid),i=t.x-.5,o=t.x+.5,n=t.y-.5,s=t.y+.5,l=[[[i,n],[o,s]]],w=this._createPolyline(l,t.spatialReference.wkid),u=h.execute(w,r);if(!u)return c("error",this,"Unable to project flag geometry to source geometry spatial reference."),.5;let d=I.execute(a,u);if(d.length>0){let $=m.execute(a,{unit:"feet"}),k;return d[0].paths[0][0][0]===a.paths[0][0][0]?k=m.execute(d[0],{unit:"feet"}):k=m.execute(d[1],{unit:"feet"}),k/$}return c("warn",this,"Unable to cut the source geometry with the flag geometry."),.5}async _ensureNecessaryAttributes(e){let t=(e.layer?.type,e.layer),r=t.fieldsIndex?.get("assetgroup")??!1,a=t.fieldsIndex?.get("assetgroup")?.name??"assetgroup",i=t.fieldsIndex?.get("assettype")??!1,o=t.fieldsIndex?.get("assettype")?.name??"assettype",n=e.getGlobalId(),s=e.getObjectId(),l=r?!!e.getAttribute(a):!0,w=i?!!e.getAttribute(o):!0;if(n&&s&&l&&w)return e;let u=t.createQuery();return u.objectIds=[s],(await t.queryFeatures(u))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(e,t){let{view:r}=this;if(!r||e.length===0){c("error",this,"`view` is unavailable or there are no results to process.");return}let a=e[0].graphic,i=await this._ensureNecessaryAttributes(a);if(!i){c("error",this,"Unable to ensure necessary attributes on the selected graphic.");return}this._generateTraceLocation(i,t)}_createFlagSymbol(){let{traceLocationType:e}=this,t=[244,21,21,.6],r=[21,244,21,.6];return e==="stopping-point"?new _({color:t,style:"x",size:12,outline:{color:t,width:2}}):e==="barrier"?new _({color:t,style:"square",size:12,outline:{color:t,width:0}}):new _({color:r,style:"circle",size:12,outline:{color:r,width:0}})}_addFlagGraphic(e,t,r){let{flagLayer:a,view:i}=this;if(!a||!i)return c("error",this,"The properties `flagLayer` and `view` are required but either one or both are missing."),null;let o=t.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===e)&&o!=="polyline")return c("warn",this,"A flag with the same globalId already exists."),null;let n=this._createFlagSymbol(),s=new G({geometry:r,symbol:n,attributes:t.attributes});return a.add(s),s}async _generateItemTitle(e){let{messages:t}=this,r=(e.layer?.type,e.layer);return("getFeatureTitle"in r?await r.getFeatureTitle(e):null)||e?.getObjectId()?.toString()||t.labels.unknown}async _generateFlagInfo(e,t){let{traceLocationType:r,utilityNetwork:a}=this,i=e.getGlobalId()??"",o=e.geometry?.type,n=await this._generateItemTitle(e);if(o==="point"||o==="polygon"){let s=a?.getTerminalConfiguration(e),l=s?s.terminals[0].id:1;return{traceLocation:new A({type:r,isFilterBarrier:!1,globalId:i,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:s??void 0,selectedTerminals:s?new Set([l]):void 0},spatialProperties:{mapPoint:t,mapGraphic:e}}}else if(o==="polyline"){let s=this._calculatePercentAlong(e.geometry,t);return{traceLocation:new A({type:r,isFilterBarrier:!1,globalId:i,percentAlong:s}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:t,mapGraphic:e}}}return null}async _generateTraceLocation(e,t){let{traceLocations:r}=this,a=e.getGlobalId()??"",i=e.geometry?.type,o=await this._generateFlagInfo(e,t);if(!o){c("error",this,"Unable to generate flag info for trace location.");return}let n=r?.filter(s=>s.spatialProperties.mapGraphic?.getGlobalId()===a)??[];if(n.length===0||i==="polyline"){if(i==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-o.traceLocation.percentAlong)<=this.spatialTolerance)){c("warn",this,"A flag with the same globalId already exists within tolerance.");return}let s=this._addFlagGraphic(a,e,t);if(!s){c("warn",this,"Unable to add flag graphic.");return}o.spatialProperties.flagGraphic=s,r?.add(o);return}c("warn",this,"A flag with the same globalId already exists.")}async _hitTest(e){let{view:t,utilityNetwork:r}=this;if(!t||!r){c("error",this,"Either `utilityNetwork` or `view` is unavailable for hit test.");return}let a=e.graphic?.geometry,i=this.view?.toScreen(a);if(!i){c("warn",this,"No screen point available for hit test.");return}let o=(await t.hitTest(i,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(o.length===0){c("info",this,"No usable hit test results found.");return}this._ensureNecessaryAttributesAndGenerateTraceLocation(o,a)}_resetAfterSketch(){let{view:e}=this;if(!e){c("error",this,"View is not available to reset after sketch.");return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in e&&e.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(e){let{sketchViewModel:t,view:r}=this;if(!t||!r){c("error",this,"Either `sketchViewModel` or `view` is not available in sketch complete handler.");return}e.state==="complete"&&e.graphic&&(t.layer.remove(e.graphic),this._hitTest(e)),(e.state==="cancel"||e.state==="complete")&&this._resetAfterSketch()}async _handleAddButtonClick(){let{view:e,sketchViewModel:t}=this;if(!(e&&t)){c("error",this,"Cannot add trace location; `view` not found.");return}if(this.beforeTraceLocationSelectStart){this.isSelectWaiting=!0;try{await this.beforeTraceLocationSelectStart()}finally{this.isSelectWaiting=!1}}this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>t.cancel()}).defaultPrevented||(this._clickHandler?.remove(),this._clickHandler=t.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in e&&e.acquireCursor("crosshair"),this.sketchViewModel?.create("point"))}_handleClearButtonClick(){let{flagLayer:e,traceLocations:t}=this;t?.forEach(r=>{r.spatialProperties.flagGraphic&&e&&e.remove(r.spatialProperties.flagGraphic)}),t?.removeAll()}renderAddLocationBlock(){let{traceLocationType:e,messages:t,traceLocations:r}=this,a=e==="starting-point"?t.types.startingPoint:e==="barrier"?t.types.barrier:t.types.stoppingPoint,i=a.heading,o=a.description,n=a.buttonText;return g`<calcite-block .heading=${i} .label=${i} expanded .description=${o}>${r?.length?g`<calcite-button class=${p(b.clearButton)} slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${t.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${r} .traceLocationType=${e}></arcgis-utility-network-trace-location-list><div class=${p(b.buttonContainer)}><calcite-button .loading=${this.isSelectWaiting} class=${p(b.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return g`<div class=${p(b.base)}>${this.renderAddLocationBlock()}</div>`}};S("arcgis-utility-network-trace-location",L);return L},"geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/Polyline","geometry/SpatialReference","Graphic","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol")
|
|
@@ -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.111 */
|
|
4
|
+
import{N as u,O as l,T as o,a as c,b as r}from"./6BU3AX32.js";import"./Y4TXPU5W.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.
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
4
|
var r={dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical"};export{r 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.
|
|
4
|
-
import{b as c}from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{b as c}from"./B7763RXS.js";import{b as s,e as u}from"./G2B3DNUM.js";import{a as l}from"./PRZULKVM.js";import{b as a,x as n,z as h}from"./6BU3AX32.js";export default $arcgis.t(([{when:g,watch:d}])=>{var m=class extends h{constructor(t){super(t),this.direction=u(),this.attributionHeight=0,this._uiContainer=null,this.component.listen("arcgisViewClick",o=>{this._handleOpenPopup(o.detail)}),this.component.listenOn(globalThis,"unhandledrejection",o=>{if(o.reason?.name==="webgl:required"){let{name:e}=o.reason;this.webGLError={name:e}}})}hostLifecycle(){return[g(()=>this.component.view.popup?.visible,()=>{this.popupRef?.visible&&(this.popupRef.visible=!1)})]}openPopup(t){this.popupRef?this.popupRef.open(t):this.component.view.openPopup(t)}closePopup(){this.popupRef?this.popupRef.visible=!1:this.component.view.closePopup()}handleAttributionHeightChange(t){if(!(this.attributionHeight===t||!this.component.el.shadowRoot)){if(this.attributionHeight=t,!this._uiContainer){let o=this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");this._uiContainer=o}this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top",`${this.attributionHeight}px`)}}async _handleOpenPopup(t){if(this.popupRef&&!this.component.popupDisabled){t.stopPropagation();let{location:o,promises:e}=await this.popupRef?.handleViewClick(t);e?.length&&(this.component.view.closePopup(),this.popupRef?.open({location:o,promises:e}))}}_handlePopupSlotChange(t){let o=l(t.target,"arcgis-popup");!this.popupRef&&o.length?this.popupRef=o[0]:o.length||(this.popupRef=void 0)}_webGLErrorAlert(){return this.webGLError?a`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>`:null}render(){return c(this.direction,t=>this._handlePopupSlotChange(t),this._webGLErrorAlert())}},v=s((i,t)=>{let o=n();return t.onLifecycle(()=>d(()=>{let{map:e}=i;if(!e||e.destroyed)return[];let r=[];return e.loadError&&r.push(e),e.basemap?.loadError&&r.push(e.basemap),e.ground.loadError&&r.push(e.ground),[...e.allLayers,...e.allTables].forEach(p=>{p.loadError&&r.push(p)}),r},e=>{e.length&&(i.loadErrorSources=e,o.emit())})),o}),y=s((i,t)=>{let o=n();return t.onLifecycle(()=>d(()=>i.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&o.emit()})),o});return{a:m,b:v,c:y}},"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.111 */
|
|
4
|
+
import{a as i}from"./VR3TLNWF.js";import"./G2B3DNUM.js";import"./XCFBHODD.js";import"./PRZULKVM.js";import{N as s,T as t,b as r}from"./6BU3AX32.js";import"./Y4TXPU5W.js";var e=class extends s{constructor(){super(...arguments),this._messages=i({blocking:!0}),this.errorName=""}static{this.properties={errorName:1}}render(){return r`<calcite-alert icon=x-octagon kind=danger open .label=${this.errorName}><div slot=title>${this._messages.errrorTitle}</div><div slot=message>${this._messages.errorMessage}</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>${this._messages.webglFaq}</calcite-link></calcite-alert>`}};t("arcgis-webgl-error",e);export{e as ArcgisWebGlError};
|
|
@@ -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 g,d as M}from"./G7ROEGFH.js";import j from"./CSFWACX6.js";import i from"./XWMSRYJY.js";import"./JBATHADW.js";import e from"./VBBBGRFE.js";import{a as x}from"./BXS7RSBQ.js";import{a as c}from"./ZABD6P4G.js";import d from"./2SBM6RKV.js";import a from"./3WR5FNIS.js";import{g as b}from"./DG2NGS4U.js";import"./PJ36QTY2.js";import"./6IC34O2H.js";import"./GNBPPVLP.js";import{N as _,O as w,Q as f,T as v,a as u,b as m,x as h}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([$,{getDefaultUnitForView:V},{property:n,subclass:D},{watch:U},,,y,{e:k},z])=>{var j=u`.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{.esri-widget--panel{min-width:0}}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,s=(e,i,r,l)=>{for(var o=l>1?void 0:l?E(i,r):i,d=e.length-1,a;d>=0;d--)(a=e[d])&&(o=(l?a(i,r,o):a(o))||o);return l&&o&&C(i,r,o),o},t=class extends z{constructor(){super(...arguments),this.supportedViewType="2d",this.unsupportedErrorMessage="The Distance Measurement 2D component is only supported in 2D views.",this.shouldForceInteractive=!1}initialize(){this.addHandles(U(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:i})=>{e&&(e.unit=i)},{sync:!0,initial:!0}))}get state(){return this.supported?this.disabled?"disabled":this.operationState==="inactive"&&!this.analysis.valid?"ready":this.analysis.valid?"measured":"measuring":"unsupported"}get measurement(){return{mode:this.analysisView?.result?.mode??"euclidean",length:M(this.analysis.valid?this.analysisView?.result?.length:void 0)}}get unitOptions(){let e=this._userUnitOptions?.filter(i=>g.includes(i));return e&&e.length>0?e:g.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 r=this._defaultUnit;return r&&i.includes(r)?r:i[0]}set unit(e){this._userUnit=e}get _defaultUnit(){return this.view?V(this.view):void 0}async place(e){this.analysisView&&(await this.analysisView.place(e),this.analysisView.interactive=!0)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new $}};s([n()],t.prototype,"state",1);s([n()],t.prototype,"measurement",1);s([n()],t.prototype,"unitOptions",1);s([n()],t.prototype,"_userUnitOptions",2);s([n()],t.prototype,"unit",1);s([n()],t.prototype,"_userUnit",2);s([n()],t.prototype,"_defaultUnit",1);t=s([D("components.distance-measurement-2d.DistanceMeasurement2dViewModel")],t);var L="arcgis-distance-measurement-2d",A={base:L},P=y(t),p=class extends _{constructor(){super(...arguments),this.viewModel=P(this),this.messages=x({name:"distance-measurement-2d",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=b()("analysis","state"),this.arcgisReady=h()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideVisualization:5,icon:2,label: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:r,unitOptions:l,viewModel:o}=this,{measurement:d,state:a}=o;return m`<div aria-label=${i.componentLabel??f} class=${w({[A.base]:!0,[c.widget]:!0,[c.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a} .hintLabel=${i.hint} .unsupportedLabel=${i.unsupported} .items=${[{title:i.distance,measurement:d.length}]}><arcgis-unit-select slot=settings .options=${l} .selectLabel=${i.unit} .value=${r} @arcgisUnitSelectChange=${O=>{this.unit=O.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${a==="unsupported"||a==="disabled"} @click=${this.start}>${i.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};v("arcgis-distance-measurement-2d",p);return p},"analysis/DistanceMeasurementAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{a as g,d as M}from"./KQYNVKEH.js";import j from"./V4DIGFQL.js";import i from"./SI4ERHHK.js";import"./6YU2WDTP.js";import e from"./FE647SFD.js";import{a as x}from"./VR3TLNWF.js";import{a as c}from"./FVYEHJTQ.js";import d from"./SLQZGCEZ.js";import a from"./644WHHRV.js";import{g as b}from"./G2B3DNUM.js";import"./XCFBHODD.js";import"./YFHM6WV2.js";import"./PRZULKVM.js";import{N as _,O as w,Q as f,T as v,a as u,b as m,x as h}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([$,{getDefaultUnitForView:V},{property:n,subclass:D},{watch:U},,,y,{e:k},z])=>{var j=u`.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{.esri-widget--panel{min-width:0}}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,s=(e,i,r,l)=>{for(var o=l>1?void 0:l?E(i,r):i,d=e.length-1,a;d>=0;d--)(a=e[d])&&(o=(l?a(i,r,o):a(o))||o);return l&&o&&C(i,r,o),o},t=class extends z{constructor(){super(...arguments),this.supportedViewType="2d",this.unsupportedErrorMessage="The Distance Measurement 2D component is only supported in 2D views.",this.shouldForceInteractive=!1}initialize(){this.addHandles(U(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:i})=>{e&&(e.unit=i)},{sync:!0,initial:!0}))}get state(){return this.supported?this.disabled?"disabled":this.operationState==="inactive"&&!this.analysis.valid?"ready":this.analysis.valid?"measured":"measuring":"unsupported"}get measurement(){return{mode:this.analysisView?.result?.mode??"euclidean",length:M(this.analysis.valid?this.analysisView?.result?.length:void 0)}}get unitOptions(){let e=this._userUnitOptions?.filter(i=>g.includes(i));return e&&e.length>0?e:g.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 r=this._defaultUnit;return r&&i.includes(r)?r:i[0]}set unit(e){this._userUnit=e}get _defaultUnit(){return this.view?V(this.view):void 0}async place(e){this.analysisView&&(await this.analysisView.place(e),this.analysisView.interactive=!0)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new $}};s([n()],t.prototype,"state",1);s([n()],t.prototype,"measurement",1);s([n()],t.prototype,"unitOptions",1);s([n()],t.prototype,"_userUnitOptions",2);s([n()],t.prototype,"unit",1);s([n()],t.prototype,"_userUnit",2);s([n()],t.prototype,"_defaultUnit",1);t=s([D("components.distance-measurement-2d.DistanceMeasurement2dViewModel")],t);var L="arcgis-distance-measurement-2d",A={base:L},P=y(t),p=class extends _{constructor(){super(...arguments),this.viewModel=P(this),this.messages=x({name:"distance-measurement-2d",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=b()("analysis","state"),this.arcgisReady=h()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideVisualization:5,icon:2,label: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:r,unitOptions:l,viewModel:o}=this,{measurement:d,state:a}=o;return m`<div aria-label=${i.componentLabel??f} class=${w({[A.base]:!0,[c.widget]:!0,[c.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a} .hintLabel=${i.hint} .unsupportedLabel=${i.unsupported} .items=${[{title:i.distance,measurement:d.length}]}><arcgis-unit-select slot=settings .options=${l} .selectLabel=${i.unit} .value=${r} @arcgisUnitSelectChange=${O=>{this.unit=O.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${a==="unsupported"||a==="disabled"} @click=${this.start}>${i.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};v("arcgis-distance-measurement-2d",p);return p},"analysis/DistanceMeasurementAnalysis","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.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import a from"./ALBR4Q7N.js";import{O as w,P as u,R as x,b as v,c as g}from"./6BU3AX32.js";export default $arcgis.t(([{renderColorRampPreviewHTML:L},{e:p,g:$,h:E}])=>{var A=10,y=20,h=10,b=20,z={univariateAboveAndBelowSymbol:"arcgis-univariate-above-and-below-ramp__symbol",colorRamp:"arcgis-legend__color-ramp"};function m(n){return typeof n=="number"}function C(n="vertical"){let e="stroke:rgb(200, 200, 200);stroke-width:1";return n==="vertical"?v`<svg height=4 width=10>${g`<line style=${u(e)} x1=0 x2=10 y1=2 y2=2 />`}</svg>`:v`<svg height=10 width=10>${g`<line style=${u(e)} x1=5 x2=5 y1=0 y2=10 />`}</svg>`}function _(n,e="vertical"){let s={height:`${y}px`,opacity:n?.toString()};return v`<div class=${w(z.univariateAboveAndBelowSymbol)} style=${u(s)}>${C(e)}</div>`}function M(n,e,s,o="vertical",i){n.infos.forEach((t,l)=>{if(i&&l===2){t.preview=x(_(s,o));return}else{let a=(m(t.size)?p(t.size):0)+(o==="horizontal"?b:h),f=t.preview,c=f?.tagName.toLowerCase()==="div",r=c?f:document.createElement("div");r.className=z.univariateAboveAndBelowSymbol,o==="horizontal"?r.style.width=`${a}px`:r.style.height=`${a}px`,!c&&f&&r.appendChild(f),E(r,$(e,t.label)),t.preview=r}})}function I(n,e="classic"){let s=n.infos,o=s.at(0),i=s.at(-1),t=m(o.size)?p(o.size):0,l=m(i.size)?p(i.size):0;return e==="classic"?(t+h)/2:(t-l)/2}function P(n,e){if(!n)return null;let s=n.infos.map(i=>i.color),o=L(e.type==="full"?s:e.type==="above"?s.slice(0,3):s.slice(2,5),{width:e.width??void 0,height:e.height??void 0,align:e.rampAlignment,cssEffectFilter:e.cssEffectFilter,ariaLabel:e.ariaLabel??void 0});return o.className=z.colorRamp,e.opacity!=null&&(o.style.opacity=e.opacity.toString()),o}function k(n,e,s,o="vertical"){let i=0,t=n.infos,l=Math.floor(t.length/2),a=e==="full"||e==="above"?0:l,f=e==="full"||e==="below"?t.length-1:l;for(let c=a;c<=f;c++)if(s&&c===l)i+=o==="horizontal"?A:y;else{let r=t[c].size,d=(m(r)?p(r):0)+(o==="horizontal"?b:h);i+=d}return Math.round(i)}function T(n,e,s,o="vertical"){let i=k(n,e,s,o),t=n.infos,l=Math.floor(t.length/2),a=e==="full"||e==="above"?0:l,f=e==="full"||e==="below"?t.length-1:l,c=m(t[a].size)?t[a].size:0,r=m(t[f].size)?t[f].size:0,d=e==="full"?c+r:e==="above"?c:r,R=s?o==="vertical"?y:A:0,S=o==="vertical"?h*(e==="full"?2:1):b*(e==="full"?2:1);return Math.round(i-(p(d)/2+R/2+S/2))}function j(n,e,s,o="vertical"){let i=n.infos,t=i.find(({type:a})=>a==="size-ramp"),l=i.find(({type:a})=>a==="color-ramp");return t&&(t={...t},t.infos=[...t.infos],M(t,e,s,o,!0)),l&&(l={...l},l.infos=[...l.infos]),o==="horizontal"&&(t?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:t,colorRampElement:l}}function q(n,e,s="vertical"){let o=n.infos,i=o.find(({type:l})=>l==="size-ramp"),t=o.find(({type:l})=>l==="color-ramp");return i&&(i={...i},i.infos=[...i.infos],M(i,e,null,s,!1)),t&&(t={...t},t.infos=[...t.infos]),s==="horizontal"&&(i?.infos.reverse(),t?.infos.reverse()),{sizeRampElement:i,colorRampElement:t}}var D={marginLeft:"3px"},U={display:"table-cell",verticalAlign:"middle"},W={display:"flex",alignItems:"flex-start"};return{a:I,b:P,c:k,d:T,e:j,f:q,g:D,h:U,i:W}},"symbols/support/symbolUtils",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.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import a from"./SI4ERHHK.js";export default $arcgis.t(([{a:r}])=>{function w(){let t=new AbortController;return async n=>{t.abort(),t=new AbortController;let l={signal:t.signal},e=n.toArray().map(a=>u(a,l));await Promise.all(e),r(l)}}async function u(t,n){await t.load(n),await t.loadAll(),r(n),t.summaryStatistics&&await t.summaryStatistics.load(n)}var i="fullmodel",c=t=>n=>{let l=t.toLowerCase();return n.sublayers.find(e=>e.modelName?.toLowerCase()===l)??null},y=c(i);function p(t,n){let l=m(t,n);if(l==null)return null;let e=l.fieldName;if(e==null||!e)return null;let a=f(t,e),s=new Map;for(let o of l.mostFrequentValues??[])typeof o=="number"&&s.set(o,a!=null?a.getName(o):String(o));return{fieldName:e,fieldValueMap:s}}function f(t,n){for(let l of t.allSublayers){let e=l.type==="building-component"?l.getFieldDomain?.(n):null;if(e?.type==="coded-value")return e}return null}function m(t,n){let l=t.summaryStatistics?.fields??[],e=n.toLowerCase();return l.find(a=>a.modelName?.toLowerCase()===e)??null}return{a:w,b:y,c:p}},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.
|
|
4
|
-
import{N as o,T as v,a as l,b as n,x as c}from"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import{N as o,T as v,a as l,b as n,x as c}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([p])=>{var h=l`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-columns: 1;--internal-icon-size: 16px;container-type:inline-size}.container{display:grid;isolation:isolate;grid-template-columns:repeat(var(--internal-columns, 1),1fr);gap:var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.statistic{display:block;width:max-content;text-align:start;white-space:nowrap}.statistic-label,.statistic-value,.slope-values{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-bold)}.statistic-label{font-weight:var(--calcite-font-weight-regular)}.statistic-value{margin-top:-.15em}.slope-values{display:flex;align-items:center;calcite-icon{width:var(--internal-icon-size);height:var(--internal-icon-size)}}@container (width > 200px){.container{--internal-columns: 2}}@container (width > 400px){.container{--internal-columns: 4}}@container (width > 800px){.container{--internal-columns: 8}}`,r=class extends o{constructor(){super(...arguments),this._formatter=new p,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,messages:0,result:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}async load(){await this._formatter.when()}render(){let t=this.messages?.statistics;if(t)return n`<div class="container">${this._renderDistance("maxDistance",t.maxDistance)}${this._renderElevation("elevationGain",t.gain)}${this._renderElevation("elevationLoss",t.loss)}${this._renderElevation("minElevation",t.minElevation)}${this._renderElevation("maxElevation",t.maxElevation)}${this._renderElevation("avgElevation",t.avgElevation)}${this._renderSlope("maxPositiveSlope","maxNegativeSlope",t.maxSlope)}${this._renderSlope("avgPositiveSlope","avgNegativeSlope",t.avgSlope)}</div>`}_renderDistance(t,i){let a=this._renderValue(t,e=>{let s=this.effectiveDisplayUnits?.distance;return s?this._formatter.formatLength({type:"length",value:e,unit:s},d):""});return this._renderStatistic(i,a)}_renderElevation(t,i){let a=this._renderValue(t,e=>{let s=this.effectiveDisplayUnits?.elevation;return s?this._formatter.formatVerticalLength({type:"length",value:e,unit:s},d):""});return this._renderStatistic(i,a)}_renderSlope(t,i,a){return this._renderStatistic(a,n`<div class="slope-values"><calcite-icon icon=arrow-up scale=s></calcite-icon>${this._renderValue(t,e=>e.toFixed(1))}<calcite-icon icon=arrow-down scale=s></calcite-icon>${this._renderValue(i,e=>e.toFixed(1))}</div>`)}_renderStatistic(t,i){return n`<div class="statistic"><label class="statistic-label">${t}</label><div class="statistic-value">${i}</div></div>`}_renderValue(t,i){let{result:a}=this,e=a?.progress===1?a.statistics?.[t]:void 0;return e==null?" \u2015 ":i(e)}},d=1;v("arcgis-elevation-profile-statistics",r);return r},"applications/Components/QuantityFormatter")
|
|
@@ -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"./
|
|
3
|
+
v5.0.0-next.111 */
|
|
4
|
+
import c from"./FE647SFD.js";import{a as g}from"./VR3TLNWF.js";import b from"./SLQZGCEZ.js";import a from"./644WHHRV.js";import{g as m}from"./G2B3DNUM.js";import"./XCFBHODD.js";import"./YFHM6WV2.js";import"./PRZULKVM.js";import{N as n,O as h,T as d,a as s,b as e,x as l}from"./6BU3AX32.js";import"./Y4TXPU5W.js";export default $arcgis.t(([v,,{a:p},u])=>{var $=s``,y={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},w={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"single-timeline","chronological-multi-timeline":"multi-timeline"},b={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},L={base:"link-chart-layout-switcher"},f=u(v),c=class extends n{constructor(){super(...arguments),this.messages=g(),this.viewModel=f(this),this.view=this.viewModel.view,this.appearance="dropdown",this.autoDestroyDisabled=!1,this.closeOnSelectDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=p(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=m()("state"),this.arcgisReady=l()}static{this.properties={view:0,appearance:1,autoDestroyDisabled:5,closeOnSelectDisabled:5,icon:0,label:1,layout:32,messageOverrides:0,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.styles=$}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}_renderDropdown(){let{messages:t,icon:a}=this;return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-action slot=trigger .disabled=${this.viewModel.state==="disabled"} .icon=${a??void 0} .label=${t.layoutOptions??"Layout"} scale=s .text=${t.layoutOptions??"Layout"}></calcite-action>${Object.entries(y).map(([r,i])=>e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map(o=>e`<calcite-dropdown-item .iconStart=${w[o]} .selected=${o===this.layout?!0:void 0} @click=${()=>void this.switchLayout(o)}>${t[b[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`}_renderMenuBar(){let{messages:t}=this;return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(y).map(([a,r])=>e`<calcite-action-group .label=${this.messages[a]}>${r.map(i=>e`<calcite-action scale=s .icon=${w[i]} .active=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)} .text=${t[b[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`}render(){let{appearance:t}=this,a=t==="menu-bar"?this._renderMenuBar():this._renderDropdown();return e`<div class=${h(L.base)}>${a}</div>`}};d("arcgis-link-chart-layout-switcher",c);return c},"widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel",a,b,c)
|