@esri/solutions-components 1.1.3 → 1.1.5
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/{ELMBIWAD.js → 2C2YUOLH.js} +2 -2
- package/dist/cdn/{EEX52KRD.js → 2DCQYFBB.js} +2 -2
- package/dist/cdn/{TBUFAKRA.js → 2E4RD2X7.js} +2 -2
- package/dist/cdn/{RVZ5523E.js → 2ME5AFG6.js} +2 -2
- package/dist/cdn/{T6JEYXIT.js → 2PQDAK2K.js} +2 -2
- package/dist/cdn/{IJFAV2SW.js → 2PQFYQTM.js} +2 -2
- package/dist/cdn/{Z2HAYBD7.js → 35YMNKN7.js} +2 -2
- package/dist/cdn/{7RBYRXWN.js → 3BL7G7XQ.js} +2 -2
- package/dist/cdn/{3YP4K4OV.js → 3G2FSEP4.js} +2 -2
- package/dist/cdn/{2H3MHHNZ.js → 3GWQY4PS.js} +2 -2
- package/dist/cdn/{SDKKYG3T.js → 3I5HOJHY.js} +2 -2
- package/dist/cdn/{2FRLUANT.js → 3JE66ZGM.js} +2 -2
- package/dist/cdn/{6MYJZ4IH.js → 3JJFCPWE.js} +1 -1
- package/dist/cdn/{RRH6EQN7.js → 3LB6QRGI.js} +2 -2
- package/dist/cdn/{VDXBCG7S.js → 3N66IKUB.js} +2 -2
- package/dist/cdn/{KTB7RFWA.js → 3NJFBYP7.js} +2 -2
- package/dist/cdn/{HL7R6LGA.js → 3TVSXXWC.js} +2 -2
- package/dist/cdn/3VMHZC76.js +18 -0
- package/dist/cdn/{PR35P6F3.js → 3YQ5GA52.js} +3 -3
- package/dist/cdn/{LCEJEX63.js → 3ZA6SUHX.js} +2 -2
- package/dist/cdn/{WTCI433A.js → 42CDJOAG.js} +2 -2
- package/dist/cdn/{YTWTPLD5.js → 462W4TZ3.js} +1 -1
- package/dist/cdn/{O47Z7HFS.js → 4A2PDSET.js} +2 -2
- package/dist/cdn/{2ER6MOQG.js → 4BY7RVQ6.js} +2 -2
- package/dist/cdn/{D536U4EF.js → 4EUZGKKC.js} +2 -2
- package/dist/cdn/{NC734HGF.js → 4IRYB6TU.js} +2 -2
- package/dist/cdn/{TGCN4ZAH.js → 4LZ24JLH.js} +2 -2
- package/dist/cdn/{6PWGQ66L.js → 4M355TO2.js} +2 -2
- package/dist/cdn/{E27XXCF6.js → 4MGR2VZY.js} +2 -2
- package/dist/cdn/{7XJYGNID.js → 4NN4SBF3.js} +2 -2
- package/dist/cdn/{QAFIXELE.js → 4PPPEP2D.js} +2 -2
- package/dist/cdn/{D3UD7DVJ.js → 4UKLSZZH.js} +2 -2
- package/dist/cdn/4V4FGNHO.js +18 -0
- package/dist/cdn/{NTJX2CYR.js → 4ZHZK26G.js} +2 -2
- package/dist/cdn/{LHTSCULF.js → 53LXS2J5.js} +2 -2
- package/dist/cdn/{ZI64OXHY.js → 55UJGQ5T.js} +2 -2
- package/dist/cdn/{RYDP2HDZ.js → 56PAV2GW.js} +1 -1
- package/dist/cdn/{3ODSPQ4S.js → 5FZ4QAHO.js} +2 -2
- package/dist/cdn/{K6745DII.js → 5GVYMAX2.js} +2 -2
- package/dist/cdn/{QVWFQQ7G.js → 5HUVZF4J.js} +2 -2
- package/dist/cdn/{DTIAJXKU.js → 5X3NIR3F.js} +2 -2
- package/dist/cdn/{GWKZYWIC.js → 5Y4P32WK.js} +2 -2
- package/dist/cdn/{DYDT3L5U.js → 5ZPFAL43.js} +2 -2
- package/dist/cdn/{ALLFY4PP.js → 65KCCSCM.js} +2 -2
- package/dist/cdn/{4KFHBJLQ.js → 66BALOE7.js} +2 -2
- package/dist/cdn/{TA4P4U24.js → 6D2FDEC7.js} +2 -2
- package/dist/cdn/{VRNDBTDK.js → 6HINBBYY.js} +2 -2
- package/dist/cdn/{2ODJXVXK.js → 6JE42A26.js} +2 -2
- package/dist/cdn/{PPPHSH43.js → 6JKRMJTG.js} +1 -1
- package/dist/cdn/{REXGHNNN.js → 6LL65GG4.js} +2 -2
- package/dist/cdn/{HBKMPUP2.js → 6QLD4RZA.js} +1 -1
- package/dist/cdn/{73LPW6HI.js → 6SR62O3L.js} +2 -2
- package/dist/cdn/{WDMP52JQ.js → 6Y36Z3VD.js} +2 -2
- package/dist/cdn/6ZX57Y2E.js +4 -0
- package/dist/cdn/{5BA4B7KE.js → 7CCWACTT.js} +2 -2
- package/dist/cdn/{V2N77ZSU.js → 7ITJCGWV.js} +2 -2
- package/dist/cdn/{H7QIJQ37.js → 7LNZ6SY4.js} +2 -2
- package/dist/cdn/{H6KLL3NL.js → 7OJFHNND.js} +2 -2
- package/dist/cdn/{7NKFLJ7I.js → 7OK6AMVL.js} +2 -2
- package/dist/cdn/{RGVIDYQ6.js → A3Q7GREJ.js} +2 -2
- package/dist/cdn/{S5SB6QCX.js → A6LMQW4G.js} +2 -2
- package/dist/cdn/{V7ZZBRP2.js → AA5T27UA.js} +2 -2
- package/dist/cdn/{P2ACW7TM.js → AD53R4UT.js} +2 -2
- package/dist/cdn/{BE3Z4DUC.js → ADYEQUS5.js} +2 -2
- package/dist/cdn/AGCS637B.js +4 -0
- package/dist/cdn/{JZHCML6E.js → AITESDOH.js} +2 -2
- package/dist/cdn/{NE4DI6BW.js → AKNB5K45.js} +2 -2
- package/dist/cdn/{QRNGGKQC.js → ALPIMORP.js} +2 -2
- package/dist/cdn/{OHWEETJ4.js → AM6R2I4D.js} +3 -3
- package/dist/cdn/{P3PMEIEN.js → ARYNEQL7.js} +3 -3
- package/dist/cdn/{UPG7TEIP.js → AVFSW3TW.js} +2 -2
- package/dist/cdn/{CBOVDRFV.js → AXBSU3HJ.js} +2 -2
- package/dist/cdn/{PMDGKY44.js → B5UH25LU.js} +2 -2
- package/dist/cdn/{GK6NVFHZ.js → BB5ZN34L.js} +2 -2
- package/dist/cdn/{ZBFH2EFC.js → BDWA4NT7.js} +2 -2
- package/dist/cdn/{DB5QJHQQ.js → BFN553OS.js} +2 -2
- package/dist/cdn/{BK7UXXQ2.js → BHH5NNUU.js} +2 -2
- package/dist/cdn/{CCFY7P7U.js → BIT53VHC.js} +2 -2
- package/dist/cdn/{Y7XUD5FA.js → BLVMQ2ZJ.js} +3 -3
- package/dist/cdn/{4AAGIK4R.js → BMSVXQYR.js} +2 -2
- package/dist/cdn/{MCENYFMW.js → BTASWR67.js} +2 -2
- package/dist/cdn/{P57OTIDF.js → BUTBZOLQ.js} +2 -2
- package/dist/cdn/{KW5I4HR7.js → BXDXSN7S.js} +2 -2
- package/dist/cdn/BZZ2NKN7.js +4 -0
- package/dist/cdn/{Z5BGFLSU.js → C2L75ML6.js} +2 -2
- package/dist/cdn/{BNJHXW3M.js → CHMBU7ZZ.js} +2 -2
- package/dist/cdn/{ZD644HR2.js → CJXMS7YJ.js} +2 -2
- package/dist/cdn/{NQTQLODN.js → CPS5G7LV.js} +2 -2
- package/dist/cdn/{VYN7AW7M.js → CR5PKZ4W.js} +2 -2
- package/dist/cdn/{O54ZAB7T.js → CYTWYR7X.js} +2 -2
- package/dist/cdn/{DHK3XFOV.js → CZTW3CID.js} +2 -2
- package/dist/cdn/{BTLX7UFR.js → D6GRAJKG.js} +2 -2
- package/dist/cdn/{CVZQJMJQ.js → DASAW3AM.js} +2 -2
- package/dist/cdn/{JZ4VLHBS.js → DCTIOG7M.js} +1 -1
- package/dist/cdn/{AKJNSKCJ.js → DEYWKS7E.js} +2 -2
- package/dist/cdn/{H3A7OORI.js → DFDISZAD.js} +2 -2
- package/dist/cdn/{JZSRVZRU.js → DFQJCG5D.js} +2 -2
- package/dist/cdn/{DCZMQCXU.js → DGWMURIB.js} +2 -2
- package/dist/cdn/{GL7RXZ2L.js → DH47CO66.js} +1 -1
- package/dist/cdn/{ZEUQ2XUT.js → DHGCOXVG.js} +1 -1
- package/dist/cdn/{67EVCSMZ.js → DKMGPEMO.js} +2 -2
- package/dist/cdn/{HVOJV3PP.js → DOEOHOU6.js} +2 -2
- package/dist/cdn/{MERHP72Z.js → DS4CIOKP.js} +2 -2
- package/dist/cdn/{WSO7FXI5.js → DV3MAPII.js} +2 -2
- package/dist/cdn/{UBFTTJI2.js → DZWMPNPF.js} +2 -2
- package/dist/cdn/{CBKQTORK.js → E6WEKFDH.js} +2 -2
- package/dist/cdn/{4YPEHTUX.js → EDAOFXZZ.js} +1 -1
- package/dist/cdn/{4GVE6BFQ.js → EHBEDCBN.js} +2 -2
- package/dist/cdn/{AQVHN6AM.js → EJUJDS6X.js} +3 -3
- package/dist/cdn/{R3FQCNWE.js → EMAMN44B.js} +2 -2
- package/dist/cdn/{Q7GL2ZYT.js → EQKFP6G5.js} +3 -3
- package/dist/cdn/{NLXYJK4H.js → EVXTOWTJ.js} +1 -1
- package/dist/cdn/{PNBXXGLM.js → EWC7XR6K.js} +2 -2
- package/dist/cdn/{YQVWOTXV.js → EY44JFRF.js} +2 -2
- package/dist/cdn/{MJ3P67SN.js → EY4JC25Z.js} +2 -2
- package/dist/cdn/{EEKD7XQD.js → EYJTKSHW.js} +3 -3
- package/dist/cdn/{JL76YJRI.js → EZEI2XVT.js} +3 -3
- package/dist/cdn/{SVDLZBDS.js → F2OBR3YZ.js} +2 -2
- package/dist/cdn/F5S2PMDU.js +18 -0
- package/dist/cdn/{WYQUK6VR.js → FBC2PSH6.js} +2 -2
- package/dist/cdn/{MYUZRNSY.js → FBSR6LVS.js} +2 -2
- package/dist/cdn/{DJODCYWX.js → FEMMFUE7.js} +2 -2
- package/dist/cdn/{UTEGX7N5.js → FHSAJCRI.js} +1 -1
- package/dist/cdn/FKQWGBQ6.js +18 -0
- package/dist/cdn/{C72CDHNN.js → FOXWWTGP.js} +2 -2
- package/dist/cdn/{RH3BLC4Q.js → FUYDFHFY.js} +2 -2
- package/dist/cdn/{6ZZTUHA6.js → FXATR6VT.js} +1 -1
- package/dist/cdn/{OL25UL3O.js → FXID4LBF.js} +2 -2
- package/dist/cdn/{LENHDPW5.js → FYOSNG4O.js} +2 -2
- package/dist/cdn/{6WORDZKG.js → FZWZ4COT.js} +2 -2
- package/dist/cdn/G2SO3VA3.js +18 -0
- package/dist/cdn/{7VXHACMD.js → G5YDAD5J.js} +2 -2
- package/dist/cdn/{FVSZ6VOF.js → GCUKUGYL.js} +2 -2
- package/dist/cdn/{J5LVD6QC.js → GIYQCD77.js} +2 -2
- package/dist/cdn/{MZ5VTNHY.js → GR5W2JRK.js} +1 -1
- package/dist/cdn/{SG6ZK6MW.js → GY3Q55UV.js} +2 -2
- package/dist/cdn/{ZYIWU5R3.js → GYTTH3QM.js} +3 -3
- package/dist/cdn/{DF6KWCSV.js → H3RQQVHV.js} +2 -2
- package/dist/cdn/{ZGCNRT7I.js → H4R6RBSR.js} +2 -2
- package/dist/cdn/{3KAMA7IW.js → HAXFVOBD.js} +2 -2
- package/dist/cdn/{IIGTVH52.js → HFGXGOML.js} +2 -2
- package/dist/cdn/{6TD6ORJT.js → HFTLCY67.js} +1 -1
- package/dist/cdn/{O63FAHCT.js → HJ4CBAOI.js} +1 -1
- package/dist/cdn/{ICTMP3P3.js → HJAQTCS6.js} +1 -1
- package/dist/cdn/{5FQPSA2W.js → HNYRXGO4.js} +2 -2
- package/dist/cdn/{VKZHDM2Y.js → HPTION7V.js} +2 -2
- package/dist/cdn/{QJKMWAAC.js → HS3HXJAE.js} +2 -2
- package/dist/cdn/{FSQWEULB.js → HXGSRCIU.js} +2 -2
- package/dist/cdn/{AMFRPTVX.js → IAABYYHR.js} +3 -3
- package/dist/cdn/{UM3APEK5.js → IHONVMMQ.js} +2 -2
- package/dist/cdn/{H43YAQQN.js → IN4GUM3K.js} +1 -1
- package/dist/cdn/{VX5VG62X.js → INGJSHOC.js} +2 -2
- package/dist/cdn/{ZTMFKT2Q.js → INVWKXP4.js} +2 -2
- package/dist/cdn/{4JQQITKV.js → IPRVH4RI.js} +2 -2
- package/dist/cdn/IQO52XQI.js +4 -0
- package/dist/cdn/{2CJMFJBA.js → IT2BGFCD.js} +2 -2
- package/dist/cdn/{XNQ5QT6U.js → IWN5SZ6F.js} +3 -3
- package/dist/cdn/{HIVWWPPK.js → IWYNMFCO.js} +2 -2
- package/dist/cdn/{6LTQY6WH.js → IYNSYD6A.js} +2 -2
- package/dist/cdn/{MONKCYHH.js → J3GYQQE6.js} +2 -2
- package/dist/cdn/{4MTTBD2G.js → J3PGCQNO.js} +2 -2
- package/dist/cdn/{MQKM4EHF.js → J4CEND6E.js} +2 -2
- package/dist/cdn/{A2V4GLJF.js → JE4Y5P6H.js} +2 -2
- package/dist/cdn/JFV4L2BS.js +18 -0
- package/dist/cdn/{FRRUWG5E.js → JKT3GWJQ.js} +2 -2
- package/dist/cdn/JM7G4MEF.js +4 -0
- package/dist/cdn/{ZN24RTJW.js → JMHCQCEV.js} +1 -1
- package/dist/cdn/{JHSRUJD4.js → JO7JZRYA.js} +2 -2
- package/dist/cdn/{LXICUEGW.js → JQLSAJAY.js} +2 -2
- package/dist/cdn/{6DRUDUXD.js → JUHUWE6N.js} +2 -2
- package/dist/cdn/{URVV4JO7.js → K54VMEGQ.js} +2 -2
- package/dist/cdn/{Z3HE34UY.js → KKJYUEQV.js} +2 -2
- package/dist/cdn/{CTFHZAMW.js → KZLP7P6V.js} +2 -2
- package/dist/cdn/{FF7OJF4K.js → L6QRRVEI.js} +2 -2
- package/dist/cdn/{MIMKIEMB.js → L6S6YTH3.js} +2 -2
- package/dist/cdn/{ZJ6CHGOT.js → L7HOMDZU.js} +2 -2
- package/dist/cdn/{KBLPMITD.js → LAOJHBJU.js} +2 -2
- package/dist/cdn/LBI35WMC.js +18 -0
- package/dist/cdn/{6GAJQWJK.js → LCFNGDXM.js} +2 -2
- package/dist/cdn/LDGJRLE3.js +18 -0
- package/dist/cdn/{6OGJVPTT.js → LJXUWLDL.js} +2 -2
- package/dist/cdn/{HXWRLU4Z.js → LOSISHU3.js} +2 -2
- package/dist/cdn/LSSYIGV3.js +18 -0
- package/dist/cdn/{DBIIMNFE.js → LYD27ORL.js} +2 -2
- package/dist/cdn/{NWPHO7QU.js → M2CS4EMN.js} +2 -2
- package/dist/cdn/{U3I7HVKD.js → M4ISN42P.js} +2 -2
- package/dist/cdn/{WVCJRRZI.js → M4NZ7ACL.js} +2 -2
- package/dist/cdn/{OQBVEYHJ.js → MBGFUZAJ.js} +2 -2
- package/dist/cdn/{NFBFHGJM.js → MBQWZGFR.js} +1 -1
- package/dist/cdn/{WOKAPPDI.js → MCF6S7SI.js} +2 -2
- package/dist/cdn/{4BVRGUY2.js → MD4GFP2I.js} +2 -2
- package/dist/cdn/{OSLENSGJ.js → MDXIELV5.js} +3 -3
- package/dist/cdn/{55MHANOS.js → MIAM4WSN.js} +2 -2
- package/dist/cdn/{NZXLPD46.js → MLPHTVAZ.js} +2 -2
- package/dist/cdn/{DGRK3TQM.js → MM6ALYAZ.js} +2 -2
- package/dist/cdn/{XBYYQKMP.js → MME3KBVR.js} +2 -2
- package/dist/cdn/{IEAOBFZY.js → MNEYQVPV.js} +2 -2
- package/dist/cdn/{K7LJKKJU.js → MQ4D3TAQ.js} +2 -2
- package/dist/cdn/{D5KX77I4.js → MQD27EL6.js} +1 -1
- package/dist/cdn/{U7XWDKUG.js → MV45U2M4.js} +2 -2
- package/dist/cdn/{KDDYXVIK.js → MWJGZ3GM.js} +1 -1
- package/dist/cdn/{UB33CAPW.js → MWWNUJMG.js} +2 -2
- package/dist/cdn/{3Y6LJKSE.js → MYAFAQEX.js} +2 -2
- package/dist/cdn/{66K5WNGM.js → N2VUT2CM.js} +2 -2
- package/dist/cdn/{PKODL3IY.js → N66UCV4O.js} +2 -2
- package/dist/cdn/{BGWP4TWF.js → N7ACVHXU.js} +2 -2
- package/dist/cdn/NB52BCP7.js +4 -0
- package/dist/cdn/{J3RW66HD.js → NIH454OI.js} +2 -2
- package/dist/cdn/{7MZHWXYE.js → NJTTWM2O.js} +2 -2
- package/dist/cdn/{RJSKVAPJ.js → NLSPE5NE.js} +2 -2
- package/dist/cdn/{3RWNFAPL.js → NO34BS3Y.js} +2 -2
- package/dist/cdn/{BHGPZPHI.js → NOAD3FB4.js} +2 -2
- package/dist/cdn/{SK3BSYR6.js → NONG5KLI.js} +2 -2
- package/dist/cdn/{EQU7VQR5.js → NS3JF257.js} +2 -2
- package/dist/cdn/{JXLMZTLR.js → NUY2Z2SB.js} +2 -2
- package/dist/cdn/{VIAY63N5.js → O3CHJ5GR.js} +2 -2
- package/dist/cdn/{4GYIRCZH.js → O3ZLPXJL.js} +2 -2
- package/dist/cdn/{QFBNO2BR.js → OBJATNQT.js} +2 -2
- package/dist/cdn/{ISPJ6574.js → OCG4AVVF.js} +2 -2
- package/dist/cdn/{FHJ4M7DA.js → OI4GE5AO.js} +2 -2
- package/dist/cdn/{HW3QVY3J.js → OPMYWOFX.js} +2 -2
- package/dist/cdn/{TTPUU3XB.js → OQINWQHN.js} +2 -2
- package/dist/cdn/{3GOUCDDA.js → OQKZ3XHU.js} +3 -3
- package/dist/cdn/{MY3N7U5P.js → ORDACAET.js} +2 -2
- package/dist/cdn/ORMNGKPR.js +18 -0
- package/dist/cdn/{EC6U73YO.js → OSMUWE33.js} +4 -4
- package/dist/cdn/{FHNXSYL5.js → OVW3UKZG.js} +2 -2
- package/dist/cdn/{5Y5BCNBZ.js → OYM7PRZW.js} +1 -1
- package/dist/cdn/{WPG2KAE5.js → P55ATIMI.js} +2 -2
- package/dist/cdn/{OA35H2QI.js → P5MUHJOV.js} +2 -2
- package/dist/cdn/{D2SUNNM7.js → PAPCUPJA.js} +2 -2
- package/dist/cdn/PFFQPOXY.js +18 -0
- package/dist/cdn/{AI66XIFT.js → PG5OHQ7C.js} +2 -2
- package/dist/cdn/{A7MJEB4E.js → PH3GJLXH.js} +2 -2
- package/dist/cdn/{4U2ESZU7.js → PJZ4SPKQ.js} +2 -2
- package/dist/cdn/{CXXZCUA4.js → PLKRFEVD.js} +2 -2
- package/dist/cdn/{MXEEAG4T.js → PNN2Q75K.js} +2 -2
- package/dist/cdn/{HSYIVPVV.js → PRN73PNP.js} +2 -2
- package/dist/cdn/{KL4GBIBS.js → PWOXB7VX.js} +1 -1
- package/dist/cdn/{UD3IFRJD.js → Q2HZGMSC.js} +2 -2
- package/dist/cdn/{MFQJ5VIS.js → QBOMJSQQ.js} +2 -2
- package/dist/cdn/QEJIS5UR.js +4 -0
- package/dist/cdn/{NMKJX5UX.js → QGF7ZFJN.js} +2 -2
- package/dist/cdn/{YJWA6MWV.js → QGKPU7KR.js} +2 -2
- package/dist/cdn/QIXQVRBK.js +18 -0
- package/dist/cdn/QWVCH4SD.js +4 -0
- package/dist/cdn/{OMQWU6Y5.js → R43OR7W5.js} +2 -2
- package/dist/cdn/{D6EWYXTL.js → R4MIR22R.js} +1 -1
- package/dist/cdn/{XNOOSNTL.js → R6COI5BF.js} +2 -2
- package/dist/cdn/{J6MAICJS.js → RB5YEX2Z.js} +2 -2
- package/dist/cdn/{WTERFQYN.js → RBV7YLCJ.js} +2 -2
- package/dist/cdn/{JWCALNWP.js → RCEIWCOF.js} +2 -2
- package/dist/cdn/{NPRBSDU4.js → RDATT53Q.js} +2 -2
- package/dist/cdn/{A4CPLF7K.js → RDI7ZMKQ.js} +1 -1
- package/dist/cdn/{QN6RG3TG.js → RG3CO4VX.js} +1 -1
- package/dist/cdn/{HHXO7JFY.js → RLHKPRUD.js} +2 -2
- package/dist/cdn/{TAQYO7DA.js → RRUNAIZ6.js} +2 -2
- package/dist/cdn/{3TIVP7ZT.js → RYDCMXAK.js} +2 -2
- package/dist/cdn/{AKCNGWL7.js → RZDZPK7T.js} +2 -2
- package/dist/cdn/{JKYSWQNH.js → S2TWQ4CP.js} +2 -2
- package/dist/cdn/{CL3HIMLD.js → S44CBZC3.js} +2 -2
- package/dist/cdn/{JNXQOCX5.js → S5JGRR7J.js} +2 -2
- package/dist/cdn/{BD5DMPRX.js → SB75RNE4.js} +2 -2
- package/dist/cdn/{54MX64OW.js → SBT5QK3G.js} +2 -2
- package/dist/cdn/{UXEYORBF.js → SFJULDEM.js} +2 -2
- package/dist/cdn/{7NJMQPTF.js → SITOCVPD.js} +2 -2
- package/dist/cdn/{HK4T6EQA.js → SJIPL5ND.js} +1 -1
- package/dist/cdn/{4QWQTEX2.js → SLEP5FPP.js} +2 -2
- package/dist/cdn/{G3OMPKZM.js → SM3QZXOO.js} +1 -1
- package/dist/cdn/{3ZCXZTSQ.js → SPWZIAIS.js} +2 -2
- package/dist/cdn/{KS4OMGOD.js → SRZEDXVZ.js} +2 -2
- package/dist/cdn/{VPOEQXZU.js → T4JMND5P.js} +2 -2
- package/dist/cdn/{FB6CNJND.js → T6NTJXMA.js} +2 -2
- package/dist/cdn/{2Z76VPGI.js → T6S7BM5U.js} +2 -2
- package/dist/cdn/TD3IDPA7.js +4 -0
- package/dist/cdn/{AH4OTLQ3.js → TEI5U73N.js} +3 -3
- package/dist/cdn/{BJZZT5RK.js → TFDVKBSL.js} +2 -2
- package/dist/cdn/{UO4LB2TD.js → TKJKLDLJ.js} +2 -2
- package/dist/cdn/{7JZ5LMUI.js → TM22XK2S.js} +2 -2
- package/dist/cdn/{5Z7A2SAC.js → TRG2M7TD.js} +2 -2
- package/dist/cdn/{6D2BWWQ3.js → TSE4T2RO.js} +2 -2
- package/dist/cdn/{UJAV7SOQ.js → U7VDTXKM.js} +1 -1
- package/dist/cdn/{2QUKXPZR.js → UCM5SJBM.js} +1 -1
- package/dist/cdn/{MXA4ABJF.js → UDBSTG6M.js} +3 -3
- package/dist/cdn/{PS6QJQU2.js → UH72XJFE.js} +2 -2
- package/dist/cdn/{J3UJ5U4N.js → UHMAXMMA.js} +2 -2
- package/dist/cdn/{TMLIPXIG.js → US6JIWX6.js} +2 -2
- package/dist/cdn/{32ATILL5.js → UTIBE4GW.js} +2 -2
- package/dist/cdn/{ZV326LBT.js → UUI2EKSS.js} +2 -2
- package/dist/cdn/{64766I5C.js → UVXT5MFM.js} +2 -2
- package/dist/cdn/{VHFFJRBJ.js → UY4DZODA.js} +2 -2
- package/dist/cdn/{JX2FUTAK.js → UYRBQI24.js} +2 -2
- package/dist/cdn/{KTWNZFXC.js → V4OWJV6O.js} +2 -2
- package/dist/cdn/{VPMGMIME.js → V5OTK5GF.js} +2 -2
- package/dist/cdn/{NQIIEYW2.js → V7CY4CCG.js} +2 -2
- package/dist/cdn/{COTPDOLY.js → VBUY7UZD.js} +2 -2
- package/dist/cdn/{BLJWLTAA.js → VKCWXM4P.js} +2 -2
- package/dist/cdn/{QNKV7QXW.js → VNLXAJ6K.js} +2 -2
- package/dist/cdn/{V23JMWA3.js → VSX6NU7T.js} +2 -2
- package/dist/cdn/{UZNODMNX.js → VXVLX7HU.js} +2 -2
- package/dist/cdn/{ZJCS556L.js → W2AQFMX6.js} +3 -3
- package/dist/cdn/{4X5X3NXC.js → W3FLI2DJ.js} +1 -1
- package/dist/cdn/{S2FPTWXG.js → W4W2KD2Z.js} +2 -2
- package/dist/cdn/{LHDI547F.js → WAKNLU4H.js} +2 -2
- package/dist/cdn/{QAWH7MKI.js → WHBCGNOV.js} +2 -2
- package/dist/cdn/{TCID2DB5.js → WHX66U6W.js} +2 -2
- package/dist/cdn/{6HYYQES4.js → WK7M23ZV.js} +2 -2
- package/dist/cdn/{JHOQTN2S.js → WLNT25ZL.js} +1 -1
- package/dist/cdn/{4UCWAUCV.js → WRZVIHB2.js} +2 -2
- package/dist/cdn/{SX7UPBDJ.js → WSVBZSJV.js} +1 -1
- package/dist/cdn/{5AUXWWFV.js → WV5CYPT4.js} +2 -2
- package/dist/cdn/{45MDLMP7.js → WVZOAXTK.js} +2 -2
- package/dist/cdn/{QB4S3FEB.js → WYZY5MEG.js} +1 -1
- package/dist/cdn/{K3XMCHTM.js → X2HMOVDC.js} +1 -1
- package/dist/cdn/{2WMJ555U.js → X3IFM44Z.js} +2 -2
- package/dist/cdn/{BEVDAMCL.js → X7Q7WOAP.js} +2 -2
- package/dist/cdn/{FL4YGWKB.js → XCEVRWR2.js} +2 -2
- package/dist/cdn/{CW5ZISPI.js → XCI5GOCP.js} +2 -2
- package/dist/cdn/{4XM7DRTD.js → XF4Y7YWD.js} +2 -2
- package/dist/cdn/{NG6VFQFD.js → XJ4TOB2R.js} +1 -1
- package/dist/cdn/{6HRHOQDC.js → XJJLFFTP.js} +2 -2
- package/dist/cdn/{7QKWZ3QG.js → XLOESN2G.js} +1 -1
- package/dist/cdn/{N7ANNTFH.js → XSDSXIZG.js} +2 -2
- package/dist/cdn/{ZHMRFTFN.js → Y56EPUPH.js} +2 -2
- package/dist/cdn/{X7KPSSXW.js → Y6DBN623.js} +2 -2
- package/dist/cdn/{647SSUOR.js → Y6GBF64F.js} +2 -2
- package/dist/cdn/{46N6YTN4.js → YFHVP5OF.js} +1 -1
- package/dist/cdn/{EF4FU5MQ.js → YIDOMZG4.js} +2 -2
- package/dist/cdn/{ERGIC6D6.js → YNY5DID2.js} +2 -2
- package/dist/cdn/YTDVJSJX.js +18 -0
- package/dist/cdn/{ZBVYCUUE.js → YV47DKV7.js} +2 -2
- package/dist/cdn/{PA2GPNXE.js → Z3SZUCLO.js} +2 -2
- package/dist/cdn/{JPDMQZUK.js → Z4CHNTUR.js} +2 -2
- package/dist/cdn/{B47TEQB4.js → Z7DYXKP6.js} +2 -2
- package/dist/cdn/{3O5OPBC4.js → ZADKZYIV.js} +1 -1
- package/dist/cdn/{KPN3DJIV.js → ZDSUTEMS.js} +3 -3
- package/dist/cdn/{ZATVZJSM.js → ZFBF24KI.js} +2 -2
- package/dist/cdn/{Z24VIS5S.js → ZIRG4OIM.js} +2 -2
- package/dist/cdn/{PBKTRBPS.js → ZNYW4F3Z.js} +2 -2
- package/dist/cdn/{TDEPYWWK.js → ZPKXYV6G.js} +2 -2
- package/dist/cdn/ZPQEOXHC.js +18 -0
- package/dist/cdn/ZQ4VMSJQ.js +18 -0
- package/dist/cdn/{2RVFCA7L.js → ZZOCPA5X.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +117 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +243 -63
- package/dist/components/arcgis-solutions-assistant/index.d.ts +5 -5
- package/dist/components/arcgis-solutions-assistant/index.js +5 -5
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +6 -0
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +3 -3
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +5 -5
- package/dist/components/map-card/customElement.js +8 -8
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +22 -19
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +7 -7
- package/dist/components/solution-details-panel/customElement.js +25 -28
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +13 -9
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +2 -2
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
- package/dist/components/solutions-all-panel/customElement.js +48 -40
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.js +44 -36
- package/dist/components/solutions-deploy-app/customElement.js +19 -20
- package/dist/components/solutions-deploy-app-nav/customElement.js +33 -27
- package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
- package/dist/components/solutions-deploy-app-nav/index.js +5 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +7 -7
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
- package/dist/components/solutions-filter-panel/customElement.js +77 -60
- package/dist/components/solutions-filter-panel/index.d.ts +1 -0
- package/dist/components/solutions-filter-panel/index.js +1 -0
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +77 -38
- package/dist/components/solutions-resources/index.d.ts +2 -1
- package/dist/components/solutions-resources/index.js +2 -1
- package/dist/components/solutions-resources-shell/customElement.js +12 -12
- package/dist/components/solutions-searchsort-toolbar/customElement.js +31 -29
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +410 -32
- package/dist/docs/docs.json +372 -23
- package/dist/docs/vscode.html-custom-data.json +37 -5
- package/dist/docs/web-types.json +109 -17
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +5 -4
- package/dist/types/preact.d.ts +5 -4
- package/dist/types/preact10.d.ts +5 -4
- package/dist/types/react.d.ts +5 -4
- package/dist/types/stencil.d.ts +5 -4
- package/dist/utils/interfaces.d.ts +7 -2
- package/package.json +1 -1
- package/dist/cdn/2INAA7RT.js +0 -18
- package/dist/cdn/6KOI3W3R.js +0 -18
- package/dist/cdn/6TVC6S4Y.js +0 -18
- package/dist/cdn/6USF6QAM.js +0 -18
- package/dist/cdn/6ZBLXSXD.js +0 -18
- package/dist/cdn/7YHDNEYY.js +0 -18
- package/dist/cdn/CAWPXFWU.js +0 -18
- package/dist/cdn/CSXY6EW2.js +0 -18
- package/dist/cdn/EIMD5MST.js +0 -18
- package/dist/cdn/FHGDKMEF.js +0 -4
- package/dist/cdn/FSJAKDHQ.js +0 -18
- package/dist/cdn/GAH72T7S.js +0 -4
- package/dist/cdn/LOUGJ6XQ.js +0 -4
- package/dist/cdn/NPDEUPTW.js +0 -18
- package/dist/cdn/O3LRUXCM.js +0 -18
- package/dist/cdn/OY6GRXLH.js +0 -4
- package/dist/cdn/RWZ3Z5DO.js +0 -4
- package/dist/cdn/UHW7AOH5.js +0 -18
- package/dist/cdn/UZSZTWRW.js +0 -4
- package/dist/cdn/WZNP6TVG.js +0 -18
- package/dist/cdn/Y3A3KHKJ.js +0 -4
- package/dist/cdn/Z3V4ODRX.js +0 -18
- package/dist/cdn/Z4EEG2E3.js +0 -4
- package/dist/cdn/ZH5JETIN.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as o}from"./DHGCOXVG.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import"./MBQWZGFR.js";var e="\u60A8\u6CA1\u6709\u8DB3\u591F\u7684\u914D\u989D\u6765\u6267\u884C\u6B64\u64CD\u4F5C\u3002 \u8BF7\u8054\u7CFB ArcGIS \u7CFB\u7EDF\u7BA1\u7406\u5458\u83B7\u53D6\u5E2E\u52A9\u3002",a="\u8FD9\u4E2A\u5DE5\u5177\u662F\u4ECE\u7B14\u8BB0\u672C\u4E2D\u53D1\u5E03\u7684\u3002 \u60A8\u7684\u7EC4\u7EC7\u65E0\u6CD5\u8BBF\u95EE ArcGIS Notebooks\u3002 \u8BF7\u8054\u7CFB\u60A8\u7684\u7BA1\u7406\u5458\u6765\u8C03\u6574\u8BBE\u7F6E\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u987B\u4E0E\u4E0B\u5217\u5404\u9879\u4E4B\u4E00\u7684\u65B9\u6848\u5339\u914D\uFF1A${ schemaOptions }\u3002",o="\u8BF7\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u8BE5\u5730\u56FE\u3002",s="\u914D\u989D\u4F30\u7B97\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\uFF0C\u7136\u540E\u518D\u6B21\u4F30\u7B97\u914D\u989D\u3002",i="\u8FD0\u884C\u5206\u6790\u65F6\u51FA\u9519\u3002",l="${ dataPath } \u5FC5\u987B\u7B49\u4E8E\u4EE5\u4E0B\u5141\u8BB8\u503C\u4E4B\u4E00\uFF1A${ allowedValues }\u3002",d="\u65E0\u6CD5\u4FDD\u5B58\u5206\u6790\u5386\u53F2\u8BB0\u5F55",n="\u5386\u53F2\u8BB0\u5F55\u5B58\u50A8\u5DF2\u6EE1\u3002 \u8BF7\u4ECE\u5206\u6790\u5386\u53F2\u8BB0\u5F55\u4E2D\u79FB\u9664\u4E00\u4E9B\u9879\u76EE\u5E76\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u3002",c="\u670D\u52A1\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002",m="\u5C06\u4E34\u65F6\u56FE\u5C42\u4FDD\u5B58\u4E3A\u672A\u5B8C\u6210\u7684\u6258\u7BA1\u8981\u7D20\u56FE\u5C42\u3002",u="\u65E0\u6CD5\u83B7\u53D6\u5173\u952E\u5C5E\u6027\u3002",E="\u65E0\u6CD5\u52A0\u8F7D\u56FE\u5C42\u3002",h="\u56FE\u5C42\u4E0D\u53EF\u7528\u3002",y="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u591A\u4E8E ${ limit } \u4E2A\u3002",P="\u4FDD\u5B58\u6A21\u578B\u65F6\u53D1\u751F\u9519\u8BEF\u3002 \u8BF7\u518D\u6B21\u5C1D\u8BD5\u4FDD\u5B58\u3002",p="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u5C11\u4E8E ${ limit } \u4E2A\u3002",S="${ dataPath } \u4E0D\u5E94\u77ED\u4E8E ${ limit } \u4E2A\u5B57\u7B26\u3002",$="\u65E0\u6CD5\u52A0\u8F7D\u6A21\u578B\u9879\u3002 \u786E\u4FDD\u6A21\u578B\u5B58\u5728\u5E76\u4E14\u5DF2\u6388\u4E88\u8BBF\u95EE\u6743\u9650\u3002",v="\u65E0\u6CD5\u5B8C\u6210\u8BF7\u6C42\u3002",f="\u60A8\u6CA1\u6709\u8FD0\u884C\u6B64\u5DE5\u5177\u7684\u6743\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F</calcite-link>",F="\u65E0\u6CD5\u767B\u5F55\u95E8\u6237\u3002",I="\u65E0\u6CD5\u8BFB\u53D6\u8F93\u5165\u6570\u636E\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u4E3A ${ missingProperty } \u7684\u5C5E\u6027\u3002",T="\u5DF2\u5B58\u5728\u5177\u6709\u6B64\u540D\u79F0\u7684\u7ED3\u679C\u56FE\u5C42\u3002 \u5728\u6574\u4E2A\u7EC4\u7EC7\u4E2D\u7ED3\u679C\u56FE\u5C42\u540D\u79F0\u5FC5\u987B\u552F\u4E00\u3002 \u8BF7\u4F7F\u7528\u5176\u4ED6\u540D\u79F0\u3002",L="\u8F93\u51FA\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002 <a href='${docLink}' target='_blank'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F\u3002</a>",b="\u7531\u4E8E\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u6BB5\uFF0C\u5C06\u4E34\u65F6\u56FE\u5C42\u53D1\u5E03\u4E3A\u6258\u7BA1\u56FE\u5C42\u5931\u8D25\u3002 \u91CD\u65B0\u8FD0\u884C\u8BE5\u5DE5\u5177\u4EE5\u521B\u5EFA\u5177\u6709\u6709\u6548\u5B57\u6BB5\u7684\u56FE\u5C42\u3002",N="\u4F5C\u4E1A\u63D0\u4EA4\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\u5E76\u518D\u6B21\u8FD0\u884C\u8BE5\u5206\u6790\u3002",g="${ dataPath } \u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u7A7A\u767D\u5B57\u7B26\u3002",C={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,C as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{F as s}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{F as s}from"./R4MIR22R.js";var t=s({defaultAssetPath:"https://js.arcgis.com/1.1/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:i,getAssetPath:n,setAssetPath:u}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,i as b,n as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as e,b as t}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as e,b as t}from"./U7VDTXKM.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as b}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as b}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as w}from"./NONG5KLI.js";import{C as n,D as r,E as g,G as m,H as i,I as h,h as f,i as e,j as p}from"./R4MIR22R.js";import"./MBQWZGFR.js";var R=f`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the 'License');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{J as Z,L as W,M,N as ee,bc as oe,ec as re,fc as ne,g as b,gc as ae,hc as le,ic as ie,pb as se,ra as te}from"./TGCN4ZAH.js";import{b as y,h as Y}from"./NLXYJK4H.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St as a};
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{J as Z,L as W,M,N as ee,bc as oe,ec as re,fc as ne,g as b,gc as ae,hc as le,ic as ie,pb as se,ra as te}from"./4LZ24JLH.js";import{b as y,h as Y}from"./EVXTOWTJ.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as u}from"./IPRVH4RI.js";import{a as m,f as b,z as _}from"./WLNT25ZL.js";import{b as d}from"./UYRBQI24.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./R4MIR22R.js";import"./MBQWZGFR.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import"./MBQWZGFR.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{c as t}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{c as t}from"./HFTLCY67.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./DH47CO66.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import g from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import g from"./UH72XJFE.js";import e from"./CJXMS7YJ.js";import"./B5UH25LU.js";import c from"./J3PGCQNO.js";import{a as d}from"./XCI5GOCP.js";import{a as b}from"./IPRVH4RI.js";import"./WLNT25ZL.js";import{b as x}from"./UYRBQI24.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{E as u,G as p,I as f,h as _,i as a,o as h}from"./R4MIR22R.js";import"./MBQWZGFR.js";export default $arcgis.t(([,{a:r,b:g},{e:$,h:w,j:T,k:z,l:E,r:C,s:m,u:v}])=>{var k=_`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-left:20px}:host .instant-apps-interactive-legend__layer-caption--compact{--instant-apps-interactive-legend-ui-padding: 5px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;justify-content:flex-end;width:100%}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__layer-caption-btn-container .instant-apps-interactive-legend__show-all-btn{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:.75rem;padding-inline-start:20px}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__zoom-to-btn{--calcite-icon-color: var(--calcite-ui-brand);--calcite-color-transparent-hover: transparent}:host .instant-apps-interactive-legend__layer-caption--compact .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;font-size:.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-interactive-legend__legend-layer-caption-text{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}:host .instant-apps-interactive-legend__layer-caption-btn-container{display:flex;white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host:dir(rtl) .esri-legend__layer-caption calcite-action{margin-left:unset;margin-right:20px}`,s={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},y=class extends u{constructor(){super(...arguments),this._messages=b({name:"instant-apps-interactive-legend",blocking:!0}),this.expanded=!0,this.legendLayerExpandUpdated=h(),this.showAllSelected=h()}static{this.properties={legendvm:0,activeLayerInfo:0,layer:0,titleText:1,legendElementIndex:9,zoomTo:5,isInteractive:5,legendElement:0,expanded:5}}static{this.styles=k}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdated.emit(),(this.activeLayerInfo?.legendElements?.filter(e=>e.type==="relationship-ramp")).length>0&&g.set("relationshipRampExpandStates",{...r.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=$(this.layer),i=m(e,this.legendElement);E(e,this.legendvm.view,i)}}handleShowAll(){return()=>{let e=()=>{let t=z(n,this.legendElement.title);v({intLegendLayerData:t,layerId:this.layer.id})},i=()=>{let t=T(n);v({intLegendLayerData:t,layerId:this.layer.id})},n=r.data?.[this.layer?.id];if(m(n,this.legendElement)){e();return}i(),this.showAllSelected.emit()}}render(){let e=C(this.activeLayerInfo),i=w(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:n}=this,t=g.get("compact"),o=t?` ${s.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText?a`<span class=${p(s.layerCaptionText)} title=${this.titleText??f}>${this.titleText}</span>`:null,c=this.isInteractive||i?this.renderLegendElementCaptionControls():"";return a`<div class=${`${s.layerCaption}${o}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${n?this._messages.collapse:this._messages.expand} .label=${n?this._messages.collapse:this._messages.expand} scale=s></calcite-action>${t?[l,c]:[c,l]}</div>`}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${s.layerCaptionBtnContainerNoText}`;return d("layer-caption-btn-container",a`<div class=${`${s.layerCaptionBtnContainer}${e}`}>${this.renderShowAllZoomToButtons()}</div>`)}renderShowAllZoomToButtons(){return g.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="zoomToCompact",o=this.zoomTo&&[a`<calcite-action id=${t} class=${p(s.zoomTo)} @click=${this.handleZoomTo()} .icon=${"magnifying-glass-plus"} appearance=transparent scale=s .text=${this._messages.zoomTo}></calcite-action>`,a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"",l=n?a`<button @click=${this.handleShowAll()} class=${p(s.showAll)}>${this._messages.showAll}</button>`:null;return[o,l]}renderButtonUI(){let{data:e}=r,{id:i}=this.layer||{},n=e?.[i]?.categories?.size>1,t="showAll",o="zoomTo",l=n&&[d("show-all-button",a`<calcite-button id=${t} .label=${this._messages.showAll} @click=${this.handleShowAll()} .iconStart=${"list-check-all"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${t} placement=top .label=${this._messages.showAll}>${this._messages.showAll}</calcite-tooltip>`]||"",c=this.zoomTo&&[d("zoom-to-button",a`<calcite-button id=${o} .label=${this._messages.zoomTo} @click=${this.handleZoomTo()} .iconStart=${"magnifying-glass-plus"} appearance=outline round></calcite-button>`),a`<calcite-tooltip .referenceElement=${o} placement=top .label=${this._messages.zoomTo}>${this._messages.zoomTo}</calcite-tooltip>`]||"";return[l,c]}};x("instant-apps-interactive-legend-legend-element-caption",y);return y},c,e,g)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as r}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as o}from"./NONG5KLI.js";import{E as n,h as l,i as a,o as i}from"./R4MIR22R.js";import"./MBQWZGFR.js";var c=l`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import"./MBQWZGFR.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as S}from"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as S}from"./SB75RNE4.js";import"./OSMUWE33.js";import"./4LZ24JLH.js";import"./E6WEKFDH.js";import"./XJ4TOB2R.js";import"./HS3HXJAE.js";import"./R6COI5BF.js";import"./2DCQYFBB.js";import"./EDAOFXZZ.js";import"./XLOESN2G.js";import"./TSE4T2RO.js";import"./3JJFCPWE.js";import"./462W4TZ3.js";import"./DHGCOXVG.js";import"./SPWZIAIS.js";import"./5FZ4QAHO.js";import"./3GWQY4PS.js";import"./HJAQTCS6.js";import"./6JKRMJTG.js";import"./4M355TO2.js";import"./SM3QZXOO.js";import"./IN4GUM3K.js";import"./RG3CO4VX.js";import"./PWOXB7VX.js";import{c as d,d as g,g as v}from"./YNY5DID2.js";import"./EVXTOWTJ.js";import"./MWJGZ3GM.js";import{b as F}from"./W3FLI2DJ.js";import{a as b}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b as L}from"./NONG5KLI.js";import{C as u,D as c,E as w,G as x,H as I,h as m,i as l,l as y,o as p,r as _}from"./R4MIR22R.js";import"./MBQWZGFR.js";var $=m`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -15,4 +15,4 @@ import{a as S}from"./BD5DMPRX.js";import"./EC6U73YO.js";import"./TGCN4ZAH.js";im
|
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
|
-
*/:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.notice-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500}.feature-list-popup-title-small{font-size:small}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,f=class extends w{constructor(){super(),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!1,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=F({name:"feature-list",blocking:!0}),this._pagination=u(),this._calciteList=u(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureClick=p(),this.featureSelect=p(),this.listenOn(window,"selectedLanguageUpdated",this.selectedLanguageUpdated)}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&this.hasUpdated&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await g(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async selectedLanguageUpdated(e){if(this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}async load(){await this.initModules(),this._isLoading=!!this.showInitialLoading,this._popupUtils=new S,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await g(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return l`<calcite-panel>${e&&l`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&l`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&l`<calcite-notice class="notice-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&l`<div>${this.filterByMapExtent&&this.getExtentNotice()||""}${this._featureItems}</div>`||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&l`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async initModules(){let[e,t,s,i]=await b(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=e,this.esriConfig=t,this.symbolUtils=s,this.reactiveUtils=i}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await d(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(i=>{t.push(...i.fields.split(","))});let s=[];t.forEach(i=>{let a=this._selectedLayer?.getField(i.trim());s.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{field_names}}",s.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let s=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,s):t?`${t} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.featureClick.emit(),this.clearHighlights(),this.highlightOnMap){let s=Number(e.target.value),i=this.mapView&&await d(this.mapView,this.selectedLayerId);this._highlightHandle=i&&this.mapView?await v([s],i,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,s=t.createQuery();s.returnGeometry=!0;let i=Number(e.getObjectId());if(!Number.isNaN(i)&&s){s.objectIds=[i];let a=await t.queryFeatures(s);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),s=this.mapView&&await d(this.mapView,this.selectedLayerId);s&&(this._highlightHandle=s.highlight([t],{name:"temporary"}))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let s=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,i=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),r={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};s&&i&&(r.orderByFields=[s.toString()+" "+i]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,i=t.map(async a=>{let r=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map)||"",n,o;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(o=await this.getFeatureSymbol(a)),s&&this.getAbbreviatedLikeCount(a),this.getFeatureItem(a,r,o,n)});return Promise.all(i)}getExtentNotice(){return l`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let s=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(i=>{if(this._validFieldTypes.indexOf(i.type)>-1&&i.name===s&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[s]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{millions_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{thousands_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,s,i){if(this._selectedLayer?.id&&this._calciteList.value){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let r=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",o=this.showUserImageInList?115:65,E=this._calciteList.value.offsetWidth-o;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${h=>{this.featureClicked(h,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${i?.fullName} scale=m slot=content-start .thumbnail=${i?.userProfileUrl} .userId=${i?.id} .username=${i?.fullName?i.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&s&&l`<div class=feature-symbol slot=content-start ${c(h=>h&&h.replaceChildren(s))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${E}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??y} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${r}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let s=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,i=this.mapView?.map?.portalItem.portal?.credential?.token;i&&(s+=`&token=${i}`);let a=await(await fetch(s)).json(),r=a?.username??e.attributes[t],n=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&i&&(n+=`?token=${i}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await this.symbolUtils?.getDisplayedSymbol(e).then(async s=>{if(s&&await this.symbolUtils?.renderPreviewHTML(s,{node:t}),t.children?.length){let i=t.children[0];if(i){let a=Number(i.getAttribute("height")),r=Number(i.getAttribute("width"));r>30&&(t.setAttribute("width","30"),i.setAttribute("width","30")),a>30&&(t.setAttribute("height","30"),i.setAttribute("height","30")),i.setAttribute("viewBox",`0 0 ${r} ${a}`),t.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",f);export{f as FeatureList};
|
|
18
|
+
*/:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.notice-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500}.feature-list-popup-title-small{font-size:small}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,f=class extends w{constructor(){super(),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!1,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=b({name:"feature-list",blocking:!0}),this._pagination=u(),this._calciteList=u(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureClick=p(),this.featureSelect=p(),this.listenOn(window,"selectedLanguageUpdated",this.selectedLanguageUpdated)}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&this.hasUpdated&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await g(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async selectedLanguageUpdated(e){if(this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}async load(){await this.initModules(),this._isLoading=!!this.showInitialLoading,this._popupUtils=new S,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await g(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return l`<calcite-panel>${e&&l`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&l`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&l`<calcite-notice class="notice-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&l`<div>${this.filterByMapExtent&&this.getExtentNotice()||""}${this._featureItems}</div>`||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&l`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async initModules(){let[e,t,s,i]=await F(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=e,this.esriConfig=t,this.symbolUtils=s,this.reactiveUtils=i}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await d(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(i=>{t.push(...i.fields.split(","))});let s=[];t.forEach(i=>{let a=this._selectedLayer?.getField(i.trim());s.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{field_names}}",s.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let s=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,s):t?`${t} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.featureClick.emit(),this.clearHighlights(),this.highlightOnMap){let s=Number(e.target.value),i=this.mapView&&await d(this.mapView,this.selectedLayerId);this._highlightHandle=i&&this.mapView?await v([s],i,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,s=t.createQuery();s.returnGeometry=!0;let i=Number(e.getObjectId());if(!Number.isNaN(i)&&s){s.objectIds=[i];let a=await t.queryFeatures(s);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),s=this.mapView&&await d(this.mapView,this.selectedLayerId);s&&(this._highlightHandle=s.highlight([t],{name:"temporary"}))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let s=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,i=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),r={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};s&&i&&(r.orderByFields=[s.toString()+" "+i]);let n=await t.queryFeatures(r);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,i=t.map(async a=>{let r=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map)||"",n,o;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(o=await this.getFeatureSymbol(a)),s&&this.getAbbreviatedLikeCount(a),this.getFeatureItem(a,r,o,n)});return Promise.all(i)}getExtentNotice(){return l`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let s=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(i=>{if(this._validFieldTypes.indexOf(i.type)>-1&&i.name===s&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[s]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{millions_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{thousands_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,s,i){if(this._selectedLayer?.id&&this._calciteList.value){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let r=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",o=this.showUserImageInList?115:65,E=this._calciteList.value.offsetWidth-o;return l`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${h=>{this.featureClicked(h,e)}} .value=${a}>${this.showUserImageInList&&l`<calcite-avatar class=profile-img .fullName=${i?.fullName} scale=m slot=content-start .thumbnail=${i?.userProfileUrl} .userId=${i?.id} .username=${i?.fullName?i.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&s&&l`<div class=feature-symbol slot=content-start ${c(h=>h&&h.replaceChildren(s))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${E}px`})}>${t}</div>${this._likeFieldAvailable&&l`<div class=like-container id=${a.concat("like")??y} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${r}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let s=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,i=this.mapView?.map?.portalItem.portal?.credential?.token;i&&(s+=`&token=${i}`);let a=await(await fetch(s)).json(),r=a?.username??e.attributes[t],n=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${r}/info/blob.png`;return a?.access&&i&&(n+=`?token=${i}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await this.symbolUtils?.getDisplayedSymbol(e).then(async s=>{if(s&&await this.symbolUtils?.renderPreviewHTML(s,{node:t}),t.children?.length){let i=t.children[0];if(i){let a=Number(i.getAttribute("height")),r=Number(i.getAttribute("width"));r>30&&(t.setAttribute("width","30"),i.setAttribute("width","30")),a>30&&(t.setAttribute("height","30"),i.setAttribute("height","30")),i.setAttribute("viewBox",`0 0 ${r} ${a}`),t.setAttribute("viewBox",`0 0 ${r} ${a}`)}}}),t}};L("feature-list",f);export{f as FeatureList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import"./MBQWZGFR.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.5 */
|
|
4
|
+
import{a as y,b as x}from"./UCM5SJBM.js";import{b as n}from"./A6LMQW4G.js";import{a as v}from"./BUTBZOLQ.js";import{k as m,l as _}from"./EVXTOWTJ.js";import{a as g}from"./T6NTJXMA.js";import"./MV45U2M4.js";import"./AXBSU3HJ.js";import{b}from"./NONG5KLI.js";import{C as o,D as a,E as u,G as p,H as r,I as f,h,i,o as d}from"./R4MIR22R.js";import"./MBQWZGFR.js";var S=h`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.height-32{height:32px}.filter-border{border-color:var(--calcite-color-border-3);border-style:solid;border-width:var(--calcite-border-width-sm)}`,c=class extends u{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=n({context:x,subscribe:!0,callback:e=>this.isMobile=e}),this._userSessionContextConsumer=n({context:y,subscribe:!0}),this.filterRemoved=d(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(m).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(_).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??f} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-32 ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&i`<calcite-button appearance=transparent icon-start=reset @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${p(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100 filter-border" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><calcite-panel><solutions-filter-panel class="height-100" .isAIsettingEnabled=${!!this._userSessionContextConsumer.value?.token} @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?v(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,t){if(this._filters.categories){if(t==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==t);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let t=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(t=[e[e.length-1]]),this._filters.categories=e),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};b("solutions-all-shell",c);export{c as SolutionsAllShell};
|