@esri/solutions-components 1.2.0-next.1 → 1.2.0-next.2
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/{QSZDH2XJ.js → 22BFHC2I.js} +2 -2
- package/dist/cdn/{7Z6VMW3R.js → 22LLS6WR.js} +2 -2
- package/dist/cdn/{Z4SN7DKN.js → 24C3TAJY.js} +2 -2
- package/dist/cdn/{PZCE22XQ.js → 24PILRZT.js} +2 -2
- package/dist/cdn/{JKF6DMWR.js → 26NSAUFX.js} +1 -1
- package/dist/cdn/{BT7XOYF5.js → 2AUDRMU3.js} +2 -2
- package/dist/cdn/{BSKEER6B.js → 2BOM63KQ.js} +2 -2
- package/dist/cdn/{3X4Q46AK.js → 2FFHB27Z.js} +2 -2
- package/dist/cdn/{QQ5C5WOS.js → 2IPTMHFY.js} +2 -2
- package/dist/cdn/{BZDKUBLK.js → 2JQUC3UP.js} +2 -2
- package/dist/cdn/{I3GNEXKT.js → 2KXRE3QQ.js} +2 -2
- package/dist/cdn/{KC4VT3EZ.js → 2LK2MZZR.js} +2 -2
- package/dist/cdn/{G64ULB7X.js → 2LLZMSJV.js} +2 -2
- package/dist/cdn/{3PXVZE5B.js → 2QP26HSW.js} +2 -2
- package/dist/cdn/2RVVSM5J.js +4 -0
- package/dist/cdn/{MGQ7JXPR.js → 2ZUX4PI4.js} +2 -2
- package/dist/cdn/{FYDE2G2S.js → 32275IZ5.js} +2 -2
- package/dist/cdn/{SNTUWGY2.js → 327AKQNH.js} +2 -2
- package/dist/cdn/{Z44XX64I.js → 32GCN42P.js} +1 -1
- package/dist/cdn/{SKBIH7Z2.js → 35KI2UZP.js} +2 -2
- package/dist/cdn/{BTZUJGQZ.js → 3AXQAZAI.js} +1 -1
- package/dist/cdn/{GZK4P6TS.js → 3ENATMAV.js} +2 -2
- package/dist/cdn/{OD3QTJAN.js → 3MGV3QJV.js} +2 -2
- package/dist/cdn/{JSDRL6ZD.js → 3MON3AIB.js} +2 -2
- package/dist/cdn/{CNU3472Z.js → 3NETFEHL.js} +2 -2
- package/dist/cdn/{UK6IC5E3.js → 3SH6IZWK.js} +1 -1
- package/dist/cdn/{FPWJ6PMO.js → 3UMQAY7D.js} +2 -2
- package/dist/cdn/{7KQUOMHW.js → 3VJ5JQ7K.js} +2 -2
- package/dist/cdn/{UG6Y6SUL.js → 3VXS23LI.js} +2 -2
- package/dist/cdn/{BYVW36VB.js → 3YPL6RCD.js} +2 -2
- package/dist/cdn/{CVNJUCBY.js → 45ANCG22.js} +2 -2
- package/dist/cdn/{RLSD2M4U.js → 4CD2LCWF.js} +1 -1
- package/dist/cdn/{V5UDKO3L.js → 4J6A5LH5.js} +1 -1
- package/dist/cdn/{UNZ4TB2U.js → 4JWTHCFT.js} +2 -2
- package/dist/cdn/{4G6CGSME.js → 4NVR4X3L.js} +1 -1
- package/dist/cdn/{27APFVLL.js → 4UUIRHC6.js} +2 -2
- package/dist/cdn/{6O7OK3WU.js → 4XJKKLD3.js} +1 -1
- package/dist/cdn/{BXINC4TL.js → 4XYYUSUA.js} +1 -1
- package/dist/cdn/{X4XPW2FK.js → 4YNKTXJZ.js} +2 -2
- package/dist/cdn/{VDJEIK4Q.js → 53GNUN6U.js} +4 -4
- package/dist/cdn/56QASSI7.js +4 -0
- package/dist/cdn/{5RUH4EFW.js → 57S3EVKQ.js} +2 -2
- package/dist/cdn/{L2KCAISR.js → 5CCXGSYJ.js} +2 -2
- package/dist/cdn/{AM6CUQET.js → 5E2ADQM6.js} +2 -2
- package/dist/cdn/{EEH2H5FR.js → 5GQ6DHYL.js} +2 -2
- package/dist/cdn/{WL2HLYRG.js → 5GW6VGYE.js} +2 -2
- package/dist/cdn/{L4A7ZXML.js → 5HDW32N3.js} +2 -2
- package/dist/cdn/{43JJ42I6.js → 5J7IGLEN.js} +2 -2
- package/dist/cdn/{GVV6CMDT.js → 5K2GKQME.js} +2 -2
- package/dist/cdn/{SBV7BWCP.js → 5LNUHS4F.js} +2 -2
- package/dist/cdn/{3FTD7QHK.js → 5T6EZRNO.js} +2 -2
- package/dist/cdn/{RSTCU2L3.js → 5WP2S2ZH.js} +1 -1
- package/dist/cdn/{736NHE3J.js → 62JXAZTH.js} +2 -2
- package/dist/cdn/{653HGMN6.js → 62NI5UX7.js} +2 -2
- package/dist/cdn/{EGSHVW4A.js → 62WGZZJQ.js} +2 -2
- package/dist/cdn/{3RX4FKVH.js → 63PHQLZJ.js} +2 -2
- package/dist/cdn/{DYETIYXT.js → 64KPWKOZ.js} +2 -2
- package/dist/cdn/{A3QP26AQ.js → 67H5AKUO.js} +2 -2
- package/dist/cdn/{E56R6ZHU.js → 6FCQB3AG.js} +2 -2
- package/dist/cdn/{S7RSY7HH.js → 6GSFOGSD.js} +2 -2
- package/dist/cdn/{HAPZLAZI.js → 6M2T3Q2M.js} +2 -2
- package/dist/cdn/{HHE7DQNN.js → 6QHOYKEI.js} +2 -2
- package/dist/cdn/{X6PG67VX.js → 6RJ3S2N4.js} +2 -2
- package/dist/cdn/{BQG7DYTH.js → 6RN2G5UX.js} +2 -2
- package/dist/cdn/{7WSRMZLR.js → 6Y4X3UOF.js} +2 -2
- package/dist/cdn/{GUQOCIWI.js → 73RE22QT.js} +2 -2
- package/dist/cdn/{LK4URP54.js → 7GJSEVPA.js} +2 -2
- package/dist/cdn/{WQMZCCTG.js → 7L7OMOMR.js} +2 -2
- package/dist/cdn/{GDQKBGVU.js → 7LML2KAO.js} +2 -2
- package/dist/cdn/{RQBPWWL2.js → 7M65VSDO.js} +1 -1
- package/dist/cdn/{HA35BFCM.js → 7TVK2JZJ.js} +2 -2
- package/dist/cdn/{G3KFU7YY.js → 7UBRL7BT.js} +2 -2
- package/dist/cdn/{HIPPWX3F.js → 7XNXOLSM.js} +2 -2
- package/dist/cdn/{TXV3OSVN.js → A2D7SAO5.js} +2 -2
- package/dist/cdn/{T2ZLWCLC.js → A54VVFMV.js} +2 -2
- package/dist/cdn/{W7TKP6V5.js → AGNDZTZ6.js} +1 -1
- package/dist/cdn/{AQLLIUAO.js → AMP4ZNCP.js} +2 -2
- package/dist/cdn/{FKLJTSPN.js → AV64MW2C.js} +2 -2
- package/dist/cdn/{OVM4U6YF.js → AZZRAFZ2.js} +2 -2
- package/dist/cdn/{KJUT6QHE.js → B37JGOGF.js} +2 -2
- package/dist/cdn/{XHQ34X3G.js → B5X7FR3W.js} +2 -2
- package/dist/cdn/{WXCJRGZG.js → BBLEZ5WS.js} +2 -2
- package/dist/cdn/{ZWMQNYU4.js → BCPDT6MV.js} +2 -2
- package/dist/cdn/{XAHRAKUG.js → BGMDKWE7.js} +2 -2
- package/dist/cdn/{LC5MX3Y5.js → BHXQ7QW6.js} +2 -2
- package/dist/cdn/{ZAGSKRBT.js → BJWPKYKV.js} +2 -2
- package/dist/cdn/{CIM646MY.js → BL4KF37N.js} +2 -2
- package/dist/cdn/BL7TUTFB.js +4 -0
- package/dist/cdn/{BGVEHDJZ.js → BN34E5SA.js} +2 -2
- package/dist/cdn/{LLTDCAVX.js → BPB3TNH6.js} +2 -2
- package/dist/cdn/{LGL4DYMW.js → BS533JHX.js} +2 -2
- package/dist/cdn/{JNMUGZK3.js → BSCXWZZC.js} +1 -1
- package/dist/cdn/{OYNJ6GFI.js → BTHNNVZX.js} +1 -1
- package/dist/cdn/{B5HIH5BI.js → BVRRREAU.js} +2 -2
- package/dist/cdn/{CEH26EDG.js → C42K62PR.js} +2 -2
- package/dist/cdn/{GDTOMIWL.js → C4GYOXKY.js} +2 -2
- package/dist/cdn/{NLUZGNSN.js → C5FQOPJR.js} +2 -2
- package/dist/cdn/{JPL6PWCI.js → CFB6TU6B.js} +2 -2
- package/dist/cdn/{S2BUTHI2.js → CHPW5FJW.js} +2 -2
- package/dist/cdn/{LY6EPL2S.js → CLIXTMET.js} +2 -2
- package/dist/cdn/{ZRW2OJ4E.js → CPC2M7AK.js} +2 -2
- package/dist/cdn/{LB6KC3G5.js → CRGYVR4L.js} +2 -2
- package/dist/cdn/{TGDGVXKT.js → CUBFKAV6.js} +2 -2
- package/dist/cdn/{DT6TJWI4.js → CXJUQMCV.js} +2 -2
- package/dist/cdn/{DLCCT4NW.js → DDP5UCZA.js} +2 -2
- package/dist/cdn/DH3SAWQO.js +4 -0
- package/dist/cdn/{4VVSACXP.js → DKRHACVW.js} +2 -2
- package/dist/cdn/{F4M6554C.js → DM633MDA.js} +2 -2
- package/dist/cdn/{X6SSAB2E.js → DMECGLC4.js} +2 -2
- package/dist/cdn/{DNJUS347.js → DMMMW2BR.js} +2 -2
- package/dist/cdn/{OBSNNREX.js → DMW55L65.js} +2 -2
- package/dist/cdn/{CVGM4QYD.js → DXGUMM4O.js} +2 -2
- package/dist/cdn/{LYCCIBXG.js → DZ76G2RX.js} +2 -2
- package/dist/cdn/{KSRRTR4T.js → DZHVGBZB.js} +2 -2
- package/dist/cdn/{CWHNHLH4.js → E4V5RLGM.js} +2 -2
- package/dist/cdn/{7BJFXFUH.js → EALUH4BU.js} +2 -2
- package/dist/cdn/{ND2C6KMG.js → EBKAKZZU.js} +2 -2
- package/dist/cdn/{D6SWHYCO.js → ECKRAOTK.js} +2 -2
- package/dist/cdn/{T2S7EWB5.js → ECVB7DM6.js} +2 -2
- package/dist/cdn/{RCWPPZIY.js → EG2JBWTE.js} +2 -2
- package/dist/cdn/{YHURTADW.js → EM5Z3TCD.js} +2 -2
- package/dist/cdn/{ZUOIOELU.js → ENS7CZX3.js} +2 -2
- package/dist/cdn/{RF6B6MW7.js → EWQ7E45G.js} +2 -2
- package/dist/cdn/{MGWW6MPC.js → F23TKPQ3.js} +2 -2
- package/dist/cdn/{A7GDEXFK.js → FDZWMY22.js} +2 -2
- package/dist/cdn/{NBOCMHX6.js → FELH7PBD.js} +2 -2
- package/dist/cdn/{4ZE7GGAS.js → FGUX7O4N.js} +2 -2
- package/dist/cdn/{BFSMHNRA.js → FHLHSJYN.js} +2 -2
- package/dist/cdn/{ZD7TFS7W.js → FJ5G5F6F.js} +2 -2
- package/dist/cdn/{RQETMS6H.js → FJYGYKU7.js} +2 -2
- package/dist/cdn/{3W7QQ6P6.js → FMF65JWL.js} +2 -2
- package/dist/cdn/{ROASTLYA.js → FNLWKSSH.js} +1 -1
- package/dist/cdn/{W3X6SZND.js → FTJZYC6F.js} +2 -2
- package/dist/cdn/{N6QQZFT5.js → FUYHWE6S.js} +2 -2
- package/dist/cdn/{HWZTRX65.js → FYFIZWH7.js} +2 -2
- package/dist/cdn/{3UYQB5M2.js → FYQALD4I.js} +1 -1
- package/dist/cdn/{QAXMDQX3.js → FZW3ZZPU.js} +2 -2
- package/dist/cdn/{BFW6A2EV.js → G5MR5SG5.js} +2 -2
- package/dist/cdn/{IW52PVHP.js → G7UTMYYA.js} +2 -2
- package/dist/cdn/{IBM5XI3O.js → GA5KNLFJ.js} +2 -2
- package/dist/cdn/{XYSEGG7Q.js → GK4O6X2B.js} +2 -2
- package/dist/cdn/{PYOCFNFS.js → GRC5KYBB.js} +1 -1
- package/dist/cdn/{5BGGKOSZ.js → GU3R45TN.js} +2 -2
- package/dist/cdn/{J3W2N5FC.js → GYZWPVGD.js} +2 -2
- package/dist/cdn/{Q274TR3Z.js → H7YFIIKJ.js} +2 -2
- package/dist/cdn/{DRUP6BQ5.js → HAYDHL6E.js} +2 -2
- package/dist/cdn/{UCXPZD52.js → HCEYPHXZ.js} +2 -2
- package/dist/cdn/{6UNT5MUE.js → HJCGCJHG.js} +1 -1
- package/dist/cdn/{UU4ZDJVO.js → HKUMRXKS.js} +2 -2
- package/dist/cdn/{PLW2DSVT.js → HN6L7MEZ.js} +1 -1
- package/dist/cdn/{FF2RFQ4J.js → HOCJSK24.js} +2 -2
- package/dist/cdn/{NE6U33BE.js → HR44MJZ4.js} +2 -2
- package/dist/cdn/{TNFKJE4M.js → HSGU3NPM.js} +2 -2
- package/dist/cdn/{F3UCVDZ2.js → HV23NBKM.js} +1 -1
- package/dist/cdn/{EAJLTNVD.js → HWBSZWSI.js} +2 -2
- package/dist/cdn/I3IHBW4I.js +4 -0
- package/dist/cdn/{P2ZBSU5H.js → I4E7TVY4.js} +2 -2
- package/dist/cdn/{LFVIZYTM.js → I5X57Y6X.js} +1 -1
- package/dist/cdn/{NYBXXXFR.js → IAMELUPG.js} +1 -1
- package/dist/cdn/{PQFMMRQF.js → IBIR3MNF.js} +2 -2
- package/dist/cdn/{TXTZQIXU.js → IGUMVL7J.js} +2 -2
- package/dist/cdn/{FUAAIOVV.js → II4ZEXAJ.js} +2 -2
- package/dist/cdn/{QKV74IV3.js → IIBBHZ5N.js} +2 -2
- package/dist/cdn/{W34PKOJS.js → IN3OKM7F.js} +2 -2
- package/dist/cdn/{IMCXSNGQ.js → IPIW25QW.js} +2 -2
- package/dist/cdn/{Y74KYB73.js → ITIM5MBI.js} +2 -2
- package/dist/cdn/{ZHUFA7F3.js → IUWPOFEU.js} +2 -2
- package/dist/cdn/{5EYMLB42.js → IWN7UDRD.js} +2 -2
- package/dist/cdn/{AAILNBJL.js → J3AFQ2U2.js} +2 -2
- package/dist/cdn/{BVHEKO2U.js → J5HRIE3W.js} +2 -2
- package/dist/cdn/{7YJKP23X.js → J5U3NOSX.js} +2 -2
- package/dist/cdn/{DO6VOO2V.js → J6IINHXU.js} +2 -2
- package/dist/cdn/{I2HXIQGP.js → JDDI6RWH.js} +2 -2
- package/dist/cdn/{BY7JMUBE.js → JDMCVY5U.js} +2 -2
- package/dist/cdn/JHPYHESZ.js +4 -0
- package/dist/cdn/{XIXNLRAQ.js → JKVDTJCD.js} +1 -1
- package/dist/cdn/{32DRSUWP.js → JOOTU2MN.js} +2 -2
- package/dist/cdn/{EAJPSM6R.js → JSMMX4OW.js} +2 -2
- package/dist/cdn/{CRXAZVVV.js → JVHOB5XV.js} +2 -2
- package/dist/cdn/{C4VBVF5F.js → JWXSAYHC.js} +2 -2
- package/dist/cdn/{HYRLUKFR.js → JYKNVSA4.js} +2 -2
- package/dist/cdn/{XBBZMVKA.js → JZ2AJ7NV.js} +2 -2
- package/dist/cdn/{HEQ4RTPP.js → K3ZT5FZ2.js} +1 -1
- package/dist/cdn/{55L6CSSX.js → K5U7ZHCS.js} +2 -2
- package/dist/cdn/{YO25MEEB.js → KCTOUFKC.js} +2 -2
- package/dist/cdn/{RN2IQ6P7.js → KJEGNTYQ.js} +2 -2
- package/dist/cdn/{GO3DBAQ3.js → KORLC5U7.js} +2 -2
- package/dist/cdn/{PZH7RCYT.js → KQHBJ2QB.js} +1 -1
- package/dist/cdn/{GPAASHCV.js → KQM2NMJJ.js} +2 -2
- package/dist/cdn/{ECIK3AWG.js → KSKZZDYX.js} +1 -1
- package/dist/cdn/{DTHJ6RVO.js → KURD67WP.js} +2 -2
- package/dist/cdn/{LHLMGRPK.js → KVSY5222.js} +2 -2
- package/dist/cdn/{XRPPXHNC.js → KXEXXT56.js} +2 -2
- package/dist/cdn/{5D6MJQRN.js → KXKBIVFJ.js} +2 -2
- package/dist/cdn/{6PGNEYP5.js → KYYMWKPV.js} +2 -2
- package/dist/cdn/{GOLK3KHK.js → KZ2V3URW.js} +2 -2
- package/dist/cdn/L2O6CXOR.js +18 -0
- package/dist/cdn/{MAJWJ4QY.js → LA735BCX.js} +2 -2
- package/dist/cdn/{PNLI6VBN.js → LETYH73H.js} +2 -2
- package/dist/cdn/{MJW4C2UT.js → LNOZBYMZ.js} +2 -2
- package/dist/cdn/{DQPEZQH4.js → LPJPNWKA.js} +2 -2
- package/dist/cdn/{BMUM7THE.js → LUKTYB6E.js} +2 -2
- package/dist/cdn/{Y3S2FSFT.js → LZIYOPAC.js} +2 -2
- package/dist/cdn/{2CEJYF62.js → LZUM3H4J.js} +2 -2
- package/dist/cdn/{L7QPZ7RC.js → M2TJWZ2F.js} +2 -2
- package/dist/cdn/{XIAOC6XW.js → M46DOI6W.js} +1 -1
- package/dist/cdn/{U6X3W2T2.js → MB2DM6NF.js} +2 -2
- package/dist/cdn/{MBZJ3EX7.js → MDL3GASV.js} +2 -2
- package/dist/cdn/{4UHO6YOS.js → MEM675A5.js} +2 -2
- package/dist/cdn/{7PM6K4BQ.js → MGON4SLN.js} +1 -1
- package/dist/cdn/{VE7TDW2K.js → MK3C2NWT.js} +2 -2
- package/dist/cdn/{522BPYLF.js → MNBZZ6G3.js} +2 -2
- package/dist/cdn/{XZSRLA3D.js → MOAD2WOZ.js} +2 -2
- package/dist/cdn/{QFL5XFOY.js → MOKFQR6C.js} +2 -2
- package/dist/cdn/{SS34O6SJ.js → MQDP5X2Y.js} +1 -1
- package/dist/cdn/{U63ZSVX5.js → MQE2DTF5.js} +1 -1
- package/dist/cdn/{VNA2COY6.js → MTQRP42U.js} +1 -1
- package/dist/cdn/MZFDMEQW.js +4 -0
- package/dist/cdn/{OTLPAZXI.js → NAFDFLKN.js} +2 -2
- package/dist/cdn/{AFI227JI.js → NAWCG6BY.js} +2 -2
- package/dist/cdn/{3XLZCUHG.js → NF5TB4T5.js} +2 -2
- package/dist/cdn/{NHLT7M36.js → NLWFERKV.js} +3 -3
- package/dist/cdn/{RXM4HJ6I.js → NM6FSLHS.js} +2 -2
- package/dist/cdn/{GPN7CMKQ.js → NNT3DJXP.js} +1 -1
- package/dist/cdn/{QZC5UTRX.js → NR4TU43I.js} +2 -2
- package/dist/cdn/{PFANUBNV.js → NSJNK5YX.js} +2 -2
- package/dist/cdn/{GKZBYEDV.js → NTN5IKQX.js} +2 -2
- package/dist/cdn/{IHWF6T6Y.js → NVBXPDWS.js} +2 -2
- package/dist/cdn/{LNB7BGSN.js → NVOMEAQG.js} +2 -2
- package/dist/cdn/{7GIY6DUJ.js → NW5D2PXR.js} +2 -2
- package/dist/cdn/{2W53WRNR.js → NWAXN6PC.js} +2 -2
- package/dist/cdn/{RTNMZG5Q.js → NYH5N4UB.js} +2 -2
- package/dist/cdn/{TO4XC5SF.js → O3ZWY3L2.js} +2 -2
- package/dist/cdn/{MZKLKS6I.js → O6WPAEXC.js} +2 -2
- package/dist/cdn/{LY7L2GZL.js → O7K2BTNK.js} +2 -2
- package/dist/cdn/{CWXSLS5U.js → O7KVFY2I.js} +2 -2
- package/dist/cdn/{XQSYZIRC.js → OFMGQCKQ.js} +2 -2
- package/dist/cdn/{SWN5VSPM.js → OGKY3OCB.js} +2 -2
- package/dist/cdn/{3QZ3WO4J.js → OHBU7SZN.js} +2 -2
- package/dist/cdn/{EAPSALKZ.js → OI7TKT4E.js} +2 -2
- package/dist/cdn/{QVDUABX7.js → OLVN3BUK.js} +2 -2
- package/dist/cdn/{7JXHJ3TL.js → OS2R7DZG.js} +2 -2
- package/dist/cdn/{LPLIW3W4.js → OWSYDJWA.js} +2 -2
- package/dist/cdn/{K73RVWFQ.js → OXW67XUN.js} +2 -2
- package/dist/cdn/OY2ZL2MH.js +4 -0
- package/dist/cdn/{W3EZRLCH.js → P4SJ4TW3.js} +2 -2
- package/dist/cdn/{HRVWEYZD.js → PCXV5WCW.js} +2 -2
- package/dist/cdn/{OTY43NZY.js → PDD2INCO.js} +2 -2
- package/dist/cdn/{ZKTXJLE2.js → PDM2TVRE.js} +2 -2
- package/dist/cdn/{MBAMULPA.js → PHK7ECEK.js} +2 -2
- package/dist/cdn/{OJZCK5XA.js → PKW5U5JD.js} +2 -2
- package/dist/cdn/{MFQXVNXI.js → PMVAYDID.js} +2 -2
- package/dist/cdn/{SB2P3KLH.js → PTQNSUMQ.js} +2 -2
- package/dist/cdn/{KZGCFGXP.js → PV3NKFWO.js} +2 -2
- package/dist/cdn/{XXDPF2HK.js → Q4ILVP7M.js} +2 -2
- package/dist/cdn/{U3NL7FT6.js → Q5JBWZWR.js} +2 -2
- package/dist/cdn/{Q5KPFPGD.js → Q63YUEPK.js} +2 -2
- package/dist/cdn/{XJ62F4NL.js → QAQPOJT3.js} +1 -1
- package/dist/cdn/{22IZH5VL.js → QDOOFKZT.js} +2 -2
- package/dist/cdn/{CB4NXNE5.js → QHDUDNQB.js} +2 -2
- package/dist/cdn/{MGLOK6G6.js → QK7H3QEZ.js} +1 -1
- package/dist/cdn/{3QPRWMXZ.js → QLGVQPSP.js} +2 -2
- package/dist/cdn/{VZLWG2KJ.js → QT7SOK6K.js} +2 -2
- package/dist/cdn/{25LMHUAF.js → QTPWQXFC.js} +2 -2
- package/dist/cdn/{IQVYADON.js → QVZEI2LS.js} +2 -2
- package/dist/cdn/{SIE6CDNG.js → QWFYFDGT.js} +1 -1
- package/dist/cdn/{ILI2S73E.js → R3MDKVZV.js} +2 -2
- package/dist/cdn/{H5BCC2WI.js → R5IZJTD3.js} +2 -2
- package/dist/cdn/{C2CDVQOR.js → R5SUWIAX.js} +2 -2
- package/dist/cdn/{FUHNVQ4J.js → RHR64B37.js} +2 -2
- package/dist/cdn/{LRQNOIGC.js → RQXTVQCL.js} +2 -2
- package/dist/cdn/{S6Q334DO.js → RR4VEAAE.js} +2 -2
- package/dist/cdn/{FTPJQUXV.js → RWC6IC3I.js} +2 -2
- package/dist/cdn/{HKOPWYUS.js → RY4AM746.js} +2 -2
- package/dist/cdn/{2MVXKE3V.js → S6NACDB2.js} +2 -2
- package/dist/cdn/{KXTFN2PN.js → SPZK2YXW.js} +2 -2
- package/dist/cdn/{FXHXJ4QL.js → SS3YAHMD.js} +2 -2
- package/dist/cdn/{CP4FAI42.js → T3RNILJN.js} +2 -2
- package/dist/cdn/{IW3SAA7O.js → T5OCPOMY.js} +2 -2
- package/dist/cdn/{EAXDRT25.js → T5SK6ZJW.js} +2 -2
- package/dist/cdn/{OBBAK6WE.js → TB2NFORT.js} +2 -2
- package/dist/cdn/{LJMZ6FUS.js → TCJAIPWL.js} +2 -2
- package/dist/cdn/{IRGSMHZ2.js → TCORLZCI.js} +2 -2
- package/dist/cdn/{WMIGKGLJ.js → TFT2UUZJ.js} +2 -2
- package/dist/cdn/{F4N67DYP.js → TJYHQJCY.js} +2 -2
- package/dist/cdn/{MXVQWNSO.js → TMEKDW2G.js} +2 -2
- package/dist/cdn/{OFNTBPZ5.js → TMNFYXWD.js} +2 -2
- package/dist/cdn/{IW5XHI5X.js → TMRDI3WC.js} +2 -2
- package/dist/cdn/{AG5QKP4L.js → TTAAIUU3.js} +2 -2
- package/dist/cdn/{7YHRTXQH.js → U2MIR3HL.js} +2 -2
- package/dist/cdn/{H3FZKBQZ.js → U3QZIS3C.js} +2 -2
- package/dist/cdn/{JZ5M3XFU.js → U3VTY66Y.js} +2 -2
- package/dist/cdn/{X6Y2CG22.js → U5XUYD32.js} +2 -2
- package/dist/cdn/{AJCN5TZU.js → UBTE3LJB.js} +2 -2
- package/dist/cdn/{ZHHNANTF.js → UGI2HCBX.js} +2 -2
- package/dist/cdn/{JNLG6F4W.js → ULELHCUW.js} +1 -1
- package/dist/cdn/{BH4WHSTL.js → ULHGH3CX.js} +2 -2
- package/dist/cdn/{EFN7NAAY.js → UNCK4FW5.js} +2 -2
- package/dist/cdn/{7A3C36WQ.js → UQGQFHTP.js} +2 -2
- package/dist/cdn/{YNNECUYO.js → URMO7GLW.js} +2 -2
- package/dist/cdn/{QAPZIGZM.js → USO4FEJS.js} +2 -2
- package/dist/cdn/{MFYT2IIR.js → UVMWA227.js} +2 -2
- package/dist/cdn/{ZYJNP3QC.js → UXPF53LA.js} +2 -2
- package/dist/cdn/{JPZHUXDB.js → UXZC7IGT.js} +2 -2
- package/dist/cdn/{K53JJQXH.js → V2II4COO.js} +2 -2
- package/dist/cdn/{R474NPB2.js → V623WVLR.js} +2 -2
- package/dist/cdn/{I4ZETC2J.js → V74LH3IK.js} +2 -2
- package/dist/cdn/{WRPJ4GDB.js → V7H6MEIS.js} +2 -2
- package/dist/cdn/{X7BDUXYU.js → VFRHV2HY.js} +2 -2
- package/dist/cdn/{JGE7H6EF.js → VLRXMBNG.js} +2 -2
- package/dist/cdn/{DSVAIF4Y.js → VPFAWHJS.js} +1 -1
- package/dist/cdn/W45EDCYZ.js +18 -0
- package/dist/cdn/{YQNHBPTC.js → WBO3VKCK.js} +2 -2
- package/dist/cdn/{7G4N7AYZ.js → WDPM64EG.js} +2 -2
- package/dist/cdn/{KQ3W6U2O.js → WJKAHLIO.js} +2 -2
- package/dist/cdn/{A3HZAJRG.js → WKQNA7HE.js} +2 -2
- package/dist/cdn/{XK5FC7XQ.js → WNLGN4CE.js} +2 -2
- package/dist/cdn/{2YHT764G.js → WTU7JILZ.js} +2 -2
- package/dist/cdn/{KSKCA47T.js → WV4ZCFFT.js} +2 -2
- package/dist/cdn/{WWT2VJFI.js → XFW3K5OF.js} +2 -2
- package/dist/cdn/{TPMHGYOD.js → XFZNGT7C.js} +2 -2
- package/dist/cdn/{SZAH6PQP.js → XINUYSXZ.js} +2 -2
- package/dist/cdn/{UMBJBGPS.js → XLHINQDA.js} +2 -2
- package/dist/cdn/{6VLVWAKZ.js → XQYYFNOC.js} +1 -1
- package/dist/cdn/{6HBBCCOM.js → XSERGQVD.js} +2 -2
- package/dist/cdn/{OADOYFV7.js → XUXRXNUV.js} +2 -2
- package/dist/cdn/{JFZABKV5.js → XWYN5XJT.js} +2 -2
- package/dist/cdn/{3OEDIKQ5.js → XYIEX7QB.js} +2 -2
- package/dist/cdn/{4LOY373E.js → Y2YYJ66T.js} +2 -2
- package/dist/cdn/{23EIVSUJ.js → Y7U5BQY2.js} +2 -2
- package/dist/cdn/{WAQDYC7I.js → YFJ3R7UO.js} +2 -2
- package/dist/cdn/{TCPVLIO2.js → YGKTKWJH.js} +2 -2
- package/dist/cdn/{67I4BHMX.js → YJUZZNM3.js} +2 -2
- package/dist/cdn/{26SSUBUE.js → YOCF54TS.js} +2 -2
- package/dist/cdn/{DW2DU6WF.js → YODKEVX7.js} +2 -2
- package/dist/cdn/{4NAXXYIA.js → Z7QQNFJ7.js} +2 -2
- package/dist/cdn/{OXUROQRO.js → ZG7Z2ZV5.js} +1 -1
- package/dist/cdn/{IFOFHB4W.js → ZH5IG5IH.js} +2 -2
- package/dist/cdn/{TTADVCT4.js → ZJFAIID3.js} +2 -2
- package/dist/cdn/{E45HXI25.js → ZN7CNQRT.js} +2 -2
- package/dist/cdn/{U4JDQFDS.js → ZSPXSDH4.js} +2 -2
- package/dist/cdn/{H6GTBKYE.js → ZTCFEMKZ.js} +2 -2
- package/dist/cdn/{HTK6SD7P.js → ZYEOJZ6Z.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +8 -7
- package/dist/components/solutions-deploy-app-nav/customElement.js +8 -8
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/35OPALGJ.js +0 -4
- package/dist/cdn/4XORBQ43.js +0 -4
- package/dist/cdn/BVUB2SWQ.js +0 -4
- package/dist/cdn/D2RAZUGA.js +0 -18
- package/dist/cdn/F5427EYW.js +0 -4
- package/dist/cdn/FGB6FI4J.js +0 -4
- package/dist/cdn/MPAC6ACP.js +0 -4
- package/dist/cdn/UQ33VZUS.js +0 -4
- package/dist/cdn/WPRGEX3Q.js +0 -4
- package/dist/cdn/X6PEX6MA.js +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import"./MGON4SLN.js";var e="Nem\xE1te dostatok kreditov pre spustenie tejto oper\xE1cie. Kontaktujte v\xE1\u0161ho spr\xE1vcu syst\xE9mu ArcGIS pre asistenciu.",a="Tento n\xE1stroj bol publikovan\xFD z notebooku. Pr\xEDstup do ArcGIS Notebooks je pre va\u0161u organiz\xE1ciu zablokovan\xFD. Ak chcete upravi\u0165 toto nastavenie, kontaktujte svojho spr\xE1vcu.",o="${ dataPath } nem\xF4\u017Ee ma\u0165 ${ additionalProperty }.",t="${ dataPath } sa mus\xED zhodova\u0165 so sch\xE9mou jednej z t\xFDchto: ${ schemaOptions }.",r="Sk\xFAste mapu ulo\u017Ei\u0165 znova.",s="Odhad kreditov zlyhal. Prejdite nadol, opravte chyby a znovu odhadnite kredity.",i="Pri spusten\xED anal\xFDzy sa vyskytla chyba.",n="${ dataPath } mus\xED by\u0165 rovn\xE9 jednej z t\xFDchto povolen\xFDch hodn\xF4t: ${ allowedValues }.",l="Nepodarilo sa ulo\u017Ei\u0165 hist\xF3riu anal\xFDzy",d="\xDAlo\u017Eisko hist\xF3rie je pln\xE9. Odstr\xE1\u0148te niektor\xE9 polo\u017Eky z hist\xF3rie anal\xFDz a sk\xFAste ulo\u017Ei\u0165 znova.",v="N\xE1zov slu\u017Eby obsahuje jeden alebo viac neplatn\xFDch znakov.",u="Ulo\u017Eenie do\u010Dasnej vrstvy ako hostovanej prvkovej vrstvy nebolo dokon\u010Den\xE9.",c="Z\xEDskanie vlastnost\xED k\u013E\xFA\u010Da zlyhalo.",m="Na\u010D\xEDtanie vrstvy zlyhalo.",h="Vrstva nie je k dispoz\xEDcii.",p="${ dataPath } nem\xF4\u017Ee ma\u0165 viac ne\u017E ${ limit } polo\u017Eiek.",y="Pri ukladan\xED modelu sa vyskytla chyba. Sk\xFAste ulo\u017Ei\u0165 znova.",k="${ dataPath } nem\xF4\u017Ee ma\u0165 menej ne\u017E ${ limit } polo\u017Eiek.",z="${ dataPath } nem\xF4\u017Ee by\u0165 krat\u0161\xED ne\u017E ${ limit } znakov.",j="Nepodarilo sa na\u010D\xEDta\u0165 polo\u017Eku modelu. Uistite sa, \u017Ee model existuje a \u017Ee bolo udelen\xE9 opr\xE1vnenie na pr\xEDstup.",b="Dokon\u010Denie \u017Eiadosti zlyhalo.",P="Nem\xE1te povolenie na spustenie tohto n\xE1stroja. <calcite-link target='_blank' href='${ docLink }'>Zisti\u0165 viac</calcite-link>",E="Pridanie port\xE1lu zlyhalo.",S="Na\u010D\xEDtanie vstupn\xFDch d\xE1t zlyhalo.",$="${ dataPath } ch\xFDba vlastnos\u0165 s n\xE1zvom ${ missingProperty }.",N="V\xFDsledn\xE1 vrstva s t\xFDmto n\xE1zvom u\u017E existuje. V\xFDsledn\xE9 vrstvy musia by\u0165 pomenovan\xE9 v r\xE1mci organiz\xE1cie jedine\u010Dne. Pou\u017Eite in\xFD n\xE1zov.",f="V\xFDstupn\xFD n\xE1zov obsahuje jeden alebo viac neplatn\xFDch znakov. <a href='${docLink}' target='_blank'>Zisti\u0165 viac.</a>",F="Publikovanie do\u010Dasnej vrstvy ako hostovanej vrstvy zlyhalo z d\xF4vodu jedn\xE9ho alebo viacer\xFDch neplatn\xFDch pol\xED. Znovu spustite n\xE1stroj na vytvorenie vrstvy s platn\xFDmi po\u013Eami.",I="Odoslanie \xFAlohy zlyhalo. Prejdite nadol, opravte chyby a znovu spustite anal\xFDzu.",T="${ dataPath } mus\xED ma\u0165 aspo\u0148 jeden znak, ktor\xFD nie je medzerou alebo whitespace znakom.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:h,maxItems:p,mbFailedToSave:y,minItems:k,minLength:z,modelNotFound:j,networkError:b,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:$,serviceNameExistsError:N,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,h as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,z as minLength,j as modelNotFound,b as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,$ as requiredProperty,N as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as t}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{a as t}from"./RHR64B37.js";import"./QDOOFKZT.js";import"./EALUH4BU.js";import"./MQE2DTF5.js";import"./IPIW25QW.js";import"./QK7H3QEZ.js";import"./5WP2S2ZH.js";import"./MNBZZ6G3.js";import"./K3ZT5FZ2.js";import"./JSMMX4OW.js";import"./GK4O6X2B.js";import"./ZN7CNQRT.js";import"./CRGYVR4L.js";import"./Q4ILVP7M.js";import"./NAFDFLKN.js";import"./TMNFYXWD.js";import"./BCPDT6MV.js";import"./IWN7UDRD.js";import"./KJEGNTYQ.js";import"./FJYGYKU7.js";import"./I5X57Y6X.js";import"./26NSAUFX.js";import"./JKVDTJCD.js";import"./MGON4SLN.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import c from"./2ZUX4PI4.js";import b from"./Q5JBWZWR.js";import{b as A}from"./AGNDZTZ6.js";import a from"./3UMQAY7D.js";import{a as S,b as C,c as f,d as w}from"./4XJKKLD3.js";import{a as r}from"./24PILRZT.js";import"./3MON3AIB.js";import"./4YNKTXJZ.js";import"./HV23NBKM.js";import"./AZZRAFZ2.js";import"./TCORLZCI.js";import"./32275IZ5.js";import"./IAMELUPG.js";import"./QWFYFDGT.js";import"./OLVN3BUK.js";import"./GRC5KYBB.js";import"./KSKZZDYX.js";import"./FNLWKSSH.js";import"./LZIYOPAC.js";import"./HCEYPHXZ.js";import"./XLHINQDA.js";import"./QAQPOJT3.js";import"./XQYYFNOC.js";import"./GU3R45TN.js";import"./BSCXWZZC.js";import"./K3ZT5FZ2.js";import{p as g,q as v}from"./MQDP5X2Y.js";import{a as y}from"./ECVB7DM6.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{b as m}from"./7LML2KAO.js";import{C as s,D as i,E as T,G as u,h as _,i as n,o as d}from"./4XYYUSUA.js";import"./MGON4SLN.js";export default $arcgis.t(([,{f:x,g:$},L])=>{var I=_`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.shell-container{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}`,b=class extends T{constructor(){super(),this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._translations=y({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${g} OR ${v}`,this._allCards=[],this._allShell=s(),this._allTab=s(),this._allTabTitle=s(),this._articlesTab=s(),this._articlesTabTitle=s(),this._authContextProvider=r({context:f}),this._categories=[],this._configContextProvider=r({context:w}),this._delay=!1,this._deployAppNav=s(),this._detailsShell=s(),this._detailsTab=s(),this._detailsTabTitle=s(),this._getSuggested=!1,this._isMobileContextProvider=r({context:C}),this._mySolutionsShell=s(),this._mySolutionsTab=s(),this._mySolutionsTabTitle=s(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=r({context:S}),this.deployAppTabSelected=d(),this.detailsCardSelected=d(),this.listenOn(window,"solutionsAllLoaded",this._solutionsAllLoaded),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=I}selectTab(t,e){console.log("selectTab");let a=this._getDefaultSearchOptions(e);switch(t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,a&&this._allShell.value?.searchSolutions(a);break;case"articles":this._articlesTab.value.selected=!0,this._articlesTabTitle.value.selected=!0;break;case"details":if(this._allCards){let l=x(this._allCards,t.tabTitleOrId);l=l||$(this._allCards,t.tabTitleOrId),l?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(l)):(this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"my-deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,a&&this._mySolutionsShell.value?.searchSolutions(a);break}this._setActiveTab(new CustomEvent(t.tabType)),this._blurTabs()}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=A)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return n`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} @authInit=${this._handleAuthInit} @navTabSelected=${this._setActiveTab} slot=header .useLocalAppConfig=${this.useLocalAppConfig} ${i(this._deployAppNav)}></solutions-deploy-app-nav><solutions-searchsort-toolbar .isMobile=${this.isMobile} slot=header></solutions-searchsort-toolbar><calcite-loader class=${u(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${u(e)} scale=l><calcite-tab-nav class="shell-container display-none" slot=title-group><calcite-tab-title ${i(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title>${this.authentication?.IsSignedIn?n`<calcite-tab-title ${i(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title>`:""}<calcite-tab-title ${i(this._articlesTabTitle)}>${this._translations.solutionArticles}</calcite-tab-title><calcite-tab-title class="display-none" ${i(this._detailsTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override" selected ${i(this._allTab)}><solutions-all-shell class="shell-container height-100" ${i(this._allShell)}></solutions-all-shell></calcite-tab>${this.authentication?.IsSignedIn?n`<calcite-tab class="back-color-override" ${i(this._mySolutionsTab)}><solutions-deployed-shell class="shell-container height-100" ${i(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab>`:""}<calcite-tab class="back-color-override" ${i(this._articlesTab)}><solutions-articles-shell class="shell-container height-100"></solutions-articles-shell></calcite-tab><calcite-tab class="back-color-override" ${i(this._detailsTab)}><solution-details-panel class="shell-container height-100" ${i(this._detailsShell)}></solution-details-panel></calcite-tab></calcite-tabs></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}async _handleAuthInit(t){let e=t.detail;e.userSession&&this._userSessionContextProvider.setValue(e.userSession),e.authentication&&(this.authentication=e.authentication,this._authContextProvider.setValue(this.authentication)),this._configContextProvider.setValue(e),this._cardsFetcher=new L(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail;switch(e){case"all-solutions":this._allTabTitle.value?.click();break;case"my-deployments":this._mySolutionsTabTitle.value?.click();break;case"articles":this._articlesTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}this.deployAppTabSelected.emit(e)}_solutionsAllLoaded(){this._isLoaded=!0}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(t){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},t,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._articlesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_getDefaultSearchOptions(t){let e;if(t){let a=t.domain,l=t.industry,p=t.offerType,c=t.searchTerm,k="",o=t.sortField,h=t.owner;e=a||l?{type:a?"domain":l?"industry":""}:void 0,a&&(e=e?{...e,domain:a}:{domain:a}),l&&(e=e?{...e,industry:l}:{industry:l}),c&&(e=e?{...e,searchTerm:c}:{searchTerm:c}),e&&(e={...e,displayValue:k}),o&&(e=e?{...e,sortType:o}:{sortType:o}),p&&(o=p.toLowerCase(),e=e?{...e,sortType:o}:{sortType:o}),h&&(e=e?{...e,owner:h}:{owner:h})}return e}};m("solutions-deploy-app",b);return b},a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as X}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{a as X}from"./6FCQB3AG.js";import{a as s}from"./ULELHCUW.js";import{c as x}from"./HV23NBKM.js";import{a as J,b as H}from"./LZUM3H4J.js";import{h as V,i as z}from"./AZZRAFZ2.js";import{b as R,c as w}from"./3MGV3QJV.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./TCORLZCI.js";import"./HN6L7MEZ.js";import"./32275IZ5.js";import"./IAMELUPG.js";import"./QWFYFDGT.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./WV4ZCFFT.js";import"./3SH6IZWK.js";import{i as G}from"./OLVN3BUK.js";import"./GRC5KYBB.js";import{a as p}from"./KSKZZDYX.js";import"./FNLWKSSH.js";import"./IBIR3MNF.js";import"./LZIYOPAC.js";import"./HCEYPHXZ.js";import{k as O,s as j}from"./XLHINQDA.js";import"./QAQPOJT3.js";import"./XQYYFNOC.js";import"./GU3R45TN.js";import{a as d}from"./BSCXWZZC.js";import"./K3ZT5FZ2.js";import"./I5X57Y6X.js";import"./MGON4SLN.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as d}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{b as d}from"./7LML2KAO.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./4XYYUSUA.js";import"./MGON4SLN.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as q}from"./RQBPWWL2.js";import{a as w}from"./LK4URP54.js";import{a as M}from"./RXM4HJ6I.js";import{C as T,b as v,c as F,z as P}from"./Z44XX64I.js";import{b as S}from"./3XLZCUHG.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{a as q}from"./7M65VSDO.js";import{a as w}from"./7GJSEVPA.js";import{a as M}from"./NM6FSLHS.js";import{C as T,b as v,c as F,z as P}from"./32GCN42P.js";import{b as S}from"./NF5TB4T5.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./4XYYUSUA.js";import"./MGON4SLN.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as f,c as g,e as I}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{a as f,c as g,e as I}from"./OFMGQCKQ.js";import"./MQDP5X2Y.js";import"./M46DOI6W.js";import{a as w,b as c}from"./BTHNNVZX.js";import{a as u}from"./ECVB7DM6.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{b as L}from"./7LML2KAO.js";import{E as m,h as d,i as r,o as h,r as p}from"./4XYYUSUA.js";import"./MGON4SLN.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=d`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{a as r}from"./UXPF53LA.js";import"./3MON3AIB.js";import"./4YNKTXJZ.js";import"./HV23NBKM.js";import"./AZZRAFZ2.js";import"./TCORLZCI.js";import"./32275IZ5.js";import"./IAMELUPG.js";import"./QWFYFDGT.js";import"./OLVN3BUK.js";import"./GRC5KYBB.js";import"./KSKZZDYX.js";import"./FNLWKSSH.js";import"./LZIYOPAC.js";import"./HCEYPHXZ.js";import"./XLHINQDA.js";import"./QAQPOJT3.js";import"./XQYYFNOC.js";import"./GU3R45TN.js";import"./BSCXWZZC.js";import"./K3ZT5FZ2.js";import"./MQDP5X2Y.js";import{a as d}from"./ECVB7DM6.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{b as p}from"./7LML2KAO.js";import{E as l,h,i as n,l as a}from"./4XYYUSUA.js";import"./MGON4SLN.js";var g=h`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as c}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{d as c}from"./QAQPOJT3.js";import{a as y}from"./BSCXWZZC.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v1.2.0-next.2 */
|
|
4
|
+
import{a as i}from"./3MGV3QJV.js";import{o as r}from"./TCORLZCI.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
|