@arcgis/map-components 6.0.0-next.12 → 6.0.0-next.13
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/{GS2HJTMU.js → 23KPX3MH.js} +1 -1
- package/dist/cdn/{GNSNEUMI.js → 27MWPK5A.js} +1 -1
- package/dist/cdn/{TKILR2SM.js → 2BTNM5UP.js} +1 -1
- package/dist/cdn/{J3IDFYN3.js → 2FVCSYOG.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → 2FW4S3D6.js} +1 -1
- package/dist/cdn/{OUC5HWPQ.js → 2MGDN3IK.js} +1 -1
- package/dist/cdn/{QEPANMVK.js → 2NPSM4MA.js} +1 -1
- package/dist/cdn/{P35MNXU2.js → 2PBWDTTE.js} +1 -1
- package/dist/cdn/2QBJUSQP.js +2 -0
- package/dist/cdn/{HGP7GVZU.js → 346SMBOI.js} +1 -1
- package/dist/cdn/{FTCHTEUY.js → 35HJ47M5.js} +1 -1
- package/dist/cdn/{V4JEBKPJ.js → 36QDW2HC.js} +1 -1
- package/dist/cdn/{3X4TCM6A.js → 3BD5NGST.js} +1 -1
- package/dist/cdn/{RZGWZ2FJ.js → 3CXDORDV.js} +1 -1
- package/dist/cdn/{KVYBIOH5.js → 3EFWGKKP.js} +1 -1
- package/dist/cdn/{R6X7LUKH.js → 3EHI6OB6.js} +1 -1
- package/dist/cdn/3EVUQHOA.js +2 -0
- package/dist/cdn/{THJMCEEO.js → 3RQSDV4R.js} +1 -1
- package/dist/cdn/{PZUVKZGQ.js → 3WL3ROZU.js} +1 -1
- package/dist/cdn/{PBYHBRG7.js → 46UREYOZ.js} +1 -1
- package/dist/cdn/{PPVXOP43.js → 4B5PNSWT.js} +1 -1
- package/dist/cdn/{MDWBYUFG.js → 4DXKVW5C.js} +1 -1
- package/dist/cdn/{TFADSF2R.js → 4GN57OI7.js} +1 -1
- package/dist/cdn/{RNF5KVNY.js → 4K3LPJH6.js} +1 -1
- package/dist/cdn/{XPC6K7AE.js → 4LQHP46T.js} +1 -1
- package/dist/cdn/4N6WMMD7.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → 4QKJHLBI.js} +1 -1
- package/dist/cdn/{F5IHFPKA.js → 54BEARYC.js} +1 -1
- package/dist/cdn/{ESOCZAMZ.js → 56SNDNF5.js} +1 -1
- package/dist/cdn/{PGUZODKZ.js → 5BQ3R2XG.js} +1 -1
- package/dist/cdn/{IAWXCNTX.js → 5HB256EO.js} +1 -1
- package/dist/cdn/{H4LMELM2.js → 5QNLXFZS.js} +1 -1
- package/dist/cdn/{2KBLNC6Y.js → 5QYCZHSX.js} +1 -1
- package/dist/cdn/{2CEJU3YF.js → 5W7DVJY2.js} +1 -1
- package/dist/cdn/{XKCB2DEP.js → 62XJUNML.js} +1 -1
- package/dist/cdn/{ZHSESERJ.js → 65EBYWUQ.js} +1 -1
- package/dist/cdn/{HQWUQFN5.js → 66WNBBAT.js} +1 -1
- package/dist/cdn/{DPNB5GBY.js → 676ZH5J2.js} +1 -1
- package/dist/cdn/{5AMF6NZN.js → 6EPVMX36.js} +1 -1
- package/dist/cdn/{RQ2YV64E.js → 6JXOWCBF.js} +1 -1
- package/dist/cdn/{GSVPPSX6.js → 6MZISPJL.js} +1 -1
- package/dist/cdn/6RE5RWYP.js +2 -0
- package/dist/cdn/{F6CXHAHU.js → 6TV3VMAG.js} +1 -1
- package/dist/cdn/{QPSAD5DG.js → 6VQ5DE6L.js} +1 -1
- package/dist/cdn/{VUAYNF3K.js → 7BOB3ZMM.js} +1 -1
- package/dist/cdn/{5RAIBYCT.js → 7DOCFE5E.js} +1 -1
- package/dist/cdn/7RG4ZQP7.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → 7SMRFGKB.js} +1 -1
- package/dist/cdn/{HKLBQ7JD.js → 7TNTQTCU.js} +1 -1
- package/dist/cdn/{HZTF3LOF.js → 7V6M6CJS.js} +1 -1
- package/dist/cdn/{RVEUCXT4.js → 7XOQWWQN.js} +1 -1
- package/dist/cdn/{KKLTZBSE.js → 7Y54JNOS.js} +1 -1
- package/dist/cdn/A2QVOCXI.js +2 -0
- package/dist/cdn/{Z7H4V2JZ.js → A53KFOH6.js} +1 -1
- package/dist/cdn/{7HS2SX6W.js → A7F4RCIB.js} +1 -1
- package/dist/cdn/A7S7QILA.js +2 -0
- package/dist/cdn/{QKZ552KI.js → AFRTNJIB.js} +1 -1
- package/dist/cdn/{PBHNO4J7.js → AGDIYUEN.js} +1 -1
- package/dist/cdn/{4HNRKSQ2.js → ARHQMHUP.js} +1 -1
- package/dist/cdn/{52CUDGKY.js → AST7MMYS.js} +1 -1
- package/dist/cdn/{CP5JALYQ.js → AX3PTI6R.js} +1 -1
- package/dist/cdn/{HPWF3IQV.js → AY4NJZW6.js} +1 -1
- package/dist/cdn/{FHBTVQHP.js → B2Z4PQDN.js} +1 -1
- package/dist/cdn/{BZQIIXMP.js → BG7QJ36E.js} +1 -1
- package/dist/cdn/{EJKAIZAE.js → BJ74QZIS.js} +1 -1
- package/dist/cdn/{MMYODAC2.js → BJL3Q6DI.js} +1 -1
- package/dist/cdn/{7VJQVX42.js → BSGHAWTH.js} +1 -1
- package/dist/cdn/{GUHSWQMF.js → BSQ3RFJY.js} +1 -1
- package/dist/cdn/{K23R26AN.js → BY2FYLPZ.js} +1 -1
- package/dist/cdn/{RUYAWRPV.js → BZOKZ5VZ.js} +1 -1
- package/dist/cdn/{5ITYFVDX.js → C2MDGIL7.js} +1 -1
- package/dist/cdn/{BVTEQMDF.js → C2YFCTR2.js} +1 -1
- package/dist/cdn/{NFCFPU7K.js → CCQFX7N3.js} +1 -1
- package/dist/cdn/CDCI4EQR.js +2 -0
- package/dist/cdn/{MGBFC5IV.js → CEIU7TIB.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → CVT3K5PU.js} +1 -1
- package/dist/cdn/CZ2ZDZHW.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → DI6JXWXD.js} +1 -1
- package/dist/cdn/DMRTIQ4E.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → DPZH7OOF.js} +1 -1
- package/dist/cdn/{67B7TPGQ.js → DUCYPBLA.js} +1 -1
- package/dist/cdn/{L7DFXEAX.js → EFRTDOL6.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → EKLDSSHW.js} +1 -1
- package/dist/cdn/{6UYEO5Q7.js → ELNEL7EW.js} +1 -1
- package/dist/cdn/{HYMCX7JZ.js → ETWDKKNK.js} +1 -1
- package/dist/cdn/{YODE6QAO.js → EXKSEAMM.js} +1 -1
- package/dist/cdn/{VTCE3YQW.js → F43SQ2B7.js} +1 -1
- package/dist/cdn/{65MI3MW2.js → FCZRKF46.js} +1 -1
- package/dist/cdn/FD7TZUQL.js +2 -0
- package/dist/cdn/FGDPA2SN.js +2 -0
- package/dist/cdn/FN4QBRU4.js +2 -0
- package/dist/cdn/FV3GLOQD.js +2 -0
- package/dist/cdn/{UFRX7JW5.js → G3I7HUEL.js} +1 -1
- package/dist/cdn/G3LU7E6H.js +2 -0
- package/dist/cdn/{BI2SI2HK.js → GA3GZVVB.js} +1 -1
- package/dist/cdn/{GUZYCRYS.js → GAYWGKYI.js} +1 -1
- package/dist/cdn/{MNSGXIJP.js → GEAWQQCV.js} +1 -1
- package/dist/cdn/{6A2OF3TO.js → GGLNSU56.js} +1 -1
- package/dist/cdn/{OP3APZ4U.js → GKOIM6VH.js} +1 -1
- package/dist/cdn/{FF7BSRYW.js → GNLOKI53.js} +1 -1
- package/dist/cdn/{GJTUYTTG.js → GNMMYT73.js} +1 -1
- package/dist/cdn/{JQ4K46KY.js → GNY6NCJ5.js} +1 -1
- package/dist/cdn/{PWHXRRFU.js → GSRBHYFT.js} +1 -1
- package/dist/cdn/{ZKWI43WZ.js → GX5EDFB2.js} +1 -1
- package/dist/cdn/{KRMN6HAV.js → H23LJQF5.js} +1 -1
- package/dist/cdn/{HWKMLOOG.js → H6HATUPC.js} +1 -1
- package/dist/cdn/HJBIPLFN.js +2 -0
- package/dist/cdn/{3GHQZCMV.js → HOLEMKZF.js} +1 -1
- package/dist/cdn/{OAMA6SL3.js → HXOECRF5.js} +1 -1
- package/dist/cdn/{O5YJPUFM.js → HXX4WJLN.js} +1 -1
- package/dist/cdn/{ZBC5RBCD.js → I2VQOWJL.js} +1 -1
- package/dist/cdn/{7VDBR3SK.js → IE4EOH76.js} +1 -1
- package/dist/cdn/{ENDFTFEF.js → IIPAKIUQ.js} +1 -1
- package/dist/cdn/IJFW6VBP.js +2 -0
- package/dist/cdn/{RRSU6QD4.js → IPO4MAEM.js} +1 -1
- package/dist/cdn/{7FFBCPVE.js → IRNSIIVT.js} +1 -1
- package/dist/cdn/IVE3PUDG.js +2 -0
- package/dist/cdn/{Z6AVJWLP.js → IW3ZGY6C.js} +1 -1
- package/dist/cdn/{J3FRSWZD.js → IXZVTOFE.js} +1 -1
- package/dist/cdn/{4O3HLHQQ.js → IZ56THJ6.js} +1 -1
- package/dist/cdn/{SG55TVJ5.js → J5F6CDWI.js} +1 -1
- package/dist/cdn/{ZF4DFDLT.js → J6EZWDIU.js} +1 -1
- package/dist/cdn/{AFP64NRH.js → JA47CZCK.js} +1 -1
- package/dist/cdn/JC24VBLE.js +4 -0
- package/dist/cdn/{ZIBQTNB6.js → JFST4ADC.js} +1 -1
- package/dist/cdn/{FQSHLYKX.js → JGOYKMUR.js} +1 -1
- package/dist/cdn/{TDGAGI7B.js → JGXVLBJ4.js} +1 -1
- package/dist/cdn/JO4ZIEAZ.js +2 -0
- package/dist/cdn/{HEIKRBJK.js → JTCDTZVB.js} +1 -1
- package/dist/cdn/JXGHEXXR.js +2 -0
- package/dist/cdn/{IQOSVEZ5.js → KCYQBKG5.js} +1 -1
- package/dist/cdn/{N3DTZRST.js → KDEU2V3M.js} +1 -1
- package/dist/cdn/{NY7RHFLZ.js → KGFTHHY7.js} +1 -1
- package/dist/cdn/{3UMLR76Y.js → KGYTRKZZ.js} +1 -1
- package/dist/cdn/{IFR4IYSI.js → KMWQECU7.js} +1 -1
- package/dist/cdn/{IHUJKT47.js → KPLUZDH3.js} +1 -1
- package/dist/cdn/{V3BFPL23.js → KXTXJLXZ.js} +1 -1
- package/dist/cdn/L3NSDUAE.js +2 -0
- package/dist/cdn/{QT7GRA34.js → LC2OUSEN.js} +1 -1
- package/dist/cdn/LHGTHQME.js +2 -0
- package/dist/cdn/{SKP3TGF4.js → LQ73MV5Q.js} +1 -1
- package/dist/cdn/{YDZZPLVB.js → LZV3R5DQ.js} +1 -1
- package/dist/cdn/M4TUMJXX.js +2 -0
- package/dist/cdn/{FZAQZSRA.js → M4WTKFSV.js} +1 -1
- package/dist/cdn/M6IXZHHI.js +2 -0
- package/dist/cdn/{6VO7G2UX.js → MA5DX7XQ.js} +1 -1
- package/dist/cdn/MIDTKIJQ.js +2 -0
- package/dist/cdn/{NDCZFJEK.js → MKCHMWM6.js} +2 -2
- package/dist/cdn/{4EO2342P.js → MNR6U3X7.js} +1 -1
- package/dist/cdn/{4WKWYFIH.js → N3Y4HN76.js} +1 -1
- package/dist/cdn/{MA2GVVQJ.js → N7T3UPCY.js} +1 -1
- package/dist/cdn/{Z2UUXST4.js → NC7HUEPX.js} +1 -1
- package/dist/cdn/{4ER6YIYW.js → NDDPYGWE.js} +1 -1
- package/dist/cdn/{FPPWXIBA.js → NEB4DWSQ.js} +1 -1
- package/dist/cdn/{GHVT7W4O.js → NO3J42C6.js} +1 -1
- package/dist/cdn/NWCS3WJE.js +2 -0
- package/dist/cdn/{ZAUG5MSY.js → NYUUH4QC.js} +1 -1
- package/dist/cdn/{LC37F7HF.js → O7DPFAEB.js} +1 -1
- package/dist/cdn/{ZO7TUIUE.js → OCQAHDB4.js} +1 -1
- package/dist/cdn/{6N7GPFZ4.js → ODAE2VWZ.js} +1 -1
- package/dist/cdn/{5ESNA4SF.js → OELSUUAR.js} +1 -1
- package/dist/cdn/{RLXUS2AY.js → OIMNS2UO.js} +1 -1
- package/dist/cdn/{CF54A7MK.js → OL5Z5MUQ.js} +1 -1
- package/dist/cdn/{MWIDHMQZ.js → OM3REV3X.js} +1 -1
- package/dist/cdn/{DK7HXJSX.js → OM4WKIBB.js} +1 -1
- package/dist/cdn/{F4S2DPYN.js → OMLLF5HO.js} +1 -1
- package/dist/cdn/{ABOTJ6RE.js → OS3TKP63.js} +1 -1
- package/dist/cdn/{WBBTZNZU.js → OZVJTOTJ.js} +1 -1
- package/dist/cdn/{HIBFGEAJ.js → P44XI2E6.js} +1 -1
- package/dist/cdn/{CZVI23H5.js → P5JX7DDZ.js} +1 -1
- package/dist/cdn/PAZNGVBY.js +2 -0
- package/dist/cdn/{TEOOLQG2.js → PDDUKBD4.js} +1 -1
- package/dist/cdn/{U5DIWFPP.js → PGKU7VBX.js} +1 -1
- package/dist/cdn/PKZDISAM.js +2 -0
- package/dist/cdn/{UTV2A7J4.js → PLESRRUS.js} +1 -1
- package/dist/cdn/{24KCDMDH.js → PQWWFQ7U.js} +1 -1
- package/dist/cdn/{C5N4AOB6.js → Q3PSPKAB.js} +1 -1
- package/dist/cdn/QAZ4W6K3.js +2 -0
- package/dist/cdn/{L46JLXJT.js → QPQKZB46.js} +1 -1
- package/dist/cdn/{4UDLUCTE.js → QRY7XJZY.js} +1 -1
- package/dist/cdn/{TYHCB472.js → QS5F5EQH.js} +1 -1
- package/dist/cdn/{CPYVZPJ7.js → QSE2LPK4.js} +1 -1
- package/dist/cdn/{PKMTOHZH.js → R3VD6DUV.js} +1 -1
- package/dist/cdn/{R5QMO5FY.js → R6GT47MU.js} +1 -1
- package/dist/cdn/{53OXTCE6.js → RE2MJTPB.js} +1 -1
- package/dist/cdn/ROAZTNPA.js +2 -0
- package/dist/cdn/RWJRTP5A.js +2 -0
- package/dist/cdn/{H7NR6B6S.js → S2BWAJBS.js} +1 -1
- package/dist/cdn/{EV7IIQBP.js → S57MUIYV.js} +1 -1
- package/dist/cdn/{Q3B3NI7P.js → S5YFM5GF.js} +1 -1
- package/dist/cdn/{O6HYZKBU.js → S6RKUJV7.js} +1 -1
- package/dist/cdn/{2UKSCGYU.js → SAU63CP3.js} +1 -1
- package/dist/cdn/{E54VGGFM.js → SE2KEFDI.js} +1 -1
- package/dist/cdn/{N5KEEUBQ.js → SFOOSGWV.js} +1 -1
- package/dist/cdn/{3ONY25MG.js → SHQW4MPY.js} +1 -1
- package/dist/cdn/{7DFCYS72.js → SLWEWPBU.js} +1 -1
- package/dist/cdn/{R4FDXNHP.js → SRBC75OJ.js} +1 -1
- package/dist/cdn/{KBA5OIES.js → ST4WZGEO.js} +1 -1
- package/dist/cdn/{ET4UP4EQ.js → SWWJXGPV.js} +1 -1
- package/dist/cdn/{4IWYFG2G.js → T6WZE6JL.js} +1 -1
- package/dist/cdn/{S6BPBG7D.js → T77D6RZH.js} +1 -1
- package/dist/cdn/{K7ELALW4.js → TB7VPZEB.js} +1 -1
- package/dist/cdn/{Y6764PBB.js → TBDBSCE2.js} +1 -1
- package/dist/cdn/TBXSROYD.js +2 -0
- package/dist/cdn/{CWA47RNK.js → THV4F6KS.js} +1 -1
- package/dist/cdn/{5YHHJ5ZE.js → TLHMWWF5.js} +1 -1
- package/dist/cdn/{XP74F2F6.js → TLHZJS27.js} +1 -1
- package/dist/cdn/{SQPX5U3U.js → TMMXXPXD.js} +1 -1
- package/dist/cdn/{V62TVP3T.js → TMQVC4YN.js} +1 -1
- package/dist/cdn/TQX22IJH.js +2 -0
- package/dist/cdn/{26URLKXD.js → TSA5EUGL.js} +1 -1
- package/dist/cdn/{7YHGGHJY.js → TYOBYSX6.js} +1 -1
- package/dist/cdn/{OAMPGCZF.js → U32OJGQN.js} +1 -1
- package/dist/cdn/{TA723HWT.js → U36NPDG6.js} +1 -1
- package/dist/cdn/{TSNUOFL7.js → U4PXNSYT.js} +1 -1
- package/dist/cdn/{DY2EOHFD.js → U6Q4N7FB.js} +1 -1
- package/dist/cdn/{YTLRTUMD.js → UBDJ4NVA.js} +1 -1
- package/dist/cdn/{EK7Y6JBZ.js → UTZEXIB7.js} +1 -1
- package/dist/cdn/UVCIXKG3.js +2 -0
- package/dist/cdn/{QSZL5NEG.js → UWLOCTU3.js} +1 -1
- package/dist/cdn/{XSE3E4FM.js → UWS2OVE2.js} +1 -1
- package/dist/cdn/{GLQMCCUM.js → VCHKZQXV.js} +1 -1
- package/dist/cdn/{62IE7RFR.js → VHNVSIBR.js} +1 -1
- package/dist/cdn/{TPVHN6P2.js → VIMBVYTB.js} +1 -1
- package/dist/cdn/{2KPCMM7D.js → VN32UXKB.js} +1 -1
- package/dist/cdn/{VYOH4T4L.js → VSJFV5PD.js} +1 -1
- package/dist/cdn/{P2I63WVL.js → VTXXOZQS.js} +1 -1
- package/dist/cdn/VWEJ2XSC.js +2 -0
- package/dist/cdn/{OICQWHES.js → VXVPFKIF.js} +1 -1
- package/dist/cdn/{MCMACXJV.js → W5BZZFXV.js} +1 -1
- package/dist/cdn/{R5YW65AI.js → WAH2GHNI.js} +1 -1
- package/dist/cdn/{HA4XWZH4.js → WDPSGA7O.js} +1 -1
- package/dist/cdn/{V2YPYCU6.js → WFBXUCAB.js} +1 -1
- package/dist/cdn/WMWDQS5N.js +2 -0
- package/dist/cdn/{QOIURU47.js → WO3RY5VX.js} +1 -1
- package/dist/cdn/{5DY7GHBN.js → WO73SZZ3.js} +1 -1
- package/dist/cdn/{PPAFKBPN.js → WROQIXSY.js} +1 -1
- package/dist/cdn/{G72ISZDZ.js → WUO5HKHO.js} +1 -1
- package/dist/cdn/X237OYQ4.js +2 -0
- package/dist/cdn/{FBV5KXOY.js → XCT7CITF.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → XUGZKUJR.js} +1 -1
- package/dist/cdn/{AN7R3DP5.js → Y56CR5OU.js} +1 -1
- package/dist/cdn/{GNWRCB5F.js → YAATK6MI.js} +1 -1
- package/dist/cdn/YKN6WRLD.js +2 -0
- package/dist/cdn/{HQDOPV3Q.js → YN6YOSDN.js} +1 -1
- package/dist/cdn/{AIMWEMBX.js → YQ55VXSN.js} +1 -1
- package/dist/cdn/{2CGIS34C.js → YQAEWR77.js} +1 -1
- package/dist/cdn/{WS46QSWM.js → Z47UGRFF.js} +1 -1
- package/dist/cdn/{3C6FN5WT.js → Z7KXKYCW.js} +1 -1
- package/dist/cdn/{K7XSWKZ2.js → ZF5K3PSA.js} +1 -1
- package/dist/cdn/{EMXGW73P.js → ZFRQ6ENW.js} +1 -1
- package/dist/cdn/{4KQA2GRX.js → ZJDOJSTW.js} +1 -1
- package/dist/cdn/{LBSIU6XT.js → ZO5AYJN5.js} +1 -1
- package/dist/cdn/{67PT3A4A.js → ZOFR64ET.js} +1 -1
- package/dist/cdn/{FSBLGH6E.js → ZRAQIX6Y.js} +1 -1
- package/dist/cdn/{DUMHDAYP.js → ZRDAJM5H.js} +1 -1
- package/dist/cdn/{HDHWPKJ4.js → ZREUT3Y4.js} +1 -1
- package/dist/cdn/{MICLX7QW.js → ZUFXPTE5.js} +1 -1
- package/dist/cdn/{QLXQ4L2R.js → ZV3BF6WC.js} +1 -1
- package/dist/cdn/{JQ7MMDQT.js → ZV4GQMCJ.js} +1 -1
- package/dist/cdn/{PDH2DA3L.js → ZVL34JE2.js} +1 -1
- package/dist/cdn/{VDEMMP33.js → ZYUABP4C.js} +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +33 -0
- package/dist/components/arcgis-attachment-detail-view/customElement.d.ts +200 -0
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +38 -0
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +33 -0
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +33 -0
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +33 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +5 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/loader.js +1 -0
- package/dist/types/lumina.d.ts +8 -0
- package/dist/types/preact.d.ts +9 -0
- package/dist/types/react.d.ts +10 -0
- package/dist/types/stencil.d.ts +8 -0
- package/package.json +7 -7
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/42LHTN2R.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/677OZNT4.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7JVPR5EI.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/BJWJ6E3L.js +0 -2
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/DPVRHPHQ.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/FYR4QVEY.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/JXU37SH6.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/LOOJWRCW.js +0 -2
- package/dist/cdn/LY6LSUSY.js +0 -2
- package/dist/cdn/LZVMUNZC.js +0 -2
- package/dist/cdn/M3ZQGUYQ.js +0 -2
- package/dist/cdn/MBGCAZPS.js +0 -4
- package/dist/cdn/NWFGMNGG.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/QCVMDYJD.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R6C6U6JB.js +0 -2
- package/dist/cdn/SCYBJTZA.js +0 -2
- package/dist/cdn/UMOO7WYM.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W275EQEJ.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/Y6ZXMGO2.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- /package/dist/cdn/{XULIO6Y3.js → 3E6IBNWF.js} +0 -0
- /package/dist/cdn/{54GFXFK4.js → 43JS3JXR.js} +0 -0
- /package/dist/cdn/{A7SZYQDH.js → 4JRBTFMB.js} +0 -0
- /package/dist/cdn/{R2D2TXL4.js → 4U7C2G4R.js} +0 -0
- /package/dist/cdn/{YHPASRFL.js → 5QBYMSV7.js} +0 -0
- /package/dist/cdn/{EH4CBZNF.js → A7G5RNN7.js} +0 -0
- /package/dist/cdn/{QVAB57VJ.js → AS55LGS3.js} +0 -0
- /package/dist/cdn/{VKRAWBPC.js → B42Z3IQW.js} +0 -0
- /package/dist/cdn/{C5XAFXEL.js → CIVCCENA.js} +0 -0
- /package/dist/cdn/{RUW7CDCH.js → CJZCG74B.js} +0 -0
- /package/dist/cdn/{GUZCA62E.js → DU7MQDXJ.js} +0 -0
- /package/dist/cdn/{4657ONKJ.js → DVVXBWDN.js} +0 -0
- /package/dist/cdn/{22I5XGTS.js → DXD3FSIB.js} +0 -0
- /package/dist/cdn/{PS3KSP2J.js → DYUSQ3OG.js} +0 -0
- /package/dist/cdn/{CUVRESLH.js → EMFLPMFZ.js} +0 -0
- /package/dist/cdn/{R2P5JM7G.js → F2JEYWUA.js} +0 -0
- /package/dist/cdn/{I4AEBGQM.js → FSKKSFCQ.js} +0 -0
- /package/dist/cdn/{QNBNH7ME.js → HI7Y3XH5.js} +0 -0
- /package/dist/cdn/{24MLXKMZ.js → HSYCQNEN.js} +0 -0
- /package/dist/cdn/{LUTUHOKB.js → IBTIGEEQ.js} +0 -0
- /package/dist/cdn/{IBN4TKBI.js → IHQ2C6NE.js} +0 -0
- /package/dist/cdn/{Y37UMTGV.js → IPLEI5W5.js} +0 -0
- /package/dist/cdn/{5WKEDXRT.js → ITSWOLPG.js} +0 -0
- /package/dist/cdn/{REGHMH6D.js → IYTA36WK.js} +0 -0
- /package/dist/cdn/{42G6XTIG.js → J5PYSABF.js} +0 -0
- /package/dist/cdn/{PY5VGH7F.js → KVN6NUH4.js} +0 -0
- /package/dist/cdn/{ONFKLY6Q.js → L5L2SWJG.js} +0 -0
- /package/dist/cdn/{OX3WBUBR.js → LH3HGDD3.js} +0 -0
- /package/dist/cdn/{4O6FFXUV.js → MGDY6SA3.js} +0 -0
- /package/dist/cdn/{JZHZCJTJ.js → OHIZP5N4.js} +0 -0
- /package/dist/cdn/{DNE47HSP.js → OY2F5AX3.js} +0 -0
- /package/dist/cdn/{75UV3NKU.js → PLRW457V.js} +0 -0
- /package/dist/cdn/{HJVHORPG.js → SMCQ5457.js} +0 -0
- /package/dist/cdn/{LW4IDPBB.js → SN3LTQAO.js} +0 -0
- /package/dist/cdn/{36ZT6IRE.js → T6V5HDYH.js} +0 -0
- /package/dist/cdn/{M4D5WUVD.js → TTGAGK6Y.js} +0 -0
- /package/dist/cdn/{OCFIQBYK.js → UAVE6R7W.js} +0 -0
- /package/dist/cdn/{NWRWQZGL.js → VHCJJ5FD.js} +0 -0
- /package/dist/cdn/{UHI54OG6.js → W5QAG2HP.js} +0 -0
- /package/dist/cdn/{OCQXPA57.js → XELSV7WY.js} +0 -0
- /package/dist/cdn/{7FGOCFTQ.js → YZ23NKH4.js} +0 -0
- /package/dist/cdn/{WEOKELJE.js → ZHP63EHR.js} +0 -0
package/dist/cdn/FYR4QVEY.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import g from"./SKP3TGF4.js";import{a as R}from"./5ITYFVDX.js";import{a as d}from"./AL3PLZEE.js";import{a as L}from"./7YHGGHJY.js";import e from"./RUYAWRPV.js";import"./WJQUE4DR.js";import c from"./M3ZQGUYQ.js";import b from"./HA4XWZH4.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{N as w,O as v,P as f,R as m,X as _,b as l,x as p}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:n},Q,x,{fetchKnowledgeGraph:z},Z,{isAbortError:P},F,{d:V,e:I,f:E,g:A},{c:g,e:C},i,{b:u},{a:M,b:k,c:D,d:U}])=>{var O=g(x,{}),G=g(Q,{}),y=class extends f{constructor(){super(),this._attributionMode=null,this._containerRef=w(),this._mapRef=w(),this._uiController=new M(this),this._activeLoadAbortController=null,this.arcgisLoadError=D(this),this.arcgisViewReadyError=U(this),this._map=O(this),this._baseCypherQuery="",this._serviceUrl="",this._propItemId="",this.view=G(this),this.animationsDisabled=this.view.animationsEnabled,this.allLayerViews=this.view.allLayerViews,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.canZoomIn=this.view.canZoomIn,this.canZoomOut=this.view.canZoomOut,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.options=this.view.options,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.popupComponentEnabled=!1,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.selectionManager=this.view.selectionManager,this.focusRegionVisible=this.view.focusRegionVisible,this.slotGroupRefs=this._uiController.slotGroupRefs,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.arcgisViewAnalysisViewCreate=i(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=i(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=i(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=p(),this.arcgisViewClick=i(()=>this.view,"click"),this.arcgisViewDoubleClick=i(()=>this.view,"double-click"),this.arcgisViewDoubleTapDrag=i(()=>this.view,"double-tap-drag"),this.arcgisViewFocusRegionSelect=i(()=>this.view,"focus-region-select"),this.arcgisViewDrag=i(()=>this.view,"drag"),this.arcgisViewHold=i(()=>this.view,"hold"),this.arcgisViewImmediateClick=i(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=i(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=i(()=>this.view,"key-down"),this.arcgisViewKeyUp=i(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=i(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=i(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=i(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=i(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=i(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=i(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=i(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=i(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=i(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=p(),this.arcgisViewVerticalTwoFingerDrag=i(()=>this.view,"vertical-two-finger-drag"),k(this),this.view.ui={components:[]}}static{this.properties={_map:16,_baseCypherQuery:16,_serviceUrl:16,_propItemId:16,view:32,animationsDisabled:5,aria:0,allLayerViews:32,analyses:0,attributionItems:32,attributionMode:1,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,canZoomIn:36,canZoomOut:36,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,focusAreas:0,graphics:0,hideAttribution:5,highlights:0,interacting:32,itemId:3,baseCypherQuery:3,serviceUrl:3,layerViews:32,magnifier:32,map:0,navigating:32,navigation:0,options:0,padding:0,popup:0,popupElement:32,popupDisabled:5,popupComponentEnabled:5,ready:36,resizeAlign:1,resolution:40,rotation:9,selectionManager:32,focusRegionVisible:5,focusRegionShortcutEnabled:5,focusRegion:32,scale:9,slotGroupRefs:32,spatialReference:0,stationary:32,suspended:39,theme:0,timeExtent:0,timeZone:1,updating:32,viewpoint:0,zoom:9,loadErrorSources:0}}static{this.styles=[L,R]}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}get aria(){return this.view?.aria}set aria(e){this.view&&(this.view.aria=e)}get attributionItems(){return this.view?.attributionItems??[]}get attributionMode(){return this._attributionMode}set attributionMode(e){this._attributionMode=e,e!=="auto"&&(this.view.attributionMode=e)}get center(){return this.view.center}set center(e){if(I(e,this._center))return;this._center=E(e);let t=A(e,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(e){this.extent?.equals(e)||(this.view.extent=e)}get focusAreas(){return this.map?this.map?.focusAreas:{areas:[],style:"bright"}}set focusAreas(e){this.map&&(this.map.focusAreas=e)}get hideAttribution(){return!this.view.attributionVisible}set hideAttribution(e){this.view.attributionVisible=!e}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(e){this._propItemId=e}get baseCypherQuery(){return this._baseCypherQuery}set baseCypherQuery(e){this._baseCypherQuery=e}get serviceUrl(){return this._serviceUrl}set serviceUrl(e){this._serviceUrl=e}get navigating(){return this.view.navigating}get popupElement(){return this._uiController.popupElement||null}get focusRegion(){return this.view.focusRegion}get scale(){return this.view.scale}set scale(e){this.view.scale=e}get stationary(){return this.view.stationary}get updating(){return this.view.updating}get viewpoint(){return this.view.viewpoint}set viewpoint(e){V(this.viewpoint,e)&&(this.view.viewpoint=e)}get zoom(){return this.view.zoom}set zoom(e){this.view.zoom=e}async closePopup(){this._uiController.closePopup()}async destroy(){await this.manager.destroy()}async fetchPopupFeatures(e,t){return this.view.fetchPopupFeatures(e,t)}async goTo(e,t){return await this.view.goTo(e,t)}async openPopup(e){await this._uiController.openPopup(e)}toMap(e){return this.view.toMap(e)}toScreen(e,t){return this.view.toScreen(e,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(e,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>e?.()).catch(t)}async whenAnalysisView(e){return await this.view.whenAnalysisView(e)}async whenLayerView(e){return await this.view.whenLayerView(e)}async zoomIn(){this.view.zoomIn()}async zoomOut(){this.view.zoomOut()}willUpdate(e){let t=()=>{this._activeLoadAbortController?.abort();let a=new AbortController;return this._activeLoadAbortController=a,a};if(e.has("_propItemId")||e.has("_serviceUrl")||e.has("_baseCypherQuery")){if(e.has("_propItemId")&&this._propItemId||e.has("_propItemId")&&!this._serviceUrl)t(),s.reCreateAccessor(this._map,this),s.setPortalItem(this._map,this._propItemId),s.setMap(this.view,this._map);else if(!this._propItemId)if(this._serviceUrl&&!this._baseCypherQuery){let a=t();s.fetchKnowledgeGraph(this._serviceUrl).then(c=>{let h=new s.WebLinkChart,o=new s.LinkChartLayer({url:c.url});o.load({signal:a?.signal});try{u(a.signal),h.add(o),this._setLinkChartAndZoom(h)}catch(b){if(!P(b))throw b}})}else if(this._baseCypherQuery&&this._serviceUrl){let a=t();s.fetchKnowledgeGraph(this._serviceUrl).then(c=>{s.WebLinkChart.fromCypherQuery(c,new Z({openCypherQuery:this._baseCypherQuery}),void 0,{signal:a?.signal}).then(async h=>{try{u(a.signal),this._setLinkChartAndZoom(h)}catch(o){if(!P(o))throw o}})})}else!this._serviceUrl&&e.has("_serviceUrl")&&(t(),s.setMap(this.view,null))}}loaded(){let e=this;e.el.childElem=this._mapRef.value,this.view.container??=e.el.childElem,s.setLocalPublicMap(this,this._map),this.manager.onLifecycle(()=>[n(()=>this.map,t=>{t&&s.setLocalPrivateMap(this,t)},{initial:!0,sync:!0}),n(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),n(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready}),n(()=>this.view.attributionHeight,t=>{this._uiController.handleAttributionHeightChange(t)},{initial:!0})])}_setLinkChartAndZoom(e){s.reCreateAccessor(this._map,this),s.setLocalPrivateMap(this,e),s.setMap(this.view,e),this._map&&this.view.when(()=>{e.diagramNodesExtent&&this.view.goTo(e.diagramNodesExtent)})}renderMain(){return l`<div class=${m(d.base)} ${v(this._mapRef)}></div>`}render(){return l`${this.renderMain()}<section class=${m(d.containerUI)} ${v(this._containerRef)}>${this._uiController.render()}</section>`}},s={fetchKnowledgeGraph:async r=>await z(r),WebLinkChart:x,LinkChartLayer:F,setMap:(r,e)=>{r.map=e},setLocalPrivateMap:(r,e)=>{r._map=e},setLocalPublicMap:(r,e)=>{r.map||=e},setPortalItem(r,e){r.portalItem={id:e}},reCreateAccessor:C};_("arcgis-link-chart",y);return{ArcgisLinkChart:y,exportsForTests:s}},"core/reactiveUtils","views/LinkChartView","WebLinkChart","rest/knowledgeGraphService","rest/knowledgeGraph/GraphQueryStreaming","core/promiseUtils","layers/LinkChartLayer",a,b,c,e,g)
|
package/dist/cdn/GJKFDTVX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import b from"./4XERPOOU.js";import a from"./SZ3T7YEB.js";import{P,R as k,S as g,X as A,a as N,b as v}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{c:C,e:I,f:R}])=>{var B=N`.size-ramp-container{display:flex;align-items:center;justify-content:center}.size-ramp-vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.size-ramp-label{margin:0 .5em;white-space:nowrap}.size-ramp-vertical-ramp{display:flex;flex-direction:column;align-items:center}.size-ramp-ramp{display:flex;flex-direction:row-reverse;align-items:center}.size-ramp-preview{display:flex}`,O="#ddd";function X(e){if(!e)return;if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let s=e.symbolLayers.at(-1),i=s&&"resource"in s?s.resource?.primitive:void 0;return i==="circle"||i==="cross"||i==="kite"||i==="sphere"||i==="cube"||i==="diamond"}let n="style"in e?e.style:void 0;return n==="circle"||n==="diamond"||n==="cross"}function Y(e){if(e){if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let n=e.symbolLayers.at(-1),s=n&&"resource"in n?n.resource?.primitive:void 0;return s==="triangle"||s==="cone"||s==="tetrahedron"}return"style"in e&&e.style==="triangle"}}var j=class extends P{constructor(){super(...arguments),this.hasIndicators=!1,this.legendElement=null,this.opacity=1}static{this.properties={hasIndicators:5,legendElement:0,opacity:9,messages:0}}static{this.styles=B}render(){if(this.legendElement.theme==="spike")return v`<div style=${g({display:"flex",flex:"1",justifyContent:"center"})}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;let{legendElement:n,hasIndicators:s,opacity:i}=this,o=n.infos,d=o.at(0),m=o.at(-1);if(!d||!m)return null;let{label:y,...z}=d,{label:f,...x}=m,r=z.preview,t=x.preview;if(!r||!t)return null;r=r.cloneNode(!0),r.style.display="flex",R(r,I(this.messages,y)),t=t.cloneNode(!0),t.style.display="flex",R(t,I(this.messages,f));let l={opacity:`${i??""}`};return v`<div class=${k(s?"size-ramp-vertical-container":"size-ramp-container")}><div class="size-ramp-label">${s?y:f}</div><div class=${k(s?"size-ramp-vertical-ramp":"size-ramp-ramp")}><div class="size-ramp-preview" style=${g(l)}>${r}</div>${this._renderSizeRampLines(n)}<div class="size-ramp-preview" style=${g(l)}>${t}</div></div><div class="size-ramp-label">${s?f:y}</div></div>`}_renderSizeRampLines(n){let s=n.infos,i=s.at(0),o=s.at(-1);if(!i||!o)return null;let d=i.symbol,m=this.hasIndicators,y=i.size&&typeof i.size=="number"?i.size:0,z=o.size&&typeof o.size=="number"?o.size:0,f=i.outlineSize||0,x=o.outlineSize||0,r=C(y+f),t=C(z+x),l=m?r:r+50,p=m?r/2+50:r,u=Y(d),h=X(d),c=document.createElement("canvas");c.width=l,c.height=p,c.style.width=`${c.width}px`,c.style.height=`${c.height}px`;let a=c.getContext("2d");if(m){a.beginPath();let $=0,b=0,w=l/2-t/2,M=p;a.moveTo($,b),a.lineTo(w,M);let L=l,T=0,E=l/2+t/2,S=p;a.moveTo(L,T),a.lineTo(E,S)}else{a.beginPath();let $=0,b=p/2-t/2,w=l;a.moveTo($,b),a.lineTo(w,0);let L=0,T=p/2+t/2,E=l,S=p;a.moveTo(L,T),a.lineTo(E,S)}return a.strokeStyle=O,a.stroke(),v`<div style=${g(m?{display:"flex",marginTop:`-${u?0:h?r/2:0}px`,marginBottom:`-${u?t:h?t/2:0}px`}:{display:"flex",marginRight:`-${u?0:h?r/2:0}px`,marginLeft:`-${u?0:h?t/2:0}px`})}>${c}</div>`}};A("arcgis-legend-card-size-ramp",j);return j},a,b)
|
package/dist/cdn/GK47522P.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{g as R}from"./J4CHCFLS.js";import"./XHOI3WNI.js";import b from"./HU57LQOA.js";import a from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as D}from"./ZSPYPXBY.js";import{h as $}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{O as F,P as E,X as k,a as v,b as m,n as o,p as u,r as g,x as y}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{getOrCreateMapValue:C},{a:f,b:c,c:p,d:A},{c:S,d:I,e:P,g:w}])=>{var N=v`arcgis-features-next{height:100%}.elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm)}.features-hidden{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size);overflow-wrap:anywhere}`,b=class extends E{constructor(){super(...arguments),this._messages=D({blocking:!0}),this.#o=!0,this.#i=[],this.#t=[],this.#r=new Map,this.#a=new Map,this.#n=!1,this.#l=new Map,this.#h=new Map,this.#e=[],this._isFeaturesSelected=!1,this.autoDestroyDisabled=!1,this.disableHighlight=!1,this.emitsArcgisResultReady=!0,this.features=[],this.hideActionBar=!1,this.hideFeatureResults=!1,this.hidePlaceholder=!1,this.includeDefaultActionsDisabled=!1,this.layers=[],this.state="ready",this.arcgisPropertyChange=$()("features","isFeaturesListShown","selectedResultFeature","state"),this.arcgisResultReady=y(),this.arcgisTriggerAction=y()}static{this.properties={_featuresComponentElement:16,_isFeaturesSelected:16,actions:0,autoDestroyDisabled:5,disableHighlight:5,emitsArcgisResultReady:32,features:32,heading:1,hideActionBar:5,hideFeatureResults:5,hidePlaceholder:5,includeDefaultActionsDisabled:5,isFeaturesListShown:32,layers:0,messageOverrides:0,numResults:32,referenceElement:1,selectedResultFeature:32,state:32,traceResult:32,utilityNetwork:32,view:32}}static{this.styles=N}#o;#i;get#m(){if(!this.traceResult)return!1;let{elements:e,globalFunctionResults:t,aggregatedGeometry:s}=this.traceResult;return e.length>0&&!t?.length&&!s}#t;#r;#a;#s;#n;#l;#h;get#c(){let{parentElement:e}=this.el;if(e&&R(e))return e;let t=this.el.getRootNode();if(t instanceof ShadowRoot&&R(t.host))return t.host}#e;get isFeaturesListShown(){return this._isFeaturesSelected&&!this.hideFeatureResults}get numResults(){return this.features.length+this.#i.length}get selectedResultFeature(){return this._featuresComponentElement?.selectedDrillInFeature??this._featuresComponentElement?.selectedFeature??void 0}clearResult(){this._isFeaturesSelected=!1,this.#s?.abort(),this.#y(),o(()=>this.features=[]),this.#e=[],this.#i=[],this.#r.clear(),this.#a.clear(),this.#h.clear(),this.#l.clear(),o(()=>this.state="ready")}async destroy(){this.clearResult(),await this.manager.destroy(),await this._featuresComponentElement?.destroy()}load(){this.manager.onLifecycle(()=>{let e=this.#c;if(!e){u("warn",this,"This component must be used as a child of `arcgis-utility-network-trace-results`.");return}let t=s=>this.#g(s);return e.addEventListener("arcgisPropertyChange",t),o(()=>{this.traceResult=e.traceResult,this.utilityNetwork=e.utilityNetwork,this.view=e.view}),()=>{e.removeEventListener("arcgisPropertyChange",t)}}),this.traceResult&&this.#d()}willUpdate(e){e.has("traceResult")&&this.#d(),e.has("disableHighlight")&&this.#u();let t=this.isFeaturesListShown;t!==this.#n&&this.arcgisPropertyChange.emit({name:"isFeaturesListShown"}),this.#n=t}loaded(){this.traceResult&&(this.traceResult.elements||u("error",this,g("traceResult.elements")),this.utilityNetwork||u("error",this,g("utilityNetwork")))}#g(e){if(e.target!==this.#c)return;let{target:t}=e;switch(e.detail.name){case"traceResult":o(()=>this.traceResult=t.traceResult);break;case"utilityNetwork":o(()=>this.utilityNetwork=t.utilityNetwork);break;case"view":o(()=>this.view=t.view);break}}#y(){this.#t.forEach(({handle:e})=>e?.remove()),this.#t=[]}#u(){this.#t.forEach(e=>{this.disableHighlight?(e.handle?.remove(),e.handle=void 0):e.handle=e.layerView.highlight(e.objectIds)})}#f(e){e&&(this._featuresComponentElement=e)}#p(e){return Array.from(new Map(e.map(t=>[t.globalId,t])).values())}#w(e){if(e==null||!this.#e.length)return;let t=this.#a.get(e);if(t)return t;let s=this.#e.find(a=>"layerId"in a&&a.layerId===e);return s&&this.#a.set(e,s),s}#R(){let{traceResult:e,utilityNetwork:t,view:s}=this;if(!t||!e?.elements?.length||!s)return;let a=r=>(P(r.layer)||w(r.layer))&&t.isUtilityLayer(r.layer),h=t.getObjectIdsFromElements(e.elements),i=s.allLayerViews.filter(a);h.forEach(({layerUrl:r,objectIds:n})=>{let l=Number(r.split("/").pop()),d=i.find(({layer:L})=>L.layerId===l);d&&this.#t.push({layerView:d,objectIds:n})}),this.#u()}async#b(e){let{layers:t,utilityNetwork:s,view:a}=this;if(!a||!s)return;try{s.loaded||await s.load({signal:e})}catch(i){if(p(i))throw i;f(i,this,"Error while loading the selected utility network")}c(e),this.#e=t.length?t.filter(i=>s.isUtilityLayer(i)):S(a,s);let h=this.#e.filter(i=>!i.loaded).map(i=>i.load({signal:e}));if(h.length>0){let i=await Promise.allSettled(h);c(e),i.forEach(r=>{r.status==="rejected"&&u("error",this,`Failed to load layer. Reason: ${r.reason}`)})}}async#d(){this.clearResult(),this._isFeaturesSelected=this.#m;let e=()=>{o(()=>this.state="ready"),this.arcgisResultReady.emit()},t=A(async s=>{let a=this.traceResult?.elements;if(!a?.length){e();return}o(()=>this.state="loading"),this.#E(a),await this.#b(s),await this.#F(s),c(s),this.#R(),e()});this.#s=t;try{await t.promise}catch(s){p(s)||(f(s,this,"Error while loading trace result"),this.#s===t&&e())}finally{this.#s===t&&(this.#s=void 0,o(()=>this.state="ready"))}}async#v([e,t],s){c(s);let a=this.utilityNetwork?.getLayerIdBySourceId(e),h=this.#w(a),i=this.#p(t);if(a==null||!h){this.#i.push(...i);return}let r=h.createQuery();r.gdbVersion=this.utilityNetwork?.gdbVersion,r.objectIds=i.map(l=>l.objectId),r.outFields=["*"];let{features:n}=await I(h,r,{signal:s});c(s),n.forEach(l=>{let d=l.layer;l.getEffectivePopupTemplate(this.#o)||(l.popupTemplate=d.createPopupTemplate())}),w(h)?n.forEach(l=>{C(this.#h,l.layer.subtypeCode,()=>[]).push(l)}):this.#r.set(a,n)}async#F(e){let t=Array.from(this.#l.entries());if(!t.length)return;let s=t.map(r=>this.#v(r,e)),a=await Promise.allSettled(s);c(e),a.forEach((r,n)=>{if(r.status==="rejected"){let[l]=t[n];u("error",this,`Failed to query features for source ${l}. Reason: ${r.reason}`)}});let h=Array.from(this.#r.values()),i=Array.from(this.#h.values());o(()=>this.features=h.concat(i).flat())}#E(e){this.#l=Map.groupBy(e,({networkSourceId:t})=>t)}#k(e){let{detail:t}=e;(t.name==="selectedDrillInFeature"||t.name==="selectedFeature")&&(e.stopPropagation(),this.arcgisPropertyChange.emit({name:"selectedResultFeature"}))}#$(e){e.stopPropagation(),this.arcgisTriggerAction.emit(e.detail)}#A(){return m`<div class="features-hidden">${this._messages.resultFeaturesAreHidden}</div>`}#S(){let{heading:e,_messages:t}=this;return m`<calcite-list .label=${t.headings.features}><calcite-list-item class="elements-list-item" .label=${e||t.headings.features} @calciteListItemSelect=${()=>this._isFeaturesSelected=!0}><calcite-chip .label=${t.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}render(){return!this.traceResult?.elements.length||this.manager.destroyed?null:this.hideFeatureResults?this.hidePlaceholder?null:this.#A():this.isFeaturesListShown?m`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#o} .features=${this.features} .hideActionBar=${this.hideActionBar} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} initial-display-mode=list .messageOverrides=${this.messageOverrides} open .referenceElement=${this.referenceElement} .view=${this.view} @arcgisClose=${()=>this._isFeaturesSelected=!1} @arcgisPropertyChange=${this.#k} @arcgisTriggerAction=${this.#$} ${F(this.#f)}></arcgis-features-next>`:this.#S()}};k("arcgis-utility-network-trace-elements-result-item",b);return b},"applications/Components/featureUtils",a,b)
|
package/dist/cdn/HQSY7TKA.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as _}from"./GUL7EIJ4.js";import c from"./WBBTZNZU.js";import b from"./HU57LQOA.js";import a from"./RUYAWRPV.js";import"./WJQUE4DR.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import{e as L}from"./ZKWI43WZ.js";import{N as O,O as S,P as j,R,V as f,X as Q,a as N,b as o,n as M}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{templateHasKey:V,stripHTML:T},{renderingSanitizer:H},{isRelatableFeatureSupportedLayer:J,findRelatedLayer:U},{substitute:X,formatNumber:k},{watch:p,on:Y},K,Z,{ignoreAbortErrors:P},ee,,,{h:B}])=>{var te=N`:host{position:relative;flex:1 1 auto}:host([empty]){display:none}.list{min-height:var(--calcite-spacing-xxxl)}.list-item-hidden{display:none}.feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=u=>{let e=[];if(u.formTemplate){let{description:t,title:i}=u.formTemplate;u.fields?.forEach(r=>{let s=i&&V(i,r.name),a=t&&V(t,r.name);(s||a)&&e.push(r.name)})}return e},D=100;function re(u){return typeof u=="string"&&u.trim().length>0}var E=class extends j{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:i,featuresPerPage:r,featurePage:s}=this;e==="ready"&&t&&i.length>=r*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await P(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await P(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await P(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=_(this._queryController,D),this._queryFeatureCountDebounced=_(this._queryFeatureCountController,D),this._queryPageDebounced=_(this._queryPageController,D),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=O(),this.relatedFeatures=new K,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new K,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.useFeatureNextFlowItem=!1,this.includeDefaultActions=!1,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.hideEmptyRelationshipContent=!1,this.empty=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,useFeatureNextFlowItem:5,actions:0,includeDefaultActions:5,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,hideEmptyRelationshipContent:5,empty:39,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=te}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(i=>{let r=i.clone();return r.field=B(i.field,t),r}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:i}=this;if(!e?.loaded||!t||!i)return null;let r=e.type==="subtype-sublayer"&&e.parent&&J(e.parent)?e.parent:e;return U(t,r,i)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(i=>i.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:i})=>i===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:i,state:r,allCategoriesCount:s}=this,a=!!s&&(s>i||i===0),n=!!t&&(t>i||i===0);return!e&&r==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:i,canQuery:r,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||i?"querying":r?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:i,allCategoriesCount:r}=this;return X(e?.numberRecords??"",{number:k(i?r:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:i}=this,r=1,s=Math.ceil(i/t)||1;this._featurePage=Math.min(Math.max(e,r),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get _empty(){let{displayListItems:e,hideEmptyRelationshipContent:t,state:i}=this;return t&&i==="ready"&&!e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[p(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),p(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),p(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),p(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),p(()=>[this.displayListItems,this.hideEmptyRelationshipContent,this.state],()=>this._setEmpty(this._empty),{initial:!0}),Y(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}_setEmpty(e){M(()=>this.empty=e)}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:i,activeCategory:r,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:C}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!r){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:v}=await $arcgis.t(m=>({default:m[0]}),"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:I}=await v({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:i?.signal}),$=I.map(({count:h,value:y})=>{let b=t.subtypes?.find(A=>A.code===y)?.name;return y!=null&&b?{count:h,value:y,name:b}:void 0}).filter(h=>h!=null);this.allCategories=$}return}let{historicMoment:m,gdbVersion:F}=e,w=new Z({cacheHint:C,gdbVersion:F,historicMoment:m,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),c=await e.queryRelatedFeaturesCount(w,{signal:i?.signal});this.allCategories=void 0,this.featureCount=c[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,i=e.createQuery(),r="subtypeField"in e?e.subtypeField:void 0,s=t&&r?`${r} = ${t.value}`:void 0,a=i.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:i}=this;return t?e:i?e.slice(0,i):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:i,_queryPageAbortController:r,featureCount:s}=this;!i||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:r?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:i,featurePage:r,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:C,showAllEnabled:m,supportsCacheHint:F}=this,{canQuery:w,objectId:c}=this;if(!w||!a||!l||c==null)return[];let v=m?((r-1)*s+i)%i:0,I=m?s:t,$=l.objectIdField,h="subtypeField"in l?l.subtypeField:void 0,y=[...n.map(d=>d.field),...ie(l),...g,$,h].filter(re),b=n.map(d=>`${d.field} ${d.order}`),{historicMoment:A,gdbVersion:z}=a,W=new Z({orderByFields:b,start:v,num:I,outFields:y,cacheHint:F,historicMoment:A,gdbVersion:z,relationshipId:C,returnGeometry:!1,objectIds:[c],where:this._getRelationshipWhereClause(l)}),q=(await a.queryRelatedFeatures(W,{signal:e?.signal}))[c]?.features||[];return l.type==="subtype-group"&&h?q.forEach(d=>{let G=d.attributes[h],x=l.findSublayerForSubtypeCode?.(G);d.sourceLayer=x,d.layer=x}):q.forEach(d=>{d.sourceLayer=l,d.layer=l}),q}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;if(!t)return;let i=this.useFeatureNextFlowItem?f(o`<arcgis-feature-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .includeDefaultActions=${this.includeDefaultActions} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`):f(o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`);this._addFlowItem(i)}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(f(o`<arcgis-feature-relationship .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} .includeDefaultActions=${this.includeDefaultActions} hide-description .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let i=e?.graphic?.getObjectId(),r=t?.getObjectId();return i!=null&&r!=null&&i===r}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:i,view:r,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new ee({abilities:{relationshipContent:!1},map:i,view:r,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class="loading-container">${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:i}=e,r=k(t);return o`<calcite-list-item class="list-item" .disabled=${!t} .label=${i} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${r} scale=s slot=content-end>${r}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:i}=this,{formattedAttributes:r,state:s,heading:a}=e,n={...i,...r?.global},l=(t&&n?.[t])??"";return o`<calcite-list-item class=${R(L("list-item",{"list-item-hidden":s==="loading"}))} .description=${T(l.toString())} .label=${T(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}><div slot=heading><div .innerHTML=${H.sanitize(a??"")??""}></div></div><div slot=description><div .innerHTML=${H.sanitize(l??"")??""}></div></div>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class="feature-observer" ${S(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(i=>this._renderCategory(i))??e.toArray().map(i=>this._renderRelatedFeature(i))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${R(L("list",{"list-querying":t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};Q("arcgis-feature-relationship",E);return E},"applications/Components/stringUtils","applications/Components/sanitizerUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","popup/FeatureModel",a,b,c)
|
package/dist/cdn/IITDAOGZ.js
DELETED
package/dist/cdn/JXU37SH6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import b from"./HA4XWZH4.js";import a from"./HPWF3IQV.js";import{a as f}from"./IFR4IYSI.js";import{h as d,u as v}from"./3UMLR76Y.js";export default $arcgis.t(([{watch:E},{b:b},{d:w,f:u,g:y}])=>{var k=(m,e)=>t=>g(t,m),h=class extends w{#o=new Map;#e;#t;constructor(e,t){super(e,t),new b(e);let s=this,o=s.instance,i=o.viewModel,r=o.visibleElements,l=new Proxy(this.exports,{get(n,c,p){return c==="viewModel"?i:c==="visibleElements"?r:Reflect.get(n,c,p)}});if(s.#t=o,s.instance=l,s.exports=l,i){let n={component:e,get exports(){return s.instance.viewModel}};y(s).set("viewModel","viewModel"),e.addController(n),i=u(e,new WeakRef(n),d(e)-1,i,s.#o)}s.instance.visibleElements&&(r=s.#s(o))}hostConnected(){this.instance=this.#t,super.hostConnected()}hostLoad(){this.#e=E(()=>this.component.el.view,e=>{let t=this.instance;!("view"in t)&&typeof t.viewModel=="object"?t.viewModel.view=e:t.view=e,!("map"in t)&&typeof t.viewModel=="object"?t.viewModel.map=e?.map:t.map=e?.map},{sync:!0,initial:!0})}hostUpdate(e){e.has("closed")&&(this.instance.visible=!this.component.closed)}hostLoaded(){let{el:e}=this.component;e.childElem??=document.createElement("div"),e.childElem.setAttribute("arcgis-widget-wrapped",""),this.instance.container=e.childElem,(this.component.el.shadowRoot??this.component.el).appendChild(this.instance.container),this.component.closed!==void 0&&this.onLifecycle(()=>E(()=>this.instance.visible,t=>this.component.closed=!t,{initial:!0}))}#s(e){return new Proxy(e.visibleElements,{get:(t,s)=>{if(typeof s=="symbol"||s in Promise.prototype)return t[s];let o=[s],i=this.#n(o);return v(this.component,r=>{let l=r;this.component[l]=!1;let n=e.visibleElements??{},c;for(let a of o.slice(0,-1))if(typeof n[a]=="object"&&n[a]!==null)n=n[a];else{c=!!n[a];break}c===void 0&&(c=!!(n[o.slice(-1)[0]]??!0));let p=l.startsWith("hide")||l.startsWith("show")?l.startsWith("hide"):c;this.onUpdate(a=>{if(a.has(l)){let x=this.component[l];this.#i(o,x,p)}})},i)}})}#n(e){let t=new Proxy({},{get:(s,o)=>{let i=Reflect.get(s,o);return typeof o=="symbol"||o in Promise.prototype?i:(e.push(o),t)}});return t}#i(e,t,s){let o=this.instance.visibleElements??{};for(let r of e.slice(0,-1))(typeof o[r]!="object"||o[r]===null)&&(o[r]={}),o=o[r];let i=!!(s?!t:t);o[e.at(-1)]=i}hostDestroy(){this.#e?.remove(),super.hostDestroy()}},g=f(h);return k},"core/reactiveUtils",a,b)
|
package/dist/cdn/KCLVDXWB.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as P}from"./TMTFZSJS.js";import{a as K,e as L,f as E,g as C,h as A,i as pe,j as g,k as me}from"./IM6IDWYR.js";import{a as Z}from"./FH3WFF5O.js";import{a as J}from"./N3DTZRST.js";import{a as y}from"./6J3KSMFG.js";import c from"./RUYAWRPV.js";import"./WJQUE4DR.js";import"./HQWUQFN5.js";import{a as ge}from"./ZSPYPXBY.js";import"./L5IRXOCJ.js";import b from"./HPWF3IQV.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{N as Y,O as G,P as oe,S as V,U,X as le,a as ae,b as p,x as F}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:fe,when:ze,whenOnce:Ue},{getZonedDateTimeParts:O,createZonedDate:se,formatCalendarDate:Q},De,N,Pe,{createTrackingTarget:Ze,runTracked:_e,signal:Le},,{a:ue},{e:ce,f:de,g:he}])=>{function Te(s,e){return(s%e+e)%e}var ee=class{#t;#d;#h=Ze(()=>{this.#i()});constructor(e){this.#d=e;let t;_e(this.#h,()=>{t=e()}),this.#t=Le(t)}#i(){let e=this.#t.value;_e(this.#h,()=>{this.#t.value=this.#d(e)})}mutate(e){this.#t.value=e}get value(){return this.#t.value}};function W(s){return new ee(s)}var j=Math.PI,m=Math.sin,k=Math.cos,Ee=Math.asin,Ae=Math.acos,S=j/180,ke=1e3*60*60*24,Ce=2440588,$e=2451545;function Ne(s){return s.valueOf()/ke-.5+Ce}function I(s){return new Date((s+.5-Ce)*ke)}function Ie(s){return Ne(s)-$e}var be=S*23.4397;function He(s,e){return Ee(m(e)*k(be)+k(e)*m(be)*m(s))}function Re(s){return S*(357.5291+.98560028*s)}function je(s){return S*(1.9148*m(s)+.02*m(2*s)+3e-4*m(3*s))}function qe(s,e){var t=S*102.9372;return s+e+t+j}var D={};D.PolarException={NORMAL:0,MIDNIGHT_SUN:1,POLAR_NIGHT:2};var X=[[-.83,"sunrise","sunset"]],Oe=9e-4;function Be(s,e){return Math.round(s-Oe-e/(2*j))}function ve(s,e,t){return Oe+(s+e)/(2*j)+t}function we(s,e,t){return $e+s+.0053*m(e)-.0069*m(2*t)}function Fe(s,e,t){return Ae((m(s)-m(e)*m(t))/(k(e)*k(t)))}D.getTimes=function(s,e,t){var i=S*-t,r=S*e,n=Ie(s),a=Be(n,i),l=ve(0,i,a),o=Re(l),d=je(o),c=qe(o,d),h=He(c,0),u=we(l,o,c);function v(B){var z=Fe(B,r,h),Me=ve(z,i,a);return we(Me,o,c)}function x(B){var z=(m(B)-m(r)*m(h))/(k(r)*k(h));return z<-1?D.PolarException.MIDNIGHT_SUN:z>1?D.PolarException.POLAR_NIGHT:D.PolarException.NORMAL}var _={solarNoon:I(u),nadir:I(u-.5),polarException:D.PolarException.NORMAL},b,f,M,q,ne;for(b=0,f=X.length;b<f;b+=1)M=X[b],q=v(M[0]*S),ne=u-(q-u),_[M[1]]=I(ne),_[M[2]]=I(q);return _.polarException=x(X[0][0]*S),_};var Ye={spring:{dayOfMonth:20,month:2},summer:{dayOfMonth:21,month:5},fall:{dayOfMonth:23,month:8},winter:{dayOfMonth:21,month:11}},te=["spring","summer","fall","winter"];function $(s,e,t){let i=re(e,t),{dayOfMonth:r,month:n}=Ye[i],a=new Date(s.getTime());return a.setMonth(n,r),a}function Ge(s,e){let t=Ve(s);return re(t,e)}function Ve(s){let e=s.getTime(),t=$(s,"spring","northern").getTime(),i=$(s,"summer","northern").getTime(),r=$(s,"fall","northern").getTime(),n=$(s,"winter","northern").getTime();return e>=t&&e<i?"spring":e>=i&&e<r?"summer":e>=r&&e<n?"fall":"winter"}function re(s,e){return e==="northern"?s:Je(s)}function xe(s){return s>=0?"northern":"southern"}function Je(s){let e=te.indexOf(s);return te[(e+2)%4]}var Ke=1440,Qe=864e5;function T({hour:s,minute:e}){return s*60+e}function We(s){return{year:s.getUTCFullYear(),month:s.getUTCMonth()+1,day:s.getUTCDate()}}function Xe(s,e,t){let i=O(s,t);if(!i)return s;let r=new Date(s.getTime()+e),n=O(r,t);return!n||n.year===i.year&&n.month===i.month&&n.day===i.day?r:se(i,T(n),t)??r}function et(s,e){let t=O(s,e);if(!t)return s;let i=t.month%12+1,r=t.year+(i===1?1:0),n=new Date(Date.UTC(r,i,0)).getUTCDate();return se({year:r,month:i,day:Math.min(t.day,n)},T(t),e)??s}function tt(s,e,t,i){let r=D.getTimes(s,e,t),n=r.sunrise,a=r.sunset,l=E(s,i),o=E(n,i),d=E(a,i);if(l.getUTCDate()!==o.getUTCDate()||l.getUTCDate()!==d.getUTCDate()){let c=l.getTime()-o.getTime()>0?1:-1;n.setUTCDate(n.getUTCDate()+c),a.setUTCDate(a.getUTCDate()+c)}return{sunrise:n,sunset:a}}var it=100,st=1e3,w=12e5,H=72e5;function ye(s,e){return Te(s+e,24)}function rt({mode:s,lighting:e,getPlaySpeed:t,getNextDate:i,onProgress:r,beforeProgress:n}){let a=-1;function l(o=Date.now()){let d=e.date,c=Date.now()-(o??0);if(s==="day"){o=Date.now();let h=t()/it*c;if(h>0){let u=i?.(d,s,h);if(!u){u=new Date(d.getTime()+h);let x=e.displayUTCOffset??0,_=ye(u.getUTCHours(),x),b=ye(d.getUTCHours(),x);_<b&&(u=new Date(d.getTime()+h-Qe))}let v=e.clone();n?.(),e.date=u,r?.(v,e)}}else if(c>st){o=Date.now();let h=i?.(d,s,0)??new Date(d.getTime());if(!i){let v=(d.getUTCMonth()+1)%12;h.setUTCMonth(v)}let u=e.clone();n?.(),e.date=h,r?.(u,e)}a=requestAnimationFrame(()=>l(o))}return l(),Z(()=>cancelAnimationFrame(a))}var R=w/4;function nt(s,e,t,i){let{day:r,night:n=r,twilight:a=r}=i,l=r*R,o=n*R,d=a*R;if(s==null||e==null||Number.isNaN(s.getTime())&&Number.isNaN(e.getTime()))return l;let c=t.getTime(),h=s.getTime(),u=e.getTime(),v=h-H/2,x=h+H/2,_=u-H/3*2,b=u+H/3,f=l;return c>=v&&c<=x?c-v<=w?f=o-(c-v)/w*(o-d):x-c<=w/2?f=l-(x-c)/w*2*(l-d):f=d:c>=_&&c<=b?c-_<=w/2?f=l-(c-_)/w*2*(l-d):b-c<=w?f=o-(b-c)/w*(o-d):f=d:(c<h||c>u)&&(f=o),f}var at=ae`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.time-label{align-items:center;display:flex;gap:var(--calcite-spacing-sm);+.slider{margin-block:var(--calcite-spacing-sm)}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`,ot={day:1,night:6,twilight:2/3},ie=class extends oe{constructor(){super(...arguments),this.messages=ge({blocking:!0}),this.#d="none",this.#h=null,this.#o=!1,this.#e=!1,this.#m=Y(),this.#T=Y(),this.#$=200,this.#O=200,this.#f=!1,this.#p={},this.#l=W(e=>{let t=this._lighting,i=g(t)?t.displayUTCOffset:void 0,r=this.#_(t)?this.#n(t.date):void 0;return this.#e?e:r??i??e}),this.#r=W(e=>{let t=this._lighting;if(!g(t))return e;let i=t.date;if(this.#e)return e;if(L(i)){let{minutesSinceMidnight:r}=this.#y(i);return r}return e}),this.#s=W(e=>{let t=this._lighting,i=this.#_(t)?this.#y(t.date).localDate:pe(this._view,this.utcOffset);return this.#e?e:i??e}),this.#c=!1,this.#k="offset",this.view=ue(this),this.autoDestroyDisabled=!1,this.dateOrSeason="date",this.headingLevel=2,this.hideDatePicker=!1,this.hideHeader=!1,this.hidePlayButtons=!1,this.hideShadowsToggle=!1,this.hideSunLightingToggle=!1,this.hideTimezone=!1,this.icon="brightness",this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.arcgisReady=F(),this.arcgisUserDateTimeChange=F()}static{this.properties={_playingState:16,_sunlightingDisabled:16,_directShadowsDisabled:16,localDateAsString:32,view:0,autoDestroyDisabled:5,currentSeason:1,dateOrSeason:3,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:3,label:1,playSpeedMultiplier:9,referenceElement:1,timeSliderSteps:9,timeZoneMode:1,utcOffset:9,timeSliderPosition:9,localDate:1,yearPlaying:5}}static{this.styles=at}get _view(){return this.view?.type==="3d"?this.view:void 0}#t;#d;#h;#i;#o;#e;#m;#T;#$;#O;#f;#p;get#U(){return this.#T?.value?.startTime}#l;#r;#s;get _lighting(){return this._view?.environment?.lighting}#c;#k;#g;get _playingState(){return this.#d}set _playingState(e){this.#d=e,this.#g?.remove(),e==="none"?this.#t?.remove():(this.#z(e),this.#w())}get _sunlightingDisabled(){return!g(this._lighting)}set _sunlightingDisabled(e){this.#u("sunlightingDisabled",e);let t=this._view?.environment;if(t==null)return;let i=t.lighting,r=this.#h;this.#h=i;let n={directShadowsEnabled:i.directShadowsEnabled,glow:i.glow};g(i)&&(n.cameraTrackingEnabled=i.cameraTrackingEnabled);let a=e?"virtual":"sun",l;r?.type===a?l=r:l=e?new Pe:this.#Z(),l.set(n),t.lighting=l,e||(this.#a(),this.#m.value&&(this.#m.value.open=!1))}get _directShadowsDisabled(){return!this._lighting?.directShadowsEnabled}set _directShadowsDisabled(e){this.#u("directShadowsDisabled",e),this._lighting&&(this._lighting.directShadowsEnabled=!e)}get localDateAsString(){return this.#s.value??void 0}get currentSeason(){let e=this._view?.camera?.position?.latitude??0,t=xe(e);return Ge(this.localDate,t)}set currentSeason(e){this.#a();let t=this._view?.camera?.position?.latitude??0,i=xe(t),r=re(e,i);this.localDate=$(this.localDate,r,"northern"),this.#w()}get dayPlaying(){return this._playingState==="day"}set dayPlaying(e){this._playingState=e?"day":"none"}get timeZoneMode(){return this.#k}set timeZoneMode(e){this.#c||(this.#k=e)}get utcOffset(){return this.#l.value}set utcOffset(e){if(this.timeZoneMode==="region"){this.#D();return}this.#e=!0,this.#l.mutate(e),!this.#u("utcOffset",e)&&this.#b(!1)}get timeSliderPosition(){return this.#r.value}set timeSliderPosition(e){this.#e=!0,this.#r.mutate(Te(e??0,Ke)),!this.#u("timeSliderPosition",e)&&this.#b(!0)}get localDate(){return this.#s.value!=null?new Date(this.#s.value):new Date}set localDate(e){if(typeof e=="string"&&/^\d{4}-\d{2}-\d{2}$/u.test(e)){if(this.#e=!0,this.#s.mutate(e),this.#u("localDate",e))return;this.#b(!0);return}let t=new Date(e);if(L(t)){this.#e=!0,t.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());let i=t.toISOString().slice(0,10);if(this.#s.mutate(i),this.#u("localDate",i))return;this.#b(!0)}}get yearPlaying(){return this._playingState==="year"}set yearPlaying(e){this._playingState=e?"year":"none"}async destroy(){await this.manager.destroy()}async load(){this.manager.onLifecycle(()=>[fe(()=>{let e=this._view?.camera?.position;return e?P(e):void 0},(e,t)=>{this.#R(e,t)},{sync:!0,initial:!0}),fe(()=>{let e=this._lighting;return[this._view?.timeZone,e,g(e)?e.date:void 0]},(e,t)=>{this._playingState==="day"&&t&&e[0]===t[0]&&e[1]===t[1]||this.#D()},{sync:!0,initial:!0}),ze(()=>!g(this._lighting),()=>{this.#a()}),De.onLocaleChange(()=>{this.requestUpdate()})]),this.manager.onDisconnected(()=>{this.#t?.remove(),this.#i?.remove(),this.#g?.remove()})}willUpdate(e){if(super.willUpdate(e),!!this.#c&&this.timeZoneMode==="offset"&&g(this._lighting)&&e.has("utcOffset")&&!e.has("localDate")&&!e.has("timeSliderPosition")){let t=this.utcOffset??0,{minutesSinceMidnight:i,localDate:r}=C(this._lighting.date,t);this.#r.mutate(i),this.#s.mutate(r)}}async loaded(){let e=new AbortController;this.manager.onDisconnected(()=>({remove:()=>{e.abort()}})),await ce(Ue(()=>this._view?.ready,{signal:e.signal}).then(()=>{let t=this._lighting,i=this._view?.camera?.position;if(this.timeZoneMode==="offset"&&this.#p.utcOffset==null&&g(t)&&t.displayUTCOffset==null&&i){let n=P(i);this.#v(n,t)}this.#c=!0,this.#_(t)&&this.#D(t),this.#P(),g(this._lighting)||(this.timeZoneMode==="region"?this.#j():this.#q());let r=this._playingState;r!=="none"&&this.#t==null&&this.#z(r)}))}#u(e,t){return this.#c||this.#f?!1:(this.#p[e]=t,!0)}#P(){let{utcOffset:e,timeSliderPosition:t,localDate:i,directShadowsDisabled:r,sunlightingDisabled:n}=this.#p;if(this.#f=!0,this.timeZoneMode==="offset"&&e!=null)if(t==null&&i==null){let a=this._lighting;g(a)?(a.displayUTCOffset=e,this.#v(e,a)):this.#l.mutate(e)}else this.utcOffset=e;t!=null&&(this.timeSliderPosition=t),i&&(this.localDate=i),r!=null&&(this._directShadowsDisabled=r),n!=null&&(this._sunlightingDisabled=n),this.#p={},this.#f=!1,this.#i||(this.#e=!1)}#_(e){return this.timeZoneMode==="region"&&g(e)&&L(e.date)}#Z(){return this.timeZoneMode==="region"?this.#L():this.#E()}#L(){let e=new Date,t=this.#C(e,0)??e;return new N({date:t,displayUTCOffset:this.#n(t)})}#C(e,t){let i=this.#x,r=O(e,i);if(!r)return null;let n=this.#s.value==null?r:We(this.localDate),a=this.timeSliderPosition??t??T(r);return se(n,a,i)}#E(){let e=A(this.localDateAsString??this.localDate,this.timeSliderPosition??0,this.utcOffset??0);return new N({date:e,displayUTCOffset:this.utcOffset})}#b(e){if(this.#e=!0,this.requestUpdate(),this.#o||=e,this.#i)return;let t=de(()=>{let i=this._lighting;g(i)&&(this.timeZoneMode==="region"?this.#A(i):this.#N(i)),this.#i?.remove(),this.#D()},{timeout:this.#$});this.#i=Z(()=>{he(t),this.#i=void 0,this.#o=!1,this.#e=!1})}#A(e){if(!this.#o){e.displayUTCOffset=this.#n(e.date);return}let t=this.#C(e.date,0);t&&(e.date=t,e.displayUTCOffset=this.#n(t))}#N(e){let t=this.utcOffset??0;if(!this.#o){e.displayUTCOffset=t;return}e.date=A(this.localDate,this.timeSliderPosition??0,t),e.displayUTCOffset=t}#I(e){if(!this.#o){e.displayUTCOffset=this.#n(e.date);return}let t=this.#C(e.date);t&&(e.date=t,e.displayUTCOffset=this.#n(t)),this.#i?.remove()}#H(e){let t=this.utcOffset??e.displayUTCOffset??0;if(!this.#o){e.displayUTCOffset=t,this.#i?.remove();return}let i=C(e.date,t),r=this.localDateAsString??i.localDate,n=this.timeSliderPosition??i.minutesSinceMidnight;e.date=A(r,n,t),e.displayUTCOffset=t,this.#i?.remove()}#R(e,t){let i=this._lighting;if(!(this.timeZoneMode==="region"||!this.#c||!g(i)||!i.cameraTrackingEnabled||e==null)){if(t==null&&i.displayUTCOffset==null){this.#v(e,i);return}i.displayUTCOffset!=null&&(i.displayUTCOffset=e),this.#v(e,i)}}#v(e,t){t.displayUTCOffset=e,this.#M(e,t.date)}#j(){let e=new N,t=this.#S(e.date);t&&(this.timeSliderPosition==null&&this.#r.mutate(T(t)),this.localDateAsString==null&&this.#s.mutate(Q(t)),this.#l.mutate(this.#n(e.date)),this.requestUpdate())}#q(){let e=this._view?.camera?.position,t=this.utcOffset??(e?P(e):0),i=new N({displayUTCOffset:t});this.#M(t,i.date,{fillMissingOnly:!0})}#M(e,t,{fillMissingOnly:i=!1}={}){let{minutesSinceMidnight:r,localDate:n}=C(t,e);(!i||this.utcOffset==null)&&this.#l.mutate(e),(!i||this.timeSliderPosition==null)&&this.#r.mutate(r),(!i||this.localDateAsString==null)&&this.#s.mutate(n),this.requestUpdate()}#w(){this.isConnected&&this.arcgisUserDateTimeChange.emit()}#a(){this._playingState="none"}#B(e){if(this.#g)return;let t=setTimeout(()=>{let i=e.date,{minutesSinceMidnight:r}=this.#y(i);this.#r.mutate(r),this.#g?.remove()},this.#O);this.#g=Z(()=>{clearTimeout(t),this.#g=void 0;let i=this._lighting;if(g(i)){let r=i.date,{minutesSinceMidnight:n}=this.#y(r);this.#r.mutate(n)}})}#z(e){this.#t?.remove();let t=this._view;if(t==null||this._sunlightingDisabled)return;let i=t.environment.lighting;if(!g(i))return;this.timeZoneMode==="region"?this.#I(i):this.#H(i);let r=0;this.#t=rt({mode:e,lighting:i,getNextDate:this.timeZoneMode==="region"?(n,a,l)=>a==="day"?Xe(n,l,this.#x):et(n,this.#x):void 0,beforeProgress:()=>{r=this.#U??0},onProgress:(n,a)=>{this.timeZoneMode==="region"&&(a.displayUTCOffset=this.#n(a.date)),this.#r.mutate(r),this.#B(a)},getPlaySpeed:()=>{let n=this._view,a=this._view?.environment.lighting;if(n!=null&&g(a)){let l=n.camera.position.latitude??0,o=n.camera.position.longitude??0,d=this.timeZoneMode==="region"?this.#n(a.date):a.displayUTCOffset??0,{sunrise:c,sunset:h}=tt(a.date,l,o,d);return nt(c,h,a.date,ot)*this.playSpeedMultiplier}else return R*this.playSpeedMultiplier}})}get#x(){return me(this._view?.timeZone??K)}#n(e){let t=this.#S(e);if(!t)throw new RangeError("Invalid date or time zone");return t.offsetMinutes/60}#y(e){let t=this.timeZoneMode==="region"?this.#S(e):null;return t?{localDate:Q(t),minutesSinceMidnight:T(t)}:C(e,this.utcOffset??0)}#S(e){return O(e,this.#x)}#D(e=this._lighting){if(!this.#c||!this.#_(e)||this.#e)return;let t=this.#S(e.date);if(!t)return;let i=this.#n(e.date);e.displayUTCOffset=i,this.#l.mutate(i),this.#s.mutate(Q(t)),this.#r.mutate(T(t)),this.requestUpdate()}#F({scale:e,disabled:t}){let{messages:i}=this;return p`<calcite-label .scale=${e} class="date-picker-container">${i.date}${lt({disabled:t,scale:e,date:this.localDateAsString,onDateChange:r=>{let n=r.currentTarget.value,a=Array.isArray(n)?n[0]:n;this.#a(),this.localDate=a,this.#w()}})}</calcite-label>${y({hidden:this.hidePlayButtons,children:Se({playing:this.yearPlaying,disabled:t,label:i.playYear,onClick:()=>{this._playingState==="year"?this._playingState="none":this._playingState="year"},scale:e})})}`}#Y({scale:e,disabled:t}){let{messages:i}=this;return p`<calcite-label .scale=${e} class="date-picker-container">${i.season}${ct({scale:e,selectedSeason:this.currentSeason,disabled:t,messages:i,onSeasonChange:r=>{this.#a(),this.currentSeason=r.currentTarget.value}})}</calcite-label>`}render(){let{messages:e,dateOrSeason:t}=this,i=this._sunlightingDisabled,r="m";if(this._view?.type!=="3d")return J({class:"root",label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:p`<div class="unsupported"><p>${e.unsupported}</p></div>`});let n=(this.utcOffset??0)*60,a=this.view?.ready===!0,l=Array.isArray(this.timeSliderSteps)?this.timeSliderSteps.at(0):this.timeSliderSteps;return J({class:{root:!0,loading:!a},label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:p`${a?void 0:p`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${V({columnGap:this.hidePlayButtons?"0":void 0})}><calcite-label class="slider-container" .scale=${r}>${this.timeZoneMode==="region"?p`<span class="time-label">${e.timeSliderLabel}${y({hidden:this.hideTimezone,children:p`<arcgis-time-zone-chip .disabled=${i} .timeZone=${this._view?.timeZone??K} .visualScale=${r} @click=${o=>o.stopPropagation()} @arcgisInternalTimeZoneChange=${o=>{this._view&&(this._view.timeZone=o.detail)}}></arcgis-time-zone-chip>`})}</span>`:e.timeSliderLabel}<arcgis-time-of-day-slider class="slider" .disabled=${this._sunlightingDisabled} mode=single .startTime=${this.timeSliderPosition??0} .steps=${l} style=${V({gridArea:"slider"})} @arcgisTimeChange=${({currentTarget:o})=>{this.#a(),this.timeSliderPosition=o.startTime,this.#w()}} ${G(this.#T)}></arcgis-time-of-day-slider></calcite-label>${y({hidden:this.hidePlayButtons,children:Se({disabled:this._sunlightingDisabled,playing:this.dayPlaying,label:e.playDay,onClick:()=>{this._playingState==="day"?this.#a():this._playingState="day"},scale:r})})}${this.timeZoneMode==="offset"?y({hidden:this.hideTimezone,children:p`<calcite-label .scale=${r} class="timezone-input-container">${e.timezone}<calcite-input-time-zone data-testid=daylight-time-zone-input mode=offset overlay-positioning=fixed .scale=${r} .disabled=${this._sunlightingDisabled} .value=${`${n}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${o=>{let d=+o.target.value;this.utcOffset=d/60,this.#a()}} ${G(this.#m)}></calcite-input-time-zone></calcite-label><span></span>`}):void 0}${y({hidden:this.hideDatePicker,children:t==="date"?this.#F({scale:r,disabled:i}):this.#Y({scale:r,disabled:i})})}</div>${y({hidden:this.hideSunLightingToggle,children:dt({scale:r,messages:e.sunLightingToggle,sunlightingEnabled:!this._sunlightingDisabled,onSunLightingToggle:o=>{this._sunlightingDisabled=!o}})})}${y({hidden:this.hideShadowsToggle,children:ht({scale:r,messages:e.shadowsToggle,onShadowCheckboxChange:o=>{this._directShadowsDisabled=!o},shadowEnabled:!this._directShadowsDisabled})})}`})}};function Se({disabled:s,playing:e,onClick:t,label:i,scale:r="m"}){return p`<calcite-button appearance=solid .scale=${r} .disabled=${s} .iconStart=${e?"pause-f":"play-f"} .label=${i} @click=${t} round title=${i??U} type=button></calcite-button>`}function lt({disabled:s,date:e,onDateChange:t,scale:i}){return p`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${s} overlay-positioning=fixed placement=bottom .value=${e} .scale=${i} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`}function ct({messages:s,disabled:e,scale:t,selectedSeason:i,onSeasonChange:r}){return p`<calcite-select .disabled=${e} .label=${s.season} .scale=${t} .value=${i} @calciteSelectChange=${n=>{r(n)}}>${te.map(n=>p`<calcite-option .selected=${i===n} .value=${n}>${s[n]}</calcite-option>`)}</calcite-select>`}function dt({messages:s,sunlightingEnabled:e,onSunLightingToggle:t,scale:i}){return p`<calcite-label layout=inline .scale=${i} title=${s?.tooltip??U}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${r=>t(r.target.checked)}></calcite-checkbox>${s?.label}</calcite-label>`}function ht({messages:s,shadowEnabled:e,onShadowCheckboxChange:t,scale:i}){return p`<calcite-label layout=inline .scale=${i} title=${s?.tooltip??U}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${r=>t(r.target.checked)}></calcite-checkbox>${s.label}</calcite-label>`}le("arcgis-daylight",ie);return ie},"core/reactiveUtils","core/timeUtils","intl","views/3d/environment/SunLighting","views/3d/environment/VirtualLighting","applications/Components/reactiveUtils",a,b,c)
|
package/dist/cdn/LKAJVIS2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import c from"./WBBTZNZU.js";import b from"./HU57LQOA.js";import a from"./RUYAWRPV.js";import{a as A}from"./WJQUE4DR.js";import{h as y}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as F,V as p,X as _,a as m,b as n,n as d}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([w,I,v,{getDisplayedSymbol:b},{stripHTML:x},{watch:h},{c:C},,{e:f}])=>{var $=m`calcite-notice{padding:var(--calcite-space-lg)}`,l=class extends F{constructor(){super(...arguments),this._aggregatedGraphicsSet=new Set,this.aggregatedFeatureCount=0,this.selectedAggregatedFeatureIndex=-1,this.aggregatedFeatureItems=[],this.aggregatedFeatures=[],this.autoDestroyDisabled=!1,this.chartAnimationDisabled=!1,this.defaultPopupTemplateEnabled=!1,this.headingLevel=2,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.loading=!1,this.selectedAggregateBoundaryFeature=new I({symbol:new v({outline:{width:1.5,color:"cyan"},style:"none"})}),this.arcgisPropertyChange=y()("aggregatedFeatureCount","selectedAggregatedFeatureIndex","aggregatedFeatureItems","aggregatedFeatures","loading"),this._renderableAggregatedFeatureItems=[]}static{this.properties={_abortController:16,aggregatedFeatureCount:32,selectedAggregatedFeatureIndex:32,aggregatedFeatureItems:32,aggregatedFeatures:32,autoDestroyDisabled:5,chartAnimationDisabled:5,defaultPopupTemplateEnabled:5,headingLevel:9,location:0,messageOverrides:0,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,feature:0,flowItems:0,loading:32,map:0,messages:0,selectedAggregateBoundaryFeature:32,spatialReference:0,timeZone:1,view:0}}static{this.styles=$}async destroy(){await this.manager.destroy(),this._cancelQuery(),this._clearAggregatedFeatureItems(),this._removeAggregateBoundaryFeature()}async next(){await this._selectRelativeAggregatedFeature(1)}async previous(){await this._selectRelativeAggregatedFeature(-1)}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.feature,this.view],()=>{this._updateAggregatedFeatures()},{initial:!0}),h(()=>this._getAggregatedFeatureItemsHeadingSignature(),()=>this.requestUpdate()),h(()=>this.flowItems?.length,()=>{let{flowItems:e}=this,t=e?.getItemAt((e.length??0)-1)?.graphic??void 0;this._setSelectedAggregatedFeatureIndex(t?this.aggregatedFeatures.indexOf(t):-1),this._removeSelectedAggregatedFeature(),t&&this._aggregatedGraphicsSet.has(t)&&this._addSelectedAggregatedFeature(t)})])}disconnectedCallback(){super.disconnectedCallback(),this._cancelQuery(),this._clearAggregatedFeatureItems(),this._removeAggregateBoundaryFeature()}_setAggregatedFeatureCount(e){d(()=>this.aggregatedFeatureCount=e)}_setSelectedAggregatedFeatureIndex(e){d(()=>this.selectedAggregatedFeatureIndex=e)}_setAggregatedFeatureItemsReadOnly(e){d(()=>{this.aggregatedFeatureItems=e}),this._renderableAggregatedFeatureItems=e.filter(t=>!!t.graphic)}_setAggregatedFeatures(e){this._aggregatedGraphicsSet=new Set(e),d(()=>this.aggregatedFeatures=e)}_getAggregatedFeatureItemsHeadingSignature(){let e="";for(let t of this.aggregatedFeatureItems)e+=`${t.heading??""}|`;return e}_setLoading(e){d(()=>this.loading=e)}_cancelQuery(){this._abortController=A(this._abortController),this._setLoading(!1)}_removeBoundaryGraphicFromView(e){e?.graphics.remove(this.selectedAggregateBoundaryFeature)}_clearAggregatedFeatureItems(){this._setAggregatedFeatureItemsReadOnly([]),this._setSelectedAggregatedFeatureIndex(-1),this._removeSelectedAggregatedFeature()}_resetAggregatedFeaturesState(){this._setAggregatedFeatures([]),this._clearAggregatedFeatureItems(),this._setAggregatedFeatureCount(0),this._removeAggregateBoundaryFeature()}_setAggregatedFeatureItems(e){this._setAggregatedFeatureItemsReadOnly(e.map(t=>new w({graphic:t})))}_setAggregatedFeaturesState(e){this._setAggregatedFeatures(e),this._setAggregatedFeatureItems(e),this._setAggregatedFeatureCount(e.length)}_removeAggregateBoundaryFeature(){this._removeBoundaryGraphicFromView(this._boundaryGraphicView),this.selectedAggregateBoundaryFeature.geometry=null,this._boundaryGraphicView=void 0}_updateAggregateBoundaryFeature(e){let{view:t}=this,a=this._boundaryGraphicView;if(!t){this._removeAggregateBoundaryFeature();return}a!==t&&this._removeBoundaryGraphicFromView(a),this.selectedAggregateBoundaryFeature.geometry=e,this._boundaryGraphicView=t,t.graphics.includes(this.selectedAggregateBoundaryFeature)||t.graphics.add(this.selectedAggregateBoundaryFeature)}async _getLayerViewAndQuery(e){let{view:t}=this,a=f(e);if(!t||!a)return null;let r=await t.whenLayerView(a);if(!r?.createQuery||!r?.queryFeatures||!r?.queryExtent)return null;let i=r.createQuery(),s=e.getObjectId();return i.aggregateIds=s!=null?[s]:[],[r,i]}async _updateAggregatedFeatures(){this._cancelQuery();let{feature:e}=this;if(!e?.isAggregate){this._resetAggregatedFeaturesState();return}let t=await this._getLayerViewAndQuery(e);if(!t){this._resetAggregatedFeaturesState();return}let[a,r]=t,i=new AbortController;this._abortController=i,this._setLoading(!0);try{let[s,o]=await Promise.all([a.queryFeatures(r,{signal:i.signal}),a.queryExtent(r,{signal:i.signal})]);if(this._abortController!==i||i.signal.aborted)return;this._abortController=null,this._setLoading(!1);let g=s.features??[];this._setAggregatedFeaturesState(g),o.extent?this._updateAggregateBoundaryFeature(o.extent):this._removeAggregateBoundaryFeature()}catch(s){if(this._abortController!==i||(this._abortController=null,this._setLoading(!1),C(s)))return;this._resetAggregatedFeaturesState()}}_addFlowItem(e){e&&this.flowItems?.push(e)}async _addSelectedAggregatedFeature(e){let{view:t}=this;if(e&&t){let a=await b(e),r=e.clone();r.symbol=a,this._selectedAggregatedFeature=r,t.graphics.add(this._selectedAggregatedFeature)}}_removeSelectedAggregatedFeature(){this._selectedAggregatedFeature&&this.view&&(this.view.graphics.remove(this._selectedAggregatedFeature),this._selectedAggregatedFeature=void 0)}async _selectFeature(e){let{flowItems:t,view:a}=this;t&&this._addFlowItem(p(n`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${t} .graphic=${e.graphic} .headingLevel=${this.headingLevel} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} .hideHeading=${this.hideHeading} .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .showRelationshipContent=${this.showRelationshipContent} .showUtilityNetworkContent=${this.showUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${a??void 0}></arcgis-feature-next>`))}async _selectRelativeAggregatedFeature(e){let{aggregatedFeatures:t,aggregatedFeatureItems:a,flowItems:r}=this;if(!r||t.length===0||a.length===0)return;let i=t.length,s=this.selectedAggregatedFeatureIndex>=0&&this.selectedAggregatedFeatureIndex<i?this.selectedAggregatedFeatureIndex:-1;if(s===-1){let c=r.getItemAt(r.length-1)?.graphic;s=c?t.indexOf(c):-1}let o=s===-1?e>0?0:i-1:(s+e+i)%i,g=a[o];if(!g?.graphic)return;this._setSelectedAggregatedFeatureIndex(o);let u=r.getItemAt(r.length-1);if(u?.flowType==="feature"){u.graphic=g.graphic,this._removeSelectedAggregatedFeature(),await this._addSelectedAggregatedFeature(g.graphic);return}await this._selectFeature(g)}_renderChevronIconNode(){return n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}render(){let{_renderableAggregatedFeatureItems:e}=this,{loading:t}=this;return t||e.length>0?n`<calcite-list .loading=${t} display-mode=flat .label=${this.messages?.aggregatedFeatures??""} selection-mode=none>${e.map(a=>n`<calcite-list-item .label=${a.heading?x(a.heading):void 0} @calciteListItemSelect=${()=>this._selectFeature(a)}>${this._renderChevronIconNode()}</calcite-list-item>`)}</calcite-list>`:n`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noAggregatedFeatures}</div></calcite-notice>`}};_("arcgis-aggregated-features",l);return l},"popup/FeatureModel","Graphic","symbols/SimpleFillSymbol","symbols/support/symbolUtils","applications/Components/stringUtils","core/reactiveUtils",a,b,c)
|
package/dist/cdn/LOOJWRCW.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{j as m}from"./MBGCAZPS.js";import"./V62TVP3T.js";import"./CF54A7MK.js";import{v as p}from"./LZVMUNZC.js";import"./NWFGMNGG.js";import"./EH4CBZNF.js";import"./LY6LSUSY.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./PS3KSP2J.js")],["bg-BG",()=>import("./OCQXPA57.js")],["bs-BA",()=>import("./DNE47HSP.js")],["ca-ES",()=>import("./JZHZCJTJ.js")],["cs-CZ",()=>import("./R2P5JM7G.js")],["da-DK",()=>import("./42G6XTIG.js")],["de-DE",()=>import("./I4AEBGQM.js")],["de-CH",()=>import("./4O6FFXUV.js")],["el-GR",()=>import("./WEOKELJE.js")],["en-US",()=>import("./PY5VGH7F.js")],["en-CA",()=>import("./54GFXFK4.js")],["es-ES",()=>import("./22I5XGTS.js")],["et-EE",()=>import("./NWRWQZGL.js")],["fi-FI",()=>import("./4657ONKJ.js")],["fr-FR",()=>import("./36ZT6IRE.js")],["he-IL",()=>import("./OCFIQBYK.js")],["hr-HR",()=>import("./RUW7CDCH.js")],["hu-HU",()=>import("./OX3WBUBR.js")],["id-ID",()=>import("./Y37UMTGV.js")],["it-IT",()=>import("./LW4IDPBB.js")],["ja-JP",()=>import("./HJVHORPG.js")],["ko-KR",()=>import("./75UV3NKU.js")],["lt-LT",()=>import("./7FGOCFTQ.js")],["lv-LV",()=>import("./YHPASRFL.js")],["no-NO",()=>import("./QNBNH7ME.js")],["nb-NO",()=>import("./QNBNH7ME.js")],["nl-NL",()=>import("./24MLXKMZ.js")],["pl-PL",()=>import("./5WKEDXRT.js")],["pt-BR",()=>import("./IBN4TKBI.js")],["pt-PT",()=>import("./VKRAWBPC.js")],["ro-RO",()=>import("./XULIO6Y3.js")],["ru-RU",()=>import("./QVAB57VJ.js")],["sk-SK",()=>import("./LUTUHOKB.js")],["sl-SL",()=>import("./ONFKLY6Q.js")],["sr-RS",()=>import("./R2D2TXL4.js")],["sv-SE",()=>import("./A7SZYQDH.js")],["th-TH",()=>import("./C5XAFXEL.js")],["tr-TR",()=>import("./M4D5WUVD.js")],["uk-UA",()=>import("./REGHMH6D.js")],["vi-VN",()=>import("./CUVRESLH.js")],["zh-CN",()=>import("./UHI54OG6.js")],["zh-HK",()=>import("./GUZCA62E.js")],["zh-TW",()=>import("./GUZCA62E.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
|
package/dist/cdn/LY6LSUSY.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as D}from"./TAVTDQ6S.js";var w={};D(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>S,isNumber:()=>d,isObject:()=>A,isString:()=>F,numberToString:()=>Z,repeat:()=>y,toDate:()=>X,toNumber:()=>R});function S(i){return Number(i)!==i}function T(i){return{}.toString.call(i)}function W(i,e="Assertion failed"){if(!i)throw new Error(e)}function R(i){if(i!=null&&!d(i)){let e=Number(i);if(S(e)&&F(i)&&i!=""&&i.match(/[0-9]+/)){let t=i.replace(/[^0-9.\-]+/g,"");return i===t?e:R(t)}return e}return i}function X(i){if(N(i))return new Date(i);if(d(i))return new Date(i);{let e=Number(i);return d(e)?new Date(e):new Date(i)}}function Z(i){if(S(i))return"NaN";if(i===1/0)return"Infinity";if(i===-1/0)return"-Infinity";if(i===0&&1/i===-1/0)return"-0";let e=i<0;i=Math.abs(i);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+i),s=t[1],n=t[2]||"",r;if(t[3]===void 0)r=n===""?s:s+"."+n;else{let o=+t[3];if(i<1){let h=o-1;r="0."+y("0",h)+s+n}else{let h=o-n.length;h===0?r=s+n:h<0?r=s+n.slice(0,h)+"."+n.slice(h):r=s+n+y("0",h)}}return e?"-"+r:r}function y(i,e){return new Array(e+1).join(i)}function N(i){return T(i)==="[object Date]"}function F(i){return typeof i=="string"}function d(i){return typeof i=="number"&&Number(i)==i}function A(i){return typeof i=="object"&&i!==null}function ee(i){return Array.isArray(i)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var a={};D(a,{add:()=>ue,any:()=>C,copy:()=>me,each:()=>p,eachContinue:()=>re,eachReverse:()=>ne,find:()=>we,findIndex:()=>$,findIndexReverse:()=>H,findMap:()=>$e,findReverse:()=>be,first:()=>pe,getFirstSortedIndex:()=>Ee,getSortedIndex:()=>L,has:()=>ge,indexOf:()=>k,insert:()=>M,insertIndex:()=>B,keepIf:()=>De,last:()=>he,map:()=>ie,move:()=>de,pushAll:()=>le,pushOne:()=>fe,remove:()=>b,removeFirst:()=>_,removeIndex:()=>z,replace:()=>ae,setIndex:()=>ce,shiftLeft:()=>oe,shuffle:()=>ve,slice:()=>xe,toArray:()=>_e});function k(i,e){let t=i.length;for(let s=0;s<t;++s)if(i[s]===e)return s;return-1}function C(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s]))return!0;return!1}function ie(i,e){let t=i.length,s=new Array(t);for(let n=0;n<t;++n)s[n]=e(i[n],n);return s}function p(i,e){let t=i.length;for(let s=0;s<t;++s)e(i[s],s)}function ne(i,e){let t=i.length;for(;t>0;)--t,e(i[t],t)}function re(i,e){let t=i.length;for(let s=0;s<t&&e(i[s],s);++s);}function oe(i,e){let t=i.length;for(let s=e;s<t;++s)i[s-e]=i[s];i.length=t-e}function he(i){let e=i.length;return e?i[e-1]:void 0}function pe(i){return i[0]}function M(i,e,t){t=Math.max(0,Math.min(t,i.length)),i.splice(t,0,e)}function ce(i,e,t){b(i,e),M(i,e,t)}function le(i,e){let t=e.length;for(let s=0;s<t;++s)i.push(e[s])}function b(i,e){let t=!1,s=0;for(;;){if(s=i.indexOf(e,s),s===-1)return t;t=!0,i.splice(s,1)}}function _(i,e){let t=i.indexOf(e);return t!==-1?(i.splice(t,1),!0):!1}function de(i,e,t){let s=k(i,e);s!==-1&&z(i,s),t==null?i.push(e):B(i,t,e)}function ue(i,e,t){d(t)?t===0?i.unshift(e):i.splice(t,0,e):i.push(e)}function fe(i,e){i.indexOf(e)===-1&&i.push(e)}function ae(i,e,t){let s=i.indexOf(e);s!==-1&&i.splice(s,1),d(t)?i.splice(t,0,e):i.push(e)}function _e(i){return Array.isArray(i)?i:[i]}function ge(i,e){return k(i,e)!==-1}function me(i){let e=i.length,t=new Array(e);for(let s=0;s<e;++s)t[s]=i[s];return t}function xe(i,e,t=i.length){let s=new Array(t-e);for(let n=e;n<t;++n)s[n-e]=i[n];return s}function B(i,e,t){i.splice(e,0,t)}function z(i,e){i.splice(e,1)}function $(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s],s))return s;return-1}function H(i,e){let t=i.length;for(;t>0;)if(--t,e(i[t],t))return t;return-1}function we(i,e){let t=$(i,e);if(t!==-1)return i[t]}function be(i,e){let t=H(i,e);if(t!==-1)return i[t]}function $e(i,e){let t=i.length;for(let s=0;s<t;++s){let n=e(i[s],s);if(n!==void 0)return n}}function ve(i){let e=i.length,t,s;for(;e!==0;)s=Math.floor(Math.random()*e),e-=1,t=i[e],i[e]=i[s],i[s]=t}function L(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);if(o<0)t=r+1;else if(o===0){for(n=!0,t=r+1;t<s&&e(i[t])===0;t++);t--;break}else s=r}return{found:n,index:t}}function Ee(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);o<0?t=r+1:(o===0&&(n=!0),s=r)}return{found:n,index:t}}function De(i,e){let t=i.length;for(;t>0;)--t,e(i[t])||i.splice(t,1)}var V={};D(V,{copy:()=>Se,each:()=>c,eachContinue:()=>Ae,eachOrdered:()=>ke,entries:()=>ye,hasKey:()=>Y,keys:()=>g,keysOrdered:()=>K,softCopyProperties:()=>Ce});function g(i){return Object.keys(i)}function ye(i){return Object.entries(i)}function K(i,e){return g(i).sort(e)}function Se(i){return Object.assign({},i)}function c(i,e){g(i).forEach(t=>{e(t,i[t])})}function Ae(i,e){for(let t in i)if(Y(i,t)&&!e(t,i[t]))break}function ke(i,e,t){p(K(i,t),s=>{e(s,i[s])})}function Y(i,e){return{}.hasOwnProperty.call(i,e)}function Ce(i,e){return c(i,(t,s)=>{s!=null&&e[t]==null&&(e[t]=s)}),e}var m=class{constructor(){this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},l=class{constructor(e){this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends m{constructor(){super(...arguments),this._disposers=[]}_dispose(){p(this._disposers,e=>{e.dispose()})}},u=class extends m{constructor(e){super(),this._disposers=e}_dispose(){p(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends m{_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends l{constructor(){super(...arguments),this._counter=0}increment(){return++this._counter,new l(()=>{--this._counter,this._counter===0&&this.dispose()})}};var v=class{constructor(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{p(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return C(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,s,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(r=>{r.once===e&&r.type===t&&(s===void 0||r.callback===s)&&r.context===n&&r.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,s){return $(this._listeners,r=>r.once!==!0&&r.type===e&&(t===void 0||r.callback===t)&&r.context===s)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return d(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{p(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(p(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(s=>{!s.killed&&(s.type===null||s.type===e)&&(s._debounceDelay?(s._debounceTimeout&&window.clearTimeout(s._debounceTimeout),s._debounceTimeout=window.setTimeout(()=>{s._debounceTimeout=void 0,s.killed||s.dispatch(e,t)},s._debounceDelay)):s.dispatch(e,t))})}_on(e,t,s,n,r,o,h){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,s,n);let f={type:t,callback:s,context:n,shouldClone:r,dispatch:o,killed:!1,once:e,disposer:new l(()=>{f.killed=!0,f._debounceTimeout&&window.clearTimeout(f._debounceTimeout),this._removeListener(f)}),_debounceDelay:h};return this._listeners.push(f),f}onAll(e,t,s=!0){return this._on(!1,null,e,t,s,(n,r)=>e.call(t,r)).disposer}on(e,t,s,n=!0){return this._on(!1,e,t,s,n,(r,o)=>t.call(s,o)).disposer}onDebounced(e,t,s,n,r=!0){return this._on(!1,e,t,n,r,(o,h)=>t.call(n,h),s).disposer}once(e,t,s,n=!0){let r=this._on(!0,e,t,s,n,(o,h)=>{r.disposer.dispose(),t.call(s,h)});return r.disposer}off(e,t,s){this._removeExistingListener(!1,e,t,s)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return p(e._listeners,s=>{!s.killed&&s.shouldClone&&(s.type===null?t.push(this.onAll(s.callback,s.context)):s.once?t.push(this.once(s.type,s.callback,s.context)):t.push(this.on(s.type,s.callback,s.context)))}),new u(t)}};function O(i){c(i,(e,t)=>{A(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var j=class{constructor(e,t,s){this._name=e,this._template=t,this._settings=s}_dispose(){O(this._settings)}get(e,t){let s=this._settings[e];return s!==void 0?s:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){g(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){c(this._settings,(s,n)=>{!t[s]&&!e._userSettings[s]&&(t[s]=!0,e.setRaw(s,n),e._computedSettings[s]=!0)})}},I=class{constructor(e){this._states={},this._template=e}_dispose(){c(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let s=this._states[e];if(s)return s.setAll(t),s;{let n=new j(e,this._template,t);return this._states[e]=n,this._template._stateChanged(e),n}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){c(this._states,(s,n)=>{let r=t.states[s];r==null&&(r=t.states[s]={});let o=e.states.create(s,{});n._apply(o,r)})}},P=class{constructor(){this._callbacks={}}add(e,t){let s=this._callbacks[e];return s===void 0&&(s=this._callbacks[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return c(this._callbacks,(s,n)=>{p(n,r=>{t.push(e.adapters.add(s,r))})}),new u(t)}},E=class i{constructor(e,t){if(this._disposed=!1,this._privateSettings={},this._computedSettings={},this._settingEvents={},this._privateSettingEvents={},this._entities=[],this.states=new I(this),this.adapters=new P,this.events=new v,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new i(e,!0)}_dispose(){O(this._settings),O(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let s=this._settings[e];return s!==void 0?s:t}setRaw(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]=t}set(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(s=>{s._setTemplateProperty(this,e,t)}))}_setC(e,t){let s=!this._computedSettings[e]&&this._settings[e]===t;this.set(e,t),s||(this._computedSettings[e]=!0)}_setCAll(e){c(e,(t,s)=>{this._setC(t,s)})}_markC(...e){return p(e,t=>{this._computedSettings[t]=!0}),this}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],delete this._computedSettings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),c(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let s=this._privateSettings[e];return s!==void 0?s:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(s=>{s._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),c(e,(t,s)=>{this.set(t,s)})}on(e,t){this._checkDisposed();let s=this._settingEvents[e];return s===void 0&&(s=this._settingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let s=this._privateSettingEvents[e];return s===void 0&&(s=this._privateSettingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let s=[];return c(this._settingEvents,(n,r)=>{p(r,o=>{s.push(e.on(n,o))})}),c(this._privateSettingEvents,(n,r)=>{p(r,o=>{s.push(e.onPrivate(n,o))})}),this.states._apply(e,t),s.push(this.adapters._apply(e)),s.push(e.events.copyFrom(this.events)),new u(s)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){b(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function x(i,e){return i===e?0:i<e?-1:1}function Q(i,e,t){let s=i.length,n=e.length,r=Math.min(s,n);for(let o=0;o<r;++o){let h=t(i[o],e[o]);if(h!==0)return h}return x(s,n)}function Ne(i,e){return i===e?0:i<e?-1:1}var U=class{constructor(e,t){if(this._rules={},this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let s=this._rules[e];s||(s=this._rules[e]=[]),t.sort(x);let{index:n,found:r}=L(s,o=>{let h=x(o.tags.length,t.length);return h===0?Q(o.tags,t,x):h});if(r)return s[n].template;{let o=E.new({});return s.splice(n,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{S as a,R as b,X as c,Z as d,N as e,F as f,d as g,A as h,ee as i,te as j,se as k,w as l,k as m,C as n,ie as o,p,ne as q,re as r,b as s,_ as t,de as u,fe as v,me as w,B as x,z as y,$ as z,we as A,be as B,L as C,Ee as D,De as E,a as F,g as G,ye as H,K as I,Se as J,c as K,Ae as L,V as M,m as N,l as O,q as P,u as Q,G as R,J as S,v as T,x as U,Q as V,Ne as W,E as X,U as Y};
|