@esri/solutions-components 1.1.0 → 1.2.0-next.1
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/{D6XWLOBU.js → 22IZH5VL.js} +3 -3
- package/dist/cdn/{ZMRMSTWH.js → 23EIVSUJ.js} +3 -3
- package/dist/cdn/{VLH6CM7M.js → 25LMHUAF.js} +3 -3
- package/dist/cdn/{ZXRM4JEP.js → 26SSUBUE.js} +3 -3
- package/dist/cdn/{J47QX26L.js → 27APFVLL.js} +3 -3
- package/dist/cdn/{MH32IF4W.js → 2CEJYF62.js} +3 -3
- package/dist/cdn/{B5PO5VTY.js → 2MVXKE3V.js} +3 -3
- package/dist/cdn/{FDAMAPG2.js → 2W53WRNR.js} +3 -3
- package/dist/cdn/{YXVNPTAG.js → 2YHT764G.js} +3 -3
- package/dist/cdn/{6BN55UJC.js → 32DRSUWP.js} +3 -3
- package/dist/cdn/35OPALGJ.js +4 -0
- package/dist/cdn/{YBTELYNL.js → 3FTD7QHK.js} +3 -3
- package/dist/cdn/{VBYNMOYE.js → 3OEDIKQ5.js} +3 -3
- package/dist/cdn/{73SD6Y3C.js → 3PXVZE5B.js} +3 -3
- package/dist/cdn/{BYTSY4W5.js → 3QPRWMXZ.js} +3 -3
- package/dist/cdn/{M6AVBUON.js → 3QZ3WO4J.js} +3 -3
- package/dist/cdn/{G3PBPFWO.js → 3RX4FKVH.js} +3 -3
- package/dist/cdn/{GM6B5U7P.js → 3UYQB5M2.js} +2 -2
- package/dist/cdn/{63LGZYFE.js → 3W7QQ6P6.js} +3 -3
- package/dist/cdn/{JUYYKVTE.js → 3X4Q46AK.js} +3 -3
- package/dist/cdn/3XLZCUHG.js +4 -0
- package/dist/cdn/{OIC5TDYB.js → 43JJ42I6.js} +3 -3
- package/dist/cdn/{VVKCAW2O.js → 4G6CGSME.js} +2 -2
- package/dist/cdn/{B2YABCF7.js → 4LOY373E.js} +3 -3
- package/dist/cdn/{UBSP4SH4.js → 4NAXXYIA.js} +3 -3
- package/dist/cdn/{PTWIQDSC.js → 4UHO6YOS.js} +3 -3
- package/dist/cdn/{GPB44MSI.js → 4VVSACXP.js} +3 -3
- package/dist/cdn/4XORBQ43.js +4 -0
- package/dist/cdn/{O56WT525.js → 4ZE7GGAS.js} +3 -3
- package/dist/cdn/{A5WNDAV3.js → 522BPYLF.js} +3 -3
- package/dist/cdn/{5SS6W6NK.js → 55L6CSSX.js} +3 -3
- package/dist/cdn/5BGGKOSZ.js +4 -0
- package/dist/cdn/{OTASRO63.js → 5D6MJQRN.js} +3 -3
- package/dist/cdn/{3JHRLX63.js → 5EYMLB42.js} +3 -3
- package/dist/cdn/{6CYD25YN.js → 5RUH4EFW.js} +3 -3
- package/dist/cdn/{AFTTIRBK.js → 653HGMN6.js} +3 -3
- package/dist/cdn/{D64WOL2G.js → 67I4BHMX.js} +3 -3
- package/dist/cdn/{TQ6ZXCIR.js → 6HBBCCOM.js} +3 -3
- package/dist/cdn/{4YJSVXJ5.js → 6O7OK3WU.js} +2 -2
- package/dist/cdn/{RRH7CX4W.js → 6PGNEYP5.js} +3 -3
- package/dist/cdn/{YWR5SHTJ.js → 6UNT5MUE.js} +2 -2
- package/dist/cdn/{EAKI67WF.js → 6VLVWAKZ.js} +2 -2
- package/dist/cdn/{CF54Q5YE.js → 736NHE3J.js} +3 -3
- package/dist/cdn/7A3C36WQ.js +4 -0
- package/dist/cdn/{O2H7SA7K.js → 7BJFXFUH.js} +3 -3
- package/dist/cdn/7G4N7AYZ.js +4 -0
- package/dist/cdn/{STXL6NIE.js → 7GIY6DUJ.js} +3 -3
- package/dist/cdn/{WDUN66AL.js → 7JXHJ3TL.js} +3 -3
- package/dist/cdn/{XVBUVOHC.js → 7KQUOMHW.js} +3 -3
- package/dist/cdn/{SMTMWRRV.js → 7PM6K4BQ.js} +2 -2
- package/dist/cdn/7WSRMZLR.js +4 -0
- package/dist/cdn/{YK2QLYVS.js → 7YHRTXQH.js} +3 -3
- package/dist/cdn/{EUKEOESV.js → 7YJKP23X.js} +3 -3
- package/dist/cdn/{3AZTP5O6.js → 7Z6VMW3R.js} +3 -3
- package/dist/cdn/{JXWALA62.js → A3HZAJRG.js} +3 -3
- package/dist/cdn/{XDM3XQ2V.js → A3QP26AQ.js} +3 -3
- package/dist/cdn/{BEXEPRS5.js → A7GDEXFK.js} +3 -3
- package/dist/cdn/{LU3PYJCN.js → AAILNBJL.js} +3 -3
- package/dist/cdn/{2CIRIU3Q.js → AFI227JI.js} +3 -3
- package/dist/cdn/{SGKUZEBX.js → AG5QKP4L.js} +3 -3
- package/dist/cdn/{DGDKGAQK.js → AJCN5TZU.js} +3 -3
- package/dist/cdn/{L3KHD2KE.js → AM6CUQET.js} +3 -3
- package/dist/cdn/{32HJ7U6I.js → AQLLIUAO.js} +3 -3
- package/dist/cdn/{JNSGECLI.js → B5HIH5BI.js} +4 -4
- package/dist/cdn/{IUEMG5YD.js → BFSMHNRA.js} +3 -3
- package/dist/cdn/{TV2CKUCU.js → BFW6A2EV.js} +3 -3
- package/dist/cdn/{KDGLKJHT.js → BGVEHDJZ.js} +3 -3
- package/dist/cdn/{XOYOBJTE.js → BH4WHSTL.js} +3 -3
- package/dist/cdn/{B4BAMNQZ.js → BMUM7THE.js} +3 -3
- package/dist/cdn/{TVUO3PT2.js → BQG7DYTH.js} +3 -3
- package/dist/cdn/{FCGQOSCY.js → BSKEER6B.js} +3 -3
- package/dist/cdn/{A7SGX5YT.js → BT7XOYF5.js} +3 -3
- package/dist/cdn/{KXTNCTMP.js → BTZUJGQZ.js} +2 -2
- package/dist/cdn/{54NFAZPM.js → BVHEKO2U.js} +3 -3
- package/dist/cdn/BVUB2SWQ.js +4 -0
- package/dist/cdn/{KCYMVFRG.js → BXINC4TL.js} +2 -2
- package/dist/cdn/{DNW5Y7XF.js → BY7JMUBE.js} +3 -3
- package/dist/cdn/{77FI7XPK.js → BYVW36VB.js} +3 -3
- package/dist/cdn/BZDKUBLK.js +4 -0
- package/dist/cdn/{3LABEKOR.js → C2CDVQOR.js} +3 -3
- package/dist/cdn/{I4WH544G.js → C4VBVF5F.js} +3 -3
- package/dist/cdn/{E3VAATPC.js → CB4NXNE5.js} +3 -3
- package/dist/cdn/{FAFYE3RG.js → CEH26EDG.js} +3 -3
- package/dist/cdn/{GEKASHAI.js → CIM646MY.js} +3 -3
- package/dist/cdn/{HMWODJBR.js → CNU3472Z.js} +3 -3
- package/dist/cdn/{CHUHLOJP.js → CP4FAI42.js} +3 -3
- package/dist/cdn/{CISIY5U6.js → CRXAZVVV.js} +3 -3
- package/dist/cdn/{XIWV3EMG.js → CVGM4QYD.js} +3 -3
- package/dist/cdn/{XUG6L42S.js → CVNJUCBY.js} +3 -3
- package/dist/cdn/{NPMQPRZI.js → CWHNHLH4.js} +3 -3
- package/dist/cdn/{CLAJ2XOW.js → CWXSLS5U.js} +3 -3
- package/dist/cdn/{ELHIFSH4.js → D2RAZUGA.js} +3 -3
- package/dist/cdn/D6SWHYCO.js +4 -0
- package/dist/cdn/{6CR3ELYN.js → DLCCT4NW.js} +3 -3
- package/dist/cdn/{KABQHXRV.js → DNJUS347.js} +3 -3
- package/dist/cdn/{T2LTMFFQ.js → DO6VOO2V.js} +3 -3
- package/dist/cdn/{FPVWCIO7.js → DQPEZQH4.js} +3 -3
- package/dist/cdn/{SBGU3NDZ.js → DRUP6BQ5.js} +3 -3
- package/dist/cdn/{OUIS7DTF.js → DSVAIF4Y.js} +2 -2
- package/dist/cdn/{GNRM32HC.js → DT6TJWI4.js} +3 -3
- package/dist/cdn/{KHHVMDSQ.js → DTHJ6RVO.js} +3 -3
- package/dist/cdn/{HLQQ6TR4.js → DW2DU6WF.js} +3 -3
- package/dist/cdn/{6GVUSF7Y.js → DYETIYXT.js} +3 -3
- package/dist/cdn/{KQ6BMUH2.js → E45HXI25.js} +3 -3
- package/dist/cdn/{VPOYZ64Q.js → E56R6ZHU.js} +3 -3
- package/dist/cdn/{LTJJAN4Y.js → EAJLTNVD.js} +3 -3
- package/dist/cdn/{G5D25KB4.js → EAJPSM6R.js} +3 -3
- package/dist/cdn/{5G7ROHGR.js → EAPSALKZ.js} +3 -3
- package/dist/cdn/{HBOQ63ZP.js → EAXDRT25.js} +3 -3
- package/dist/cdn/{G34G6TIZ.js → ECIK3AWG.js} +2 -2
- package/dist/cdn/{RPQOJQTT.js → EEH2H5FR.js} +3 -3
- package/dist/cdn/{KPBMYOZ7.js → EFN7NAAY.js} +3 -3
- package/dist/cdn/{QSAM3WTZ.js → EGSHVW4A.js} +3 -3
- package/dist/cdn/{KZKIRXHE.js → F3UCVDZ2.js} +2 -2
- package/dist/cdn/{HMYGFTDB.js → F4M6554C.js} +3 -3
- package/dist/cdn/{UWRBXQ2H.js → F4N67DYP.js} +3 -3
- package/dist/cdn/F5427EYW.js +4 -0
- package/dist/cdn/{4OJUMAO5.js → FF2RFQ4J.js} +3 -3
- package/dist/cdn/FGB6FI4J.js +4 -0
- package/dist/cdn/{2PFP4SVP.js → FKLJTSPN.js} +3 -3
- package/dist/cdn/{LHZ6WPMD.js → FPWJ6PMO.js} +3 -3
- package/dist/cdn/{PYO4MUPX.js → FTPJQUXV.js} +3 -3
- package/dist/cdn/{MADKV4CG.js → FUAAIOVV.js} +3 -3
- package/dist/cdn/{EIX5TZGC.js → FUHNVQ4J.js} +3 -3
- package/dist/cdn/{7HGENER4.js → FXHXJ4QL.js} +3 -3
- package/dist/cdn/FYDE2G2S.js +4 -0
- package/dist/cdn/{NABAVD67.js → G3KFU7YY.js} +3 -3
- package/dist/cdn/{QUA2MZPE.js → G64ULB7X.js} +3 -3
- package/dist/cdn/GDQKBGVU.js +4 -0
- package/dist/cdn/{NM2FEB5M.js → GDTOMIWL.js} +3 -3
- package/dist/cdn/{NWWECZ3X.js → GKZBYEDV.js} +3 -3
- package/dist/cdn/{G2MFQY2I.js → GO3DBAQ3.js} +3 -3
- package/dist/cdn/{F7FFT7ZB.js → GOLK3KHK.js} +3 -3
- package/dist/cdn/{2G3HCFJ7.js → GPAASHCV.js} +3 -3
- package/dist/cdn/{5PI2LBL6.js → GPN7CMKQ.js} +2 -2
- package/dist/cdn/{BZLXK5A3.js → GUQOCIWI.js} +3 -3
- package/dist/cdn/{HCNCUGZS.js → GVV6CMDT.js} +3 -3
- package/dist/cdn/{OJCMPRDV.js → GZK4P6TS.js} +3 -3
- package/dist/cdn/H3FZKBQZ.js +4 -0
- package/dist/cdn/{23S4BMNB.js → H5BCC2WI.js} +3 -3
- package/dist/cdn/H6GTBKYE.js +4 -0
- package/dist/cdn/{XTFCV5HG.js → HA35BFCM.js} +3 -3
- package/dist/cdn/{WIKE26UP.js → HAPZLAZI.js} +3 -3
- package/dist/cdn/{RTQDMFCR.js → HEQ4RTPP.js} +2 -2
- package/dist/cdn/{VRT6IWG7.js → HHE7DQNN.js} +3 -3
- package/dist/cdn/{B5FFRI4V.js → HIPPWX3F.js} +3 -3
- package/dist/cdn/{Q7PQM4SB.js → HKOPWYUS.js} +3 -3
- package/dist/cdn/{LAS2MWM5.js → HRVWEYZD.js} +3 -3
- package/dist/cdn/{EFMAKPKZ.js → HTK6SD7P.js} +3 -3
- package/dist/cdn/{HO32BNLM.js → HWZTRX65.js} +3 -3
- package/dist/cdn/{QEQTLIXM.js → HYRLUKFR.js} +3 -3
- package/dist/cdn/{STMQZU4D.js → I2HXIQGP.js} +3 -3
- package/dist/cdn/{W3Y7CW6D.js → I3GNEXKT.js} +3 -3
- package/dist/cdn/{CRPP5JXO.js → I4ZETC2J.js} +3 -3
- package/dist/cdn/{UYYJV75W.js → IBM5XI3O.js} +3 -3
- package/dist/cdn/{ITS5XU77.js → IFOFHB4W.js} +3 -3
- package/dist/cdn/{37HGSBPX.js → IHWF6T6Y.js} +3 -3
- package/dist/cdn/{SYXNXG42.js → ILI2S73E.js} +3 -3
- package/dist/cdn/{7T2EBM7A.js → IMCXSNGQ.js} +3 -3
- package/dist/cdn/{PFYUGFSL.js → IQVYADON.js} +3 -3
- package/dist/cdn/{QJ4VMFHY.js → IRGSMHZ2.js} +3 -3
- package/dist/cdn/{PPY4LTAA.js → IW3SAA7O.js} +3 -3
- package/dist/cdn/{66RUIDW2.js → IW52PVHP.js} +3 -3
- package/dist/cdn/{N5TXBTFE.js → IW5XHI5X.js} +3 -3
- package/dist/cdn/{C2K74RDX.js → J3W2N5FC.js} +3 -3
- package/dist/cdn/{ZHXAFBKY.js → JFZABKV5.js} +3 -3
- package/dist/cdn/{EMULILDA.js → JGE7H6EF.js} +3 -3
- package/dist/cdn/{M7PDEIFC.js → JKF6DMWR.js} +2 -2
- package/dist/cdn/{737LKBTG.js → JNLG6F4W.js} +2 -2
- package/dist/cdn/{POPBLQGD.js → JNMUGZK3.js} +2 -2
- package/dist/cdn/{QTR2B74Q.js → JPL6PWCI.js} +3 -3
- package/dist/cdn/{WIFVASZC.js → JPZHUXDB.js} +3 -3
- package/dist/cdn/{RYIFMIE7.js → JSDRL6ZD.js} +3 -3
- package/dist/cdn/{7CUPT6B7.js → JZ5M3XFU.js} +3 -3
- package/dist/cdn/{S3REU44G.js → K53JJQXH.js} +3 -3
- package/dist/cdn/{MFPSQMUN.js → K73RVWFQ.js} +3 -3
- package/dist/cdn/KC4VT3EZ.js +4 -0
- package/dist/cdn/{7WT26OPO.js → KJUT6QHE.js} +3 -3
- package/dist/cdn/{I5A7IN5I.js → KQ3W6U2O.js} +3 -3
- package/dist/cdn/{ENCPN6WR.js → KSKCA47T.js} +3 -3
- package/dist/cdn/{3PD2HBG5.js → KSRRTR4T.js} +3 -3
- package/dist/cdn/{AMY5TGXW.js → KXTFN2PN.js} +3 -3
- package/dist/cdn/{N4BEAJUM.js → KZGCFGXP.js} +10 -5
- package/dist/cdn/{Z7I2RSQY.js → L2KCAISR.js} +3 -3
- package/dist/cdn/{BD4Z5LKE.js → L4A7ZXML.js} +3 -3
- package/dist/cdn/{QOQCIJ52.js → L7QPZ7RC.js} +10 -10
- package/dist/cdn/{J6MD6K4M.js → LB6KC3G5.js} +3 -3
- package/dist/cdn/{VRZO33HJ.js → LC5MX3Y5.js} +3 -3
- package/dist/cdn/{HGNTIYQT.js → LFVIZYTM.js} +2 -2
- package/dist/cdn/{VIKAFJOW.js → LGL4DYMW.js} +3 -3
- package/dist/cdn/{6HYASXTD.js → LHLMGRPK.js} +3 -3
- package/dist/cdn/{UL5SFE3L.js → LJMZ6FUS.js} +3 -3
- package/dist/cdn/{2LIVMQO2.js → LK4URP54.js} +3 -3
- package/dist/cdn/{2KKFZ7KY.js → LLTDCAVX.js} +3 -3
- package/dist/cdn/{LGLWUNU4.js → LNB7BGSN.js} +3 -3
- package/dist/cdn/LPLIW3W4.js +18 -0
- package/dist/cdn/{UQVZXYNW.js → LRQNOIGC.js} +3 -3
- package/dist/cdn/{SJZ7QSP6.js → LY6EPL2S.js} +3 -3
- package/dist/cdn/{WCNIUU7L.js → LY7L2GZL.js} +3 -3
- package/dist/cdn/{K6GQIHMH.js → LYCCIBXG.js} +3 -3
- package/dist/cdn/{6TV3KIXK.js → MAJWJ4QY.js} +3 -3
- package/dist/cdn/{AFHWOLNP.js → MBAMULPA.js} +3 -3
- package/dist/cdn/{R5P4ZBIZ.js → MBZJ3EX7.js} +3 -3
- package/dist/cdn/{TECM5QWP.js → MFQXVNXI.js} +3 -3
- package/dist/cdn/{TL4JJSFM.js → MFYT2IIR.js} +3 -3
- package/dist/cdn/{DFS7UUPH.js → MGLOK6G6.js} +2 -2
- package/dist/cdn/{7JFSYU6C.js → MGQ7JXPR.js} +3 -3
- package/dist/cdn/{3O2T33CU.js → MGWW6MPC.js} +3 -3
- package/dist/cdn/{Y5WIF3RY.js → MJW4C2UT.js} +3 -3
- package/dist/cdn/MPAC6ACP.js +4 -0
- package/dist/cdn/{OVL7QMZH.js → MXVQWNSO.js} +3 -3
- package/dist/cdn/{GNTR7EXR.js → MZKLKS6I.js} +3 -3
- package/dist/cdn/{ABUXWFTT.js → N6QQZFT5.js} +3 -3
- package/dist/cdn/{XOCIK5BM.js → NBOCMHX6.js} +3 -3
- package/dist/cdn/{5MIJQHLO.js → ND2C6KMG.js} +3 -3
- package/dist/cdn/{I37HZ5SF.js → NE6U33BE.js} +3 -3
- package/dist/cdn/{34LPRBJE.js → NHLT7M36.js} +4 -4
- package/dist/cdn/{ZYNT7ILM.js → NLUZGNSN.js} +3 -3
- package/dist/cdn/{AIH4IM4R.js → NYBXXXFR.js} +2 -2
- package/dist/cdn/OADOYFV7.js +4 -0
- package/dist/cdn/{TSJRADBL.js → OBBAK6WE.js} +3 -3
- package/dist/cdn/{4CQVWVRQ.js → OBSNNREX.js} +3 -3
- package/dist/cdn/{2BQCOVME.js → OD3QTJAN.js} +3 -3
- package/dist/cdn/{KEFZ5YNV.js → OFNTBPZ5.js} +3 -3
- package/dist/cdn/{DMQN2SPN.js → OJZCK5XA.js} +3 -3
- package/dist/cdn/{2J6BGZWE.js → OTLPAZXI.js} +3 -3
- package/dist/cdn/{3WWK4QH7.js → OTY43NZY.js} +3 -3
- package/dist/cdn/{B5TRNVXS.js → OVM4U6YF.js} +3 -3
- package/dist/cdn/{KFZSBDTM.js → OXUROQRO.js} +2 -2
- package/dist/cdn/{FXCOD63W.js → OYNJ6GFI.js} +2 -2
- package/dist/cdn/{H5AWEVBV.js → P2ZBSU5H.js} +3 -3
- package/dist/cdn/{LNLTESOF.js → PFANUBNV.js} +3 -3
- package/dist/cdn/{UXBAVP5Z.js → PLW2DSVT.js} +2 -2
- package/dist/cdn/{PWR2V4FP.js → PNLI6VBN.js} +3 -3
- package/dist/cdn/{JN54IUSM.js → PQFMMRQF.js} +3 -3
- package/dist/cdn/{L6IAJ72L.js → PYOCFNFS.js} +2 -2
- package/dist/cdn/{PSGW263P.js → PZCE22XQ.js} +3 -3
- package/dist/cdn/{KHFJW53Q.js → PZH7RCYT.js} +2 -2
- package/dist/cdn/{4FKOEYT7.js → Q274TR3Z.js} +3 -3
- package/dist/cdn/{ZVEZP7FG.js → Q5KPFPGD.js} +3 -3
- package/dist/cdn/{2XTYWT3B.js → QAPZIGZM.js} +3 -3
- package/dist/cdn/{J2M33U55.js → QAXMDQX3.js} +3 -3
- package/dist/cdn/{WIBEUGB3.js → QFL5XFOY.js} +3 -3
- package/dist/cdn/{AA5OWGXP.js → QKV74IV3.js} +3 -3
- package/dist/cdn/{Q4UWG3UN.js → QQ5C5WOS.js} +3 -3
- package/dist/cdn/{UIUUSTJI.js → QSZDH2XJ.js} +3 -3
- package/dist/cdn/{P4QP3FN6.js → QVDUABX7.js} +3 -3
- package/dist/cdn/{ZD2NK7QI.js → QZC5UTRX.js} +3 -3
- package/dist/cdn/{7ODMOYJD.js → R474NPB2.js} +3 -3
- package/dist/cdn/{UMADWE7A.js → RCWPPZIY.js} +3 -3
- package/dist/cdn/RF6B6MW7.js +18 -0
- package/dist/cdn/{3WJFXADS.js → RLSD2M4U.js} +2 -2
- package/dist/cdn/{IWBODHPW.js → RN2IQ6P7.js} +3 -3
- package/dist/cdn/{IWW5ZJYG.js → ROASTLYA.js} +2 -2
- package/dist/cdn/{6NWHOOTK.js → RQBPWWL2.js} +2 -2
- package/dist/cdn/{L2LNLN2J.js → RQETMS6H.js} +3 -3
- package/dist/cdn/{NDCEYZWS.js → RSTCU2L3.js} +2 -2
- package/dist/cdn/{O4VMCJVT.js → RTNMZG5Q.js} +3 -3
- package/dist/cdn/RXM4HJ6I.js +4 -0
- package/dist/cdn/{7UCBWXL5.js → S2BUTHI2.js} +3 -3
- package/dist/cdn/{UOQT6ENI.js → S6Q334DO.js} +3 -3
- package/dist/cdn/{3MPDK4WK.js → S7RSY7HH.js} +3 -3
- package/dist/cdn/{7XJEVL4H.js → SB2P3KLH.js} +3 -3
- package/dist/cdn/{R54KEIUU.js → SBV7BWCP.js} +3 -3
- package/dist/cdn/{DTDQRALM.js → SIE6CDNG.js} +2 -2
- package/dist/cdn/{UO3LLU6M.js → SKBIH7Z2.js} +3 -3
- package/dist/cdn/{VAFHXQDA.js → SNTUWGY2.js} +3 -3
- package/dist/cdn/{IZ3E7B3U.js → SS34O6SJ.js} +2 -2
- package/dist/cdn/{DFGZSNVP.js → SWN5VSPM.js} +3 -3
- package/dist/cdn/{3JNOCCQ5.js → SZAH6PQP.js} +3 -3
- package/dist/cdn/T2S7EWB5.js +4 -0
- package/dist/cdn/{65W7HSK5.js → T2ZLWCLC.js} +3 -3
- package/dist/cdn/{YQCVFX4Z.js → TCPVLIO2.js} +3 -3
- package/dist/cdn/{RAGAUFN5.js → TGDGVXKT.js} +3 -3
- package/dist/cdn/{SMB3FN37.js → TNFKJE4M.js} +3 -3
- package/dist/cdn/{52OASXL7.js → TO4XC5SF.js} +3 -3
- package/dist/cdn/{TPNMSWQT.js → TPMHGYOD.js} +3 -3
- package/dist/cdn/{HBEIE66Z.js → TTADVCT4.js} +3 -3
- package/dist/cdn/{HEHSIXHI.js → TXTZQIXU.js} +3 -3
- package/dist/cdn/{BDGS3VJY.js → TXV3OSVN.js} +3 -3
- package/dist/cdn/{BMJZ7SJU.js → U3NL7FT6.js} +3 -3
- package/dist/cdn/{Q5GAJOPN.js → U4JDQFDS.js} +3 -3
- package/dist/cdn/{VJVK7CEI.js → U63ZSVX5.js} +2 -2
- package/dist/cdn/{AOXMRIER.js → U6X3W2T2.js} +3 -3
- package/dist/cdn/{NZFFMH5C.js → UCXPZD52.js} +3 -3
- package/dist/cdn/{TWXPA723.js → UG6Y6SUL.js} +3 -3
- package/dist/cdn/{NNQ5VAQF.js → UK6IC5E3.js} +2 -2
- package/dist/cdn/{IYTOH2LC.js → UMBJBGPS.js} +3 -3
- package/dist/cdn/{5RWKIDK3.js → UNZ4TB2U.js} +3 -3
- package/dist/cdn/UQ33VZUS.js +4 -0
- package/dist/cdn/{NZVQGLFO.js → UU4ZDJVO.js} +3 -3
- package/dist/cdn/{MX6FACCZ.js → V5UDKO3L.js} +2 -2
- package/dist/cdn/{Y5LQVUYC.js → VDJEIK4Q.js} +5 -5
- package/dist/cdn/{E6WOGJ7F.js → VE7TDW2K.js} +3 -3
- package/dist/cdn/{PAKHX3I6.js → VNA2COY6.js} +2 -2
- package/dist/cdn/{FFTVUIP7.js → VZLWG2KJ.js} +3 -3
- package/dist/cdn/{22OA2X7F.js → W34PKOJS.js} +3 -3
- package/dist/cdn/{KVXSGN5R.js → W3EZRLCH.js} +3 -3
- package/dist/cdn/{LVUNXO2O.js → W3X6SZND.js} +3 -3
- package/dist/cdn/{LWMOWGIK.js → W7TKP6V5.js} +2 -2
- package/dist/cdn/{T7MHCIUS.js → WAQDYC7I.js} +3 -3
- package/dist/cdn/{GPZYE77D.js → WL2HLYRG.js} +3 -3
- package/dist/cdn/{3MC7JXDY.js → WMIGKGLJ.js} +3 -3
- package/dist/cdn/WPRGEX3Q.js +4 -0
- package/dist/cdn/WQMZCCTG.js +4 -0
- package/dist/cdn/{VLOZ5FU3.js → WRPJ4GDB.js} +3 -3
- package/dist/cdn/{IQUWACDD.js → WWT2VJFI.js} +3 -3
- package/dist/cdn/{7UNMXF34.js → WXCJRGZG.js} +3 -3
- package/dist/cdn/{KZZHJTPP.js → X4XPW2FK.js} +3 -3
- package/dist/cdn/{CB76NLMT.js → X6PEX6MA.js} +3 -3
- package/dist/cdn/{OTMGXPHO.js → X6PG67VX.js} +3 -3
- package/dist/cdn/{CAQOBV5A.js → X6SSAB2E.js} +3 -3
- package/dist/cdn/{27OQI5JT.js → X6Y2CG22.js} +3 -3
- package/dist/cdn/{57NVVPZ6.js → X7BDUXYU.js} +3 -3
- package/dist/cdn/{XRC6NCOB.js → XAHRAKUG.js} +3 -3
- package/dist/cdn/{KLZMOMHU.js → XBBZMVKA.js} +3 -3
- package/dist/cdn/XHQ34X3G.js +4 -0
- package/dist/cdn/{PT5AV3WQ.js → XIAOC6XW.js} +2 -2
- package/dist/cdn/{TQIQUUNR.js → XIXNLRAQ.js} +2 -2
- package/dist/cdn/{M23LVYVA.js → XJ62F4NL.js} +2 -2
- package/dist/cdn/{G27RLQ73.js → XK5FC7XQ.js} +3 -3
- package/dist/cdn/{5VLZX43L.js → XQSYZIRC.js} +3 -3
- package/dist/cdn/{J6BTZ55D.js → XRPPXHNC.js} +3 -3
- package/dist/cdn/{46SKFEV5.js → XXDPF2HK.js} +3 -3
- package/dist/cdn/{OM24RA5F.js → XYSEGG7Q.js} +3 -3
- package/dist/cdn/{RQHMM2TV.js → XZSRLA3D.js} +3 -3
- package/dist/cdn/{GFUALEHA.js → Y3S2FSFT.js} +3 -3
- package/dist/cdn/{WX6BU4WB.js → Y74KYB73.js} +3 -3
- package/dist/cdn/{N7VU2XX4.js → YHURTADW.js} +3 -3
- package/dist/cdn/{77NM6UZI.js → YNNECUYO.js} +3 -3
- package/dist/cdn/{FQHTZYT7.js → YO25MEEB.js} +3 -3
- package/dist/cdn/YQNHBPTC.js +4 -0
- package/dist/cdn/{U3VSDXKL.js → Z44XX64I.js} +3 -3
- package/dist/cdn/{L42OF72U.js → Z4SN7DKN.js} +3 -3
- package/dist/cdn/{3S2J6YOU.js → ZAGSKRBT.js} +3 -3
- package/dist/cdn/{SYOBCQGB.js → ZD7TFS7W.js} +3 -3
- package/dist/cdn/{DVFWIJKG.js → ZHHNANTF.js} +3 -3
- package/dist/cdn/{6RIMAYT3.js → ZHUFA7F3.js} +3 -3
- package/dist/cdn/{JZXCUVBD.js → ZKTXJLE2.js} +3 -3
- package/dist/cdn/{USRMDL2X.js → ZRW2OJ4E.js} +3 -3
- package/dist/cdn/{6QX7DZ4M.js → ZUOIOELU.js} +3 -3
- package/dist/cdn/{XLR4XEQX.js → ZWMQNYU4.js} +3 -3
- package/dist/cdn/{GDSDHDUW.js → ZYJNP3QC.js} +3 -3
- package/dist/cdn/index.js +3 -3
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/CardsFetcher.js +2 -2
- package/dist/chunks/appConfig.js +2 -2
- package/dist/chunks/cardFetchingUtils.js +2 -2
- package/dist/chunks/cardsHelpers.js +2 -2
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +2 -2
- package/dist/chunks/downloadUtils.js +2 -2
- package/dist/chunks/getItemIcon.js +2 -2
- package/dist/chunks/helpers.js +2 -2
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/loadModules.js +2 -2
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +2 -2
- package/dist/chunks/popupUtils.js +2 -2
- package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationContext.js +2 -2
- package/dist/chunks/queryUtils.js +2 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/solution-store.js +2 -2
- package/dist/chunks/templates.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/components/arcgis-solutions-assistant/customElement.js +2 -2
- package/dist/components/basemap-gallery/customElement.js +2 -2
- package/dist/components/buffer-tools/customElement.js +2 -2
- package/dist/components/card-manager/customElement.js +2 -2
- package/dist/components/consent-manager/customElement.js +2 -2
- package/dist/components/create-feature/customElement.js +2 -2
- package/dist/components/create-related-feature/customElement.js +2 -2
- package/dist/components/crowdsource-manager/customElement.js +8 -8
- package/dist/components/crowdsource-reporter/customElement.js +2 -2
- package/dist/components/deduct-calculator/customElement.js +2 -2
- package/dist/components/delete-button/customElement.js +2 -2
- package/dist/components/delete-dialog/customElement.js +2 -2
- package/dist/components/edit-card/customElement.js +2 -2
- package/dist/components/feature-details/customElement.js +2 -2
- package/dist/components/feature-list/customElement.js +2 -2
- package/dist/components/field-selection/customElement.js +2 -2
- package/dist/components/floor-filter/customElement.js +2 -2
- package/dist/components/info-card/customElement.js +2 -2
- package/dist/components/json-editor/customElement.js +2 -2
- package/dist/components/layer-list/customElement.js +2 -2
- package/dist/components/layer-table/customElement.js +2 -2
- package/dist/components/map-card/customElement.d.ts +1 -1
- package/dist/components/map-card/customElement.js +3 -3
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +2 -2
- package/dist/components/map-layer-picker/customElement.js +2 -2
- package/dist/components/map-legend/customElement.js +2 -2
- package/dist/components/map-picker/customElement.js +2 -2
- package/dist/components/map-search/customElement.js +2 -2
- package/dist/components/map-select-tools/customElement.js +2 -2
- package/dist/components/map-tools/customElement.d.ts +1 -1
- package/dist/components/map-tools/customElement.js +3 -3
- package/dist/components/pci-calculator/customElement.js +2 -2
- package/dist/components/pdf-download/customElement.js +2 -2
- package/dist/components/public-notification/customElement.js +2 -2
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +2 -2
- package/dist/components/solution-article-card/customElement.js +2 -2
- package/dist/components/solution-configuration/customElement.js +2 -2
- package/dist/components/solution-configure-dialog/customElement.js +2 -2
- package/dist/components/solution-configure-titles/customElement.js +2 -2
- package/dist/components/solution-contents/customElement.js +2 -2
- package/dist/components/solution-delete-dialog/customElement.js +2 -2
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +2 -2
- package/dist/components/solution-deploying-dialog/customElement.js +2 -2
- package/dist/components/solution-details-card/customElement.js +2 -2
- package/dist/components/solution-details-panel/customElement.js +2 -2
- package/dist/components/solution-item/customElement.js +2 -2
- package/dist/components/solution-item-accordion/customElement.js +2 -2
- package/dist/components/solution-item-details/customElement.js +2 -2
- package/dist/components/solution-item-diagram/customElement.js +102 -98
- package/dist/components/solution-item-icon/customElement.js +2 -2
- package/dist/components/solution-item-sharing/customElement.js +2 -2
- package/dist/components/solution-organization-variables/customElement.js +2 -2
- package/dist/components/solution-resource-item/customElement.js +2 -2
- package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
- package/dist/components/solution-social-share/customElement.js +2 -2
- package/dist/components/solution-spatial-ref/customElement.js +2 -2
- package/dist/components/solution-template-data/customElement.js +2 -2
- package/dist/components/solution-variables/customElement.js +2 -2
- package/dist/components/solutions-all-panel/customElement.js +2 -2
- package/dist/components/solutions-all-shell/customElement.js +2 -2
- package/dist/components/solutions-article-panel/customElement.js +2 -2
- package/dist/components/solutions-articles/customElement.js +2 -2
- package/dist/components/solutions-articles-shell/customElement.js +2 -2
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +2 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +2 -2
- package/dist/components/solutions-deployed-panel/customElement.js +2 -2
- package/dist/components/solutions-deployed-shell/customElement.js +2 -2
- package/dist/components/solutions-filter-panel/customElement.js +2 -2
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +2 -2
- package/dist/components/store-manager/customElement.js +2 -2
- package/dist/docs/api.json +6 -6
- package/dist/docs/docs.json +4 -4
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +2 -2
- package/dist/loader.js +2 -2
- package/package.json +6 -6
- package/dist/cdn/2ZJRDJJK.js +0 -4
- package/dist/cdn/3WH4NYCV.js +0 -18
- package/dist/cdn/6ELJSTOG.js +0 -4
- package/dist/cdn/6WB4Q4JY.js +0 -4
- package/dist/cdn/7BXNJPWD.js +0 -4
- package/dist/cdn/BE572B5U.js +0 -4
- package/dist/cdn/BSIAQJUA.js +0 -4
- package/dist/cdn/DCWBNROW.js +0 -4
- package/dist/cdn/E7R7Q7EG.js +0 -4
- package/dist/cdn/EXVYTJWZ.js +0 -4
- package/dist/cdn/GJFL7VU5.js +0 -4
- package/dist/cdn/GWXJIXZK.js +0 -4
- package/dist/cdn/I6EXN7WV.js +0 -4
- package/dist/cdn/IN6U55HN.js +0 -4
- package/dist/cdn/JY3NCY33.js +0 -4
- package/dist/cdn/K4CXKC7Z.js +0 -4
- package/dist/cdn/KM3EU4G7.js +0 -4
- package/dist/cdn/NFBVFXNO.js +0 -4
- package/dist/cdn/PZJBWNEZ.js +0 -4
- package/dist/cdn/PZWKB64K.js +0 -4
- package/dist/cdn/R5WVUHHQ.js +0 -18
- package/dist/cdn/SA6PEP6X.js +0 -4
- package/dist/cdn/SFWX3UGH.js +0 -4
- package/dist/cdn/TYLEZAG2.js +0 -4
- package/dist/cdn/UJH4XQR3.js +0 -4
- package/dist/cdn/WLLF2K4A.js +0 -4
- package/dist/cdn/XWQ6H7GZ.js +0 -4
- package/dist/cdn/ZFY3PCIZ.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{e,f as t}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{e,f as t}from"./JKF6DMWR.js";import"./7PM6K4BQ.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{a as m}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{a as m}from"./EFN7NAAY.js";import{a as p}from"./25LMHUAF.js";import"./QVDUABX7.js";import"./PYOCFNFS.js";import"./ECIK3AWG.js";import"./ROASTLYA.js";import{a,b as n}from"./5RUH4EFW.js";import"./PQFMMRQF.js";import"./Y3S2FSFT.js";import"./UCXPZD52.js";import{a as r}from"./UU4ZDJVO.js";import{a as s}from"./KSRRTR4T.js";import"./UMBJBGPS.js";import"./XJ62F4NL.js";import"./6VLVWAKZ.js";import"./5BGGKOSZ.js";import"./JNMUGZK3.js";import{a as i}from"./FUHNVQ4J.js";import"./22IZH5VL.js";import"./7BJFXFUH.js";import"./U63ZSVX5.js";import"./IMCXSNGQ.js";import"./MGLOK6G6.js";import"./RSTCU2L3.js";import"./522BPYLF.js";import"./HEQ4RTPP.js";import"./EAJPSM6R.js";import"./XYSEGG7Q.js";import"./E45HXI25.js";import"./LB6KC3G5.js";import"./XXDPF2HK.js";import"./OTLPAZXI.js";import"./OFNTBPZ5.js";import"./ZWMQNYU4.js";import"./5EYMLB42.js";import"./RN2IQ6P7.js";import"./RQETMS6H.js";import"./LFVIZYTM.js";import"./JKF6DMWR.js";import"./XIXNLRAQ.js";import"./7PM6K4BQ.js";var g=async(e,t,l)=>{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"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.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.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import a from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import a from"./U3NL7FT6.js";import{m as i,o as c}from"./SS34O6SJ.js";export default $arcgis.t(([{c:d}])=>{async function I(r,s,o,e,t=c,a="created",l="desc",u=!1,f=[],g=[],m){if(!r?.IsSignedIn)return;let n={q:t,filter:"type:Solution",sortField:a,sortOrder:l,delay:u,categories:f};return n.q+=p(r,m),await y(s,n,e,g)}function p(r,s){let o="",e=r.PortalUserOrg,t=r.PortalUserName;return e&&(o+=" orgid:"+e),s!==i.ORGANIZATION&&t&&(o+=" owner:"+t),o}async function y(r,s,o,e){let t=await o.requestDeployedSolutionCards(s,r),a=d(t.cards,e);return{cards:t.cards,relatedSolutions:a}}return I},a)
|
|
@@ -0,0 +1,4 @@
|
|
|
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.1 */
|
|
4
|
+
import a from"./7GIY6DUJ.js";export default $arcgis.t(([t])=>{var a=t({data:{},relationshipRampExpandStates:{},compact:!1}),o=a.state;a.onChange;var s=a;return{a:o,b:s}},a)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{a as D}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{a as D}from"./6UNT5MUE.js";import{a as P}from"./PZCE22XQ.js";import{a as C,d as I}from"./VDJEIK4Q.js";import"./JSDRL6ZD.js";import"./X4XPW2FK.js";import"./F3UCVDZ2.js";import"./OVM4U6YF.js";import"./IRGSMHZ2.js";import"./FYDE2G2S.js";import"./NYBXXXFR.js";import"./SIE6CDNG.js";import"./QVDUABX7.js";import"./PYOCFNFS.js";import"./ECIK3AWG.js";import"./ROASTLYA.js";import"./Y3S2FSFT.js";import"./UCXPZD52.js";import"./UMBJBGPS.js";import"./XJ62F4NL.js";import"./6VLVWAKZ.js";import"./5BGGKOSZ.js";import"./JNMUGZK3.js";import"./HEQ4RTPP.js";import"./GPN7CMKQ.js";import"./RLSD2M4U.js";import{g as E,j as T}from"./XQSYZIRC.js";import{c as l,e as r,f as c}from"./SS34O6SJ.js";import"./XIAOC6XW.js";import{b as x}from"./OYNJ6GFI.js";import{a as L}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as $,c as k}from"./GDQKBGVU.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"./BXINC4TL.js";import"./7PM6K4BQ.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
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{b as c}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{b as c}from"./3XLZCUHG.js";import{E as n,h as s,i as r,o as i,r as o}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var h=`
|
|
5
5
|
.ck.ck-reset.ck-editor.ck-rounded-corners {
|
|
6
6
|
margin-top: 10px !important;
|
|
7
7
|
margin-left: 55px !important;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{l as c}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{l as c}from"./QVDUABX7.js";import{a as o}from"./JNMUGZK3.js";import{a as n}from"./LFVIZYTM.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{w as a}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{w as a}from"./UMBJBGPS.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{e as l,f as o}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{e as l,f as o}from"./OVM4U6YF.js";import{d as g}from"./SIE6CDNG.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{a as yt}from"./DFGZSNVP.js";import{a as L}from"./KXTNCTMP.js";import{a as G}from"./GWXJIXZK.js";import{c as J,n as X,t as K,z as Q}from"./U3VSDXKL.js";import{b as q}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{C as m,D as d,E as j,G as h,h as V,i as c,l as $,o as z}from"./KCYMVFRG.js";import{d as vt}from"./SMTMWRRV.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function T(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=w(window.getComputedStyle(document.documentElement)),v))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function F(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function R(e,t){return`data:${t};base64,${e}`}async function D(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await D(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=R(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=R(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function A(e){return e.search(ot)!==-1}async function k(e,t,i){if(!A(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>B(r,t));await Promise.all(n).then(()=>e)}async function B(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),D(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(x=>ht(x,t)).then(x=>dt(x).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(xt){console.error("Error inserting rule from remote css",{rule:I,error:xt})}})).catch(x=>{console.error("Error loading remote css",x.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>A(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
|
|
5
|
-
`)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=F(e,t),r=await P(e,t,!0);return await gt(r,t),await B(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=F(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,x=t.canvasHeight||n;return a.width=f*p,a.height=x*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${x}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{a as yt}from"./SWN5VSPM.js";import{a as L}from"./BTZUJGQZ.js";import{a as G}from"./RXM4HJ6I.js";import{c as J,n as X,t as K,z as Q}from"./Z44XX64I.js";import{b as j}from"./3XLZCUHG.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{C as m,D as d,E as z,G as h,h as V,i as c,l as I,o as q}from"./BXINC4TL.js";import{d as vt}from"./7PM6K4BQ.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function T(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=w(window.getComputedStyle(document.documentElement)),v))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function F(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function $t(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function R(e,t){return`data:${t};base64,${e}`}async function D(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function It(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=It(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await D(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),$t(o)));r=R(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ut(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ht(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ut(e,t),Ht(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,qt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function zt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function jt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=R(p,a)}else o=await E(s,a,n);return e.replace(zt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(qt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function A(e){return e.search(ot)!==-1}async function k(e,t,i){if(!A(e))return e;let n=Jt(e,i);return jt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>B(r,t));await Promise.all(n).then(()=>e)}async function B(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),D(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(x=>ht(x,t)).then(x=>dt(x).forEach($=>{try{r.insertRule($,$.startsWith("@import")?o+=1:r.cssRules.length)}catch(xt){console.error("Error inserting rule from remote css",{rule:$,error:xt})}})).catch(x=>{console.error("Error loading remote css",x.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>A(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
|
|
5
|
+
`)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=F(e,t),r=await P(e,t,!0);return await gt(r,t),await B(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=F(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,x=t.canvasHeight||n;return a.width=f*p,a.height=x*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${x}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function U(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var O=vt(yt(),1);var ie=`
|
|
6
6
|
@media print {
|
|
7
7
|
@page {
|
|
8
8
|
size: Portrait;
|
|
9
9
|
margin: .25in;
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
body {
|
|
13
|
+
background: #fff;
|
|
14
|
+
overflow: unset;
|
|
15
|
+
}
|
|
11
16
|
|
|
12
17
|
html, body {
|
|
13
18
|
padding: 0;
|
|
@@ -377,4 +382,4 @@ import{a as yt}from"./DFGZSNVP.js";import{a as L}from"./KXTNCTMP.js";import{a as
|
|
|
377
382
|
|
|
378
383
|
.screenshot-img-container calcite-button {
|
|
379
384
|
margin: 5px;
|
|
380
|
-
}`,re=V`:host{display:block;--instant-apps-export-action-background: var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-export-action-background-press: var(--calcite-color-foreground-3);--instant-apps-export-action-height: 100%;--instant-apps-export-action-width: fit-content;--instant-apps-export-action-icon-color: var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-export-background: var(--calcite-color-foreground-1);--instant-apps-export-text-color: var(--calcite-color-text-1);--instant-apps-export-popover-width: 250px;--instant-apps-export-button-text-dark-hover-color: #fff}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1: var(--instant-apps-export-action-background);--calcite-color-foreground-2: var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3: var(--instant-apps-export-action-background-press);--calcite-color-text-3: var(--instant-apps-export-action-icon-color);--calcite-color-text-1: var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1: var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1: var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1: #fff;--calcite-color-foreground-2: #f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:.5rem}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover: #fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1: #2b2b2b;--calcite-color-foreground-2: #202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px #0000004d}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}`,l={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewWrapper:"instant-apps-export-print__view-wrapper",attribution:"instant-apps-export-print__attribution"}},U="instant-app-export-drag",W=class extends j{constructor(){super(...arguments),this._messages=G({name:"instant-apps-export",blocking:!0}),this.compassContainerEl=m(),this.extraContainerEl=m(),this.popoverEl=m(),this.popupContainerEl=m(),this.popupContentEl=m(),this.popupTitleEl=m(),this.printContainerEl=m(),this.printEl=m(),this.scaleBarContainerEl=m(),this.viewWrapperEl=m(),this.viewContainerEl=m(),this.viewEl=m(),this.attributionEl=m(),this.baseClass=l.baseLight,this.exportIsLoading=void 0,this.allowedFileTypes=["PDF","JPG","PNG"],this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.headerTitle="",this.logoImage="",this.mapAltText="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.exportOutputUpdated=z()}static{this.properties={baseClass:16,exportIsLoading:16,selectedFileType:16,allowedFileTypes:0,output:0,beforeExport:0,popoverIcon:1,extraContent:0,extraContentLabel:1,headerTitle:1,logoImage:1,logoAltText:1,mapAltText:1,includeExtraContent:5,showExtraContentInImg:5,includeLegend:5,includeMap:5,includePopup:5,includeFileFormat:5,mode:3,popoverPositioning:1,popoverPlacement:1,scale:1,showHeaderTitle:5,showIncludeLegend:5,showIncludeMap:5,showIncludePopup:5,showScaleBar:5,view:0,maskBackground:1,maskBorder:1,defaultFileType:1}}static{this.styles=re}async load(){this.selectedFileType=this.getDefaultFileType(),this.pdfIncludeMap=this.includeMap,this.baseClass=L(this.el)==="dark"?l.baseDark:l.baseLight,await this.initializeModules()}willUpdate(t){t.has("view")?this.handleIncludePopup():t.has("allowedFileTypes")&&(this.allowedFileTypes?.length||(this.allowedFileTypes=["PDF","JPG","PNG"]),this.selectedFileType=this.getDefaultFileType())}loaded(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.handleIncludePopup())}getDefaultFileType(){return this.defaultFileType??this.allowedFileTypes?.[0]??"PDF"}async initializeModules(){let t=await Q();this.handles=await J(),this.reactiveUtils=t}optionOnChange(t){let i=t.target,n=i.value;this[n]=i.checked,this.updateExportOutput()}updateHeaderTitle(t){let i=t.target;this.headerTitle=i.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1)}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1)}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let i=this.headerTitle??document.title,n=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${i}.${n}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.view?(this.addPrintStyling(),this.printEl.value&&document.body.prepend(this.printEl.value),this.handleExtraContent(),this.includeMap?(this.updateAttribution(),this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):this.popoverEl.value&&(this.popoverEl.value.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=ie,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl.value)return;let t=this.printEl.value.querySelector("#export-content");if(t){t.innerHTML="";let i=this.extraContent&&this.includeExtraContent,n=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&i;this.printEl.value.classList.toggle(l.print.imgExtraContent,n),i?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.value.classList.toggle(l.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl.value)return;this.screenshot=null,this.printContainerEl.value?.prepend(this.printEl.value),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.value.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl.value||!this.printEl.value)return;this.popupContainerEl.value.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.value.classList.toggle(l.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let i=document.createElement(`h${this.view?.popup?.headingLevel??2}`);i.innerHTML=this.view?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl.value?(this.popupTitleEl.value.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.value.innerHTML="",this.popupTitleEl.value.prepend(i)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.value.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){/^((?!chrome|android).)*safari/iu.test(navigator?.userAgent)?await this.handleSafariToImage():await this.handleToImage()}async handleSafariToImage(){if(!this.printEl.value)return;let t={allowTaint:!0,logging:!1},i=this.selectedFileType==="PNG"?"image/png":"image/jpeg",n="";try{n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}catch{this.logoImage=void 0;let r=500;await new Promise(s=>setTimeout(s,r)),n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}finally{this.handleSetupImage(n)}}async handleToImage(){if(!this.printEl.value)return;let t={backgroundColor:"#FFF",skipFonts:!0},i="";try{this.selectedFileType==="JPG"?i=await H(this.printEl.value,t):i=await wt(this.printEl.value,t)}catch{this.logoImage=void 0;let n=500;await new Promise(r=>setTimeout(r,n)),i=await H(this.printEl.value,t)}finally{this.handleSetupImage(i)}}handleSetupImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,i=>{this.settingMapArea||(this.includePopup=i)}),t)})}handleLegendContainer(t){this.legendContainerEl=t,this.updateLegend()}handleLegendCreation(){if(this.view&&this.showIncludeLegend&&this.legendContainerEl){let t=this.view.map,i=this.legend?.view?.map;t?.portalItem?.id&&t?.portalItem?.id===i?.portalItem?.id||this.updateLegend()}}updateLegend(){this.view?.when(async t=>{if(!this.legendContainerEl)return;this.legendContainerEl.innerHTML="";let i=document.createElement("div");this.legendContainerEl.append(i),this.legend!=null?(this.legend.container=i,this.legend.view=t):this.legend=await K({container:i,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})})}handleCompassCreation(){if(this.view&&this.compassContainerEl.value){let t=this.view.map,i=this.compass?.view?.map;t?.portalItem?.id===i?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let i=document.createElement("div");this.compassContainerEl.value?.append(i),this.compass=await X({container:i,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl.value&&this.view&&(this.scaleBarContainerEl.value.innerHTML="",this.showScaleBar)){let t=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));t?.container&&typeof t.container!="string"&&this.scaleBarContainerEl.value.append(t.container.cloneNode(!0))}}updateAttribution(){if(!this.attributionEl.value||!this.view)return;this.attributionEl.value.innerHTML="";let t=this.view.ui.find("attribution");if(!t?.attributionText)return;let i=t.viewModel.items.map(r=>this.getAttributionText(r)).filter((r,s,a)=>!!r&&a.indexOf(r)===s),n=" | ";this.attributionEl.value.innerHTML=i.join(n)}getAttributionText(t){if(!t.text)return"";let i=t.text,n=t.layerView.layer,r="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let s=n.portalItem;if(s.accessInformation&&i===s.accessInformation)return i.replace(s.accessInformation,r)}return i}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl.value&&this.viewWrapperEl.value)){let{height:t,width:i}=this.screenshot.data;t>i?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.value.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl.value&&(this.printEl.value.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.value&&(this.viewEl.value.style.height="100%",this.viewEl.value.style.width=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="100%",this.viewWrapperEl.value.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl.value&&(this.printEl.value.style.gridTemplateRows=""),this.viewEl.value&&(this.viewEl.value.style.width="100%",this.viewEl.value.style.height=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="fit-content",this.viewWrapperEl.value.style.width="100%")}checkPopupOpen(){if(this.view){let t=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(t&&this.popupContentEl.value){let i=t.querySelectorAll("canvas");this.popupContentEl.value.innerHTML="",this.popupContentEl.value.append(t.cloneNode(!0));let n=this.popupContentEl.value.querySelectorAll("canvas");i.forEach((r,s)=>{let a=r.toDataURL(),o=document.createElement("img");o.src=a;let p=r.getAttribute("style");p&&o.setAttribute("style",p);let f=n[s];f&&(f.replaceWith(o),L(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img"),this.screenshotImg.alt=this.mapAltText||"";let t=document.createElement("div"),i=document.createElement("calcite-button"),n=document.createElement("calcite-button");i.innerHTML=this.selectedFileType==="PDF"?this._messages.export:this._messages.downloadImage,n.innerHTML=this._messages.returnToMap,n.appearance="outline-fill",i.onclick=this.exportPreviewOnClick.bind(this),n.onclick=this.screenshotReturn.bind(this),t.append(n,i),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=ne,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let i=this.view?.popup?.container;i&&(i.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",i=>{this.view&&(i.stopPropagation(),i.action!=="end"?this.updateMaskSize(i):this.maskScreenshot())}),U)}}updateMaskSize(t){if(this.view){let i=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),r=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:i,y:r,width:n-i,height:s-r},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(U);let t=this.area.height,i=this.area.width;if(this.showScaleBar){let n=this.view.width>1e3&&this.view.width*.75<i;this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",n)}this.view.takeScreenshot({area:this.area,width:i*2,height:t*2,format:"jpg"}).then(n=>{this.screenshot=n,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(n?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1))})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,i,n){return t<i?i:t>n?n:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl.value){let t=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--top"),i=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(i,"bottom")}}setScaleBarWidth(t,i){if(t&&this.screenshot){let n=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/n*100;this.scaleBarContainerEl.value?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(U),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let i=t.target;this.selectedFileType=i.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),i=this.renderCompass();return c`<div class=${h(this.baseClass)} @mouseenter=${this.handleWidgetCreation} @focusin=${this.handleWidgetCreation}>${t}<div class=${h(l.hidden)}>${i}</div></div>`}renderPopover(){let t=this.renderPanel();return[c`<calcite-popover reference-element=export-popover-btn .label=${this._messages.exportPopover} .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close ${d(this.popoverEl)}>${t}</calcite-popover>`,c`<calcite-action id=export-popover-btn alignment=center .icon=${this.popoverIcon} .scale=${this.scale} title=${this._messages.exportBtn??$} .text=${this._messages.exportBtn}></calcite-action>`]}renderPanel(){let t=this.showHeaderTitle?this.renderTitle():null,i=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,n=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,r=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,a=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),o=this.mode==="inline"?l.inlineContainer:l.popoverContainer;return c`<div class=${h(o)}>${t}${i}${n}${r}${s}${this.includeMap?c`<calcite-button class=${h(l.setMapArea)} appearance=transparent width=full @click=${this.setMapAreaOnClick.bind(this,!0)} .disabled=${this.exportIsLoading}>${this._messages.setMapArea}</calcite-button>`:null}<calcite-button width=full @click=${this.exportOnClick} .disabled=${this.exportIsLoading}>${this.selectedFileType==="PDF"?this._messages.export:this._messages.preview}</calcite-button>${a}</div>`}renderTitle(){return c`<calcite-label>${this._messages.title}<calcite-input .value=${this.headerTitle} @calciteInputInput=${this.updateHeaderTitle}></calcite-input></calcite-label>`}renderSwitch(t,i,n){let r=this[t],s=t,a=i||this._messages[s];return c`<calcite-label layout=inline-space-between>${a}<calcite-switch .checked=${r} .value=${t} @calciteSwitchChange=${this.optionOnChange} .disabled=${n}></calcite-switch></calcite-label>`}renderSelectFileType(){return c`<calcite-label>${this._messages.fileType}<calcite-select label @calciteSelectChange=${this.handleSelectFileType}>${this.allowedFileTypes.map(t=>c`<calcite-option .value=${t} .selected=${t===this.selectedFileType}>${t}</calcite-option>`)}</calcite-select></calcite-label>`}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,i=this.showIncludePopup?this.renderSwitch("includePopup"):null;return c`<div>${t}${i}</div>`}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,i=this.renderExtraContent(),n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,r=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return c`<div ${d(this.printContainerEl)}><div class=${h(l.print.pdfBase)} ${d(this.printEl)}>${t}${n}<div class=${h(l.print.contentContainer)}>${r}${i}</div></div></div>`}renderPrintMap(){return c`<div class=${h(l.print.viewContainer)} ${d(this.viewContainerEl)}><div class=${h(l.print.viewWrapper)} ${d(this.viewWrapperEl)}>${this.headerTitle?c`<instant-apps-header .logoImage=${this.logoImage} .logoImageAltText=${this.logoAltText} logo-scale=s .titleText=${this.headerTitle} background-color=#fff text-color=#323232></instant-apps-header>`:null}<img class=${h(l.print.view)} alt=${this.mapAltText??$} ${d(this.viewEl)}><div class=${h(l.print.scaleBarContainer)} ${d(this.scaleBarContainerEl)}></div></div>${this.renderAttribution()}</div>`}renderAttribution(){return c`<div class=${h(l.print.attribution)} ${d(this.attributionEl)}></div>`}renderLegend(){return c`<div class=${h(l.print.legendContainer)} ${d(this.handleLegendContainer)}></div>`}renderCompass(){return c`<div class=${h(l.print.compassContainer)} ${d(this.compassContainerEl)}></div>`}renderPopup(){return c`<div class=${h(l.print.popupContainer)} ${d(this.popupContainerEl)}><div class=${h(l.print.popupTitle)} ${d(this.popupTitleEl)}></div><div class=${h(l.print.popupContent)} ${d(this.popupContentEl)}></div></div>`}renderExtraContent(){return c`<div class=${h(l.print.extraContainer)} id=export-content ${d(this.extraContainerEl)}></div>`}renderImg(){let t=this.includeMap?this.renderPrintMap():null,i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n;return this.includeMap&&this.showIncludePopup?n=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(n=this.renderExtraContent()),c`<div ${d(this.printContainerEl)}><div class=${h(l.print.imgBase)} ${d(this.printEl)}>${t}${i}${n}</div></div>`}};q("instant-apps-export",W);export{W as InstantAppsExport};
|
|
385
|
+
}`,re=V`:host{display:block;--instant-apps-export-action-background: var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-export-action-background-press: var(--calcite-color-foreground-3);--instant-apps-export-action-height: 100%;--instant-apps-export-action-width: fit-content;--instant-apps-export-action-icon-color: var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-export-background: var(--calcite-color-foreground-1);--instant-apps-export-text-color: var(--calcite-color-text-1);--instant-apps-export-popover-width: 250px;--instant-apps-export-button-text-dark-hover-color: #fff}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1: var(--instant-apps-export-action-background);--calcite-color-foreground-2: var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3: var(--instant-apps-export-action-background-press);--calcite-color-text-3: var(--instant-apps-export-action-icon-color);--calcite-color-text-1: var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1: var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1: var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1: #fff;--calcite-color-foreground-2: #f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:.5rem}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover: #fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1: #2b2b2b;--calcite-color-foreground-2: #202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px #0000004d}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}`,l={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewWrapper:"instant-apps-export-print__view-wrapper",attribution:"instant-apps-export-print__attribution"}},H="instant-app-export-drag",W=class extends z{constructor(){super(...arguments),this._messages=G({name:"instant-apps-export",blocking:!0}),this.compassContainerEl=m(),this.extraContainerEl=m(),this.legendContainerEl=m(),this.popoverEl=m(),this.popupContainerEl=m(),this.popupContentEl=m(),this.popupTitleEl=m(),this.printContainerEl=m(),this.printEl=m(),this.scaleBarContainerEl=m(),this.viewWrapperEl=m(),this.viewContainerEl=m(),this.viewEl=m(),this.attributionEl=m(),this.baseClass=l.baseLight,this.exportIsLoading=void 0,this.allowedFileTypes=["PDF","JPG","PNG"],this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.headerTitle="",this.logoImage="",this.mapAltText="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.exportOutputUpdated=q()}static{this.properties={baseClass:16,exportIsLoading:16,selectedFileType:16,allowedFileTypes:0,output:0,beforeExport:0,popoverIcon:1,extraContent:0,extraContentLabel:1,headerTitle:1,logoImage:1,logoAltText:1,mapAltText:1,includeExtraContent:5,showExtraContentInImg:5,includeLegend:5,includeMap:5,includePopup:5,includeFileFormat:5,mode:3,popoverPositioning:1,popoverPlacement:1,scale:1,showHeaderTitle:5,showIncludeLegend:5,showIncludeMap:5,showIncludePopup:5,showScaleBar:5,view:0,maskBackground:1,maskBorder:1,defaultFileType:1}}static{this.styles=re}async load(){this.selectedFileType=this.getDefaultFileType(),this.pdfIncludeMap=this.includeMap,this.baseClass=L(this.el)==="dark"?l.baseDark:l.baseLight,await this.initializeModules()}willUpdate(t){t.has("view")?this.handleIncludePopup():t.has("allowedFileTypes")&&(this.allowedFileTypes?.length||(this.allowedFileTypes=["PDF","JPG","PNG"]),this.selectedFileType=this.getDefaultFileType())}loaded(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.handleIncludePopup())}getDefaultFileType(){return this.defaultFileType??this.allowedFileTypes?.[0]??"PDF"}async initializeModules(){let t=await Q();this.handles=await J(),this.reactiveUtils=t}optionOnChange(t){let i=t.target,n=i.value;this[n]=i.checked,this.updateExportOutput()}updateHeaderTitle(t){let i=t.target;this.headerTitle=i.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.popoverEl.value&&(this.popoverEl.value.open=!1),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick()}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick()}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let i=this.headerTitle??document.title,n=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${i}.${n}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.updateExportOutput(),this.view?(this.addPrintStyling(),this.printEl.value&&document.body.prepend(this.printEl.value),this.handleExtraContent(),this.includeMap?(this.updateAttribution(),this.updateScaleBar(),this.viewScreenshot(),this.requestUpdate(),this.handleImgLoaded()):(this.requestUpdate(),this.handleImgLoaded())):this.popoverEl.value&&(this.popoverEl.value.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=ie,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl.value)return;let t=this.printEl.value.querySelector("#export-content");if(t){t.innerHTML="";let i=this.extraContent&&this.includeExtraContent,n=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&i;this.printEl.value.classList.toggle(l.print.imgExtraContent,n),i?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.value.classList.toggle(l.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl.value)return;this.screenshot=null,this.printContainerEl.value?.prepend(this.printEl.value),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.value.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl.value||!this.printEl.value)return;this.popupContainerEl.value.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.value.classList.toggle(l.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let i=document.createElement(`h${this.view?.popup?.headingLevel??2}`);i.innerHTML=this.view?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl.value?(this.popupTitleEl.value.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.value.innerHTML="",this.popupTitleEl.value.prepend(i)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.value.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){/^((?!chrome|android).)*safari/iu.test(navigator?.userAgent)?await this.handleSafariToImage():await this.handleToImage()}async handleSafariToImage(){if(!this.printEl.value)return;let t={allowTaint:!0,logging:!1},i=this.selectedFileType==="PNG"?"image/png":"image/jpeg",n="";try{n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}catch{this.logoImage=void 0;let r=500;await new Promise(s=>setTimeout(s,r)),n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}finally{this.handleSetupImage(n)}}async handleToImage(){if(!this.printEl.value)return;let t={backgroundColor:"#FFF",skipFonts:!0},i="";try{this.selectedFileType==="JPG"?i=await U(this.printEl.value,t):i=await wt(this.printEl.value,t)}catch{this.logoImage=void 0;let n=500;await new Promise(r=>setTimeout(r,n)),i=await U(this.printEl.value,t)}finally{this.handleSetupImage(i)}}handleSetupImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl.value){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.value.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,i=>{this.settingMapArea||(this.includePopup=i)}),t)})}handleLegendCreation(){this.view&&this.showIncludeLegend&&this.legendContainerEl&&this.updateLegend()}updateLegend(){this.view?.when(async t=>{if(!this.legendContainerEl.value)return;this.legend?.destroy(),this.legend=null,this.legendContainerEl.value.innerHTML="";let i=document.createElement("div");this.legendContainerEl.value.append(i),this.legend=await K({container:i,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})})}handleCompassCreation(){if(this.view&&this.compassContainerEl.value){let t=this.view.map,i=this.compass?.view?.map;t?.portalItem?.id===i?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let i=document.createElement("div");this.compassContainerEl.value?.append(i),this.compass=await X({container:i,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl.value&&this.view&&(this.scaleBarContainerEl.value.innerHTML="",this.showScaleBar)){let t=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));t?.container&&typeof t.container!="string"&&this.scaleBarContainerEl.value.append(t.container.cloneNode(!0))}}updateAttribution(){if(!this.attributionEl.value||!this.view)return;this.attributionEl.value.innerHTML="";let t=this.view.ui.find("attribution");if(!t?.attributionText)return;let i=t.viewModel.items.map(r=>this.getAttributionText(r)).filter((r,s,a)=>!!r&&a.indexOf(r)===s),n=" | ";this.attributionEl.value.innerHTML=i.join(n)}getAttributionText(t){if(!t.text)return"";let i=t.text,n=t.layerView.layer,r="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let s=n.portalItem;if(s.accessInformation&&i===s.accessInformation)return i.replace(s.accessInformation,r)}return i}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl.value&&this.viewWrapperEl.value)){let{height:t,width:i}=this.screenshot.data;t>i?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.value.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl.value&&(this.printEl.value.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.value&&(this.viewEl.value.style.height="100%",this.viewEl.value.style.width=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="100%",this.viewWrapperEl.value.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl.value&&(this.printEl.value.style.gridTemplateRows=""),this.viewEl.value&&(this.viewEl.value.style.width="100%",this.viewEl.value.style.height=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="fit-content",this.viewWrapperEl.value.style.width="100%")}checkPopupOpen(){if(this.view){let t=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(t&&this.popupContentEl.value){let i=t.querySelectorAll("canvas");this.popupContentEl.value.innerHTML="",this.popupContentEl.value.append(t.cloneNode(!0));let n=this.popupContentEl.value.querySelectorAll("canvas");i.forEach((r,s)=>{let a=r.toDataURL(),o=document.createElement("img");o.src=a;let p=r.getAttribute("style");p&&o.setAttribute("style",p);let f=n[s];f&&(f.replaceWith(o),L(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img"),this.screenshotImg.alt=this.mapAltText||"";let t=document.createElement("div"),i=document.createElement("calcite-button"),n=document.createElement("calcite-button");i.innerHTML=this.selectedFileType==="PDF"?this._messages.export:this._messages.downloadImage,n.innerHTML=this._messages.returnToMap,n.appearance="outline-fill",i.onclick=this.exportPreviewOnClick.bind(this),n.onclick=this.screenshotReturn.bind(this),t.append(n,i),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=ne,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let i=this.view?.popup?.container;i&&(i.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.popoverEl.value&&(this.popoverEl.value.open=!1),this.view.addHandles(this.view.on("drag",i=>{this.view&&(i.stopPropagation(),i.action!=="end"?this.updateMaskSize(i):this.maskScreenshot())}),H)}}updateMaskSize(t){if(this.view){let i=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),r=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:i,y:r,width:n-i,height:s-r},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(H);let t=this.area.height,i=this.area.width;if(this.showScaleBar){let n=this.view.width>1e3&&this.view.width*.75<i;this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",n)}this.view.takeScreenshot({area:this.area,width:i*2,height:t*2,format:"jpg"}).then(n=>{this.screenshot=n,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(n?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick())})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,i,n){return t<i?i:t>n?n:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl.value){let t=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--top"),i=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(i,"bottom")}}setScaleBarWidth(t,i){if(t&&this.screenshot){let n=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/n*100;this.scaleBarContainerEl.value?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(H),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let i=t.target;this.selectedFileType=i.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),i=this.renderCompass();return c`<div class=${h(this.baseClass)} @mouseenter=${this.handleWidgetCreation} @focusin=${this.handleWidgetCreation}>${t}<div class=${h(l.hidden)}>${i}</div></div>`}renderPopover(){let t=this.renderPanel();return[c`<calcite-popover reference-element=export-popover-btn .label=${this._messages.exportPopover} .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close ${d(this.popoverEl)}>${t}</calcite-popover>`,c`<calcite-action id=export-popover-btn alignment=center .icon=${this.popoverIcon} .scale=${this.scale} title=${this._messages.exportBtn??I} .text=${this._messages.exportBtn}></calcite-action>`]}renderPanel(){let t=this.showHeaderTitle?this.renderTitle():null,i=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,n=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,r=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,a=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),o=this.mode==="inline"?l.inlineContainer:l.popoverContainer;return c`<div class=${h(o)}>${t}${i}${n}${r}${s}${this.includeMap?c`<calcite-button class=${h(l.setMapArea)} appearance=transparent width=full @click=${this.setMapAreaOnClick.bind(this,!0)} .disabled=${this.exportIsLoading}>${this._messages.setMapArea}</calcite-button>`:null}<calcite-button width=full @click=${this.exportOnClick} .disabled=${this.exportIsLoading}>${this.selectedFileType==="PDF"?this._messages.export:this._messages.preview}</calcite-button>${a}</div>`}renderTitle(){return c`<calcite-label>${this._messages.title}<calcite-input .value=${this.headerTitle} @calciteInputInput=${this.updateHeaderTitle}></calcite-input></calcite-label>`}renderSwitch(t,i,n){let r=this[t],s=t,a=i||this._messages[s];return c`<calcite-label layout=inline-space-between>${a}<calcite-switch .checked=${r} .value=${t} @calciteSwitchChange=${this.optionOnChange} .disabled=${n}></calcite-switch></calcite-label>`}renderSelectFileType(){return c`<calcite-label>${this._messages.fileType}<calcite-select label @calciteSelectChange=${this.handleSelectFileType}>${this.allowedFileTypes.map(t=>c`<calcite-option .value=${t} .selected=${t===this.selectedFileType}>${t}</calcite-option>`)}</calcite-select></calcite-label>`}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,i=this.showIncludePopup?this.renderSwitch("includePopup"):null;return c`<div>${t}${i}</div>`}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,i=this.renderExtraContent(),n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,r=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return c`<div ${d(this.printContainerEl)}><div class=${h(l.print.pdfBase)} ${d(this.printEl)}>${t}${n}<div class=${h(l.print.contentContainer)}>${r}${i}</div></div></div>`}renderPrintMap(){return c`<div class=${h(l.print.viewContainer)} ${d(this.viewContainerEl)}><div class=${h(l.print.viewWrapper)} ${d(this.viewWrapperEl)}>${this.headerTitle?c`<instant-apps-header .logoImage=${this.logoImage} .logoImageAltText=${this.logoAltText} logo-scale=s .titleText=${this.headerTitle} background-color=#fff text-color=#323232></instant-apps-header>`:null}<img class=${h(l.print.view)} alt=${this.mapAltText??I} ${d(this.viewEl)}><div class=${h(l.print.scaleBarContainer)} ${d(this.scaleBarContainerEl)}></div></div>${this.renderAttribution()}</div>`}renderAttribution(){return c`<div class=${h(l.print.attribution)} ${d(this.attributionEl)}></div>`}renderLegend(){return c`<div class=${h(l.print.legendContainer)} ${d(this.legendContainerEl)}></div>`}renderCompass(){return c`<div class=${h(l.print.compassContainer)} ${d(this.compassContainerEl)}></div>`}renderPopup(){return c`<div class=${h(l.print.popupContainer)} ${d(this.popupContainerEl)}><div class=${h(l.print.popupTitle)} ${d(this.popupTitleEl)}></div><div class=${h(l.print.popupContent)} ${d(this.popupContentEl)}></div></div>`}renderExtraContent(){return c`<div class=${h(l.print.extraContainer)} id=export-content ${d(this.extraContainerEl)}></div>`}renderImg(){let t=this.includeMap?this.renderPrintMap():null,i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n;return this.includeMap&&this.showIncludePopup?n=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(n=this.renderExtraContent()),c`<div ${d(this.printContainerEl)}><div class=${h(l.print.imgBase)} ${d(this.printEl)}>${t}${i}${n}</div></div>`}};j("instant-apps-export",W);export{W as InstantAppsExport};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./IMCXSNGQ.js";import{a as t,b as e}from"./MGLOK6G6.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./JKF6DMWR.js";import"./7PM6K4BQ.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/1.
|
|
3
|
-
v1.
|
|
4
|
-
import{s as c}from"./
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.1 */
|
|
4
|
+
import{s as c}from"./Z44XX64I.js";import{b as r}from"./3XLZCUHG.js";import{E as i,h as a,i as p}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
|