@arcgis/map-components 5.2.0-next.140 → 5.2.0-next.141
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/{WUTCKBNC.js → 24DOFGMG.js} +2 -2
- package/dist/cdn/{VZ6UFS6H.js → 26LWK3XB.js} +2 -2
- package/dist/cdn/{SLSGW7B6.js → 27GJE7OY.js} +2 -2
- package/dist/cdn/{A6H4JIO7.js → 27MP6TEF.js} +2 -2
- package/dist/cdn/{NY7RHFLZ.js → 2AQYGR7K.js} +2 -2
- package/dist/cdn/{IDIAWXUO.js → 2COOBXHG.js} +2 -2
- package/dist/cdn/{BI2SI2HK.js → 2CWTV6TC.js} +2 -2
- package/dist/cdn/{NJPPZJ3L.js → 2DKTF2EL.js} +2 -2
- package/dist/cdn/{PBYHBRG7.js → 2GDB3C5I.js} +2 -2
- package/dist/cdn/{IT52WNCR.js → 2KP3MSHV.js} +3 -3
- package/dist/cdn/{2F4IGA4W.js → 3A3DGDW5.js} +2 -2
- package/dist/cdn/{NFCFPU7K.js → 3A7S62FX.js} +2 -2
- package/dist/cdn/{TKILR2SM.js → 3DUIQTNG.js} +2 -2
- package/dist/cdn/{VDKEQI3H.js → 3E56Q4ZY.js} +2 -2
- package/dist/cdn/{62IE7RFR.js → 3HS3DM5B.js} +2 -2
- package/dist/cdn/{WNWTWPV6.js → 3JCF73F4.js} +2 -2
- package/dist/cdn/{L2F4HQYY.js → 3JRPMLOZ.js} +2 -2
- package/dist/cdn/3KZAH5OY.js +2 -0
- package/dist/cdn/{RZGWZ2FJ.js → 3L2J4JFP.js} +2 -2
- package/dist/cdn/{BHCAFGIA.js → 3LOGBSQP.js} +1 -1
- package/dist/cdn/{FSBLGH6E.js → 3MQPSWL6.js} +2 -2
- package/dist/cdn/{EOAVDNBZ.js → 3NL42TBJ.js} +2 -2
- package/dist/cdn/{MICLX7QW.js → 3O4SVNIK.js} +2 -2
- package/dist/cdn/{QWIDIEXY.js → 3PVLBFNC.js} +2 -2
- package/dist/cdn/{DYWCAORU.js → 3SG4AC5C.js} +2 -2
- package/dist/cdn/{F5JYYT42.js → 3WTBTYMS.js} +1 -1
- package/dist/cdn/{ZDMSSGIM.js → 3XEPXV4Q.js} +2 -2
- package/dist/cdn/{OAYNZFL2.js → 3YXCLF3K.js} +2 -2
- package/dist/cdn/{Y77AVOAH.js → 3ZXNGXHC.js} +1 -1
- package/dist/cdn/{UVJWDKLK.js → 43IOCYG5.js} +2 -2
- package/dist/cdn/{MTFIK3F4.js → 45JO7F4Y.js} +2 -2
- package/dist/cdn/{3ONY25MG.js → 4F2ZWXO2.js} +2 -2
- package/dist/cdn/{PGK2ZJCX.js → 4GRP4KX3.js} +2 -2
- package/dist/cdn/{SOZWCZ7A.js → 4MJJOPAL.js} +1 -1
- package/dist/cdn/{J3FRSWZD.js → 4PGC5LTJ.js} +2 -2
- package/dist/cdn/{TMTFZSJS.js → 4RGFCQOB.js} +1 -1
- package/dist/cdn/{ILQDA7LL.js → 4RMVG2NH.js} +2 -2
- package/dist/cdn/{DK7HXJSX.js → 4T2A7PAO.js} +2 -2
- package/dist/cdn/{53OXTCE6.js → 4TTVVGYW.js} +2 -2
- package/dist/cdn/{RVIHQZ44.js → 4W35GLNO.js} +2 -2
- package/dist/cdn/{RGTUSH6U.js → 4WAV5GOL.js} +2 -2
- package/dist/cdn/{TJQ3GP5V.js → 4WP4DUBT.js} +2 -2
- package/dist/cdn/{SLAFIIZU.js → 4WXSFT6G.js} +2 -2
- package/dist/cdn/{GII4POXM.js → 54CLZESW.js} +2 -2
- package/dist/cdn/{SAOLD6MH.js → 55AW5TTI.js} +2 -2
- package/dist/cdn/{A4VK42OW.js → 5763ZV75.js} +2 -2
- package/dist/cdn/{SMVLPJDD.js → 5CER2N5T.js} +2 -2
- package/dist/cdn/5K54VOLZ.js +2 -0
- package/dist/cdn/{CKZBNHMD.js → 5L5UYV3H.js} +1 -1
- package/dist/cdn/{D7FBQECJ.js → 5M56ZA46.js} +2 -2
- package/dist/cdn/{KVYBIOH5.js → 5SL2HI4G.js} +2 -2
- package/dist/cdn/{5TKSFDKY.js → 5SLLYIWJ.js} +2 -2
- package/dist/cdn/{K7ELALW4.js → 5UOXHOVU.js} +2 -2
- package/dist/cdn/{WS46QSWM.js → 5V2DO6ZW.js} +2 -2
- package/dist/cdn/{OAMPGCZF.js → 5XVK5ZBK.js} +2 -2
- package/dist/cdn/{2BGZVOT3.js → 63FA3UEL.js} +2 -2
- package/dist/cdn/{5DY7GHBN.js → 6BLFYSDN.js} +2 -2
- package/dist/cdn/{R5QMO5FY.js → 6GFUBVBL.js} +2 -2
- package/dist/cdn/{QT7GRA34.js → 6IVEAPNI.js} +2 -2
- package/dist/cdn/{FQSHLYKX.js → 6J55YK5V.js} +2 -2
- package/dist/cdn/{MQYTZX24.js → 6NWR2Z4F.js} +2 -2
- package/dist/cdn/{EPH5BN6X.js → 7DAQGPGD.js} +2 -2
- package/dist/cdn/{OPNJGHML.js → 7DDCU3NB.js} +2 -2
- package/dist/cdn/{FHHVGI4H.js → 7EQZKGJN.js} +2 -2
- package/dist/cdn/{SQEKT3GV.js → 7FVXPOAG.js} +2 -2
- package/dist/cdn/{PGSBUAGV.js → 7MOL5GJB.js} +2 -2
- package/dist/cdn/{366GLQ5R.js → 7N4V2IN6.js} +1 -1
- package/dist/cdn/{44CQCIZB.js → 7UWE25UH.js} +2 -2
- package/dist/cdn/{QPSAD5DG.js → 7V7IKYJG.js} +2 -2
- package/dist/cdn/{MDWBYUFG.js → 7VVOJSSE.js} +2 -2
- package/dist/cdn/{GHVT7W4O.js → A4U2PDJP.js} +2 -2
- package/dist/cdn/{S7ORGB5E.js → AAMRTS35.js} +2 -2
- package/dist/cdn/{RVEUCXT4.js → AAUN23S6.js} +2 -2
- package/dist/cdn/{ZFO3PVZQ.js → AENNGCAE.js} +2 -2
- package/dist/cdn/{FDJGQHUA.js → AI5PXN2E.js} +2 -2
- package/dist/cdn/{L46JLXJT.js → ALROLX35.js} +2 -2
- package/dist/cdn/AN3BGKZP.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → AW3C3DKA.js} +2 -2
- package/dist/cdn/{YYA4ZFSW.js → AWQXKVLZ.js} +2 -2
- package/dist/cdn/{2DAGREZP.js → AYJQLWX4.js} +2 -2
- package/dist/cdn/{N3DTZRST.js → AYNGSZAL.js} +2 -2
- package/dist/cdn/{R5TXJ5FN.js → AZ73DBU3.js} +2 -2
- package/dist/cdn/{SHU4AE2X.js → B476G3EX.js} +2 -2
- package/dist/cdn/{HY2JY2TT.js → B4CANXID.js} +2 -2
- package/dist/cdn/{YDZZPLVB.js → B5GJ5JEW.js} +2 -2
- package/dist/cdn/{FXUZU52U.js → BAOWXZTE.js} +1 -1
- package/dist/cdn/{DSD2SY73.js → BEFZSVBT.js} +2 -2
- package/dist/cdn/{UZLEFNJL.js → BIU6VS3K.js} +1 -1
- package/dist/cdn/{VLPNB2Z3.js → BIWQEPK4.js} +2 -2
- package/dist/cdn/{NQOS7L2J.js → BKVCAAPF.js} +2 -2
- package/dist/cdn/{Q4L65YE5.js → BLYJE76S.js} +2 -2
- package/dist/cdn/{MUNSXJ5X.js → BQKVSKYK.js} +2 -2
- package/dist/cdn/{CKS5ACAB.js → BSTO7TGD.js} +2 -2
- package/dist/cdn/{YQV2OMBS.js → CESFJ6AD.js} +2 -2
- package/dist/cdn/{NB7O2TXG.js → CEUIFOR6.js} +1 -1
- package/dist/cdn/{AS4FG6IT.js → CF4OY56S.js} +2 -2
- package/dist/cdn/{E54VGGFM.js → CGN2BQTU.js} +2 -2
- package/dist/cdn/{4432P7Z5.js → CIUI5B52.js} +2 -2
- package/dist/cdn/{TDZIH5OK.js → CJ4KIA26.js} +2 -2
- package/dist/cdn/{QOIURU47.js → CL2NYK7A.js} +2 -2
- package/dist/cdn/{2ZMXUAQZ.js → COKGOKO2.js} +2 -2
- package/dist/cdn/{6UYEO5Q7.js → CORNSRXU.js} +2 -2
- package/dist/cdn/{BQBWXR6P.js → CQQM24VF.js} +2 -2
- package/dist/cdn/{VDEMMP33.js → CROCDACG.js} +2 -2
- package/dist/cdn/{YCHVPSSP.js → CUF7GCDT.js} +2 -2
- package/dist/cdn/{3C6FN5WT.js → CX45KI3X.js} +2 -2
- package/dist/cdn/{GJKFDTVX.js → CZOM5NWO.js} +2 -2
- package/dist/cdn/{PCOXR45L.js → D3LYSFXK.js} +2 -2
- package/dist/cdn/{XHOI3WNI.js → D47546HM.js} +1 -1
- package/dist/cdn/DBA7NSTP.js +2 -0
- package/dist/cdn/{ND7BSIVO.js → DJTW52JH.js} +1 -1
- package/dist/cdn/{4XERPOOU.js → DL57EVZ4.js} +2 -2
- package/dist/cdn/{SG55TVJ5.js → DMYAI77Y.js} +2 -2
- package/dist/cdn/{26URLKXD.js → DMYMCGHJ.js} +2 -2
- package/dist/cdn/{4WKWYFIH.js → DOEKV7G3.js} +2 -2
- package/dist/cdn/{PZSKFFTG.js → DPPZZO5W.js} +2 -2
- package/dist/cdn/{RUYAWRPV.js → DSDPDMLP.js} +2 -2
- package/dist/cdn/{DDSIQO4G.js → E4NTQBM3.js} +2 -2
- package/dist/cdn/{YTLRTUMD.js → E53ARLWV.js} +2 -2
- package/dist/cdn/{U5DIWFPP.js → E5JCJOB3.js} +2 -2
- package/dist/cdn/{DN2EFA4T.js → EAM45WZP.js} +2 -2
- package/dist/cdn/{7DFCYS72.js → ECNRW3D5.js} +2 -2
- package/dist/cdn/{7DM32WQP.js → EDTGV4YF.js} +2 -2
- package/dist/cdn/{Z6AVJWLP.js → EESGZV4K.js} +2 -2
- package/dist/cdn/{3UMLR76Y.js → EKR2SAT2.js} +2 -2
- package/dist/cdn/{67PT3A4A.js → ELYDZHP5.js} +2 -2
- package/dist/cdn/{ZIBQTNB6.js → EOTKZ4F3.js} +2 -2
- package/dist/cdn/EZCNI254.js +2 -0
- package/dist/cdn/{COCGWEUR.js → F46CTQWP.js} +2 -2
- package/dist/cdn/F4O7DFPZ.js +2 -0
- package/dist/cdn/{A3DPMZWE.js → F5WKI5HZ.js} +2 -2
- package/dist/cdn/{ZCFWKPXL.js → FCNNRX3Q.js} +1 -1
- package/dist/cdn/{5RAIBYCT.js → FFJCCMDZ.js} +2 -2
- package/dist/cdn/{EPAR65ZP.js → FMBY3L4S.js} +2 -2
- package/dist/cdn/{4KQA2GRX.js → FMIWBKT4.js} +2 -2
- package/dist/cdn/{EV7IIQBP.js → FNSGB45I.js} +2 -2
- package/dist/cdn/FWXRRSBS.js +2 -0
- package/dist/cdn/{ALVAGE57.js → FZWFKZLW.js} +2 -2
- package/dist/cdn/{ZAUG5MSY.js → GF7RZ4IH.js} +2 -2
- package/dist/cdn/{PMRI66RQ.js → GIOUZTHM.js} +2 -2
- package/dist/cdn/{KPUEQZ7O.js → GP3PLD2F.js} +2 -2
- package/dist/cdn/{FACY5XHG.js → GQ6SYNZS.js} +2 -2
- package/dist/cdn/{MCMACXJV.js → GQXUCZYM.js} +2 -2
- package/dist/cdn/{X7BOBKIH.js → GT6FFZHJ.js} +2 -2
- package/dist/cdn/{QTB5YKHB.js → GTRQNPQ7.js} +2 -2
- package/dist/cdn/{GDLDEHUJ.js → GU3M4JMW.js} +1 -1
- package/dist/cdn/{3GHQZCMV.js → GV3IXBBT.js} +2 -2
- package/dist/cdn/{FZAQZSRA.js → GVZKVOM7.js} +2 -2
- package/dist/cdn/{6VO7G2UX.js → GXRPNW37.js} +2 -2
- package/dist/cdn/{B32GNMHD.js → H4FH2RBM.js} +2 -2
- package/dist/cdn/{OUC5HWPQ.js → H5AYEQ6D.js} +2 -2
- package/dist/cdn/{TAVTDQ6S.js → H6RQVSYM.js} +1 -1
- package/dist/cdn/{K7XSWKZ2.js → H77SMV46.js} +2 -2
- package/dist/cdn/{GUZYCRYS.js → HCN3UC4W.js} +2 -2
- package/dist/cdn/{SK5CTCTZ.js → HH5GEJCC.js} +2 -2
- package/dist/cdn/{KBA5OIES.js → HLGU3U73.js} +2 -2
- package/dist/cdn/{P2I63WVL.js → HX4CDWS4.js} +2 -2
- package/dist/cdn/{MWIDHMQZ.js → HX4CSRAB.js} +2 -2
- package/dist/cdn/{ESOCZAMZ.js → HZX7MSQG.js} +2 -2
- package/dist/cdn/{K23R26AN.js → I23AZWQL.js} +2 -2
- package/dist/cdn/{PGXNWDD3.js → I2A6UYGZ.js} +2 -2
- package/dist/cdn/{AO6ONNIJ.js → I5ZESLWO.js} +2 -2
- package/dist/cdn/{JXQEGZDB.js → IDKRMHDS.js} +1 -1
- package/dist/cdn/{SNNAV3AS.js → IETZFE3P.js} +2 -2
- package/dist/cdn/{WBBTZNZU.js → IFMBHZHX.js} +2 -2
- package/dist/cdn/{2KPCMM7D.js → IJLCJVC4.js} +2 -2
- package/dist/cdn/{F34QQ4DO.js → IMPFB7YV.js} +2 -2
- package/dist/cdn/{FPPWXIBA.js → IRZGEFF5.js} +2 -2
- package/dist/cdn/{O5YJPUFM.js → ISIH65JW.js} +2 -2
- package/dist/cdn/{M42QFFPZ.js → ITRD7ZY4.js} +2 -2
- package/dist/cdn/{DLWQZHNA.js → IU22RA7Z.js} +2 -2
- package/dist/cdn/{KFTFKI6A.js → IXWGGAVX.js} +2 -2
- package/dist/cdn/{FH3WFF5O.js → IZ46HAUJ.js} +1 -1
- package/dist/cdn/{FF7BSRYW.js → J23DTKII.js} +2 -2
- package/dist/cdn/{4XJ6RYYC.js → J657IBDC.js} +2 -2
- package/dist/cdn/{Y42K6IOP.js → J6MU74RO.js} +2 -2
- package/dist/cdn/{IFR4IYSI.js → JAZGNQRP.js} +2 -2
- package/dist/cdn/{HPWF3IQV.js → JBHRVHGS.js} +2 -2
- package/dist/cdn/{THJMCEEO.js → JBR3FYAN.js} +2 -2
- package/dist/cdn/{6QH2NH2Z.js → JCR7S6RP.js} +2 -2
- package/dist/cdn/{4L43F7HU.js → JCRPP54Z.js} +1 -1
- package/dist/cdn/{L5IRXOCJ.js → JD74LG7K.js} +1 -1
- package/dist/cdn/{LH2T4TMP.js → JE6NC2E6.js} +2 -2
- package/dist/cdn/{Z7H4V2JZ.js → JIQ4P34C.js} +2 -2
- package/dist/cdn/{52CUDGKY.js → JPKB745U.js} +2 -2
- package/dist/cdn/{R5TCWJ6V.js → JRQYT5SI.js} +2 -2
- package/dist/cdn/{PZUVKZGQ.js → K6D2JHC4.js} +2 -2
- package/dist/cdn/{PIDNZKSJ.js → KBHLE7HT.js} +2 -2
- package/dist/cdn/{KGUALNRF.js → KM2GXXBO.js} +2 -2
- package/dist/cdn/{CAC3OOFR.js → KO7RD6SS.js} +2 -2
- package/dist/cdn/{ZF4DFDLT.js → KT7MEZHJ.js} +2 -2
- package/dist/cdn/KY3ND2AY.js +2 -0
- package/dist/cdn/{CBVICP6P.js → LE373OSG.js} +2 -2
- package/dist/cdn/{PJ5OUPGO.js → LGW5AS6R.js} +2 -2
- package/dist/cdn/{3N5MWYUQ.js → LHFB44QW.js} +2 -2
- package/dist/cdn/{BXB5PSFB.js → LIN3GOTG.js} +2 -2
- package/dist/cdn/{V2YPYCU6.js → LL7R6ETJ.js} +2 -2
- package/dist/cdn/{JS3IKVKM.js → LQ76PRWK.js} +2 -2
- package/dist/cdn/{LC37F7HF.js → M7LDGJG6.js} +2 -2
- package/dist/cdn/{GFNCEZSN.js → MEZHGYCH.js} +2 -2
- package/dist/cdn/{GS2HJTMU.js → MKCJXRXB.js} +2 -2
- package/dist/cdn/{OAMA6SL3.js → MPKC74OS.js} +2 -2
- package/dist/cdn/{HBWEW6R7.js → MUWOF7W4.js} +2 -2
- package/dist/cdn/{IQOQTYRR.js → N2HG34QB.js} +2 -2
- package/dist/cdn/{EK7Y6JBZ.js → N4MW5VBL.js} +2 -2
- package/dist/cdn/{HKLBQ7JD.js → N6VSP7BU.js} +2 -2
- package/dist/cdn/{WQI5PKS4.js → NBDQBLRI.js} +2 -2
- package/dist/cdn/{2TY3T3GH.js → NBHZZ4E6.js} +2 -2
- package/dist/cdn/{PWHXRRFU.js → NRJ6LV6O.js} +2 -2
- package/dist/cdn/{DYUCS5QP.js → O57LOC52.js} +2 -2
- package/dist/cdn/{IM6IDWYR.js → O7RSAJOS.js} +1 -1
- package/dist/cdn/{TPVHN6P2.js → OBMM7WJD.js} +2 -2
- package/dist/cdn/{4IU5R6VO.js → OCLOCCB6.js} +2 -2
- package/dist/cdn/{QKZ552KI.js → OGAUCGGG.js} +2 -2
- package/dist/cdn/{3VCGDZEU.js → OHLJ6POC.js} +2 -2
- package/dist/cdn/{6MCDOI5M.js → OJXNUBIA.js} +2 -2
- package/dist/cdn/{XDU23V37.js → OUXE3CSQ.js} +2 -2
- package/dist/cdn/{H7NR6B6S.js → OX55WUIT.js} +2 -2
- package/dist/cdn/{YFTQR2WS.js → P5HSMYWG.js} +2 -2
- package/dist/cdn/{F5IHFPKA.js → PEH4U3YV.js} +2 -2
- package/dist/cdn/{4ZLIA5OM.js → PLTLRYBF.js} +2 -2
- package/dist/cdn/{CP5JALYQ.js → PLVTYVUG.js} +2 -2
- package/dist/cdn/{6J3KSMFG.js → POKO37D3.js} +1 -1
- package/dist/cdn/{6A2OF3TO.js → PRTHX6OC.js} +2 -2
- package/dist/cdn/{Z2WYULU3.js → PXAY7IM4.js} +2 -2
- package/dist/cdn/{2U3VASQT.js → PYTZ3YBE.js} +1 -1
- package/dist/cdn/{PBHNO4J7.js → Q22KIHFH.js} +2 -2
- package/dist/cdn/{M6YVO33A.js → Q73T55TC.js} +2 -2
- package/dist/cdn/{ZHSESERJ.js → QJWFZYU4.js} +2 -2
- package/dist/cdn/{Z3W7LQ5M.js → QKON7YGO.js} +2 -2
- package/dist/cdn/{PZZU36OG.js → QMQV37ML.js} +2 -2
- package/dist/cdn/{2BUURGFL.js → QMYL4UM7.js} +2 -2
- package/dist/cdn/{WO26ZR5Z.js → QOQRNYM5.js} +2 -2
- package/dist/cdn/{HKVIWCPL.js → QPFX5XH3.js} +2 -2
- package/dist/cdn/{UTV2A7J4.js → QTDJVI5F.js} +2 -2
- package/dist/cdn/{BM4TS2RT.js → QTOA5MBN.js} +2 -2
- package/dist/cdn/QUZTFUWM.js +1 -0
- package/dist/cdn/{GIIYVCKT.js → QX33OCXB.js} +2 -2
- package/dist/cdn/{BVTEQMDF.js → R2IBOCMY.js} +2 -2
- package/dist/cdn/{OSDGWHZZ.js → R3IITUG6.js} +2 -2
- package/dist/cdn/{EZCHUWDK.js → R6HUY6QI.js} +2 -2
- package/dist/cdn/{QEPANMVK.js → RAOEF6YV.js} +2 -2
- package/dist/cdn/{UUHCMLK6.js → RFSBZHJD.js} +2 -2
- package/dist/cdn/{MMYODAC2.js → RHNZWKZV.js} +2 -2
- package/dist/cdn/{HI7BF3DL.js → RKTSSP3O.js} +2 -2
- package/dist/cdn/{TO6SOEDF.js → RPHJDEZH.js} +2 -2
- package/dist/cdn/{GCEBFEZ5.js → RQG75Q2X.js} +2 -2
- package/dist/cdn/{5AMF6NZN.js → RQLMXLJC.js} +2 -2
- package/dist/cdn/{M3FI4K44.js → RYYBMDGS.js} +2 -2
- package/dist/cdn/{GNSNEUMI.js → RZQNEEP6.js} +2 -2
- package/dist/cdn/{Z2ABUIL3.js → S62FQUEJ.js} +2 -2
- package/dist/cdn/{R5YW65AI.js → S6M66TIN.js} +2 -2
- package/dist/cdn/{GK47522P.js → SBIOND5K.js} +2 -2
- package/dist/cdn/{HDHWPKJ4.js → SFFTE3TG.js} +2 -2
- package/dist/cdn/{5ESNA4SF.js → SFSWQGLY.js} +2 -2
- package/dist/cdn/{BQGY4YCS.js → SP73K22L.js} +2 -2
- package/dist/cdn/{MA2GVVQJ.js → SQYMNL75.js} +2 -2
- package/dist/cdn/{ZO7TUIUE.js → SREWXCMU.js} +2 -2
- package/dist/cdn/{MYLIX42T.js → SXQRPAPL.js} +2 -2
- package/dist/cdn/{ND3V4Z4F.js → T2DT5I33.js} +1 -1
- package/dist/cdn/{7VJQVX42.js → T4V5O3FK.js} +2 -2
- package/dist/cdn/{R67ZOCIR.js → TC6HL72N.js} +2 -2
- package/dist/cdn/{YZJKSAQ5.js → TILA2OKK.js} +2 -2
- package/dist/cdn/{HU57LQOA.js → TMJX7DFH.js} +1 -1
- package/dist/cdn/{AL3PLZEE.js → TN5C3MSL.js} +1 -1
- package/dist/cdn/{BLOQ2AJ5.js → TNFZHEWD.js} +2 -2
- package/dist/cdn/{7FFBCPVE.js → TPC2FJJX.js} +2 -2
- package/dist/cdn/{O6HYZKBU.js → TU6ZG6ZI.js} +2 -2
- package/dist/cdn/{SIZZ3BQA.js → TZ2LE7KS.js} +2 -2
- package/dist/cdn/{7TULU5QF.js → TZ6WQV6O.js} +2 -2
- package/dist/cdn/{UUNHAVGJ.js → TZHXSIXK.js} +2 -2
- package/dist/cdn/{G26V76WA.js → UCTJVPYB.js} +2 -2
- package/dist/cdn/{IQEEQOMD.js → UINNR6FV.js} +2 -2
- package/dist/cdn/{HQWUQFN5.js → UMHGXP3S.js} +2 -2
- package/dist/cdn/{LYT35TNY.js → UPZVIKOH.js} +2 -2
- package/dist/cdn/{A7RLC6ZT.js → UWKXYCO3.js} +2 -2
- package/dist/cdn/{LKAJVIS2.js → V2GMDCVJ.js} +2 -2
- package/dist/cdn/{CR6PVUCT.js → VABVK3ZN.js} +2 -2
- package/dist/cdn/{JRCEICO2.js → VCRVQMYT.js} +2 -2
- package/dist/cdn/{DY2EOHFD.js → VCSX4G2U.js} +2 -2
- package/dist/cdn/{DFUR3C3D.js → VDTRRLON.js} +1 -1
- package/dist/cdn/{IAWXCNTX.js → VEAJ52RN.js} +2 -2
- package/dist/cdn/{XP74F2F6.js → VJE33ARY.js} +2 -2
- package/dist/cdn/{WJQUE4DR.js → VJVKFKSG.js} +1 -1
- package/dist/cdn/{JF7VJGL4.js → VSDQVSOV.js} +2 -2
- package/dist/cdn/{TSNUOFL7.js → VTCM7AV2.js} +2 -2
- package/dist/cdn/{GUHSWQMF.js → VWFQCWGB.js} +2 -2
- package/dist/cdn/{J6HOUEVT.js → VWN2LORT.js} +2 -2
- package/dist/cdn/{HQSY7TKA.js → W3ENDJ6U.js} +2 -2
- package/dist/cdn/{YZUSPKNF.js → WBI4RS3V.js} +2 -2
- package/dist/cdn/{WSHG4LV7.js → WCEDE4CZ.js} +2 -2
- package/dist/cdn/WEAGLY7B.js +2 -0
- package/dist/cdn/{ZKWI43WZ.js → WQMZ7BDQ.js} +2 -2
- package/dist/cdn/{S6BPBG7D.js → WVRJQQKH.js} +2 -2
- package/dist/cdn/WYNLO2MH.js +2 -0
- package/dist/cdn/{SR4V2CUQ.js → X3DQNCTZ.js} +2 -2
- package/dist/cdn/{DUMHDAYP.js → XAADUJ74.js} +2 -2
- package/dist/cdn/{4O3HLHQQ.js → XAD4PUBU.js} +2 -2
- package/dist/cdn/{OJIYHIGC.js → XAMLHDWZ.js} +2 -2
- package/dist/cdn/{GUL7EIJ4.js → XEK22IDA.js} +1 -1
- package/dist/cdn/XIYYT5SJ.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → XJ6DZ6AN.js} +2 -2
- package/dist/cdn/XKHGN6LQ.js +2 -0
- package/dist/cdn/{KCLVDXWB.js → XPGC5GAG.js} +2 -2
- package/dist/cdn/{SEY3WDK2.js → XPIX7Z2Q.js} +2 -2
- package/dist/cdn/{2UKSCGYU.js → XTPRVANS.js} +2 -2
- package/dist/cdn/{PDH2DA3L.js → XURL7UVF.js} +2 -2
- package/dist/cdn/{VTCE3YQW.js → XYNRLVTU.js} +2 -2
- package/dist/cdn/{CPYVZPJ7.js → Y2LELW5Y.js} +2 -2
- package/dist/cdn/{JBK5HTJ2.js → Y2UYA3OR.js} +2 -2
- package/dist/cdn/{J4CHCFLS.js → Y4WOZJQX.js} +2 -2
- package/dist/cdn/{SIFBGT4D.js → YAEJKOYY.js} +2 -2
- package/dist/cdn/YDB2XJRU.js +2 -0
- package/dist/cdn/{4IWYFG2G.js → YHKTMUY7.js} +2 -2
- package/dist/cdn/{XYF36P2O.js → YKSVOTDV.js} +2 -2
- package/dist/cdn/{RRSU6QD4.js → YLC4L2QV.js} +2 -2
- package/dist/cdn/{EMXGW73P.js → YOUMOTN3.js} +2 -2
- package/dist/cdn/{65MI3MW2.js → YPNGSV66.js} +2 -2
- package/dist/cdn/{EHEWQ23K.js → YPNJ5V4R.js} +2 -2
- package/dist/cdn/{SZ3T7YEB.js → YU5BTZEI.js} +1 -1
- package/dist/cdn/{ZGOAZB5L.js → YWC5AUFV.js} +1 -1
- package/dist/cdn/{2SO5S66J.js → YWS5RHVM.js} +2 -2
- package/dist/cdn/YY45XUPP.js +2 -0
- package/dist/cdn/{KLVBRTYU.js → Z42QB2QP.js} +2 -2
- package/dist/cdn/{TA723HWT.js → Z4WS2RBO.js} +2 -2
- package/dist/cdn/{7VDBR3SK.js → Z5C6UBYP.js} +2 -2
- package/dist/cdn/{7FCZLFJD.js → ZEKQYUW3.js} +2 -2
- package/dist/cdn/{M2LKA37F.js → ZFHHY72B.js} +2 -2
- package/dist/cdn/{XCTPKDKL.js → ZOHGLZNV.js} +2 -2
- package/dist/cdn/{W3TSTSES.js → ZOTONI4L.js} +2 -2
- package/dist/cdn/{4PI54LJH.js → ZPH7M75T.js} +2 -2
- package/dist/cdn/{MFWSWLBW.js → ZUAR3LO3.js} +2 -2
- package/dist/cdn/{VUAYNF3K.js → ZVZVHZYX.js} +2 -2
- package/dist/cdn/{M5KYBYZT.js → ZW2ZBNX2.js} +2 -2
- package/dist/cdn/{M7AFSV3C.js → ZWN6DXNO.js} +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +14 -14
- 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.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-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 +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-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.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field-number/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.js +1 -1
- package/dist/components/arcgis-features-next/customElement.js +1 -1
- 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.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.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-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.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-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.js +1 -1
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-template-image/customElement.js +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- 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 +25 -24
- 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.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-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 +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-view-popover/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/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/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +6 -6
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/5KN3AKHQ.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/CVJOD6H3.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/E5L3MOIC.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/HTC4LCZQ.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/MA7GBKLW.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/T7WW3YQN.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/ZSPYPXBY.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as r}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{a as r}from"./JAZGNQRP.js";import{z as c}from"./EKR2SAT2.js";export default $arcgis.t(([{watch:s},{projectIsLoaded:i,projectLoad:p,projectExecute:l}])=>{var n=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:e}=this.component;return t&&o&&e?[t,e,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>{this._updateScreenLocation()},{initial:!0}))}async _updateScreenLocation(){{i()||await p();let{location:o,view:t}=this.component,e=t?.spatialReference,a=e&&o?l(o,e):null;this.exports=this.component.trackLocation&&a&&t?.ready?t.toScreen(a):null}}},L=r(n);return L},"core/reactiveUtils","geometry/operators/projectOperator")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import a from"./HU57LQOA.js";import{a as E}from"./ZSPYPXBY.js";import{P as I,X as S,a as M,b as p,p as l,r as m,x as b}from"./3UMLR76Y.js";export default $arcgis.t(([k,{cutExecute:A},{lengthExecute:L},{projectIsLoaded:j,projectLoad:B,projectExecute:N},{proximityGetNearestCoordinate:U},D,F,R,x,$,O,G,{substitute:W},{b:P,e:v,g:C,h:_}])=>{var H=M`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`,V=`utility-network-trace-locations-sketch-${Date.now()}`,T=class q extends I{constructor(){super(...arguments),this._messages=E({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.traceLocations=new k,this.filterLayers=new k,this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationSelectEnd=b(),this.arcgisTraceLocationSelectStart=b(),this.arcgisError=b()}static{this.properties={_isSelectWaiting:16,beforeMapInteraction:0,afterMapInteraction:0,messageOverrides:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,spatialTolerance:9,error:1,autoDestroyDisabled:5,utilityNetwork:0,heading:1,sketchViewModel:32}}static{this.styles=H}static{this.sketchViewModelMap=new Map}static getSketchViewModel(t){if(!this.sketchViewModelMap.has(t)){let e=this.#a(t,V);e&&this.sketchViewModelMap.set(t,new O({view:t,layer:e}))}return this.sketchViewModelMap.get(t)??null}static#a(t,e){if(!t?.map)return null;let i=t.map.findLayerById(e);if(!i){let r=new R({id:e,listMode:"hide",title:e});return P(t,r),r}return i}static removeSketchGraphicsLayer(t){if(t?.map){let e=t.map.findLayerById(V);e&&t.map.remove(e),this.sketchViewModelMap.delete(t)}}#i;get sketchViewModel(){return this.view?q.getSketchViewModel(this.view):null}async destroy(){try{this.#r()}finally{await this.manager.destroy()}}async load(){j()||await B()}willUpdate(t){t.has("filterLayers")&&this.#o()}#t(t,e){this.error=e,l(t,this,e),this.arcgisError.emit()}#s(t){let{traceLocations:e,view:i}=this;t.spatialProperties.flagGraphic&&i&&i.graphics.remove(t.spatialProperties.flagGraphic),e?.remove(t)}#o(){if(!this.sketchViewModel)return;let t=new k;this.filterLayers?.forEach(e=>{C(e)?e.sublayers.forEach(i=>{t.add(new G({layer:i,enabled:!0}))}):t.add(new G({layer:e,enabled:!0}))}),this.sketchViewModel.snappingOptions={enabled:!1,featureSources:t}}#n(t,e){let i=t.clone(),r=i.spatialReference,s=e.spatialReference;if(!r||!s)return l("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let o=e;if(!r.equals(s)){let y=N(e,r);if(!y)return l("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;o=y}let n=U(i,o);if(n.isEmpty)return l("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let a=n.coordinate,c=a.x-.5,h=a.y-.5,d=a.x+.5,u=a.y+.5,f=new D({hasZ:!1,hasM:!0,paths:[[[c,h],[d,u]]],spatialReference:i.spatialReference}),g=A(i,f);if(g.length>0){let y=L(i,{unit:"feet"}),w;return g[0].paths[0][0][0]===i.paths[0][0][0]?w=L(g[0],{unit:"feet"}):g.length>1?w=L(g[1],{unit:"feet"}):w=0,w/y}return l("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#c(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#l(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){l("error",this,"Cannot add trace location."),e||l("error",this,m("sketchViewModel")),t||l("error",this,m("view"));return}if(this.beforeMapInteraction){this._isSelectWaiting=!0;try{await this.beforeMapInteraction()}finally{this._isSelectWaiting=!1}}await this.#e(t,e)}async#e(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#i?.remove(),this.#i=e.on("create",i=>this.#h(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#h(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#p(t,e,i);return}t.state==="cancel"&&(this.#r(),this.arcgisTraceLocationSelectEnd.emit())}async#p(t,e,i){let{utilityNetwork:r}=this,{graphic:s}=t;if(!r){l("error",this,m("utilityNetwork")),this.#r(),this.arcgisTraceLocationSelectEnd.emit();return}if(s?.geometry?.type!=="point"){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let o=s.geometry,n=e.toScreen(o);if(!n){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let a=(await e.hitTest(n,{include:this.filterLayers})).results.filter(c=>c.type==="graphic"&&c?.layer&&c.graphic);if(!a.length){this.#t("info",this._messages.errors.noHitResult),this.#e(e,i);return}this.#r(),await this.#d(a,o,e)?this.arcgisTraceLocationSelectEnd.emit():this.#e(e,i)}#r(){let{view:t,sketchViewModel:e}=this;if(!t){l("error",this,m("view"));return}e&&(e.snappingOptions.enabled=!1),this.#i?.remove(),this.#i=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#d(t,e,i){if(!t.length)return this.#t("error",this._messages.errors.noHitResult),!1;let r=t[0].graphic;if(this.afterMapInteraction){let o=t.map(n=>{let a=n,c=a.graphic;return c.origin=a.layer,c.sourceLayer=a.layer,c});try{r=await this.afterMapInteraction(o)}catch{r=null}}if(!r)return l("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let s=await this.#u(r);return s?await this.#g(s,e,i):(this.#t("error",this._messages.errors.missingAttributes),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#u(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,r=e.fieldsIndex?.get("assetgroup")??!1,s=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,n=e.fieldsIndex?.get("assettype")?.name??"assettype",a=t.getGlobalId(),c=t.getObjectId(),h=r?!!t.getAttribute(s):!0,d=o?!!t.getAttribute(n):!0,u=!!t.geometry;if(a&&c&&h&&d&&(u||i))return t;let f=e.createQuery();return f.objectIds=[c],(await e.queryFeatures(f)).features[0]||null}async#g(t,e,i){let{traceLocations:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#m(t,e);if(!n)return this.#t("error",this._messages.errors.errorGeneratingTraceLocationDetails),!1;let a=r?.filter(h=>h.spatialProperties.mapGraphic?.getGlobalId()===s)??[];if(a.length>0){if(o!=="polyline")return this.#t("warn",this._messages.errors.duplicateTraceLocationDetails),!1;if(a.some(h=>Math.abs(h.traceLocation.percentAlong-n.traceLocation.percentAlong)<=this.spatialTolerance))return this.#t("warn",this._messages.errors.duplicateTraceLocationDetailsWithinTolerance),!1}let c=this.#y(t,e,i);return c?(n.spatialProperties.flagGraphic=c,r?.add(n),!0):(this.#t("warn",this._messages.errors.errorAdding),!1)}async#m(t,e){let{traceLocationType:i,utilityNetwork:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#f(t);if(o==="point"||o==="polygon"){let a=r?.getTerminalConfiguration(t),c=a?a.terminals[0].id:1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:c}),flagProperties:{title:n,expanded:!1,terminalConfiguration:a??void 0,selectedTerminals:a?new Set([c]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(o==="polyline"){let a=this.#n(t.geometry,e);return a<0?(l("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,percentAlong:a}),flagProperties:{title:n,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!o){let a=_(t.layer)?t.layer.parent:t.layer,c=a&&this.#c.includes(a.layerId),h=r?.getTerminalConfiguration(t),d=h?h.terminals[0].id:c?-1:1,u=c?.5:-1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:d,percentAlong:u}),flagProperties:{title:n,expanded:!1,terminalConfiguration:h??void 0,selectedTerminals:h?new Set([d]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#f(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#y(t,e,i){let r=t.geometry?t.geometry.type==="point"?t.geometry:e:null,s=this.#w(),o=new F({geometry:r,symbol:s,attributes:t.attributes});return i.graphics.add(o),o}#w(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new $({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new $({color:e,style:"square",size:12,outline:{color:e,width:0}}):new $({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#b(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#v(t,e){let{flagProperties:i}=t,{selectedTerminals:r}=i,{name:s,id:o}=e,n=r?.has(o)??!1;return p`<calcite-label layout=inline><calcite-checkbox .value=${o} .checked=${n} @calciteCheckboxChange=${a=>{a.target.checked?r?.add(o):r?.delete(o),this.requestUpdate()}}></calcite-checkbox>${s}</calcite-label>`}#k(){return p`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`}#L(t){let{traceLocation:e}=t;return p`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${e.isFilterBarrier} @calciteSwitchChange=${i=>{e.isFilterBarrier=i.target.checked}}></calcite-switch></div></calcite-label>`}#x(t){let{flagProperties:e}=t,{terminalConfiguration:i,selectedTerminals:r}=e,s=t.traceLocation.type==="barrier",o=i&&i.terminals.length>0&&r?.size===0;return p`<calcite-action .icon=${e.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{e.expanded=!e.expanded,this.requestUpdate()}}></calcite-action>${o&&p`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${e.expanded&&p`<div class="terminals" slot=content-bottom>${s&&this.#L(t)||""}${i&&this.#$(t)||""}${o&&this.#k()||""}</div>`||""}`}#$(t){let{flagProperties:e}=t,{terminalConfiguration:i}=e;if(!i)return l("warn",this,"One or more locations are missing the required flag property `terminalConfiguration`."),[];let r=i.terminals;return r.length?r.length===1?[]:r.map(s=>this.#v(t,s)):(l("warn",this,"`terminalConfiguration.terminals` is required but either missing or empty.`"),[])}#T(t){let{flagProperties:e}=t,{terminalConfiguration:i,expanded:r,title:s}=e,o=i&&i.id!==0,n=t.traceLocation.type==="barrier",a=o||n,c=i?.name??void 0;return p`<calcite-list-item .label=${s} .description=${c} .value=${s} .expanded=${r}>${a?this.#x(t):p`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this.#s(t)}></calcite-action></calcite-list-item>`}#M(t){if(!t.length)return null;let{traceLocationType:e}=this,i=t.map(s=>this.#T(s)).toArray(),r=W(this._messages.labels.list,{type:e});return p`<div><calcite-list interaction-mode=static selection-mode=none .label=${r}>${i}</calcite-list></div>`}#I(){let{traceLocationType:t,_messages:e,traceLocations:i,heading:r}=this,s=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r??s.heading,n=s.description,a=s.buttonText;return p`<calcite-block .heading=${o} .label=${o} expanded .description=${n}>${i?.length?p`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#b()}>${e.buttons.clear}</calcite-button>${this.#M(i)}`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${a} @click=${()=>this.#l()}>${a}</calcite-button></div></calcite-block>`}render(){return this.#I()}};S("arcgis-utility-network-trace-locations",T);return T},"core/Collection","geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","layers/GraphicsLayer","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol","widgets/Sketch/SketchViewModel","views/interactive/snapping/FeatureSnappingLayerSource","intl",a)
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import a from"./TMJX7DFH.js";import{a as E}from"./WEAGLY7B.js";import{P as I,X as S,a as M,b as p,p as l,r as m,x as b}from"./EKR2SAT2.js";export default $arcgis.t(([k,{cutExecute:A},{lengthExecute:L},{projectIsLoaded:j,projectLoad:B,projectExecute:N},{proximityGetNearestCoordinate:U},D,F,R,x,$,O,G,{substitute:W},{b:P,e:v,g:C,h:_}])=>{var H=M`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`,V=`utility-network-trace-locations-sketch-${Date.now()}`,T=class q extends I{constructor(){super(...arguments),this._messages=E({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.traceLocations=new k,this.filterLayers=new k,this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationSelectEnd=b(),this.arcgisTraceLocationSelectStart=b(),this.arcgisError=b()}static{this.properties={_isSelectWaiting:16,beforeMapInteraction:0,afterMapInteraction:0,messageOverrides:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,spatialTolerance:9,error:1,autoDestroyDisabled:5,utilityNetwork:0,heading:1,sketchViewModel:32}}static{this.styles=H}static{this.sketchViewModelMap=new Map}static getSketchViewModel(t){if(!this.sketchViewModelMap.has(t)){let e=this.#a(t,V);e&&this.sketchViewModelMap.set(t,new O({view:t,layer:e}))}return this.sketchViewModelMap.get(t)??null}static#a(t,e){if(!t?.map)return null;let i=t.map.findLayerById(e);if(!i){let r=new R({id:e,listMode:"hide",title:e});return P(t,r),r}return i}static removeSketchGraphicsLayer(t){if(t?.map){let e=t.map.findLayerById(V);e&&t.map.remove(e),this.sketchViewModelMap.delete(t)}}#i;get sketchViewModel(){return this.view?q.getSketchViewModel(this.view):null}async destroy(){try{this.#r()}finally{await this.manager.destroy()}}async load(){j()||await B()}willUpdate(t){t.has("filterLayers")&&this.#o()}#t(t,e){this.error=e,l(t,this,e),this.arcgisError.emit()}#s(t){let{traceLocations:e,view:i}=this;t.spatialProperties.flagGraphic&&i&&i.graphics.remove(t.spatialProperties.flagGraphic),e?.remove(t)}#o(){if(!this.sketchViewModel)return;let t=new k;this.filterLayers?.forEach(e=>{C(e)?e.sublayers.forEach(i=>{t.add(new G({layer:i,enabled:!0}))}):t.add(new G({layer:e,enabled:!0}))}),this.sketchViewModel.snappingOptions={enabled:!1,featureSources:t}}#n(t,e){let i=t.clone(),r=i.spatialReference,s=e.spatialReference;if(!r||!s)return l("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let o=e;if(!r.equals(s)){let y=N(e,r);if(!y)return l("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;o=y}let n=U(i,o);if(n.isEmpty)return l("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let a=n.coordinate,c=a.x-.5,h=a.y-.5,d=a.x+.5,u=a.y+.5,f=new D({hasZ:!1,hasM:!0,paths:[[[c,h],[d,u]]],spatialReference:i.spatialReference}),g=A(i,f);if(g.length>0){let y=L(i,{unit:"feet"}),w;return g[0].paths[0][0][0]===i.paths[0][0][0]?w=L(g[0],{unit:"feet"}):g.length>1?w=L(g[1],{unit:"feet"}):w=0,w/y}return l("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#c(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#l(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){l("error",this,"Cannot add trace location."),e||l("error",this,m("sketchViewModel")),t||l("error",this,m("view"));return}if(this.beforeMapInteraction){this._isSelectWaiting=!0;try{await this.beforeMapInteraction()}finally{this._isSelectWaiting=!1}}await this.#e(t,e)}async#e(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#i?.remove(),this.#i=e.on("create",i=>this.#h(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#h(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#p(t,e,i);return}t.state==="cancel"&&(this.#r(),this.arcgisTraceLocationSelectEnd.emit())}async#p(t,e,i){let{utilityNetwork:r}=this,{graphic:s}=t;if(!r){l("error",this,m("utilityNetwork")),this.#r(),this.arcgisTraceLocationSelectEnd.emit();return}if(s?.geometry?.type!=="point"){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let o=s.geometry,n=e.toScreen(o);if(!n){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let a=(await e.hitTest(n,{include:this.filterLayers})).results.filter(c=>c.type==="graphic"&&c?.layer&&c.graphic);if(!a.length){this.#t("info",this._messages.errors.noHitResult),this.#e(e,i);return}this.#r(),await this.#d(a,o,e)?this.arcgisTraceLocationSelectEnd.emit():this.#e(e,i)}#r(){let{view:t,sketchViewModel:e}=this;if(!t){l("error",this,m("view"));return}e&&(e.snappingOptions.enabled=!1),this.#i?.remove(),this.#i=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#d(t,e,i){if(!t.length)return this.#t("error",this._messages.errors.noHitResult),!1;let r=t[0].graphic;if(this.afterMapInteraction){let o=t.map(n=>{let a=n,c=a.graphic;return c.origin=a.layer,c.sourceLayer=a.layer,c});try{r=await this.afterMapInteraction(o)}catch{r=null}}if(!r)return l("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let s=await this.#u(r);return s?await this.#g(s,e,i):(this.#t("error",this._messages.errors.missingAttributes),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#u(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,r=e.fieldsIndex?.get("assetgroup")??!1,s=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,n=e.fieldsIndex?.get("assettype")?.name??"assettype",a=t.getGlobalId(),c=t.getObjectId(),h=r?!!t.getAttribute(s):!0,d=o?!!t.getAttribute(n):!0,u=!!t.geometry;if(a&&c&&h&&d&&(u||i))return t;let f=e.createQuery();return f.objectIds=[c],(await e.queryFeatures(f)).features[0]||null}async#g(t,e,i){let{traceLocations:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#m(t,e);if(!n)return this.#t("error",this._messages.errors.errorGeneratingTraceLocationDetails),!1;let a=r?.filter(h=>h.spatialProperties.mapGraphic?.getGlobalId()===s)??[];if(a.length>0){if(o!=="polyline")return this.#t("warn",this._messages.errors.duplicateTraceLocationDetails),!1;if(a.some(h=>Math.abs(h.traceLocation.percentAlong-n.traceLocation.percentAlong)<=this.spatialTolerance))return this.#t("warn",this._messages.errors.duplicateTraceLocationDetailsWithinTolerance),!1}let c=this.#y(t,e,i);return c?(n.spatialProperties.flagGraphic=c,r?.add(n),!0):(this.#t("warn",this._messages.errors.errorAdding),!1)}async#m(t,e){let{traceLocationType:i,utilityNetwork:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#f(t);if(o==="point"||o==="polygon"){let a=r?.getTerminalConfiguration(t),c=a?a.terminals[0].id:1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:c}),flagProperties:{title:n,expanded:!1,terminalConfiguration:a??void 0,selectedTerminals:a?new Set([c]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(o==="polyline"){let a=this.#n(t.geometry,e);return a<0?(l("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,percentAlong:a}),flagProperties:{title:n,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!o){let a=_(t.layer)?t.layer.parent:t.layer,c=a&&this.#c.includes(a.layerId),h=r?.getTerminalConfiguration(t),d=h?h.terminals[0].id:c?-1:1,u=c?.5:-1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:d,percentAlong:u}),flagProperties:{title:n,expanded:!1,terminalConfiguration:h??void 0,selectedTerminals:h?new Set([d]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#f(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#y(t,e,i){let r=t.geometry?t.geometry.type==="point"?t.geometry:e:null,s=this.#w(),o=new F({geometry:r,symbol:s,attributes:t.attributes});return i.graphics.add(o),o}#w(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new $({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new $({color:e,style:"square",size:12,outline:{color:e,width:0}}):new $({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#b(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#v(t,e){let{flagProperties:i}=t,{selectedTerminals:r}=i,{name:s,id:o}=e,n=r?.has(o)??!1;return p`<calcite-label layout=inline><calcite-checkbox .value=${o} .checked=${n} @calciteCheckboxChange=${a=>{a.target.checked?r?.add(o):r?.delete(o),this.requestUpdate()}}></calcite-checkbox>${s}</calcite-label>`}#k(){return p`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`}#L(t){let{traceLocation:e}=t;return p`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${e.isFilterBarrier} @calciteSwitchChange=${i=>{e.isFilterBarrier=i.target.checked}}></calcite-switch></div></calcite-label>`}#x(t){let{flagProperties:e}=t,{terminalConfiguration:i,selectedTerminals:r}=e,s=t.traceLocation.type==="barrier",o=i&&i.terminals.length>0&&r?.size===0;return p`<calcite-action .icon=${e.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{e.expanded=!e.expanded,this.requestUpdate()}}></calcite-action>${o&&p`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${e.expanded&&p`<div class="terminals" slot=content-bottom>${s&&this.#L(t)||""}${i&&this.#$(t)||""}${o&&this.#k()||""}</div>`||""}`}#$(t){let{flagProperties:e}=t,{terminalConfiguration:i}=e;if(!i)return l("warn",this,"One or more locations are missing the required flag property `terminalConfiguration`."),[];let r=i.terminals;return r.length?r.length===1?[]:r.map(s=>this.#v(t,s)):(l("warn",this,"`terminalConfiguration.terminals` is required but either missing or empty.`"),[])}#T(t){let{flagProperties:e}=t,{terminalConfiguration:i,expanded:r,title:s}=e,o=i&&i.id!==0,n=t.traceLocation.type==="barrier",a=o||n,c=i?.name??void 0;return p`<calcite-list-item .label=${s} .description=${c} .value=${s} .expanded=${r}>${a?this.#x(t):p`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this.#s(t)}></calcite-action></calcite-list-item>`}#M(t){if(!t.length)return null;let{traceLocationType:e}=this,i=t.map(s=>this.#T(s)).toArray(),r=W(this._messages.labels.list,{type:e});return p`<div><calcite-list interaction-mode=static selection-mode=none .label=${r}>${i}</calcite-list></div>`}#I(){let{traceLocationType:t,_messages:e,traceLocations:i,heading:r}=this,s=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r??s.heading,n=s.description,a=s.buttonText;return p`<calcite-block .heading=${o} .label=${o} expanded .description=${n}>${i?.length?p`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#b()}>${e.buttons.clear}</calcite-button>${this.#M(i)}`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${a} @click=${()=>this.#l()}>${a}</calcite-button></div></calcite-block>`}render(){return this.#I()}};S("arcgis-utility-network-trace-locations",T);return T},"core/Collection","geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","layers/GraphicsLayer","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol","widgets/Sketch/SketchViewModel","views/interactive/snapping/FeatureSnappingLayerSource","intl",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import"./H6RQVSYM.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import d from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import d from"./DL57EVZ4.js";import c from"./YU5BTZEI.js";import{a as w}from"./UMHGXP3S.js";import{a as u}from"./JD74LG7K.js";import"./QUZTFUWM.js";import{e as r}from"./WQMZ7BDQ.js";import{P as _,R as n,S as b,U as p,X as L,a as k,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([v,{a:f,b:z},{b:F,e:$,f:E}])=>{var I=k`.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)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;function C(h){return h?h.r*.299+h.g*.587+h.b*.114>=127:void 0}var x=class extends _{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3}static{this.properties={cssEffectFilter:1,stacked:7,activeLayerInfo:0,headingLevel:9,layer:0,legendElement:0,messages:0}}static{this.styles=I}_getBackgroundStyles(e){let i=e.symbol,t=i.color,l=!!t?.a,s="outline"in i?i.outline:null,c=!!s?.color?.a,o=l&&t?new v([t.r,t.g,t.b,t.a*this.layer.opacity]):new v([255,255,255,0]),d=c&&s.color?new v([s.color.r,s.color.g,s.color.b,s.color.a*this.layer.opacity]):new v([255,255,255,0]),m=C(e.symbol.color)??!0,g=m?"black":"white",y=m?"rgba(255, 255, 255, .6)":"rgba(0, 0, 0, .6)";return{background:l?o.toCss(!0):"none",color:g,textShadow:`-1px -1px 0 ${y},
|
|
3
3
|
1px -1px 0 ${y},
|
|
4
4
|
-1px 1px 0 ${y},
|
|
5
5
|
1px 1px 0 ${y}`,border:c?`1px solid ${d.toCss(!0)}`:"none",filter:this.cssEffectFilter??""}}render(){let e=this._renderLegendElement(),i=this.activeLayerInfo.legendElements.includes(this.legendElement),t=z(this.legendElement,this.messages),l=this.stacked&&i?a`<div class="carousel-title-container">${w({class:r("carousel-title",u.heading),level:this.headingLevel,children:this.activeLayerInfo.title})}${t?a`<p class="layer-caption">${t}</p>`:null}</div>`:t?w({class:r("section-title",u.heading),level:this.headingLevel,children:t}):null;return a`<section class="section" role=tabpanel tabindex=0>${l}${e}</section>`}_renderLegendElement(){switch(this.legendElement.type){case"symbol-table":return this._renderSymbolTable(this.legendElement);case"size-ramp":return a`<arcgis-legend-card-size-ramp .hasIndicators=${this.stacked} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-size-ramp>`;case"color-ramp":case"opacity-ramp":case"heatmap-ramp":case"stretch-ramp":return a`<arcgis-legend-card-color-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-color-ramp>`;case"relationship-ramp":return a`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;case"pie-chart-ramp":{let{preview:e}=this.legendElement;return E(e,this.messages.previewPieChartAriaLabel),a`<div class="pie-chart-ramp-preview">${e}</div>`}case"univariate-above-and-below-ramp":return a`<arcgis-legend-card-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-above-and-below-ramp>`;case"univariate-color-size-ramp":return a`<arcgis-legend-card-univariate-color-size-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-color-size-ramp>`;default:return null}}_renderSymbolTable(e){let i=e.infos.map(s=>this._renderElementInfo(s,e.legendType)).filter(Boolean);if(!i.length)return null;let t=e.infos.some(s=>"symbol"in s&&s.symbol?.type.includes("simple-fill")),l=this.activeLayerInfo.legendElements.some(({type:s})=>s==="relationship-ramp")?"relationship-container":t?"background-styles-container":"container";return a`<div class=${n(l)}>${i}</div>`}_renderElementInfo(e,i){let{layer:t}=this,l="label"in e?e.label:null;if("type"in e&&e.type)return a`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .headingLevel=${this.headingLevel} .layer=${t} .legendElement=${e} .messages=${this.messages} .stacked=${this.stacked}></arcgis-legend-card-element>`;if(!("preview"in e&&e.preview)&&!("src"in e&&e.src))return null;let s=F(t,i),c=f(this.messages,l,!1)||"";if("src"in e&&e.src){let o={"symbol-cell":this.stacked};return a`<div class=${n(r("layer-row",{"symbol-row":this.stacked}))}><div class=${n(r(o))}>${this._renderImage(e,t,s)}</div><div class=${n(r("image-label",{"label-cell":this.stacked}))}>${c}</div></div>`}if("symbol"in e&&e.preview){if(!e.symbol?.type.includes("simple-fill")){if(!e.label)return a`<div>${e.preview}</div>`;let o={"symbol-cell":this.stacked},{preview:d}=e,m="previewAriaLabel"in e?e.previewAriaLabel:null,g="label"in e?f(this.messages,e.label,!1):null;return E(d,$(this.messages,m||g)),a`<div class=${n(r("layer-row",{"symbol-row":this.stacked}))}><div class=${n(r(o))}>${d}</div><div class=${n(r("image-label",{"label-cell":this.stacked}))}>${c}</div></div>`}return a`<div class="layer-row"><div class="label-element" style=${b(this._getBackgroundStyles(e))}>${c}</div></div>`}return null}_renderImage(e,i,t){let{previewAriaLabel:l,src:s,opacity:c}=e,o=f(this.messages,e.label,!1),d={"imagery-layer-stretched-image":t,symbol:!t},m={opacity:`${c??i.opacity}`},g=$(this.messages,l||o);return a`<img alt=${g??p} .ariaLabel=${g} class=${n(r(d))} height=${e.height??void 0??p} src=${s??p} style=${b(m)} width=${e.width??void 0??p}>`}};L("arcgis-legend-card-element",x);return x},"Color",c,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
var d=Object.defineProperty;var e=(c,a)=>{for(var b in a)d(c,b,{get:a[b],enumerable:!0})};export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import d from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import d from"./WVRJQQKH.js";import{a as c}from"./KBHLE7HT.js";import b from"./TMJX7DFH.js";import{a as $}from"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{R as g,V as u,X as y,a as f,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{stripHTML:_},{formatNumber:A,substitute:F},{h:h},w])=>{var b=f`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,v="nested",m=class extends w{constructor(){super(...arguments),this._messagesFeature=$({name:"feature",blocking:!0}),this.autoDestroyDisabled=!1,this.displayCount=3,this.useFeatureNextFlowItem=!1,this.includeDefaultActions=!1,this.flowType="feature-utility-network-association-type"}static{this.properties={autoDestroyDisabled:5,description:1,displayCount:9,flowItems:0,useFeatureNextFlowItem:5,actions:0,includeDefaultActions:5,flowType:1,heading:1,map:0,messageOverrides:0,referenceElement:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}async destroy(){await this.manager.destroy()}_featureViewModelMatch(e,t){let i=e.graphic,s=i?.layer,o=null;h(s)&&s.parent?o=s.parent.globalIdField??null:s&&"globalIdField"in s&&(o=s.globalIdField);let r=o?i?.getAttribute(o):null,l=t.graphic,n=l?.layer,d=null;h(n)&&n.parent?d=n.parent.globalIdField??null:n&&"globalIdField"in n&&(d=n.globalIdField);let p=d?l?.getAttribute(d):null;return!!(r&&p&&r===p)}_findFlowItem(e){return this.flowItems?.findIndex(t=>{if(t.flowType!=="feature-association")return!1;let i=t.viewModel;return this._featureViewModelMatch(i,e)})??-1}_formatPercentAlong(e){let{percentAlong:t}=e;return t==null?"":A(t,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(e,t,i){let{flowItems:s}=this;if(e){s?.destroyAll();return}if(t<0||!s){await this._selectAssociation(i);return}for(;s.length>t+1;)s.pop()}_isConnectivityAssociation(e){let{associationType:t}=e;return t==="connectivity"||t==="junction-junction-connectivity"||t==="junction-edge-from-connectivity"||t==="junction-edge-midspan-connectivity"||t==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(e){return e.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(e){let t=this.flowItems?.getItemAt(0);if(!t)return!1;let i=t.parentFeatureViewModel;return this._featureViewModelMatch(i,e)}async _selectAssociation(e){let{flowItems:t}=this;if(!t)return;let i=this.useFeatureNextFlowItem?u(c(this.parentFeatureViewModel,a`<arcgis-feature-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .includeDefaultActions=${this.includeDefaultActions} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`)):u(c(this.parentFeatureViewModel,a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`));t.push(i)}_showAllAssociations(e){let{flowItems:t,description:i}=this;if(!t||!e)return;this.showAllEnabled=!0;let s=e?.title??"";t.push(u(a`<arcgis-feature-utility-network-association-list .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${i} .flowItems=${t} .flowType=${this.flowType} .heading=${s} .includeDefaultActions=${this.includeDefaultActions} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:e,state:t}=this,i=this.selectedLayer?.title??this._messagesFeature.noTitle??"";return a`<div class="root">${t==="loading"||t==="querying"?this._renderLoading():a`<calcite-list .displayMode=${v} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this._messages.associationFilterPlaceholder} .filterPlaceholder=${this._messages.associationFilterPlaceholder} .label=${i}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(e.keys(),s=>this._renderTypeList(s))}</calcite-list>`}</div>`}_renderAssociatedFeature(e){let{featureViewModel:t,title:i}=e,s=this.state==="loading",o=this._findFlowItem(t),r=o<0&&this._isParentFeature(t),l=r||o>=0,n=`associated-feature-${e.association.globalId}`;return a`<calcite-list-item class=${g(s?"list-item--hidden":"")} .description=${_(e.terminalName??"")} .label=${_(i)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(r,o,t)}>${this._isConnectivityAssociation(e.association)?this._renderConnectivityIcon(e.association.associationType,n):null}${this._isConnectivityMidspanAssociation(e.association)?a`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>`:null}${this._renderChevronIconNode(l)}</calcite-list-item>`}_renderAssociatedFeatureList(e){return e.toArray().map(t=>this._renderAssociatedFeature(t))}_renderAssociatedFeatureListPage(){let e=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(e),...this._renderAssociatedFeatureList(e)]}_renderChevronIconNode(e){return a`<calcite-icon flip-rtl .icon=${e?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(e){let{tooltipReferenceMap:t}=this,i=`associated-feature-${e.association.globalId}`;return this._isConnectivityAssociation(e.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(i)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(e){let{displayCount:t}=this,i=this.associationViewModels.get(e),s=i.slice(0,t),o=s.length<i.length,r=F(this._messagesFeature.numberRecords??"",{number:i.length.toString()}),l=this._messagesFeature.showAll??"";return c("show-all",a`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title??""}>${[this._renderTooltips(s),this._renderAssociatedFeatureList(s)]}${o?c("show-all-item",a`<calcite-list-item .description=${r} .label=${l} @calciteListItemSelect=${()=>this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(e){return e.toArray().map(t=>this._renderItemTooltip(t))}};y("arcgis-feature-utility-network-association-list",m);return m},"applications/Components/stringUtils","intl",b,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{g as p}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{g as p}from"./Y4WOZJQX.js";import{a as g}from"./D47546HM.js";import a from"./TMJX7DFH.js";import{a as $}from"./WEAGLY7B.js";import{h as C}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{B as w,N as v,O as f,P as G,U as R,X as b,a as y,b as l,n as s,p as o,r as h,x as u}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,k,x,S,z,E,{b:n,f:L}])=>{var M=y`.aggregated-geometry-container{display:flex;align-items:center;justify-content:space-between}.geometry-heading{margin:0 0 var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`,m=class extends G{constructor(){super(...arguments),this._messages=$({blocking:!0}),this.#r=`aggregated-geometry-graphics-${w()}`,this.#e=v(),this.autoDestroyDisabled=!1,this.emitsArcgisResultReady=!0,this.geometryGraphics=[],this.graphicsColor=new c(g),this.hideGraphics=!1,this.selectionSize=12,this.state="ready",this.arcgisPropertyChange=C()("hideGraphics","geometryGraphics","graphicsColor","selectionSize","state"),this.arcgisResultReady=u()}static{this.properties={autoDestroyDisabled:5,emitsArcgisResultReady:32,geometryGraphics:32,graphicsColor:[1,{converter:{fromAttribute:e=>c.fromString(e)??new c(g)}}],graphicsLayer:0,heading:1,hideGraphics:5,messageOverrides:0,selectionSize:9,state:32,traceResult:32,view:32}}static{this.styles=M}#r;#t;#e;get#a(){let{parentElement:e}=this.el;if(e&&p(e))return e;let t=this.el.getRootNode();if(t instanceof ShadowRoot&&p(t.host))return t.host}clearResult(){this.#e.value&&(this.#e.value.open=!1);let{graphicsLayer:e}=this;e&&(e.removeMany(this.geometryGraphics),e===this.#t&&(this.view?.map?.remove(e),this.graphicsLayer=void 0,this.#t=void 0)),s(()=>this.geometryGraphics=[]),s(()=>this.state="ready")}async destroy(){try{this.clearResult()}finally{await this.manager.destroy()}}connectedCallback(){super.connectedCallback(),this.view&&this.graphicsLayer&&n(this.view,this.graphicsLayer)}load(){this.manager.onLifecycle(()=>{let e=this.#a;if(!e){o("warn",this,"This component must be used as a child of `arcgis-utility-network-trace-results`.");return}let t=i=>this.#h(i);return e.addEventListener("arcgisPropertyChange",t),s(()=>{this.traceResult=e.traceResult,this.view=e.view}),()=>{e.removeEventListener("arcgisPropertyChange",t)}}),this.traceResult&&this.#s()}willUpdate(e){if(e.has("traceResult")&&this.#s(),e.has("view")){let t=e.get("view");t?.map&&this.graphicsLayer&&t.map.remove(this.graphicsLayer),this.#s()}e.has("graphicsLayer")&&this.#p(e.get("graphicsLayer")),e.has("hideGraphics")&&this.#g(),(e.has("graphicsColor")||e.has("selectionSize"))&&this.#m()}loaded(){this.traceResult&&(this.traceResult.aggregatedGeometry||o("warn",this,h("traceResult.aggregatedGeometry")),this.view?this.view.map||o("error",this,h("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")):o("error",this,h("view")))}#i(){if(!this.graphicsLayer)return;let e=this.geometryGraphics.filter(t=>!this.graphicsLayer.graphics.includes(t));this.graphicsLayer.addMany(e)}#h(e){if(e.target!==this.#a)return;let{target:t}=e;switch(e.detail.name){case"traceResult":s(()=>this.traceResult=t.traceResult);break;case"view":s(()=>this.view=t.view);break}}#c(e){let{line:t,multipoint:i,polygon:r}=e;s(()=>{this.geometryGraphics=[t,i,r].filter(a=>a!=null).map(a=>this.#n(a))})}#l(e){let t=this.#r,i=e.map?.findLayerById(t);return i&&L(i)?i:new x({id:t,listMode:"hide",title:t})}#n(e){return new k({geometry:e,symbol:this.#o(e)})}#o(e){let{selectionSize:t,graphicsColor:i}=this;switch(e.type){case"multipoint":return new E({color:i,size:t,outline:{color:i,width:0}});case"polygon":return new S({color:i,outline:{color:i,width:t}});case"polyline":return new z({color:i,width:t})}}#g(){this.hideGraphics?(this.graphicsLayer?.removeMany(this.geometryGraphics),this.#e.value?.open&&(this.#e.value.open=!1)):this.#i()}#p(e){e?.removeMany(this.geometryGraphics),this.hideGraphics||this.#i()}#s(){this.clearResult();let e=()=>{s(()=>this.state="ready"),this.arcgisResultReady.emit()};if(!this.traceResult?.aggregatedGeometry||!this.view?.map){e();return}s(()=>this.state="loading"),this.#c(this.traceResult.aggregatedGeometry),this.graphicsLayer||(this.graphicsLayer=this.#l(this.view),this.#t=this.graphicsLayer,n(this.view,this.graphicsLayer)),this.hideGraphics||this.#i(),e()}#m(){this.geometryGraphics.forEach(e=>{let t=e.geometry;e.symbol=this.#o(t)})}render(){if(!this.traceResult?.aggregatedGeometry)return null;let{graphicsColor:e,heading:t,hideGraphics:i,_messages:r}=this;return l`${t&&l`<div class="geometry-heading">${t}</div>`||""}<div class="aggregated-geometry-container"><calcite-switch .checked=${!i} .label=${r.labels.showGraphicsToggle} label-text-end=${r.showGraphics??R} @calciteSwitchChange=${()=>this.hideGraphics=!this.hideGraphics}></calcite-switch><calcite-swatch .color=${e.toCss()} .disabled=${i} id=geometry-color-swatch .label=${r.labels.aggregatedGeometryGraphicsColor}></calcite-swatch><calcite-popover closable .heading=${r.headings.setColor} .label=${r.headings.setColor} reference-element=geometry-color-swatch ${f(this.#e)}><calcite-color-picker alpha-channel channels-disabled clearable .disabled=${i} hex-disabled saved-disabled .value=${e.toCss(!0)} @calciteColorPickerChange=${a=>{let d=a.target.value;d&&(this.graphicsColor=new c(d))}}></calcite-color-picker></calcite-popover></div>`}};b("arcgis-utility-network-trace-aggregated-geometry-result-item",m);return m},"Color","Graphic","layers/GraphicsLayer","symbols/SimpleFillSymbol","symbols/SimpleLineSymbol","symbols/SimpleMarkerSymbol",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as vt}from"./PZZU36OG.js";import{D as _t,E as q,P as at,R as ft,S as xt,c as M,ga as ct,i as w,j as v,ja as bt,k as T,l as mt,m as ht,n as dt,o as et,qa as ut,ra as lt,sa as kt}from"./UUNHAVGJ.js";import{P as R,a as z,u as C}from"./4ZLIA5OM.js";import{a as gt,b as tt,d as D,e as f}from"./ND3V4Z4F.js";import{W,X as yt,g as Y,o as k}from"./MQYTZX24.js";import"./TAVTDQ6S.js";var it=class extends yt{setupDefaultRules(){super.setupDefaultRules();let e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:kt.new(this._root,{}),width:D,height:D}),t("PieChart").setAll({radius:tt(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{let i=t("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),xt(i,"fill",e,"alternativeBackground")}}};var $=class extends ut{_afterNew(){this._defaultThemes.push(it.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};$.className="PercentChart";$.classNames=ut.classNames.concat([$.className]);var L=class extends ct{constructor(){super(...arguments),this.slicesContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(e=!1){let t=this.get("colors");return t&&t.reset(),super._applyThemes(e)}makeSlice(e){let t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),this._linkSprite(t,e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){let t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){let t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_placeBulletsContainer(){this.children.moveValue(this.bulletsContainer)}_onDataClear(){let e=this.get("colors");e&&e.reset();let t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,i=0,s=1/0,a=0;k(this._dataItems,l=>{let r=l.get("valueWorking",0);e+=r,t+=Math.abs(r)}),k(this._dataItems,l=>{let r=l.get("valueWorking",0);r>i&&(i=r),r<s&&(s=r),a++;let n=r/t;t==0&&(n=0),l.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/a),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){let t=Object.create(null,{show:{get:()=>super.show}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.show.call(this,e)),i.push(this._sequencedShowHide(!0,e)),yield Promise.all(i)})}hide(e){let t=Object.create(null,{hide:{get:()=>super.hide}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.hide.call(this,e)),i.push(this._sequencedShowHide(!1,e)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&k(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&k(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),k(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,e,t)];Y(t)||(t=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=e.get("value"),r=e.animate({key:"valueWorking",to:l,duration:t,easing:a});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.show(t));let u=e.get("label");u&&s.push(u.show(t));let o=e.get("slice");o&&s.push(o.show(t)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,e,t)],a=this.states.create("hidden",{});Y(t)||(t=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=e.animate({key:"valueWorking",to:0,duration:t,easing:l});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.hide(t));let u=e.get("label");u&&s.push(u.hide(t));let o=e.get("slice");o.hideTooltip(),o&&s.push(o.hide(t)),yield Promise.all(s)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let i=e.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=e.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(e){let t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){let t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){let t=e.get("slice");if(t){let i=e.get("legendDataItem");if(i){let s=i.get("markerRectangle");k(_t,a=>{t.get(a)!=null&&s.set(a,t.get(a))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.top;i.y+a<t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.bottom;i.y+a>t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.top})}}_arrangeRight(e){if(e){let t=0;e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.left;i.y+a<t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.right;i.y+a>t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();let e=this.chart;e&&e.series.removeValue(this)}};L.className="PercentSeries";L.classNames=ct.classNames.concat([L.className]);var G=class extends ${constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_processSeries(e){super._processSeries(e),this.series.each(t=>{t._markDirtyKey("innerRadius")})}_prepareChildren(){super._prepareChildren();let e=this.chartContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.get("startAngle",0),a=this.get("endAngle",0),l=this.get("innerRadius"),r=ht(0,0,s,a,1),n=t/(r.right-r.left),u=i/(r.bottom-r.top),o={left:0,right:0,top:0,bottom:0};if(l instanceof gt){let p=l.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,t))/g,o=ht(0,0,s,a,p),this.setPrivateRaw("irModifyer",p/l.value)}r=dt([r,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=C(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(r.bottom+r.top)/2,dx:-h*(r.right+r.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(e){let t=C(this.get("radius",0),this._maxRadius),i=C(this.get("innerRadius",0),t);if(e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("radius");return l!=null?i+C(l,t-i):i+(t-i)/a*(s+1)}return t}innerRadius(e){let t=this.radius(),i=C(this.get("innerRadius",0),t);if(i<0&&(i=t+i),e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("innerRadius");return l!=null?i+C(l,t-i):i+(t-i)/a*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};G.className="PieChart";G.classNames=$.classNames.concat([G.className]);var U=class extends L{_makeSlices(){return new M(W.new({}),()=>vt._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>bt._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});let i=this.makeLabel(e);i.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t._setC("textType","aligned");else{let i=t.get("textType");(i==null||i=="aligned")&&t._setC("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let t=this.get("startAngle",e.get("startAngle",-90)),s=this.get("endAngle",e.get("endAngle",270))-t,a=t,l=e.radius(this);this.setPrivateRaw("radius",l);let r=e.innerRadius(this)*e.getPrivate("irModifyer",1);r<0&&(r=l+r),k(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",l),o.set("innerRadius",r),o.set("startAngle",a),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=mt(a+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",l),h.setPrivate("innerRadius",r),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=l+h.get("radius",0),g=l*w(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",D),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",l*w(m))}a+=u,this._updateTick(n)})}}}_updateTick(e){let t=e.get("tick"),i=e.get("label"),s=e.get("slice"),a=t.get("location",1);if(t&&i&&s){let l=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*a,r=i.get("labelAngle",0),n=T(r),u=w(r),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),x=i.get("labelAngle",0);p=y*T(x),g=y*w(x)}let d=-h;i.getPrivate("left")&&(d=m),c=[{x:s.x()+l*n,y:s.y()+l*u},{x:p+d,y:g},{x:p,y:g}]}t.set("points",c)}}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.get("innerRadius",0),l=s.get("radius",0),r=s.get("startAngle",0),n=s.get("arc",0),u=e.get("locationX",.5),o=e.get("locationY",.5),m=r+n*u,h=a+(l-a)*o;t.setAll({x:T(m)*h,y:w(m)*h})}}}};U.className="PieSeries";U.classNames=L.classNames.concat([U.className]);var V=class extends q{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",e=>{let t=this.width(),i=this.height(),s=Math.min(t,i)/2,a=C(this.get("cornerRadiusTL",0),s),l=C(this.get("cornerRadiusTR",0),s),r=C(this.get("cornerRadiusBR",0),s),n=C(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,d=this._bly;o==h&&(o=o-.01),g==d&&(g=g-.01);let y=et({x:m,y:h},{x:u,y:o}),x=et({x:u,y:o},{x:p,y:g}),b=et({x:p,y:g},{x:c,y:d}),_=et({x:c,y:d},{x:m,y:h});this.get("orientation")=="horizontal"?(a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(h-o)/2),r=Math.min(r,Math.abs(d-g)/2),n=Math.min(n,Math.abs(d-g)/2)):(a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(m-u)/2),r=Math.min(r,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let A=m-a*v((y-_)/2)*T(_),P=h-a*v((y-_)/2)*w(_),F=m-a*v((_-y)/2)*T(y),Z=h-a*v((_-y)/2)*w(y),N=u-l*v((x-y)/2)*T(y),nt=o-l*v((x-y)/2)*w(y),B=u-l*v((y-x)/2)*T(x),O=o-l*v((y-x)/2)*w(x),J=p-r*v((b-x)/2)*T(x),j=g-r*v((b-x)/2)*w(x),Q=p-r*v((x-b)/2)*T(b),I=g-r*v((x-b)/2)*w(b),pt=c-n*v((_-b)/2)*T(b),st=d-n*v((_-b)/2)*w(b),ot=c-n*v((b-_)/2)*T(_),Tt=d-n*v((b-_)/2)*w(_);e.moveTo(F,Z),e.lineTo(N,nt),e.arcTo(u,o,B,O,l),e.quadraticCurveTo(this._cprx,this._cpry,J,j),e.arcTo(p,g,Q,I,r),e.lineTo(pt,st),e.arcTo(c,d,ot,Tt,n),e.quadraticCurveTo(this._cplx,this._cply,A,P),e.arcTo(m,h,F,Z,a)})}getPoint(e,t){let i=this.width(),s=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*t,h=n+(u-n)*t;return{x:m+(h-m)*e,y:s*t}}else{let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*e,h=n+(u-n)*e;return{x:i*e,y:m+(h-m)*t}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")||this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL")){let e=this.width(),t=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=t,this._blx=-s/2,this._bly=t,this._cprx=this._trx+(this._brx-this._trx)/2+a*t,this._cpry=this._try+.5*t,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*t,this._cply=this._tly+.5*t):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=e,this._bly=s/2,this._blx=e,this._cpry=this._try+(this._bry-this._try)/2-a*e,this._cprx=this._trx+.5*e,this._cply=this._tly+(this._bly-this._tly)/2+a*e,this._cplx=this._tlx+.5*e)}super._changed()}};V.className="FunnelSlice";V.classNames=q.classNames.concat([V.className]);var H=class extends L{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>ft._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(e){let t=this.slicesContainer.children.push(this.links.make());return t._setDataItem(e),e.set("link",t),this.links.push(t),t}_afterNew(){super._afterNew();let e=this.slicesContainer;e.setAll({isMeasured:!0,position:"relative",width:tt(100),height:tt(100)}),e.onPrivate("width",()=>{this.markDirtySize()}),e.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this._setC("layout",this._root.horizontalLayout):this._setC("layout",this._root.verticalLayout)}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t._setDataItem(e),e.set("slice",t),this.makeLink(e);let i=this.makeLabel(e);i.on("x",()=>{this._updateTick(e)}),i.on("y",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()}),t.events.on("boundschanged",()=>{let s=t.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let e=0,t=0;if(k(this.dataItems,i=>{let s=i.get("value");Y(s)&&(t++,s>0?e+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?t--:e+=1)}),this._total=1/t*e,this._count=t,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty||this.isDirty("bottomRatio")||this.isDirty("startLocation")||this.isDirty("endLocation"))){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let a=0;k(this._dataItems,l=>{this.updateLegendValue(l),l.set("index",a),a++;let r=l.get("slice"),n=l.get("tick"),u=l.get("label"),o=l.get("link"),m=l.get("fill"),h=l.get("fillPattern");r._setDefault("fill",m),r._setDefault("stroke",m),r._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=l.get("value");Y(p)&&(p==0&&this.get("ignoreZeroValues")?(r.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(r.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(l),this.isLast(l)?o.setPrivate("visible",!1):l.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let e=this.get("orientation"),t=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(t._setC("position","relative"),t._setCAll({isMeasured:!0}),e=="vertical"?(this._setC("layout",this._root.horizontalLayout),i._setCAll({centerX:D,x:D})):(this._setC("layout",this._root.verticalLayout),i._setCAll({centerX:0,x:0}))):(t._setCAll({isMeasured:!1,position:"absolute"}),e=="vertical"?(t._setCAll({x:f}),i._setCAll({centerX:f,x:0})):(t._setCAll({y:f}),i._setCAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(e){let t=e.get("index"),i=e.get("valueWorking",0);if(t<this.dataItems.length-1){let s=this.dataItems[t+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(e){let t=e.get("index");if(t==this.dataItems.length-1)return!0;for(let i=t+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(e){let t=this.get("orientation"),i=e.get("slice"),s=e.get("label"),a=e.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),u=r;t=="horizontal"&&(u=n);let o=this.getNextValue(e),m=e.get("value",0),h=Math.abs(e.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):e.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let d=h/g*u,y=(h-(h-o)*p)/g*u;i._setCAll({topWidth:d,bottomWidth:y,orientation:t}),a._setCAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:t});let x=this.get("startLocation",0),b=this.get("endLocation",1);if(t=="vertical"){let _=a.height()*c;n=n*(b-x)+_,i._setC("y",this._nextCoord);let A=Math.min(1e5,Math.max(0,n/this._count*c/this._total-_));i._setCAll({height:A,x:r/2});let P=this._nextCoord+A/2;s._setC("y",P),this._nextCoord+=A+_,a._setCAll({y:this._nextCoord-_,x:r/2})}else{let _=a.width()*c;r=r*(b-x)+_,i._setC("x",this._nextCoord);let A=Math.min(1e5,Math.max(0,r/this._count*c/this._total-_));i._setCAll({width:A,y:n/2});let P=this._nextCoord+A/2;s._setC("x",P),this._nextCoord+=A+_,a._setCAll({x:this._nextCoord-_,y:n/2})}}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").hide(t),i.hideDataItem.call(this,e,t)})}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").show(t),i.showDataItem.call(this,e,t)})}_updateTick(e){if(this.get("alignLabels")){let t=e.get("tick"),i=e.get("label"),s=e.get("slice");if(t&&s&&i){let a=this.labelsContainer,l=this.slicesContainer,r=t.get("location",.5),n=a.width(),u=a.height(),o=a.get("paddingLeft",0),m=a.get("paddingRight",0),h=a.get("paddingTop",0),p=a.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},d={x:0,y:0};this._opposite&&(r=1-r),this.get("orientation")=="vertical"?(g=s.getPoint(r,.5),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.x=n,c.y=i.y(),d.x=n-o,d.y=c.y):(c.x=l.x()+l.width(),c.y=i.y(),d.x=c.x+n-i.width()-m,d.y=c.y)):(g=s.getPoint(.5,r),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.y=u,c.x=i.x(),d.y=u-h,d.x=c.x):(c.y=l.y()+l.height(),c.x=i.x(),d.y=c.y+u-i.height()-p,d.x=c.x)),t.set("points",[g,c,d])}}}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("link");t&&(this.links.removeValue(t),t.dispose())}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.getPoint(e.get("locationX",.5),e.get("locationY",.5));t.setAll({x:s.x()+a.x,y:s.y()+a.y})}}}};H.className="FunnelSeries";H.classNames=L.classNames.concat([H.className]);var X=class extends H{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0,(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("valueIs"))&&(this._valuesDirty=!0)}decorateSlice(e){let t=this.get("orientation"),i=this.slicesContainer,s=e.get("slice"),a=e.get("label"),l=e.get("link"),r=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",D),p=Math.abs(e.get("valueWorking",0)),g=e.get("value",0),c,d,y=i.innerHeight(),x=i.innerWidth(),b=l.width(),_=l.height();t=="horizontal"&&([x,y]=[y,x],[b,_]=[_,b]);let A=x/2,P=1;g!=0?P=p/Math.abs(g):e.isHidden()&&(P=1e-6),_*=P,y=y*(o-u)-_*(this._count*this._total-1);let F=C(m,x);Y(this._nextSize)||(this._nextSize=F);let Z=C(h,x),N=this._nextSize,nt=Math.atan2(y,F-Z),B=Math.tan(Math.PI/2-nt);if(B==0&&(B=1e-8),r=="area"){let st=(F+Z)/2*y*p/n,ot=Math.abs(N*N-2*st*B);c=(N-Math.sqrt(ot))/B,c>0?d=(2*st-c*N)/c:d=N}else c=y*p/n,d=N-c*B;let O=this._nextCoord+c/2,J=A,j=this._nextCoord,Q=A,I=j+c;t=="vertical"?(a.set("y",O),a.get("opacity")>0&&this._rLabels.push({label:a,y:O}),s.set("height",c)):(a.set("x",O),a.get("opacity")>0&&this._hLabels.push({label:a,y:O}),[J,j]=[j,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:t,bottomWidth:d,topWidth:N,x:J,y:j}),l.setAll({orientation:t,x:Q,y:I,topWidth:d,bottomWidth:d}),this._nextSize=d,this._nextCoord+=c+_}};X.className="PyramidSeries";X.classNames=H.classNames.concat([X.className]);var K=class extends X{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f}),this.seriesGraphics=this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f})._markC("themeTags","position","x","y","centerX","centerY"))}_afterNew(){super._afterNew(),this._setC("topWidth",D),this._setC("bottomWidth",D),this._setC("valueIs","height"),this.slicesContainer._setC("mask",this.seriesMask)}_updateScale(){let e=this.slicesContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.seriesMask,a=this.seriesGraphics,l=s.get("scale",1),r=s.localBounds(),n=r.right-r.left,u=r.bottom-r.top;this.get("orientation")=="horizontal"?l=t/n:l=i/u,l!=1/0&&!Number.isNaN(l)&&(s.set("scale",l),s.set("x",t/2),s.set("y",i/2),a._setC("scale",l),a._setC("x",t/2),a._setC("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let e=this.get("svgPath");this.seriesMask.set("svgPath",e),this.seriesGraphics._setC("svgPath",e)}this._updateScale()}};K.className="PictorialStackedSeries";K.classNames=X.classNames.concat([K.className]);var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};E.className="SlicedChart";E.classNames=$.classNames.concat([E.className]);export{it as DefaultTheme,H as FunnelSeries,V as FunnelSlice,$ as PercentChart,L as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,X as PyramidSeries,E as SlicedChart};
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{a as vt}from"./QMQV37ML.js";import{D as _t,E as q,P as at,R as ft,S as xt,c as M,ga as ct,i as w,j as v,ja as bt,k as T,l as mt,m as ht,n as dt,o as et,qa as ut,ra as lt,sa as kt}from"./TZHXSIXK.js";import{P as R,a as z,u as C}from"./PLTLRYBF.js";import{a as gt,b as tt,d as D,e as f}from"./T2DT5I33.js";import{W,X as yt,g as Y,o as k}from"./6NWR2Z4F.js";import"./H6RQVSYM.js";var it=class extends yt{setupDefaultRules(){super.setupDefaultRules();let e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:kt.new(this._root,{}),width:D,height:D}),t("PieChart").setAll({radius:tt(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{let i=t("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),xt(i,"fill",e,"alternativeBackground")}}};var $=class extends ut{_afterNew(){this._defaultThemes.push(it.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};$.className="PercentChart";$.classNames=ut.classNames.concat([$.className]);var L=class extends ct{constructor(){super(...arguments),this.slicesContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(e=!1){let t=this.get("colors");return t&&t.reset(),super._applyThemes(e)}makeSlice(e){let t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),this._linkSprite(t,e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){let t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){let t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_placeBulletsContainer(){this.children.moveValue(this.bulletsContainer)}_onDataClear(){let e=this.get("colors");e&&e.reset();let t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,i=0,s=1/0,a=0;k(this._dataItems,l=>{let r=l.get("valueWorking",0);e+=r,t+=Math.abs(r)}),k(this._dataItems,l=>{let r=l.get("valueWorking",0);r>i&&(i=r),r<s&&(s=r),a++;let n=r/t;t==0&&(n=0),l.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/a),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){let t=Object.create(null,{show:{get:()=>super.show}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.show.call(this,e)),i.push(this._sequencedShowHide(!0,e)),yield Promise.all(i)})}hide(e){let t=Object.create(null,{hide:{get:()=>super.hide}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.hide.call(this,e)),i.push(this._sequencedShowHide(!1,e)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&k(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&k(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),k(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,e,t)];Y(t)||(t=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=e.get("value"),r=e.animate({key:"valueWorking",to:l,duration:t,easing:a});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.show(t));let u=e.get("label");u&&s.push(u.show(t));let o=e.get("slice");o&&s.push(o.show(t)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,e,t)],a=this.states.create("hidden",{});Y(t)||(t=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=e.animate({key:"valueWorking",to:0,duration:t,easing:l});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.hide(t));let u=e.get("label");u&&s.push(u.hide(t));let o=e.get("slice");o.hideTooltip(),o&&s.push(o.hide(t)),yield Promise.all(s)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let i=e.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=e.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(e){let t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){let t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){let t=e.get("slice");if(t){let i=e.get("legendDataItem");if(i){let s=i.get("markerRectangle");k(_t,a=>{t.get(a)!=null&&s.set(a,t.get(a))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.top;i.y+a<t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.bottom;i.y+a>t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.top})}}_arrangeRight(e){if(e){let t=0;e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.left;i.y+a<t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.right;i.y+a>t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();let e=this.chart;e&&e.series.removeValue(this)}};L.className="PercentSeries";L.classNames=ct.classNames.concat([L.className]);var G=class extends ${constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_processSeries(e){super._processSeries(e),this.series.each(t=>{t._markDirtyKey("innerRadius")})}_prepareChildren(){super._prepareChildren();let e=this.chartContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.get("startAngle",0),a=this.get("endAngle",0),l=this.get("innerRadius"),r=ht(0,0,s,a,1),n=t/(r.right-r.left),u=i/(r.bottom-r.top),o={left:0,right:0,top:0,bottom:0};if(l instanceof gt){let p=l.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,t))/g,o=ht(0,0,s,a,p),this.setPrivateRaw("irModifyer",p/l.value)}r=dt([r,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=C(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(r.bottom+r.top)/2,dx:-h*(r.right+r.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(e){let t=C(this.get("radius",0),this._maxRadius),i=C(this.get("innerRadius",0),t);if(e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("radius");return l!=null?i+C(l,t-i):i+(t-i)/a*(s+1)}return t}innerRadius(e){let t=this.radius(),i=C(this.get("innerRadius",0),t);if(i<0&&(i=t+i),e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("innerRadius");return l!=null?i+C(l,t-i):i+(t-i)/a*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};G.className="PieChart";G.classNames=$.classNames.concat([G.className]);var U=class extends L{_makeSlices(){return new M(W.new({}),()=>vt._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>bt._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});let i=this.makeLabel(e);i.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t._setC("textType","aligned");else{let i=t.get("textType");(i==null||i=="aligned")&&t._setC("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let t=this.get("startAngle",e.get("startAngle",-90)),s=this.get("endAngle",e.get("endAngle",270))-t,a=t,l=e.radius(this);this.setPrivateRaw("radius",l);let r=e.innerRadius(this)*e.getPrivate("irModifyer",1);r<0&&(r=l+r),k(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",l),o.set("innerRadius",r),o.set("startAngle",a),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=mt(a+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",l),h.setPrivate("innerRadius",r),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=l+h.get("radius",0),g=l*w(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",D),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",l*w(m))}a+=u,this._updateTick(n)})}}}_updateTick(e){let t=e.get("tick"),i=e.get("label"),s=e.get("slice"),a=t.get("location",1);if(t&&i&&s){let l=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*a,r=i.get("labelAngle",0),n=T(r),u=w(r),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),x=i.get("labelAngle",0);p=y*T(x),g=y*w(x)}let d=-h;i.getPrivate("left")&&(d=m),c=[{x:s.x()+l*n,y:s.y()+l*u},{x:p+d,y:g},{x:p,y:g}]}t.set("points",c)}}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.get("innerRadius",0),l=s.get("radius",0),r=s.get("startAngle",0),n=s.get("arc",0),u=e.get("locationX",.5),o=e.get("locationY",.5),m=r+n*u,h=a+(l-a)*o;t.setAll({x:T(m)*h,y:w(m)*h})}}}};U.className="PieSeries";U.classNames=L.classNames.concat([U.className]);var V=class extends q{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",e=>{let t=this.width(),i=this.height(),s=Math.min(t,i)/2,a=C(this.get("cornerRadiusTL",0),s),l=C(this.get("cornerRadiusTR",0),s),r=C(this.get("cornerRadiusBR",0),s),n=C(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,d=this._bly;o==h&&(o=o-.01),g==d&&(g=g-.01);let y=et({x:m,y:h},{x:u,y:o}),x=et({x:u,y:o},{x:p,y:g}),b=et({x:p,y:g},{x:c,y:d}),_=et({x:c,y:d},{x:m,y:h});this.get("orientation")=="horizontal"?(a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(h-o)/2),r=Math.min(r,Math.abs(d-g)/2),n=Math.min(n,Math.abs(d-g)/2)):(a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(m-u)/2),r=Math.min(r,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let A=m-a*v((y-_)/2)*T(_),P=h-a*v((y-_)/2)*w(_),F=m-a*v((_-y)/2)*T(y),Z=h-a*v((_-y)/2)*w(y),N=u-l*v((x-y)/2)*T(y),nt=o-l*v((x-y)/2)*w(y),B=u-l*v((y-x)/2)*T(x),O=o-l*v((y-x)/2)*w(x),J=p-r*v((b-x)/2)*T(x),j=g-r*v((b-x)/2)*w(x),Q=p-r*v((x-b)/2)*T(b),I=g-r*v((x-b)/2)*w(b),pt=c-n*v((_-b)/2)*T(b),st=d-n*v((_-b)/2)*w(b),ot=c-n*v((b-_)/2)*T(_),Tt=d-n*v((b-_)/2)*w(_);e.moveTo(F,Z),e.lineTo(N,nt),e.arcTo(u,o,B,O,l),e.quadraticCurveTo(this._cprx,this._cpry,J,j),e.arcTo(p,g,Q,I,r),e.lineTo(pt,st),e.arcTo(c,d,ot,Tt,n),e.quadraticCurveTo(this._cplx,this._cply,A,P),e.arcTo(m,h,F,Z,a)})}getPoint(e,t){let i=this.width(),s=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*t,h=n+(u-n)*t;return{x:m+(h-m)*e,y:s*t}}else{let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*e,h=n+(u-n)*e;return{x:i*e,y:m+(h-m)*t}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")||this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL")){let e=this.width(),t=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=t,this._blx=-s/2,this._bly=t,this._cprx=this._trx+(this._brx-this._trx)/2+a*t,this._cpry=this._try+.5*t,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*t,this._cply=this._tly+.5*t):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=e,this._bly=s/2,this._blx=e,this._cpry=this._try+(this._bry-this._try)/2-a*e,this._cprx=this._trx+.5*e,this._cply=this._tly+(this._bly-this._tly)/2+a*e,this._cplx=this._tlx+.5*e)}super._changed()}};V.className="FunnelSlice";V.classNames=q.classNames.concat([V.className]);var H=class extends L{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>ft._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(e){let t=this.slicesContainer.children.push(this.links.make());return t._setDataItem(e),e.set("link",t),this.links.push(t),t}_afterNew(){super._afterNew();let e=this.slicesContainer;e.setAll({isMeasured:!0,position:"relative",width:tt(100),height:tt(100)}),e.onPrivate("width",()=>{this.markDirtySize()}),e.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this._setC("layout",this._root.horizontalLayout):this._setC("layout",this._root.verticalLayout)}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t._setDataItem(e),e.set("slice",t),this.makeLink(e);let i=this.makeLabel(e);i.on("x",()=>{this._updateTick(e)}),i.on("y",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()}),t.events.on("boundschanged",()=>{let s=t.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let e=0,t=0;if(k(this.dataItems,i=>{let s=i.get("value");Y(s)&&(t++,s>0?e+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?t--:e+=1)}),this._total=1/t*e,this._count=t,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty||this.isDirty("bottomRatio")||this.isDirty("startLocation")||this.isDirty("endLocation"))){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let a=0;k(this._dataItems,l=>{this.updateLegendValue(l),l.set("index",a),a++;let r=l.get("slice"),n=l.get("tick"),u=l.get("label"),o=l.get("link"),m=l.get("fill"),h=l.get("fillPattern");r._setDefault("fill",m),r._setDefault("stroke",m),r._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=l.get("value");Y(p)&&(p==0&&this.get("ignoreZeroValues")?(r.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(r.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(l),this.isLast(l)?o.setPrivate("visible",!1):l.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let e=this.get("orientation"),t=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(t._setC("position","relative"),t._setCAll({isMeasured:!0}),e=="vertical"?(this._setC("layout",this._root.horizontalLayout),i._setCAll({centerX:D,x:D})):(this._setC("layout",this._root.verticalLayout),i._setCAll({centerX:0,x:0}))):(t._setCAll({isMeasured:!1,position:"absolute"}),e=="vertical"?(t._setCAll({x:f}),i._setCAll({centerX:f,x:0})):(t._setCAll({y:f}),i._setCAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(e){let t=e.get("index"),i=e.get("valueWorking",0);if(t<this.dataItems.length-1){let s=this.dataItems[t+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(e){let t=e.get("index");if(t==this.dataItems.length-1)return!0;for(let i=t+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(e){let t=this.get("orientation"),i=e.get("slice"),s=e.get("label"),a=e.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),u=r;t=="horizontal"&&(u=n);let o=this.getNextValue(e),m=e.get("value",0),h=Math.abs(e.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):e.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let d=h/g*u,y=(h-(h-o)*p)/g*u;i._setCAll({topWidth:d,bottomWidth:y,orientation:t}),a._setCAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:t});let x=this.get("startLocation",0),b=this.get("endLocation",1);if(t=="vertical"){let _=a.height()*c;n=n*(b-x)+_,i._setC("y",this._nextCoord);let A=Math.min(1e5,Math.max(0,n/this._count*c/this._total-_));i._setCAll({height:A,x:r/2});let P=this._nextCoord+A/2;s._setC("y",P),this._nextCoord+=A+_,a._setCAll({y:this._nextCoord-_,x:r/2})}else{let _=a.width()*c;r=r*(b-x)+_,i._setC("x",this._nextCoord);let A=Math.min(1e5,Math.max(0,r/this._count*c/this._total-_));i._setCAll({width:A,y:n/2});let P=this._nextCoord+A/2;s._setC("x",P),this._nextCoord+=A+_,a._setCAll({x:this._nextCoord-_,y:n/2})}}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").hide(t),i.hideDataItem.call(this,e,t)})}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").show(t),i.showDataItem.call(this,e,t)})}_updateTick(e){if(this.get("alignLabels")){let t=e.get("tick"),i=e.get("label"),s=e.get("slice");if(t&&s&&i){let a=this.labelsContainer,l=this.slicesContainer,r=t.get("location",.5),n=a.width(),u=a.height(),o=a.get("paddingLeft",0),m=a.get("paddingRight",0),h=a.get("paddingTop",0),p=a.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},d={x:0,y:0};this._opposite&&(r=1-r),this.get("orientation")=="vertical"?(g=s.getPoint(r,.5),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.x=n,c.y=i.y(),d.x=n-o,d.y=c.y):(c.x=l.x()+l.width(),c.y=i.y(),d.x=c.x+n-i.width()-m,d.y=c.y)):(g=s.getPoint(.5,r),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.y=u,c.x=i.x(),d.y=u-h,d.x=c.x):(c.y=l.y()+l.height(),c.x=i.x(),d.y=c.y+u-i.height()-p,d.x=c.x)),t.set("points",[g,c,d])}}}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("link");t&&(this.links.removeValue(t),t.dispose())}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.getPoint(e.get("locationX",.5),e.get("locationY",.5));t.setAll({x:s.x()+a.x,y:s.y()+a.y})}}}};H.className="FunnelSeries";H.classNames=L.classNames.concat([H.className]);var X=class extends H{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0,(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("valueIs"))&&(this._valuesDirty=!0)}decorateSlice(e){let t=this.get("orientation"),i=this.slicesContainer,s=e.get("slice"),a=e.get("label"),l=e.get("link"),r=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",D),p=Math.abs(e.get("valueWorking",0)),g=e.get("value",0),c,d,y=i.innerHeight(),x=i.innerWidth(),b=l.width(),_=l.height();t=="horizontal"&&([x,y]=[y,x],[b,_]=[_,b]);let A=x/2,P=1;g!=0?P=p/Math.abs(g):e.isHidden()&&(P=1e-6),_*=P,y=y*(o-u)-_*(this._count*this._total-1);let F=C(m,x);Y(this._nextSize)||(this._nextSize=F);let Z=C(h,x),N=this._nextSize,nt=Math.atan2(y,F-Z),B=Math.tan(Math.PI/2-nt);if(B==0&&(B=1e-8),r=="area"){let st=(F+Z)/2*y*p/n,ot=Math.abs(N*N-2*st*B);c=(N-Math.sqrt(ot))/B,c>0?d=(2*st-c*N)/c:d=N}else c=y*p/n,d=N-c*B;let O=this._nextCoord+c/2,J=A,j=this._nextCoord,Q=A,I=j+c;t=="vertical"?(a.set("y",O),a.get("opacity")>0&&this._rLabels.push({label:a,y:O}),s.set("height",c)):(a.set("x",O),a.get("opacity")>0&&this._hLabels.push({label:a,y:O}),[J,j]=[j,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:t,bottomWidth:d,topWidth:N,x:J,y:j}),l.setAll({orientation:t,x:Q,y:I,topWidth:d,bottomWidth:d}),this._nextSize=d,this._nextCoord+=c+_}};X.className="PyramidSeries";X.classNames=H.classNames.concat([X.className]);var K=class extends X{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f}),this.seriesGraphics=this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f})._markC("themeTags","position","x","y","centerX","centerY"))}_afterNew(){super._afterNew(),this._setC("topWidth",D),this._setC("bottomWidth",D),this._setC("valueIs","height"),this.slicesContainer._setC("mask",this.seriesMask)}_updateScale(){let e=this.slicesContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.seriesMask,a=this.seriesGraphics,l=s.get("scale",1),r=s.localBounds(),n=r.right-r.left,u=r.bottom-r.top;this.get("orientation")=="horizontal"?l=t/n:l=i/u,l!=1/0&&!Number.isNaN(l)&&(s.set("scale",l),s.set("x",t/2),s.set("y",i/2),a._setC("scale",l),a._setC("x",t/2),a._setC("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let e=this.get("svgPath");this.seriesMask.set("svgPath",e),this.seriesGraphics._setC("svgPath",e)}this._updateScale()}};K.className="PictorialStackedSeries";K.classNames=X.classNames.concat([K.className]);var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};E.className="SlicedChart";E.classNames=$.classNames.concat([E.className]);export{it as DefaultTheme,H as FunnelSeries,V as FunnelSlice,$ as PercentChart,L as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,X as PyramidSeries,E as SlicedChart};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import a from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import a from"./DL57EVZ4.js";import{S as v,V as b,b as u,c as g}from"./EKR2SAT2.js";export default $arcgis.t(([{renderColorRampPreviewHTML:R},{c:p,e:w,f:x}])=>{var E=10,y=20,h=10,z=20;function m(s){return typeof s=="number"}function C(s="vertical"){let e="stroke:rgb(200, 200, 200);stroke-width:1";return s==="vertical"?u`<svg height=4 width=10>${g`<line style=${v(e)} x1=0 x2=10 y1=2 y2=2 />`}</svg>`:u`<svg height=10 width=10>${g`<line style=${v(e)} x1=5 x2=5 y1=0 y2=10 />`}</svg>`}function S(s,e="vertical"){let n={height:`${y}px`,opacity:s?.toString()};return u`<div class="univariate-above-below-symbol" style=${v(n)}>${C(e)}</div>`}function $(s,e,n,o="vertical",i){s.infos.forEach((t,l)=>{if(i&&l===2){t.preview=b(S(n,o));return}else{let r=(m(t.size)?p(t.size):0)+(o==="horizontal"?z:h),c=t.preview,f=c?.tagName.toLowerCase()==="div",a=f?c:document.createElement("div");a.className="univariate-above-below-symbol",o==="horizontal"?a.style.width=`${r}px`:a.style.height=`${r}px`,!f&&c&&a.appendChild(c),x(a,w(e,t.label)),t.preview=a}})}function P(s,e="classic"){let n=s.infos,o=n.at(0),i=n.at(-1),t=m(o.size)?p(o.size):0,l=m(i.size)?p(i.size):0;return e==="classic"?(t+h)/2:(t-l)/2}function T(s,e){if(!s)return null;let n=s.infos.map(i=>i.color),o=R(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width??void 0,height:e.height??void 0,align:e.rampAlignment,cssEffectFilter:e.cssEffectFilter,ariaLabel:e.ariaLabel??void 0});return o.className="color-ramp",e.opacity!=null&&(o.style.opacity=e.opacity.toString()),o}function k(s,e,n,o="vertical"){let i=0,t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l;for(let f=r;f<=c;f++)if(n&&f===l)i+=o==="horizontal"?E:y;else{let a=t[f].size,d=(m(a)?p(a):0)+(o==="horizontal"?z:h);i+=d}return Math.round(i)}function j(s,e,n,o="vertical"){let i=k(s,e,n,o),t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l,f=m(t[r].size)?t[r].size:0,a=m(t[c].size)?t[c].size:0,d=e==="full"?f+a:e==="above"?f:a,L=n?o==="vertical"?y:E:0,M=o==="vertical"?h*(e==="full"?2:1):z*(e==="full"?2:1);return Math.round(i-(p(d)/2+L/2+M/2))}function q(s,e,n,o="vertical"){let i=s.infos,t=i.find(({type:r})=>r==="size-ramp"),l=i.find(({type:r})=>r==="color-ramp");return t&&(t={...t},t.infos=[...t.infos],$(t,e,n,o,!0)),l&&(l={...l},l.infos=[...l.infos]),o==="horizontal"&&(t?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:t,colorRampElement:l}}function B(s,e,n="vertical"){let o=s.infos,i=o.find(({type:l})=>l==="size-ramp"),t=o.find(({type:l})=>l==="color-ramp");return i&&(i={...i},i.infos=[...i.infos],$(i,e,null,n,!1)),t&&(t={...t},t.infos=[...t.infos]),n==="horizontal"&&(i?.infos.reverse(),t?.infos.reverse()),{sizeRampElement:i,colorRampElement:t}}var D={marginLeft:"3px"},H={display:"table-cell",verticalAlign:"middle"},W={display:"flex",alignItems:"flex-start"};return{a:P,b:T,c:k,d:j,e:q,f:B,g:D,h:H,i:W}},"symbols/support/symbolUtils",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import a from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import a from"./DSDPDMLP.js";import{p as d}from"./EKR2SAT2.js";export default $arcgis.t(([U,{property:l,subclass:x},p,{watch:N},A,I,T,{projectIsLoaded:k,projectExecute:O},y,{geographicToWebMercator:F},z,{project:Q},D,{b:m,c:u}])=>{var h=!1,L={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function G(t){let e="geolocation"in navigator;return e||d("warn",t,"Geolocation is not supported by this browser."),e}function K(t){let e=window.isSecureContext;return e||h||(h=!0,d("warn",t,"Geolocation requires a secure origin.")),e}function H(t){return G(t)&&K(t)}function he(t){return t??=L,new Promise((e,i)=>{setTimeout(()=>i(new p("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,i,t??void 0)})}function J(t,e){let{position:i,view:r}=t,o=V(i)?.coords;if(!o)throw new p("geometry-service:no-coords","Geolocation has no coordinates");let a=j(o);return q(a,r,e)}function V(t){let e=t?.coords||{},i={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:i,timestamp:t.timestamp,toJSON(){return{}}}}function j({longitude:t,latitude:e,altitude:i}){return new T({longitude:t,latitude:e,z:i||void 0,spatialReference:{wkid:4326}})}async function q(t,e,i){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(F(t)):k()?O(t,r):await W(i).then(async o=>{if(!o)throw new p("geometry-service:missing-url","Geometry service URL is missing");let a=new D({geometries:[t],outSpatialReference:r});return(await Q(o,a,i))[0]})}async function W(t){if(y.geometryServiceUrl)return await Promise.resolve(y.geometryServiceUrl);let e=z.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var X=Object.defineProperty,B=Object.getOwnPropertyDescriptor,c=(t,e,i,r)=>{for(var o=r>1?void 0:r?B(e,i):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(o=(r?s(e,i,o):s(o))||o);return r&&o&&X(e,i,o),o},Z=2500;function w(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var f={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Y=w("layer"),_=w("background"),$=new I({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Y,_,f],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),n=class extends U{constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new A({symbol:$}),this.rotationEnabled=!0}initialize(){H(this)||(this._geolocationUsable=!1),this.addHandles([N(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){f.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:i,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(i,t))}return t}_getScale(t){let{scale:e}=this,i=typeof e=="number"?e:Z;return this._getScaleWithinConstraints(i,t)}_getHeading(t,e){let i=e?.spatialReference,r=i?.isWebMercator||i?.isGeographic,o=t.coords?.heading;return!r||typeof o!="number"||Number.isNaN(o)||o<0||o>360?null:o}_addHeading(t){let{heading:e,target:i,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){i.heading=e;return}r.type==="2d"&&(i.rotation=360-e)}}async _animatePoint(t,e,i,r){let{view:o}=this;if(!this.goToLocationEnabled||!o)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:i,target:a,view:o});let s={signal:r.signal};if(m(s),this.goToOverride&&o)return await this.goToOverride(o,{target:a,options:s});await o.goTo(a,s)}async updatePosition(t,e){try{let i=this.view,r=await J({position:t,view:i},{signal:e.signal}),{graphic:o}=this,{timestamp:a,coords:s}=t,{accuracy:v,altitude:b,altitudeAccuracy:S,latitude:M,longitude:C,speed:E}=s,g=this._getHeading(t,i),P={timestamp:a,accuracy:v,altitude:b,altitudeAccuracy:S,heading:g,latitude:M,longitude:C,speed:E};o&&(o.geometry=r,o.attributes=P);let R=this._getScale(i);await this._animatePoint(r,R,g,e)}catch(i){if(!u(i))throw new p("geolocation-positioning:invalid-point","Cannot position invalid point",{error:i})}return t}};c([l()],n.prototype,"_geolocationUsable",2);c([l()],n.prototype,"geolocationOptions",2);c([l()],n.prototype,"goToLocationEnabled",2);c([l()],n.prototype,"goToOverride",2);c([l({type:A})],n.prototype,"graphic",2);c([l()],n.prototype,"scale",2);c([l()],n.prototype,"rotationEnabled",2);c([l()],n.prototype,"view",2);n=c([x("map-components.geolocation.GeolocationPositioning")],n);var Ae=n;return{a:he,b:Ae}},"core/Accessor","core/accessorSupport/decorators","core/Error","core/reactiveUtils","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as g}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{a as g}from"./WEAGLY7B.js";import{a as v}from"./JD74LG7K.js";import e from"./JBHRVHGS.js";import{h as f}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import b from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as d,g as h}from"./WQMZ7BDQ.js";import{P as i,R as a,U as u,X as m,a as c,b as n,x as o}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,{a:p}])=>{var E=c`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}`;function x(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var r=class extends i{constructor(){super(),this.messages=g(),this.view=p(this),this.visualScale="m",this.arcgisPropertyChange=f()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,view:0,element:1,label:1,messageOverrides:0,referenceElement:1,visualScale:1,state:35}}static{this.styles=E}get fullscreenTitle(){return this.state==="active"?this.messages.exit:this.messages.enter}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=x(e),l=h(this.el,t);this.#e=l||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){let e=this.view?.container,t=e?.getRootNode(),l=t instanceof ShadowRoot?t.host:null;return this.element??e?.parentElement??l??null}_toggle(){this.state!=="unsupported"&&(document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen())}render(){let{fullscreenTitle:e,state:t}=this,l=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return n`<div class=${a(d("root",v.arcgisButton))}><calcite-button .disabled=${t==="disabled"||l} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} .scale=${this.visualScale} title=${e??u}></calcite-button></div>`}};m("arcgis-fullscreen",r);return r},b,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{b as d}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{b as d}from"./JAZGNQRP.js";export default $arcgis.t(([{watch:y}])=>{function p(a,r){return d((m,n)=>(n.onLifecycle(()=>y(()=>({layerId:a.mapLayerId,viewReady:a.view?.ready}),({layerId:e,viewReady:o})=>{if(!o)return;let i=a.view;if(!e){r(void 0);return}let t=i?.map?.findLayerById(e)??i?.map?.findTableById(e);r(t)},{initial:!0})),a.mapLayerId))}return p},"core/reactiveUtils")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import e from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import e from"./HLGU3U73.js";import d from"./DL57EVZ4.js";import c from"./YU5BTZEI.js";import{f as w}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as b,S as t,X as g,a as y,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,{a:u,b:s,c:x,d:o,e:$}])=>{var S=y`.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.symbol-container{position:relative}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.layer-cell{padding:var(--calcite-space-2xs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.univariate-color-ramp-card{position:relative}.univariate-color-ramp-card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-surface-1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-surface-1);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.univariate-above-below-symbol{display:flex;align-items:center;justify-content:center}`,c=class extends b{constructor(){super(...arguments),this._direction=w(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=S}render(){let{legendElement:E,opacity:l}=this,{sizeRampElement:e,colorRampElement:n}=$(E,this.messages,l,"horizontal");if(!e)return null;let z=x(e,"full",!0,"horizontal"),L=o(e,"above",!0,"horizontal"),k=o(e,"below",!0,"horizontal"),d=12,p=this.messages?.previewColorRampAriaLabel,m=s(n,{width:L,height:d,rampAlignment:"horizontal",opacity:l,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:p}),A=s(n,{width:k,height:d,rampAlignment:"horizontal",opacity:l,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:p}),f=u(e,"card"),v=e.infos.map(i=>i.label),F=v.length-1,R=v.map((i,h)=>h===0||h===F?a`<div>${i}</div>`:null),C={display:"flex",flexDirection:"column"},D={display:"flex",flexDirection:"row"},r={marginTop:"3px",display:"flex"};this._direction==="rtl"?r.marginRight=`${f}px`:r.marginLeft=`${f}px`;let j={width:`${z}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return a`<div class="layer-row" style=${t(C)}><div class="symbol-container" style=${t(D)}>${e.infos.map(i=>a`<div class="symbol">${i.preview}</div>`)}</div>${m?a`<div class="univariate-color-ramp-card" style=${t(r)}><div>${m}</div><div>${A}</div></div>`:null}<div class="layer-cell layer-cell-info"><div class="ramp-labels" style=${t(j)}>${R}</div></div></div>`}};g("arcgis-legend-card-univariate-above-and-below-ramp",c);return c},c,d,e)
|