@arcgis/map-components 5.0.0-next.35 → 5.0.0-next.36
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/{J7CBRHF3.js → 2PBQMHMG.js} +1 -1
- package/dist/cdn/{DRIX6INP.js → 2SC3FIJX.js} +2 -2
- package/dist/cdn/{63FS7QVJ.js → 2SOERLXW.js} +2 -2
- package/dist/cdn/{SQFZPOSN.js → 2YG5DDMF.js} +2 -2
- package/dist/cdn/{EL5TFDTF.js → 2ZZZATGO.js} +1 -1
- package/dist/cdn/{22FWFJSW.js → 3BZI5QE7.js} +2 -2
- package/dist/cdn/{EG5RX2QV.js → 3DH76IFY.js} +2 -2
- package/dist/cdn/{DCWWVVMM.js → 3TPI65QA.js} +2 -2
- package/dist/cdn/{K56L7KLU.js → 3YJEEGX6.js} +2 -2
- package/dist/cdn/{5K5ZMFCQ.js → 3YXOCOHK.js} +2 -2
- package/dist/cdn/{AXXKYYKZ.js → 4KCKO7YQ.js} +2 -2
- package/dist/cdn/{OA74E4I3.js → 4L3PHC77.js} +2 -2
- package/dist/cdn/{RSNRSZIA.js → 4N465KFQ.js} +2 -2
- package/dist/cdn/{EDNPDD2G.js → 4RBEHJ27.js} +2 -2
- package/dist/cdn/{M4BAKHIL.js → 4RZBCSH2.js} +2 -2
- package/dist/cdn/{WZYSENNW.js → 4T4J4H4A.js} +2 -2
- package/dist/cdn/{VEL5HAZW.js → 4Y75X7DY.js} +2 -2
- package/dist/cdn/{WG52LNMF.js → 4ZHQ7GY3.js} +2 -2
- package/dist/cdn/{EHNFJ2WK.js → 55HLUZQ7.js} +2 -2
- package/dist/cdn/{BEM6AIJ5.js → 5ALRFNFR.js} +2 -2
- package/dist/cdn/{7GBQ53WK.js → 5BGJS5SN.js} +2 -2
- package/dist/cdn/{X4APY3QO.js → 63TOW7FE.js} +2 -2
- package/dist/cdn/{2ZRRWIDQ.js → 67MFRODE.js} +2 -2
- package/dist/cdn/{WO4GVL4Q.js → 67OTCFXI.js} +2 -2
- package/dist/cdn/{64RG6DKB.js → 6JD63CR4.js} +2 -2
- package/dist/cdn/{COJWOXUI.js → 6LVOPS2H.js} +2 -2
- package/dist/cdn/{OJGL2JIU.js → 6U5YV3AJ.js} +2 -2
- package/dist/cdn/{IYUKHMVB.js → 6UFO6AMC.js} +2 -2
- package/dist/cdn/{3WTZNLXL.js → 76KYAOP2.js} +2 -2
- package/dist/cdn/{G5NQ2EYT.js → 7YOEADEM.js} +2 -2
- package/dist/cdn/{CTRHER4R.js → AL6EAUMY.js} +2 -2
- package/dist/cdn/{UCJBWQ3I.js → ALKZLCLO.js} +2 -2
- package/dist/cdn/{EMRSUSFQ.js → ANNG7PGG.js} +2 -2
- package/dist/cdn/{PN5PBFAQ.js → AVFWY2VZ.js} +2 -2
- package/dist/cdn/{3TO5FKAG.js → AX3CY3WV.js} +2 -2
- package/dist/cdn/{BXIJ6Y23.js → AYEONDG2.js} +1 -1
- package/dist/cdn/{AQZZFULE.js → B3DMGIS4.js} +1 -1
- package/dist/cdn/{NHNFRZDQ.js → B5IWN7Q4.js} +2 -2
- package/dist/cdn/{DMDOQPVQ.js → BDYEBZGL.js} +2 -2
- package/dist/cdn/{TZR43QZT.js → BE2M3VET.js} +2 -2
- package/dist/cdn/{FMQZU7VT.js → BGQYZGMA.js} +2 -2
- package/dist/cdn/BOEIQSPD.js +4 -0
- package/dist/cdn/{TYTL4AUF.js → C3HZH72M.js} +2 -2
- package/dist/cdn/C6F2R7ZG.js +4 -0
- package/dist/cdn/{ZSIXH6LL.js → C6KBWCG5.js} +2 -2
- package/dist/cdn/{Q2Z3TB7I.js → C7YSCYRC.js} +2 -2
- package/dist/cdn/{B6JPREHA.js → CB4UKE3X.js} +2 -2
- package/dist/cdn/{S5UW7FUT.js → CGXNWOYP.js} +1 -1
- package/dist/cdn/{AEOUOJIC.js → CRN7OLD2.js} +1 -1
- package/dist/cdn/{FRMGV36M.js → D2DCIRFB.js} +2 -2
- package/dist/cdn/{43ALRTOT.js → D4AWKUJX.js} +2 -2
- package/dist/cdn/DANZ24SW.js +4 -0
- package/dist/cdn/{AXHHPPY5.js → DBC7G4BH.js} +2 -2
- package/dist/cdn/{PQHPJVPH.js → DBGVVE73.js} +1 -1
- package/dist/cdn/{YSXJTFT6.js → DCKL6NIY.js} +2 -2
- package/dist/cdn/{DCSNQICV.js → DDBZM273.js} +2 -2
- package/dist/cdn/{EWSFR5DD.js → DFZVFHP3.js} +2 -2
- package/dist/cdn/{23ZGEGTJ.js → DVXO2VCI.js} +2 -2
- package/dist/cdn/{U6DAFFSJ.js → EIYUJGWO.js} +2 -2
- package/dist/cdn/{MXOXRFRN.js → EK4VEBOG.js} +2 -2
- package/dist/cdn/{UVSONQCM.js → EUM7UM6P.js} +2 -2
- package/dist/cdn/{6G524JYP.js → EY2CEAJW.js} +2 -2
- package/dist/cdn/{I6NHLFZC.js → F7JYS3RF.js} +2 -2
- package/dist/cdn/FBGAZLIZ.js +4 -0
- package/dist/cdn/{56Z3OQNJ.js → FGC2VUPS.js} +2 -2
- package/dist/cdn/{QEQSIFKV.js → FHYQZUXT.js} +2 -2
- package/dist/cdn/{VHHOMETN.js → FKLZ3V7Q.js} +2 -2
- package/dist/cdn/{6YRD3JH2.js → FV73CAHQ.js} +2 -2
- package/dist/cdn/{34PX5RXG.js → FY5AEW3J.js} +2 -2
- package/dist/cdn/{WOMF5TYE.js → G742DULS.js} +2 -2
- package/dist/cdn/{RM2MOREY.js → GFPMSZIM.js} +2 -2
- package/dist/cdn/{6ISXPN7W.js → GG6QUUG4.js} +2 -2
- package/dist/cdn/{BB44SHP3.js → GGT3763V.js} +2 -2
- package/dist/cdn/{54AZNCLM.js → GOQGJNGN.js} +2 -2
- package/dist/cdn/{NRTCLTUA.js → GRGZP5WS.js} +2 -2
- package/dist/cdn/{OAR25NIZ.js → GZD5OITI.js} +2 -2
- package/dist/cdn/{KRFMFKPZ.js → H7R7OGUR.js} +2 -2
- package/dist/cdn/{2F2K4X6U.js → HGLQ3JMA.js} +2 -2
- package/dist/cdn/{ZC75XSUD.js → HIXKFEW3.js} +2 -2
- package/dist/cdn/{UYLAGUQB.js → HNCG7ZGN.js} +2 -2
- package/dist/cdn/{M37OTBC5.js → HQQSMAOI.js} +2 -2
- package/dist/cdn/{543DEVTA.js → HX42ALFC.js} +2 -2
- package/dist/cdn/{JOER24XS.js → HYDHJ5SO.js} +2 -2
- package/dist/cdn/{OA2KWN6G.js → I7Q74IAV.js} +2 -2
- package/dist/cdn/{NXIYJUC5.js → ICY2BSAB.js} +2 -2
- package/dist/cdn/{LTHBGX26.js → IIUP5ITO.js} +1 -1
- package/dist/cdn/{KWDY6C5P.js → IVOOOXLG.js} +2 -2
- package/dist/cdn/{AB2UOG3O.js → IXIOMD2Z.js} +2 -2
- package/dist/cdn/{D6XOHSHH.js → J52R33GK.js} +2 -2
- package/dist/cdn/{263U4AAO.js → JA2HBOEX.js} +2 -2
- package/dist/cdn/{S5FZKHWF.js → JCNYUHY5.js} +2 -2
- package/dist/cdn/{ALMKHLQP.js → JHEKXLQN.js} +2 -2
- package/dist/cdn/{ZDI45V74.js → JIKO7M3Q.js} +2 -2
- package/dist/cdn/{PJJN5ROW.js → JIW6XI4F.js} +2 -2
- package/dist/cdn/{AVAAMOCP.js → JVCLCW36.js} +2 -2
- package/dist/cdn/{3NBREEJO.js → KEBT2DDA.js} +2 -2
- package/dist/cdn/{U77CJERQ.js → KESFYVP7.js} +2 -2
- package/dist/cdn/{TFAOBI26.js → KJR6NY6A.js} +2 -2
- package/dist/cdn/{P25VOKM6.js → KLGRDDXI.js} +2 -2
- package/dist/cdn/{5JC54MR3.js → KS6JPLUN.js} +2 -2
- package/dist/cdn/{YLS7SLBG.js → KVGKK2RD.js} +2 -2
- package/dist/cdn/{RBQPEGAP.js → KW2VBBNO.js} +2 -2
- package/dist/cdn/{HFMGDDYV.js → KX6OOHHL.js} +2 -2
- package/dist/cdn/{MD4MQWAZ.js → L3O7ADFG.js} +2 -2
- package/dist/cdn/{FXIH42ZE.js → L4M7SLNR.js} +2 -2
- package/dist/cdn/{JRPPPCTD.js → L63TRNC5.js} +2 -2
- package/dist/cdn/{YTZOYRRL.js → LKGNZRYQ.js} +2 -2
- package/dist/cdn/{2ML55H4Y.js → LTCNRU2H.js} +2 -2
- package/dist/cdn/{75CBICXV.js → LUKEAANX.js} +1 -1
- package/dist/cdn/{7YJRFST3.js → LV423MS3.js} +1 -1
- package/dist/cdn/{G36UH75X.js → LZK2UXWH.js} +2 -2
- package/dist/cdn/{4ZCQWMLP.js → M3TLOQTW.js} +2 -2
- package/dist/cdn/{L7ECOUCJ.js → MHFFCTME.js} +2 -2
- package/dist/cdn/{JUCIVK2C.js → MHUWH6FI.js} +2 -2
- package/dist/cdn/{ZSYPONCO.js → MIL2TGCK.js} +2 -2
- package/dist/cdn/{J4L6FN7N.js → MQ5RK3A7.js} +2 -2
- package/dist/cdn/{6PFJZM2W.js → MQHFE2IS.js} +2 -2
- package/dist/cdn/{EZBHHUWP.js → MQKZ6INY.js} +2 -2
- package/dist/cdn/{ZEMMR7KB.js → MXU7PIY2.js} +2 -2
- package/dist/cdn/{QFTWVR6L.js → MYHMTDKQ.js} +2 -2
- package/dist/cdn/{545RONET.js → NAE276QW.js} +2 -2
- package/dist/cdn/{U6BKK7ES.js → NAPAPRYX.js} +2 -2
- package/dist/cdn/{IFORKMFB.js → NEWUTIVT.js} +2 -2
- package/dist/cdn/{WZGJNWVQ.js → NJMY3ZDS.js} +2 -2
- package/dist/cdn/{OMFGAJHJ.js → NNHFVMZS.js} +2 -2
- package/dist/cdn/{I26JMKTF.js → NWABZ4W6.js} +2 -2
- package/dist/cdn/{5BM4Y5TU.js → O3ITASQO.js} +2 -2
- package/dist/cdn/{W4Z2KOS5.js → O4DJ2PA4.js} +2 -2
- package/dist/cdn/{T65V4IVX.js → O4YUFNZA.js} +2 -2
- package/dist/cdn/{OX3HKB5I.js → OEVUGQ5Y.js} +2 -2
- package/dist/cdn/{KLZKBVIU.js → OHMFRPXJ.js} +2 -2
- package/dist/cdn/{ABE66HJK.js → ON7AWNFP.js} +2 -2
- package/dist/cdn/{PA4HRSTZ.js → OR6PMXWV.js} +2 -2
- package/dist/cdn/{FFC7OGSF.js → ORWEBOTT.js} +2 -2
- package/dist/cdn/{2REH2SRN.js → OTWRBHO2.js} +2 -2
- package/dist/cdn/OUBIZWIK.js +4 -0
- package/dist/cdn/{LAAP3BRO.js → OUBMLTDE.js} +1 -1
- package/dist/cdn/{R6HCQHD5.js → P5N3FGHN.js} +2 -2
- package/dist/cdn/{YDKOT22A.js → P6HUPCZM.js} +2 -2
- package/dist/cdn/{PTOJPQ2T.js → PAEH4YFZ.js} +2 -2
- package/dist/cdn/{7EJMJJUR.js → PANMHRFD.js} +2 -2
- package/dist/cdn/{KME7NPJK.js → PGLRPXVP.js} +2 -2
- package/dist/cdn/{6LSEE7B7.js → PWCPVEPY.js} +2 -2
- package/dist/cdn/{RY5TWSDX.js → PYVVKJA3.js} +1 -1
- package/dist/cdn/{D3F72YAY.js → Q3S7I5UU.js} +2 -2
- package/dist/cdn/{2MZTN4GZ.js → Q45FDPYZ.js} +2 -2
- package/dist/cdn/{FN5TDCVF.js → Q4MHPWFP.js} +2 -2
- package/dist/cdn/{EJ6BRSS3.js → QDKJUKBW.js} +2 -2
- package/dist/cdn/{45ZVS7AI.js → QO5HXNV7.js} +2 -2
- package/dist/cdn/{6PAV3H7H.js → QPCVDUWQ.js} +2 -2
- package/dist/cdn/{ICIWQKCZ.js → QRTTBAP4.js} +2 -2
- package/dist/cdn/{6A2VCXEK.js → QXBC2W7T.js} +2 -2
- package/dist/cdn/{JQRXUJSX.js → QZNUUNQD.js} +1 -1
- package/dist/cdn/{LWKAI63E.js → R4CNYU2N.js} +2 -2
- package/dist/cdn/{QK4CFIQR.js → RDZZFZZP.js} +2 -2
- package/dist/cdn/{ZDWKFXZT.js → RENEJ3B2.js} +2 -2
- package/dist/cdn/{4LKXH4VM.js → RIBFZQXP.js} +2 -2
- package/dist/cdn/{BR75DTZM.js → RMAMIJOL.js} +2 -2
- package/dist/cdn/{L65I7LRN.js → RYOZAAAF.js} +2 -2
- package/dist/cdn/{4PEZ4FRJ.js → S2X66RFH.js} +2 -2
- package/dist/cdn/{VFQT35OV.js → S5YTSCJO.js} +2 -2
- package/dist/cdn/{5YRAMF5K.js → SM26YF3R.js} +2 -2
- package/dist/cdn/{QOHDMAS7.js → SRPR4LVP.js} +2 -2
- package/dist/cdn/{O3VWHVBO.js → STVLUF3K.js} +2 -2
- package/dist/cdn/{PEBUQEDM.js → SVUSMFUJ.js} +2 -2
- package/dist/cdn/{FMVSJOD6.js → SXMMCM67.js} +2 -2
- package/dist/cdn/{224X3SAZ.js → T32IUIC5.js} +2 -2
- package/dist/cdn/{NY2ROMUK.js → T5AJ6NV7.js} +2 -2
- package/dist/cdn/{GGTFELQC.js → T7WZJJPA.js} +2 -2
- package/dist/cdn/{FVIA35SY.js → TEQ6IVJL.js} +2 -2
- package/dist/cdn/{MYHIA2LW.js → THJ7TXIR.js} +2 -2
- package/dist/cdn/{LT44YFB3.js → TNRHPBGM.js} +2 -2
- package/dist/cdn/{OD6LZQLN.js → TOQ6U4S2.js} +2 -2
- package/dist/cdn/{4SFA7EFU.js → TPPSFQAE.js} +2 -2
- package/dist/cdn/{762WAMRW.js → TZITMI6J.js} +2 -2
- package/dist/cdn/{53GKDMR3.js → U7BGOCZY.js} +2 -2
- package/dist/cdn/{M5LMYWQC.js → UDTJPRKY.js} +2 -2
- package/dist/cdn/{NGRYMS33.js → UDZOFC3S.js} +2 -2
- package/dist/cdn/{YOWBZDFU.js → UL5ZEA3I.js} +2 -2
- package/dist/cdn/{443VLXJU.js → UOVEPTAT.js} +2 -2
- package/dist/cdn/{XGYBHRZZ.js → UQ6L5QTL.js} +2 -2
- package/dist/cdn/{T3AJYWX6.js → UQ7UC4DW.js} +2 -2
- package/dist/cdn/{MS4H2ZNG.js → V3P4MQD3.js} +1 -1
- package/dist/cdn/{D5HNOBJH.js → V5PVBQKX.js} +2 -2
- package/dist/cdn/{7NXTAHEK.js → V6THVBMY.js} +2 -2
- package/dist/cdn/{WHFA2MWO.js → V74KMBRL.js} +2 -2
- package/dist/cdn/{DR6VT244.js → V7XMDICH.js} +2 -2
- package/dist/cdn/{YL274O23.js → VB7G3VZP.js} +2 -2
- package/dist/cdn/{LDVXBXVB.js → VIMALWIT.js} +2 -2
- package/dist/cdn/{TGZVNHIA.js → VXKYHCTM.js} +2 -2
- package/dist/cdn/{5GLZHIOI.js → VZPCIQML.js} +2 -2
- package/dist/cdn/{5EBLDKX2.js → WKHJWNXY.js} +2 -2
- package/dist/cdn/{QCUUWZMP.js → WOEEQ42O.js} +2 -2
- package/dist/cdn/{OSHBXR2D.js → WOO2OVB4.js} +2 -2
- package/dist/cdn/{DMNR6JBU.js → WT4NYP2N.js} +2 -2
- package/dist/cdn/{KM3LWTRC.js → WXL6EGRP.js} +2 -2
- package/dist/cdn/{2NJ7SNSF.js → WZW6W6XK.js} +2 -2
- package/dist/cdn/{S4BI6GVO.js → X23C47EK.js} +2 -2
- package/dist/cdn/{VX5F6HDA.js → XDS4PW6J.js} +2 -2
- package/dist/cdn/{VZK2EM2U.js → XMXZ5C3X.js} +2 -2
- package/dist/cdn/{NOQKBJX5.js → XNGC6ALD.js} +2 -2
- package/dist/cdn/{MNZO2BXW.js → XREKZ5R6.js} +2 -2
- package/dist/cdn/{54RPVCND.js → XUZ7H3EW.js} +2 -2
- package/dist/cdn/{WGLOEGZA.js → XYNXKR52.js} +3 -3
- package/dist/cdn/{XI4AR7X2.js → XZUJAEDB.js} +2 -2
- package/dist/cdn/{F2Z422XX.js → YFNAPC6Q.js} +2 -2
- package/dist/cdn/{RBAZJ74K.js → YHP2Q7G5.js} +2 -2
- package/dist/cdn/{CFRULRGC.js → YK3AZWQF.js} +2 -2
- package/dist/cdn/{7IVKOZAV.js → YLBWSGLT.js} +2 -2
- package/dist/cdn/{Z7L64P7N.js → YPRD4SAC.js} +2 -2
- package/dist/cdn/{ONFARU7F.js → YQIG2XBU.js} +1 -1
- package/dist/cdn/{JVHV4IYE.js → Z2FBP5L7.js} +2 -2
- package/dist/cdn/{WWKYOWLH.js → Z3JB75WJ.js} +2 -2
- package/dist/cdn/{E3DVB47G.js → Z6UHN2XT.js} +2 -2
- package/dist/cdn/{A2VBJEKV.js → ZH3DYO7D.js} +2 -2
- package/dist/cdn/{R6GB4OLF.js → ZH6CCWGV.js} +2 -2
- package/dist/cdn/{5VXGXT72.js → ZJRREZKW.js} +2 -2
- package/dist/cdn/{CNJ6KRCJ.js → ZKI6AGMW.js} +2 -2
- package/dist/cdn/{E3R6REBD.js → ZOG72YTL.js} +2 -2
- package/dist/cdn/{44KQKSBE.js → ZSL4BG46.js} +2 -2
- package/dist/cdn/{QKXDCADK.js → ZT5HMF74.js} +2 -2
- package/dist/cdn/{L5TR3ISI.js → ZV43ENXL.js} +2 -2
- package/dist/cdn/{PRWX4UWO.js → ZY7W3YNG.js} +2 -2
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/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/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/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +69 -53
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- 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.d.ts +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-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +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.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +38 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +68 -49
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +107 -72
- package/dist/components/arcgis-elevation-profile/customElement.js +573 -16
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +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.d.ts +3 -3
- 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.d.ts +2 -2
- 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.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +3 -3
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +3 -3
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- 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.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/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-exported-link/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.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +5 -5
- 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.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +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-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +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-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +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.d.ts +2 -2
- 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-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +271 -1322
- package/dist/docs/docs.json +257 -1120
- package/dist/docs/vscode.html-custom-data.json +18 -197
- package/dist/docs/web-types.json +64 -372
- package/dist/index.d.ts +0 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -5
- package/dist/support/AnalysisViewModel.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +1 -1
- package/dist/types/lumina.d.ts +3 -10
- package/dist/types/preact.d.ts +3 -11
- package/dist/types/preact10.d.ts +3 -12
- package/dist/types/react.d.ts +3 -12
- package/dist/types/stencil.d.ts +3 -10
- package/package.json +3 -3
- package/dist/cdn/5JFFWKKI.js +0 -4
- package/dist/cdn/5YJGV2R4.js +0 -4
- package/dist/cdn/DBF66NYQ.js +0 -4
- package/dist/cdn/IAL27HEE.js +0 -4
- package/dist/cdn/Y7IYHRCV.js +0 -4
- package/dist/cdn/YNAFOPMY.js +0 -4
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -591
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +0 -0
- /package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +0 -0
- /package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +0 -0
|
@@ -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.36 */
|
|
4
|
+
import"./QZNUUNQD.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u5143",_era_bc:"\u897F\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u9031\u65E5",Mon:"\u9031\u4E00",Tue:"\u9031\u4E8C",Wed:"\u9031\u4E09",Thu:"\u9031\u56DB",Fri:"\u9031\u4E94",Sat:"\u9031\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7E2E\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u6B62",Legend:"\u5716\u4F8B","Press ENTER to toggle":"",Loading:"\u6B63\u5728\u8F09\u5165",Home:"\u9996\u9801",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:"\u5217\u5370",Image:"\u5F71\u50CF",Data:"\u8CC7\u6599",Print:"\u5217\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u5F9E %1 \u81F3 %2","From %1":"\u5F9E %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import e from"./VZK2EM2U.js";import b from"./S4BI6GVO.js";import a from"./6LSEE7B7.js";import{g as c}from"./53GKDMR3.js";import{b as d,g as h}from"./J7CBRHF3.js";import{e as s}from"./AQZZFULE.js";import{J as l,P as n,a as o,s as r}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";export default $arcgis.t(([m,p,,{a:t},g])=>{var _=o`.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}:host{--lumo-primary-color: var(--calcite-color-brand);--lumo-primary-color-10pct: color-mix(in srgb, var(--calcite-color-brand) 10%, transparent);font-weight:var(--calcite-font-weight-normal);--lumo-contrast-20pct: var(--calcite-color-text-3);--lumo-contrast-30pct: color-mix(in srgb, var(--calcite-color-text-3) 60%, var(--calcite-color-text-1) 40%);--lumo-contrast-10pct: var(--calcite-color-foreground-2);--lumo-row-background-hover: var(--calcite-color-foreground-2)}:host([calcite-mode="dark"]){--lumo-primary-color: var(--calcite-color-text-2);--lumo-primary-color-10pct: color-mix(in srgb, var(--calcite-color-text-2) 10%, transparent);--lumo-contrast-20pct: var(--calcite-color-text-2);--lumo-contrast-30pct: color-mix(in srgb, var(--calcite-color-text-2) 60%, var(--calcite-color-inverse) 40%);--lumo-contrast-10pct: var(--calcite-color-foreground-1);--lumo-row-background-hover: var(--calcite-color-foreground-1)}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-spacing-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--calcite-color-foreground-1);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-spacing-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-spacing-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-spacing-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{padding:var(--calcite-spacing-md);flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none}.esri-feature-table__attachments-view__drop-area form fieldset calcite-label{word-break:break-all}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button{margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__attachments-view__icon{margin-bottom:var(--calcite-spacing-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{padding:var(--calcite-spacing-md);flex-direction:column;max-width:200px;padding-inline-start:0;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__information label{color:var(--calcite-color-text-3);font-weight:var(--calcite-font-weight-normal)}.esri-feature-table__attachments-view__information span{color:var(--calcite-color-text-1);margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-spacing-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail a{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--calcite-color-text-3);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover calcite-list{max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table .esri-grid{background-color:inherit}.esri-feature-table .esri-grid__grid{width:100%;height:100%}.esri-feature-table vaadin-grid{--_lumo-grid-secondary-border-color: var(--calcite-color-border-3);border-bottom:none;background-color:inherit;color:inherit;border-inline:none;font-family:inherit;font-size:var(--calcite-font-size)}.esri-feature-table vaadin-grid::part(body-cell){font-size:var(--calcite-font-size)}.esri-feature-table vaadin-grid::part(body-cell):hover{background-color:var(--calcite-color-foreground-2)}.esri-feature-table vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-feature-table vaadin-grid::part(body-cell invalid){color:var(--calcite-color-text-3);font-style:italic}.esri-feature-table vaadin-grid::part(header-cell){background-color:var(--calcite-color-background)}.esri-feature-table vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1)}.esri-feature-table vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-foreground-3)}.esri-feature-table calcite-scrim>div:first-child{max-width:400px;max-height:100%;position:relative}.esri-feature-table__layer-switcher-menu{align-items:center;display:flex}.esri-attachments-column__button,.esri-column__show-related-records-button{--calcite-offset-invert-focus: 2}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-spacing-xxl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-spacing-xxxl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-app-sizing-9);max-height:var(--calcite-app-sizing-9);vertical-align:middle;margin-inline-end:var(--calcite-spacing-xxs);display:inline-flex}.esri-grid{--lumo-base-color: var(--calcite-color-foreground-1);--lumo-primary-text-color: var(--lumo-primary-color);width:100%;height:100%}.esri-grid .esri-grid__content{background-color:inherit;width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid .esri-grid__grid a{color:var(--calcite-color-text-3);text-decoration:underline}.esri-grid .esri-grid__grid a:hover,.esri-grid .esri-grid__grid a:focus{color:var(--calcite-color-transparent-hover)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-normal);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;min-height:var(--calcite-app-sizing-11);flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-app-font-line-height-fixed-3);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{height:var(--calcite-app-sizing-9);margin-inline-end:var(--calcite-spacing-xxs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{height:var(--calcite-app-sizing-9);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{height:var(--calcite-app-sizing-9);color:var(--calcite-color-text-1);flex-grow:1;align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--calcite-color-foreground-1)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}`,b=g(p),a=class extends l{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.attachmentsColumns=this.widget.attachmentsColumns,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumn=this.widget.actionColumn,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allColumns=this.widget.allColumns,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.allVisibleColumns=this.widget.allVisibleColumns,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.attachmentsViewOptions=this.widget.attachmentsViewOptions,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnPerformanceModeDisabled=this.widget.columnPerformanceModeEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.definitionExpression=this.widget.definitionExpression,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.fieldColumns=this.widget.fieldColumns,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.groupColumns=this.widget.groupColumns,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideLayerDropdownIcons=this.widget.visibleElements.layerDropdownIcons,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.multipleSortPriority=this.widget.multipleSortPriority,this.navigationScale=this.widget.navigationScale,this.noDataMessage=this.widget.noDataMessage,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.relationshipColumns=this.widget.relationshipColumns,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.supportsAddAttachments=this.widget.supportsAddAttachments,this.supportsAttachments=this.widget.supportsAttachments,this.supportsDeleteAttachments=this.widget.supportsDeleteAttachments,this.supportsResizeAttachments=this.widget.supportsResizeAttachments,this.supportsUpdateAttachments=this.widget.supportsUpdateAttachments,this.syncTemplateOnChangesDisabled=this.widget.syncTemplateOnChangesEnabled,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.visibleColumns=this.widget.visibleColumns,this.arcgisCellClick=t(()=>this.widget,"cell-click"),this.arcgisCellKeydown=t(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=t(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=t(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=t(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=c()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=r(),this.arcgisSelectionChange=r()}static{this.properties={view:0,attachmentsColumns:0,attributeTableTemplate:0,actionColumn:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allColumns:0,allRelatedTablesVisible:4,allVisibleColumns:0,attachmentsEnabled:5,attachmentsViewOptions:0,autoDestroyDisabled:5,autoRefreshDisabled:5,columnPerformanceModeDisabled:5,columnReorderingDisabled:5,columns:0,definitionExpression:1,description:1,editingEnabled:5,effectiveSize:8,fieldColumns:0,filterBySelectionEnabled:5,filterGeometry:0,groupColumns:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideLayerDropdownIcons:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,multipleSortPriority:1,navigationScale:1,noDataMessage:1,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,relationshipColumns:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,supportsAddAttachments:4,supportsAttachments:4,supportsDeleteAttachments:4,supportsResizeAttachments:4,supportsUpdateAttachments:4,syncTemplateOnChangesDisabled:5,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1,visibleColumns:0}}static{this.styles=_}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,i){this.widget?.sortColumn(e,i)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(d(this.layerItemId)?this.layer=null:this.layerItemId&&m.fromPortalItem({portalItem:{id:this.layerItemId}}).then(i=>{this.layer=i}).catch(console.error)),e.has("layerUrl")){let i=this.layerUrl;i?m.fromArcGISServerUrl({url:i}).then(u=>{this.layer=u}).catch(console.error):this.layer=null}}loaded(){h(this)?.classList.add("arcgis-feature-table");let e=s(this.el);this.setAttribute("calcite-mode",e)}};n("arcgis-feature-table",a);return a},"layers/Layer","widgets/FeatureTable",a,b,e)
|
|
3
|
+
v5.0.0-next.36 */
|
|
4
|
+
import e from"./XMXZ5C3X.js";import b from"./X23C47EK.js";import a from"./PWCPVEPY.js";import{g as c}from"./U7BGOCZY.js";import{b as d,g as h}from"./2PBQMHMG.js";import{e as s}from"./B3DMGIS4.js";import{J as l,P as n,a as o,s as r}from"./AYEONDG2.js";import"./QZNUUNQD.js";export default $arcgis.t(([m,p,,{a:t},g])=>{var _=o`.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}:host{--lumo-primary-color: var(--calcite-color-brand);--lumo-primary-color-10pct: color-mix(in srgb, var(--calcite-color-brand) 10%, transparent);font-weight:var(--calcite-font-weight-normal);--lumo-contrast-20pct: var(--calcite-color-text-3);--lumo-contrast-30pct: color-mix(in srgb, var(--calcite-color-text-3) 60%, var(--calcite-color-text-1) 40%);--lumo-contrast-10pct: var(--calcite-color-foreground-2);--lumo-row-background-hover: var(--calcite-color-foreground-2)}:host([calcite-mode="dark"]){--lumo-primary-color: var(--calcite-color-text-2);--lumo-primary-color-10pct: color-mix(in srgb, var(--calcite-color-text-2) 10%, transparent);--lumo-contrast-20pct: var(--calcite-color-text-2);--lumo-contrast-30pct: color-mix(in srgb, var(--calcite-color-text-2) 60%, var(--calcite-color-inverse) 40%);--lumo-contrast-10pct: var(--calcite-color-foreground-1);--lumo-row-background-hover: var(--calcite-color-foreground-1)}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-spacing-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--calcite-color-foreground-1);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-spacing-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-spacing-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-spacing-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{padding:var(--calcite-spacing-md);flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none}.esri-feature-table__attachments-view__drop-area form fieldset calcite-label{word-break:break-all}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button{margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__attachments-view__icon{margin-bottom:var(--calcite-spacing-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{padding:var(--calcite-spacing-md);flex-direction:column;max-width:200px;padding-inline-start:0;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__information label{color:var(--calcite-color-text-3);font-weight:var(--calcite-font-weight-normal)}.esri-feature-table__attachments-view__information span{color:var(--calcite-color-text-1);margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-spacing-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail a{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--calcite-color-text-3);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover calcite-list{max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table .esri-grid{background-color:inherit}.esri-feature-table .esri-grid__grid{width:100%;height:100%}.esri-feature-table vaadin-grid{--_lumo-grid-secondary-border-color: var(--calcite-color-border-3);border-bottom:none;background-color:inherit;color:inherit;border-inline:none;font-family:inherit;font-size:var(--calcite-font-size)}.esri-feature-table vaadin-grid::part(body-cell){font-size:var(--calcite-font-size)}.esri-feature-table vaadin-grid::part(body-cell):hover{background-color:var(--calcite-color-foreground-2)}.esri-feature-table vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-feature-table vaadin-grid::part(body-cell invalid){color:var(--calcite-color-text-3);font-style:italic}.esri-feature-table vaadin-grid::part(header-cell){background-color:var(--calcite-color-background)}.esri-feature-table vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1)}.esri-feature-table vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-foreground-3)}.esri-feature-table calcite-scrim>div:first-child{max-width:400px;max-height:100%;position:relative}.esri-feature-table__layer-switcher-menu{align-items:center;display:flex}.esri-attachments-column__button,.esri-column__show-related-records-button{--calcite-offset-invert-focus: 2}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-spacing-xxl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-spacing-xxxl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-app-sizing-9);max-height:var(--calcite-app-sizing-9);vertical-align:middle;margin-inline-end:var(--calcite-spacing-xxs);display:inline-flex}.esri-grid{--lumo-base-color: var(--calcite-color-foreground-1);--lumo-primary-text-color: var(--lumo-primary-color);width:100%;height:100%}.esri-grid .esri-grid__content{background-color:inherit;width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid .esri-grid__grid a{color:var(--calcite-color-text-3);text-decoration:underline}.esri-grid .esri-grid__grid a:hover,.esri-grid .esri-grid__grid a:focus{color:var(--calcite-color-transparent-hover)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-normal);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;min-height:var(--calcite-app-sizing-11);flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-app-font-line-height-fixed-3);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{height:var(--calcite-app-sizing-9);margin-inline-end:var(--calcite-spacing-xxs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{height:var(--calcite-app-sizing-9);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{height:var(--calcite-app-sizing-9);color:var(--calcite-color-text-1);flex-grow:1;align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--calcite-color-foreground-1)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}`,b=g(p),a=class extends l{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.attachmentsColumns=this.widget.attachmentsColumns,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumn=this.widget.actionColumn,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allColumns=this.widget.allColumns,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.allVisibleColumns=this.widget.allVisibleColumns,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.attachmentsViewOptions=this.widget.attachmentsViewOptions,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnPerformanceModeDisabled=this.widget.columnPerformanceModeEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.definitionExpression=this.widget.definitionExpression,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.fieldColumns=this.widget.fieldColumns,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.groupColumns=this.widget.groupColumns,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideLayerDropdownIcons=this.widget.visibleElements.layerDropdownIcons,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.multipleSortPriority=this.widget.multipleSortPriority,this.navigationScale=this.widget.navigationScale,this.noDataMessage=this.widget.noDataMessage,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.relationshipColumns=this.widget.relationshipColumns,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.supportsAddAttachments=this.widget.supportsAddAttachments,this.supportsAttachments=this.widget.supportsAttachments,this.supportsDeleteAttachments=this.widget.supportsDeleteAttachments,this.supportsResizeAttachments=this.widget.supportsResizeAttachments,this.supportsUpdateAttachments=this.widget.supportsUpdateAttachments,this.syncTemplateOnChangesDisabled=this.widget.syncTemplateOnChangesEnabled,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.visibleColumns=this.widget.visibleColumns,this.arcgisCellClick=t(()=>this.widget,"cell-click"),this.arcgisCellKeydown=t(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=t(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=t(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=t(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=c()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=r(),this.arcgisSelectionChange=r()}static{this.properties={view:0,attachmentsColumns:0,attributeTableTemplate:0,actionColumn:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allColumns:0,allRelatedTablesVisible:4,allVisibleColumns:0,attachmentsEnabled:5,attachmentsViewOptions:0,autoDestroyDisabled:5,autoRefreshDisabled:5,columnPerformanceModeDisabled:5,columnReorderingDisabled:5,columns:0,definitionExpression:1,description:1,editingEnabled:5,effectiveSize:8,fieldColumns:0,filterBySelectionEnabled:5,filterGeometry:0,groupColumns:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideLayerDropdownIcons:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,multipleSortPriority:1,navigationScale:1,noDataMessage:1,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,relationshipColumns:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,supportsAddAttachments:4,supportsAttachments:4,supportsDeleteAttachments:4,supportsResizeAttachments:4,supportsUpdateAttachments:4,syncTemplateOnChangesDisabled:5,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1,visibleColumns:0}}static{this.styles=_}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,i){this.widget?.sortColumn(e,i)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(d(this.layerItemId)?this.layer=null:this.layerItemId&&m.fromPortalItem({portalItem:{id:this.layerItemId}}).then(i=>{this.layer=i}).catch(console.error)),e.has("layerUrl")){let i=this.layerUrl;i?m.fromArcGISServerUrl({url:i}).then(u=>{this.layer=u}).catch(console.error):this.layer=null}}loaded(){h(this)?.classList.add("arcgis-feature-table");let e=s(this.el);this.setAttribute("calcite-mode",e)}};n("arcgis-feature-table",a);return a},"layers/Layer","widgets/FeatureTable",a,b,e)
|
|
@@ -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.36 */
|
|
4
|
+
import a from"./LV423MS3.js";import{a as _}from"./3BZI5QE7.js";import{a as d}from"./AX3CY3WV.js";import"./U7BGOCZY.js";import"./B3DMGIS4.js";import{J as $,K as i,M as v,P as w,a as g,b as l}from"./AYEONDG2.js";import"./QZNUUNQD.js";export default $arcgis.t(([{watch:L},{a:f,b:T,c:b,d:y,f:p}])=>{var M=g`.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`,o="arcgis-print",s={templateSelectError:`${o}__template-select-error`,templateButtonContainer:`${o}__template-button-container`,templateDoneButton:`${o}__template-done-button`,templateSelectFlowItemContainer:`${o}__template-select-flow-item-container`,templateSelectFlowItemContent:`${o}__template-select-flow-item-content`,templateSelectFlowItemListHeading:`${o}__template-select-flow-item-list-heading`,browseTemplateButtonContainer:`${o}__browse-template-button-container`,browseTemplateButtonContainerFilter:`${o}__browse-template-button-container-filter`},u=class extends ${constructor(){super(...arguments),this._handles=_("disconnect")}static{this.properties={_selectedTemplate:16,excludeOrganizationTemplates:5,browseTemplateButtonOnClick:0,viewModel:0,messages:0,hideTemplateSelector:0}}static{this.styles=M}loaded(){this.manager.onLifecycle(()=>[L(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(L(()=>this._selectedTemplate?.state,()=>this.requestUpdate(),{initial:!0}),"template-handle")},{initial:!0})])}_getPortalTemplates(){let{portalTemplateIds:e}=this.viewModel;return this.viewModel.includeDefaultTemplates&&!this.excludeOrganizationTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:n,layoutItem:a})=>!p(n)&&!!a?.id&&e.includes(a.id)):[]}_getDefaultTemplates(){let{portalTemplateIds:e}=this.viewModel;return this.viewModel.includeDefaultTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:n,layoutItem:a})=>!p(n)&&(!a?.id||!e.includes(a.id))):[]}_getPrintServiceTemplates(){return!this.viewModel.includeDefaultTemplates||!this._getDefaultTemplates().length?this.viewModel.printServiceTemplates.toArray().filter(({layout:e})=>!p(e)):[]}render(){let{messages:e}=this,n=f.test(this.viewModel.portal?.url),a=this.viewModel.browseTemplates.toArray(),t=this._getPortalTemplates(),c=this._getDefaultTemplates(),m=this._getPrintServiceTemplates(),r=a.length+t.length+c.length+m.length>15,h=this.browseTemplateButtonOnClick?l`<calcite-button appearance=outline class=${i(r?s.browseTemplateButtonContainerFilter:s.browseTemplateButtonContainer)} icon-start=folder @click=${this.browseTemplateButtonOnClick} .slot=${r?"filter-actions-end":"default"}>${r?null:e.browseTemplates}</calcite-button>`:null;return l`<div class=${i(s.templateSelectFlowItemContainer)}><div class=${i(s.templateSelectFlowItemContent)}>${r?null:h}${d("template-list",l`<calcite-list .filterEnabled=${r} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({currentTarget:S})=>this.viewModel.applyTemplate(S.selectedItems[0]?.value)}>${r?h:null}${a.length?l`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.myTemplates}${n?l`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(a,!0,!0)}</div>`:null}${t.length?l`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.organizationTemplates}${n?l`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(t)}</div>`:null}${a.length||t.length?c.length?l`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(c,!0)}</div>`:null:this._renderLayoutTemplates(c,!0)}${a.length||t.length?m.length?l`<div><div class=${i(s.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(m)}</div>`:null:this._renderLayoutTemplates(m)}</calcite-list>`)}</div><div class=${i(s.templateButtonContainer)}><calcite-button class=${i(s.templateDoneButton)} @click=${this.hideTemplateSelector}>Done</calcite-button></div></div>`}_renderLayoutTemplates(e,n=!1,a=!1){return n&&e.sort((t,c)=>(t.label??"")>(c.label??"")?1:-1),e.map(t=>l`<calcite-list-item .description=${T(t)} .label=${b(t,this.messages)} .selected=${t.id===this.viewModel.templateOptions.id} title=${t.description??""??v} .value=${t}><calcite-icon .icon=${(t.layout?y(t.layout):null)||"custom-print"} slot=content-start></calcite-icon>${t.state==="loading"?l`<calcite-loader inline label=loading scale=s slot=content-end></calcite-loader>`:null}${t?.state==="error"?d(`template-error-${t.id}`,l`<calcite-icon class=${i(s.templateSelectError)} icon=exclamation-mark-circle scale=s slot=content-end></calcite-icon>`):null}${a?l`<calcite-action icon=trash @click=${()=>this.viewModel.removePortalTemplate(t)} slot=actions-end text=delete></calcite-action>`:null}</calcite-list-item>`)}};w("arcgis-print-template-selector",u);return u},"core/reactiveUtils",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.36 */
|
|
4
|
+
import a from"./LV423MS3.js";import{a as d}from"./3BZI5QE7.js";import{a as s}from"./AX3CY3WV.js";import{e as p}from"./U7BGOCZY.js";import"./B3DMGIS4.js";import{J as n,K as l,P as m,a as o,b as t}from"./AYEONDG2.js";import"./QZNUUNQD.js";export default $arcgis.t(([{watch:$},{b:h,c:_,d:g}])=>{var S=o`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,i="arcgis-print",c={templateSelectContainer:`${i}__template-select-container`,templateSelectError:`${i}__template-select-error`,templateSelectArrow:`${i}__template-select-arrow`},r=class extends n{constructor(){super(...arguments),this._handles=d("disconnect"),this._direction=p(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=S}loaded(){this.manager.onLifecycle(()=>[$(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles($(()=>this._selectedTemplate?.state,a=>this._templateState=a??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){let e=this._selectedTemplate?_(this._selectedTemplate,this.messages):this.messages.selectTemplate;return t`<calcite-block class=${l(c.templateSelectContainer)} .description=${h(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${a=>{(a.key==="Enter"||a.key===" ")&&this.showTemplateSelector()}} tabindex=0>${s("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?g(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?s("template-select-error",t`<calcite-icon class=${l(c.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${s("template-select-arrow",t`<calcite-icon class=${l(c.templateSelectArrow)} .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};m("arcgis-print-template-select",r);return r},"core/reactiveUtils",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{R as e}from"./
|
|
3
|
+
v5.0.0-next.36 */
|
|
4
|
+
import{R as e}from"./NNHFVMZS.js";import"./2ZZZATGO.js";import{V as t}from"./FHYQZUXT.js";import"./QZNUUNQD.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b 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 h}from"./MXOXRFRN.js";import{a as m}from"./B6JPREHA.js";import"./53GKDMR3.js";import"./AQZZFULE.js";import{J as k,K as u,P as y,a as p,b as o,s as d}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";export default $arcgis.t(([{queryAllJSON:N},s,$,C,L,g,v])=>{var U=p`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,b="arcgis-utility-network-trace-inputs",_={base:b,addSpatialMode:`${b}__add-spatial-mode`},c="map-components:utility-network-trace-inputs",f=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,w=class extends k{constructor(){super(...arguments),this._messages=m({blocking:!0}),this._startingPoints=new s,this._barriers=new s,this._stoppingPoints=new s,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this._mode="default",this.arcgisTraceInputsChange=d(),this.arcgisUtilityNetworkChange=d()}static{this.properties={compatibleSubnetworkNames:16,selectedSubnetworkName:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_mode:16,_activeTraceLocationType:16,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,traceLocations:32}}static{this.styles=U}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=this._startingPoints.toArray().map(a=>a.traceLocation),t=this._barriers.toArray().map(a=>a.traceLocation),i=this._stoppingPoints.toArray().map(a=>a.traceLocation);return[...e,...t,...i]}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t,i){if(!t||!e?.map)return;let{map:a}=e,r=a.layers.find(n=>n===t);r||a.add(t,i),r&&i!=null&&a.layers.reorder(r,i)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new $({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i&&i.type==="graphics")return i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new s;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(r=>{i.add(new g({layer:r,enabled:!0}))}):i.add(new g({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(f),a=new s;return t?.forEach(r=>a.add(new g({layer:r,enabled:!0}))),new v({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(f),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=L.fromJSON(await N(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){console.error(`${c} - Trace configuration not found`);return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof C)){console.error(`${c} - Trace configuration not found`),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break;default:console.error(`${c} - Unknown trace configuration type`)}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new s(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",console.error(`${c} - No utility networks found in the map`);return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",console.error(`${c} - No view or map available to load utility networks`)}_handleTraceLocationSelectStart(e){this._activeTraceLocationType=e?.target?.traceLocationType,this._mode="add-spatial"}_handleTraceLocationSelectEnd(){this._activeTraceLocationType=void 0,this._mode="default"}_handleFlowItemBack(){this._mode="default",this._activeTraceLocationType=void 0,this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return o`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return o`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=h(t,r=>r.globalId,r=>o`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);return o`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${r=>{this._selectTraceConfigurationByGuid(r.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=h(this.utilityNetworks,a=>a.id,a=>o`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);return o`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(r=>r.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,_mode:i}=this;return o`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return o`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${u(_.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkSelectList(){let{compatibleSubnetworkNames:e,selectedSubnetworkName:t,_messages:i}=this,a=i.labels.subnetworkName,r=e.map(n=>o`<calcite-option .value=${n}>${n}</calcite-option>`);return o`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${n=>this.selectedSubnetworkName=n.target.value}>${r}</calcite-select></calcite-block>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,_messages:t,selectedNamedTraceConfiguration:i,_unTraceConfiguration:a}=this;return i?.traceType==="subnetwork"&&a?.subnetworkName?this._state==="loading"?o`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?this.renderSubnetworkSelectList():this.renderError(t.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):null}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?o`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{_messages:e,utilityNetworks:t,_unTraceConfiguration:i}=this;if(!t||t.length===0)return this.renderError(e.errors.noUtilityNetworkError);let a=o`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,r=this.selectedNamedTraceConfiguration?.traceType,n=!(i?.subnetworkName&&r==="subnetwork"),T=r==="path"||r==="circuit",S=o`${n?this.renderStartingPointSelection():null}${T?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return o`<calcite-block-group .label=${e.labels.traceInputs}>${t.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?a:this.renderLoader()}${i?S:null}</calcite-block-group>`}render(){let{_mode:e}=this;return o`<div class=${u(_.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};y("arcgis-utility-network-trace-inputs",w);return w},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
|
|
3
|
+
v5.0.0-next.36 */
|
|
4
|
+
import{a as h}from"./EK4VEBOG.js";import{a as m}from"./CB4UKE3X.js";import"./U7BGOCZY.js";import"./B3DMGIS4.js";import{J as k,K as u,P as y,a as p,b as o,s as d}from"./AYEONDG2.js";import"./QZNUUNQD.js";export default $arcgis.t(([{queryAllJSON:N},s,$,C,L,g,v])=>{var U=p`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,b="arcgis-utility-network-trace-inputs",_={base:b,addSpatialMode:`${b}__add-spatial-mode`},c="map-components:utility-network-trace-inputs",f=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,w=class extends k{constructor(){super(...arguments),this._messages=m({blocking:!0}),this._startingPoints=new s,this._barriers=new s,this._stoppingPoints=new s,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this._mode="default",this.arcgisTraceInputsChange=d(),this.arcgisUtilityNetworkChange=d()}static{this.properties={compatibleSubnetworkNames:16,selectedSubnetworkName:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_mode:16,_activeTraceLocationType:16,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,traceLocations:32}}static{this.styles=U}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=this._startingPoints.toArray().map(a=>a.traceLocation),t=this._barriers.toArray().map(a=>a.traceLocation),i=this._stoppingPoints.toArray().map(a=>a.traceLocation);return[...e,...t,...i]}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t,i){if(!t||!e?.map)return;let{map:a}=e,r=a.layers.find(n=>n===t);r||a.add(t,i),r&&i!=null&&a.layers.reorder(r,i)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new $({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i&&i.type==="graphics")return i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new s;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(r=>{i.add(new g({layer:r,enabled:!0}))}):i.add(new g({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(f),a=new s;return t?.forEach(r=>a.add(new g({layer:r,enabled:!0}))),new v({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(f),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=L.fromJSON(await N(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){console.error(`${c} - Trace configuration not found`);return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof C)){console.error(`${c} - Trace configuration not found`),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break;default:console.error(`${c} - Unknown trace configuration type`)}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new s(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",console.error(`${c} - No utility networks found in the map`);return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",console.error(`${c} - No view or map available to load utility networks`)}_handleTraceLocationSelectStart(e){this._activeTraceLocationType=e?.target?.traceLocationType,this._mode="add-spatial"}_handleTraceLocationSelectEnd(){this._activeTraceLocationType=void 0,this._mode="default"}_handleFlowItemBack(){this._mode="default",this._activeTraceLocationType=void 0,this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return o`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return o`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=h(t,r=>r.globalId,r=>o`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);return o`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${r=>{this._selectTraceConfigurationByGuid(r.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=h(this.utilityNetworks,a=>a.id,a=>o`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);return o`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(r=>r.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,_mode:i}=this;return o`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return o`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${u(_.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return o`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkSelectList(){let{compatibleSubnetworkNames:e,selectedSubnetworkName:t,_messages:i}=this,a=i.labels.subnetworkName,r=e.map(n=>o`<calcite-option .value=${n}>${n}</calcite-option>`);return o`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${n=>this.selectedSubnetworkName=n.target.value}>${r}</calcite-select></calcite-block>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,_messages:t,selectedNamedTraceConfiguration:i,_unTraceConfiguration:a}=this;return i?.traceType==="subnetwork"&&a?.subnetworkName?this._state==="loading"?o`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?this.renderSubnetworkSelectList():this.renderError(t.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):null}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?o`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{_messages:e,utilityNetworks:t,_unTraceConfiguration:i}=this;if(!t||t.length===0)return this.renderError(e.errors.noUtilityNetworkError);let a=o`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,r=this.selectedNamedTraceConfiguration?.traceType,n=!(i?.subnetworkName&&r==="subnetwork"),T=r==="path"||r==="circuit",S=o`${n?this.renderStartingPointSelection():null}${T?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return o`<calcite-block-group .label=${e.labels.traceInputs}>${t.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?a:this.renderLoader()}${i?S:null}</calcite-block-group>`}render(){let{_mode:e}=this;return o`<div class=${u(_.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};y("arcgis-utility-network-trace-inputs",w);return w},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v5.0.0-next.36 */
|
|
4
|
+
import e from"./KX6OOHHL.js";import{a as v}from"./CB4UKE3X.js";import{a as _}from"./CRN7OLD2.js";import b from"./X23C47EK.js";import a from"./PWCPVEPY.js";import{g as m}from"./U7BGOCZY.js";import"./2PBQMHMG.js";import{b as g}from"./B3DMGIS4.js";import{H as l,I as n,J as h,K as c,P as u,a as d,b as i,s}from"./AYEONDG2.js";import"./QZNUUNQD.js";export default $arcgis.t(([p,{watch:t},,,f])=>{var w=d`:host{--arcgis-video-player-controls-spacing: 16px;width:531px;height:100%}.arcgis-video-player{height:100%}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,V={base:"arcgis-video-player"},M=f(p),a=class extends h{constructor(){super(...arguments),this.messages=v({blocking:!0}),this.viewModel=M(this),this._videoViewRef=l(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5,view:0}}static{this.styles=w}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:o,duration:r,ended:y}=this.viewModel;this._duration=r,this._currentTime=o,this._bufferedValue=e/(r||1),this._currentValue=o/(r||1),this._isBuffering=!y&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${c(g(V.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${n(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,e)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"componentLabel":"Area Measurement","hint":"Start measuring by clicking in the map to place your first point","mode":"Mode","modes":{"auto":"Auto","planar":"Planar","geodesic":"Geodesic"},"newMeasurement":"New measurement","perimeter":"Perimeter","unit":"Unit","unsupported":"2D area measurement is only supported in MapView."}
|
|
1
|
+
{"area":"Area","componentLabel":"Area Measurement","hint":"Start measuring by clicking in the map to place your first point","mode":"Mode","modes":{"auto":"Auto","planar":"Planar","geodesic":"Geodesic"},"newMeasurement":"New measurement","perimeter":"Perimeter","unit":"Unit","unsupported":"2D area measurement is only supported in MapView."}
|