@esri/solutions-components 1.2.0-next.15 → 1.2.0-next.16
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/{GYCQ3AJ4.js → 24WM5BYO.js} +2 -2
- package/dist/cdn/{RTFAFC47.js → 2CJ5PXL4.js} +2 -2
- package/dist/cdn/{TGRQ3LJY.js → 2CNPC7JI.js} +2 -2
- package/dist/cdn/{HVNRLHU5.js → 2HITWCFR.js} +2 -2
- package/dist/cdn/{F2TCHWET.js → 2J76IXAQ.js} +2 -2
- package/dist/cdn/{OCG3XDCT.js → 2KQOSCAG.js} +2 -2
- package/dist/cdn/{LMO3OIUV.js → 2WNSA4HV.js} +2 -2
- package/dist/cdn/{AVWH7V2G.js → 33SUDNLJ.js} +1 -1
- package/dist/cdn/{IARZLOE2.js → 33UX3ORX.js} +2 -2
- package/dist/cdn/{ZYG6OTLK.js → 34W4ROJB.js} +2 -2
- package/dist/cdn/{RFGEXOGL.js → 3K6T5N6M.js} +2 -2
- package/dist/cdn/{VPI6KWYG.js → 3SQYZSFK.js} +2 -2
- package/dist/cdn/{2WF74AVG.js → 3WACVNJA.js} +2 -2
- package/dist/cdn/{SGYTO5Q3.js → 3ZAF7BHV.js} +2 -2
- package/dist/cdn/{DAFCUVTS.js → 445VP5V5.js} +2 -2
- package/dist/cdn/{QIJJMLMA.js → 463BGXGZ.js} +2 -2
- package/dist/cdn/{P7GYHQIB.js → 47TJEFIE.js} +2 -2
- package/dist/cdn/{JDFPU4OZ.js → 47U3M3WM.js} +2 -2
- package/dist/cdn/{5MQH5SRJ.js → 4FW2NSUM.js} +2 -2
- package/dist/cdn/{LBH23R6B.js → 4GMTW4GE.js} +2 -2
- package/dist/cdn/{U62Y5B5E.js → 4I6Q6O7Q.js} +2 -2
- package/dist/cdn/{PW3GGNPY.js → 4LIZAOSQ.js} +2 -2
- package/dist/cdn/{VR5TPQG5.js → 4LTQAJ7Q.js} +1 -1
- package/dist/cdn/{QXJF7X7C.js → 4PFGFYB7.js} +2 -2
- package/dist/cdn/{WR5CZS6Z.js → 4PQQRVYV.js} +2 -2
- package/dist/cdn/{3ZHWDZ4U.js → 4QMBH3EN.js} +2 -2
- package/dist/cdn/{W2UXZ3VQ.js → 4QWHJISX.js} +1 -1
- package/dist/cdn/{6624PMRO.js → 4QWU62YY.js} +2 -2
- package/dist/cdn/{N45LPVOM.js → 4S7GJLXK.js} +2 -2
- package/dist/cdn/{YQM3ZN4J.js → 4STQ6HY6.js} +2 -2
- package/dist/cdn/{HY5QYWAN.js → 4SUYESMM.js} +2 -2
- package/dist/cdn/{LYUK5J5Q.js → 4ZTJFATS.js} +2 -2
- package/dist/cdn/54US2Z6M.js +18 -0
- package/dist/cdn/{XL3MO46G.js → 5BELOZCM.js} +1 -1
- package/dist/cdn/{CTJAA3HW.js → 5I53UUNF.js} +2 -2
- package/dist/cdn/{OD6CCAY7.js → 5KJRUSMT.js} +2 -2
- package/dist/cdn/{TFNUF2ZS.js → 5MOL5QM7.js} +2 -2
- package/dist/cdn/{PRPAKA53.js → 5NGJJHY7.js} +2 -2
- package/dist/cdn/{3FC3AFQC.js → 5NPHA45T.js} +2 -2
- package/dist/cdn/{NWYDTXHU.js → 5PL5BX7B.js} +2 -2
- package/dist/cdn/{QQ7DWVMW.js → 5QCHMT6O.js} +2 -2
- package/dist/cdn/{TN2PGFEW.js → 5QGDLNDG.js} +2 -2
- package/dist/cdn/{IMGIW7HO.js → 5QIH33SB.js} +2 -2
- package/dist/cdn/{YUKEOO45.js → 5ROFL3RL.js} +2 -2
- package/dist/cdn/{5KES3XBG.js → 64BACTQY.js} +2 -2
- package/dist/cdn/{QA6BAR3L.js → 64Q6BQ3T.js} +2 -2
- package/dist/cdn/{M5CZTKXX.js → 6HMY55NE.js} +2 -2
- package/dist/cdn/{HIEPRI6M.js → 6KHLLWW2.js} +1 -1
- package/dist/cdn/{GG2IDWQS.js → 6LQTNDBM.js} +2 -2
- package/dist/cdn/{7FVSKZFW.js → 6X3COWPL.js} +2 -2
- package/dist/cdn/{EAZ7C25W.js → 6XA66MT6.js} +2 -2
- package/dist/cdn/{ZSJQNSIY.js → 734PV7FU.js} +2 -2
- package/dist/cdn/{XINPX7UY.js → 75QVLAGK.js} +2 -2
- package/dist/cdn/{WPCD65VV.js → 76ZCQD7O.js} +2 -2
- package/dist/cdn/{CGNU4GRB.js → 7AM6FTIY.js} +2 -2
- package/dist/cdn/7C3OLASZ.js +18 -0
- package/dist/cdn/{NTUKSOX6.js → 7C7V3TXJ.js} +2 -2
- package/dist/cdn/{6POBHKBS.js → 7F7DT3AI.js} +2 -2
- package/dist/cdn/{4TNONTZ6.js → 7GX4DJGT.js} +2 -2
- package/dist/cdn/{NCS6AM2F.js → 7ILSE3KA.js} +2 -2
- package/dist/cdn/{P4ZT2VNI.js → 7ITUUMFZ.js} +2 -2
- package/dist/cdn/{XQJCGYXO.js → 7IXKEJ6E.js} +1 -1
- package/dist/cdn/{64XG2WEQ.js → 7IYU7N4H.js} +2 -2
- package/dist/cdn/{NH4CFBFD.js → 7K22NQSD.js} +1 -1
- package/dist/cdn/{7WA3VJRZ.js → 7MXST5RQ.js} +2 -2
- package/dist/cdn/{CZ6K44RV.js → 7N5QKFNB.js} +1 -1
- package/dist/cdn/{Y5MQB5IG.js → 7PUOSBZG.js} +1 -1
- package/dist/cdn/{3LOI7YAT.js → 7UDEXBGV.js} +2 -2
- package/dist/cdn/{L33Y3EXU.js → 7VUSH2YE.js} +1 -1
- package/dist/cdn/{IE5JSK7J.js → A25HLWUP.js} +2 -2
- package/dist/cdn/{3AFMP6IW.js → A76EPYVI.js} +2 -2
- package/dist/cdn/{DAGLKPSW.js → AABIQ6OI.js} +2 -2
- package/dist/cdn/{547VLGRK.js → AC5ZYR6U.js} +2 -2
- package/dist/cdn/{F3VL5J4Q.js → ADWQSEII.js} +2 -2
- package/dist/cdn/{TVEY6INM.js → AGPZ3ZW3.js} +1 -1
- package/dist/cdn/{C4FAIF5Q.js → AIIP4SWB.js} +2 -2
- package/dist/cdn/{WT4VJX6N.js → AJQDBHCZ.js} +2 -2
- package/dist/cdn/{6A6WPUSP.js → AQNHCJUJ.js} +2 -2
- package/dist/cdn/{3Z34HOVN.js → ASYSKXRU.js} +2 -2
- package/dist/cdn/{TBOJZDNR.js → AXFQLPZQ.js} +2 -2
- package/dist/cdn/{VRDTBEBN.js → AZDCP65Y.js} +2 -2
- package/dist/cdn/{32UM7SZK.js → B46CQCIJ.js} +1 -1
- package/dist/cdn/{G36LZ2WH.js → BA2JZZPZ.js} +2 -2
- package/dist/cdn/{JUQF2PB3.js → BAJD2MAY.js} +2 -2
- package/dist/cdn/{K7LR3C67.js → BFBKMPXC.js} +1 -1
- package/dist/cdn/{CV77ODA7.js → BGIC54NM.js} +2 -2
- package/dist/cdn/{AJZFV73U.js → BHT4KXCJ.js} +2 -2
- package/dist/cdn/{WDIJJJAX.js → BIFWKQ4A.js} +2 -2
- package/dist/cdn/{G6VABLAG.js → BKKW36VD.js} +2 -2
- package/dist/cdn/{WMIBYGQF.js → BL65R7NF.js} +2 -2
- package/dist/cdn/{HA6QXFEE.js → BOM2RSTG.js} +2 -2
- package/dist/cdn/{XIU6KDAI.js → BOMBADXF.js} +1 -1
- package/dist/cdn/{USJVL6GN.js → BSDT7WHN.js} +2 -2
- package/dist/cdn/{QCVFWRQ3.js → BTVG2AUT.js} +2 -2
- package/dist/cdn/{P5NCQEHT.js → BWZE7DXC.js} +2 -2
- package/dist/cdn/{NBWRB4UV.js → BXW5OPJA.js} +1 -1
- package/dist/cdn/BYGI6ZG4.js +4 -0
- package/dist/cdn/{MYLIJELV.js → CG7LU7SQ.js} +2 -2
- package/dist/cdn/{YWPBUNRL.js → CIPEOZGL.js} +2 -2
- package/dist/cdn/{TK65KBA3.js → CKEIWQPE.js} +2 -2
- package/dist/cdn/CLEGGOAG.js +18 -0
- package/dist/cdn/{ZE26QR3I.js → CLNJC6L6.js} +1 -1
- package/dist/cdn/{KQRHQKTT.js → COE7UBMY.js} +1 -1
- package/dist/cdn/{FEICSWFI.js → CQLWNONE.js} +1 -1
- package/dist/cdn/{J32P3IUF.js → CRM5UVP3.js} +2 -2
- package/dist/cdn/{RTIEUEZS.js → CSI5GAPY.js} +2 -2
- package/dist/cdn/{JQQF365S.js → CWMZQMNZ.js} +2 -2
- package/dist/cdn/{BXPQHUII.js → CWSJDBQ4.js} +2 -2
- package/dist/cdn/{4CY43SAF.js → CX7EB6FR.js} +2 -2
- package/dist/cdn/{LBNDFMBU.js → D24MF5EE.js} +2 -2
- package/dist/cdn/D35IRVYQ.js +4 -0
- package/dist/cdn/{4UC3TN7N.js → D3FKVFUM.js} +2 -2
- package/dist/cdn/{GVHPHDSK.js → D3H64MRR.js} +1 -1
- package/dist/cdn/{SJ7KLP57.js → DAMKXRGU.js} +2 -2
- package/dist/cdn/{RHWRSJAG.js → DFNL2TA5.js} +2 -2
- package/dist/cdn/DGOXBH7E.js +4 -0
- package/dist/cdn/{YACUVAZK.js → DUFCXSJZ.js} +2 -2
- package/dist/cdn/{F7DK7MGG.js → E2I2FH4I.js} +1 -1
- package/dist/cdn/{VKEAPFNA.js → E3MM5XBG.js} +2 -2
- package/dist/cdn/{QVPAC4JU.js → E3MRIPN4.js} +2 -2
- package/dist/cdn/{JPPIOFJI.js → E3O3ATEP.js} +2 -2
- package/dist/cdn/{PUDP2PNI.js → EBFHYLAT.js} +2 -2
- package/dist/cdn/ECHGKTAQ.js +18 -0
- package/dist/cdn/{UENIFZ42.js → EHEYAZL3.js} +2 -2
- package/dist/cdn/{RTNFT7R7.js → EKU2FTBE.js} +1 -1
- package/dist/cdn/{YYCNS5A5.js → ET6LIIRW.js} +2 -2
- package/dist/cdn/{KYJTZ7GN.js → EU6EDFI6.js} +2 -2
- package/dist/cdn/EW3R6IN2.js +4 -0
- package/dist/cdn/{UK3DTFAX.js → F4JC7HOE.js} +1 -1
- package/dist/cdn/{2IH37O57.js → F7XUO6AF.js} +2 -2
- package/dist/cdn/{J4QBWJSM.js → FE7BOUXR.js} +2 -2
- package/dist/cdn/{KNM2DOZ5.js → FJRODNHS.js} +2 -2
- package/dist/cdn/{4P77U55T.js → FL74QEC5.js} +2 -2
- package/dist/cdn/{64ZV2TNG.js → FLWQFTL6.js} +2 -2
- package/dist/cdn/{DOBSL5W5.js → FOS4FALQ.js} +1 -1
- package/dist/cdn/{VZDK2UMF.js → FPQW2SHJ.js} +2 -2
- package/dist/cdn/{6WQSDPWU.js → FRMOXCIW.js} +2 -2
- package/dist/cdn/{L733W7AD.js → FT3JQVXW.js} +2 -2
- package/dist/cdn/{L75WH54D.js → G32WYZWI.js} +2 -2
- package/dist/cdn/{PY5GGBEE.js → G6BHRJBM.js} +2 -2
- package/dist/cdn/{4D5I5M3O.js → GCYZFLHS.js} +2 -2
- package/dist/cdn/{Q753LUMJ.js → GF6FVCOF.js} +2 -2
- package/dist/cdn/{P2Q2QECR.js → GGBR6YO3.js} +2 -2
- package/dist/cdn/{U2IDJDV3.js → GHMZLDRQ.js} +2 -2
- package/dist/cdn/{PXZ3HDAQ.js → GJFOY4MZ.js} +2 -2
- package/dist/cdn/{T76KLUH7.js → GK6BZ5CA.js} +2 -2
- package/dist/cdn/{BE4OEXWO.js → GKUGVMPR.js} +2 -2
- package/dist/cdn/{5JODT3O3.js → GSWFBSAI.js} +2 -2
- package/dist/cdn/{B3ZRPFZO.js → GTWKDTTV.js} +2 -2
- package/dist/cdn/{NQWAECHR.js → GXE4VLPB.js} +2 -2
- package/dist/cdn/{2TO3D4JP.js → GXVG6TBE.js} +2 -2
- package/dist/cdn/{TD24BI5O.js → H6UWK3YK.js} +2 -2
- package/dist/cdn/{WVPA4RIC.js → HHQ6EAEC.js} +1 -1
- package/dist/cdn/{NSRQUUHT.js → HMZDUHVH.js} +4 -4
- package/dist/cdn/{DH77AVTG.js → HOYCR6CW.js} +2 -2
- package/dist/cdn/{K4KSJJUE.js → HPB7LMZB.js} +2 -2
- package/dist/cdn/{HECNXLJ5.js → HRRYHXJV.js} +2 -2
- package/dist/cdn/{5LIV5MBV.js → HZWJW4N4.js} +2 -2
- package/dist/cdn/{ZP24UQVP.js → IBECKWAF.js} +2 -2
- package/dist/cdn/{JVQDTAZM.js → ID5T7DGW.js} +2 -2
- package/dist/cdn/{HSM2426M.js → IKW7KKVU.js} +1 -1
- package/dist/cdn/{5EHF5GZY.js → IRIIUZ4P.js} +2 -2
- package/dist/cdn/{JDTYU4V7.js → IUORSNIC.js} +2 -2
- package/dist/cdn/{ANABZWEW.js → IWEORJKW.js} +2 -2
- package/dist/cdn/{OPK4XF2Q.js → JA42BMTT.js} +1 -1
- package/dist/cdn/{GY3S4QPM.js → JLPMEQ4C.js} +2 -2
- package/dist/cdn/{7EMBWSJE.js → JRAWXTC2.js} +2 -2
- package/dist/cdn/{FNV3BY4N.js → JS3S6ATX.js} +2 -2
- package/dist/cdn/{FCPV4UOF.js → JXBYVSDN.js} +2 -2
- package/dist/cdn/{HD274UTP.js → JXZF4HP3.js} +2 -2
- package/dist/cdn/{OTKMTGZQ.js → JYVKD3AY.js} +2 -2
- package/dist/cdn/{KMRNWHZU.js → KBECYN7X.js} +2 -2
- package/dist/cdn/{HOSSCUTA.js → KEH7PCJF.js} +2 -2
- package/dist/cdn/{SSCSISSJ.js → KJJQAQBD.js} +1 -1
- package/dist/cdn/{KJYAWRR4.js → KKWP4MFI.js} +2 -2
- package/dist/cdn/{YNCV66VN.js → KQCOJSEM.js} +2 -2
- package/dist/cdn/{YLSH4YUB.js → KRUFNCWC.js} +2 -2
- package/dist/cdn/{5NZGINBU.js → KUMDM2TP.js} +1 -1
- package/dist/cdn/{NXUIVAQT.js → KW3H64Z3.js} +2 -2
- package/dist/cdn/{4GRPOGJP.js → L2M6XD4J.js} +2 -2
- package/dist/cdn/{YKJ6JXET.js → L2YFBS6Q.js} +1 -1
- package/dist/cdn/{CPK4BEBA.js → L5CLDC55.js} +2 -2
- package/dist/cdn/{OSQ5RHZM.js → LEKPGQ27.js} +2 -2
- package/dist/cdn/{HBKZAODT.js → LF3V5ZAK.js} +2 -2
- package/dist/cdn/{CIWXA5ZN.js → LI3HHQ6A.js} +2 -2
- package/dist/cdn/{LQCKHLC4.js → LRDXMMOD.js} +2 -2
- package/dist/cdn/{52ZNWMHQ.js → LTEMSWE5.js} +2 -2
- package/dist/cdn/{OEOAXQIR.js → M2HCD4O7.js} +2 -2
- package/dist/cdn/{5E626VLW.js → M37XXGZU.js} +2 -2
- package/dist/cdn/{IVDSMHU5.js → M3DGWEUL.js} +2 -2
- package/dist/cdn/{XTNPOADE.js → M4C4FAYK.js} +2 -2
- package/dist/cdn/{2Z3T6T5H.js → M4Q775XV.js} +2 -2
- package/dist/cdn/{XSASM2S7.js → MASIZZCI.js} +2 -2
- package/dist/cdn/{WHRW3IB5.js → MB4QMMLX.js} +2 -2
- package/dist/cdn/{R5RGPHNY.js → MBVBYMPA.js} +2 -2
- package/dist/cdn/{JYXITI3J.js → MDGONFN6.js} +2 -2
- package/dist/cdn/{FJENF6BR.js → MEZGELTC.js} +2 -2
- package/dist/cdn/{4K2FRDTX.js → MHQB5WNU.js} +2 -2
- package/dist/cdn/{6TPJXOGA.js → MKH2DA7O.js} +2 -2
- package/dist/cdn/{XHTNNEII.js → MOEDT57I.js} +2 -2
- package/dist/cdn/{GIZDZBX3.js → MOTBFN4G.js} +2 -2
- package/dist/cdn/{6DFODGMW.js → MOZ76AMD.js} +2 -2
- package/dist/cdn/{SIAJA5J4.js → MUZW3RGH.js} +2 -2
- package/dist/cdn/{AXRO5Y2Q.js → MVZGGYJE.js} +1 -1
- package/dist/cdn/{N3UWRM33.js → MWSOZQDY.js} +2 -2
- package/dist/cdn/{3DMMKZP2.js → MZFDKMPX.js} +2 -2
- package/dist/cdn/{BDODIJBN.js → N2W6QSZD.js} +2 -2
- package/dist/cdn/{XS5PMVOE.js → N5STZ7GZ.js} +2 -2
- package/dist/cdn/{MMLBUMFZ.js → N67QCQ7V.js} +2 -2
- package/dist/cdn/{4JAUYJ6Q.js → NCCMANMO.js} +2 -2
- package/dist/cdn/NEHYX5WH.js +20 -0
- package/dist/cdn/{THIUOJJT.js → NHWSJLLO.js} +2 -2
- package/dist/cdn/{FCWBHJAR.js → NLXHAQLL.js} +2 -2
- package/dist/cdn/{3OK4D7RH.js → NUCUGNUX.js} +2 -2
- package/dist/cdn/{TUZ25PBB.js → O3IDDO6J.js} +2 -2
- package/dist/cdn/{FWT5BW6G.js → O3VFVJOS.js} +2 -2
- package/dist/cdn/{JA5E3ZS4.js → O6NVE7E5.js} +2 -2
- package/dist/cdn/{RJDGVBOH.js → OENBSLHM.js} +2 -2
- package/dist/cdn/OI7P2J4Y.js +18 -0
- package/dist/cdn/OJJHKR7F.js +4 -0
- package/dist/cdn/{KFTUSILZ.js → ONHJPLZM.js} +2 -2
- package/dist/cdn/{DHYN3VIT.js → OQF3PZAV.js} +3 -3
- package/dist/cdn/{ZPG53QLG.js → OTXXGUOE.js} +2 -2
- package/dist/cdn/{F3QXUPCO.js → PD3YZ7ZC.js} +2 -2
- package/dist/cdn/{IDPWCQHW.js → PD5P6RHL.js} +2 -2
- package/dist/cdn/{MPYJWTZZ.js → PEOJQHTO.js} +1 -1
- package/dist/cdn/{ATBZIXUI.js → PGJVADNQ.js} +2 -2
- package/dist/cdn/{VLEM3TR7.js → PIUQ5LMJ.js} +2 -2
- package/dist/cdn/{WTIIL4Z5.js → PP2BY544.js} +2 -2
- package/dist/cdn/{MTMG3GRR.js → PSDCQKCH.js} +2 -2
- package/dist/cdn/{AXAHVJFX.js → PTLTCZI4.js} +2 -2
- package/dist/cdn/{7ML2KUOH.js → PWLKYE5P.js} +2 -2
- package/dist/cdn/{VGD3ACHA.js → PZ7RGXSK.js} +2 -2
- package/dist/cdn/{MATLMRNC.js → PZIFPW3P.js} +2 -2
- package/dist/cdn/{5OHLT44P.js → PZLHAJTW.js} +2 -2
- package/dist/cdn/{T5AJ3VNL.js → Q2QCS4J2.js} +2 -2
- package/dist/cdn/{T5N4USHO.js → Q2RUM7UN.js} +2 -2
- package/dist/cdn/{XJV2IHQU.js → Q5J5XNAP.js} +2 -2
- package/dist/cdn/{EODDH2JP.js → QAXTCQ2U.js} +2 -2
- package/dist/cdn/{5EAGIGD7.js → QCJZFBZQ.js} +2 -2
- package/dist/cdn/{QKKZMTRI.js → QF64CVJ5.js} +2 -2
- package/dist/cdn/{R2SZJCZZ.js → QG6QJLC4.js} +2 -2
- package/dist/cdn/{VYIVYXUJ.js → QGJJKXZ7.js} +2 -2
- package/dist/cdn/{OGJDKKVD.js → QM3ILXY3.js} +2 -2
- package/dist/cdn/{BK7VE3UH.js → QNRYJM3B.js} +1 -1
- package/dist/cdn/{UXSWM34Y.js → QPXISNSE.js} +2 -2
- package/dist/cdn/{I37NGC7B.js → QXFNX2NB.js} +2 -2
- package/dist/cdn/{NGAOJITT.js → RAP3WBHW.js} +2 -2
- package/dist/cdn/{2ZIVJI5H.js → REIHKE4M.js} +2 -2
- package/dist/cdn/{2XUD6P3Z.js → RRUGRUVI.js} +2 -2
- package/dist/cdn/{42XR3L6J.js → RTOP6BXN.js} +2 -2
- package/dist/cdn/{CUJ4QEUB.js → RYZD436N.js} +2 -2
- package/dist/cdn/{PP7YJVFK.js → S2DMLXK2.js} +2 -2
- package/dist/cdn/S4PLZNT3.js +18 -0
- package/dist/cdn/{PGH6RCLO.js → SFMJHS2P.js} +2 -2
- package/dist/cdn/{57ZXUILQ.js → SFUF6JRQ.js} +2 -2
- package/dist/cdn/SGSJNZRS.js +4 -0
- package/dist/cdn/{BPVXWSKC.js → SIY7FRU2.js} +2 -2
- package/dist/cdn/{YHY4R3U6.js → SLK6RJZ6.js} +1 -1
- package/dist/cdn/SLMOR34E.js +18 -0
- package/dist/cdn/{M7AF2VXD.js → SMC7MDBC.js} +2 -2
- package/dist/cdn/{LRQUFI2D.js → SMDGUFAX.js} +1 -1
- package/dist/cdn/{LH4J7BX2.js → SML6VAVH.js} +2 -2
- package/dist/cdn/{IOFTT6HJ.js → SO57WMZT.js} +2 -2
- package/dist/cdn/{US7G3FCP.js → SQGDT3MI.js} +2 -2
- package/dist/cdn/{BMH6UZYX.js → SVGQ6RRF.js} +2 -2
- package/dist/cdn/{CUWST5O6.js → SVKVDVSA.js} +2 -2
- package/dist/cdn/{JNWSIBXG.js → SWYEHTYD.js} +2 -2
- package/dist/cdn/{VNFRWFAW.js → SYLD7AOJ.js} +2 -2
- package/dist/cdn/{URFFUWLH.js → T24OWJ2D.js} +2 -2
- package/dist/cdn/{QAMFDK44.js → T6URJ7UY.js} +2 -2
- package/dist/cdn/{PTH4VZ5J.js → T7ZYB7QK.js} +1 -1
- package/dist/cdn/{JJEP2YGO.js → THGYUWHS.js} +2 -2
- package/dist/cdn/{7TAHV6UW.js → TJYDXN5N.js} +2 -2
- package/dist/cdn/{TC6GRMDI.js → TKJ3SF4I.js} +1 -1
- package/dist/cdn/{HT7C5PDZ.js → TLK5UCOJ.js} +2 -2
- package/dist/cdn/{DK3FWHR6.js → TMXC3CNK.js} +3 -3
- package/dist/cdn/{2P5JJYFC.js → TNHDJIYU.js} +2 -2
- package/dist/cdn/{3INN5FQP.js → TP6TK5QG.js} +2 -2
- package/dist/cdn/{LAGBD4ZG.js → U2MFSKGL.js} +2 -2
- package/dist/cdn/{OTWOMOOS.js → UCZH23H5.js} +2 -2
- package/dist/cdn/{E7N7FA3W.js → UH35QWCX.js} +2 -2
- package/dist/cdn/{VPK4ZAZF.js → UHI3J3HW.js} +2 -2
- package/dist/cdn/{33TAMAB5.js → UIOO7RGA.js} +2 -2
- package/dist/cdn/{47LQUUSU.js → UIQXA63E.js} +2 -2
- package/dist/cdn/{AGXLBLDE.js → UL7RSTG3.js} +2 -2
- package/dist/cdn/{K4PSBA7S.js → UPA6H3UK.js} +2 -2
- package/dist/cdn/{QNJKL7SK.js → UQY7HMMM.js} +2 -2
- package/dist/cdn/US2R7MQA.js +63 -0
- package/dist/cdn/{UIHIMUAM.js → UWJAFW32.js} +2 -2
- package/dist/cdn/{UWKPNCNO.js → V24FB5XD.js} +2 -2
- package/dist/cdn/{J66N75YM.js → V4XH652F.js} +2 -2
- package/dist/cdn/{R5QNGLWD.js → V5H4AUIH.js} +2 -2
- package/dist/cdn/{UIXND4RG.js → VBUG7NUZ.js} +2 -2
- package/dist/cdn/{VXS22IEQ.js → VEFMWNVR.js} +2 -2
- package/dist/cdn/{CKPZEWWK.js → VGW3E33G.js} +2 -2
- package/dist/cdn/{XWO35XMC.js → VHMETX5C.js} +2 -2
- package/dist/cdn/{OEVW7652.js → VNJMC7H7.js} +2 -2
- package/dist/cdn/{FUVBSL52.js → VOI26VZU.js} +2 -2
- package/dist/cdn/{AK2G7GWK.js → VSGIKV5X.js} +2 -2
- package/dist/cdn/{VYLL3I6K.js → VTAI23DN.js} +2 -2
- package/dist/cdn/{D2G4PIVE.js → VU7CLW5T.js} +2 -2
- package/dist/cdn/{URVMNZHN.js → VUA6EP7Q.js} +2 -2
- package/dist/cdn/{4BD445J4.js → VZO4BIVY.js} +2 -2
- package/dist/cdn/{A4X6C6ZX.js → W2YFZYV5.js} +2 -2
- package/dist/cdn/{5HGZYOVA.js → WC3Z4EDF.js} +1 -1
- package/dist/cdn/{LUAMSNKZ.js → WGCXCMFS.js} +2 -2
- package/dist/cdn/{PVGBJQAD.js → WMMQCH4Z.js} +2 -2
- package/dist/cdn/WR37QCTD.js +4 -0
- package/dist/cdn/{YBOWQKWT.js → WR3I7AM2.js} +2 -2
- package/dist/cdn/{3R547FCL.js → WVRENFYB.js} +2 -2
- package/dist/cdn/{EVPTRQ6A.js → X3W3VZ6Q.js} +1 -1
- package/dist/cdn/{NWZXSIOF.js → X7MBI4XC.js} +1 -1
- package/dist/cdn/{N65CEPTA.js → XCXTGRF4.js} +2 -2
- package/dist/cdn/{ZCRJFSKJ.js → XFF62RTG.js} +2 -2
- package/dist/cdn/{2OB2SIIL.js → XFLIYFY3.js} +2 -2
- package/dist/cdn/{ETYP3VBN.js → XK6TMGUD.js} +2 -2
- package/dist/cdn/{SBZZ4K52.js → XLBG2RJT.js} +2 -2
- package/dist/cdn/XNA6WRSK.js +4 -0
- package/dist/cdn/{TOSLUXOS.js → XRRTWRCI.js} +2 -2
- package/dist/cdn/{KJC4PHVN.js → XSELGOTY.js} +2 -2
- package/dist/cdn/{YQH4NZVR.js → XWM3XGZT.js} +2 -2
- package/dist/cdn/{UE6HX53N.js → XYYHWXEE.js} +2 -2
- package/dist/cdn/{WXO3ZL5M.js → Y3GNKHWX.js} +2 -2
- package/dist/cdn/Y755NJQD.js +18 -0
- package/dist/cdn/{C675SGIU.js → YCZQXPZS.js} +2 -2
- package/dist/cdn/{VZXWZRZ2.js → YEUCZM52.js} +2 -2
- package/dist/cdn/{7N5X4EHS.js → YG53B4I2.js} +2 -2
- package/dist/cdn/YLCN5LJA.js +6 -0
- package/dist/cdn/{P7IHCCPN.js → YN5RGMUY.js} +2 -2
- package/dist/cdn/YNJMZX3I.js +18 -0
- package/dist/cdn/{FFCZMKPH.js → YVVDUMNS.js} +2 -2
- package/dist/cdn/{RF3I2OVH.js → YWNRR2PJ.js} +2 -2
- package/dist/cdn/{5IMIFIYK.js → Z2FCSBUU.js} +2 -2
- package/dist/cdn/Z2SGK7LL.js +4 -0
- package/dist/cdn/{SQ3WIIXR.js → Z3WPTT5X.js} +2 -2
- package/dist/cdn/{FHDHYSK6.js → Z4ZF2BDG.js} +2 -2
- package/dist/cdn/{IW3M3BRW.js → ZCSEKMUG.js} +2 -2
- package/dist/cdn/{SUZ4YNXZ.js → ZDD7KPSE.js} +2 -2
- package/dist/cdn/{BURGOM4O.js → ZGZ2DUJK.js} +2 -2
- package/dist/cdn/{AEHCAEA2.js → ZQJ3I7NF.js} +2 -2
- package/dist/cdn/{JMPK7FSJ.js → ZTH6BNEM.js} +2 -2
- package/dist/cdn/ZUGHV55K.js +18 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +3 -3
- 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 +7 -5
- package/dist/components/arcgis-solutions-assistant/customElement.js +1225 -137
- package/dist/components/arcgis-solutions-assistant/index.d.ts +1 -1
- package/dist/components/arcgis-solutions-assistant/index.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/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.d.ts +4 -5
- package/dist/components/solution-deployed-card/customElement.js +35 -34
- package/dist/components/solution-deployed-card/index.d.ts +0 -1
- package/dist/components/solution-deployed-card/index.js +0 -1
- package/dist/components/{solution-configure-dialog → solution-deployed-card-panel}/customElement.d.ts +13 -3
- package/dist/components/solution-deployed-card-panel/customElement.js +101 -0
- package/dist/components/solution-deployed-card-panel/index.d.ts +15 -0
- package/dist/components/solution-deployed-card-panel/index.js +15 -0
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +22 -19
- 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 +1 -1
- package/dist/components/solutions-all-shell/customElement.js +2 -2
- package/dist/components/solutions-deploy-app/customElement.d.ts +2 -1
- package/dist/components/solutions-deploy-app/customElement.js +38 -31
- package/dist/components/solutions-deploy-app/index.d.ts +1 -0
- package/dist/components/solutions-deploy-app/index.js +1 -0
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +3 -3
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +3 -3
- package/dist/components/solutions-deployed-shell/customElement.js +8 -8
- package/dist/components/solutions-filter-panel/customElement.js +15 -15
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +18 -32
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +7 -5
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +433 -377
- package/dist/docs/docs.json +306 -237
- package/dist/docs/vscode.html-custom-data.json +29 -24
- package/dist/docs/web-types.json +134 -86
- package/dist/index.d.ts +36 -19
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +11 -7
- package/dist/types/preact.d.ts +12 -8
- package/dist/types/preact10.d.ts +13 -9
- package/dist/types/react.d.ts +13 -9
- package/dist/types/stencil.d.ts +11 -7
- package/dist/utils/interfaces.d.ts +26 -22
- package/package.json +2 -2
- package/dist/cdn/4J4LPB3C.js +0 -4
- package/dist/cdn/A7RE5JAW.js +0 -4
- package/dist/cdn/AJ7HY5IA.js +0 -18
- package/dist/cdn/BTAPRURT.js +0 -18
- package/dist/cdn/CH34UBEQ.js +0 -20
- package/dist/cdn/CL3PGX2V.js +0 -18
- package/dist/cdn/E6BFGCQU.js +0 -18
- package/dist/cdn/EL2JSV5A.js +0 -4
- package/dist/cdn/F2BY3DDZ.js +0 -4
- package/dist/cdn/GNVNOTR5.js +0 -18
- package/dist/cdn/HFD37KVH.js +0 -18
- package/dist/cdn/HLVEN4KS.js +0 -6
- package/dist/cdn/ILDBRYJS.js +0 -4
- package/dist/cdn/LGLORLPA.js +0 -18
- package/dist/cdn/N7FPVL7S.js +0 -4
- package/dist/cdn/O6AHHEEE.js +0 -18
- package/dist/cdn/RL2Q4UFY.js +0 -4
- package/dist/cdn/U6LFOJY4.js +0 -4
- package/dist/cdn/UL2XIT3X.js +0 -4
- package/dist/cdn/XKFBIOP5.js +0 -18
- package/dist/cdn/XM6GFHKW.js +0 -4
- package/dist/cdn/Z3E6GUUX.js +0 -18
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
- package/dist/components/solution-configure-dialog/customElement.js +0 -131
- package/dist/components/solution-configure-dialog/index.d.ts +0 -13
- package/dist/components/solution-configure-dialog/index.js +0 -13
|
@@ -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"./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};
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as q}from"./7K22NQSD.js";import{a as w}from"./ZTH6BNEM.js";import{a as M}from"./CIPEOZGL.js";import{C as T,b as v,c as F,z as P}from"./IKW7KKVU.js";import{b as S}from"./4ZTJFATS.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./JA42BMTT.js";import"./SLK6RJZ6.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.
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
4
|
function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w as 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.16 */
|
|
4
|
+
import"./SLK6RJZ6.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});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 S}from"./TFNUF2ZS.js";import{b as d,c as g,i as y,j as N}from"./5JODT3O3.js";import{a as I}from"./SSCSISSJ.js";import{a as M,e as E,f as T,g as F}from"./7WA3VJRZ.js";import{a as $,b as R}from"./HD274UTP.js";import{d as l,e as p,f as c}from"./XQJCGYXO.js";import{a as A}from"./XIU6KDAI.js";import{a as x}from"./32UM7SZK.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as S}from"./5MOL5QM7.js";import{b as d,c as g,i as y,j as N}from"./GSWFBSAI.js";import{a as I}from"./KJJQAQBD.js";import{a as M,e as E,f as T,g as F}from"./7MXST5RQ.js";import{a as $,b as R}from"./JXZF4HP3.js";import{d as l,e as p,f as c}from"./7IXKEJ6E.js";import{a as A}from"./BOMBADXF.js";import{a as x}from"./B46CQCIJ.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
|
@@ -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 C}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{b as C}from"./SLK6RJZ6.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
|
|
5
5
|
`),t=Ie(t,U,W);let s=new w("!xml"),n=s,i="";for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){let a=m(e,">",r,"Closing Tag is not closed."),o=e.substring(r+2,a).trim();if(t.ignoreNameSpace){let h=o.indexOf(":");h!==-1&&(o=o.substr(h+1))}n&&(n.val?n.val=P.getValue(n.val)+""+O(o,i,t):n.val=O(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,r-n.startIndex-1)),n=n.parent,i="",r=a}else if(e[r+1]==="?")r=m(e,"?>",r,"Pi Tag is not closed.");else if(e.substr(r+1,3)==="!--")r=m(e,"-->",r,"Comment is not closed.");else if(e.substr(r+1,2)==="!D"){let a=m(e,">",r,"DOCTYPE is not closed.");e.substring(r,a).indexOf("[")>=0?r=e.indexOf("]>",r)+1:r=a}else if(e.substr(r+1,2)==="!["){let a=m(e,"]]>",r,"CDATA is not closed.")-2,o=e.substring(r+9,a);if(i&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t),i=""),t.cdataTagName){let h=new w(t.cdataTagName,n,o);n.addChild(h),n.val=P.getValue(n.val)+t.cdataPositionChar,o&&(h.val=o)}else n.val=(n.val||"")+(o||"");r=a+2}else{let a=Me(e,r+1),o=a.data,h=a.index,d=o.indexOf(" "),l=o,A=!0;if(d!==-1&&(l=o.substr(0,d).replace(/\s\s*$/,""),o=o.substr(d+1)),t.ignoreNameSpace){let p=l.indexOf(":");p!==-1&&(l=l.substr(p+1),A=l!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){l[l.length-1]==="/"?(l=l.substr(0,l.length-1),o=l):o=o.substr(0,o.length-1);let p=new w(l,n,"");l!==o&&(p.attrsMap=K(o,t)),n.addChild(p)}else{let p=new w(l,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=h),l!==o&&A&&(p.attrsMap=K(o,t)),n.addChild(p),n=p}i="",r=h}else i+=e[r];return s};function Me(e,t){let s,n="";for(let i=t;i<e.length;i++){let r=e[i];if(s)r===s&&(s="");else if(r==='"'||r==="'")s=r;else{if(r===">")return{data:n,index:i};r===" "&&(r=" ")}n+=r}}function m(e,t,s,n){let i=e.indexOf(t,s);if(i===-1)throw new Error(n);return i+t.length-1}V.getTraversalObj=Fe});var ee=C(D=>{"use strict";var M=T(),ke={allowBooleanAttributes:!1},qe=["allowBooleanAttributes"];D.validate=function(e,t){t=M.buildOptions(t,ke,qe);let s=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let r=0;r<e.length;r++)if(e[r]==="<"&&e[r+1]==="?"){if(r+=2,r=G(e,r),r.err)return r}else if(e[r]==="<"){let u=r;if(r++,e[r]==="!"){r=H(e,r);continue}else{let a=!1;e[r]==="/"&&(a=!0,r++);let o="";for(;r<e.length&&e[r]!==">"&&e[r]!==" "&&e[r]!==" "&&e[r]!==`
|
|
6
6
|
`&&e[r]!=="\r";r++)o+=e[r];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),r--),!$e(o)){let l;return o.trim().length===0?l="Invalid space after '<'.":l="Tag '"+o+"' is an invalid name.",f("InvalidTag",l,g(e,r))}let h=xe(e,r);if(h===!1)return f("InvalidAttr","Attributes for '"+o+"' have open quote.",g(e,r));let d=h.value;if(r=h.index,d[d.length-1]==="/"){let l=r-d.length;d=d.substring(0,d.length-1);let A=j(d,t);if(A===!0)n=!0;else return f(A.err.code,A.err.msg,g(e,l+A.err.line))}else if(a)if(h.tagClosed){if(d.trim().length>0)return f("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",g(e,u));{let l=s.pop();if(o!==l.tagName){let A=g(e,l.tagStartPos);return f("InvalidTag","Expected closing tag '"+l.tagName+"' (opened in line "+A.line+", col "+A.col+") instead of closing tag '"+o+"'.",g(e,u))}s.length==0&&(i=!0)}}else return f("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",g(e,r));else{let l=j(d,t);if(l!==!0)return f(l.err.code,l.err.msg,g(e,r-d.length+l.err.line));if(i===!0)return f("InvalidXml","Multiple possible root nodes found.",g(e,r));s.push({tagName:o,tagStartPos:u}),n=!0}for(r++;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="!"){r++,r=H(e,r);continue}else if(e[r+1]==="?"){if(r=G(e,++r),r.err)return r}else break;else if(e[r]==="&"){let l=Le(e,r);if(l==-1)return f("InvalidChar","char '&' is not expected.",g(e,r));r=l}e[r]==="<"&&r--}}else{if(e[r]===" "||e[r]===" "||e[r]===`
|
|
7
7
|
`||e[r]==="\r")continue;return f("InvalidChar","char '"+e[r]+"' is not expected.",g(e,r))}if(n){if(s.length==1)return f("InvalidTag","Unclosed tag '"+s[0].tagName+"'.",g(e,s[0].tagStartPos));if(s.length>0)return f("InvalidXml","Invalid '"+JSON.stringify(s.map(r=>r.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return f("InvalidXml","Start tag expected.",1);return!0};function G(e,t){let s=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(s,t-s);if(t>5&&n==="xml")return f("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function H(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let s=1;for(t+=8;t<e.length;t++)if(e[t]==="<")s++;else if(e[t]===">"&&(s--,s===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Be='"',Se="'";function xe(e,t){let s="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Be||e[t]===Se)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}s+=e[t]}return n!==""?!1:{value:s,index:t,tagClosed:i}}var Je=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function j(e,t){let s=M.getAllMatches(e,Je),n={};for(let i=0;i<s.length;i++){if(s[i][1].length===0)return f("InvalidAttr","Attribute '"+s[i][2]+"' has no space in starting.",F(s[i]));if(s[i][3]===void 0&&!t.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+s[i][2]+"' is not allowed.",F(s[i]));let r=s[i][2];if(!Ze(r))return f("InvalidAttr","Attribute '"+r+"' is an invalid name.",F(s[i]));if(!n.hasOwnProperty(r))n[r]=1;else return f("InvalidAttr","Attribute '"+r+"' is repeated.",F(s[i]))}return!0}function Re(e,t){let s=/\d/;for(e[t]==="x"&&(t++,s=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(s))break}return-1}function Le(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,Re(e,t);let s=0;for(;t<e.length;t++,s++)if(!(e[t].match(/\w/)&&s<20)){if(e[t]===";")break;return-1}return t}function f(e,t,s){return{err:{code:e,msg:t,line:s.line||s,col:s.col}}}function Ze(e){return M.isName(e)}function $e(e){return M.isName(e)}function g(e,t){let s=e.substring(0,t).split(/\r?\n/);return{line:s.length,col:s[s.length-1].length+1}}function F(e){return e.startIndex+e[1].length}});var se=C(ne=>{"use strict";var y=function(e){return String.fromCharCode(e)},c={nilChar:y(176),missingChar:y(201),nilPremitive:y(175),missingPremitive:y(200),emptyChar:y(178),emptyValue:y(177),boundryChar:y(179),objStart:y(198),arrStart:y(204),arrayEnd:y(185)},Xe=[c.nilChar,c.nilPremitive,c.missingChar,c.missingPremitive,c.boundryChar,c.emptyChar,c.emptyValue,c.arrayEnd,c.objStart,c.arrStart],I=function(e,t,s){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?B(e[0].val,t):B(e,t);{let n=Qe(e);if(n===!0){let i="";if(Array.isArray(t)){i+=c.arrStart;let r=t[0],u=e.length;if(typeof r=="string")for(let a=0;a<u;a++){let o=B(e[a].val,r);i=S(i,o)}else for(let a=0;a<u;a++){let o=I(e[a],r,s);i=S(i,o)}i+=c.arrayEnd}else{i+=c.objStart;let r=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let u in r){let a=r[u],o;!s.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=I(e.attrsMap[a],t[a],s):a===s.textNodeName?o=I(e.val,t[a],s):o=I(e.child[a],t[a],s),i=S(i,o)}}return i}else return n}},B=function(e){switch(e){case void 0:return c.missingPremitive;case null:return c.nilPremitive;case"":return c.emptyValue;default:return e}},S=function(e,t){return!te(t[0])&&!te(e[e.length-1])&&(e+=c.boundryChar),e+t},te=function(e){return Xe.indexOf(e)!==-1};function Qe(e){return e===void 0?c.missingChar:e===null?c.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?c.emptyChar:!0}var re=E(),Ye=T().buildOptions,ze=function(e,t,s){return s=Ye(s,re.defaultOptions,re.props),I(e,t,s)};ne.convert2nimn=ze});var ae=C(oe=>{"use strict";var k=T(),Ke=T().buildOptions,ie=E(),Ue=function(e,t){return t=Ke(t,ie.defaultOptions,ie.props),t.indentBy=t.indentBy||"",x(e,t,0)},x=function(e,t,s){let n="{",i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n+='"'+u+'" : [ ';for(let a in e.child[u])n+=x(e.child[u][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+u+'" : '+x(e.child[u][0],t)+" ,"}return k.merge(n,e.attrsMap),k.isEmptyObject(n)?k.isExist(e.val)?e.val:"":(k.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+We(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function We(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}oe.convertToJsonString=Ue});var fe=C((bt,ce)=>{"use strict";var _e=T().buildOptions,Ge={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},He=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function J(e){this.options=_e(e,Ge,He),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=st),this.options.cdataTagName?this.isCDATA=it:this.isCDATA=function(){return!1},this.replaceCDATAstr=De,this.replaceCDATAarr=et,this.processTextOrObjNode=je,this.options.format?(this.indentate=nt,this.tagEndChar=`>
|
|
@@ -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 o}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as o}from"./AC5ZYR6U.js";import{d as r}from"./E3MRIPN4.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import{a as s}from"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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.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:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p 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{F as s}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{F as s}from"./JA42BMTT.js";var t=s({defaultAssetPath:"https://js.arcgis.com/4.34/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:p}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{b as m}from"./JXBYVSDN.js";import{c as S}from"./7PUOSBZG.js";import{b as u}from"./EU6EDFI6.js";import{m as c}from"./6KHLLWW2.js";import{a as g}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as d}from"./XSELGOTY.js";import{E as p,I as a,h,i as o,o as n}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var y=h`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:65px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent}calcite-dropdown{--calcite-color-focus: transparent}`,l=class extends p{constructor(){super(),this.defaultSortType="relevance",this.isOrgSolutions=!1,this.isMobile=!1,this._activeSearchSortSettings=[{scope:"all-solutions",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"relevance"}},{scope:"deployments",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"created"}}],this._isOrgAdmin=!1,this._translations=g({name:"solutions-searchsort-toolbar",blocking:!0}),this._authContextConsumer=u({context:S,subscribe:!0}),this.searchChanged=n(),this.sortTypeChanged=n(),this.listenOn(window,"deployAppTabSelected",e=>{let t=e.detail;this.scope=t}),this.listenOn(window,"detailsCardSelected",()=>{this.scope=void 0}),this.listenOn(window,"deployedCardSelected",()=>{this.scope=void 0}),this.listenOn(window,"searchTermSet",e=>{let t=e.detail;this.scope=t.scope,this.changeSearchFilter(t.searchTerm,!1)})}static{this.properties={defaultSortType:[0,{type:String,attribute:"default-sort-type"}],isOrgSolutions:5,isMobile:5,scope:1,_activeSearchSortSettings:16,_isOrgAdmin:16,_translations:16}}static{this.styles=y}changeOwnerFilter(e){this.isOrgSolutions=!e,this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,isOrgSolutions:this.isOrgSolutions}}:s);let t={displayValue:this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions,type:"owner",value:this.isOrgSolutions?c.ORGANIZATION:c.OWNER};this.searchChanged.emit({option:t,scope:this.scope})}changeSearchFilter(e,t){let s=this._activeSearchSortSettings.map(r=>r.scope===this.scope?{...r,settings:{...r.settings,searchTerm:e}}:r),i=JSON.stringify(this._activeSearchSortSettings)!==JSON.stringify(s);this._activeSearchSortSettings=s,t&&i&&this.searchChanged.emit({option:{searchTerm:e},scope:this.scope})}sortChanged(e){this._activeSearchSortSettings=this._activeSearchSortSettings.map(t=>t.scope===this.scope?{...t,settings:{...t.settings,sortType:e}}:t),this.sortTypeChanged.emit({sortType:e,scope:this.scope})}willUpdate(){this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn!==this._isOrgAdmin&&(this._isOrgAdmin=m(this._authContextConsumer.value))}render(){let e=this.scope==="all-solutions"||this.scope==="deployments",t=e?this._getCurrentScopeSetting():void 0;return e?o`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @keyup=${s=>{let i=s.target;s.key==="Enter"?this.changeSearchFilter(i.value,!0):this.changeSearchFilter(i.value,i.value.length>=3||i.value.length===0)}} @blur=${s=>{let i=s.target;this.changeSearchFilter(i.value,!0)}} .placeholder=${this._translations.search.solutions} scale=l slot=content-top .value=${t?.searchTerm}></calcite-input-text>${this.scope==="deployments"&&this._isOrgAdmin&&this._renderOwnerBlock()||""}${this._renderDropdown()}</div>`:""}_renderOwnerBlock(){return o`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=transparent class="header-button-padding" .iconStart=${this.isOrgSolutions?"organization":"user"} kind=neutral slot=trigger>${this.isMobile?"":this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.owner??a}><calcite-dropdown-item icon-start=user @click=${()=>{this.changeOwnerFilter(!0)}} .selected=${!this.isOrgSolutions}>${this._translations.mySolutions}</calcite-dropdown-item><calcite-dropdown-item icon-start=organization @click=${()=>{this.changeOwnerFilter(!1)}} .selected=${this.isOrgSolutions}>${this._translations.myOrgSolutions}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}_renderDropdown(){let e=[];e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"}],this.scope==="deployments"?e.push({displayValue:this._translations.sortByDateDeployed,sortType:"created"}):(e.push({displayValue:this._translations.sortByNew,sortType:"new"}),e.push({displayValue:this._translations.sortByUpdated,sortType:"updated"}),this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn&&e.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}));let t=this._getCurrentScopeSetting();return o`<calcite-dropdown width=m><calcite-button appearance=transparent class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(t.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??a}>${e.map(s=>this._getDropdownItem(s.displayValue,s.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this._getCurrentScopeSetting().sortType!==t?o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)}>${e}</calcite-dropdown-item>`:o`<calcite-dropdown-item @click=${()=>this.sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break;case"created":t=this._translations.sortByDateDeployed;break}return t}_getCurrentScopeSetting(){return this._activeSearchSortSettings.filter(e=>e.scope===this.scope)[0].settings}};d("solutions-searchsort-toolbar",l);export{l as SolutionsSearchSortToolbar};
|
|
@@ -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.16 */
|
|
4
4
|
var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./YHY4R3U6.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import"./SLK6RJZ6.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g 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 _}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as _}from"./DFNL2TA5.js";import{a as m}from"./CIPEOZGL.js";import{b as p}from"./4ZTJFATS.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{C as h,D as b,E as d,h as o,i as c}from"./JA42BMTT.js";import"./SLK6RJZ6.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
|
|
@@ -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{e as t,g as i}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{e as t,g as i}from"./GSWFBSAI.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n 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 m}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as m}from"./6LQTNDBM.js";import{a as c}from"./GXE4VLPB.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import{a as n,b as p}from"./JLPMEQ4C.js";import"./V4XH652F.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import{a}from"./WGCXCMFS.js";import{a as r}from"./EBFHYLAT.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import{a as i}from"./QCJZFBZQ.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{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.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"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T 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 p}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as p}from"./7K22NQSD.js";import{a as m}from"./PEOJQHTO.js";import{a as c}from"./7VUSH2YE.js";import{b as g}from"./4ZTJFATS.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./JA42BMTT.js";import"./SLK6RJZ6.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,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 g}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{b as g}from"./BFBKMPXC.js";import{b as m}from"./XSELGOTY.js";import{C as d,D as p,E as u,h as o,i as l}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var f=o`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as D}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as D}from"./EKU2FTBE.js";import{a as P}from"./EU6EDFI6.js";import{a as C,d as I}from"./HMZDUHVH.js";import"./YLCN5LJA.js";import"./V24FB5XD.js";import"./AGPZ3ZW3.js";import"./MKH2DA7O.js";import"./4S7GJLXK.js";import"./5MOL5QM7.js";import"./X3W3VZ6Q.js";import"./L2YFBS6Q.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./X7MBI4XC.js";import"./CQLWNONE.js";import"./7VUSH2YE.js";import{g as E,j as T}from"./Q2RUM7UN.js";import{c as l,e as r,f as c}from"./6KHLLWW2.js";import"./KUMDM2TP.js";import{b as L}from"./BFBKMPXC.js";import{a as x}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as $,c as k}from"./XSELGOTY.js";import{C as p,D as g,E as v,G as h,h as f,i as n,l as d,o as y,p as S,r as w}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var V=f`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as r}from"./BYGI6ZG4.js";import"./YLCN5LJA.js";import"./V24FB5XD.js";import"./AGPZ3ZW3.js";import"./MKH2DA7O.js";import"./4S7GJLXK.js";import"./5MOL5QM7.js";import"./X3W3VZ6Q.js";import"./L2YFBS6Q.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./X7MBI4XC.js";import"./6KHLLWW2.js";import{a as d}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as p}from"./XSELGOTY.js";import{E as l,h,i as n,l as a}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var g=h`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|