@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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as n}from"./BK7VE3UH.js";import{a as m}from"./NQWAECHR.js";import"./5JODT3O3.js";import"./WVPA4RIC.js";import"./SSCSISSJ.js";import"./UK3DTFAX.js";import"./QVPAC4JU.js";import{a as s}from"./LUAMSNKZ.js";import{a as i}from"./PUDP2PNI.js";import"./HD274UTP.js";import"./XQJCGYXO.js";import{a as o}from"./5EAGIGD7.js";import"./XIU6KDAI.js";import"./G6VABLAG.js";import"./32UM7SZK.js";import{b as r}from"./HECNXLJ5.js";import"./WR5CZS6Z.js";import"./URVMNZHN.js";import"./W2UXZ3VQ.js";import"./2Z3T6T5H.js";import"./AVWH7V2G.js";import"./KQRHQKTT.js";import"./VPI6KWYG.js";import"./NWZXSIOF.js";import"./YLSH4YUB.js";import"./F2TCHWET.js";import"./U2IDJDV3.js";import"./LAGBD4ZG.js";import"./TBOJZDNR.js";import"./TK65KBA3.js";import"./DAFCUVTS.js";import"./GIZDZBX3.js";import"./4GRPOGJP.js";import"./J32P3IUF.js";import"./3Z34HOVN.js";import"./AXRO5Y2Q.js";import"./VR5TPQG5.js";import"./XL3MO46G.js";import"./YHY4R3U6.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./CX3A6KA3.js";import a from"./TZBJLNXJ.js";import{a as _}from"./2XAZ3RTK.js";import{b as y}from"./PZEXCL57.js";import"./UAD3Z7G6.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./NL2ZCSNM.js";import"./GENBEWQD.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import b from"./KJYAWRR4.js";import a from"./47LQUUSU.js";import{a as _}from"./JMPK7FSJ.js";import{b as y}from"./LYUK5J5Q.js";import"./BE4OEXWO.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as i}from"./G6VABLAG.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as n}from"./NBWRB4UV.js";import{a as s}from"./NQWAECHR.js";import"./5JODT3O3.js";import"./WVPA4RIC.js";import"./SSCSISSJ.js";import"./UK3DTFAX.js";import{a as r,b as a}from"./GY3S4QPM.js";import"./J66N75YM.js";import"./7WA3VJRZ.js";import"./QVPAC4JU.js";import{a as o}from"./LUAMSNKZ.js";import{a as i}from"./PUDP2PNI.js";import"./HD274UTP.js";import"./XQJCGYXO.js";import"./XIU6KDAI.js";import"./G6VABLAG.js";import"./32UM7SZK.js";import"./HECNXLJ5.js";import"./WR5CZS6Z.js";import"./URVMNZHN.js";import"./W2UXZ3VQ.js";import"./2Z3T6T5H.js";import"./AVWH7V2G.js";import"./KQRHQKTT.js";import"./VPI6KWYG.js";import"./NWZXSIOF.js";import"./YLSH4YUB.js";import"./F2TCHWET.js";import"./U2IDJDV3.js";import"./LAGBD4ZG.js";import"./TBOJZDNR.js";import"./TK65KBA3.js";import"./DAFCUVTS.js";import"./GIZDZBX3.js";import"./4GRPOGJP.js";import"./J32P3IUF.js";import"./3Z34HOVN.js";import"./AXRO5Y2Q.js";import"./VR5TPQG5.js";import"./XL3MO46G.js";import"./YHY4R3U6.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as y}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{b as y}from"./K7LR3C67.js";import{a as f}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b}from"./KJC4PHVN.js";import{C as a,D as h,E as u,G as l,h as w,i as r,l as m}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var x=w`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import"./YHY4R3U6.js";var e="Du har ikke credits nok til at udf\xF8re denne handling. Kontakt din ArcGIS-systemadministrator for at f\xE5 hj\xE6lp.",r="Dette v\xE6rkt\xF8j blev publiceret fra en notesbog. Adgang til ArcGIS Notebooks er blokeret for din organisation. Kontakt din administrator for at justere indstillingen.",a="${ dataPath } m\xE5 ikke have ${ additionalProperty }.",t="${ dataPath } skal matche skemaet fra en af disse: ${ schemaOptions }.",i="Pr\xF8v at gemme kortet igen.",n="Credit-beregning mislykkedes. Rul ned, ret fejlene, og beregn credits igen.",l="Der opstod en fejl under k\xF8rsel af analyse.",s="${ dataPath } skal v\xE6re lig med en af disse tilladte v\xE6rdier: ${ allowedValues }.",o="Kunne ikke gemme analysehistorik",d="Historiklager er fuldt. Fjern nogle elementer fra analysehistorikken, og pr\xF8v at gemme igen.",g="Tjenestenavnet indeholder et eller flere ugyldige tegn.",k="Lagringen af det midlertidige lag som et hostet objektlag blev ikke fuldf\xF8rt.",m="Kunne ikke f\xE5 n\xF8gleegenskaberne.",u="Kunne ikke indl\xE6se laget.",f="Lag er ikke tilg\xE6ngeligt.",c="${ dataPath } m\xE5 ikke have flere end ${ limit } elementer.",v="Der opstod en fejl under lagring af modellen. Pr\xF8v at lagre igen.",h="${ dataPath } m\xE5 ikke have f\xE6rre end ${ limit } elementer.",y="${ dataPath } skal ikke v\xE6re kortere end ${ limit } tegn.",p="Kunne ikke indl\xE6se model-elementet: S\xF8rg for, at modellen findes, og at der er blevet givet adgangstilladelse.",E="Kunne ikke fuldf\xF8re anmodning.",P="Du har ikke tilladelse til at k\xF8re dette v\xE6rkt\xF8j. <calcite-link target='_blank' href='${ docLink }'>F\xE5 flere oplysninger</calcite-link>",b="Kunne ikke logge p\xE5 portal.",S="Kunne ikke l\xE6se inputdata.",F="${ dataPath } mangler en egenskab med navnet ${ missingProperty }.",$="Der findes allerede et resultatlag med dette navn. Resultatlag skal v\xE6re entydige i hele organisationen. Brug et andet navn.",I="Outputnavnet indeholder et eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>F\xE5 mere at vide.</a>",j="Udgivelse af det midlertidige lag som et hostet lag mislykkedes p\xE5 grund af et eller flere ugyldige felter. K\xF8r v\xE6rkt\xF8jet igen for at oprette et lag med gyldige felter.",L="Jobafsendelse mislykkedes. Rul ned, ret fejlene, og k\xF8r analysen igen.",T="${ dataPath } skal have mindst et tegn, der ikke er et mellemrumstegn.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:i,creditEstimationError:n,defaultError:l,enumValues:s,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:g,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:v,minItems:h,minLength:y,modelNotFound:p,networkError:E,noPermissionToAccessTool:P,portalLoadError:b,queryFeaturesError:S,requiredProperty:F,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:j,toolValidationError:L,whiteSpacePattern:T};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,i as cannotWriteToItemResource,n as creditEstimationError,K as default,l as defaultError,s as enumValues,o as failedToSaveHistory,d as fullSessionStorage,g as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,v as mbFailedToSave,h as minItems,y as minLength,p as modelNotFound,E as networkError,P as noPermissionToAccessTool,b as portalLoadError,S as queryFeaturesError,F as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,j as temporaryLayerFieldsError,L as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e,b as t}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as e,b as t}from"./AVWH7V2G.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as v}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as v}from"./RTNFT7R7.js";import{b as I}from"./KYJTZ7GN.js";import{a as w,b as f,d as y}from"./T5N4USHO.js";import"./HIEPRI6M.js";import"./5NZGINBU.js";import{a as L}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as u}from"./KJC4PHVN.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var $=b`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
4
|
var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import b from"./USJVL6GN.js";import a from"./HA6QXFEE.js";import"./HLVEN4KS.js";import"./UWKPNCNO.js";import"./TVEY6INM.js";import"./6TPJXOGA.js";import"./N45LPVOM.js";import"./TFNUF2ZS.js";import"./EVPTRQ6A.js";import"./YKJ6JXET.js";import"./5JODT3O3.js";import"./WVPA4RIC.js";import"./SSCSISSJ.js";import"./UK3DTFAX.js";import"./7WA3VJRZ.js";import"./QVPAC4JU.js";import"./HD274UTP.js";import"./XQJCGYXO.js";import"./XIU6KDAI.js";import"./G6VABLAG.js";import"./32UM7SZK.js";import"./NWZXSIOF.js";import"./HIEPRI6M.js";import{a as h}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as d}from"./KJC4PHVN.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";export default $arcgis.t(([,{e:p}])=>{var g=c`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -15,4 +15,4 @@ import b from"./IFOH36K3.js";import a from"./6BSZB4T2.js";import"./G2DGDDPX.js";
|
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
|
-
*/calcite-card{width:240px;height:100%;padding-bottom:2px}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.chip-status{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`,s=class extends l{constructor(){super(...arguments),this._translations=h({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=g}render(){let e=p(this.card.title);return t`<a href=${e??i} @click=${this._anchorClick} .title=${`${this.card.title} - ${this._translations.arcgisSolutions}`}>${this._renderCard()}</a>`}_anchorClick(e){e.preventDefault()}_cardSelected(){
|
|
18
|
+
*/calcite-card{width:240px;height:100%;padding-bottom:2px}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.chip-status{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`,s=class extends l{constructor(){super(...arguments),this._translations=h({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=g}render(){let e=p(this.card.title);return t`<a href=${e??i} @click=${this._anchorClick} .title=${`${this.card.title} - ${this._translations.arcgisSolutions}`}>${this._renderCard()}</a>`}_anchorClick(e){e.preventDefault()}_cardSelected(){this.detailsCardSelected.emit(this.card)}_renderCard(){let e=this.card,m=e.chip==="new"||e.chip==="updated"?"chip-status":this.card.chip==="deployed"?"chip-deployed":"",o="solution-details-card-chip",a=e.chip==="new"?this._translations.newSolution:e.chip==="updated"?this._translations.updated:this._translations.deployed;return t`<calcite-card .label=${e.snippet} @click=${this._cardSelected}><div class="card-image-wrap" slot=thumbnail><img alt=${e.title??i} class="thumbnail card-image" src=${e.thumbnailUrl??i}><div class="hover-text">${this._translations.viewDetails}</div></div><calcite-label slot=heading class="header-line-height" scale=l>${e.title}</calcite-label><p slot=description class="font-color-text-2 font-line-height font-size-size--1">${e.snippet}</p>${e.chip!=="none"?t`<div slot=footer-end><calcite-chip class=${n(m)} .icon=${e.chip==="updated"||e.chip==="new"?"mega-phone":"check-circle"} id=${o} .label=${a} .value=${a} scale=s></calcite-chip><calcite-tooltip .referenceElement=${o}><span>${a}</span></calcite-tooltip></div>`:void 0}<div slot=footer-start></div></calcite-card>`}};d("solution-details-card",s);return s},a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import"./YHY4R3U6.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import"./YHY4R3U6.js";var e="Za izvajanje tega postopka nimate dovolj kreditov. Za pomo\u010D se obrnite na va\u0161ega sistemskega administratorja ArcGIS.",a="To orodje je bilo objavljeno iz bele\u017Eke. Dostop do ArcGIS Notebooks je blokiran za va\u0161o organizacijo. Za prilagoditev nastavitve se obrnite na administratorja.",o="${ dataPath } ne sme imeti ${ additionalProperty }.",i="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",r="Poskusite ponovno shraniti karto.",t="Ocena kreditov ni uspela. Pomaknite se navzdol, popravite napake in znova ocenite kredite.",n="Med izvajanjem analize je pri\u0161lo do napake.",s="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",l="Zgodovine analiz ni bilo mogo\u010De shraniti",d="Shramba zgodovine je polna. Odstranite nekaj elementov iz shrambe zgodovine in znova poskusite s shranjevanjem.",v="Ime storitve vsebuje enega ali ve\u010D neveljavnih znakov.",m="Shranjevanje za\u010Dasnega sloja kot gostujo\u010Dega zna\u010Dilnega sloja ni dokon\u010Dano.",j="Pridobivanje klju\u010Dnih lastnosti ni uspelo.",p="Nalaganje sloja ni uspelo",u="Sloj ni na voljo.",k="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",c="Pri shranjevanju smodela je pri\u0161lo do napake. Poskusite ponovno shraniti.",h="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",z="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",b="Elementa modela ni bilo mogo\u010De nalo\u017Eiti. Prepri\u010Dajte se, da model obstaja in da je dovoljenje za dostop bilo odobreno.",g="Zahteve ni bilo mogo\u010De dokon\u010Dati.",P="Nimate dovoljenja za zagon tega orodja. <calcite-link target='_blank' href='${ docLink }'>Ve\u010D</calcite-link>",E="Prijava v portal ni mo\u017Ena.",S="Branje vhodnih podatkov ni uspelo.",y="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",$="Sloj z rezultati s tem imenom \u017Ee obstaja. Sloji z rezultati morajo biti po vsej organizaciji poimenovani enoli\u010Dno. Uporabite druga\u010Dno ime.",I="Izhodno ime vsebuje enega ali ve\u010D neveljavnih znakov. <a href='${docLink}' target='_blank'>Ve\u010D o tem.</a>",f="Objava za\u010Dasnega sloja kot gostujo\u010Dega sloja ni bila uspe\u0161na zaradi enega ali ve\u010D neveljavnih polj. Ponovno za\u017Eenite orodje, da ustvarite sloj z veljavnimi polji.",F="Oddaja opravila ni uspela. Pomaknite se navzdol, popravite napake in znova za\u017Eenite analizo.",T="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",N={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:j,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:b,networkError:g,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,N as default,n as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,j as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,b as modelNotFound,g as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as p}from"./NH4CFBFD.js";import{a as m}from"./MPYJWTZZ.js";import{a as c}from"./L33Y3EXU.js";import{b as g}from"./LYUK5J5Q.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({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.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import b from"./KJYAWRR4.js";import a from"./47LQUUSU.js";import{a as $}from"./JMPK7FSJ.js";import{a as L}from"./YWPBUNRL.js";import{b as I}from"./LYUK5J5Q.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{E as d,G as h,i as n,r as u}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";export default $arcgis.t(([,{e:i,f:f,h:C,j:k,m:c}])=>{var y="instant-apps-language-translator",O={lastItem:`${y}--last-item`},g=class extends d{constructor(){super(...arguments),this._messages=L({name:"instant-apps-language-translator",blocking:!0})}static{this.shadowRootOptions=u}render(){return k(this.el?.parentElement?.locales)?.length>0?this.renderUIData():this.renderNotice()}renderUIData(){if(!i?.uiData)return;let a=C();return n`<div>${a?.map((e,s)=>this.renderUIDataItem(e,s,a.length))}</div>`}renderUIDataItem(a,e,s){let r=this.el.parentElement,m=r.appSettings,b=m?.translatedLanguageLabels?.[i.currentLanguage],v=e===s-1?O.lastItem:"",D=m.content.find(t=>t.id===a);return $(`${a}-${e}`,n`<instant-apps-language-translator-item class=${h(v)} .fieldName=${a} .translatedLanguageLabels=${b} .setting=${D} .userLocaleInputOnChangeCallback=${async(t,l)=>{try{await r.userLocaleInputOnChangeCallback(t,l);let o=f.get("portalItemResource");c(o)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(t,l,o,p)=>{try{await r.translatedLocaleInputOnChangeCallback(t,l,o,p),c(p)}catch{}}}></instant-apps-language-translator-item>`)}renderNotice(){let a=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${a?.title}</div><div slot=message>${a?.message}</div></calcite-notice>`}};I("instant-apps-language-translator-content",g);return g},a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as n}from"./J66N75YM.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as b}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as b}from"./RTNFT7R7.js";import{b as k}from"./KYJTZ7GN.js";import{g as a}from"./HIEPRI6M.js";import{b as _}from"./K7LR3C67.js";import{a as w}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as y}from"./KJC4PHVN.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var u=n`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as s}from"./NQWAECHR.js";import"./5JODT3O3.js";import"./WVPA4RIC.js";import"./SSCSISSJ.js";import"./UK3DTFAX.js";import{a as i,b as a}from"./GY3S4QPM.js";import"./J66N75YM.js";import"./7WA3VJRZ.js";import"./QVPAC4JU.js";import{a as o}from"./LUAMSNKZ.js";import{a as r}from"./PUDP2PNI.js";import"./HD274UTP.js";import"./XQJCGYXO.js";import"./XIU6KDAI.js";import"./G6VABLAG.js";import"./32UM7SZK.js";import"./HECNXLJ5.js";import"./WR5CZS6Z.js";import"./URVMNZHN.js";import"./W2UXZ3VQ.js";import"./2Z3T6T5H.js";import"./AVWH7V2G.js";import"./KQRHQKTT.js";import"./VPI6KWYG.js";import"./NWZXSIOF.js";import"./YLSH4YUB.js";import"./F2TCHWET.js";import"./U2IDJDV3.js";import"./LAGBD4ZG.js";import"./TBOJZDNR.js";import"./TK65KBA3.js";import"./DAFCUVTS.js";import"./GIZDZBX3.js";import"./4GRPOGJP.js";import"./J32P3IUF.js";import"./3Z34HOVN.js";import"./AXRO5Y2Q.js";import"./VR5TPQG5.js";import"./XL3MO46G.js";import"./YHY4R3U6.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as t}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{c as t}from"./AXRO5Y2Q.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./VR5TPQG5.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as q}from"./QVON44ZD.js";import{a as w}from"./2XAZ3RTK.js";import{a as M}from"./RAJJT4B3.js";import{C as T,b as v,c as F,z as P}from"./TWNSH3OD.js";import{b as S}from"./PZEXCL57.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as q}from"./NH4CFBFD.js";import{a as w}from"./JMPK7FSJ.js";import{a as M}from"./YWPBUNRL.js";import{C as T,b as v,c as F,z as P}from"./HSM2426M.js";import{b as S}from"./LYUK5J5Q.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import"./YHY4R3U6.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as E}from"./
|
|
3
|
+
v1.2.0-next.15 */
|
|
4
|
+
import{a as E}from"./BE4OEXWO.js";import{m,n as h,q as v}from"./OPK4XF2Q.js";export default $arcgis.t(([{on:W,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},U=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},V=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return V},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
|