@arcgis/map-components 6.0.0-next.1 → 6.0.0-next.10
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/{ZWN6DXNO.js → 22I5XGTS.js} +2 -2
- package/dist/cdn/{J657IBDC.js → 24KCDMDH.js} +2 -2
- package/dist/cdn/{5CER2N5T.js → 24MLXKMZ.js} +2 -2
- package/dist/cdn/{DMYMCGHJ.js → 26URLKXD.js} +2 -2
- package/dist/cdn/{AAMRTS35.js → 2CEJU3YF.js} +2 -2
- package/dist/cdn/{3A3DGDW5.js → 2CGIS34C.js} +2 -2
- package/dist/cdn/{RPHJDEZH.js → 2KBLNC6Y.js} +2 -2
- package/dist/cdn/{IJLCJVC4.js → 2KPCMM7D.js} +2 -2
- package/dist/cdn/{PYTZ3YBE.js → 2U3VASQT.js} +1 -1
- package/dist/cdn/{XTPRVANS.js → 2UKSCGYU.js} +2 -2
- package/dist/cdn/{7N4V2IN6.js → 366GLQ5R.js} +1 -1
- package/dist/cdn/{43IOCYG5.js → 36ZT6IRE.js} +2 -2
- package/dist/cdn/{CX45KI3X.js → 3C6FN5WT.js} +2 -2
- package/dist/cdn/{GV3IXBBT.js → 3GHQZCMV.js} +2 -2
- package/dist/cdn/{4F2ZWXO2.js → 3ONY25MG.js} +2 -2
- package/dist/cdn/{EKR2SAT2.js → 3UMLR76Y.js} +2 -2
- package/dist/cdn/{OHLJ6POC.js → 3VCGDZEU.js} +2 -2
- package/dist/cdn/{UCTJVPYB.js → 3X4TCM6A.js} +2 -2
- package/dist/cdn/{BLYJE76S.js → 42G6XTIG.js} +2 -2
- package/dist/cdn/42LHTN2R.js +2 -0
- package/dist/cdn/{27MP6TEF.js → 4657ONKJ.js} +2 -2
- package/dist/cdn/4B2TLORL.js +2 -0
- package/dist/cdn/{JCR7S6RP.js → 4EO2342P.js} +2 -2
- package/dist/cdn/{BZR4MSO5.js → 4ER6YIYW.js} +2 -2
- package/dist/cdn/{SXQRPAPL.js → 4HNRKSQ2.js} +2 -2
- package/dist/cdn/{YHKTMUY7.js → 4IWYFG2G.js} +2 -2
- package/dist/cdn/{FMIWBKT4.js → 4KQA2GRX.js} +2 -2
- package/dist/cdn/{JCRPP54Z.js → 4L43F7HU.js} +1 -1
- package/dist/cdn/{XAD4PUBU.js → 4O3HLHQQ.js} +2 -2
- package/dist/cdn/{OUXE3CSQ.js → 4O6FFXUV.js} +2 -2
- package/dist/cdn/4UDLUCTE.js +2 -0
- package/dist/cdn/{DOEKV7G3.js → 4WKWYFIH.js} +2 -2
- package/dist/cdn/{DL57EVZ4.js → 4XERPOOU.js} +2 -2
- package/dist/cdn/{JPKB745U.js → 52CUDGKY.js} +2 -2
- package/dist/cdn/{4TTVVGYW.js → 53OXTCE6.js} +2 -2
- package/dist/cdn/{GQ6SYNZS.js → 54GFXFK4.js} +2 -2
- package/dist/cdn/{RQLMXLJC.js → 5AMF6NZN.js} +2 -2
- package/dist/cdn/{6BLFYSDN.js → 5DY7GHBN.js} +2 -2
- package/dist/cdn/{SFSWQGLY.js → 5ESNA4SF.js} +2 -2
- package/dist/cdn/5ITYFVDX.js +2 -0
- package/dist/cdn/{FFJCCMDZ.js → 5RAIBYCT.js} +2 -2
- package/dist/cdn/{I5ZESLWO.js → 5WKEDXRT.js} +2 -2
- package/dist/cdn/{CQQM24VF.js → 5YHHJ5ZE.js} +2 -2
- package/dist/cdn/{3HS3DM5B.js → 62IE7RFR.js} +2 -2
- package/dist/cdn/{YPNGSV66.js → 65MI3MW2.js} +2 -2
- package/dist/cdn/{BQKVSKYK.js → 677OZNT4.js} +2 -2
- package/dist/cdn/{TC6HL72N.js → 67B7TPGQ.js} +2 -2
- package/dist/cdn/{ELYDZHP5.js → 67PT3A4A.js} +2 -2
- package/dist/cdn/{PRTHX6OC.js → 6A2OF3TO.js} +2 -2
- package/dist/cdn/{POKO37D3.js → 6J3KSMFG.js} +1 -1
- package/dist/cdn/{ITRD7ZY4.js → 6N7GPFZ4.js} +2 -2
- package/dist/cdn/{CORNSRXU.js → 6UYEO5Q7.js} +2 -2
- package/dist/cdn/{GXRPNW37.js → 6VO7G2UX.js} +2 -2
- package/dist/cdn/{AYJQLWX4.js → 75UV3NKU.js} +2 -2
- package/dist/cdn/77U2VO5P.js +2 -0
- package/dist/cdn/{ECNRW3D5.js → 7DFCYS72.js} +2 -2
- package/dist/cdn/{TPC2FJJX.js → 7FFBCPVE.js} +2 -2
- package/dist/cdn/{VWN2LORT.js → 7FGOCFTQ.js} +2 -2
- package/dist/cdn/7HS2SX6W.js +2 -0
- package/dist/cdn/{ZFHHY72B.js → 7JVPR5EI.js} +2 -2
- package/dist/cdn/{Z5C6UBYP.js → 7VDBR3SK.js} +2 -2
- package/dist/cdn/{T4V5O3FK.js → 7VJQVX42.js} +2 -2
- package/dist/cdn/7YHGGHJY.js +2 -0
- package/dist/cdn/{UWKXYCO3.js → A7RLC6ZT.js} +2 -2
- package/dist/cdn/{VCRVQMYT.js → A7SZYQDH.js} +2 -2
- package/dist/cdn/ABOTJ6RE.js +2 -0
- package/dist/cdn/{N2HG34QB.js → AFP64NRH.js} +2 -2
- package/dist/cdn/{RQG75Q2X.js → AIMWEMBX.js} +2 -2
- package/dist/cdn/{TN5C3MSL.js → AL3PLZEE.js} +1 -1
- package/dist/cdn/AN7R3DP5.js +2 -0
- package/dist/cdn/{3LOGBSQP.js → BHCAFGIA.js} +1 -1
- package/dist/cdn/{2CWTV6TC.js → BI2SI2HK.js} +2 -2
- package/dist/cdn/BJWJ6E3L.js +2 -0
- package/dist/cdn/{R2IBOCMY.js → BVTEQMDF.js} +2 -2
- package/dist/cdn/{MW6AOK5D.js → BZQIIXMP.js} +2 -2
- package/dist/cdn/{CF4OY56S.js → C5N4AOB6.js} +2 -2
- package/dist/cdn/{UINNR6FV.js → C5XAFXEL.js} +2 -2
- package/dist/cdn/CF54A7MK.js +2 -0
- package/dist/cdn/{BSTO7TGD.js → CKS5ACAB.js} +2 -2
- package/dist/cdn/{5L5UYV3H.js → CKZBNHMD.js} +1 -1
- package/dist/cdn/CNYZSE22.js +2 -0
- package/dist/cdn/{PLVTYVUG.js → CP5JALYQ.js} +2 -2
- package/dist/cdn/CPYVZPJ7.js +2 -0
- package/dist/cdn/{QPFX5XH3.js → CUVRESLH.js} +2 -2
- package/dist/cdn/CVJOD6H3.js +2 -0
- package/dist/cdn/{IMPFB7YV.js → CWA47RNK.js} +2 -2
- package/dist/cdn/CZVI23H5.js +2 -0
- package/dist/cdn/{VDTRRLON.js → DFUR3C3D.js} +1 -1
- package/dist/cdn/{4T2A7PAO.js → DK7HXJSX.js} +2 -2
- package/dist/cdn/{7FVXPOAG.js → DNE47HSP.js} +2 -2
- package/dist/cdn/DPNB5GBY.js +2 -0
- package/dist/cdn/{XPIX7Z2Q.js → DPVRHPHQ.js} +2 -2
- package/dist/cdn/DTORO2OE.js +2 -0
- package/dist/cdn/{XAADUJ74.js → DUMHDAYP.js} +2 -2
- package/dist/cdn/{VCSX4G2U.js → DY2EOHFD.js} +2 -2
- package/dist/cdn/{3SG4AC5C.js → DYWCAORU.js} +2 -2
- package/dist/cdn/{CGN2BQTU.js → E54VGGFM.js} +2 -2
- package/dist/cdn/{T2DT5I33.js → EH4CBZNF.js} +1 -1
- package/dist/cdn/{B476G3EX.js → EJKAIZAE.js} +2 -2
- package/dist/cdn/{N4MW5VBL.js → EK7Y6JBZ.js} +2 -2
- package/dist/cdn/{YOUMOTN3.js → EMXGW73P.js} +2 -2
- package/dist/cdn/{ZPH7M75T.js → ENDFTFEF.js} +2 -2
- package/dist/cdn/{HZX7MSQG.js → ESOCZAMZ.js} +2 -2
- package/dist/cdn/{TILA2OKK.js → ET4UP4EQ.js} +2 -2
- package/dist/cdn/{FNSGB45I.js → EV7IIQBP.js} +2 -2
- package/dist/cdn/F4S2DPYN.js +2 -0
- package/dist/cdn/{PEH4U3YV.js → F5IHFPKA.js} +2 -2
- package/dist/cdn/{3WTBTYMS.js → F5JYYT42.js} +1 -1
- package/dist/cdn/F6CXHAHU.js +2 -0
- package/dist/cdn/{YPNJ5V4R.js → FBV5KXOY.js} +2 -2
- package/dist/cdn/{J23DTKII.js → FF7BSRYW.js} +2 -2
- package/dist/cdn/{IZ46HAUJ.js → FH3WFF5O.js} +1 -1
- package/dist/cdn/{LHFB44QW.js → FHBTVQHP.js} +2 -2
- package/dist/cdn/{7EQZKGJN.js → FHHVGI4H.js} +2 -2
- package/dist/cdn/FIZMK7GS.js +1 -0
- package/dist/cdn/{IRZGEFF5.js → FPPWXIBA.js} +2 -2
- package/dist/cdn/{6J55YK5V.js → FQSHLYKX.js} +2 -2
- package/dist/cdn/{3MQPSWL6.js → FSBLGH6E.js} +2 -2
- package/dist/cdn/{TZ2LE7KS.js → FTCHTEUY.js} +2 -2
- package/dist/cdn/{BAOWXZTE.js → FXUZU52U.js} +1 -1
- package/dist/cdn/FYR4QVEY.js +2 -0
- package/dist/cdn/{GVZKVOM7.js → FZAQZSRA.js} +2 -2
- package/dist/cdn/{2COOBXHG.js → G72ISZDZ.js} +2 -2
- package/dist/cdn/{GU3M4JMW.js → GDLDEHUJ.js} +1 -1
- package/dist/cdn/{A4U2PDJP.js → GHVT7W4O.js} +2 -2
- package/dist/cdn/{CZOM5NWO.js → GJKFDTVX.js} +2 -2
- package/dist/cdn/GJTUYTTG.js +2 -0
- package/dist/cdn/{SBIOND5K.js → GK47522P.js} +2 -2
- package/dist/cdn/{7DAQGPGD.js → GLQMCCUM.js} +2 -2
- package/dist/cdn/{RZQNEEP6.js → GNSNEUMI.js} +2 -2
- package/dist/cdn/{CJ4KIA26.js → GNWRCB5F.js} +2 -2
- package/dist/cdn/{MKCJXRXB.js → GS2HJTMU.js} +2 -2
- package/dist/cdn/{2DKTF2EL.js → GSVPPSX6.js} +2 -2
- package/dist/cdn/{VWFQCWGB.js → GUHSWQMF.js} +2 -2
- package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
- package/dist/cdn/{EDTGV4YF.js → GUZCA62E.js} +2 -2
- package/dist/cdn/{HCN3UC4W.js → GUZYCRYS.js} +2 -2
- package/dist/cdn/{276JOEH5.js → H4LMELM2.js} +2 -2
- package/dist/cdn/{OX55WUIT.js → H7NR6B6S.js} +2 -2
- package/dist/cdn/HA4XWZH4.js +2 -0
- package/dist/cdn/{SFFTE3TG.js → HDHWPKJ4.js} +2 -2
- package/dist/cdn/{4WP4DUBT.js → HEIKRBJK.js} +2 -2
- package/dist/cdn/{MEZHGYCH.js → HGP7GVZU.js} +2 -2
- package/dist/cdn/{RKTSSP3O.js → HI7BF3DL.js} +2 -2
- package/dist/cdn/HIBFGEAJ.js +2 -0
- package/dist/cdn/{UPZVIKOH.js → HJVHORPG.js} +2 -2
- package/dist/cdn/{N6VSP7BU.js → HKLBQ7JD.js} +2 -2
- package/dist/cdn/{JBHRVHGS.js → HPWF3IQV.js} +2 -2
- package/dist/cdn/{DPPZZO5W.js → HQDOPV3Q.js} +2 -2
- package/dist/cdn/HQSY7TKA.js +2 -0
- package/dist/cdn/{UMHGXP3S.js → HQWUQFN5.js} +2 -2
- package/dist/cdn/{TMJX7DFH.js → HU57LQOA.js} +1 -1
- package/dist/cdn/{YWS5RHVM.js → HWKMLOOG.js} +2 -2
- package/dist/cdn/{KKP7ZZUD.js → HYMCX7JZ.js} +2 -2
- package/dist/cdn/{5763ZV75.js → HZTF3LOF.js} +2 -2
- package/dist/cdn/{BIWQEPK4.js → I4AEBGQM.js} +2 -2
- package/dist/cdn/{VEAJ52RN.js → IAWXCNTX.js} +2 -2
- package/dist/cdn/{FMBY3L4S.js → IBN4TKBI.js} +2 -2
- package/dist/cdn/{JAZGNQRP.js → IFR4IYSI.js} +2 -2
- package/dist/cdn/{27GJE7OY.js → IHUJKT47.js} +2 -2
- package/dist/cdn/IITDAOGZ.js +2 -0
- package/dist/cdn/{O7RSAJOS.js → IM6IDWYR.js} +1 -1
- package/dist/cdn/{I2A6UYGZ.js → IQOSVEZ5.js} +2 -2
- package/dist/cdn/{4PGC5LTJ.js → J3FRSWZD.js} +2 -2
- package/dist/cdn/{QX33OCXB.js → J3IDFYN3.js} +2 -2
- package/dist/cdn/{Y4WOZJQX.js → J4CHCFLS.js} +2 -2
- package/dist/cdn/{WBI4RS3V.js → JQ4K46KY.js} +2 -2
- package/dist/cdn/{54CLZESW.js → JQ7MMDQT.js} +2 -2
- package/dist/cdn/{IDKRMHDS.js → JXQEGZDB.js} +1 -1
- package/dist/cdn/{3YXCLF3K.js → JXU37SH6.js} +2 -2
- package/dist/cdn/{MUWOF7W4.js → JZHZCJTJ.js} +2 -2
- package/dist/cdn/{I23AZWQL.js → K23R26AN.js} +2 -2
- package/dist/cdn/{5UOXHOVU.js → K7ELALW4.js} +2 -2
- package/dist/cdn/{H77SMV46.js → K7XSWKZ2.js} +2 -2
- package/dist/cdn/{HLGU3U73.js → KBA5OIES.js} +2 -2
- package/dist/cdn/{XPGC5GAG.js → KCLVDXWB.js} +2 -2
- package/dist/cdn/KKLTZBSE.js +2 -0
- package/dist/cdn/{SP73K22L.js → KRMN6HAV.js} +2 -2
- package/dist/cdn/{5SL2HI4G.js → KVYBIOH5.js} +2 -2
- package/dist/cdn/{ALROLX35.js → L46JLXJT.js} +2 -2
- package/dist/cdn/{JD74LG7K.js → L5IRXOCJ.js} +1 -1
- package/dist/cdn/{QOQRNYM5.js → L7DFXEAX.js} +2 -2
- package/dist/cdn/{YKSVOTDV.js → LBSIU6XT.js} +2 -2
- package/dist/cdn/{M7LDGJG6.js → LC37F7HF.js} +2 -2
- package/dist/cdn/{JE6NC2E6.js → LH2T4TMP.js} +2 -2
- package/dist/cdn/{V2GMDCVJ.js → LKAJVIS2.js} +2 -2
- package/dist/cdn/LOOJWRCW.js +2 -0
- package/dist/cdn/{3JCF73F4.js → LUTUHOKB.js} +2 -2
- package/dist/cdn/{BEFZSVBT.js → LW4IDPBB.js} +2 -2
- package/dist/cdn/{6NWR2Z4F.js → LY6LSUSY.js} +2 -2
- package/dist/cdn/LZVMUNZC.js +2 -0
- package/dist/cdn/M3ZQGUYQ.js +2 -0
- package/dist/cdn/{RFSBZHJD.js → M4D5WUVD.js} +2 -2
- package/dist/cdn/{SQYMNL75.js → MA2GVVQJ.js} +2 -2
- package/dist/cdn/MA7GBKLW.js +2 -0
- package/dist/cdn/MBGCAZPS.js +4 -0
- package/dist/cdn/{GQXUCZYM.js → MCMACXJV.js} +2 -2
- package/dist/cdn/{7VVOJSSE.js → MDWBYUFG.js} +2 -2
- package/dist/cdn/{4WXSFT6G.js → MGBFC5IV.js} +2 -2
- package/dist/cdn/{3O4SVNIK.js → MICLX7QW.js} +2 -2
- package/dist/cdn/{RHNZWKZV.js → MMYODAC2.js} +2 -2
- package/dist/cdn/{VSDQVSOV.js → MNSGXIJP.js} +2 -2
- package/dist/cdn/{HX4CSRAB.js → MWIDHMQZ.js} +2 -2
- package/dist/cdn/{AYNGSZAL.js → N3DTZRST.js} +2 -2
- package/dist/cdn/{3NL42TBJ.js → N5KEEUBQ.js} +2 -2
- package/dist/cdn/{CEUIFOR6.js → NB7O2TXG.js} +1 -1
- package/dist/cdn/{DJTW52JH.js → ND7BSIVO.js} +1 -1
- package/dist/cdn/{QWOOD63Q.js → NDCZFJEK.js} +3 -3
- package/dist/cdn/{3A7S62FX.js → NFCFPU7K.js} +2 -2
- package/dist/cdn/NWFGMNGG.js +2 -0
- package/dist/cdn/{45JO7F4Y.js → NWRWQZGL.js} +2 -2
- package/dist/cdn/{2AQYGR7K.js → NY7RHFLZ.js} +2 -2
- package/dist/cdn/{ISIH65JW.js → O5YJPUFM.js} +2 -2
- package/dist/cdn/{TU6ZG6ZI.js → O6HYZKBU.js} +2 -2
- package/dist/cdn/{MPKC74OS.js → OAMA6SL3.js} +2 -2
- package/dist/cdn/{5XVK5ZBK.js → OAMPGCZF.js} +2 -2
- package/dist/cdn/{COKGOKO2.js → OCFIQBYK.js} +2 -2
- package/dist/cdn/{QMYL4UM7.js → OCQXPA57.js} +2 -2
- package/dist/cdn/{IXWGGAVX.js → OICQWHES.js} +2 -2
- package/dist/cdn/{XAMLHDWZ.js → ONFKLY6Q.js} +2 -2
- package/dist/cdn/{4RMVG2NH.js → OP3APZ4U.js} +2 -2
- package/dist/cdn/{H5AYEQ6D.js → OUC5HWPQ.js} +2 -2
- package/dist/cdn/{OCLOCCB6.js → OX3WBUBR.js} +2 -2
- package/dist/cdn/{HX4CDWS4.js → P2I63WVL.js} +2 -2
- package/dist/cdn/{7DDCU3NB.js → P35MNXU2.js} +2 -2
- package/dist/cdn/{Q22KIHFH.js → PBHNO4J7.js} +2 -2
- package/dist/cdn/{2GDB3C5I.js → PBYHBRG7.js} +2 -2
- package/dist/cdn/{XURL7UVF.js → PDH2DA3L.js} +2 -2
- package/dist/cdn/{7MOL5GJB.js → PGSBUAGV.js} +2 -2
- package/dist/cdn/{WJZZ7SZO.js → PGUZODKZ.js} +2 -2
- package/dist/cdn/{KBHLE7HT.js → PIDNZKSJ.js} +2 -2
- package/dist/cdn/{NBHZZ4E6.js → PKMTOHZH.js} +2 -2
- package/dist/cdn/{AW3C3DKA.js → PPAFKBPN.js} +2 -2
- package/dist/cdn/{WCEDE4CZ.js → PPVXOP43.js} +2 -2
- package/dist/cdn/{5M56ZA46.js → PS3KSP2J.js} +2 -2
- package/dist/cdn/{NRJ6LV6O.js → PWHXRRFU.js} +2 -2
- package/dist/cdn/{3XEPXV4Q.js → PY5VGH7F.js} +2 -2
- package/dist/cdn/PZUVKZGQ.js +2 -0
- package/dist/cdn/Q3B3NI7P.js +2 -0
- package/dist/cdn/QCVMDYJD.js +2 -0
- package/dist/cdn/{RAOEF6YV.js → QEPANMVK.js} +2 -2
- package/dist/cdn/{OGAUCGGG.js → QKZ552KI.js} +2 -2
- package/dist/cdn/{BKVCAAPF.js → QLXQ4L2R.js} +2 -2
- package/dist/cdn/{CESFJ6AD.js → QNBNH7ME.js} +2 -2
- package/dist/cdn/{CL2NYK7A.js → QOIURU47.js} +2 -2
- package/dist/cdn/{7V7IKYJG.js → QPSAD5DG.js} +2 -2
- package/dist/cdn/QSZL5NEG.js +2 -0
- package/dist/cdn/{6IVEAPNI.js → QT7GRA34.js} +2 -2
- package/dist/cdn/{KO7RD6SS.js → QVAB57VJ.js} +2 -2
- package/dist/cdn/{3PVLBFNC.js → QWIDIEXY.js} +2 -2
- package/dist/cdn/{EAM45WZP.js → R2D2TXL4.js} +2 -2
- package/dist/cdn/{RYYBMDGS.js → R2P5JM7G.js} +2 -2
- package/dist/cdn/{TNFZHEWD.js → R4FDXNHP.js} +2 -2
- package/dist/cdn/{6GFUBVBL.js → R5QMO5FY.js} +2 -2
- package/dist/cdn/{S6M66TIN.js → R5YW65AI.js} +2 -2
- package/dist/cdn/{Y2UYA3OR.js → R6C6U6JB.js} +2 -2
- package/dist/cdn/{Q73T55TC.js → R6X7LUKH.js} +2 -2
- package/dist/cdn/{LQ76PRWK.js → REGHMH6D.js} +2 -2
- package/dist/cdn/RLXUS2AY.js +2 -0
- package/dist/cdn/RNF5KVNY.js +2 -0
- package/dist/cdn/{F5WKI5HZ.js → RQ2YV64E.js} +2 -2
- package/dist/cdn/{YLC4L2QV.js → RRSU6QD4.js} +2 -2
- package/dist/cdn/{AZ73DBU3.js → RUW7CDCH.js} +2 -2
- package/dist/cdn/{DSDPDMLP.js → RUYAWRPV.js} +2 -2
- package/dist/cdn/{AAUN23S6.js → RVEUCXT4.js} +2 -2
- package/dist/cdn/{3L2J4JFP.js → RZGWZ2FJ.js} +2 -2
- package/dist/cdn/{WVRJQQKH.js → S6BPBG7D.js} +2 -2
- package/dist/cdn/{55AW5TTI.js → SAOLD6MH.js} +2 -2
- package/dist/cdn/{ZUAR3LO3.js → SCYBJTZA.js} +2 -2
- package/dist/cdn/{DMYAI77Y.js → SG55TVJ5.js} +2 -2
- package/dist/cdn/{YAEJKOYY.js → SIFBGT4D.js} +2 -2
- package/dist/cdn/SKP3TGF4.js +2 -0
- package/dist/cdn/{4MJJOPAL.js → SOZWCZ7A.js} +1 -1
- package/dist/cdn/SQPX5U3U.js +2 -0
- package/dist/cdn/{YU5BTZEI.js → SZ3T7YEB.js} +1 -1
- package/dist/cdn/{Z4WS2RBO.js → TA723HWT.js} +2 -2
- package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
- package/dist/cdn/{IU22RA7Z.js → TDGAGI7B.js} +2 -2
- package/dist/cdn/{4WAV5GOL.js → TEOOLQG2.js} +2 -2
- package/dist/cdn/TFADSF2R.js +2 -0
- package/dist/cdn/{JBR3FYAN.js → THJMCEEO.js} +2 -2
- package/dist/cdn/{3DUIQTNG.js → TKILR2SM.js} +2 -2
- package/dist/cdn/{4RGFCQOB.js → TMTFZSJS.js} +1 -1
- package/dist/cdn/{OBMM7WJD.js → TPVHN6P2.js} +2 -2
- package/dist/cdn/{VTCM7AV2.js → TSNUOFL7.js} +2 -2
- package/dist/cdn/{GT6FFZHJ.js → TYHCB472.js} +2 -2
- package/dist/cdn/{E5JCJOB3.js → U5DIWFPP.js} +2 -2
- package/dist/cdn/{VABVK3ZN.js → UFRX7JW5.js} +2 -2
- package/dist/cdn/{H4FH2RBM.js → UHI54OG6.js} +2 -2
- package/dist/cdn/{J6MU74RO.js → UMOO7WYM.js} +2 -2
- package/dist/cdn/{QTDJVI5F.js → UTV2A7J4.js} +2 -2
- package/dist/cdn/{BIU6VS3K.js → UZLEFNJL.js} +1 -1
- package/dist/cdn/{LL7R6ETJ.js → V2YPYCU6.js} +2 -2
- package/dist/cdn/{ZW2ZBNX2.js → V3BFPL23.js} +2 -2
- package/dist/cdn/{E4NTQBM3.js → V4JEBKPJ.js} +2 -2
- package/dist/cdn/{QMQV37ML.js → V62TVP3T.js} +2 -2
- package/dist/cdn/{CROCDACG.js → VDEMMP33.js} +2 -2
- package/dist/cdn/{B4CANXID.js → VKRAWBPC.js} +2 -2
- package/dist/cdn/{XYNRLVTU.js → VTCE3YQW.js} +2 -2
- package/dist/cdn/{ZVZVHZYX.js → VUAYNF3K.js} +2 -2
- package/dist/cdn/{24DOFGMG.js → VYOH4T4L.js} +2 -2
- package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
- package/dist/cdn/{TZ6WQV6O.js → W275EQEJ.js} +2 -2
- package/dist/cdn/{IFMBHZHX.js → WBBTZNZU.js} +2 -2
- package/dist/cdn/{D3LYSFXK.js → WEOKELJE.js} +2 -2
- package/dist/cdn/{VJVKFKSG.js → WJQUE4DR.js} +1 -1
- package/dist/cdn/WK4TNKKC.js +2 -0
- package/dist/cdn/{5V2DO6ZW.js → WS46QSWM.js} +2 -2
- package/dist/cdn/{D47546HM.js → XHOI3WNI.js} +1 -1
- package/dist/cdn/XKCB2DEP.js +2 -0
- package/dist/cdn/{VJE33ARY.js → XP74F2F6.js} +2 -2
- package/dist/cdn/{3E56Q4ZY.js → XPC6K7AE.js} +2 -2
- package/dist/cdn/XSE3E4FM.js +2 -0
- package/dist/cdn/{PXAY7IM4.js → XULIO6Y3.js} +2 -2
- package/dist/cdn/{4W35GLNO.js → Y37UMTGV.js} +2 -2
- package/dist/cdn/{X3DQNCTZ.js → Y6764PBB.js} +2 -2
- package/dist/cdn/{CIUI5B52.js → Y6ZXMGO2.js} +2 -2
- package/dist/cdn/{3ZXNGXHC.js → Y77AVOAH.js} +1 -1
- package/dist/cdn/{CUF7GCDT.js → YCHVPSSP.js} +2 -2
- package/dist/cdn/{B5GJ5JEW.js → YDZZPLVB.js} +2 -2
- package/dist/cdn/{OJXNUBIA.js → YHPASRFL.js} +2 -2
- package/dist/cdn/{R3IITUG6.js → YODE6QAO.js} +2 -2
- package/dist/cdn/{E53ARLWV.js → YTLRTUMD.js} +2 -2
- package/dist/cdn/{XJ6DZ6AN.js → Z2UUXST4.js} +2 -2
- package/dist/cdn/{EESGZV4K.js → Z6AVJWLP.js} +2 -2
- package/dist/cdn/{JIQ4P34C.js → Z7H4V2JZ.js} +2 -2
- package/dist/cdn/{GF7RZ4IH.js → ZAUG5MSY.js} +2 -2
- package/dist/cdn/{5SLLYIWJ.js → ZBC5RBCD.js} +2 -2
- package/dist/cdn/{FCNNRX3Q.js → ZCFWKPXL.js} +1 -1
- package/dist/cdn/{KT7MEZHJ.js → ZF4DFDLT.js} +2 -2
- package/dist/cdn/{YWC5AUFV.js → ZGOAZB5L.js} +1 -1
- package/dist/cdn/{QJWFZYU4.js → ZHSESERJ.js} +2 -2
- package/dist/cdn/{EOTKZ4F3.js → ZIBQTNB6.js} +2 -2
- package/dist/cdn/{WQMZ7BDQ.js → ZKWI43WZ.js} +2 -2
- package/dist/cdn/{SREWXCMU.js → ZO7TUIUE.js} +2 -2
- package/dist/cdn/ZSPYPXBY.js +2 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/GeolocationPositioning.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/attachment-utils.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/clipoardSymbolHelper.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/component-wrapper.js +1 -1
- package/dist/chunks/constants.js +1 -1
- package/dist/chunks/constants2.js +1 -1
- package/dist/chunks/css.js +1 -1
- package/dist/chunks/dateUtils.js +2 -2
- package/dist/chunks/earth-utils.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/field.js +1 -1
- package/dist/chunks/formattingUtils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/goTo.js +1 -1
- package/dist/chunks/graphicsLayerController.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/keyboard-utils.js +1 -1
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/layer-list-utils.js +1 -1
- package/dist/chunks/layer-utils.js +1 -1
- package/dist/chunks/layer-utils2.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/print-exports-panel-item-popover.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +2 -2
- package/dist/chunks/sr.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/titleUtils.js +1 -1
- package/dist/chunks/types.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/urlUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +121 -107
- package/dist/chunks/useCloseEvent.js +1 -1
- package/dist/chunks/useLayerById.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/chunks/utils5.js +1 -1
- package/dist/chunks/utils6.js +1 -1
- package/dist/chunks/video-utils.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/chunks/zoom.js +1 -1
- package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
- package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -14
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
- package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
- package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
- 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-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-building-level-item/customElement.js +2 -2
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-clipboard/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
- package/dist/components/arcgis-editor/customElement.d.ts +18 -5
- package/dist/components/arcgis-editor/customElement.js +4 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +94 -90
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +52 -52
- 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 +21 -21
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-text/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
- package/dist/components/arcgis-feature-image/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
- package/dist/components/arcgis-feature-title/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 +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-features-next/customElement.js +103 -93
- package/dist/components/arcgis-file-picker/customElement.js +1 -1
- package/dist/components/arcgis-filter-builder/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/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 +3 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +24 -20
- package/dist/components/arcgis-link-chart/customElement.js +6 -6
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +41 -36
- package/dist/components/arcgis-map/customElement.js +10 -10
- package/dist/components/arcgis-measurement-content/customElement.js +7 -7
- package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +9 -6
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.js +33 -29
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-presentation-slide-list/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-datum-transformation-input/customElement.js +18 -18
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel-item-popover/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-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +24 -20
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +18 -7
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +25 -25
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +1 -1
- package/dist/components/arcgis-template-image/customElement.js +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +25 -26
- package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-slider/customElement.js +47 -46
- package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-radio-button-group/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-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +17 -17
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +38 -38
- 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-list-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +7 -7
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- 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-view-popover/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
- package/dist/components/arcgis-volume-measurement/customElement.js +63 -63
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/feature-form-next/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -7
- package/dist/types/lumina.d.ts +4 -4
- package/dist/types/preact.d.ts +4 -4
- package/dist/types/react.d.ts +4 -4
- package/dist/types/stencil.d.ts +4 -4
- package/package.json +7 -7
- package/dist/cdn/3DSZKELU.js +0 -2
- package/dist/cdn/3KZAH5OY.js +0 -2
- package/dist/cdn/4GRP4KX3.js +0 -2
- package/dist/cdn/5K54VOLZ.js +0 -2
- package/dist/cdn/63FA3UEL.js +0 -2
- package/dist/cdn/7UWE25UH.js +0 -2
- package/dist/cdn/AENNGCAE.js +0 -2
- package/dist/cdn/AI5PXN2E.js +0 -2
- package/dist/cdn/AN3BGKZP.js +0 -2
- package/dist/cdn/DBA7NSTP.js +0 -2
- package/dist/cdn/EZCNI254.js +0 -2
- package/dist/cdn/F46CTQWP.js +0 -2
- package/dist/cdn/F4O7DFPZ.js +0 -2
- package/dist/cdn/FZWFKZLW.js +0 -2
- package/dist/cdn/GIOUZTHM.js +0 -2
- package/dist/cdn/GP3PLD2F.js +0 -2
- package/dist/cdn/GTRQNPQ7.js +0 -2
- package/dist/cdn/HH5GEJCC.js +0 -2
- package/dist/cdn/IETZFE3P.js +0 -2
- package/dist/cdn/JRQYT5SI.js +0 -2
- package/dist/cdn/K6D2JHC4.js +0 -2
- package/dist/cdn/KM2GXXBO.js +0 -4
- package/dist/cdn/KY3ND2AY.js +0 -2
- package/dist/cdn/LE373OSG.js +0 -2
- package/dist/cdn/LGW5AS6R.js +0 -2
- package/dist/cdn/NBDQBLRI.js +0 -2
- package/dist/cdn/O57LOC52.js +0 -2
- package/dist/cdn/P5HSMYWG.js +0 -2
- package/dist/cdn/PLTLRYBF.js +0 -2
- package/dist/cdn/QKON7YGO.js +0 -2
- package/dist/cdn/QTOA5MBN.js +0 -2
- package/dist/cdn/QUZTFUWM.js +0 -1
- package/dist/cdn/R6HUY6QI.js +0 -2
- package/dist/cdn/S62FQUEJ.js +0 -2
- package/dist/cdn/TZHXSIXK.js +0 -2
- package/dist/cdn/W3ENDJ6U.js +0 -2
- package/dist/cdn/WEAGLY7B.js +0 -2
- package/dist/cdn/WYNLO2MH.js +0 -2
- package/dist/cdn/XKHGN6LQ.js +0 -2
- package/dist/cdn/Y2LELW5Y.js +0 -2
- package/dist/cdn/YDB2XJRU.js +0 -2
- package/dist/cdn/YY45XUPP.js +0 -2
- package/dist/cdn/YYCBU2CG.js +0 -2
- package/dist/cdn/Z42QB2QP.js +0 -2
- package/dist/cdn/ZEKQYUW3.js +0 -2
- package/dist/cdn/ZOHGLZNV.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as P}from"./IZ46HAUJ.js";import h from"./B5GJ5JEW.js";import{d as y,k as w}from"./BAOWXZTE.js";import e from"./DSDPDMLP.js";import{a as B}from"./VJVKFKSG.js";import d from"./CQQM24VF.js";import{a as $}from"./WEAGLY7B.js";import{a as u}from"./JD74LG7K.js";import c from"./FZWFKZLW.js";import b from"./JBHRVHGS.js";import{h as D}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{a as f}from"./WQMZ7BDQ.js";import{O as U,P as k,R as v,U as g,X as M,a as C,b as l,x as S}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{createChart:F},{signal:L},{ignoreAbortErrors:b},{watch:m},A,{property:a,subclass:R},,,,z,{b:O,d:_},E])=>{var I=C`.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{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__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;async function T(t,e,i){let n=await H(t,e);return O(i),Z(n)?n.highlight(e):P()}async function H(t,e){let i=e?.layer;if(!(!i||i.type==="subtype-sublayer"||i.type==="sublayer"||i.type==="building-component"))return await t.whenLayerView(i)}function Z(t){return t!=null&&"highlight"in t&&typeof t.highlight=="function"}function j({geometry:t}){return t?.type==="polyline"&&t.paths.length>0&&t.paths.every(e=>e.length>=2)}function G({geometry:t}){return t?.type==="polyline"&&t.paths.reduce((e,i)=>e+i.length,0)>0}function q(t){return t?.samples?.some(e=>e.z!=null)??!1}function J(t){return t?.type==="polyline"}var K=Object.defineProperty,N=Object.getOwnPropertyDescriptor,o=(t,e,i,n)=>{for(var s=n>1?void 0:n?N(e,i):e,c=t.length-1,d;c>=0;c--)(d=t[c])&&(s=(n?d(e,i,s):d(s))||s);return n&&s&&K(e,i,s),s},r=class extends E{constructor(){super(...arguments),this._resettingUnits=!1,this.highlightDisabled=!1,this.uniformChartScaling=!1,this.shouldForceInteractive=!1,this.supportedViewType="both",this.unsupportedErrorMessage=""}get _hasSamples(){let{progress:t}=this;return!!this.analysisView?.results?.some(e=>e.available&&(t<1||q(e)))}get doneButtonAvailable(){if(this.featureIsSelected)return!1;let{geometry:t}=this.analysis;return J(t)&&t.paths.length>0&&t.paths[0].length>2}get effectiveDisplayUnits(){return this.analysisView?.effectiveDisplayUnits}get errorState(){if(!j(this.analysis))return"no-valid-input";let t=this.analysisView?.error;if(t)switch(t.name){case"too-complex":return"too-complex";case"elevation-query-error":return"no-valid-input";default:return"unknown"}return this._hasSamples?"none":"no-available-profiles"}get feature(){return this._selectedFeature}set feature(t){t?t!==this.feature&&(this.analysis.setGeometryFromFeature(t),this._selectedFeature=t):this._selectedFeature=void 0}get featureIsSelected(){return this.feature!=null}get hasVertices(){return G(this.analysis)}get indicatorRelativePosition(){return this.analysisView?.indicatorRelativePosition??void 0}get geometry(){return this.analysis.geometry}set geometry(t){this.analysis.geometry=t}get elevationInfo(){return this.analysis.elevationInfo}set elevationInfo(t){this.analysis.elevationInfo=t}get profiles(){return this.analysis.profiles}set profiles(t){this.analysis.profiles=t}get progress(){return this.analysisView?.progress??0}get results(){return this.analysisView?.results??[]}get selectButtonAvailable(){for(let t of this.view?.map?.allLayers.toArray()??[])if(t.type==="graphics"&&!("internal"in t&&t.internal)&&t.graphics.some(e=>e.geometry?.type==="polyline")||"geometryType"in t&&t.geometryType==="polyline")return!0;return!!this.view?.graphics?.some(t=>t.geometry?.type==="polyline")}get state(){return this.disabled||!this.ready?"disabled":this._selectingPromise?"selecting":this.operationState==="active"?"creating":this.analysis.valid?this.featureIsSelected?"selected":"created":"ready"}get distanceUnit(){return w({userUnit:this._userDistanceUnit,analysisUnit:this.analysis.displayUnits?.distance,options:this.distanceUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.length})}set distanceUnit(t){this._userDistanceUnit=t}get distanceUnitOptions(){return V(this._userDistanceUnitOptions)}set distanceUnitOptions(t){this._userDistanceUnitOptions=t}get elevationUnit(){return w({userUnit:this._userElevationUnit,analysisUnit:this.analysis.displayUnits?.elevation,options:this.elevationUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.verticalLength})}set elevationUnit(t){this._userElevationUnit=t}get elevationUnitOptions(){return V(this._userElevationUnitOptions)}set elevationUnitOptions(t){this._userElevationUnitOptions=t}get canResetDistanceUnit(){return this._userDistanceUnit!=null||this.analysis.displayUnits.distance!=null}get canResetElevationUnit(){return this._userElevationUnit!=null||this.analysis.displayUnits.elevation!=null}resetUnit(t){this._resettingUnits=!0;try{t==="distance"?this._userDistanceUnit=void 0:this._userElevationUnit=void 0,this.analysis.displayUnits[t]=null}finally{this._resettingUnits=!1}}initialize(){this.addHandles([m(()=>({analysis:this.analysis,unitDistance:this._userDistanceUnit,unitElevation:this._userElevationUnit}),({analysis:t,unitDistance:e,unitElevation:i})=>{this._resettingUnits||(i&&(t.displayUnits.elevation=i),e&&(t.displayUnits.distance=e))},{sync:!0,initial:!0}),m(()=>({selectedFeature:this.feature,profiles:this.analysis.profiles.toArray()}),({selectedFeature:t,profiles:e},i)=>{this._highlightSelectedFeature(this.highlightDisabled?void 0:t),this.analysis.viewOptions.geometryVisualizationVisible=!this.highlightDisabled&&t==null;let n=i?.selectedFeature;e.forEach(s=>{switch(s.type){case"scene":this._excludeSelectedFeatureFromProfile(s,t,n);break;case"input":s.chartOptions.lineVisible=t!=null,s.viewOptions.lineVisible=t!=null;break}})},{initial:!0})])}destroy(){this._removeSelectionHighlight()}async select(){if(this.interactionDisabled)return;let t=this.analysisView;if(!t)return;this.clear();let e=super.start({operation:async i=>{let n=await t.pickFeature(i);i?.signal?.aborted||(t.interactive=!1,this.feature=n.feature)},clear:!1});this._selectingPromise=e;try{await b(e)}finally{this._selectingPromise===e&&(this._selectingPromise=void 0)}}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.geometry=null,this.elevationInfo=null,this.feature=void 0}constructAnalysis(){return new A}_highlightSelectedFeature(t){this._removeSelectionHighlight();let e=this.view;!e||!t||(this._selectionHighlightTask=_(async i=>await T(e,t,{signal:i})))}_removeSelectionHighlight(){this._selectionHighlightTask?.value?.remove(),this._selectionHighlightTask=B(this._selectionHighlightTask)}_excludeSelectedFeatureFromProfile(t,e,i){let n=new Set(t.exclude??[]);i&&n.delete(i),e&&n.add(e),t.exclude=Array.from(n)}};o([a()],r.prototype,"_userDistanceUnit",2);o([a()],r.prototype,"_userDistanceUnitOptions",2);o([a()],r.prototype,"_userElevationUnit",2);o([a()],r.prototype,"_userElevationUnitOptions",2);o([a()],r.prototype,"_selectingPromise",2);o([a()],r.prototype,"_selectedFeature",2);o([a()],r.prototype,"_selectionHighlightTask",2);o([a()],r.prototype,"_hasSamples",1);o([a()],r.prototype,"doneButtonAvailable",1);o([a({readOnly:!0})],r.prototype,"effectiveDisplayUnits",1);o([a({readOnly:!0})],r.prototype,"errorState",1);o([a()],r.prototype,"feature",1);o([a()],r.prototype,"featureIsSelected",1);o([a({readOnly:!0})],r.prototype,"hasVertices",1);o([a()],r.prototype,"highlightDisabled",2);o([a()],r.prototype,"indicatorRelativePosition",1);o([a()],r.prototype,"geometry",1);o([a()],r.prototype,"elevationInfo",1);o([a()],r.prototype,"profiles",1);o([a({readOnly:!0})],r.prototype,"progress",1);o([a({readOnly:!0})],r.prototype,"results",1);o([a({readOnly:!0})],r.prototype,"selectButtonAvailable",1);o([a({readOnly:!0})],r.prototype,"state",1);o([a()],r.prototype,"uniformChartScaling",2);o([a()],r.prototype,"distanceUnit",1);o([a()],r.prototype,"distanceUnitOptions",1);o([a()],r.prototype,"elevationUnit",1);o([a()],r.prototype,"elevationUnitOptions",1);o([a({readOnly:!0})],r.prototype,"canResetDistanceUnit",1);o([a({readOnly:!0})],r.prototype,"canResetElevationUnit",1);r=o([R("components.elevation-profile.ElevationProfileViewModel")],r);function V(t){let e=t?.filter(i=>y.includes(i));return e&&e.length>0?e:y.slice()}var W=z(r),x=class extends k{constructor(){super(...arguments),this.viewModel=W(this),this._messages=$(),this._chartInitializationTask=L(void 0),this._hideZoomOutButton=!0,this._hasSettingsStartContent=!1,this._hasSettingsEndContent=!1,this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.effectiveDisplayUnits=this.viewModel.effectiveDisplayUnits,this.feature=this.viewModel.feature,this.hideChart=!1,this.hideChartGridLines=!1,this.hideChartAxisLabels=!1,this.hideClearButton=!1,this.hideLegend=!1,this.hideSelectButton=!1,this.hideSettingsButton=!1,this.hideResetUnitsButton=!1,this.hideStartButton=!1,this.hideUniformChartScalingToggle=!1,this.hideDistanceDisplayUnitSelect=!1,this.hideElevationDisplayUnitSelect=!1,this.hideVisualization=this.viewModel.hideVisualization,this.highlightDisabled=this.viewModel.highlightDisabled,this.icon="altitude",this.indicatorRelativePosition=this.viewModel.indicatorRelativePosition,this.interactionDisabled=this.viewModel.interactionDisabled,this.geometry=this.viewModel.geometry,this.elevationInfo=this.viewModel.elevationInfo,this.profiles=this.viewModel.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.distanceUnit=this.viewModel.distanceUnit,this.distanceUnitOptions=this.viewModel.distanceUnitOptions,this.elevationUnit=this.viewModel.elevationUnit,this.elevationUnitOptions=this.viewModel.elevationUnitOptions,this.arcgisPropertyChange=D()("analysis","effectiveDisplayUnits","elevationInfo","feature","geometry","indicatorRelativePosition","interactionDisabled","progress","state"),this.arcgisReady=S()}static{this.properties={_hideZoomOutButton:16,_chartContainer:16,_hasSettingsStartContent:16,_hasSettingsEndContent:16,analysis:0,view:0,autoDestroyDisabled:5,effectiveDisplayUnits:32,feature:0,hideChart:5,hideChartGridLines:5,hideChartAxisLabels:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideResetUnitsButton:5,hideStartButton:5,hideUniformChartScalingToggle:5,hideDistanceDisplayUnitSelect:5,hideElevationDisplayUnitSelect:5,hideVisualization:5,highlightDisabled:5,icon:3,indicatorRelativePosition:40,interactionDisabled:5,geometry:0,elevationInfo:0,label:1,messageOverrides:0,referenceElement:1,profiles:0,progress:40,state:32,uniformChartScaling:5,distanceUnit:1,distanceUnitOptions:0,elevationUnit:1,elevationUnitOptions:0}}static{this.styles=I}get _selectButtonVisible(){return!this.hideSelectButton&&this.viewModel.selectButtonAvailable}get _chart(){return this._chartInitializationTask.value?.value}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async select(){b(this.viewModel.select())}async start(){b(this.viewModel.start())}async stop(){this.viewModel.stop()}load(){this.manager.onLifecycle(()=>[m(()=>({container:this._chartContainer}),({container:e})=>{this._destroyChart(),e&&(this._chartInitializationTask.value=_(async i=>await F({view:this.viewModel.view,analysisView:this.viewModel.analysisView,container:e,messages:this._messages,signal:i,uniformScaling:this.viewModel.uniformChartScaling,onRangeChange:(n,s)=>{this._hideZoomOutButton=n===1&&s===1},onCursorPositionChange:(n,s)=>{let{analysisView:c}=this.viewModel;c&&(c.indicatorRelativePosition=n)}})))},{sync:!0,initial:!0}),m(()=>({chart:this._chart,view:this.viewModel.view,analysisView:this.viewModel.analysisView,uniformScaling:this.viewModel.uniformChartScaling,hideGridLines:this.hideChartGridLines,hideLabels:this.hideChartAxisLabels}),({chart:e,view:i,analysisView:n,uniformScaling:s})=>{e&&(e.view=i,e.analysisView=n,e.uniformScaling=s,e.hideGridLines=this.hideChartGridLines,e.hideAxisLabels=this.hideChartAxisLabels)},{sync:!0,initial:!0}),{remove:()=>this._destroyChart()}])}_destroyChart(){let e=this._chart;this._chartInitializationTask.value?.abort(),this._chartInitializationTask.value=void 0,e?.destroy()}_onCancelButtonClick(){this.viewModel.stop(),this.viewModel.clear()}_onDoneButtonClick(){this.viewModel.stop()}_getErrorMessage(){let e=X[this.viewModel.errorState];return e?this._messages?.errors?.[e]:void 0}_onClearButtonClick(){this.viewModel.clear()}_onZoomOutButtonClick(){this._chart?.zoomOut()}_onChartContainerRef(e){this._chartContainer=e}render(){return l`<div aria-label=${this._messages.componentLabel??g} class=${v({root:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderContentForState()}</div>`}_renderContentForState(){switch(this.viewModel.state){case"ready":return this._renderContentForReadyState();case"selecting":return this._renderContentForSelectingState();case"creating":return this._renderContentForCreatingState();case"selected":return this._renderContentForSelectedState();case"created":return this._renderContentForCreatedState();case"disabled":return this._renderContentForReadyState()}}_renderContentForReadyState(){let{_messages:e,hideSelectButton:i,hideStartButton:n}=this,{selectButtonAvailable:s}=this.viewModel,c=!i&&s,d;return!n&&c?d=e.readyPrompt:n?c?d=e.readyPromptSelectOnly:d=e.errors?.noProfile:d=e.readyPromptCreateOnly,this._renderContent({prompt:d,chart:!1,actions:p})}_renderContentForSelectingState(){let{view:e}=this.viewModel;if(!e)return;let i=this._messages[`selectingPrompt-${e.type}`];return this._renderContent({prompt:i,chart:!1,actions:[{type:"select-cancel"}]})}_renderContentForCreatingState(){let{viewModel:e}=this,{view:i}=e;if(!i)return;let n=e.hasVertices?[{type:"sketch-cancel"},{type:"sketch-done",disabled:!e.doneButtonAvailable}]:[{type:"select"},{type:"sketch",disabled:!0}];if(e.errorState==="no-valid-input"){let c=this._messages[`creatingPrompt-${i.type}`];return this._renderContent({chart:!1,actions:n,prompt:c})}let s=this._getErrorMessage();return s?this._renderContent({chart:!1,actions:n,prompt:s}):this._renderContent({chart:!0,actions:n})}_renderContentForSelectedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContentForCreatedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContent(e){let{viewModel:i}=this,n=i.geometry!=null;return l`<header class="header">${h({hidden:this._hideZoomOutButton,children:this._renderZoomOutButton()})}${h({hidden:this.hideClearButton||!n,children:this._renderClearButton()})}${h({hidden:this.hideSettingsButton,children:this._renderSettingsButton()})}</header><div class="main-container">${e.prompt!=null?this._renderPrompt(e.prompt):e.chart?this._renderChart():void 0}</div>${h({hidden:this.hideLegend,children:this._renderLegend()})}${this._renderActions(e)}`}_renderPrompt(e){return[l`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`]}_renderZoomOutButton(){let e=this._messages.zoomOut??"";return l`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderChart(){if(this.hideChart)return;let e=this._chart;return l`${this._renderSpinner({size:e?.chartVisible?"small":"large",visible:e?.spinnerVisible??!1})}<div class="chart-container" ${U(this._onChartContainerRef)}></div>`}_renderSpinner(e){let i=e.size==="small",n=e.visible??!0;return l`<calcite-loader class=${v({spinner:!0,small:i,visible:n})} .inline=${i} label></calcite-loader>`}_renderClearButton(){let e=this._messages.clearProfile??"";return l`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderLegend(){return l`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .profiles=${this.profiles} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`}_renderSettingsButton(){return l`<arcgis-elevation-profile-settings .hasCustomStartContent=${this._hasSettingsStartContent} .hasCustomEndContent=${this._hasSettingsEndContent} .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .hideResetUnitsButton=${this.hideResetUnitsButton} .messages=${this._messages} .messageOverrides=${this.messageOverrides} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${e=>{this.viewModel.uniformChartScaling=e.detail}}><slot name=settings-start slot=settings-start @slotchange=${e=>{this._hasSettingsStartContent=f(e)}}></slot><slot name=settings-end slot=settings-end @slotchange=${e=>{this._hasSettingsEndContent=f(e)}}></slot></arcgis-elevation-profile-settings>`}_renderActions({actions:e}){let i=this._messages,n=e.map(s=>{switch(s.type){case"sketch":return h({hidden:this.hideStartButton,children:this._renderAction({action:s,label:i.sketchButtonLabel,primary:!0,onClick:()=>{this.start()}})});case"sketch-cancel":return h({hidden:this.hideStartButton,children:this._renderAction({action:s,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});case"sketch-done":return h({hidden:this.hideStartButton,children:this._renderAction({action:s,label:i.doneButtonLabel,primary:!0,onClick:this._onDoneButtonClick})});case"select":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:s,label:i.selectButtonLabel,primary:!1,onClick:()=>{this.select()}})});case"select-cancel":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:s,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});default:return}}).filter(Boolean);return n.length?l`<footer class="actions">${n}</footer>`:void 0}_renderAction({action:e,label:i,onClick:n,primary:s}){return l`<calcite-button .appearance=${s?"solid":"outline-fill"} class="action-button" .disabled=${e.disabled||this.interactionDisabled&&(e.type==="sketch"||e.type==="select")} @click=${n}>${i}</calcite-button>`}};function h(t){return t.hidden?void 0:t.children}var p=[{type:"select"},{type:"sketch"}],X={none:void 0,"no-valid-input":"noProfile","no-available-profiles":"noProfile","too-complex":"tooComplex",unknown:"unknown"};M("arcgis-elevation-profile",x);return x},"applications/Components/analysisUtils","applications/Components/reactiveUtils","core/promiseUtils","core/reactiveUtils","analysis/ElevationProfileAnalysis","core/accessorSupport/decorators",a,b,c,d,e,h)
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import{a as P}from"./FH3WFF5O.js";import i from"./YDZZPLVB.js";import{d as y,k as w}from"./FXUZU52U.js";import h from"./RUYAWRPV.js";import{a as B}from"./WJQUE4DR.js";import e from"./5YHHJ5ZE.js";import{a as $}from"./ZSPYPXBY.js";import{a as u}from"./L5IRXOCJ.js";import c from"./HA4XWZH4.js";import b from"./HPWF3IQV.js";import{h as D}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{a as f}from"./ZKWI43WZ.js";import{O as U,P as k,R as v,U as g,X as M,a as C,b as d,x as S}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{createChart:F},{signal:L},{ignoreAbortErrors:b},{watch:m},A,{property:a,subclass:R},,,,z,{b:O,d:_},E])=>{var I=C`.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{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__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;async function T(t,e,i){let n=await H(t,e);return O(i),Z(n)?n.highlight(e):P()}async function H(t,e){let i=e?.layer;if(!(!i||i.type==="subtype-sublayer"||i.type==="sublayer"||i.type==="building-component"))return await t.whenLayerView(i)}function Z(t){return t!=null&&"highlight"in t&&typeof t.highlight=="function"}function j({geometry:t}){return t?.type==="polyline"&&t.paths.length>0&&t.paths.every(e=>e.length>=2)}function G({geometry:t}){return t?.type==="polyline"&&t.paths.reduce((e,i)=>e+i.length,0)>0}function q(t){return t?.samples?.some(e=>e.z!=null)??!1}function J(t){return t?.type==="polyline"}var K=Object.defineProperty,N=Object.getOwnPropertyDescriptor,o=(t,e,i,n)=>{for(var r=n>1?void 0:n?N(e,i):e,l=t.length-1,c;l>=0;l--)(c=t[l])&&(r=(n?c(e,i,r):c(r))||r);return n&&r&&K(e,i,r),r},s=class extends E{constructor(){super(...arguments),this._resettingUnits=!1,this.highlightDisabled=!1,this.uniformChartScaling=!1,this.shouldForceInteractive=!1,this.supportedViewType="both",this.unsupportedErrorMessage=""}get _hasSamples(){let{progress:t}=this;return!!this.analysisView?.results?.some(e=>e.available&&(t<1||q(e)))}get doneButtonAvailable(){if(this.featureIsSelected)return!1;let{geometry:t}=this.analysis;return J(t)&&t.paths.length>0&&t.paths[0].length>2}get effectiveDisplayUnits(){return this.analysisView?.effectiveDisplayUnits}get errorState(){if(!j(this.analysis))return"no-valid-input";let t=this.analysisView?.error;if(t)switch(t.name){case"too-complex":return"too-complex";case"elevation-query-error":return"no-valid-input";default:return"unknown"}return this._hasSamples?"none":"no-available-profiles"}get feature(){return this._selectedFeature}set feature(t){t?t!==this.feature&&(this.analysis.setGeometryFromFeature(t),this._selectedFeature=t):this._selectedFeature=void 0}get featureIsSelected(){return this.feature!=null}get hasVertices(){return G(this.analysis)}get indicatorRelativePosition(){return this.analysisView?.indicatorRelativePosition??void 0}get geometry(){return this.analysis.geometry}set geometry(t){this.analysis.geometry=t}get elevationInfo(){return this.analysis.elevationInfo}set elevationInfo(t){this.analysis.elevationInfo=t}get profiles(){return this.analysis.profiles}set profiles(t){this.analysis.profiles=t}get progress(){return this.analysisView?.progress??0}get results(){return this.analysisView?.results??[]}get selectButtonAvailable(){for(let t of this.view?.map?.allLayers.toArray()??[])if(t.type==="graphics"&&!("internal"in t&&t.internal)&&t.graphics.some(e=>e.geometry?.type==="polyline")||"geometryType"in t&&t.geometryType==="polyline")return!0;return!!this.view?.graphics?.some(t=>t.geometry?.type==="polyline")}get state(){return this.disabled||!this.ready?"disabled":this._selectingPromise?"selecting":this.operationState==="active"?"creating":this.analysis.valid?this.featureIsSelected?"selected":"created":"ready"}get distanceUnit(){return w({userUnit:this._userDistanceUnit,analysisUnit:this.analysis.displayUnits?.distance,options:this.distanceUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.length})}set distanceUnit(t){this._userDistanceUnit=t}get distanceUnitOptions(){return V(this._userDistanceUnitOptions)}set distanceUnitOptions(t){this._userDistanceUnitOptions=t}get elevationUnit(){return w({userUnit:this._userElevationUnit,analysisUnit:this.analysis.displayUnits?.elevation,options:this.elevationUnitOptions,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.verticalLength})}set elevationUnit(t){this._userElevationUnit=t}get elevationUnitOptions(){return V(this._userElevationUnitOptions)}set elevationUnitOptions(t){this._userElevationUnitOptions=t}get canResetDistanceUnit(){return this._userDistanceUnit!=null||this.analysis.displayUnits.distance!=null}get canResetElevationUnit(){return this._userElevationUnit!=null||this.analysis.displayUnits.elevation!=null}resetUnit(t){this._resettingUnits=!0;try{t==="distance"?this._userDistanceUnit=void 0:this._userElevationUnit=void 0,this.analysis.displayUnits[t]=null}finally{this._resettingUnits=!1}}initialize(){this.addHandles([m(()=>({analysis:this.analysis,unitDistance:this._userDistanceUnit,unitElevation:this._userElevationUnit}),({analysis:t,unitDistance:e,unitElevation:i})=>{this._resettingUnits||(i&&(t.displayUnits.elevation=i),e&&(t.displayUnits.distance=e))},{sync:!0,initial:!0}),m(()=>({selectedFeature:this.feature,profiles:this.analysis.profiles.toArray()}),({selectedFeature:t,profiles:e},i)=>{this._highlightSelectedFeature(this.highlightDisabled?void 0:t),this.analysis.viewOptions.geometryVisualizationVisible=!this.highlightDisabled&&t==null;let n=i?.selectedFeature;e.forEach(r=>{switch(r.type){case"scene":this._excludeSelectedFeatureFromProfile(r,t,n);break;case"input":r.chartOptions.lineVisible=t!=null,r.viewOptions.lineVisible=t!=null;break}})},{initial:!0})])}destroy(){this._removeSelectionHighlight()}async select(){if(this.interactionDisabled)return;let t=this.analysisView;if(!t)return;this.clear();let e=super.start({operation:async i=>{let n=await t.pickFeature(i);i?.signal?.aborted||(t.interactive=!1,this.feature=n.feature)},clear:!1});this._selectingPromise=e;try{await b(e)}finally{this._selectingPromise===e&&(this._selectingPromise=void 0)}}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.geometry=null,this.elevationInfo=null,this.feature=void 0}constructAnalysis(){return new A}_highlightSelectedFeature(t){this._removeSelectionHighlight();let e=this.view;!e||!t||(this._selectionHighlightTask=_(async i=>await T(e,t,{signal:i})))}_removeSelectionHighlight(){this._selectionHighlightTask?.value?.remove(),this._selectionHighlightTask=B(this._selectionHighlightTask)}_excludeSelectedFeatureFromProfile(t,e,i){let n=new Set(t.exclude??[]);i&&n.delete(i),e&&n.add(e),t.exclude=Array.from(n)}};o([a()],s.prototype,"_userDistanceUnit",2);o([a()],s.prototype,"_userDistanceUnitOptions",2);o([a()],s.prototype,"_userElevationUnit",2);o([a()],s.prototype,"_userElevationUnitOptions",2);o([a()],s.prototype,"_selectingPromise",2);o([a()],s.prototype,"_selectedFeature",2);o([a()],s.prototype,"_selectionHighlightTask",2);o([a()],s.prototype,"_hasSamples",1);o([a()],s.prototype,"doneButtonAvailable",1);o([a({readOnly:!0})],s.prototype,"effectiveDisplayUnits",1);o([a({readOnly:!0})],s.prototype,"errorState",1);o([a()],s.prototype,"feature",1);o([a()],s.prototype,"featureIsSelected",1);o([a({readOnly:!0})],s.prototype,"hasVertices",1);o([a()],s.prototype,"highlightDisabled",2);o([a()],s.prototype,"indicatorRelativePosition",1);o([a()],s.prototype,"geometry",1);o([a()],s.prototype,"elevationInfo",1);o([a()],s.prototype,"profiles",1);o([a({readOnly:!0})],s.prototype,"progress",1);o([a({readOnly:!0})],s.prototype,"results",1);o([a({readOnly:!0})],s.prototype,"selectButtonAvailable",1);o([a({readOnly:!0})],s.prototype,"state",1);o([a()],s.prototype,"uniformChartScaling",2);o([a()],s.prototype,"distanceUnit",1);o([a()],s.prototype,"distanceUnitOptions",1);o([a()],s.prototype,"elevationUnit",1);o([a()],s.prototype,"elevationUnitOptions",1);o([a({readOnly:!0})],s.prototype,"canResetDistanceUnit",1);o([a({readOnly:!0})],s.prototype,"canResetElevationUnit",1);s=o([R("components.elevation-profile.ElevationProfileViewModel")],s);function V(t){let e=t?.filter(i=>y.includes(i));return e&&e.length>0?e:y.slice()}var W=z(s),x=class extends k{constructor(){super(...arguments),this.viewModel=W(this),this._chartInitializationTask=L(void 0),this._messages=$(),this._hideZoomOutButton=!0,this._hasSettingsStartContent=!1,this._hasSettingsEndContent=!1,this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.effectiveDisplayUnits=this.viewModel.effectiveDisplayUnits,this.feature=this.viewModel.feature,this.hideChart=!1,this.hideChartGridLines=!1,this.hideChartAxisLabels=!1,this.hideClearButton=!1,this.hideLegend=!1,this.hideSelectButton=!1,this.hideSettingsButton=!1,this.hideResetUnitsButton=!1,this.hideStartButton=!1,this.hideUniformChartScalingToggle=!1,this.hideDistanceDisplayUnitSelect=!1,this.hideElevationDisplayUnitSelect=!1,this.hideVisualization=this.viewModel.hideVisualization,this.highlightDisabled=this.viewModel.highlightDisabled,this.icon="altitude",this.indicatorRelativePosition=this.viewModel.indicatorRelativePosition,this.interactionDisabled=this.viewModel.interactionDisabled,this.geometry=this.viewModel.geometry,this.elevationInfo=this.viewModel.elevationInfo,this.profiles=this.viewModel.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.distanceUnit=this.viewModel.distanceUnit,this.distanceUnitOptions=this.viewModel.distanceUnitOptions,this.elevationUnit=this.viewModel.elevationUnit,this.elevationUnitOptions=this.viewModel.elevationUnitOptions,this.arcgisPropertyChange=D()("analysis","effectiveDisplayUnits","elevationInfo","feature","geometry","indicatorRelativePosition","interactionDisabled","progress","state"),this.arcgisReady=S()}static{this.properties={_messages:16,_hideZoomOutButton:16,_chartContainer:16,_hasSettingsStartContent:16,_hasSettingsEndContent:16,analysis:0,view:0,autoDestroyDisabled:5,effectiveDisplayUnits:32,feature:0,hideChart:5,hideChartGridLines:5,hideChartAxisLabels:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideResetUnitsButton:5,hideStartButton:5,hideUniformChartScalingToggle:5,hideDistanceDisplayUnitSelect:5,hideElevationDisplayUnitSelect:5,hideVisualization:5,highlightDisabled:5,icon:3,indicatorRelativePosition:40,interactionDisabled:5,geometry:0,elevationInfo:0,label:1,messageOverrides:0,referenceElement:1,profiles:0,progress:40,state:32,uniformChartScaling:5,distanceUnit:1,distanceUnitOptions:0,elevationUnit:1,elevationUnitOptions:0}}static{this.styles=I}get _selectButtonVisible(){return!this.hideSelectButton&&this.viewModel.selectButtonAvailable}get _chart(){return this._chartInitializationTask.value?.value}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async select(){b(this.viewModel.select())}async start(){b(this.viewModel.start())}async stop(){this.viewModel.stop()}load(){this.manager.onLifecycle(()=>[m(()=>({container:this._chartContainer,messages:this._messages}),({container:e,messages:i})=>{this._destroyChart(),!(!e||i._loading)&&(this._chartInitializationTask.value=_(async n=>await F({view:this.viewModel.view,analysisView:this.viewModel.analysisView,container:e,messages:i,signal:n,uniformScaling:this.viewModel.uniformChartScaling,onRangeChange:(r,l)=>{this._hideZoomOutButton=r===1&&l===1},onCursorPositionChange:(r,l)=>{let{analysisView:c}=this.viewModel;c&&(c.indicatorRelativePosition=r)}})))},{sync:!0,initial:!0}),m(()=>({chart:this._chart,messages:this._messages,view:this.viewModel.view,analysisView:this.viewModel.analysisView,uniformScaling:this.viewModel.uniformChartScaling,hideGridLines:this.hideChartGridLines,hideLabels:this.hideChartAxisLabels}),({chart:e,messages:i,view:n,analysisView:r,uniformScaling:l})=>{e&&(e.messages=i,e.view=n,e.analysisView=r,e.uniformScaling=l,e.hideGridLines=this.hideChartGridLines,e.hideAxisLabels=this.hideChartAxisLabels)},{sync:!0,initial:!0}),{remove:()=>this._destroyChart()}])}_destroyChart(){let e=this._chart;this._chartInitializationTask.value?.abort(),this._chartInitializationTask.value=void 0,e?.destroy()}_onCancelButtonClick(){this.viewModel.stop(),this.viewModel.clear()}_onDoneButtonClick(){this.viewModel.stop()}_getErrorMessage(){let e=X[this.viewModel.errorState];return e?this._messages?.errors?.[e]:void 0}_onClearButtonClick(){this.viewModel.clear()}_onZoomOutButtonClick(){this._chart?.zoomOut()}_onChartContainerRef(e){this._chartContainer=e}render(){return d`<div aria-label=${this._messages.componentLabel??g} class=${v({root:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderContentForState()}</div>`}_renderContentForState(){switch(this.viewModel.state){case"ready":return this._renderContentForReadyState();case"selecting":return this._renderContentForSelectingState();case"creating":return this._renderContentForCreatingState();case"selected":return this._renderContentForSelectedState();case"created":return this._renderContentForCreatedState();case"disabled":return this._renderContentForReadyState()}}_renderContentForReadyState(){let{_messages:e,hideSelectButton:i,hideStartButton:n}=this,{selectButtonAvailable:r}=this.viewModel,l=!i&&r,c;return!n&&l?c=e.readyPrompt:n?l?c=e.readyPromptSelectOnly:c=e.errors?.noProfile:c=e.readyPromptCreateOnly,this._renderContent({prompt:c,chart:!1,actions:p})}_renderContentForSelectingState(){let{view:e}=this.viewModel;if(!e)return;let i=this._messages[`selectingPrompt-${e.type}`];return this._renderContent({prompt:i,chart:!1,actions:[{type:"select-cancel"}]})}_renderContentForCreatingState(){let{viewModel:e}=this,{view:i}=e;if(!i)return;let n=e.hasVertices?[{type:"sketch-cancel"},{type:"sketch-done",disabled:!e.doneButtonAvailable}]:[{type:"select"},{type:"sketch",disabled:!0}];if(e.errorState==="no-valid-input"){let l=this._messages[`creatingPrompt-${i.type}`];return this._renderContent({chart:!1,actions:n,prompt:l})}let r=this._getErrorMessage();return r?this._renderContent({chart:!1,actions:n,prompt:r}):this._renderContent({chart:!0,actions:n})}_renderContentForSelectedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContentForCreatedState(){let e=this._getErrorMessage();return e?this._renderContent({chart:!1,actions:p,prompt:e}):this._renderContent({chart:!0,actions:p})}_renderContent(e){let{viewModel:i}=this,n=i.geometry!=null;return d`<header class="header">${h({hidden:this._hideZoomOutButton,children:this._renderZoomOutButton()})}${h({hidden:this.hideClearButton||!n,children:this._renderClearButton()})}${h({hidden:this.hideSettingsButton,children:this._renderSettingsButton()})}</header><div class="main-container">${e.prompt!=null?this._renderPrompt(e.prompt):e.chart?this._renderChart():void 0}</div>${h({hidden:this.hideLegend,children:this._renderLegend()})}${this._renderActions(e)}`}_renderPrompt(e){return[d`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`]}_renderZoomOutButton(){let e=this._messages.zoomOut??"";return d`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderChart(){if(this.hideChart)return;let e=this._chart;return d`${this._renderSpinner({size:e?.chartVisible?"small":"large",visible:e?.spinnerVisible??!1})}<div class="chart-container" ${U(this._onChartContainerRef)}></div>`}_renderSpinner(e){let i=e.size==="small",n=e.visible??!0;return d`<calcite-loader class=${v({spinner:!0,small:i,visible:n})} .inline=${i} label></calcite-loader>`}_renderClearButton(){let e=this._messages.clearProfile??"";return d`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e??g}></calcite-action>`}_renderLegend(){return d`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .profiles=${this.profiles} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`}_renderSettingsButton(){return d`<arcgis-elevation-profile-settings .hasCustomStartContent=${this._hasSettingsStartContent} .hasCustomEndContent=${this._hasSettingsEndContent} .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .hideResetUnitsButton=${this.hideResetUnitsButton} .messages=${this._messages} .messageOverrides=${this.messageOverrides} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${e=>{this.viewModel.uniformChartScaling=e.detail}}><slot name=settings-start slot=settings-start @slotchange=${e=>{this._hasSettingsStartContent=f(e)}}></slot><slot name=settings-end slot=settings-end @slotchange=${e=>{this._hasSettingsEndContent=f(e)}}></slot></arcgis-elevation-profile-settings>`}_renderActions({actions:e}){let i=this._messages,n=e.map(r=>{switch(r.type){case"sketch":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.sketchButtonLabel,primary:!0,onClick:()=>{this.start()}})});case"sketch-cancel":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});case"sketch-done":return h({hidden:this.hideStartButton,children:this._renderAction({action:r,label:i.doneButtonLabel,primary:!0,onClick:this._onDoneButtonClick})});case"select":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:r,label:i.selectButtonLabel,primary:!1,onClick:()=>{this.select()}})});case"select-cancel":return h({hidden:!this._selectButtonVisible,children:this._renderAction({action:r,label:i.cancelButtonLabel,primary:!1,onClick:this._onCancelButtonClick})});default:return}}).filter(Boolean);return n.length?d`<footer class="actions">${n}</footer>`:void 0}_renderAction({action:e,label:i,onClick:n,primary:r}){return d`<calcite-button .appearance=${r?"solid":"outline-fill"} class="action-button" .disabled=${e.disabled||this.interactionDisabled&&(e.type==="sketch"||e.type==="select")} @click=${n}>${i}</calcite-button>`}};function h(t){return t.hidden?void 0:t.children}var p=[{type:"select"},{type:"sketch"}],X={none:void 0,"no-valid-input":"noProfile","no-available-profiles":"noProfile","too-complex":"tooComplex",unknown:"unknown"};M("arcgis-elevation-profile",x);return x},"applications/Components/analysisUtils","applications/Components/reactiveUtils","core/promiseUtils","core/reactiveUtils","analysis/ElevationProfileAnalysis","core/accessorSupport/decorators",a,b,c,e,h,i)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import j from"./CQQM24VF.js";import{a as u}from"./WEAGLY7B.js";import{a as s}from"./JD74LG7K.js";import f from"./AN3BGKZP.js";import e from"./FZWFKZLW.js";import d from"./JBHRVHGS.js";import{h as w}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import b from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as m}from"./WQMZ7BDQ.js";import{P as h,R as g,X as p,a as c,b as i,x as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([_,{watch:n},,,,l,v])=>{var b=c`.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{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__heading{word-break:break-word}.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{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`,x=v(_),f=r=>{if(!r)return"all";let e=typeof r=="string"?r.split(",").map(t=>t.trim()).filter(t=>t):[r];return!e.length||e.includes("all")?"all":e},d=class extends h{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=x(this),this.error=null,this._showTemplates=!1,this.view=this.viewModel.view,this.hideHeader=!1,this.icon="print",this.hideAdvancedOptions=!1,this.allowedFormats=this.viewModel.allowedFormats,this.allowedLayouts=this.viewModel.allowedLayouts,this.autoPopulateAuthor=!1,this.exportedLinks=this.viewModel.exportedLinks,this.extraParameters=this.viewModel.extraParameters,this.headingLevel=3,this.hideFeatureAttributes=!1,this.hideIncludeTables=!1,this.excludeOrganizationTemplates=!1,this.outSpatialReference=this.viewModel.outSpatialReference,this.portal=this.viewModel.portal,this.showPrintAreaEnabled=this.viewModel.showPrintAreaEnabled,this.printServiceUrl=this.viewModel.printServiceUrl,this.templateCustomTextElements=this.viewModel.templateCustomTextElements,this.templateOptions=this.viewModel.templateOptions,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisComplete=l(()=>this.viewModel,"complete"),this.arcgisPropertyChange=w()("state"),this.arcgisReady=a(),this.arcgisSubmit=l(()=>this.viewModel,"submit"),this.arcgisBrowseTemplatesChange=a(),this.arcgisSaveAs=a()}static{this.properties={error:16,_showTemplates:16,view:0,hideHeader:5,referenceElement:1,icon:1,hideAdvancedOptions:5,allowedFormats:[1,{type:String,converter:f}],allowedLayouts:[1,{type:String,converter:f}],autoPopulateAuthor:5,allowedFormatsForSaving:1,exportedLinks:0,extraParameters:0,headingLevel:9,hideFeatureAttributes:5,hideIncludeTables:5,excludeDefaultTemplates:5,excludeOrganizationTemplates:5,outSpatialReference:0,portal:0,showPrintAreaEnabled:5,printServiceUrl:1,showSaveAs:5,templateCustomTextElements:0,templateOptions:0,autoDestroyDisabled:5,messageOverrides:0,label:1,state:32}}static{this.styles=b}get excludeDefaultTemplates(){return!this.viewModel.includeDefaultTemplates}set excludeDefaultTemplates(e){this.viewModel.includeDefaultTemplates=!e}addPortalTemplate(e){return this.viewModel.addPortalTemplate(e)}async destroy(){await this.manager.destroy(),this.viewModel.destroy()}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.error,o=>this.error=o),n(()=>this.viewModel.state,o=>{o==="ready"&&this.arcgisReady.emit()}),this.viewModel.browseTemplates.on("change",o=>{this.arcgisBrowseTemplatesChange.emit(o)}),n(()=>[this.printServiceUrl,this.portal],()=>{this.viewModel.load()},{initial:!0})]);let{height:e,width:t}=this.viewModel.templateOptions;this.viewModel.templateOptions.width=t||800,this.viewModel.templateOptions.height=e||1100}_showTemplateSelector(){this._showTemplates=!0}_hideTemplateSelector(){this._showTemplates=!1}render(){let e={"panel-items-centered":this.viewModel.state==="initializing"};return i`<div class=${g(m("root",s.widget,s.panel,e))}>${this._renderPanel()}</div>`}_renderPanel(){return this.viewModel.state==="disabled"||this.viewModel.state==="initializing"?i`<calcite-loader .label=${this.messages.loading} scale=m></calcite-loader>`:i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class="container">${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${e=>{e.preventDefault(),this._showTemplates=!1}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}><slot name=browse-template-button></slot></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`}_renderPanelHeader(){return this.hideHeader?null:i`<header class="header-title">${this.messages.export}</header>`}_renderPanelContent(){let e=this.viewModel.view,t=e?.type!=="2d";return this.error||t?i`<div class="panel-error">${e?t?this.messages.sceneViewError:this.messages.serviceError:this.messages.noViewError}</div>`:i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`}};p("arcgis-print",d);return d},"widgets/Print/PrintViewModel","core/reactiveUtils",b,d,e,f,j)
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import j from"./5YHHJ5ZE.js";import{a as u}from"./ZSPYPXBY.js";import{a as s}from"./L5IRXOCJ.js";import f from"./M3ZQGUYQ.js";import e from"./HA4XWZH4.js";import d from"./HPWF3IQV.js";import{h as w}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import b from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as m}from"./ZKWI43WZ.js";import{P as h,R as g,X as p,a as c,b as i,x as a}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([_,{watch:n},,,,l,v])=>{var b=c`.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{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__heading{word-break:break-word}.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{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`,x=v(_),f=r=>{if(!r)return"all";let e=typeof r=="string"?r.split(",").map(t=>t.trim()).filter(t=>t):[r];return!e.length||e.includes("all")?"all":e},d=class extends h{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=x(this),this.error=null,this._showTemplates=!1,this.view=this.viewModel.view,this.hideHeader=!1,this.icon="print",this.hideAdvancedOptions=!1,this.allowedFormats=this.viewModel.allowedFormats,this.allowedLayouts=this.viewModel.allowedLayouts,this.autoPopulateAuthor=!1,this.exportedLinks=this.viewModel.exportedLinks,this.extraParameters=this.viewModel.extraParameters,this.headingLevel=3,this.hideFeatureAttributes=!1,this.hideIncludeTables=!1,this.excludeOrganizationTemplates=!1,this.outSpatialReference=this.viewModel.outSpatialReference,this.portal=this.viewModel.portal,this.showPrintAreaEnabled=this.viewModel.showPrintAreaEnabled,this.printServiceUrl=this.viewModel.printServiceUrl,this.templateCustomTextElements=this.viewModel.templateCustomTextElements,this.templateOptions=this.viewModel.templateOptions,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisComplete=l(()=>this.viewModel,"complete"),this.arcgisPropertyChange=w()("state"),this.arcgisReady=a(),this.arcgisSubmit=l(()=>this.viewModel,"submit"),this.arcgisBrowseTemplatesChange=a(),this.arcgisSaveAs=a()}static{this.properties={error:16,_showTemplates:16,view:0,hideHeader:5,referenceElement:1,icon:1,hideAdvancedOptions:5,allowedFormats:[1,{type:String,converter:f}],allowedLayouts:[1,{type:String,converter:f}],autoPopulateAuthor:5,allowedFormatsForSaving:1,exportedLinks:0,extraParameters:0,headingLevel:9,hideFeatureAttributes:5,hideIncludeTables:5,excludeDefaultTemplates:5,excludeOrganizationTemplates:5,outSpatialReference:0,portal:0,showPrintAreaEnabled:5,printServiceUrl:1,showSaveAs:5,templateCustomTextElements:0,templateOptions:0,autoDestroyDisabled:5,messageOverrides:0,label:1,state:32}}static{this.styles=b}get excludeDefaultTemplates(){return!this.viewModel.includeDefaultTemplates}set excludeDefaultTemplates(e){this.viewModel.includeDefaultTemplates=!e}addPortalTemplate(e){return this.viewModel.addPortalTemplate(e)}async destroy(){await this.manager.destroy(),this.viewModel.destroy()}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.error,o=>this.error=o),n(()=>this.viewModel.state,o=>{o==="ready"&&this.arcgisReady.emit()}),this.viewModel.browseTemplates.on("change",o=>{this.arcgisBrowseTemplatesChange.emit(o)}),n(()=>[this.printServiceUrl,this.portal],()=>{this.viewModel.load()},{initial:!0})]);let{height:e,width:t}=this.viewModel.templateOptions;this.viewModel.templateOptions.width=t||800,this.viewModel.templateOptions.height=e||1100}_showTemplateSelector(){this._showTemplates=!0}_hideTemplateSelector(){this._showTemplates=!1}render(){let e={"panel-items-centered":this.viewModel.state==="initializing"};return i`<div class=${g(m("root",s.widget,s.panel,e))}>${this._renderPanel()}</div>`}_renderPanel(){return this.viewModel.state==="disabled"||this.viewModel.state==="initializing"?i`<calcite-loader .label=${this.messages.loading} scale=m></calcite-loader>`:i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class="container">${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${e=>{e.preventDefault(),this._showTemplates=!1}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}><slot name=browse-template-button></slot></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`}_renderPanelHeader(){return this.hideHeader?null:i`<header class="header-title">${this.messages.export}</header>`}_renderPanelContent(){let e=this.viewModel.view,t=e?.type!=="2d";return this.error||t?i`<div class="panel-error">${e?t?this.messages.sceneViewError:this.messages.serviceError:this.messages.noViewError}</div>`:i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`}};p("arcgis-print",d);return d},"widgets/Print/PrintViewModel","core/reactiveUtils",b,d,e,f,j)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import c from"./GXRPNW37.js";import b from"./TMJX7DFH.js";import a from"./DSDPDMLP.js";import"./VJVKFKSG.js";import{a as v}from"./WEAGLY7B.js";import{h as y}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{O as h,P as m,X as f,a as g,b as r,x as d}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([o,{watch:k},{substitute:$},T,{a:u},{d:w,h:b},l])=>{var _=g`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}.subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}.results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`,p=class extends m{constructor(){super(...arguments),this._messages=v({blocking:!0}),this.#o=!0,this.#l=new Map,this.#e=new o,this.#i=new o,this.#a=new o,this.#t=null,this.#r=20,this._candidateFeatures=[],this._compatibleSubnetworkNames=[],this._namedTraceConfigurations=[],this._subnetworkNamesState="ready",this._exceedDisplayLimit=!1,this.autoDestroyDisabled=!1,this.hideFeaturesActionBar=!1,this.mode="default",this.arcgisPropertyChange=y()("mode","selectedNamedTraceConfiguration","selectedUtilityNetwork","traceLocations"),this.arcgisTraceLocationSelectEnd=d(),this.arcgisTraceLocationSelectStart=d()}static{this.properties={_selectedFeature:16,_candidateFeatures:16,_compatibleSubnetworkNames:16,_subnetworksTable:16,_namedTraceConfigurations:16,_traceConfiguration:16,_error:16,_subnetworkNamesState:16,_activeTraceLocationType:16,_exceedDisplayLimit:16,beforeMapInteraction:0,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,autoDestroyDisabled:5,hideFeaturesActionBar:5,traceConfiguration:32,isSubnetworkNameTraceSelected:32,messageOverrides:0,referenceElement:1,mode:3,traceLocationDetails:32,traceLocations:32}}static{this.styles=_}#o;get#v(){let{view:t}=this;return t?.map?t.map.allLayers.toArray().concat(t.map.allTables.toArray()):[]}#n;#l;#e;#i;#a;#t;#s;#u;#p;#g;#r;get#m(){return!this.isSubnetworkNameTraceSelected}get#f(){let t=this.selectedNamedTraceConfiguration?.traceType;return t==="path"||t==="circuit"}get#k(){let t=this.selectedUtilityNetwork?.dataElement?.domainNetworks;return t?t.map(e=>e.subnetworkLayerId).filter(e=>e!=null&&e>-1):[]}get traceConfiguration(){return this._traceConfiguration}get isSubnetworkNameTraceSelected(){let{selectedNamedTraceConfiguration:t}=this;return!!t?.traceConfiguration?.subnetworkName&&t?.traceType==="subnetwork"}get traceLocationDetails(){return new o([...this.#e,...this.#i,...this.#a])}get traceLocations(){let t=[];return this.#m&&this.#e.forEach(e=>t.push(...this.#d(e))),this.#f&&this.#a.forEach(e=>t.push(...this.#d(e))),this.#i.forEach(e=>t.push(...this.#d(e))),t}async destroy(){this.#w(),l.getSketchViewModel(this.view)?.cancel(),l.removeSketchGraphicsLayer(this.view);let t=await Promise.allSettled([this.#s?.destroy(),this.#u?.destroy(),this.#p?.destroy(),this.#g?.destroy()]);for(let e of t)e.status==="rejected"&&u(e.reason,this,"Error while destroying trace inputs");await this.manager.destroy()}load(){this.#y(),this.manager.onLifecycle(()=>[k(()=>this.view?.map,()=>this.#y())])}willUpdate(t){t.has("selectedUtilityNetwork")&&this.#C()}disconnectedCallback(){super.disconnectedCallback(),this.#l.clear()}#$({detail:t,target:e}){(t.name==="selectedDrillInFeature"||t.name==="selectedFeature")&&(this._selectedFeature=e.selectedDrillInFeature??e.selectedFeature??void 0)}#y(){if(this._error=void 0,!this.view?.map){this._error=this._messages.errors.noView;return}}#T(t){t&&(this.#u=t)}#_(t){t&&(this.#p=t)}#L(t){t&&(this.#g=t)}#N(t){t&&(this.#s=t)}#d(t){let e=t.flagProperties.selectedTerminals;return t.flagProperties.terminalConfiguration&&e?.size?Array.from(e,i=>new T({type:t.traceLocation.type,isFilterBarrier:t.traceLocation.isFilterBarrier,globalId:t.traceLocation.globalId,percentAlong:t.traceLocation.percentAlong,terminalId:i})):[t.traceLocation]}#w(){let{view:t}=this;this.#e.forEach(e=>{e.spatialProperties.flagGraphic&&t?.graphics.remove(e.spatialProperties.flagGraphic)}),this.#e.removeAll(),this.#i.forEach(e=>{e.spatialProperties.flagGraphic&&t?.graphics.remove(e.spatialProperties.flagGraphic)}),this.#i.removeAll(),this.#a.forEach(e=>{e.spatialProperties.flagGraphic&&t?.graphics.remove(e.spatialProperties.flagGraphic)}),this.#a.removeAll()}async#C(){let{selectedUtilityNetwork:t}=this;try{t&&!t.loaded&&await t.load()}catch(e){u(e,this,"Error while loading the selected utility network")}this.#S(),this.#F(),this.#w()}#S(){this._traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0,this._namedTraceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter(t=>t.traceType!=="circuit").sort((t,e)=>t.title.localeCompare(e.title))||[]}#F(){let{selectedUtilityNetwork:t}=this;this.#n=new o(this.#v.filter(e=>t?.isUtilityLayer(e)&&!this.#k.includes(e.layerId)))}#P(t){if(t.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(t.detail).defaultPrevented){t.preventDefault();return}this._activeTraceLocationType=t?.target?.traceLocationType,this.mode="add-spatial-instructions"}#D(t){if(t==null)return;let e=this.#l,i=this.#n,a=e.get(t);if(a)return a;if(!i)return;let s=i.find(c=>"layerId"in c&&c.layerId===t);return s&&e.set(t,s),s}async#E(t,e){let i=t.createQuery();i.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,i.objectIds=e.map(s=>s.getObjectId()),i.outFields=["*"];let{features:a}=await w(t,i);return a.forEach(s=>{if(!s.getEffectivePopupTemplate(this.#o)){let c=s.layer;s.popupTemplate=c.createPopupTemplate()}}),a}async#U(t){let e=new Map,i=[];return t.forEach(a=>{let s=b(a.layer)?a.layer.parent:a.layer;if(s){let c=this.#D(s.layerId);if(c){let n=e.get(c)||[];n.push(a),e.set(c,n)}}}),await Promise.all(Array.from(e.keys()).map(async a=>{let s=e.get(a)??[],c=await this.#E(a,s);i.push(...c)})),i}async#I(t){return this._exceedDisplayLimit=t.length>this.#r,this._candidateFeatures=await this.#U(t.slice(0,this.#r)),this._candidateFeatures.length===0?(this.#c(),await Promise.reject(Error("No features found"))):(this._candidateFeatures.length===1&&(this._selectedFeature=this._candidateFeatures.at(0)),this.mode="add-spatial-feature",this.#t?.reject(),this.#t=Promise.withResolvers(),await this.#t.promise)}#x(t){t.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit(),this._activeTraceLocationType=void 0,this.mode="default",this.#c()}#c(t){t?.stopPropagation(),this.#s?.clear(),this.#b(),(this.view?l.getSketchViewModel(this.view):null)?.cancel()}#b(){this.mode="default",this._candidateFeatures=[],this._selectedFeature=void 0,this.#t?.reject(),this.#t=null}#A(){let t=this.#t,e=this.#s,{_selectedFeature:i}=this;if(t&&e){if(!i)return;t.resolve(i),this.#t=null}}#M(t,e=!1,i){return r`<calcite-notice .closable=${e} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${t}</div></calcite-notice>`}#O(){let{_namedTraceConfigurations:t,selectedUtilityNetwork:e}=this;return r`<arcgis-utility-network-trace-configuration-picker .messageOverrides=${this.messageOverrides} .traceConfigurations=${t} .utilityNetwork=${e} @arcgisPropertyChange=${i=>{i.stopPropagation(),i.detail.name==="selectedNamedTraceConfiguration"&&(this.selectedNamedTraceConfiguration=i.target.selectedNamedTraceConfiguration),i.detail.name==="traceConfiguration"&&(this._traceConfiguration=i.target.traceConfiguration)}}></arcgis-utility-network-trace-configuration-picker>`}#B(){let{selectedUtilityNetwork:t,view:e}=this;return r`<arcgis-utility-network-picker .messageOverrides=${this.messageOverrides} .selectedUtilityNetwork=${t} .view=${e} @arcgisPropertyChange=${i=>{i.detail.name==="selectedUtilityNetwork"&&(this.selectedUtilityNetwork=i.target.selectedUtilityNetwork)}}></arcgis-utility-network-picker>`}#G(){let{_error:t}=this,{noView:e}=this._messages.errors,i;return t===e?i=this.#M(t,!1,"exclamation-mark-triangle"):i=this.#q(),r`<calcite-flow-item .selected=${this.mode==="default"}>${i}</calcite-flow-item>`}#j(){let{_messages:t,mode:e}=this,i=this._activeTraceLocationType==="starting-point"?t.labels.addSpatial.startingPoint:this._activeTraceLocationType==="barrier"?t.labels.addSpatial.barrier:t.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item .selected=${e==="add-spatial-instructions"} .heading=${i} @calciteFlowItemBack=${a=>this.#c(a)}><div class="add-spatial-mode"><div><h5 class="heading">${t.instructions.addSpatial.selectFeature.heading}</h5>${t.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${t.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${t.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`}#V(){let{_activeTraceLocationType:t,_candidateFeatures:e,_messages:i}=this;if(!e.length)return this.mode="default",null;let a=t==="starting-point"?i.labels.addSpatial.startingPoint:t==="barrier"?i.labels.addSpatial.barrier:i.labels.addSpatial.stoppingPoint,s=e.length===1?"feature":"list";return r`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#o} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideFeaturesActionBar} hide-select-feature .initialDisplayMode=${s} .messageOverrides=${this.messageOverrides} @arcgisClose=${()=>this.#b()} @arcgisPropertyChange=${this.#$} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this.#N)}></arcgis-features-next>`}#z(){let{mode:t,_messages:e,_selectedFeature:i,selectedUtilityNetwork:a}=this,s=t==="add-spatial-feature"&&this._exceedDisplayLimit&&!i,c=$(e.warnings.exceededDisplayLimit,{limit:this.#r.toString()}),n=i?!(a?.isUtilityLayer(i.layer)??!0):!0;return r`${s&&r`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${c}</calcite-input-message>`||""}<calcite-button appearance=outline width=full @click=${()=>this.#c()} slot=footer>${e.buttons.cancel}</calcite-button>${t==="add-spatial-feature"&&r`<calcite-button width=full slot=footer appearance=solid @click=${()=>this.#A()} .disabled=${n}>${e.buttons.add}</calcite-button>`||""}`}#h(t,e,i){return r`<arcgis-utility-network-trace-locations .messageOverrides=${this.messageOverrides} .view=${this.view} .traceLocationType=${t} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisTraceLocationSelectStart=${this.#P} @arcgisTraceLocationSelectEnd=${this.#x} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#n} .traceLocations=${e} .afterMapInteraction=${this.#I.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(i)}></arcgis-utility-network-trace-locations>`}#q(){let{_messages:t}=this,e=this.#B(),i=this.#O(),a=this._namedTraceConfigurations.length&&this.traceConfiguration?r`${this.#m?this.#h("starting-point",this.#e,this.#T):null}${this.#f?this.#h("stopping-point",this.#a,this.#L):null}${this.#h("barrier",this.#i,this.#_)}`:null,s=this.selectedUtilityNetwork?.loaded?r`${i}${a}`:null;return r`<calcite-block-group .label=${t.labels.traceInputs}>${e}${s}</calcite-block-group>`}render(){let{mode:t}=this;return r`<calcite-panel>${t==="add-spatial-feature"?this.#V():null}<calcite-flow .hidden=${t==="add-spatial-feature"}>${this.#G()}${this.#j()}</calcite-flow>${t!=="default"?this.#z():null}</calcite-panel>`}};f("arcgis-utility-network-trace-inputs",p);return p},"core/Collection","core/reactiveUtils","intl","rest/networks/support/TraceLocation",a,b,c)
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import c from"./6VO7G2UX.js";import b from"./HU57LQOA.js";import a from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as v}from"./ZSPYPXBY.js";import{h as y}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{O as h,P as m,X as f,a as g,b as r,x as d}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([o,{watch:k},{substitute:$},T,{a:u},{d:w,h:b},l])=>{var _=g`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}.subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}.results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`,p=class extends m{constructor(){super(...arguments),this._messages=v({blocking:!0}),this.#o=!0,this.#l=new Map,this.#e=new o,this.#i=new o,this.#a=new o,this.#t=null,this.#r=20,this._candidateFeatures=[],this._compatibleSubnetworkNames=[],this._namedTraceConfigurations=[],this._subnetworkNamesState="ready",this._exceedDisplayLimit=!1,this.autoDestroyDisabled=!1,this.hideFeaturesActionBar=!1,this.mode="default",this.arcgisPropertyChange=y()("mode","selectedNamedTraceConfiguration","selectedUtilityNetwork","traceLocations"),this.arcgisTraceLocationSelectEnd=d(),this.arcgisTraceLocationSelectStart=d()}static{this.properties={_selectedFeature:16,_candidateFeatures:16,_compatibleSubnetworkNames:16,_subnetworksTable:16,_namedTraceConfigurations:16,_traceConfiguration:16,_error:16,_subnetworkNamesState:16,_activeTraceLocationType:16,_exceedDisplayLimit:16,beforeMapInteraction:0,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,autoDestroyDisabled:5,hideFeaturesActionBar:5,traceConfiguration:32,isSubnetworkNameTraceSelected:32,messageOverrides:0,referenceElement:1,mode:3,traceLocationDetails:32,traceLocations:32}}static{this.styles=_}#o;get#v(){let{view:t}=this;return t?.map?t.map.allLayers.toArray().concat(t.map.allTables.toArray()):[]}#n;#l;#e;#i;#a;#t;#s;#u;#p;#g;#r;get#m(){return!this.isSubnetworkNameTraceSelected}get#f(){let t=this.selectedNamedTraceConfiguration?.traceType;return t==="path"||t==="circuit"}get#k(){let t=this.selectedUtilityNetwork?.dataElement?.domainNetworks;return t?t.map(e=>e.subnetworkLayerId).filter(e=>e!=null&&e>-1):[]}get traceConfiguration(){return this._traceConfiguration}get isSubnetworkNameTraceSelected(){let{selectedNamedTraceConfiguration:t}=this;return!!t?.traceConfiguration?.subnetworkName&&t?.traceType==="subnetwork"}get traceLocationDetails(){return new o([...this.#e,...this.#i,...this.#a])}get traceLocations(){let t=[];return this.#m&&this.#e.forEach(e=>t.push(...this.#d(e))),this.#f&&this.#a.forEach(e=>t.push(...this.#d(e))),this.#i.forEach(e=>t.push(...this.#d(e))),t}async destroy(){this.#w(),l.getSketchViewModel(this.view)?.cancel(),l.removeSketchGraphicsLayer(this.view);let t=await Promise.allSettled([this.#s?.destroy(),this.#u?.destroy(),this.#p?.destroy(),this.#g?.destroy()]);for(let e of t)e.status==="rejected"&&u(e.reason,this,"Error while destroying trace inputs");await this.manager.destroy()}load(){this.#y(),this.manager.onLifecycle(()=>[k(()=>this.view?.map,()=>this.#y())])}willUpdate(t){t.has("selectedUtilityNetwork")&&this.#C()}disconnectedCallback(){super.disconnectedCallback(),this.#l.clear()}#$({detail:t,target:e}){(t.name==="selectedDrillInFeature"||t.name==="selectedFeature")&&(this._selectedFeature=e.selectedDrillInFeature??e.selectedFeature??void 0)}#y(){if(this._error=void 0,!this.view?.map){this._error=this._messages.errors.noView;return}}#T(t){t&&(this.#u=t)}#_(t){t&&(this.#p=t)}#L(t){t&&(this.#g=t)}#N(t){t&&(this.#s=t)}#d(t){let e=t.flagProperties.selectedTerminals;return t.flagProperties.terminalConfiguration&&e?.size?Array.from(e,i=>new T({type:t.traceLocation.type,isFilterBarrier:t.traceLocation.isFilterBarrier,globalId:t.traceLocation.globalId,percentAlong:t.traceLocation.percentAlong,terminalId:i})):[t.traceLocation]}#w(){let{view:t}=this;this.#e.forEach(e=>{e.spatialProperties.flagGraphic&&t?.graphics.remove(e.spatialProperties.flagGraphic)}),this.#e.removeAll(),this.#i.forEach(e=>{e.spatialProperties.flagGraphic&&t?.graphics.remove(e.spatialProperties.flagGraphic)}),this.#i.removeAll(),this.#a.forEach(e=>{e.spatialProperties.flagGraphic&&t?.graphics.remove(e.spatialProperties.flagGraphic)}),this.#a.removeAll()}async#C(){let{selectedUtilityNetwork:t}=this;try{t&&!t.loaded&&await t.load()}catch(e){u(e,this,"Error while loading the selected utility network")}this.#S(),this.#F(),this.#w()}#S(){this._traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0,this._namedTraceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter(t=>t.traceType!=="circuit").sort((t,e)=>t.title.localeCompare(e.title))||[]}#F(){let{selectedUtilityNetwork:t}=this;this.#n=new o(this.#v.filter(e=>t?.isUtilityLayer(e)&&!this.#k.includes(e.layerId)))}#P(t){if(t.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(t.detail).defaultPrevented){t.preventDefault();return}this._activeTraceLocationType=t?.target?.traceLocationType,this.mode="add-spatial-instructions"}#D(t){if(t==null)return;let e=this.#l,i=this.#n,a=e.get(t);if(a)return a;if(!i)return;let s=i.find(c=>"layerId"in c&&c.layerId===t);return s&&e.set(t,s),s}async#E(t,e){let i=t.createQuery();i.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,i.objectIds=e.map(s=>s.getObjectId()),i.outFields=["*"];let{features:a}=await w(t,i);return a.forEach(s=>{if(!s.getEffectivePopupTemplate(this.#o)){let c=s.layer;s.popupTemplate=c.createPopupTemplate()}}),a}async#U(t){let e=new Map,i=[];return t.forEach(a=>{let s=b(a.layer)?a.layer.parent:a.layer;if(s){let c=this.#D(s.layerId);if(c){let n=e.get(c)||[];n.push(a),e.set(c,n)}}}),await Promise.all(Array.from(e.keys()).map(async a=>{let s=e.get(a)??[],c=await this.#E(a,s);i.push(...c)})),i}async#I(t){return this._exceedDisplayLimit=t.length>this.#r,this._candidateFeatures=await this.#U(t.slice(0,this.#r)),this._candidateFeatures.length===0?(this.#c(),await Promise.reject(Error("No features found"))):(this._candidateFeatures.length===1&&(this._selectedFeature=this._candidateFeatures.at(0)),this.mode="add-spatial-feature",this.#t?.reject(),this.#t=Promise.withResolvers(),await this.#t.promise)}#x(t){t.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit(),this._activeTraceLocationType=void 0,this.mode="default",this.#c()}#c(t){t?.stopPropagation(),this.#s?.clear(),this.#b(),(this.view?l.getSketchViewModel(this.view):null)?.cancel()}#b(){this.mode="default",this._candidateFeatures=[],this._selectedFeature=void 0,this.#t?.reject(),this.#t=null}#A(){let t=this.#t,e=this.#s,{_selectedFeature:i}=this;if(t&&e){if(!i)return;t.resolve(i),this.#t=null}}#M(t,e=!1,i){return r`<calcite-notice .closable=${e} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${t}</div></calcite-notice>`}#O(){let{_namedTraceConfigurations:t,selectedUtilityNetwork:e}=this;return r`<arcgis-utility-network-trace-configuration-picker .messageOverrides=${this.messageOverrides} .traceConfigurations=${t} .utilityNetwork=${e} @arcgisPropertyChange=${i=>{i.stopPropagation(),i.detail.name==="selectedNamedTraceConfiguration"&&(this.selectedNamedTraceConfiguration=i.target.selectedNamedTraceConfiguration),i.detail.name==="traceConfiguration"&&(this._traceConfiguration=i.target.traceConfiguration)}}></arcgis-utility-network-trace-configuration-picker>`}#B(){let{selectedUtilityNetwork:t,view:e}=this;return r`<arcgis-utility-network-picker .messageOverrides=${this.messageOverrides} .selectedUtilityNetwork=${t} .view=${e} @arcgisPropertyChange=${i=>{i.detail.name==="selectedUtilityNetwork"&&(this.selectedUtilityNetwork=i.target.selectedUtilityNetwork)}}></arcgis-utility-network-picker>`}#G(){let{_error:t}=this,{noView:e}=this._messages.errors,i;return t===e?i=this.#M(t,!1,"exclamation-mark-triangle"):i=this.#q(),r`<calcite-flow-item .selected=${this.mode==="default"}>${i}</calcite-flow-item>`}#j(){let{_messages:t,mode:e}=this,i=this._activeTraceLocationType==="starting-point"?t.labels.addSpatial.startingPoint:this._activeTraceLocationType==="barrier"?t.labels.addSpatial.barrier:t.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item .selected=${e==="add-spatial-instructions"} .heading=${i} @calciteFlowItemBack=${a=>this.#c(a)}><div class="add-spatial-mode"><div><h5 class="heading">${t.instructions.addSpatial.selectFeature.heading}</h5>${t.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${t.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${t.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`}#V(){let{_activeTraceLocationType:t,_candidateFeatures:e,_messages:i}=this;if(!e.length)return this.mode="default",null;let a=t==="starting-point"?i.labels.addSpatial.startingPoint:t==="barrier"?i.labels.addSpatial.barrier:i.labels.addSpatial.stoppingPoint,s=e.length===1?"feature":"list";return r`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#o} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideFeaturesActionBar} hide-select-feature .initialDisplayMode=${s} .messageOverrides=${this.messageOverrides} @arcgisClose=${()=>this.#b()} @arcgisPropertyChange=${this.#$} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this.#N)}></arcgis-features-next>`}#z(){let{mode:t,_messages:e,_selectedFeature:i,selectedUtilityNetwork:a}=this,s=t==="add-spatial-feature"&&this._exceedDisplayLimit&&!i,c=$(e.warnings.exceededDisplayLimit,{limit:this.#r.toString()}),n=i?!(a?.isUtilityLayer(i.layer)??!0):!0;return r`${s&&r`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${c}</calcite-input-message>`||""}<calcite-button appearance=outline width=full @click=${()=>this.#c()} slot=footer>${e.buttons.cancel}</calcite-button>${t==="add-spatial-feature"&&r`<calcite-button width=full slot=footer appearance=solid @click=${()=>this.#A()} .disabled=${n}>${e.buttons.add}</calcite-button>`||""}`}#h(t,e,i){return r`<arcgis-utility-network-trace-locations .messageOverrides=${this.messageOverrides} .view=${this.view} .traceLocationType=${t} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisTraceLocationSelectStart=${this.#P} @arcgisTraceLocationSelectEnd=${this.#x} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#n} .traceLocations=${e} .afterMapInteraction=${this.#I.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(i)}></arcgis-utility-network-trace-locations>`}#q(){let{_messages:t}=this,e=this.#B(),i=this.#O(),a=this._namedTraceConfigurations.length&&this.traceConfiguration?r`${this.#m?this.#h("starting-point",this.#e,this.#T):null}${this.#f?this.#h("stopping-point",this.#a,this.#L):null}${this.#h("barrier",this.#i,this.#_)}`:null,s=this.selectedUtilityNetwork?.loaded?r`${i}${a}`:null;return r`<calcite-block-group .label=${t.labels.traceInputs}>${e}${s}</calcite-block-group>`}render(){let{mode:t}=this;return r`<calcite-panel>${t==="add-spatial-feature"?this.#V():null}<calcite-flow .hidden=${t==="add-spatial-feature"}>${this.#G()}${this.#j()}</calcite-flow>${t!=="default"?this.#z():null}</calcite-panel>`}};f("arcgis-utility-network-trace-inputs",p);return p},"core/Collection","core/reactiveUtils","intl","rest/networks/support/TraceLocation",a,b,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as e}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import{a as e}from"./GDLDEHUJ.js";export default $arcgis.t(([{formatNumber:s},{replace:l}])=>{var o=["B","kB","MB","GB","TB"],r={Kilobytes:1024,Megabytes:1024*1024};function b(i,t){t=Math.round(t);let a=t===0?0:Math.floor(Math.log(t)/Math.log(r.Kilobytes));a=e(a,0,o.length-1);let m=s(t/r.Kilobytes**a,{maximumFractionDigits:2});return l(i.bytes[o[a]],{fileSize:m})}return{a:r,b:b}},"intl","applications/Components/stringUtils")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import c from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import c from"./WBBTZNZU.js";import b from"./HU57LQOA.js";import a from"./RUYAWRPV.js";import{a as A}from"./WJQUE4DR.js";import{h as y}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as F,V as p,X as _,a as m,b as n,n as d}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([w,I,v,{getDisplayedSymbol:b},{stripHTML:x},{watch:h},{c:C},,{e:f}])=>{var $=m`calcite-notice{padding:var(--calcite-space-lg)}`,l=class extends F{constructor(){super(...arguments),this._aggregatedGraphicsSet=new Set,this.aggregatedFeatureCount=0,this.selectedAggregatedFeatureIndex=-1,this.aggregatedFeatureItems=[],this.aggregatedFeatures=[],this.autoDestroyDisabled=!1,this.chartAnimationDisabled=!1,this.defaultPopupTemplateEnabled=!1,this.headingLevel=2,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.loading=!1,this.selectedAggregateBoundaryFeature=new I({symbol:new v({outline:{width:1.5,color:"cyan"},style:"none"})}),this.arcgisPropertyChange=y()("aggregatedFeatureCount","selectedAggregatedFeatureIndex","aggregatedFeatureItems","aggregatedFeatures","loading"),this._renderableAggregatedFeatureItems=[]}static{this.properties={_abortController:16,aggregatedFeatureCount:32,selectedAggregatedFeatureIndex:32,aggregatedFeatureItems:32,aggregatedFeatures:32,autoDestroyDisabled:5,chartAnimationDisabled:5,defaultPopupTemplateEnabled:5,headingLevel:9,location:0,messageOverrides:0,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,feature:0,flowItems:0,loading:32,map:0,messages:0,selectedAggregateBoundaryFeature:32,spatialReference:0,timeZone:1,view:0}}static{this.styles=$}async destroy(){await this.manager.destroy(),this._cancelQuery(),this._clearAggregatedFeatureItems(),this._removeAggregateBoundaryFeature()}async next(){await this._selectRelativeAggregatedFeature(1)}async previous(){await this._selectRelativeAggregatedFeature(-1)}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.feature,this.view],()=>{this._updateAggregatedFeatures()},{initial:!0}),h(()=>this._getAggregatedFeatureItemsHeadingSignature(),()=>this.requestUpdate()),h(()=>this.flowItems?.length,()=>{let{flowItems:e}=this,t=e?.getItemAt((e.length??0)-1)?.graphic??void 0;this._setSelectedAggregatedFeatureIndex(t?this.aggregatedFeatures.indexOf(t):-1),this._removeSelectedAggregatedFeature(),t&&this._aggregatedGraphicsSet.has(t)&&this._addSelectedAggregatedFeature(t)})])}disconnectedCallback(){super.disconnectedCallback(),this._cancelQuery(),this._clearAggregatedFeatureItems(),this._removeAggregateBoundaryFeature()}_setAggregatedFeatureCount(e){d(()=>this.aggregatedFeatureCount=e)}_setSelectedAggregatedFeatureIndex(e){d(()=>this.selectedAggregatedFeatureIndex=e)}_setAggregatedFeatureItemsReadOnly(e){d(()=>{this.aggregatedFeatureItems=e}),this._renderableAggregatedFeatureItems=e.filter(t=>!!t.graphic)}_setAggregatedFeatures(e){this._aggregatedGraphicsSet=new Set(e),d(()=>this.aggregatedFeatures=e)}_getAggregatedFeatureItemsHeadingSignature(){let e="";for(let t of this.aggregatedFeatureItems)e+=`${t.heading??""}|`;return e}_setLoading(e){d(()=>this.loading=e)}_cancelQuery(){this._abortController=A(this._abortController),this._setLoading(!1)}_removeBoundaryGraphicFromView(e){e?.graphics.remove(this.selectedAggregateBoundaryFeature)}_clearAggregatedFeatureItems(){this._setAggregatedFeatureItemsReadOnly([]),this._setSelectedAggregatedFeatureIndex(-1),this._removeSelectedAggregatedFeature()}_resetAggregatedFeaturesState(){this._setAggregatedFeatures([]),this._clearAggregatedFeatureItems(),this._setAggregatedFeatureCount(0),this._removeAggregateBoundaryFeature()}_setAggregatedFeatureItems(e){this._setAggregatedFeatureItemsReadOnly(e.map(t=>new w({graphic:t})))}_setAggregatedFeaturesState(e){this._setAggregatedFeatures(e),this._setAggregatedFeatureItems(e),this._setAggregatedFeatureCount(e.length)}_removeAggregateBoundaryFeature(){this._removeBoundaryGraphicFromView(this._boundaryGraphicView),this.selectedAggregateBoundaryFeature.geometry=null,this._boundaryGraphicView=void 0}_updateAggregateBoundaryFeature(e){let{view:t}=this,a=this._boundaryGraphicView;if(!t){this._removeAggregateBoundaryFeature();return}a!==t&&this._removeBoundaryGraphicFromView(a),this.selectedAggregateBoundaryFeature.geometry=e,this._boundaryGraphicView=t,t.graphics.includes(this.selectedAggregateBoundaryFeature)||t.graphics.add(this.selectedAggregateBoundaryFeature)}async _getLayerViewAndQuery(e){let{view:t}=this,a=f(e);if(!t||!a)return null;let r=await t.whenLayerView(a);if(!r?.createQuery||!r?.queryFeatures||!r?.queryExtent)return null;let i=r.createQuery(),s=e.getObjectId();return i.aggregateIds=s!=null?[s]:[],[r,i]}async _updateAggregatedFeatures(){this._cancelQuery();let{feature:e}=this;if(!e?.isAggregate){this._resetAggregatedFeaturesState();return}let t=await this._getLayerViewAndQuery(e);if(!t){this._resetAggregatedFeaturesState();return}let[a,r]=t,i=new AbortController;this._abortController=i,this._setLoading(!0);try{let[s,o]=await Promise.all([a.queryFeatures(r,{signal:i.signal}),a.queryExtent(r,{signal:i.signal})]);if(this._abortController!==i||i.signal.aborted)return;this._abortController=null,this._setLoading(!1);let g=s.features??[];this._setAggregatedFeaturesState(g),o.extent?this._updateAggregateBoundaryFeature(o.extent):this._removeAggregateBoundaryFeature()}catch(s){if(this._abortController!==i||(this._abortController=null,this._setLoading(!1),C(s)))return;this._resetAggregatedFeaturesState()}}_addFlowItem(e){e&&this.flowItems?.push(e)}async _addSelectedAggregatedFeature(e){let{view:t}=this;if(e&&t){let a=await b(e),r=e.clone();r.symbol=a,this._selectedAggregatedFeature=r,t.graphics.add(this._selectedAggregatedFeature)}}_removeSelectedAggregatedFeature(){this._selectedAggregatedFeature&&this.view&&(this.view.graphics.remove(this._selectedAggregatedFeature),this._selectedAggregatedFeature=void 0)}async _selectFeature(e){let{flowItems:t,view:a}=this;t&&this._addFlowItem(p(n`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${t} .graphic=${e.graphic} .headingLevel=${this.headingLevel} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} .hideHeading=${this.hideHeading} .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .showRelationshipContent=${this.showRelationshipContent} .showUtilityNetworkContent=${this.showUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${a??void 0}></arcgis-feature-next>`))}async _selectRelativeAggregatedFeature(e){let{aggregatedFeatures:t,aggregatedFeatureItems:a,flowItems:r}=this;if(!r||t.length===0||a.length===0)return;let i=t.length,s=this.selectedAggregatedFeatureIndex>=0&&this.selectedAggregatedFeatureIndex<i?this.selectedAggregatedFeatureIndex:-1;if(s===-1){let c=r.getItemAt(r.length-1)?.graphic;s=c?t.indexOf(c):-1}let o=s===-1?e>0?0:i-1:(s+e+i)%i,g=a[o];if(!g?.graphic)return;this._setSelectedAggregatedFeatureIndex(o);let u=r.getItemAt(r.length-1);if(u?.flowType==="feature"){u.graphic=g.graphic,this._removeSelectedAggregatedFeature(),await this._addSelectedAggregatedFeature(g.graphic);return}await this._selectFeature(g)}_renderChevronIconNode(){return n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}render(){let{_renderableAggregatedFeatureItems:e}=this,{loading:t}=this;return t||e.length>0?n`<calcite-list .loading=${t} display-mode=flat .label=${this.messages?.aggregatedFeatures??""} selection-mode=none>${e.map(a=>n`<calcite-list-item .label=${a.heading?x(a.heading):void 0} @calciteListItemSelect=${()=>this._selectFeature(a)}>${this._renderChevronIconNode()}</calcite-list-item>`)}</calcite-list>`:n`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noAggregatedFeatures}</div></calcite-notice>`}};_("arcgis-aggregated-features",l);return l},"popup/FeatureModel","Graphic","symbols/SimpleFillSymbol","symbols/support/symbolUtils","applications/Components/stringUtils","core/reactiveUtils",a,b,c)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import{j as m}from"./MBGCAZPS.js";import"./V62TVP3T.js";import"./CF54A7MK.js";import{v as p}from"./LZVMUNZC.js";import"./NWFGMNGG.js";import"./EH4CBZNF.js";import"./LY6LSUSY.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./PS3KSP2J.js")],["bg-BG",()=>import("./OCQXPA57.js")],["bs-BA",()=>import("./DNE47HSP.js")],["ca-ES",()=>import("./JZHZCJTJ.js")],["cs-CZ",()=>import("./R2P5JM7G.js")],["da-DK",()=>import("./42G6XTIG.js")],["de-DE",()=>import("./I4AEBGQM.js")],["de-CH",()=>import("./4O6FFXUV.js")],["el-GR",()=>import("./WEOKELJE.js")],["en-US",()=>import("./PY5VGH7F.js")],["en-CA",()=>import("./54GFXFK4.js")],["es-ES",()=>import("./22I5XGTS.js")],["et-EE",()=>import("./NWRWQZGL.js")],["fi-FI",()=>import("./4657ONKJ.js")],["fr-FR",()=>import("./36ZT6IRE.js")],["he-IL",()=>import("./OCFIQBYK.js")],["hr-HR",()=>import("./RUW7CDCH.js")],["hu-HU",()=>import("./OX3WBUBR.js")],["id-ID",()=>import("./Y37UMTGV.js")],["it-IT",()=>import("./LW4IDPBB.js")],["ja-JP",()=>import("./HJVHORPG.js")],["ko-KR",()=>import("./75UV3NKU.js")],["lt-LT",()=>import("./7FGOCFTQ.js")],["lv-LV",()=>import("./YHPASRFL.js")],["no-NO",()=>import("./QNBNH7ME.js")],["nb-NO",()=>import("./QNBNH7ME.js")],["nl-NL",()=>import("./24MLXKMZ.js")],["pl-PL",()=>import("./5WKEDXRT.js")],["pt-BR",()=>import("./IBN4TKBI.js")],["pt-PT",()=>import("./VKRAWBPC.js")],["ro-RO",()=>import("./XULIO6Y3.js")],["ru-RU",()=>import("./QVAB57VJ.js")],["sk-SK",()=>import("./LUTUHOKB.js")],["sl-SL",()=>import("./ONFKLY6Q.js")],["sr-RS",()=>import("./R2D2TXL4.js")],["sv-SE",()=>import("./A7SZYQDH.js")],["th-TH",()=>import("./C5XAFXEL.js")],["tr-TR",()=>import("./M4D5WUVD.js")],["uk-UA",()=>import("./REGHMH6D.js")],["vi-VN",()=>import("./CUVRESLH.js")],["zh-CN",()=>import("./UHI54OG6.js")],["zh-HK",()=>import("./GUZCA62E.js")],["zh-TW",()=>import("./GUZCA62E.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import"./TAVTDQ6S.js";var _={_decimalSeparator:",",_thousandSeparator:"\xA0",_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 - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"MMM dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_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:"n. l.",_era_bc:"pr. n. l.",A:"dop.",P:"odp.",AM:"dop.",PM:"odp.","A.M.":"dop.","P.M.":"odp.",January:"janu\xE1ra",February:"febru\xE1ra",March:"marca",April:"apr\xEDla",May:"m\xE1ja",June:"j\xFAna",July:"j\xFAla",August:"augusta",September:"septembra",October:"okt\xF3bra",November:"novembra",December:"decembra",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"m\xE1j",Jun:"j\xFAn",Jul:"j\xFAl",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedela",Monday:"pondelok",Tuesday:"utorok",Wednesday:"streda",Thursday:"\u0161tvrtok",Friday:"piatok",Saturday:"sobota",Sun:"ne",Mon:"po",Tue:"ut",Wed:"st",Thu:"\u0161t",Fri:"pi",Sat:"so",_dateOrd:function(e){return"."},"Zoom Out":"Zv\xE4\u010D\u0161enie",Play:"Prehra\u0165",Stop:"Ukon\u010Di\u0165 iter\xE1ciu (Stop)",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"Na\u010D\xEDtanie",Home:"Domov",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:"Export",Image:"Obr\xE1zok",Data:"Data",Print:"Tla\u010D","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:"",OK:"OK",Cancel:"Zru\u0161i\u0165",Delete:"Odstr\xE1ni\u0165",Settings:"Nastavenia",Expand:"Rozbali\u0165","Move Up":"Posun\xFA\u0165 nahor","Move Down":"Posun\xFA\u0165 nadol"};export{_ as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import"./TAVTDQ6S.js";var a={_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 - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_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'g' mm:ss SSS",_duration_millisecond_week:"d'g' mm:ss SSS",_duration_millisecond_month:"M'm' dd'g' mm:ss SSS",_duration_millisecond_year:"y'a' MM'm' dd'g' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'g' hh:mm:ss",_duration_second_week:"d'g' hh:mm:ss",_duration_second_month:"M'm' dd'g' hh:mm:ss",_duration_second_year:"y'a' MM'm' dd'g' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'g' hh:mm",_duration_minute_week:"d'g' hh:mm",_duration_minute_month:"M'm' dd'g' hh:mm",_duration_minute_year:"y'a' MM'm' dd'g' hh:mm",_duration_hour:"hh'o'",_duration_hour_day:"d'g' hh'o'",_duration_hour_week:"d'g' hh'o'",_duration_hour_month:"M'm' dd'g' hh'o'",_duration_hour_year:"y'a' MM'm' dd'g' hh'o'",_duration_day:"d'g'",_duration_day_week:"d'g'",_duration_day_month:"M'm' dd'g'",_duration_day_year:"y'a' MM'm' dd'g'",_duration_week:"w's'",_duration_week_month:"w's'",_duration_week_year:"w's'",_duration_month:"M'm'",_duration_month_year:"y'a' MM'm'",_duration_year:"y'a'",_era_ad:"A.C.",_era_bc:"D.C.",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Gennaio",February:"Febbraio",March:"Marzo",April:"Aprile",May:"Maggio",June:"Giugno",July:"Luglio",August:"Agosto",September:"Settembre",October:"Ottobre",November:"Novembre",December:"Dicembre",Jan:"Gen",Feb:"Feb",Mar:"Mar",Apr:"Apr","May(short)":"Mag",Jun:"Giu",Jul:"Lug",Aug:"Ago",Sep:"Set",Oct:"Ott",Nov:"Nov",Dec:"Dic",Sunday:"Domenica",Monday:"Luned\xEC",Tuesday:"Marted\xEC",Wednesday:"Mercoled\xEC",Thursday:"Gioved\xEC",Friday:"Venerd\xEC",Saturday:"Sabato",Sun:"Dom",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Gio",Fri:"Ven",Sat:"Sab",_dateOrd:function(e){return e+"\xB0"},"Zoom Out":"Riduci zoom",Play:"Avvia",Stop:"Ferma",Legend:"Legenda","Press ENTER to toggle":"Clicca, tappa o premi ENTER per attivare",Loading:"Caricamento",Home:"Home",Chart:"Grafico","Serial chart":"Grafico combinato","X/Y chart":"Grafico X/Y","Pie chart":"Grafico a torta","Gauge chart":"Diagramma di livello","Radar chart":"Grafico radar","Sankey diagram":"Diagramma di Sankey","Flow diagram":"Diagramma di flusso","Chord diagram":"Diagramma a corda","TreeMap chart":"Mappa ad albero","Sliced chart":"Grafico a fette",Series:"Serie","Candlestick Series":"Serie a candele","OHLC Series":"Serie OHLC","Column Series":"Serie a colonne","Line Series":"Serie a linee","Pie Slice Series":"Serie a fetta di torta","Funnel Series":"Serie ad imbuto","Pyramid Series":"Serie a piramide","X/Y Series":"Serie X/Y",Map:"Mappa","Press ENTER to zoom in":"Premi ENTER per ingrandire","Press ENTER to zoom out":"Premi ENTER per ridurre","Use arrow keys to zoom in and out":"Usa le frecce per ingrandire e ridurre","Use plus and minus keys on your keyboard to zoom in and out":"Utilizza i tasti pi\xF9 e meno sulla tastiera per ingrandire e ridurre",Export:"Esporta",Image:"Immagine",Data:"Dati",Print:"Stampa","Press ENTER to open":"Clicca, tappa o premi ENTER per aprire","Press ENTER to print.":"Clicca, tappa o premi ENTER per stampare.","Press ENTER to export as %1.":"Clicca, tappa o premi ENTER per esportare come %1.","(Press ESC to close this message)":"(Premere ESC per chiudere questo messaggio)","Image Export Complete":"Esportazione immagine completata","Export operation took longer than expected. Something might have gone wrong.":"L'operazione di esportazione ha richiesto pi\xF9 tempo del previsto. Potrebbe esserci qualche problema.","Saved from":"Salvato da",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilizzare TAB per selezionare i punti di ancoraggio o i tasti freccia sinistra e destra per modificare la selezione","Use left and right arrows to move selection":"Utilizzare le frecce sinistra e destra per spostare la selezione","Use left and right arrows to move left selection":"Utilizzare frecce destra e sinistra per spostare la selezione sinistra","Use left and right arrows to move right selection":"Utilizzare frecce destra e sinistra per spostare la selezione destra","Use TAB select grip buttons or up and down arrows to change selection":"Utilizzare TAB per selezionare i punti di ancoraggio o premere le frecce su e gi\xF9 per modificare la selezione","Use up and down arrows to move selection":"Utilizzare le frecce su e gi\xF9 per spostare la selezione","Use up and down arrows to move lower selection":"Utilizzare le frecce su e gi\xF9 per spostare la selezione inferiore","Use up and down arrows to move upper selection":"Utilizzare le frecce su e gi\xF9 per spostare la selezione superiore","From %1 to %2":"Da %1 a %2","From %1":"Da %1","To %1":"a %1","No parser available for file: %1":"Nessun parser disponibile per il file: %1","Error parsing file: %1":"Errore durante l'analisi del file: %1","Unable to load file: %1":"Impossibile caricare il file: %1","Invalid date":"Data non valida",Close:"",Minimize:"",Confirm:"",OK:"OK",Cancel:"Annulla",Delete:"Elimina",Settings:"Impostazioni",Expand:"Espandi","Move Up":"Sposta su","Move Down":"Sposta gi\xF9"};export{a as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as D}from"./H6RQVSYM.js";var w={};D(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>S,isNumber:()=>d,isObject:()=>A,isString:()=>F,numberToString:()=>Z,repeat:()=>y,toDate:()=>X,toNumber:()=>R});function S(i){return Number(i)!==i}function T(i){return{}.toString.call(i)}function W(i,e="Assertion failed"){if(!i)throw new Error(e)}function R(i){if(i!=null&&!d(i)){let e=Number(i);if(S(e)&&F(i)&&i!=""&&i.match(/[0-9]+/)){let t=i.replace(/[^0-9.\-]+/g,"");return i===t?e:R(t)}return e}return i}function X(i){if(N(i))return new Date(i);if(d(i))return new Date(i);{let e=Number(i);return d(e)?new Date(e):new Date(i)}}function Z(i){if(S(i))return"NaN";if(i===1/0)return"Infinity";if(i===-1/0)return"-Infinity";if(i===0&&1/i===-1/0)return"-0";let e=i<0;i=Math.abs(i);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+i),s=t[1],n=t[2]||"",r;if(t[3]===void 0)r=n===""?s:s+"."+n;else{let o=+t[3];if(i<1){let h=o-1;r="0."+y("0",h)+s+n}else{let h=o-n.length;h===0?r=s+n:h<0?r=s+n.slice(0,h)+"."+n.slice(h):r=s+n+y("0",h)}}return e?"-"+r:r}function y(i,e){return new Array(e+1).join(i)}function N(i){return T(i)==="[object Date]"}function F(i){return typeof i=="string"}function d(i){return typeof i=="number"&&Number(i)==i}function A(i){return typeof i=="object"&&i!==null}function ee(i){return Array.isArray(i)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var a={};D(a,{add:()=>ue,any:()=>C,copy:()=>me,each:()=>p,eachContinue:()=>re,eachReverse:()=>ne,find:()=>we,findIndex:()=>$,findIndexReverse:()=>H,findMap:()=>$e,findReverse:()=>be,first:()=>pe,getFirstSortedIndex:()=>Ee,getSortedIndex:()=>L,has:()=>ge,indexOf:()=>k,insert:()=>M,insertIndex:()=>B,keepIf:()=>De,last:()=>he,map:()=>ie,move:()=>de,pushAll:()=>le,pushOne:()=>fe,remove:()=>b,removeFirst:()=>_,removeIndex:()=>z,replace:()=>ae,setIndex:()=>ce,shiftLeft:()=>oe,shuffle:()=>ve,slice:()=>xe,toArray:()=>_e});function k(i,e){let t=i.length;for(let s=0;s<t;++s)if(i[s]===e)return s;return-1}function C(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s]))return!0;return!1}function ie(i,e){let t=i.length,s=new Array(t);for(let n=0;n<t;++n)s[n]=e(i[n],n);return s}function p(i,e){let t=i.length;for(let s=0;s<t;++s)e(i[s],s)}function ne(i,e){let t=i.length;for(;t>0;)--t,e(i[t],t)}function re(i,e){let t=i.length;for(let s=0;s<t&&e(i[s],s);++s);}function oe(i,e){let t=i.length;for(let s=e;s<t;++s)i[s-e]=i[s];i.length=t-e}function he(i){let e=i.length;return e?i[e-1]:void 0}function pe(i){return i[0]}function M(i,e,t){t=Math.max(0,Math.min(t,i.length)),i.splice(t,0,e)}function ce(i,e,t){b(i,e),M(i,e,t)}function le(i,e){let t=e.length;for(let s=0;s<t;++s)i.push(e[s])}function b(i,e){let t=!1,s=0;for(;;){if(s=i.indexOf(e,s),s===-1)return t;t=!0,i.splice(s,1)}}function _(i,e){let t=i.indexOf(e);return t!==-1?(i.splice(t,1),!0):!1}function de(i,e,t){let s=k(i,e);s!==-1&&z(i,s),t==null?i.push(e):B(i,t,e)}function ue(i,e,t){d(t)?t===0?i.unshift(e):i.splice(t,0,e):i.push(e)}function fe(i,e){i.indexOf(e)===-1&&i.push(e)}function ae(i,e,t){let s=i.indexOf(e);s!==-1&&i.splice(s,1),d(t)?i.splice(t,0,e):i.push(e)}function _e(i){return Array.isArray(i)?i:[i]}function ge(i,e){return k(i,e)!==-1}function me(i){let e=i.length,t=new Array(e);for(let s=0;s<e;++s)t[s]=i[s];return t}function xe(i,e,t=i.length){let s=new Array(t-e);for(let n=e;n<t;++n)s[n-e]=i[n];return s}function B(i,e,t){i.splice(e,0,t)}function z(i,e){i.splice(e,1)}function $(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s],s))return s;return-1}function H(i,e){let t=i.length;for(;t>0;)if(--t,e(i[t],t))return t;return-1}function we(i,e){let t=$(i,e);if(t!==-1)return i[t]}function be(i,e){let t=H(i,e);if(t!==-1)return i[t]}function $e(i,e){let t=i.length;for(let s=0;s<t;++s){let n=e(i[s],s);if(n!==void 0)return n}}function ve(i){let e=i.length,t,s;for(;e!==0;)s=Math.floor(Math.random()*e),e-=1,t=i[e],i[e]=i[s],i[s]=t}function L(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);if(o<0)t=r+1;else if(o===0){for(n=!0,t=r+1;t<s&&e(i[t])===0;t++);t--;break}else s=r}return{found:n,index:t}}function Ee(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);o<0?t=r+1:(o===0&&(n=!0),s=r)}return{found:n,index:t}}function De(i,e){let t=i.length;for(;t>0;)--t,e(i[t])||i.splice(t,1)}var V={};D(V,{copy:()=>Se,each:()=>c,eachContinue:()=>Ae,eachOrdered:()=>ke,entries:()=>ye,hasKey:()=>Y,keys:()=>g,keysOrdered:()=>K,softCopyProperties:()=>Ce});function g(i){return Object.keys(i)}function ye(i){return Object.entries(i)}function K(i,e){return g(i).sort(e)}function Se(i){return Object.assign({},i)}function c(i,e){g(i).forEach(t=>{e(t,i[t])})}function Ae(i,e){for(let t in i)if(Y(i,t)&&!e(t,i[t]))break}function ke(i,e,t){p(K(i,t),s=>{e(s,i[s])})}function Y(i,e){return{}.hasOwnProperty.call(i,e)}function Ce(i,e){return c(i,(t,s)=>{s!=null&&e[t]==null&&(e[t]=s)}),e}var m=class{constructor(){this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},l=class{constructor(e){this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends m{constructor(){super(...arguments),this._disposers=[]}_dispose(){p(this._disposers,e=>{e.dispose()})}},u=class extends m{constructor(e){super(),this._disposers=e}_dispose(){p(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends m{_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends l{constructor(){super(...arguments),this._counter=0}increment(){return++this._counter,new l(()=>{--this._counter,this._counter===0&&this.dispose()})}};var v=class{constructor(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{p(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return C(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,s,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(r=>{r.once===e&&r.type===t&&(s===void 0||r.callback===s)&&r.context===n&&r.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,s){return $(this._listeners,r=>r.once!==!0&&r.type===e&&(t===void 0||r.callback===t)&&r.context===s)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return d(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{p(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(p(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(s=>{!s.killed&&(s.type===null||s.type===e)&&(s._debounceDelay?(s._debounceTimeout&&window.clearTimeout(s._debounceTimeout),s._debounceTimeout=window.setTimeout(()=>{s._debounceTimeout=void 0,s.killed||s.dispatch(e,t)},s._debounceDelay)):s.dispatch(e,t))})}_on(e,t,s,n,r,o,h){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,s,n);let f={type:t,callback:s,context:n,shouldClone:r,dispatch:o,killed:!1,once:e,disposer:new l(()=>{f.killed=!0,f._debounceTimeout&&window.clearTimeout(f._debounceTimeout),this._removeListener(f)}),_debounceDelay:h};return this._listeners.push(f),f}onAll(e,t,s=!0){return this._on(!1,null,e,t,s,(n,r)=>e.call(t,r)).disposer}on(e,t,s,n=!0){return this._on(!1,e,t,s,n,(r,o)=>t.call(s,o)).disposer}onDebounced(e,t,s,n,r=!0){return this._on(!1,e,t,n,r,(o,h)=>t.call(n,h),s).disposer}once(e,t,s,n=!0){let r=this._on(!0,e,t,s,n,(o,h)=>{r.disposer.dispose(),t.call(s,h)});return r.disposer}off(e,t,s){this._removeExistingListener(!1,e,t,s)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return p(e._listeners,s=>{!s.killed&&s.shouldClone&&(s.type===null?t.push(this.onAll(s.callback,s.context)):s.once?t.push(this.once(s.type,s.callback,s.context)):t.push(this.on(s.type,s.callback,s.context)))}),new u(t)}};function O(i){c(i,(e,t)=>{A(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var j=class{constructor(e,t,s){this._name=e,this._template=t,this._settings=s}_dispose(){O(this._settings)}get(e,t){let s=this._settings[e];return s!==void 0?s:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){g(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){c(this._settings,(s,n)=>{!t[s]&&!e._userSettings[s]&&(t[s]=!0,e.setRaw(s,n),e._computedSettings[s]=!0)})}},I=class{constructor(e){this._states={},this._template=e}_dispose(){c(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let s=this._states[e];if(s)return s.setAll(t),s;{let n=new j(e,this._template,t);return this._states[e]=n,this._template._stateChanged(e),n}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){c(this._states,(s,n)=>{let r=t.states[s];r==null&&(r=t.states[s]={});let o=e.states.create(s,{});n._apply(o,r)})}},P=class{constructor(){this._callbacks={}}add(e,t){let s=this._callbacks[e];return s===void 0&&(s=this._callbacks[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return c(this._callbacks,(s,n)=>{p(n,r=>{t.push(e.adapters.add(s,r))})}),new u(t)}},E=class i{constructor(e,t){if(this._disposed=!1,this._privateSettings={},this._computedSettings={},this._settingEvents={},this._privateSettingEvents={},this._entities=[],this.states=new I(this),this.adapters=new P,this.events=new v,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new i(e,!0)}_dispose(){O(this._settings),O(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let s=this._settings[e];return s!==void 0?s:t}setRaw(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]=t}set(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(s=>{s._setTemplateProperty(this,e,t)}))}_setC(e,t){let s=!this._computedSettings[e]&&this._settings[e]===t;this.set(e,t),s||(this._computedSettings[e]=!0)}_setCAll(e){c(e,(t,s)=>{this._setC(t,s)})}_markC(...e){return p(e,t=>{this._computedSettings[t]=!0}),this}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],delete this._computedSettings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),c(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let s=this._privateSettings[e];return s!==void 0?s:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(s=>{s._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),c(e,(t,s)=>{this.set(t,s)})}on(e,t){this._checkDisposed();let s=this._settingEvents[e];return s===void 0&&(s=this._settingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let s=this._privateSettingEvents[e];return s===void 0&&(s=this._privateSettingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let s=[];return c(this._settingEvents,(n,r)=>{p(r,o=>{s.push(e.on(n,o))})}),c(this._privateSettingEvents,(n,r)=>{p(r,o=>{s.push(e.onPrivate(n,o))})}),this.states._apply(e,t),s.push(this.adapters._apply(e)),s.push(e.events.copyFrom(this.events)),new u(s)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){b(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function x(i,e){return i===e?0:i<e?-1:1}function Q(i,e,t){let s=i.length,n=e.length,r=Math.min(s,n);for(let o=0;o<r;++o){let h=t(i[o],e[o]);if(h!==0)return h}return x(s,n)}function Ne(i,e){return i===e?0:i<e?-1:1}var U=class{constructor(e,t){if(this._rules={},this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let s=this._rules[e];s||(s=this._rules[e]=[]),t.sort(x);let{index:n,found:r}=L(s,o=>{let h=x(o.tags.length,t.length);return h===0?Q(o.tags,t,x):h});if(r)return s[n].template;{let o=E.new({});return s.splice(n,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{S as a,R as b,X as c,Z as d,N as e,F as f,d as g,A as h,ee as i,te as j,se as k,w as l,k as m,ie as n,p as o,ne as p,re as q,b as r,_ as s,de as t,fe as u,me as v,B as w,z as x,$ as y,we as z,be as A,L as B,Ee as C,De as D,a as E,g as F,ye as G,K as H,Se as I,c as J,Ae as K,V as L,m as M,l as N,q as O,u as P,G as Q,J as R,v as S,x as T,Q as U,Ne as V,E as W,U as X};
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import{a as D}from"./TAVTDQ6S.js";var w={};D(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>S,isNumber:()=>d,isObject:()=>A,isString:()=>F,numberToString:()=>Z,repeat:()=>y,toDate:()=>X,toNumber:()=>R});function S(i){return Number(i)!==i}function T(i){return{}.toString.call(i)}function W(i,e="Assertion failed"){if(!i)throw new Error(e)}function R(i){if(i!=null&&!d(i)){let e=Number(i);if(S(e)&&F(i)&&i!=""&&i.match(/[0-9]+/)){let t=i.replace(/[^0-9.\-]+/g,"");return i===t?e:R(t)}return e}return i}function X(i){if(N(i))return new Date(i);if(d(i))return new Date(i);{let e=Number(i);return d(e)?new Date(e):new Date(i)}}function Z(i){if(S(i))return"NaN";if(i===1/0)return"Infinity";if(i===-1/0)return"-Infinity";if(i===0&&1/i===-1/0)return"-0";let e=i<0;i=Math.abs(i);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+i),s=t[1],n=t[2]||"",r;if(t[3]===void 0)r=n===""?s:s+"."+n;else{let o=+t[3];if(i<1){let h=o-1;r="0."+y("0",h)+s+n}else{let h=o-n.length;h===0?r=s+n:h<0?r=s+n.slice(0,h)+"."+n.slice(h):r=s+n+y("0",h)}}return e?"-"+r:r}function y(i,e){return new Array(e+1).join(i)}function N(i){return T(i)==="[object Date]"}function F(i){return typeof i=="string"}function d(i){return typeof i=="number"&&Number(i)==i}function A(i){return typeof i=="object"&&i!==null}function ee(i){return Array.isArray(i)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var a={};D(a,{add:()=>ue,any:()=>C,copy:()=>me,each:()=>p,eachContinue:()=>re,eachReverse:()=>ne,find:()=>we,findIndex:()=>$,findIndexReverse:()=>H,findMap:()=>$e,findReverse:()=>be,first:()=>pe,getFirstSortedIndex:()=>Ee,getSortedIndex:()=>L,has:()=>ge,indexOf:()=>k,insert:()=>M,insertIndex:()=>B,keepIf:()=>De,last:()=>he,map:()=>ie,move:()=>de,pushAll:()=>le,pushOne:()=>fe,remove:()=>b,removeFirst:()=>_,removeIndex:()=>z,replace:()=>ae,setIndex:()=>ce,shiftLeft:()=>oe,shuffle:()=>ve,slice:()=>xe,toArray:()=>_e});function k(i,e){let t=i.length;for(let s=0;s<t;++s)if(i[s]===e)return s;return-1}function C(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s]))return!0;return!1}function ie(i,e){let t=i.length,s=new Array(t);for(let n=0;n<t;++n)s[n]=e(i[n],n);return s}function p(i,e){let t=i.length;for(let s=0;s<t;++s)e(i[s],s)}function ne(i,e){let t=i.length;for(;t>0;)--t,e(i[t],t)}function re(i,e){let t=i.length;for(let s=0;s<t&&e(i[s],s);++s);}function oe(i,e){let t=i.length;for(let s=e;s<t;++s)i[s-e]=i[s];i.length=t-e}function he(i){let e=i.length;return e?i[e-1]:void 0}function pe(i){return i[0]}function M(i,e,t){t=Math.max(0,Math.min(t,i.length)),i.splice(t,0,e)}function ce(i,e,t){b(i,e),M(i,e,t)}function le(i,e){let t=e.length;for(let s=0;s<t;++s)i.push(e[s])}function b(i,e){let t=!1,s=0;for(;;){if(s=i.indexOf(e,s),s===-1)return t;t=!0,i.splice(s,1)}}function _(i,e){let t=i.indexOf(e);return t!==-1?(i.splice(t,1),!0):!1}function de(i,e,t){let s=k(i,e);s!==-1&&z(i,s),t==null?i.push(e):B(i,t,e)}function ue(i,e,t){d(t)?t===0?i.unshift(e):i.splice(t,0,e):i.push(e)}function fe(i,e){i.indexOf(e)===-1&&i.push(e)}function ae(i,e,t){let s=i.indexOf(e);s!==-1&&i.splice(s,1),d(t)?i.splice(t,0,e):i.push(e)}function _e(i){return Array.isArray(i)?i:[i]}function ge(i,e){return k(i,e)!==-1}function me(i){let e=i.length,t=new Array(e);for(let s=0;s<e;++s)t[s]=i[s];return t}function xe(i,e,t=i.length){let s=new Array(t-e);for(let n=e;n<t;++n)s[n-e]=i[n];return s}function B(i,e,t){i.splice(e,0,t)}function z(i,e){i.splice(e,1)}function $(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s],s))return s;return-1}function H(i,e){let t=i.length;for(;t>0;)if(--t,e(i[t],t))return t;return-1}function we(i,e){let t=$(i,e);if(t!==-1)return i[t]}function be(i,e){let t=H(i,e);if(t!==-1)return i[t]}function $e(i,e){let t=i.length;for(let s=0;s<t;++s){let n=e(i[s],s);if(n!==void 0)return n}}function ve(i){let e=i.length,t,s;for(;e!==0;)s=Math.floor(Math.random()*e),e-=1,t=i[e],i[e]=i[s],i[s]=t}function L(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);if(o<0)t=r+1;else if(o===0){for(n=!0,t=r+1;t<s&&e(i[t])===0;t++);t--;break}else s=r}return{found:n,index:t}}function Ee(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);o<0?t=r+1:(o===0&&(n=!0),s=r)}return{found:n,index:t}}function De(i,e){let t=i.length;for(;t>0;)--t,e(i[t])||i.splice(t,1)}var V={};D(V,{copy:()=>Se,each:()=>c,eachContinue:()=>Ae,eachOrdered:()=>ke,entries:()=>ye,hasKey:()=>Y,keys:()=>g,keysOrdered:()=>K,softCopyProperties:()=>Ce});function g(i){return Object.keys(i)}function ye(i){return Object.entries(i)}function K(i,e){return g(i).sort(e)}function Se(i){return Object.assign({},i)}function c(i,e){g(i).forEach(t=>{e(t,i[t])})}function Ae(i,e){for(let t in i)if(Y(i,t)&&!e(t,i[t]))break}function ke(i,e,t){p(K(i,t),s=>{e(s,i[s])})}function Y(i,e){return{}.hasOwnProperty.call(i,e)}function Ce(i,e){return c(i,(t,s)=>{s!=null&&e[t]==null&&(e[t]=s)}),e}var m=class{constructor(){this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},l=class{constructor(e){this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends m{constructor(){super(...arguments),this._disposers=[]}_dispose(){p(this._disposers,e=>{e.dispose()})}},u=class extends m{constructor(e){super(),this._disposers=e}_dispose(){p(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends m{_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends l{constructor(){super(...arguments),this._counter=0}increment(){return++this._counter,new l(()=>{--this._counter,this._counter===0&&this.dispose()})}};var v=class{constructor(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{p(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return C(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,s,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(r=>{r.once===e&&r.type===t&&(s===void 0||r.callback===s)&&r.context===n&&r.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,s){return $(this._listeners,r=>r.once!==!0&&r.type===e&&(t===void 0||r.callback===t)&&r.context===s)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return d(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{p(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(p(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(s=>{!s.killed&&(s.type===null||s.type===e)&&(s._debounceDelay?(s._debounceTimeout&&window.clearTimeout(s._debounceTimeout),s._debounceTimeout=window.setTimeout(()=>{s._debounceTimeout=void 0,s.killed||s.dispatch(e,t)},s._debounceDelay)):s.dispatch(e,t))})}_on(e,t,s,n,r,o,h){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,s,n);let f={type:t,callback:s,context:n,shouldClone:r,dispatch:o,killed:!1,once:e,disposer:new l(()=>{f.killed=!0,f._debounceTimeout&&window.clearTimeout(f._debounceTimeout),this._removeListener(f)}),_debounceDelay:h};return this._listeners.push(f),f}onAll(e,t,s=!0){return this._on(!1,null,e,t,s,(n,r)=>e.call(t,r)).disposer}on(e,t,s,n=!0){return this._on(!1,e,t,s,n,(r,o)=>t.call(s,o)).disposer}onDebounced(e,t,s,n,r=!0){return this._on(!1,e,t,n,r,(o,h)=>t.call(n,h),s).disposer}once(e,t,s,n=!0){let r=this._on(!0,e,t,s,n,(o,h)=>{r.disposer.dispose(),t.call(s,h)});return r.disposer}off(e,t,s){this._removeExistingListener(!1,e,t,s)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return p(e._listeners,s=>{!s.killed&&s.shouldClone&&(s.type===null?t.push(this.onAll(s.callback,s.context)):s.once?t.push(this.once(s.type,s.callback,s.context)):t.push(this.on(s.type,s.callback,s.context)))}),new u(t)}};function O(i){c(i,(e,t)=>{A(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var j=class{constructor(e,t,s){this._name=e,this._template=t,this._settings=s}_dispose(){O(this._settings)}get(e,t){let s=this._settings[e];return s!==void 0?s:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){g(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){c(this._settings,(s,n)=>{!t[s]&&!e._userSettings[s]&&(t[s]=!0,e.setRaw(s,n),e._computedSettings[s]=!0)})}},I=class{constructor(e){this._states={},this._template=e}_dispose(){c(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let s=this._states[e];if(s)return s.setAll(t),s;{let n=new j(e,this._template,t);return this._states[e]=n,this._template._stateChanged(e),n}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){c(this._states,(s,n)=>{let r=t.states[s];r==null&&(r=t.states[s]={});let o=e.states.create(s,{});n._apply(o,r)})}},P=class{constructor(){this._callbacks={}}add(e,t){let s=this._callbacks[e];return s===void 0&&(s=this._callbacks[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return c(this._callbacks,(s,n)=>{p(n,r=>{t.push(e.adapters.add(s,r))})}),new u(t)}},E=class i{constructor(e,t){if(this._disposed=!1,this._privateSettings={},this._computedSettings={},this._settingEvents={},this._privateSettingEvents={},this._entities=[],this.states=new I(this),this.adapters=new P,this.events=new v,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new i(e,!0)}_dispose(){O(this._settings),O(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let s=this._settings[e];return s!==void 0?s:t}setRaw(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]=t}set(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(s=>{s._setTemplateProperty(this,e,t)}))}_setC(e,t){let s=!this._computedSettings[e]&&this._settings[e]===t;this.set(e,t),s||(this._computedSettings[e]=!0)}_setCAll(e){c(e,(t,s)=>{this._setC(t,s)})}_markC(...e){return p(e,t=>{this._computedSettings[t]=!0}),this}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],delete this._computedSettings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),c(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let s=this._privateSettings[e];return s!==void 0?s:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(s=>{s._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),c(e,(t,s)=>{this.set(t,s)})}on(e,t){this._checkDisposed();let s=this._settingEvents[e];return s===void 0&&(s=this._settingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let s=this._privateSettingEvents[e];return s===void 0&&(s=this._privateSettingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let s=[];return c(this._settingEvents,(n,r)=>{p(r,o=>{s.push(e.on(n,o))})}),c(this._privateSettingEvents,(n,r)=>{p(r,o=>{s.push(e.onPrivate(n,o))})}),this.states._apply(e,t),s.push(this.adapters._apply(e)),s.push(e.events.copyFrom(this.events)),new u(s)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){b(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function x(i,e){return i===e?0:i<e?-1:1}function Q(i,e,t){let s=i.length,n=e.length,r=Math.min(s,n);for(let o=0;o<r;++o){let h=t(i[o],e[o]);if(h!==0)return h}return x(s,n)}function Ne(i,e){return i===e?0:i<e?-1:1}var U=class{constructor(e,t){if(this._rules={},this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let s=this._rules[e];s||(s=this._rules[e]=[]),t.sort(x);let{index:n,found:r}=L(s,o=>{let h=x(o.tags.length,t.length);return h===0?Q(o.tags,t,x):h});if(r)return s[n].template;{let o=E.new({});return s.splice(n,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{S as a,R as b,X as c,Z as d,N as e,F as f,d as g,A as h,ee as i,te as j,se as k,w as l,k as m,C as n,ie as o,p,ne as q,re as r,b as s,_ as t,de as u,fe as v,me as w,B as x,z as y,$ as z,we as A,be as B,L as C,Ee as D,De as E,a as F,g as G,ye as H,K as I,Se as J,c as K,Ae as L,V as M,m as N,l as O,q as P,u as Q,G as R,J as S,v as T,x as U,Q as V,Ne as W,E as X,U as Y};
|