@esri/solutions-components 1.2.0-next.13 → 1.2.0-next.15
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/{OM4UKQNZ.js → 2IH37O57.js} +2 -2
- package/dist/cdn/{UCQ5Y3GX.js → 2OB2SIIL.js} +2 -2
- package/dist/cdn/{JLNLIHGB.js → 2P5JJYFC.js} +2 -2
- package/dist/cdn/{IBB7QBCT.js → 2TO3D4JP.js} +2 -2
- package/dist/cdn/{EFUTSJBL.js → 2WF74AVG.js} +2 -2
- package/dist/cdn/{R4WW5CCG.js → 2XUD6P3Z.js} +2 -2
- package/dist/cdn/{GDKA6GQ6.js → 2Z3T6T5H.js} +2 -2
- package/dist/cdn/{G2HMKJU3.js → 2ZIVJI5H.js} +2 -2
- package/dist/cdn/{ISEVSKNV.js → 32UM7SZK.js} +1 -1
- package/dist/cdn/{UCG52BCL.js → 33TAMAB5.js} +3 -3
- package/dist/cdn/{22DI4MLQ.js → 3AFMP6IW.js} +2 -2
- package/dist/cdn/{POWA43LB.js → 3DMMKZP2.js} +2 -2
- package/dist/cdn/{OCYZRDAE.js → 3FC3AFQC.js} +2 -2
- package/dist/cdn/{2Z5HA7D5.js → 3INN5FQP.js} +2 -2
- package/dist/cdn/{66KC2NXW.js → 3LOI7YAT.js} +2 -2
- package/dist/cdn/{QETK5HEL.js → 3OK4D7RH.js} +2 -2
- package/dist/cdn/{SF3MI2B2.js → 3R547FCL.js} +2 -2
- package/dist/cdn/{3GJ7UGOW.js → 3Z34HOVN.js} +2 -2
- package/dist/cdn/{NLLWLHBU.js → 3ZHWDZ4U.js} +2 -2
- package/dist/cdn/{RAV53JFJ.js → 42XR3L6J.js} +2 -2
- package/dist/cdn/{TZBJLNXJ.js → 47LQUUSU.js} +2 -2
- package/dist/cdn/{XBZDU3YA.js → 4BD445J4.js} +2 -2
- package/dist/cdn/{XKQKAGOM.js → 4CY43SAF.js} +2 -2
- package/dist/cdn/{SSXAOZJ5.js → 4D5I5M3O.js} +2 -2
- package/dist/cdn/{555TJYQH.js → 4GRPOGJP.js} +2 -2
- package/dist/cdn/4J4LPB3C.js +4 -0
- package/dist/cdn/{NQMRDDCN.js → 4JAUYJ6Q.js} +2 -2
- package/dist/cdn/{QTNQ6E24.js → 4K2FRDTX.js} +2 -2
- package/dist/cdn/{SCJ2RD5L.js → 4P77U55T.js} +2 -2
- package/dist/cdn/{CKH5YBMU.js → 4TNONTZ6.js} +2 -2
- package/dist/cdn/{TDTBNJ5F.js → 4UC3TN7N.js} +2 -2
- package/dist/cdn/{BQ7CXSHY.js → 52ZNWMHQ.js} +2 -2
- package/dist/cdn/{E5JZ5Z2I.js → 547VLGRK.js} +2 -2
- package/dist/cdn/{SRVRHHIV.js → 57ZXUILQ.js} +2 -2
- package/dist/cdn/{4RPHWQJR.js → 5E626VLW.js} +2 -2
- package/dist/cdn/{3N2YHBI5.js → 5EAGIGD7.js} +2 -2
- package/dist/cdn/{GXHFJX3X.js → 5EHF5GZY.js} +2 -2
- package/dist/cdn/{6XLS7PCQ.js → 5HGZYOVA.js} +1 -1
- package/dist/cdn/{O2GEFWLI.js → 5IMIFIYK.js} +2 -2
- package/dist/cdn/{YXWR4LGR.js → 5JODT3O3.js} +2 -2
- package/dist/cdn/{Y6LO3REZ.js → 5KES3XBG.js} +2 -2
- package/dist/cdn/{ZKHKSH45.js → 5LIV5MBV.js} +2 -2
- package/dist/cdn/{4ADOOMTH.js → 5MQH5SRJ.js} +2 -2
- package/dist/cdn/{5YOZB2R2.js → 5NZGINBU.js} +1 -1
- package/dist/cdn/{TLY64OYB.js → 5OHLT44P.js} +2 -2
- package/dist/cdn/{XNQ6DBW6.js → 64XG2WEQ.js} +2 -2
- package/dist/cdn/{QBT6IQTV.js → 64ZV2TNG.js} +2 -2
- package/dist/cdn/{E5QWGIJK.js → 6624PMRO.js} +2 -2
- package/dist/cdn/{LOHXXUG6.js → 6A6WPUSP.js} +2 -2
- package/dist/cdn/{ILJ2CM7J.js → 6DFODGMW.js} +2 -2
- package/dist/cdn/{2W3PXN6A.js → 6POBHKBS.js} +2 -2
- package/dist/cdn/{LXW2GAAY.js → 6TPJXOGA.js} +2 -2
- package/dist/cdn/{4DJFOTO3.js → 6WQSDPWU.js} +2 -2
- package/dist/cdn/{4362MOZ7.js → 7EMBWSJE.js} +2 -2
- package/dist/cdn/{OREJNY5T.js → 7FVSKZFW.js} +2 -2
- package/dist/cdn/{TGA357DA.js → 7ML2KUOH.js} +2 -2
- package/dist/cdn/{533OGL7O.js → 7N5X4EHS.js} +2 -2
- package/dist/cdn/{UR5O5JWE.js → 7TAHV6UW.js} +2 -2
- package/dist/cdn/{7DVUJMYC.js → 7WA3VJRZ.js} +2 -2
- package/dist/cdn/{MXL375F4.js → A4X6C6ZX.js} +2 -2
- package/dist/cdn/A7RE5JAW.js +4 -0
- package/dist/cdn/{CDGFD3UK.js → AEHCAEA2.js} +2 -2
- package/dist/cdn/{PXIMWP5D.js → AGXLBLDE.js} +2 -2
- package/dist/cdn/AJ7HY5IA.js +18 -0
- package/dist/cdn/{4C7Y2IWS.js → AJZFV73U.js} +2 -2
- package/dist/cdn/{EGJPBCZR.js → AK2G7GWK.js} +2 -2
- package/dist/cdn/{OFZUHTRM.js → ANABZWEW.js} +2 -2
- package/dist/cdn/{JM7YFJWW.js → ATBZIXUI.js} +2 -2
- package/dist/cdn/{MCTAC35U.js → AVWH7V2G.js} +1 -1
- package/dist/cdn/{SICWCCBR.js → AXAHVJFX.js} +2 -2
- package/dist/cdn/{4JNGRSAC.js → AXRO5Y2Q.js} +1 -1
- package/dist/cdn/B3ZRPFZO.js +18 -0
- package/dist/cdn/{BXOZYAJQ.js → BDODIJBN.js} +2 -2
- package/dist/cdn/{UAD3Z7G6.js → BE4OEXWO.js} +2 -2
- package/dist/cdn/{AZIEZPYO.js → BK7VE3UH.js} +1 -1
- package/dist/cdn/{RHKI3HOF.js → BMH6UZYX.js} +2 -2
- package/dist/cdn/{X5C4AZW2.js → BPVXWSKC.js} +2 -2
- package/dist/cdn/BTAPRURT.js +18 -0
- package/dist/cdn/{OHBUH6XG.js → BURGOM4O.js} +2 -2
- package/dist/cdn/BXPQHUII.js +4 -0
- package/dist/cdn/{5QB7S4ZH.js → C4FAIF5Q.js} +2 -2
- package/dist/cdn/{S35QUYH6.js → C675SGIU.js} +2 -2
- package/dist/cdn/{IV3H2HEK.js → CGNU4GRB.js} +2 -2
- package/dist/cdn/{TOWCBV67.js → CH34UBEQ.js} +2 -2
- package/dist/cdn/{CKKF4HOA.js → CIWXA5ZN.js} +2 -2
- package/dist/cdn/CKPZEWWK.js +4 -0
- package/dist/cdn/CL3PGX2V.js +18 -0
- package/dist/cdn/CPK4BEBA.js +18 -0
- package/dist/cdn/{2HWHSNQH.js → CTJAA3HW.js} +2 -2
- package/dist/cdn/{N3MCXAZD.js → CUJ4QEUB.js} +2 -2
- package/dist/cdn/{ABV7A3TM.js → CUWST5O6.js} +2 -2
- package/dist/cdn/{YO533QFL.js → CV77ODA7.js} +2 -2
- package/dist/cdn/{JBGL4JKZ.js → CZ6K44RV.js} +1 -1
- package/dist/cdn/{5OKDP5DK.js → D2G4PIVE.js} +2 -2
- package/dist/cdn/{AQOTRYZM.js → DAFCUVTS.js} +2 -2
- package/dist/cdn/{QL2DC6OE.js → DAGLKPSW.js} +2 -2
- package/dist/cdn/{3EOM2MFQ.js → DH77AVTG.js} +2 -2
- package/dist/cdn/{RRQMNUDN.js → DHYN3VIT.js} +2 -2
- package/dist/cdn/{MX3WCXNM.js → DK3FWHR6.js} +3 -3
- package/dist/cdn/{OO6WR2YI.js → DOBSL5W5.js} +1 -1
- package/dist/cdn/E6BFGCQU.js +18 -0
- package/dist/cdn/{554YPOFT.js → E7N7FA3W.js} +2 -2
- package/dist/cdn/{CO3K5ZRL.js → EAZ7C25W.js} +2 -2
- package/dist/cdn/EL2JSV5A.js +4 -0
- package/dist/cdn/{62BBD2YR.js → EODDH2JP.js} +2 -2
- package/dist/cdn/{2WL2CX5A.js → ETYP3VBN.js} +2 -2
- package/dist/cdn/{CQKWXPD2.js → EVPTRQ6A.js} +1 -1
- package/dist/cdn/F2BY3DDZ.js +4 -0
- package/dist/cdn/{44CIVCB6.js → F2TCHWET.js} +2 -2
- package/dist/cdn/{RKSQHCLI.js → F3QXUPCO.js} +2 -2
- package/dist/cdn/{PZDHZUMS.js → F3VL5J4Q.js} +2 -2
- package/dist/cdn/{FS57RN34.js → F7DK7MGG.js} +1 -1
- package/dist/cdn/{ZKADU2PQ.js → FCPV4UOF.js} +2 -2
- package/dist/cdn/{XQJGWD7F.js → FCWBHJAR.js} +2 -2
- package/dist/cdn/{VC5VGOUO.js → FEICSWFI.js} +1 -1
- package/dist/cdn/{37NQHUK5.js → FFCZMKPH.js} +2 -2
- package/dist/cdn/{UKTZGR5H.js → FHDHYSK6.js} +2 -2
- package/dist/cdn/{2K763HQO.js → FJENF6BR.js} +2 -2
- package/dist/cdn/{RB6DOS5Z.js → FNV3BY4N.js} +2 -2
- package/dist/cdn/{XK3SNODM.js → FUVBSL52.js} +2 -2
- package/dist/cdn/{YM6SKW7B.js → FWT5BW6G.js} +2 -2
- package/dist/cdn/{TKKIU5DK.js → G36LZ2WH.js} +2 -2
- package/dist/cdn/{YHGLE6WS.js → G6VABLAG.js} +2 -2
- package/dist/cdn/{PWZHR4OS.js → GG2IDWQS.js} +2 -2
- package/dist/cdn/{NCYTPCR2.js → GIZDZBX3.js} +2 -2
- package/dist/cdn/{MZ3GB6EK.js → GNVNOTR5.js} +2 -2
- package/dist/cdn/{D5WGUMCY.js → GVHPHDSK.js} +1 -1
- package/dist/cdn/{RDKNMWCS.js → GY3S4QPM.js} +2 -2
- package/dist/cdn/{B7WUGBLY.js → GYCQ3AJ4.js} +2 -2
- package/dist/cdn/{6BSZB4T2.js → HA6QXFEE.js} +2 -2
- package/dist/cdn/{3ZD35GYW.js → HBKZAODT.js} +2 -2
- package/dist/cdn/{HDGNDHWN.js → HD274UTP.js} +2 -2
- package/dist/cdn/{EEE5US3J.js → HECNXLJ5.js} +2 -2
- package/dist/cdn/{WLP4EB7V.js → HFD37KVH.js} +2 -2
- package/dist/cdn/{J6NONFBS.js → HIEPRI6M.js} +1 -1
- package/dist/cdn/{G2DGDDPX.js → HLVEN4KS.js} +3 -3
- package/dist/cdn/{YPTKKUQT.js → HOSSCUTA.js} +2 -2
- package/dist/cdn/{TWNSH3OD.js → HSM2426M.js} +1 -1
- package/dist/cdn/{NGPU46XL.js → HT7C5PDZ.js} +2 -2
- package/dist/cdn/{AOYCH2P3.js → HVNRLHU5.js} +2 -2
- package/dist/cdn/{AZUSEICT.js → HY5QYWAN.js} +2 -2
- package/dist/cdn/{O2EZB4WB.js → I37NGC7B.js} +2 -2
- package/dist/cdn/{QBLSQMGQ.js → IARZLOE2.js} +2 -2
- package/dist/cdn/{ROHOQMWQ.js → IDPWCQHW.js} +2 -2
- package/dist/cdn/{34NMKZ4Y.js → IE5JSK7J.js} +2 -2
- package/dist/cdn/ILDBRYJS.js +4 -0
- package/dist/cdn/{NFFXMGV3.js → IMGIW7HO.js} +2 -2
- package/dist/cdn/{OJXGKKGT.js → IOFTT6HJ.js} +2 -2
- package/dist/cdn/{5KJ2N6Y6.js → IVDSMHU5.js} +2 -2
- package/dist/cdn/{BHKNTKZ7.js → IW3M3BRW.js} +2 -2
- package/dist/cdn/{W4MD3F6R.js → J32P3IUF.js} +2 -2
- package/dist/cdn/{G6U42YTA.js → J4QBWJSM.js} +2 -2
- package/dist/cdn/{666PNIZR.js → J66N75YM.js} +2 -2
- package/dist/cdn/{Y55OXV6Y.js → JA5E3ZS4.js} +2 -2
- package/dist/cdn/{CQ6WSEAJ.js → JDFPU4OZ.js} +2 -2
- package/dist/cdn/{VID2UZG4.js → JDTYU4V7.js} +2 -2
- package/dist/cdn/{OX5SNROI.js → JJEP2YGO.js} +2 -2
- package/dist/cdn/{2XAZ3RTK.js → JMPK7FSJ.js} +2 -2
- package/dist/cdn/{NQBEYMGR.js → JNWSIBXG.js} +2 -2
- package/dist/cdn/{L7LPWUMH.js → JPPIOFJI.js} +2 -2
- package/dist/cdn/{JD6EFQ6S.js → JQQF365S.js} +2 -2
- package/dist/cdn/{HPZC3A57.js → JUQF2PB3.js} +2 -2
- package/dist/cdn/{EGXYKGYI.js → JVQDTAZM.js} +2 -2
- package/dist/cdn/{NP2V2NOI.js → JYXITI3J.js} +2 -2
- package/dist/cdn/{M56EPKQ7.js → K4KSJJUE.js} +2 -2
- package/dist/cdn/{4MCZLOOB.js → K4PSBA7S.js} +2 -2
- package/dist/cdn/{T5PVRJMO.js → K7LR3C67.js} +1 -1
- package/dist/cdn/{VBNUDSSG.js → KFTUSILZ.js} +2 -2
- package/dist/cdn/{OKH2UKNB.js → KJC4PHVN.js} +2 -2
- package/dist/cdn/{CX3A6KA3.js → KJYAWRR4.js} +2 -2
- package/dist/cdn/{D33N2HTW.js → KMRNWHZU.js} +2 -2
- package/dist/cdn/{N2M3Q7OL.js → KNM2DOZ5.js} +2 -2
- package/dist/cdn/{FSP7SPX2.js → KQRHQKTT.js} +1 -1
- package/dist/cdn/{J7NOQ4JL.js → KYJTZ7GN.js} +2 -2
- package/dist/cdn/{74VIRFHE.js → L33Y3EXU.js} +1 -1
- package/dist/cdn/L733W7AD.js +4 -0
- package/dist/cdn/{AYPV6SOA.js → L75WH54D.js} +2 -2
- package/dist/cdn/{WUAYRTXU.js → LAGBD4ZG.js} +2 -2
- package/dist/cdn/{EJSHS63C.js → LBH23R6B.js} +2 -2
- package/dist/cdn/{T6BC4NP5.js → LBNDFMBU.js} +2 -2
- package/dist/cdn/{LI5JOVXC.js → LGLORLPA.js} +2 -2
- package/dist/cdn/{3VAHLUQ4.js → LH4J7BX2.js} +2 -2
- package/dist/cdn/{X556NDQM.js → LMO3OIUV.js} +2 -2
- package/dist/cdn/{MFAP3QSG.js → LQCKHLC4.js} +2 -2
- package/dist/cdn/{7HE7J72C.js → LRQUFI2D.js} +1 -1
- package/dist/cdn/{2U7YXCJZ.js → LUAMSNKZ.js} +2 -2
- package/dist/cdn/{PZEXCL57.js → LYUK5J5Q.js} +2 -2
- package/dist/cdn/{PERMCVQL.js → M5CZTKXX.js} +2 -2
- package/dist/cdn/{F56KK6GE.js → M7AF2VXD.js} +2 -2
- package/dist/cdn/{MMAHFIB4.js → MATLMRNC.js} +2 -2
- package/dist/cdn/{N53S6LBM.js → MMLBUMFZ.js} +2 -2
- package/dist/cdn/{UDPQ4ROC.js → MPYJWTZZ.js} +1 -1
- package/dist/cdn/{JCGX73CW.js → MTMG3GRR.js} +2 -2
- package/dist/cdn/{K5WH7A5V.js → MYLIJELV.js} +2 -2
- package/dist/cdn/{RUP3N6FQ.js → N3UWRM33.js} +2 -2
- package/dist/cdn/{TZHAIY5U.js → N45LPVOM.js} +2 -2
- package/dist/cdn/{3CBSLNB4.js → N65CEPTA.js} +2 -2
- package/dist/cdn/{XPNCU35H.js → N7FPVL7S.js} +2 -2
- package/dist/cdn/{4VSXNGPH.js → NBWRB4UV.js} +1 -1
- package/dist/cdn/{JC73ZWM4.js → NCS6AM2F.js} +2 -2
- package/dist/cdn/{GEOJT5HE.js → NGAOJITT.js} +2 -2
- package/dist/cdn/{QVON44ZD.js → NH4CFBFD.js} +1 -1
- package/dist/cdn/{3RO3BXDV.js → NQWAECHR.js} +2 -2
- package/dist/cdn/{ZLWPGFJV.js → NSRQUUHT.js} +4 -4
- package/dist/cdn/{B4F5VQMS.js → NTUKSOX6.js} +2 -2
- package/dist/cdn/{WXX3JVS7.js → NWYDTXHU.js} +2 -2
- package/dist/cdn/{Z4GZ7VCW.js → NWZXSIOF.js} +1 -1
- package/dist/cdn/{WGQUTVDW.js → NXUIVAQT.js} +2 -2
- package/dist/cdn/O6AHHEEE.js +18 -0
- package/dist/cdn/{DSWPPG73.js → OCG3XDCT.js} +2 -2
- package/dist/cdn/{5IFJ723U.js → OD6CCAY7.js} +2 -2
- package/dist/cdn/{PW4JQUZM.js → OEOAXQIR.js} +2 -2
- package/dist/cdn/{LVDQBRPQ.js → OEVW7652.js} +2 -2
- package/dist/cdn/{2CSZLHQK.js → OGJDKKVD.js} +2 -2
- package/dist/cdn/{NL2ZCSNM.js → OPK4XF2Q.js} +1 -1
- package/dist/cdn/{RP3IBMYT.js → OSQ5RHZM.js} +2 -2
- package/dist/cdn/{XLUDDUX2.js → OTKMTGZQ.js} +2 -2
- package/dist/cdn/{JQMG7XAE.js → OTWOMOOS.js} +2 -2
- package/dist/cdn/{K2I34C5P.js → P2Q2QECR.js} +2 -2
- package/dist/cdn/{VS7KGOXE.js → P4ZT2VNI.js} +2 -2
- package/dist/cdn/{K7DE43V5.js → P5NCQEHT.js} +2 -2
- package/dist/cdn/{7WUQL7OH.js → P7GYHQIB.js} +2 -2
- package/dist/cdn/{IIH6CLH2.js → P7IHCCPN.js} +2 -2
- package/dist/cdn/{3WIONUEL.js → PGH6RCLO.js} +2 -2
- package/dist/cdn/{KBHGTYPO.js → PP7YJVFK.js} +2 -2
- package/dist/cdn/{ASXFRSKX.js → PRPAKA53.js} +2 -2
- package/dist/cdn/{R7232VZW.js → PTH4VZ5J.js} +1 -1
- package/dist/cdn/{X43BLFIH.js → PUDP2PNI.js} +2 -2
- package/dist/cdn/{ZWZKBEYE.js → PVGBJQAD.js} +2 -2
- package/dist/cdn/PW3GGNPY.js +4 -0
- package/dist/cdn/{V6OSHRQM.js → PXZ3HDAQ.js} +2 -2
- package/dist/cdn/{NSESHKON.js → PY5GGBEE.js} +2 -2
- package/dist/cdn/{6ICMW2XL.js → Q753LUMJ.js} +2 -2
- package/dist/cdn/{2ZUELHRU.js → QA6BAR3L.js} +2 -2
- package/dist/cdn/{4DYJLPDZ.js → QAMFDK44.js} +2 -2
- package/dist/cdn/{WG4X43JN.js → QCVFWRQ3.js} +2 -2
- package/dist/cdn/{DCQ7GLZI.js → QIJJMLMA.js} +2 -2
- package/dist/cdn/{YRVDWBVN.js → QKKZMTRI.js} +2 -2
- package/dist/cdn/{CFYDKX3C.js → QNJKL7SK.js} +2 -2
- package/dist/cdn/{AF45E6DN.js → QQ7DWVMW.js} +2 -2
- package/dist/cdn/{PZTUREPY.js → QVPAC4JU.js} +2 -2
- package/dist/cdn/{TZJ2HEJQ.js → QXJF7X7C.js} +2 -2
- package/dist/cdn/{UJFJN4KW.js → R2SZJCZZ.js} +2 -2
- package/dist/cdn/{XEYWQFQ5.js → R5QNGLWD.js} +2 -2
- package/dist/cdn/{7K3Y26XM.js → R5RGPHNY.js} +2 -2
- package/dist/cdn/{5FXBCVIZ.js → RF3I2OVH.js} +2 -2
- package/dist/cdn/{W3HTFD5Y.js → RFGEXOGL.js} +2 -2
- package/dist/cdn/{5MKFPVBN.js → RHWRSJAG.js} +2 -2
- package/dist/cdn/{3OAMWWCL.js → RJDGVBOH.js} +2 -2
- package/dist/cdn/{3O5VSR67.js → RL2Q4UFY.js} +2 -2
- package/dist/cdn/{U3X4JOWT.js → RTFAFC47.js} +2 -2
- package/dist/cdn/{K5AAAN6G.js → RTIEUEZS.js} +2 -2
- package/dist/cdn/{RHNY7QXI.js → RTNFT7R7.js} +1 -1
- package/dist/cdn/{EIWKHVBY.js → SBZZ4K52.js} +2 -2
- package/dist/cdn/{GGC45SFJ.js → SGYTO5Q3.js} +2 -2
- package/dist/cdn/{KQY6F6TC.js → SIAJA5J4.js} +2 -2
- package/dist/cdn/{UORERW5B.js → SJ7KLP57.js} +2 -2
- package/dist/cdn/{46R75UZS.js → SQ3WIIXR.js} +2 -2
- package/dist/cdn/{4ATL3D6V.js → SSCSISSJ.js} +1 -1
- package/dist/cdn/{WSK33HZC.js → SUZ4YNXZ.js} +2 -2
- package/dist/cdn/{B2KIFSSU.js → T5AJ3VNL.js} +2 -2
- package/dist/cdn/{YCA4LRXE.js → T5N4USHO.js} +2 -2
- package/dist/cdn/{MSH52ZAT.js → T76KLUH7.js} +2 -2
- package/dist/cdn/{MSWWPD5H.js → TBOJZDNR.js} +2 -2
- package/dist/cdn/{5RDTSHLH.js → TC6GRMDI.js} +1 -1
- package/dist/cdn/{JN23XJLY.js → TD24BI5O.js} +2 -2
- package/dist/cdn/{CNV5CX2O.js → TFNUF2ZS.js} +2 -2
- package/dist/cdn/{ZG2AHKGG.js → TGRQ3LJY.js} +2 -2
- package/dist/cdn/{AKL67LTE.js → THIUOJJT.js} +2 -2
- package/dist/cdn/{NRSYVSYQ.js → TK65KBA3.js} +2 -2
- package/dist/cdn/{NR3CW5TL.js → TN2PGFEW.js} +2 -2
- package/dist/cdn/{P4IG3MVJ.js → TOSLUXOS.js} +2 -2
- package/dist/cdn/{MGTUFHO4.js → TUZ25PBB.js} +2 -2
- package/dist/cdn/{2AR77FHR.js → TVEY6INM.js} +1 -1
- package/dist/cdn/{XSUH5ZWN.js → U2IDJDV3.js} +2 -2
- package/dist/cdn/{VWVYEBDH.js → U62Y5B5E.js} +2 -2
- package/dist/cdn/U6LFOJY4.js +4 -0
- package/dist/cdn/{YBRSEZ67.js → UE6HX53N.js} +2 -2
- package/dist/cdn/{BOSS7OMS.js → UENIFZ42.js} +8 -6
- package/dist/cdn/{O466Y44Q.js → UIHIMUAM.js} +2 -2
- package/dist/cdn/{THJAL2CV.js → UIXND4RG.js} +2 -2
- package/dist/cdn/{YJMNTY3L.js → UK3DTFAX.js} +1 -1
- package/dist/cdn/UL2XIT3X.js +4 -0
- package/dist/cdn/{QLVC7ZPZ.js → URFFUWLH.js} +2 -2
- package/dist/cdn/{BTVB74DT.js → URVMNZHN.js} +2 -2
- package/dist/cdn/{XT5JYDSP.js → US7G3FCP.js} +2 -2
- package/dist/cdn/{IFOH36K3.js → USJVL6GN.js} +2 -2
- package/dist/cdn/{XUAIYIQ2.js → UWKPNCNO.js} +2 -2
- package/dist/cdn/{264FY26S.js → UXSWM34Y.js} +2 -2
- package/dist/cdn/{P5PCO4JO.js → VGD3ACHA.js} +2 -2
- package/dist/cdn/{M224VK7H.js → VKEAPFNA.js} +2 -2
- package/dist/cdn/{EJAMRCQS.js → VLEM3TR7.js} +2 -2
- package/dist/cdn/{ERNEEJXE.js → VNFRWFAW.js} +2 -2
- package/dist/cdn/{EUH67UW5.js → VPI6KWYG.js} +2 -2
- package/dist/cdn/{YYHJHXNM.js → VPK4ZAZF.js} +2 -2
- package/dist/cdn/{SB2EYKVI.js → VR5TPQG5.js} +1 -1
- package/dist/cdn/VRDTBEBN.js +4 -0
- package/dist/cdn/{33SJC5CJ.js → VXS22IEQ.js} +2 -2
- package/dist/cdn/{OPU7UG63.js → VYIVYXUJ.js} +2 -2
- package/dist/cdn/{WXRMP3RF.js → VYLL3I6K.js} +2 -2
- package/dist/cdn/{VLPI3GRM.js → VZDK2UMF.js} +2 -2
- package/dist/cdn/{J6423EDC.js → VZXWZRZ2.js} +2 -2
- package/dist/cdn/{UZAHM4E4.js → W2UXZ3VQ.js} +1 -1
- package/dist/cdn/{Q46P3XZX.js → WDIJJJAX.js} +2 -2
- package/dist/cdn/{WNXG3ZCI.js → WHRW3IB5.js} +2 -2
- package/dist/cdn/{X4JROJKB.js → WMIBYGQF.js} +2 -2
- package/dist/cdn/{KKUITPWU.js → WPCD65VV.js} +2 -2
- package/dist/cdn/{QZUTRMW6.js → WR5CZS6Z.js} +2 -2
- package/dist/cdn/{6HD5QOMC.js → WT4VJX6N.js} +2 -2
- package/dist/cdn/{WUUFD7I3.js → WTIIL4Z5.js} +2 -2
- package/dist/cdn/{EUE3LP5B.js → WVPA4RIC.js} +1 -1
- package/dist/cdn/{X2HCZOFT.js → WXO3ZL5M.js} +2 -2
- package/dist/cdn/{45W7YE6A.js → XHTNNEII.js} +2 -2
- package/dist/cdn/{7JLC7H3K.js → XINPX7UY.js} +2 -2
- package/dist/cdn/{M63VDRSQ.js → XIU6KDAI.js} +1 -1
- package/dist/cdn/{GW27RGOK.js → XJV2IHQU.js} +2 -2
- package/dist/cdn/XKFBIOP5.js +18 -0
- package/dist/cdn/{CFMJKVXR.js → XL3MO46G.js} +1 -1
- package/dist/cdn/XM6GFHKW.js +4 -0
- package/dist/cdn/{VTXQOB7L.js → XQJCGYXO.js} +1 -1
- package/dist/cdn/{JRZKK7MA.js → XS5PMVOE.js} +2 -2
- package/dist/cdn/{GAEULQXJ.js → XSASM2S7.js} +2 -2
- package/dist/cdn/{PPDJ32JJ.js → XTNPOADE.js} +2 -2
- package/dist/cdn/{EC2IHLSY.js → XWO35XMC.js} +2 -2
- package/dist/cdn/{ICFQB2ET.js → Y5MQB5IG.js} +1 -1
- package/dist/cdn/{4XAMBKX4.js → YACUVAZK.js} +3 -3
- package/dist/cdn/{Z66C7X2A.js → YBOWQKWT.js} +2 -2
- package/dist/cdn/{GENBEWQD.js → YHY4R3U6.js} +1 -1
- package/dist/cdn/{52TMIUZW.js → YKJ6JXET.js} +1 -1
- package/dist/cdn/{ZFIDAXHF.js → YLSH4YUB.js} +2 -2
- package/dist/cdn/{ZP3Z6SIG.js → YNCV66VN.js} +2 -2
- package/dist/cdn/{O4KKRMWS.js → YQH4NZVR.js} +2 -2
- package/dist/cdn/{GAJHTV7P.js → YQM3ZN4J.js} +2 -2
- package/dist/cdn/{CYX3TOXQ.js → YUKEOO45.js} +2 -2
- package/dist/cdn/{RAJJT4B3.js → YWPBUNRL.js} +2 -2
- package/dist/cdn/{NKSKFR6W.js → YYCNS5A5.js} +2 -2
- package/dist/cdn/Z3E6GUUX.js +18 -0
- package/dist/cdn/{RDOMCTUL.js → ZCRJFSKJ.js} +2 -2
- package/dist/cdn/{7ZRSM52L.js → ZE26QR3I.js} +1 -1
- package/dist/cdn/{MRGIGMEJ.js → ZP24UQVP.js} +2 -2
- package/dist/cdn/{EGJY2AK7.js → ZPG53QLG.js} +2 -2
- package/dist/cdn/{NSUKDWLQ.js → ZSJQNSIY.js} +2 -2
- package/dist/cdn/{TB44WXEK.js → ZYG6OTLK.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- 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.d.ts +0 -23
- package/dist/components/arcgis-solutions-assistant/customElement.js +97 -68
- package/dist/components/arcgis-solutions-assistant/index.d.ts +3 -3
- package/dist/components/arcgis-solutions-assistant/index.js +3 -3
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +16 -0
- 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 +3 -3
- 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-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 +2 -2
- 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-card/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 +14 -14
- package/dist/components/solutions-all-panel/index.d.ts +1 -1
- package/dist/components/solutions-all-panel/index.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +23 -23
- package/dist/components/solutions-deploy-app/customElement.js +14 -14
- package/dist/components/solutions-deploy-app-nav/customElement.js +4 -4
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +34 -35
- package/dist/components/solutions-deployed-shell/customElement.js +11 -11
- package/dist/components/solutions-filter-panel/customElement.js +20 -20
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +11 -11
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- 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/4ENQBAQD.js +0 -4
- package/dist/cdn/5GDSQ7SZ.js +0 -18
- package/dist/cdn/5X4CMXBT.js +0 -4
- package/dist/cdn/B3QOZGKK.js +0 -18
- package/dist/cdn/D3K4ITIF.js +0 -4
- package/dist/cdn/DHEB777B.js +0 -4
- package/dist/cdn/EF5AJQH3.js +0 -18
- package/dist/cdn/FQY7OKCX.js +0 -4
- package/dist/cdn/IJVQHYFH.js +0 -4
- package/dist/cdn/JNL2IBVR.js +0 -18
- package/dist/cdn/LX5BVFDE.js +0 -4
- package/dist/cdn/MKKM47E4.js +0 -18
- package/dist/cdn/O7Q6YMZH.js +0 -4
- package/dist/cdn/QDOG42JX.js +0 -18
- package/dist/cdn/QEKRYT2T.js +0 -18
- package/dist/cdn/RY5ANV6A.js +0 -4
- package/dist/cdn/SLU6KLLC.js +0 -4
- package/dist/cdn/SLXWBGDY.js +0 -4
- package/dist/cdn/VGMWPYEH.js +0 -4
- package/dist/cdn/VGXU7I7U.js +0 -4
- package/dist/cdn/VYGWWP54.js +0 -18
- package/dist/cdn/WRG3LT22.js +0 -18
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@esri/solutions-components",
|
|
4
|
-
"version": "1.2.0-next.
|
|
4
|
+
"version": "1.2.0-next.15",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { A as O } from "./chunks/Auth.js";
|
|
|
3
3
|
import { p as A, r as e, q as I, B as L, C as R, i as P, n as t, k as o, h as N, g as U, E as i, j as p, a as C, m as M, c as r, o as B, d as D, e as y, l as G, b as f, f as H, J as g, P as l, t as m, s as n, u, v as x, w as d, x as K, y as Y, z as h, S as w, A as F, F as c, G as v, D as z, H as W, I as k } from "./chunks/interfaces.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
6
|
-
v1.2.0-next.
|
|
6
|
+
v1.2.0-next.15 */
|
|
7
7
|
export {
|
|
8
8
|
O as Auth,
|
|
9
9
|
A as BASE_DEPLOYED_TERMS,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as o } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
5
|
-
v1.2.0-next.
|
|
5
|
+
v1.2.0-next.15 */
|
|
6
6
|
const l = o(e, {
|
|
7
7
|
"arcgis-solutions-assistant": [() => import("./components/arcgis-solutions-assistant/customElement.js"), "docAIurl,open,serverRoot,solutionAIurl,token;handleSendMessage,loopRequest,requestAIServer;resetChat"],
|
|
8
8
|
"basemap-gallery": [() => import("./components/basemap-gallery/customElement.js"), "basemapConfig:,basemapWidget:,mapView:"],
|
package/package.json
CHANGED
package/dist/cdn/4ENQBAQD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a,b}from"./ZFIDAXHF.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/5GDSQ7SZ.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as N}from"./ICFQB2ET.js";import{b as F}from"./J7NOQ4JL.js";import{a as h}from"./2XAZ3RTK.js";import{k as m}from"./J6NONFBS.js";import{a as I}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as A}from"./OKH2UKNB.js";import{E as y,h as E,i as n,o as S}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var b=E`/** @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
|
-
*/.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.border-color{--calcite-block-border-color: #00000000}`;var R={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},_=Object.keys(m).reduce((p,s)=>{let t=s;return p[t]=R[t]??[],p},{}),g=class extends y{constructor(){super(),this.hideIndustryFilter=!1,this.isAIsettingEnabled=!1,this.isAIDialogOpen=!1,this.showReset=!1,this._activeFilterSettings={categories:[]},this._translations=I({name:"solutions-filter-panel",blocking:!0}),this._userSessionContextConsumer=F({context:N,subscribe:!0}),this.applyFilter=S(),this._handleFilterRemoved=s=>{let t=s.detail;Array.isArray(t)&&(this._activeFilterSettings={...this._activeFilterSettings,categories:[...t]})},this._industryMatchName=s=>{let t=Object.keys(this._translations.industries).find(o=>o.toUpperCase()===s.replaceAll(" ","").toUpperCase());return t&&t in this._translations.industries?this._translations.industries[t]:s},this.listenOn(window,"filterRemoved",this._handleFilterRemoved),this.listenOn(window,"closeAssistant",()=>{this.isAIDialogOpen=!1})}static{this.properties={hideIndustryFilter:5,isAIsettingEnabled:5,isAIDialogOpen:5,showReset:5,_activeFilterSettings:16,_translations:16}}static{this.styles=b}changeIndustryFilter(s,t,o,d){if(s!==""||t!==""){let a=[];if(t!==""){let e=m[s];a=[{displayValue:this._industryMatchName(e),type:"industry",value:s,industry:s,domain:""},{displayValue:o,type:"domain",value:t,industry:s,domain:t}]}else a=[{displayValue:o,type:t!==""?"domain":"industry",value:t!==""?t:s,industry:s,domain:t}];this._activeFilterSettings={...this._activeFilterSettings,categories:[...a]},d&&this.applyFilter.emit(a)}else{let a={displayValue:o,type:"industry",value:s,industry:s,domain:t};this._activeFilterSettings={...this._activeFilterSettings,categories:[a]},d&&this.applyFilter.emit(a)}}clearFilters(){this.changeIndustryFilter("","",""),this.applyFilter.emit(null)}render(){return n`<calcite-panel description .heading=${this._translations.filterSolutionsBy}>${this.showReset&&n`<calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>`||""}<calcite-block-group .label=${this._translations.filters}>${!this.hideIndustryFilter&&this.renderIndustryBlock()||""}</calcite-block-group>${this.isAIsettingEnabled&&n`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" @click=${()=>{this.isAIDialogOpen=!0}} round scale=l slot=footer-start></calcite-button>`||""}${this._userSessionContextConsumer.value&&n`<arcgis-solutions-assistant .open=${this.isAIDialogOpen} .token=${this._userSessionContextConsumer.value.token}></arcgis-solutions-assistant>`||""}</calcite-panel>`}renderIndustryBlock(){let s=(e,r)=>!this._activeFilterSettings||!this._activeFilterSettings.categories?!1:this._activeFilterSettings.categories.some(i=>i.industry===e&&(i.domain??"")===r),t=e=>!this._activeFilterSettings||!this._activeFilterSettings.categories?!1:this._activeFilterSettings.categories.some(r=>r.industry===e&&(r.domain??"")===""),o=(e,r)=>r.length>0&&(t(e)||this._activeFilterSettings.categories?.some(i=>i.industry===e&&!!i.domain&&r.includes(i.domain))===!0),d=(e,r)=>r.map(i=>{let l=Object.keys(this._translations.industriesDomain).find(u=>u.toUpperCase()===i.toUpperCase()),c=l&&l in this._translations.industriesDomain?this._translations.industriesDomain[l]:i;return s(e,i)?h(i,n`<calcite-tree-item .label=${c} @click=${()=>this.changeIndustryFilter(e,i,c,!0)} selected>${c}</calcite-tree-item>`):h(i,n`<calcite-tree-item .label=${c} @click=${()=>this.changeIndustryFilter(e,i,c,!0)}>${c}</calcite-tree-item>`)}),a=Object.entries(_).map(([e,r])=>{let i=this._industryMatchName(e),l=r,c=t(e),u=o(e,l);return c?h(e,n`<calcite-tree-item .label=${i} @click=${()=>this.changeIndustryFilter(e,"",i,!0)} selected .expanded=${u?!0:void 0}>${i}${l.length>0&&n`<calcite-tree slot=children selection-mode=multiple>${d(e,l)}</calcite-tree>`||""}</calcite-tree-item>`):h(e,n`<calcite-tree-item .label=${i} @click=${()=>this.changeIndustryFilter(e,"",i,!0)} .expanded=${u?!0:void 0}>${i}${l.length>0&&n`<calcite-tree slot=children selection-mode=multiple>${d(e,l)}</calcite-tree>`||""}</calcite-tree-item>`)});return n`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${a}</calcite-tree></calcite-block>`}};A("solutions-filter-panel",g);export{g as SolutionsFilterPanel};
|
package/dist/cdn/5X4CMXBT.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a,b}from"./EUH67UW5.js";import"./Z4GZ7VCW.js";import"./GENBEWQD.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
package/dist/cdn/B3QOZGKK.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{b}from"./ICFQB2ET.js";import{b as u}from"./J7NOQ4JL.js";import{a as h}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as p}from"./OKH2UKNB.js";import{C as l,D as a,E as r,H as c,I as d,h as s,i,o}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var f=s`/** @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
|
-
*/calcite-shell-panel{z-index:1}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}`,n=class extends r{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=h({name:"solutions-deployed-shell",blocking:!0}),this._isMobileContextConsumer=u({context:b,subscribe:!0,callback:e=>this.isMobile=e}),this._solutionsDeployedFilterPanel=l(),this._solutionsDeployedPanelRef=l(),this.filterRemoved=o(),this.tokenRefreshed=o()}static{this.properties={solutionsCount:9,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=f}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._solutionsDeployedPanelRef.value?.setSearchOptions(e),"owner"in e){let t=e.owner==="organization";this._solutionsDeployedFilterPanel.value.changeOwnerFilter(!t,!0)}else("sortType"in e||"searchTerm"in e)&&this._solutionsDeployedPanelRef.value?.searchSolutions(e)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative"><calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??d} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override flex-shrink-0" layout=inline>${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} @searchTermSet=${t=>this._solutionsDeployedFilterPanel.value.changeSearchFilter(t.detail.searchTerm,!1)} style=${c(e)} ${a(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_updateSolutionCount(e){this.solutionsCount=e.detail}_toggleFilter(){this.filterOpen=!this.filterOpen}};p("solutions-deployed-shell",n);export{n as SolutionsDeployedShell};
|
package/dist/cdn/D3K4ITIF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{b as e,e as r}from"./3WIONUEL.js";import"./D5WGUMCY.js";import"./OO6WR2YI.js";import"./GW27RGOK.js";import{c as t}from"./7ZRSM52L.js";import"./CNV5CX2O.js";import"./R7232VZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import"./GENBEWQD.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
package/dist/cdn/DHEB777B.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a,b}from"./AQOTRYZM.js";import"./SB2EYKVI.js";import"./GENBEWQD.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/EF5AJQH3.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import k from"./4DJFOTO3.js";import j from"./T6BC4NP5.js";import e from"./IFOH36K3.js";import{b as w}from"./ZKADU2PQ.js";import{a as y,c as f,d as C}from"./ICFQB2ET.js";import b from"./6BSZB4T2.js";import{b as i}from"./J7NOQ4JL.js";import"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import{m as g,o as a}from"./J6NONFBS.js";import{a as u}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as p}from"./OKH2UKNB.js";import{D as _,E as m,G as o,h,i as s,j as c,l as d,o as r}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,,n,x])=>{var v=h`/** @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
|
-
*/calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}`,T=5,l=class extends m{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=u({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=a,this._allCards=[],this._authContextConsumer=i({context:f,subscribe:!0}),this._baseAgoTerms=a,this._categories=[],this._configContextConsumer=i({context:C,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),this._isOrgAdmin=w(this._authContextConsumer.value),await this._getDeployedSolutions())}}),this._delay=!1,this._isOrgAdmin=!1,this._owner=g.OWNER,this._sortField="created",this._sortOrder="desc",this._userSessionContextConsumer=i({context:y,subscribe:!0}),this.deployedCardsFetched=r(),this.searchTermSet=r(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=T,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=T,this._refresh(e)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&this.searchSolutions(e.detail.option)})}static{this.properties={sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=v}async reload(e=!0,t=!0){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(S){console.error("Error getting deployed solutions:",S)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&this._sortCards(e))}render(){let e=this._cardsFetching?"":"display-none",t=this._cardsFetching?"display-none":"";return s`<h1><calcite-loader class=${o(e)} .label=${this._translations.fetchingDeployedSolutions}></calcite-loader><calcite-panel class=${o(t)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel></h1>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(!0),this._newId="")}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new n(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new n(e.locale,e.orgUrl,e.portalUrl)}}_renderCards(){return this._cards.length?(this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this._userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??d} .itemId=${e.id} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${_(this._handleRefs)}></solution-deployed-card>`)):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._authContextConsumer.value||this._configContextConsumer.value?.authentication;if(e.IsSignedIn){this._cardsFetching=!0;let t=await x(e,this._userSessionContextConsumer.value||this._configContextConsumer.value?.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===t?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${c`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this._authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&(this._newId=t,await this._getDeployedSolutions())}};p("solutions-deployed-panel",l);return l},b,e,j,k)
|
package/dist/cdn/FQY7OKCX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a}from"./CQ6WSEAJ.js";import"./R7232VZW.js";import"./3N2YHBI5.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import"./GENBEWQD.js";export{a as buildUiSchema};
|
package/dist/cdn/IJVQHYFH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as f}from"./2XAZ3RTK.js";import{a as D}from"./FS57RN34.js";import{a as L}from"./RAJJT4B3.js";import{B as S,C as I}from"./TWNSH3OD.js";import{b as k}from"./PZEXCL57.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
|
package/dist/cdn/JNL2IBVR.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import c from"./T6BC4NP5.js";import b from"./IFOH36K3.js";import{b as x}from"./JBGL4JKZ.js";import{a as S,b as C,c as f,d as w}from"./ICFQB2ET.js";import a from"./6BSZB4T2.js";import{a as r}from"./J7NOQ4JL.js";import"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import{p as g,q as v}from"./J6NONFBS.js";import{a as y}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as m}from"./OKH2UKNB.js";import{C as s,D as i,E as T,G as u,h as _,i as n,o as d}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,{f:$,g:A},k])=>{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%}solutions-searchsort-toolbar,solutions-deploy-app-nav{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:1px;border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}`,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._resourcesTab=s(),this._resourcesTabTitle=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,"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}async selectTab(t,e){if(this._isLoaded){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&&await this._allShell.value?.searchSolutions(a);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"details":if(this._allCards){let l=$(this._allCards,t.tabTitleOrId);l=l||A(this._allCards,t.tabTitleOrId),l?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(l)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,a&&await this._mySolutionsShell.value?.searchSolutions(a);break}this._setActiveTab(new CustomEvent("setActiveTab",{detail:t.tabType})),this._blurTabs()}else this._initTab=t,this._initFilters=e}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=x)}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><div class="border" slot=header></div><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._resourcesTabTitle)}>${this._translations.solutionResources}</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._resourcesTab)}><solutions-resources-shell class="shell-container height-100"></solutions-resources-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 k(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId),this._isLoaded=!0,this._initTab&&(this.selectTab(this._initTab,this._initFilters),this._initTab=void 0,this._initFilters=void 0)}_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"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e))}_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._resourcesTabTitle.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,L="",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:L}),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)
|
package/dist/cdn/LX5BVFDE.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as C}from"./UAD3Z7G6.js";import{a as v,b as E,p as y}from"./NL2ZCSNM.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
|
package/dist/cdn/MKKM47E4.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as y,b as x}from"./ICFQB2ET.js";import{b as n}from"./J7NOQ4JL.js";import{a as v}from"./5MKFPVBN.js";import{k as m,l as _}from"./J6NONFBS.js";import{a as g}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b}from"./OKH2UKNB.js";import{C as o,D as a,E as u,G as p,H as r,I as f,h,i,o as d}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var S=h`/** @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
|
-
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.height-32{height:32px}.filter-border{border-color:var(--calcite-color-border-3);border-style:solid;border-width:var(--calcite-border-width-sm)}`,c=class extends u{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=n({context:x,subscribe:!0,callback:e=>this.isMobile=e}),this._userSessionContextConsumer=n({context:y,subscribe:!0}),this.filterRemoved=d(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(m).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(_).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??f} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-32 ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&i`<calcite-button appearance=transparent icon-start=reset @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${p(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100 filter-border" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><calcite-panel><solutions-filter-panel class="height-100" .isAIsettingEnabled=${!!this._userSessionContextConsumer.value?.token} @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?v(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,t){if(this._filters.categories){if(t==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==t);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let t=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(t=[e[e.length-1]]),this._filters.categories=e),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};b("solutions-all-shell",c);export{c as SolutionsAllShell};
|
package/dist/cdn/O7Q6YMZH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as x}from"./UDPQ4ROC.js";import{a as h}from"./74VIRFHE.js";import{b as m}from"./PZEXCL57.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
|
package/dist/cdn/QDOG42JX.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import g from"./4DJFOTO3.js";import e from"./T6BC4NP5.js";import d from"./IFOH36K3.js";import{a as b,c as I,d as A}from"./ICFQB2ET.js";import a from"./6BSZB4T2.js";import{b as h}from"./J7NOQ4JL.js";import"./G2DGDDPX.js";import"./XUAIYIQ2.js";import"./2AR77FHR.js";import"./LXW2GAAY.js";import"./TZHAIY5U.js";import"./CNV5CX2O.js";import"./CQKWXPD2.js";import"./52TMIUZW.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import"./7DVUJMYC.js";import"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./M63VDRSQ.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import"./Z4GZ7VCW.js";import{k as w,l as T,o as v,p as u,q as x}from"./J6NONFBS.js";import{a as f}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as S}from"./OKH2UKNB.js";import{E as C,h as m,i as l,j as y,o as c}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,{c:L},g,F])=>{var V=m`/** @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
|
-
*/calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,O=5,_=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=f({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${x}`,this._allCards=[],this._authContextConsumer=h({context:I,subscribe:!0}),this._baseAgoTerms=u,this._categories=[],this._configContextConsumer=h({context:A,subscribe:!0,callback:async e=>{e&&await this._loadUpdateProcedures()}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this._userSessionContextConsumer=h({context:b,subscribe:!0}),this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.detailsCardSelected=c(),this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=O,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=O,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"solutionIDFromAssistant",e=>{this._lookupSolutionById(e.detail)})}static{this.properties={sortType:1,_cards:16,_isLoading:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=V}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"all-solutions"})),"sortType"in e&&this._sortCards(e))}render(){return l`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this._isLoading?l`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:this._cards.length?this._cards.map(e=>l`<solution-details-card .card=${e}></solution-details-card>`):l`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){if(this._configContextConsumer.value){this._isLoading=!0;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},this._configContextConsumer.value?.primarySolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,n)=>a.categories.includes(s)&&!n.categories.includes(s)?-1:!a.categories.includes(s)&&n.categories.includes(s)?1:a.categories.includes(s)&&n.categories.includes(s)?a.categories.length-n.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of t){let r=s.get(i.deployCommonId),d=Number(i.deployVersion);(!r||d>r)&&s.set(i.deployCommonId,d)}let a=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),n=new Set(a.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!n.has(i))),t.sort((i,r)=>{let d=this._relatedSolutions.has(i.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return d&&!p?-1:!d&&p?1:0})}let o=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,n=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;return this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":n?"updated":i&&r?"deployed":"none",s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=L(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),this._isLoading=!1,o}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){this._isLoading=!0;let e=this._configContextConsumer.value;this._cardsFetcher=new g(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new g(e.locale,e.orgUrl,e.portalUrl),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t&&e.IsSignedIn){let o=await F(e,t,this._cardsFetcher,this._cardsFetcherDeployed,v,"created");if(o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getSolutionsBriefcase(){return l`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${y`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let o=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(e){return T[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}_lookupSolutionById(e){let t=this._cards.filter(o=>o.typeKeywords.includes(e));t.length>0&&this.detailsCardSelected.emit(t[0])}};S("solutions-all-panel",_);return _},a,d,e,g)
|
package/dist/cdn/QEKRYT2T.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{b as m}from"./ZKADU2PQ.js";import{c as S}from"./ICFQB2ET.js";import{b as u}from"./J7NOQ4JL.js";import{m as c}from"./J6NONFBS.js";import{a as g}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as d}from"./OKH2UKNB.js";import{E as p,I as a,h,i as o,o as n}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var y=h`/** @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
|
-
*/.toolbar-sizing{padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-focus: transparent}calcite-dropdown{--calcite-color-focus: transparent}`,l=class extends p{constructor(){super(),this.defaultSortType="relevance",this.isOrgSolutions=!1,this.isMobile=!1,this._activeSearchSortSettings=[{scope:"all-solutions",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"relevance"}},{scope:"deployments",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"created"}}],this._isOrgAdmin=!1,this._translations=g({name:"solutions-searchsort-toolbar",blocking:!0}),this._authContextConsumer=u({context:S,subscribe:!0}),this.searchChanged=n(),this.sortTypeChanged=n(),this.listenOn(window,"deployAppTabSelected",e=>{let t=e.detail;this.scope=t}),this.listenOn(window,"detailsCardSelected",()=>{this.scope=void 0}),this.listenOn(window,"searchTermSet",e=>{let t=e.detail;this.scope=t.scope,this.changeSearchFilter(t.searchTerm,!1)})}static{this.properties={defaultSortType:[0,{type:String,attribute:"default-sort-type"}],isOrgSolutions:5,isMobile:5,scope:1,_activeSearchSortSettings:16,_isOrgAdmin:16,_translations:16}}static{this.styles=y}changeOwnerFilter(e){this.isOrgSolutions=!e,this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,isOrgSolutions:this.isOrgSolutions}}:s);let t={displayValue:this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions,type:"owner",value:this.isOrgSolutions?c.ORGANIZATION:c.OWNER};this.searchChanged.emit({option:t,scope:this.scope})}changeSearchFilter(e,t){let s=this._activeSearchSortSettings.map(r=>r.scope===this.scope?{...r,settings:{...r.settings,searchTerm:e}}:r),i=JSON.stringify(this._activeSearchSortSettings)!==JSON.stringify(s);this._activeSearchSortSettings=s,t&&i&&this.searchChanged.emit({option:{searchTerm:e},scope:this.scope})}sortChanged(e){this._activeSearchSortSettings=this._activeSearchSortSettings.map(t=>t.scope===this.scope?{...t,settings:{...t.settings,sortType:e}}:t),this.sortTypeChanged.emit({sortType:e,scope:this.scope})}willUpdate(){this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn!==this._isOrgAdmin&&(this._isOrgAdmin=m(this._authContextConsumer.value))}render(){let e=this.scope==="all-solutions"||this.scope==="deployments",t=e?this._getCurrentScopeSetting():void 0;return e?o`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @keyup=${s=>{let i=s.target;s.key==="Enter"?this.changeSearchFilter(i.value,!0):this.changeSearchFilter(i.value,i.value.length>=3||i.value.length===0)}} @blur=${s=>{let i=s.target;this.changeSearchFilter(i.value,!0)}} .placeholder=${this._translations.search.solutions} scale=l slot=content-top .value=${t?.searchTerm}></calcite-input-text>${this.scope==="deployments"&&this._isOrgAdmin&&this._renderOwnerBlock()||""}${this._renderDropdown()}</div>`:""}_renderOwnerBlock(){return o`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=transparent class="header-button-padding" .iconStart=${this.isOrgSolutions?"organization":"user"} kind=neutral slot=trigger>${this.isMobile?"":this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.owner??a}><calcite-dropdown-item icon-start=user @click=${()=>{this.changeOwnerFilter(!0)}} .selected=${!this.isOrgSolutions}>${this._translations.mySolutions}</calcite-dropdown-item><calcite-dropdown-item icon-start=organization @click=${()=>{this.changeOwnerFilter(!1)}} .selected=${this.isOrgSolutions}>${this._translations.myOrgSolutions}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}_renderDropdown(){let e=[];e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"}],this.scope==="deployments"?e.push({displayValue:this._translations.sortByDateDeployed,sortType:"created"}):(e.push({displayValue:this._translations.sortByNew,sortType:"new"}),e.push({displayValue:this._translations.sortByUpdated,sortType:"updated"}),this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn&&e.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}));let t=this._getCurrentScopeSetting();return o`<calcite-dropdown width=m><calcite-button appearance=transparent class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(t.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??a}>${e.map(s=>this._getDropdownItem(s.displayValue,s.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this._getCurrentScopeSetting().sortType!==t?o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)}>${e}</calcite-dropdown-item>`:o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break;case"created":t=this._translations.sortByDateDeployed;break}return t}_getCurrentScopeSetting(){return this._activeSearchSortSettings.filter(e=>e.scope===this.scope)[0].settings}};d("solutions-searchsort-toolbar",l);export{l as SolutionsSearchSortToolbar};
|
package/dist/cdn/RY5ANV6A.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as b}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as f}from"./OKH2UKNB.js";import{D as d,E as m,G as v,I as l,h as p,i as a,o as g}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var x=p`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 70vh;--calcite-dialog-max-size-y: 90vh}.chat-messages{display:flex;flex-direction:column;gap:12px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.chip-content-div{padding-top:10px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}`,_="https://www.arcgis.com/sharing/rest/content/items/";async function y(r){return await w(r)}async function w(r){let e=_+r+"?f=json";try{let t=await fetch(e,{method:"GET"});if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);return await t.json()}catch(t){return{error:t.message}}}var u=class extends m{constructor(){super(),this.serverRoot="https://aiservices-beta.arcgis.com/",this.solutionAIurl=`${this.serverRoot}skills/solution_deployment/chat`,this.docAIurl=`${this.serverRoot}skills/doc_ai_assistant/chat`,this.token=null,this.open=!1,this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._translations=b({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=g(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",t=>{t.key==="Enter"&&!t.shiftKey&&(t.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_translations:16}}static{this.styles=x}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let t={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(t.conversationId=this.conversationStore.conversationId,this.token){let i={author:"human",inquiryId:this.conversationStore.inquiryId?this.conversationStore.inquiryId:"",message:e,render:this._renderSimpleTextMessage(e,"human")};this.messages=[...this.messages,i];let s=await this.requestAIServer(t,this.token,this.solutionAIurl);this.loopRequest(s,this.token,this.solutionAIurl)}}else if(this.token){let i={author:"human",inquiryId:"",message:e,render:this._renderSimpleTextMessage(e,"human")};this.messages=[...this.messages,i];let s=await this.requestAIServer(t,this.token,this.solutionAIurl);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token,this.solutionAIurl)}}async loopRequest(e,t,i){let s=e;for(this._isLoading=!0;s.hasMore;){let n={conversationId:s.conversationId,ackSequenceNumber:s.sequenceNumber,inquiryId:s.inquiryId};if(s=await this.requestAIServer(n,t,i),s.context){if(this.conversationStore.context=s.context,s.context.intent)switch(s.context.intent){case"Solution question":this.messages.push({message:s.message??"",author:"ai",inquiryId:s.inquiryId});let o={message:s.message,conversationId:n.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};s=await this.requestAIServer(o,t,this.docAIurl);break;case"Recommend solution":if(s.context.results&&s.context.results?.length>0){let c={message:s.message??"",author:"ai",inquiryId:s.inquiryId,render:this._renderSuggestedSolutions(s.message??"",s.context.results)};this.messages.push(c)}break;default:this.messages.push({author:"ai",inquiryId:s.inquiryId,message:s.message??"",render:this._renderSimpleTextMessage(s.message??"","ai")});break}else if(s.context.results)for(let o of s.context.results)o.reply!==""&&(this._isLoadingText="",this.messages.push({message:o.reply,author:"ai",inquiryId:s.inquiryId,render:this._renderDocAssistantResults(o.reply,o.ref,o.followupQuestions)}))}}this._isLoading=!1}async requestAIServer(e,t,i){try{let s=await(await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",token:t},body:JSON.stringify(e)})).json();if(s)return s;throw new Error("No data returned")}catch(s){throw new Error(`Request failed: ${s}`)}}resetChat(){this._resetConversation();let e={author:"system",inquiryId:"",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system")};this.messages=[...this.messages,e],this._inputRef&&(this._inputRef.value="")}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",inquiryId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderSimpleTextMessage(e,t){return t==="system"?a`<div class="message-content">${e}</div>`:a`<calcite-card class=${v(t==="human"?"user-message":"system-message")}><div class="message-content">${e}</div></calcite-card>`}_renderDocAssistantResults(e,t,i){return a`<calcite-card class="system-message"><div class="message-content">${this.renderSolutionsQuestionTable(e,t,i,this._translations)}</div></calcite-card>`}_renderSuggestedSolutions(e,t){return a`<calcite-card class="system-message"><div class="message-content">${this.renderExistingSolutionsTable(e,t,this._translations)}</div></calcite-card>`}render(){return a`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}>${this.messages.length>1?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>`:""}<div class="chat-messages" ${d(this._setMessageContainerRef)}>${this.messages.map(e=>e.render)}${this._isLoading&&a`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText!=""&&a`<div class="padding-left-10">${this._isLoadingText}</div>`||""}</div></calcite-card>`||""}</div><div class="chat-input" slot=footer><calcite-text-area resize=none rows=2 .placeholder=${this._translations.sendMessage} value ${d(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><calcite-notice open icon=information width=full scale=s slot=alerts class="notice-border-color"><div slot=message>${this._translations.disclaimerMessage}</div></calcite-notice></calcite-dialog>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}renderSolutionQuestionReferences(e){return e.map(t=>a`<div class="message-content-pad"><a href=${t.url??l} target=_blank>${t.title}</a></div>`)}renderSolutionQuestionFollowup(e){return e.map(t=>a`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${t} @click=${()=>{this._submitFollowupQuestion(t)}}>${t}</calcite-chip>`)}renderSolutionsQuestionTable(e,t,i,s){let n=this.renderSolutionQuestionReferences(t),o=this.renderSolutionQuestionFollowup(i);return a`<div><div slot=description class="message-content">${this._markdownToHTML(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${c=>{let h=c.currentTarget.parentElement?.nextElementSibling;h.classList.toggle("collapsed"),c.currentTarget.setAttribute("icon-end",h.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${t.length} ${t.length===1?s.solutionsDocReference:s.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${n}</div></div><div class="chip-content-div">${o}</div></div>`}renderSolutionCard(e,t,i){return a`<a class="solution-card" id=${t??l} @click=${()=>{this._emitItemIdFromAI(t)}}>${a`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??l} alt=Thumbnail><calcite-chip icon=launch label="View solution">${i.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`}renderExistingSolutionsTable(e,t,i){let s=t.map(n=>{let o=n.thumbnail.match(/\/items\/([a-f0-9]+)\//);return o?this.renderSolutionCard(n,o[1],i):null}).filter(n=>n!==null);return a`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${s}</div></div>`}_markdownToHTML(e){return e=e.replace(/###### (.*)/gu,"<h6>$1</h6>"),e=e.replace(/##### (.*)/gu,"<h5>$1</h5>"),e=e.replace(/#### (.*)/gu,"<h4>$1</h4>"),e=e.replace(/### (.*)/gu,"<h3>$1</h3>"),e=e.replace(/## (.*)/gu,"<h2>$1</h2>"),e=e.replace(/# (.*)/gu,"<h1>$1</h1>"),e=e.replace(/\*\*(.*?)\*\*/gu,"<strong>$1</strong>"),e=e.replace(/\*(.*?)\*/gu,"<em>$1</em>"),e=e.replace(/^\s*\*\s+(.*)/gmu,"<li>$1</li>"),e=e.replace(/(<li>.*<\/li>)/gu,"<ul>$1</ul>"),e=e.replace(/\[\[(\d+)\]\]\((.*?)\)/gu,'<a href="$2" target="_blank" rel="noopener noreferrer">[$1]</a>'),e=e.replace(/\n\n+/gu,"</p><p>"),e=e.replace(/^(?!<h|<ul|<li|<p>)(.*)$/gmu,"<p>$1</p>"),e}_emitItemIdFromAI(e){this._querySolutions(e).then(t=>{let i=t.typeKeywords.filter(n=>n.includes("solutionid")),s=new CustomEvent("solutionIDFromAssistant",{detail:i.length>0?i[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(s)})}_submitFollowupQuestion(e){let t=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(t)}async _querySolutions(e){let t=await y(e);if("error"in t)throw new Error(t.error);return t}};f("arcgis-solutions-assistant",u);export{u as ArcgisSolutionsAssistant};
|
package/dist/cdn/SLU6KLLC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as O}from"./2AR77FHR.js";import{e as _}from"./52TMIUZW.js";import{a as l,f as p}from"./4ATL3D6V.js";import"./ISEVSKNV.js";import"./GENBEWQD.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./5FXBCVIZ.js"),m={"hub:card:stat":()=>import("./7WUQL7OH.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./TKKIU5DK.js"),m={"hub:card:follow":()=>import("./F56KK6GE.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./AYPV6SOA.js"),m=import("./3VAHLUQ4.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./XPNCU35H.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./IBB7QBCT.js"),"hub:site:create":()=>import("./XNQ6DBW6.js"),"hub:site:followers":()=>import("./CO3K5ZRL.js"),"hub:site:discussions":()=>import("./6HD5QOMC.js"),"hub:site:settings":()=>import("./JCGX73CW.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./YBRSEZ67.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./SF3MI2B2.js"),"hub:discussion:create":()=>import("./TLY64OYB.js"),"hub:discussion:settings":()=>import("./3CBSLNB4.js"),"hub:discussion:settings:discussions":()=>import("./UJFJN4KW.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./5X4CMXBT.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./Q46P3XZX.js"),"hub:channel:create":()=>import("./FQY7OKCX.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./VGMWPYEH.js");r=l(n);let v=await{"hub:project:edit":()=>import("./ASXFRSKX.js"),"hub:project:create":()=>import("./EGJPBCZR.js"),"hub:project:create2":()=>import("./GEOJT5HE.js"),"hub:project:metrics":()=>import("./3ZD35GYW.js"),"hub:project:settings":()=>import("./L7LPWUMH.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./4ENQBAQD.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./BHKNTKZ7.js"),"hub:initiative:create":()=>import("./JRZKK7MA.js"),"hub:initiative:create2":()=>import("./EGXYKGYI.js"),"hub:initiative:metrics":()=>import("./IV3H2HEK.js"),"hub:initiative:associations":()=>import("./JD6EFQ6S.js"),"hub:initiative:settings":()=>import("./E5QWGIJK.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./4RPHWQJR.js");r=l(I);let D=await{"hub:page:edit":()=>import("./ERNEEJXE.js"),"hub:page:create":()=>import("./46R75UZS.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./VID2UZG4.js");r=l(K);let U=await{"hub:content:edit":()=>import("./ZP3Z6SIG.js"),"hub:content:discussions":()=>import("./LOHXXUG6.js"),"hub:content:settings":()=>import("./62BBD2YR.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./WUUFD7I3.js");r=l(y);let k=await{"hub:template:edit":()=>import("./M56EPKQ7.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./DHEB777B.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./6ICMW2XL.js"),"hub:group:create:association":()=>import("./O2EZB4WB.js"),"hub:group:create:view":()=>import("./EJAMRCQS.js"),"hub:group:create:edit":()=>import("./AZUSEICT.js"),"hub:group:create":()=>import("./XBZDU3YA.js"),"hub:group:edit":()=>import("./4362MOZ7.js"),"hub:group:settings":()=>import("./GGC45SFJ.js"),"hub:group:discussions":()=>import("./N2M3Q7OL.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./WG4X43JN.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./533OGL7O.js"),"hub:survey:settings":()=>import("./4MCZLOOB.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./VGXU7I7U.js"),"hub:event:edit":()=>import("./TZJ2HEJQ.js"),"hub:event:registrants":()=>import("./EC2IHLSY.js")}[a](),H=await{"hub:event:create":()=>import("./QLVC7ZPZ.js"),"hub:event:edit":()=>import("./LVDQBRPQ.js"),"hub:event:registrants":()=>import("./RAV53JFJ.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./B7WUGBLY.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./OM4UKQNZ.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./D33N2HTW.js");r=l(N);let P=await{"hub:user:settings":()=>import("./7K3Y26XM.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
package/dist/cdn/SLXWBGDY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a as t}from"./PZEXCL57.js";import{s as e}from"./NL2ZCSNM.js";var o=e(t,{"instant-apps-app-error":[()=>import("./VBNUDSSG.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./EJSHS63C.js"),"data:,header"],"instant-apps-buffer":[()=>import("./5IFJ723U.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-control-panel":[()=>import("./XQJGWD7F.js"),"components:,view:"],"instant-apps-create":[()=>import("./5QB7S4ZH.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./BOSS7OMS.js"),"allowedFileTypes:,beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,mapAltText,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./K5AAAN6G.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./IJVQHYFH.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./OCYZRDAE.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./U3X4JOWT.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./DSWPPG73.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./2K763HQO.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./CKKF4HOA.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./SSXAOZJ5.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./OPU7UG63.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./WGQUTVDW.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./NSUKDWLQ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./M224VK7H.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./YM6SKW7B.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./XK3SNODM.js"),"view:"],"instant-apps-landing-page":[()=>import("./O7Q6YMZH.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./5OKDP5DK.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./ABV7A3TM.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./AKL67LTE.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-content":[()=>import("./2Z5HA7D5.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorContent:e})))],"instant-apps-language-translator-item":[()=>import("./UCQ5Y3GX.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./K5WH7A5V.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./X4JROJKB.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./K2I34C5P.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./GXHFJX3X.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./NSESHKON.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./NLLWLHBU.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./RDOMCTUL.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./OFZUHTRM.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./PERMCVQL.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./MFAP3QSG.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
|
package/dist/cdn/VGMWPYEH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a,b}from"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/VGXU7I7U.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.13 */
|
|
4
|
-
import{a,b}from"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./SB2EYKVI.js";import"./GENBEWQD.js";export{a as EventEditorTypes,b as buildSchema};
|