@esri/solutions-components 1.1.2 → 1.1.4
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/23TGVNDT.js +18 -0
- package/dist/cdn/23ZZGLY2.js +4 -0
- package/dist/cdn/26APWI43.js +4 -0
- package/dist/cdn/26RD3PS2.js +4 -0
- package/dist/cdn/2BD3W5YF.js +4 -0
- package/dist/cdn/2BFOTQ6T.js +4 -0
- package/dist/cdn/2JIJ3PUL.js +5 -0
- package/dist/cdn/2KC7A44G.js +4 -0
- package/dist/cdn/2KRAHU3A.js +4 -0
- package/dist/cdn/2MCZSCMM.js +4 -0
- package/dist/cdn/2OFLAJMD.js +4 -0
- package/dist/cdn/2PF32KNA.js +4 -0
- package/dist/cdn/2TEHAFXZ.js +8 -0
- package/dist/cdn/2UD2JW6W.js +4 -0
- package/dist/cdn/34TH75YO.js +4 -0
- package/dist/cdn/35H4QXX3.js +4 -0
- package/dist/cdn/37H772BX.js +4 -0
- package/dist/cdn/3GUT3PQC.js +4 -0
- package/dist/cdn/3UHCAXWM.js +18 -0
- package/dist/cdn/42SQB2UV.js +4 -0
- package/dist/cdn/432NJDW7.js +4 -0
- package/dist/cdn/43PWS362.js +4 -0
- package/dist/cdn/4AFTBIQP.js +4 -0
- package/dist/cdn/4AJRDF43.js +18 -0
- package/dist/cdn/4JK4PIWF.js +4 -0
- package/dist/cdn/4LWLQBET.js +4 -0
- package/dist/cdn/4RHBTX4E.js +4 -0
- package/dist/cdn/4T7TU3LN.js +18 -0
- package/dist/cdn/4UZVBLR5.js +4 -0
- package/dist/cdn/4VQKM4WR.js +4 -0
- package/dist/cdn/4WESUM52.js +4 -0
- package/dist/cdn/4ZLBQ6D4.js +4 -0
- package/dist/cdn/4ZTHBEAN.js +4 -0
- package/dist/cdn/55LJV5DD.js +18 -0
- package/dist/cdn/56XBTT4O.js +4 -0
- package/dist/cdn/5ATO43XI.js +18 -0
- package/dist/cdn/5CJWMOL3.js +82 -0
- package/dist/cdn/5H5FZQQM.js +18 -0
- package/dist/cdn/5NJMTGSP.js +4 -0
- package/dist/cdn/5Q3767V4.js +4 -0
- package/dist/cdn/5RZG2Z6U.js +4 -0
- package/dist/cdn/5YRDMRWZ.js +4 -0
- package/dist/cdn/642TLBFZ.js +4 -0
- package/dist/cdn/6H2DI4QV.js +294 -0
- package/dist/cdn/6HLCOA2J.js +18 -0
- package/dist/cdn/6RKS45HC.js +4 -0
- package/dist/cdn/6X22FJS6.js +4 -0
- package/dist/cdn/6ZYP4HST.js +4 -0
- package/dist/cdn/7FNGCPHX.js +4 -0
- package/dist/cdn/7JHLTQPN.js +4 -0
- package/dist/cdn/7OMNOQ7U.js +21 -0
- package/dist/cdn/7UE74F3P.js +4 -0
- package/dist/cdn/7X7FF24S.js +4 -0
- package/dist/cdn/7ZYRFEY7.js +4 -0
- package/dist/cdn/A3CB7ASF.js +4 -0
- package/dist/cdn/A3Z5YQFM.js +4 -0
- package/dist/cdn/A4LRNV24.js +4 -0
- package/dist/cdn/AEKQAS23.js +4 -0
- package/dist/cdn/AEMFHUT3.js +4 -0
- package/dist/cdn/AHGBBFKK.js +89 -0
- package/dist/cdn/AJXG7IX5.js +4 -0
- package/dist/cdn/ALLC54AT.js +8 -0
- package/dist/cdn/AME2N5R6.js +4 -0
- package/dist/cdn/AMRA27LM.js +4 -0
- package/dist/cdn/AMTMX3BW.js +4 -0
- package/dist/cdn/ARGB7QOI.js +4 -0
- package/dist/cdn/ASCQB3WJ.js +18 -0
- package/dist/cdn/AVKNWJMU.js +4 -0
- package/dist/cdn/AWZPPOTN.js +4 -0
- package/dist/cdn/AYYWI4A3.js +4 -0
- package/dist/cdn/AZ3MBQZV.js +4 -0
- package/dist/cdn/AZYTSIFB.js +4 -0
- package/dist/cdn/B5YUOXDN.js +4 -0
- package/dist/cdn/BATYSOVB.js +18 -0
- package/dist/cdn/BBUKCBZH.js +4 -0
- package/dist/cdn/BE7RCTIW.js +4 -0
- package/dist/cdn/BEKDBEOP.js +4 -0
- package/dist/cdn/BFSYEFJF.js +4 -0
- package/dist/cdn/BGUOHLDS.js +4 -0
- package/dist/cdn/BJW5LXLH.js +18 -0
- package/dist/cdn/BLTZZN2S.js +4 -0
- package/dist/cdn/BNBQO7AY.js +4 -0
- package/dist/cdn/BOWAWB4X.js +4 -0
- package/dist/cdn/BQZGOJ7O.js +4 -0
- package/dist/cdn/BS7PISQQ.js +4 -0
- package/dist/cdn/BU6B533Y.js +4 -0
- package/dist/cdn/C23DNOM4.js +18 -0
- package/dist/cdn/C5233EHR.js +4 -0
- package/dist/cdn/C76FP4MR.js +4 -0
- package/dist/cdn/CAHFCE4T.js +4 -0
- package/dist/cdn/CCDB7WQC.js +4 -0
- package/dist/cdn/CDVDTOES.js +4 -0
- package/dist/cdn/CGZBTZJR.js +4 -0
- package/dist/cdn/CHDLTXQ4.js +4 -0
- package/dist/cdn/CKPGSBU3.js +4 -0
- package/dist/cdn/CLJPTIVQ.js +18 -0
- package/dist/cdn/CND6NAR6.js +18 -0
- package/dist/cdn/CO7NHF75.js +4 -0
- package/dist/cdn/CPNGY255.js +4 -0
- package/dist/cdn/CSIRFAU6.js +4 -0
- package/dist/cdn/CT7ABHK2.js +4 -0
- package/dist/cdn/CVM23Z3W.js +4 -0
- package/dist/cdn/CW75KMEC.js +18 -0
- package/dist/cdn/CWHNOFME.js +4 -0
- package/dist/cdn/CYTR3HPD.js +18 -0
- package/dist/cdn/D56T5IN2.js +4 -0
- package/dist/cdn/D5XPA4NF.js +4 -0
- package/dist/cdn/DAACTUXD.js +4 -0
- package/dist/cdn/DFIJIF4I.js +4 -0
- package/dist/cdn/DOCE3G4U.js +18 -0
- package/dist/cdn/DP4TDB7X.js +4 -0
- package/dist/cdn/DYKLK7SE.js +4 -0
- package/dist/cdn/DZHQD6XA.js +4 -0
- package/dist/cdn/EDUHM55V.js +4 -0
- package/dist/cdn/EFMP72GE.js +4 -0
- package/dist/cdn/EFXWPDM6.js +4 -0
- package/dist/cdn/ENQBSPO5.js +18 -0
- package/dist/cdn/ERLXDIUS.js +4 -0
- package/dist/cdn/ESFGGYTR.js +4 -0
- package/dist/cdn/EU36FEVM.js +4 -0
- package/dist/cdn/EW6KAVCF.js +4 -0
- package/dist/cdn/EZNXFGZK.js +18 -0
- package/dist/cdn/F55B5BNY.js +4 -0
- package/dist/cdn/F623IGPX.js +4 -0
- package/dist/cdn/F7BLCQ4K.js +4 -0
- package/dist/cdn/F7GNLKUF.js +4 -0
- package/dist/cdn/FAIXLWVI.js +4 -0
- package/dist/cdn/FBLRDUIQ.js +4 -0
- package/dist/cdn/FC6IKY2W.js +4 -0
- package/dist/cdn/FDGW2TGF.js +4 -0
- package/dist/cdn/FGUII2EP.js +4 -0
- package/dist/cdn/FLRWOPU6.js +4 -0
- package/dist/cdn/FNCUTBX7.js +4 -0
- package/dist/cdn/FNXB73R7.js +4 -0
- package/dist/cdn/FSBYBBAR.js +4 -0
- package/dist/cdn/FZZ64EU7.js +4 -0
- package/dist/cdn/G2YLNGCI.js +4 -0
- package/dist/cdn/G5GGYFR7.js +4 -0
- package/dist/cdn/GAIF3U4K.js +4 -0
- package/dist/cdn/GE4VUR2S.js +4 -0
- package/dist/cdn/GFTWHNVR.js +20 -0
- package/dist/cdn/GILNSHEK.js +4 -0
- package/dist/cdn/GKPJSKC5.js +4 -0
- package/dist/cdn/GKQNL5AY.js +4 -0
- package/dist/cdn/GLAMS6KT.js +4 -0
- package/dist/cdn/GRGB44ZC.js +18 -0
- package/dist/cdn/GSWDAF7B.js +4 -0
- package/dist/cdn/GWMD5UNN.js +18 -0
- package/dist/cdn/GXDKEOCW.js +4 -0
- package/dist/cdn/GZ26EW7P.js +4 -0
- package/dist/cdn/GZCFCVWF.js +4 -0
- package/dist/cdn/GZF6LAN2.js +4 -0
- package/dist/cdn/GZGJXMQF.js +4 -0
- package/dist/cdn/GZPGG7RQ.js +4 -0
- package/dist/cdn/H2MXX7QX.js +4 -0
- package/dist/cdn/H6TOIC3H.js +4 -0
- package/dist/cdn/HAV76SHY.js +18 -0
- package/dist/cdn/HB35K7EJ.js +4 -0
- package/dist/cdn/HJ7NVYR7.js +18 -0
- package/dist/cdn/HL4DPJUK.js +4 -0
- package/dist/cdn/HN6IYS37.js +4 -0
- package/dist/cdn/HPKB6T3A.js +4 -0
- package/dist/cdn/HRMQHYLD.js +5 -0
- package/dist/cdn/HY422JHS.js +4 -0
- package/dist/cdn/I27E56PQ.js +4 -0
- package/dist/cdn/I2EDD3VI.js +18 -0
- package/dist/cdn/I73TU25U.js +4 -0
- package/dist/cdn/IFKIUWVZ.js +4 -0
- package/dist/cdn/IFO37FNO.js +4 -0
- package/dist/cdn/IJD2AMEM.js +4 -0
- package/dist/cdn/ILIP26MD.js +4 -0
- package/dist/cdn/IPRPAA72.js +6 -0
- package/dist/cdn/IQU3AOVC.js +19 -0
- package/dist/cdn/IUVFHVNJ.js +4 -0
- package/dist/cdn/IY2WYTE7.js +4 -0
- package/dist/cdn/J425E2LA.js +4 -0
- package/dist/cdn/J5A6CFMG.js +4 -0
- package/dist/cdn/J5UADYNK.js +29 -0
- package/dist/cdn/JMI6ELYN.js +4 -0
- package/dist/cdn/JR2ALUWD.js +18 -0
- package/dist/cdn/JVH5EVFM.js +4 -0
- package/dist/cdn/JW3A3AEJ.js +18 -0
- package/dist/cdn/JWJZMQQB.js +4 -0
- package/dist/cdn/JXF5ZDU3.js +4 -0
- package/dist/cdn/JYWHUF5Y.js +4 -0
- package/dist/cdn/JZ33N4OT.js +4 -0
- package/dist/cdn/KBQL7WYT.js +18 -0
- package/dist/cdn/KCVL34ZO.js +4 -0
- package/dist/cdn/KD6FTCWQ.js +4 -0
- package/dist/cdn/KVWH2WJX.js +4 -0
- package/dist/cdn/LCY63BRS.js +18 -0
- package/dist/cdn/LEOKXG3G.js +4 -0
- package/dist/cdn/LFLGSFUG.js +4 -0
- package/dist/cdn/LGEMJU6L.js +18 -0
- package/dist/cdn/LGR4ZJLK.js +18 -0
- package/dist/cdn/LPX6FY5M.js +4 -0
- package/dist/cdn/LR7LKOIM.js +25 -0
- package/dist/cdn/LU7IE2XC.js +4 -0
- package/dist/cdn/LZBPDHCZ.js +4 -0
- package/dist/cdn/MAWXGZOQ.js +4 -0
- package/dist/cdn/MBMSJWWT.js +18 -0
- package/dist/cdn/MGI27N6Z.js +4 -0
- package/dist/cdn/ML7RDHJK.js +4 -0
- package/dist/cdn/MOO5HUTK.js +4 -0
- package/dist/cdn/MQURQKFM.js +4 -0
- package/dist/cdn/MX4IW5YN.js +4 -0
- package/dist/cdn/MZJFQAPA.js +4 -0
- package/dist/cdn/N43VXMCI.js +4 -0
- package/dist/cdn/N6YIMQMF.js +4 -0
- package/dist/cdn/N7KG6TLQ.js +4 -0
- package/dist/cdn/NEHD7BWS.js +4 -0
- package/dist/cdn/NMCQMLLM.js +4 -0
- package/dist/cdn/NPDND32J.js +4 -0
- package/dist/cdn/NVJDDGAX.js +4 -0
- package/dist/cdn/NYIMVG6I.js +4 -0
- package/dist/cdn/O3KT4DDI.js +4 -0
- package/dist/cdn/O42KNPRU.js +4 -0
- package/dist/cdn/OC4LXNQP.js +19 -0
- package/dist/cdn/OF2LVTY5.js +4 -0
- package/dist/cdn/OMVONFJ5.js +4 -0
- package/dist/cdn/OT3PGUNJ.js +18 -0
- package/dist/cdn/OVKQ7TBK.js +4 -0
- package/dist/cdn/OVSHX34W.js +4 -0
- package/dist/cdn/OWRNLUAM.js +4 -0
- package/dist/cdn/P5EZ7TAW.js +18 -0
- package/dist/cdn/PBYEPN4U.js +4 -0
- package/dist/cdn/PG6P7PAY.js +4 -0
- package/dist/cdn/PHPBVYAN.js +4 -0
- package/dist/cdn/PHVURERU.js +4 -0
- package/dist/cdn/PJV6EGV6.js +18 -0
- package/dist/cdn/PREOVEW5.js +4 -0
- package/dist/cdn/PSKXBFNJ.js +4 -0
- package/dist/cdn/PTMZ4JVP.js +4 -0
- package/dist/cdn/Q7CROOM3.js +18 -0
- package/dist/cdn/QCIKLF3J.js +18 -0
- package/dist/cdn/QEZD2RKR.js +4 -0
- package/dist/cdn/QHESJJYD.js +4 -0
- package/dist/cdn/QHPKAKUU.js +18 -0
- package/dist/cdn/QK7BUSQS.js +4 -0
- package/dist/cdn/QK7PQ3CA.js +18 -0
- package/dist/cdn/QNSEGUHW.js +4 -0
- package/dist/cdn/QVIM3F2B.js +4 -0
- package/dist/cdn/QW4O42N2.js +4 -0
- package/dist/cdn/RAVRHF3Y.js +18 -0
- package/dist/cdn/REYRBAER.js +4 -0
- package/dist/cdn/RF2OPXXP.js +4 -0
- package/dist/cdn/RMWUCFHB.js +4 -0
- package/dist/cdn/RPUGAOID.js +4 -0
- package/dist/cdn/RYIKOVC4.js +4 -0
- package/dist/cdn/S2UELZDS.js +18 -0
- package/dist/cdn/S7BA22Z5.js +4 -0
- package/dist/cdn/S7NA5UUY.js +18 -0
- package/dist/cdn/SBXXDOKG.js +4 -0
- package/dist/cdn/SGIHH4DD.js +18 -0
- package/dist/cdn/SMQE63G2.js +4 -0
- package/dist/cdn/SQCBTMSG.js +8 -0
- package/dist/cdn/SQWENXE7.js +9 -0
- package/dist/cdn/SUDZEHPR.js +4 -0
- package/dist/cdn/SV5GC3GK.js +18 -0
- package/dist/cdn/T4NISNVO.js +4 -0
- package/dist/cdn/T5T7GCVV.js +4 -0
- package/dist/cdn/TBFX3EVD.js +4 -0
- package/dist/cdn/TBL7BIV7.js +4 -0
- package/dist/cdn/TH2LQVXB.js +18 -0
- package/dist/cdn/TKTNS4QT.js +4 -0
- package/dist/cdn/TNUUEL6P.js +18 -0
- package/dist/cdn/TO6VYOOK.js +4 -0
- package/dist/cdn/TRDAVDVV.js +4 -0
- package/dist/cdn/TSHEHQMQ.js +4 -0
- package/dist/cdn/TTCJV5HS.js +18 -0
- package/dist/cdn/TTJFLDHP.js +18 -0
- package/dist/cdn/TYMMEDNB.js +4 -0
- package/dist/cdn/TZCZPG5X.js +4 -0
- package/dist/cdn/TZV7I7OA.js +18 -0
- package/dist/cdn/U22L3RI5.js +19 -0
- package/dist/cdn/U3LQ6PH3.js +4 -0
- package/dist/cdn/UBTZZR25.js +4 -0
- package/dist/cdn/UC7ZG7S3.js +4 -0
- package/dist/cdn/UNXAQV3E.js +4 -0
- package/dist/cdn/UO7HYYBG.js +4 -0
- package/dist/cdn/UOW7X5K6.js +4 -0
- package/dist/cdn/UREMM23E.js +4 -0
- package/dist/cdn/URGLXCMP.js +4 -0
- package/dist/cdn/UTVAGL7O.js +4 -0
- package/dist/cdn/UTYWKZWI.js +18 -0
- package/dist/cdn/UVP3QEXZ.js +18 -0
- package/dist/cdn/UXATKH5S.js +18 -0
- package/dist/cdn/V2SGK6W7.js +4 -0
- package/dist/cdn/V2SI23ZA.js +18 -0
- package/dist/cdn/V3S6TB66.js +4 -0
- package/dist/cdn/V4HOSOVM.js +4 -0
- package/dist/cdn/V7SZH2RC.js +4 -0
- package/dist/cdn/VAJPAOUI.js +4 -0
- package/dist/cdn/VDDRSCWE.js +4 -0
- package/dist/cdn/VDXJT6KX.js +4 -0
- package/dist/cdn/VEWASZJB.js +4 -0
- package/dist/cdn/VIH7GETV.js +4 -0
- package/dist/cdn/VMJTYN3P.js +4 -0
- package/dist/cdn/VNMNXAVQ.js +18 -0
- package/dist/cdn/VRU7IM5G.js +4 -0
- package/dist/cdn/VY6LOXWH.js +4 -0
- package/dist/cdn/VZG7PYDY.js +4 -0
- package/dist/cdn/W2U332RR.js +18 -0
- package/dist/cdn/W3S4K3XB.js +4 -0
- package/dist/cdn/W75JNTGT.js +18 -0
- package/dist/cdn/W7S3KRZJ.js +4 -0
- package/dist/cdn/WJZXBWVM.js +18 -0
- package/dist/cdn/WKK3GS5R.js +4 -0
- package/dist/cdn/WKYYGS7X.js +4 -0
- package/dist/cdn/WNVKL67O.js +4 -0
- package/dist/cdn/WPHV7YFJ.js +4 -0
- package/dist/cdn/WPUWPBLC.js +4 -0
- package/dist/cdn/WTVUV6X4.js +4 -0
- package/dist/cdn/WTWNLOAO.js +6 -0
- package/dist/cdn/WUDA7K22.js +4 -0
- package/dist/cdn/WVOMDGDW.js +4 -0
- package/dist/cdn/WYZM42EH.js +18 -0
- package/dist/cdn/X7F7A7RU.js +18 -0
- package/dist/cdn/XCHD5XOJ.js +4 -0
- package/dist/cdn/XDU754Y3.js +18 -0
- package/dist/cdn/XHI4A5HF.js +4 -0
- package/dist/cdn/XJOSHL6G.js +4 -0
- package/dist/cdn/XPXK6WN7.js +4 -0
- package/dist/cdn/XQW5OF3W.js +4 -0
- package/dist/cdn/XRQ5EWWN.js +4 -0
- package/dist/cdn/XZPAWADO.js +18 -0
- package/dist/cdn/Y2BHCBN2.js +4 -0
- package/dist/cdn/Y6LWGXAH.js +18 -0
- package/dist/cdn/Y6XTLVDJ.js +9 -0
- package/dist/cdn/YA36R2QR.js +4 -0
- package/dist/cdn/YDTQ22TO.js +18 -0
- package/dist/cdn/YJO3OCFG.js +4 -0
- package/dist/cdn/YOKFSPW5.js +4 -0
- package/dist/cdn/YV22TPLV.js +18 -0
- package/dist/cdn/YVKX627B.js +4 -0
- package/dist/cdn/Z42ZJZHJ.js +4 -0
- package/dist/cdn/Z6NHNS5M.js +385 -0
- package/dist/cdn/Z7Q2HPG7.js +4 -0
- package/dist/cdn/ZAGFS5XW.js +4 -0
- package/dist/cdn/ZPUYJ7B5.js +18 -0
- package/dist/cdn/ZQ5UFA6J.js +4 -0
- package/dist/cdn/ZWEGUQZQ.js +4 -0
- package/dist/cdn/ZZZ5IXTY.js +18 -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 -0
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
- 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/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +30 -25
- 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.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +16 -17
- package/dist/components/map-card/customElement.js +14 -15
- 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 +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- 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 +6 -6
- package/dist/components/solution-details-panel/customElement.js +27 -30
- package/dist/components/solution-details-panel/index.d.ts +1 -1
- package/dist/components/solution-details-panel/index.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +37 -0
- package/dist/components/solution-resource-card/customElement.js +49 -0
- 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 -2
- package/dist/components/solutions-all-panel/customElement.js +5 -2
- package/dist/components/solutions-all-shell/customElement.js +25 -20
- package/dist/components/solutions-deploy-app/customElement.js +18 -18
- package/dist/components/solutions-deploy-app/index.d.ts +1 -1
- package/dist/components/solutions-deploy-app/index.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +47 -26
- package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
- package/dist/components/solutions-deploy-app-nav/index.js +4 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -2
- package/dist/components/solutions-deployed-panel/customElement.js +9 -6
- package/dist/components/solutions-deployed-shell/customElement.js +5 -5
- package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
- package/dist/components/solutions-filter-panel/customElement.js +21 -21
- package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
- package/dist/components/solutions-resource-panel/customElement.js +43 -0
- package/dist/components/solutions-resources/customElement.d.ts +7 -0
- package/dist/components/solutions-resources/customElement.js +80 -0
- package/dist/components/solutions-resources/index.d.ts +11 -0
- package/dist/components/solutions-resources/index.js +11 -0
- package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
- package/dist/components/solutions-resources-shell/customElement.js +43 -0
- package/dist/components/solutions-resources-shell/index.d.ts +5 -0
- package/dist/components/solutions-resources-shell/index.js +5 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +5 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +669 -568
- package/dist/docs/docs.json +631 -546
- package/dist/docs/vscode.html-custom-data.json +85 -75
- package/dist/docs/web-types.json +214 -188
- package/dist/index.d.ts +49 -49
- package/dist/index.js +1 -1
- package/dist/loader.js +8 -8
- package/dist/types/lumina.d.ts +25 -25
- package/dist/types/preact.d.ts +29 -29
- package/dist/types/preact10.d.ts +33 -33
- package/dist/types/react.d.ts +33 -33
- package/dist/types/stencil.d.ts +25 -25
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +6 -2
- package/package.json +1 -1
- package/dist/cdn/23IRBL5F.js +0 -18
- package/dist/cdn/2BG54SQT.js +0 -18
- package/dist/cdn/2NNSKNYF.js +0 -4
- package/dist/cdn/2PCYWVDT.js +0 -4
- package/dist/cdn/2SPXLWJO.js +0 -4
- package/dist/cdn/2TPODPFQ.js +0 -4
- package/dist/cdn/2TSN3PFX.js +0 -385
- package/dist/cdn/2X27XYSX.js +0 -4
- package/dist/cdn/2YJKIAGN.js +0 -18
- package/dist/cdn/2Z3MNBH3.js +0 -4
- package/dist/cdn/3AIKEAXO.js +0 -25
- package/dist/cdn/3CXAQKWJ.js +0 -18
- package/dist/cdn/3D6XZSQQ.js +0 -4
- package/dist/cdn/3NOB3U76.js +0 -4
- package/dist/cdn/3Q67Q7SB.js +0 -4
- package/dist/cdn/3V7OTVXH.js +0 -18
- package/dist/cdn/46CVQ75Q.js +0 -4
- package/dist/cdn/4ATJSWKM.js +0 -18
- package/dist/cdn/4CQTDBOU.js +0 -4
- package/dist/cdn/4HHR7PZR.js +0 -4
- package/dist/cdn/4KTBRCKI.js +0 -18
- package/dist/cdn/4LC4KY4J.js +0 -18
- package/dist/cdn/4RFYINXZ.js +0 -18
- package/dist/cdn/4S5VXIST.js +0 -18
- package/dist/cdn/4VNLVOPL.js +0 -4
- package/dist/cdn/4WXC25SR.js +0 -19
- package/dist/cdn/52W3R4RL.js +0 -4
- package/dist/cdn/52YHWBMR.js +0 -4
- package/dist/cdn/54DZZUSQ.js +0 -4
- package/dist/cdn/56BEAQZV.js +0 -4
- package/dist/cdn/56F5USQF.js +0 -4
- package/dist/cdn/57D4BUE5.js +0 -4
- package/dist/cdn/5AT5TJIP.js +0 -4
- package/dist/cdn/5ES6SYN7.js +0 -4
- package/dist/cdn/5HDRNMQJ.js +0 -4
- package/dist/cdn/5L5QLMGU.js +0 -18
- package/dist/cdn/5MR2SW5F.js +0 -4
- package/dist/cdn/5OTGWJLM.js +0 -4
- package/dist/cdn/5SL47RKJ.js +0 -4
- package/dist/cdn/5SPE3LHH.js +0 -4
- package/dist/cdn/623KYN7N.js +0 -18
- package/dist/cdn/65O4PRAV.js +0 -4
- package/dist/cdn/6LCAW5ML.js +0 -4
- package/dist/cdn/6QBHMCGQ.js +0 -4
- package/dist/cdn/6S7UIEGR.js +0 -18
- package/dist/cdn/6SKVVL25.js +0 -4
- package/dist/cdn/6TLN7QJA.js +0 -4
- package/dist/cdn/6UG5WDWV.js +0 -4
- package/dist/cdn/6XOYHC7J.js +0 -4
- package/dist/cdn/76VH62DU.js +0 -4
- package/dist/cdn/77DDT2NZ.js +0 -18
- package/dist/cdn/7JQBDEYQ.js +0 -4
- package/dist/cdn/7LGPOI25.js +0 -4
- package/dist/cdn/7MR2GERG.js +0 -4
- package/dist/cdn/7MU53L6J.js +0 -4
- package/dist/cdn/7QLTAN6E.js +0 -4
- package/dist/cdn/7SQLFBYH.js +0 -4
- package/dist/cdn/7SVO5H2S.js +0 -18
- package/dist/cdn/7SW2TDGW.js +0 -20
- package/dist/cdn/A2YLMAEB.js +0 -4
- package/dist/cdn/A5SRIAVS.js +0 -18
- package/dist/cdn/AD4DWMVS.js +0 -4
- package/dist/cdn/AJ4JBY3E.js +0 -4
- package/dist/cdn/AKNFGCOO.js +0 -4
- package/dist/cdn/ALPBERVX.js +0 -4
- package/dist/cdn/AQCUMS2V.js +0 -4
- package/dist/cdn/AQYGK2BV.js +0 -4
- package/dist/cdn/AUZAHXSQ.js +0 -4
- package/dist/cdn/AWBHRN6T.js +0 -4
- package/dist/cdn/AWV7PNON.js +0 -4
- package/dist/cdn/AWYME7F7.js +0 -4
- package/dist/cdn/AXAW5ILZ.js +0 -18
- package/dist/cdn/B6OALUXR.js +0 -4
- package/dist/cdn/BBQYN3N7.js +0 -4
- package/dist/cdn/BDEGFKHR.js +0 -4
- package/dist/cdn/BFPWVVHF.js +0 -4
- package/dist/cdn/BFZS6QRQ.js +0 -18
- package/dist/cdn/BJQAP3O2.js +0 -4
- package/dist/cdn/BMSCYDPC.js +0 -4
- package/dist/cdn/BOOF3NBM.js +0 -4
- package/dist/cdn/BQIRDUCX.js +0 -4
- package/dist/cdn/BSKFNFRN.js +0 -4
- package/dist/cdn/BTK7H2UX.js +0 -18
- package/dist/cdn/BVKE6BFN.js +0 -4
- package/dist/cdn/C3RJP556.js +0 -6
- package/dist/cdn/C72XLEL7.js +0 -4
- package/dist/cdn/CBGO2YBX.js +0 -4
- package/dist/cdn/CBVSJH3I.js +0 -18
- package/dist/cdn/CD46MAFQ.js +0 -4
- package/dist/cdn/CD4VLBIG.js +0 -4
- package/dist/cdn/CEKBH7TV.js +0 -4
- package/dist/cdn/CEORPQJR.js +0 -4
- package/dist/cdn/CIVTXV63.js +0 -4
- package/dist/cdn/CWP75JYL.js +0 -18
- package/dist/cdn/CZRJGD6M.js +0 -4
- package/dist/cdn/D2BNLIR4.js +0 -4
- package/dist/cdn/D33EIGNT.js +0 -4
- package/dist/cdn/DADQEBSP.js +0 -4
- package/dist/cdn/DCM6XZAR.js +0 -4
- package/dist/cdn/DDBL2HDT.js +0 -4
- package/dist/cdn/DE3YUG4H.js +0 -4
- package/dist/cdn/DHMSET7H.js +0 -4
- package/dist/cdn/DOX3JTNJ.js +0 -4
- package/dist/cdn/DOZB6DFJ.js +0 -4
- package/dist/cdn/DRUIQVWC.js +0 -4
- package/dist/cdn/DV3WDXZ7.js +0 -4
- package/dist/cdn/DZI3NZZS.js +0 -18
- package/dist/cdn/EEBZHKDM.js +0 -8
- package/dist/cdn/EGOHOQ75.js +0 -4
- package/dist/cdn/EHUHNBX5.js +0 -4
- package/dist/cdn/ELHKOYWS.js +0 -4
- package/dist/cdn/ENIYIB7V.js +0 -18
- package/dist/cdn/EPZ7O3EU.js +0 -4
- package/dist/cdn/EQFPI3FP.js +0 -4
- package/dist/cdn/ES5BMMHS.js +0 -4
- package/dist/cdn/ESCVJT5H.js +0 -4
- package/dist/cdn/EY67YJ3O.js +0 -4
- package/dist/cdn/FBIVVIPK.js +0 -9
- package/dist/cdn/FCX66S7M.js +0 -4
- package/dist/cdn/FHWM6U56.js +0 -4
- package/dist/cdn/FNFLIMK4.js +0 -4
- package/dist/cdn/FPMQYHKA.js +0 -18
- package/dist/cdn/FQ4OKLWN.js +0 -4
- package/dist/cdn/FRQXGBUS.js +0 -4
- package/dist/cdn/FRUFK6VO.js +0 -4
- package/dist/cdn/FTXGL447.js +0 -18
- package/dist/cdn/G2I5HABN.js +0 -4
- package/dist/cdn/G2Z7STGZ.js +0 -4
- package/dist/cdn/G4YRJUBG.js +0 -18
- package/dist/cdn/GCTPCYBJ.js +0 -8
- package/dist/cdn/GD4QMW4I.js +0 -4
- package/dist/cdn/GF5KUEBW.js +0 -4
- package/dist/cdn/GKH6SK5J.js +0 -4
- package/dist/cdn/GLO46OKK.js +0 -4
- package/dist/cdn/GMIPLZOK.js +0 -18
- package/dist/cdn/GPTGQ7YV.js +0 -18
- package/dist/cdn/GQSDM4R7.js +0 -4
- package/dist/cdn/GUT2FDGN.js +0 -4
- package/dist/cdn/GV62Y43A.js +0 -4
- package/dist/cdn/GX3BMYNP.js +0 -4
- package/dist/cdn/GYQVTQNA.js +0 -4
- package/dist/cdn/H2CI7OUX.js +0 -18
- package/dist/cdn/H6HF6HSD.js +0 -4
- package/dist/cdn/H7VJRQAW.js +0 -4
- package/dist/cdn/HAZITU6Q.js +0 -4
- package/dist/cdn/HBUDH3U6.js +0 -4
- package/dist/cdn/HDRPW73J.js +0 -18
- package/dist/cdn/HEBJZ2UQ.js +0 -18
- package/dist/cdn/HKJUYDHF.js +0 -4
- package/dist/cdn/HKY6SY7D.js +0 -4
- package/dist/cdn/HOP2FWBH.js +0 -18
- package/dist/cdn/HPI4FZPC.js +0 -18
- package/dist/cdn/HQVMLALO.js +0 -18
- package/dist/cdn/HRLLJHAS.js +0 -4
- package/dist/cdn/HSNA2TI3.js +0 -4
- package/dist/cdn/HUCMZEDU.js +0 -4
- package/dist/cdn/HUOOT4GV.js +0 -19
- package/dist/cdn/HX72RMB7.js +0 -5
- package/dist/cdn/HXCAD5K5.js +0 -4
- package/dist/cdn/HYIFXLL5.js +0 -4
- package/dist/cdn/HZLUYQD7.js +0 -4
- package/dist/cdn/I5MORTV6.js +0 -4
- package/dist/cdn/I66U7ET6.js +0 -4
- package/dist/cdn/IE3XKNUU.js +0 -4
- package/dist/cdn/IH5CADVW.js +0 -4
- package/dist/cdn/IIMUYPMO.js +0 -18
- package/dist/cdn/IJNJBT7T.js +0 -18
- package/dist/cdn/IMQR7CXF.js +0 -4
- package/dist/cdn/IMXNLCKH.js +0 -18
- package/dist/cdn/IQVE6W6Y.js +0 -4
- package/dist/cdn/IRHKLM6Z.js +0 -4
- package/dist/cdn/J33QV26U.js +0 -4
- package/dist/cdn/J6F3J2Q6.js +0 -18
- package/dist/cdn/JB5YQ3CN.js +0 -4
- package/dist/cdn/JCAPW2PV.js +0 -18
- package/dist/cdn/JKGMH4J5.js +0 -4
- package/dist/cdn/JN5XM3AT.js +0 -4
- package/dist/cdn/JRUXKUE3.js +0 -4
- package/dist/cdn/JZXBOMMZ.js +0 -4
- package/dist/cdn/KC24JR4A.js +0 -4
- package/dist/cdn/KDWK7NRY.js +0 -18
- package/dist/cdn/KERDLSZH.js +0 -4
- package/dist/cdn/KR7ZU66F.js +0 -18
- package/dist/cdn/KTHJ4VRR.js +0 -4
- package/dist/cdn/LDFEZP62.js +0 -4
- package/dist/cdn/LGYZHAI4.js +0 -4
- package/dist/cdn/LN54IQWS.js +0 -4
- package/dist/cdn/LNTE2YQ6.js +0 -18
- package/dist/cdn/LOKI5I7L.js +0 -4
- package/dist/cdn/LOLBOPYH.js +0 -4
- package/dist/cdn/LTSBVHHD.js +0 -4
- package/dist/cdn/LW3YV4M2.js +0 -4
- package/dist/cdn/LWU5XFP4.js +0 -4
- package/dist/cdn/LXFYLAHF.js +0 -4
- package/dist/cdn/LXMUEGOO.js +0 -9
- package/dist/cdn/LYLKQ45A.js +0 -4
- package/dist/cdn/M2L26H4Z.js +0 -4
- package/dist/cdn/MAFZV4UM.js +0 -4
- package/dist/cdn/MBF3EUPM.js +0 -4
- package/dist/cdn/MDL7NF2I.js +0 -4
- package/dist/cdn/MIJ52CTW.js +0 -4
- package/dist/cdn/MO5DXYLP.js +0 -4
- package/dist/cdn/MSUAXEZP.js +0 -4
- package/dist/cdn/MUZWUHB6.js +0 -4
- package/dist/cdn/MVZNCHUV.js +0 -4
- package/dist/cdn/MW5CGGVU.js +0 -4
- package/dist/cdn/MXOYXNB4.js +0 -4
- package/dist/cdn/NAV7MYUI.js +0 -4
- package/dist/cdn/NBT5QLPO.js +0 -4
- package/dist/cdn/NBTALLIF.js +0 -4
- package/dist/cdn/NBW47T6S.js +0 -4
- package/dist/cdn/NGDFUBVG.js +0 -6
- package/dist/cdn/NKGKBATM.js +0 -4
- package/dist/cdn/NSRTVCII.js +0 -4
- package/dist/cdn/NV3PO22N.js +0 -4
- package/dist/cdn/O3VQFZ3Z.js +0 -4
- package/dist/cdn/O4MSW7YU.js +0 -18
- package/dist/cdn/ODOM2KDI.js +0 -4
- package/dist/cdn/OL34ZYRL.js +0 -4
- package/dist/cdn/OOPF4GJM.js +0 -18
- package/dist/cdn/OR63XKHD.js +0 -18
- package/dist/cdn/OSKD73JO.js +0 -4
- package/dist/cdn/OSPMSWIL.js +0 -4
- package/dist/cdn/OY53JN5E.js +0 -18
- package/dist/cdn/OYZGMLSA.js +0 -18
- package/dist/cdn/P7LLQPML.js +0 -4
- package/dist/cdn/PCMVKKEJ.js +0 -4
- package/dist/cdn/PI7FQ7L6.js +0 -4
- package/dist/cdn/PKCH4S3D.js +0 -4
- package/dist/cdn/PODGSK2R.js +0 -4
- package/dist/cdn/PPRAWJ2S.js +0 -82
- package/dist/cdn/PR5LDTTA.js +0 -4
- package/dist/cdn/PRLO77AT.js +0 -4
- package/dist/cdn/PTROR6FA.js +0 -4
- package/dist/cdn/Q2PF3RGD.js +0 -4
- package/dist/cdn/Q5RZXHBC.js +0 -4
- package/dist/cdn/Q7XKQTSB.js +0 -29
- package/dist/cdn/QA44KCLS.js +0 -21
- package/dist/cdn/QC4PNSX4.js +0 -4
- package/dist/cdn/QG2MAKZO.js +0 -89
- package/dist/cdn/QJFIQKTM.js +0 -18
- package/dist/cdn/QJFO73DP.js +0 -4
- package/dist/cdn/QJRRAYAE.js +0 -18
- package/dist/cdn/QJSXBPEC.js +0 -4
- package/dist/cdn/QKMXHBVJ.js +0 -4
- package/dist/cdn/QSQJSM3O.js +0 -18
- package/dist/cdn/R2D3W4KP.js +0 -4
- package/dist/cdn/R5S6AVJ2.js +0 -4
- package/dist/cdn/RC3M6OYO.js +0 -18
- package/dist/cdn/RDQHY6XC.js +0 -4
- package/dist/cdn/RIVQ5IKO.js +0 -4
- package/dist/cdn/RP3IBJUX.js +0 -4
- package/dist/cdn/RQSJTZA3.js +0 -4
- package/dist/cdn/RTKZDB23.js +0 -4
- package/dist/cdn/SA7UFUQH.js +0 -4
- package/dist/cdn/SIOIWWJS.js +0 -4
- package/dist/cdn/SRLF2FFI.js +0 -4
- package/dist/cdn/SRRYBFQR.js +0 -4
- package/dist/cdn/SWSTQ6IK.js +0 -4
- package/dist/cdn/SXCMOFR2.js +0 -4
- package/dist/cdn/SXDHIKYQ.js +0 -8
- package/dist/cdn/SZ4MNX2Y.js +0 -4
- package/dist/cdn/T2YBAYAQ.js +0 -4
- package/dist/cdn/TEXTVYR5.js +0 -4
- package/dist/cdn/TGCFM7NB.js +0 -4
- package/dist/cdn/THCDH2C7.js +0 -18
- package/dist/cdn/TPVBZJZ3.js +0 -4
- package/dist/cdn/TQ4AHDWR.js +0 -4
- package/dist/cdn/TRYF7AHT.js +0 -4
- package/dist/cdn/U4IWP4JS.js +0 -4
- package/dist/cdn/U4RWFIG7.js +0 -4
- package/dist/cdn/U4TVHDBS.js +0 -18
- package/dist/cdn/UB7R344I.js +0 -4
- package/dist/cdn/UC6BRLFU.js +0 -4
- package/dist/cdn/UDMGJJ2R.js +0 -4
- package/dist/cdn/UKMB2MXN.js +0 -18
- package/dist/cdn/UMHBVDVZ.js +0 -4
- package/dist/cdn/UN7RXMMP.js +0 -4
- package/dist/cdn/UNBB5ILE.js +0 -4
- package/dist/cdn/UOBW4X3G.js +0 -4
- package/dist/cdn/UOKZMNT4.js +0 -4
- package/dist/cdn/UPEGEW7Y.js +0 -4
- package/dist/cdn/UQMZINRC.js +0 -4
- package/dist/cdn/UQXXXPST.js +0 -4
- package/dist/cdn/UTPRTU5R.js +0 -4
- package/dist/cdn/UUSA5NAZ.js +0 -4
- package/dist/cdn/UUVWV7UY.js +0 -18
- package/dist/cdn/UUZDYC3J.js +0 -4
- package/dist/cdn/UWHVRT6G.js +0 -18
- package/dist/cdn/UXGY5MYQ.js +0 -4
- package/dist/cdn/UXZ5Q6KA.js +0 -4
- package/dist/cdn/UYHOMAD5.js +0 -4
- package/dist/cdn/UZMTPRP5.js +0 -4
- package/dist/cdn/V4BMTWGU.js +0 -4
- package/dist/cdn/V5VD2VNR.js +0 -294
- package/dist/cdn/VAL2SJOM.js +0 -4
- package/dist/cdn/VCYRSDYS.js +0 -4
- package/dist/cdn/VDBTV44L.js +0 -4
- package/dist/cdn/VDO2G3KJ.js +0 -4
- package/dist/cdn/VDPD373C.js +0 -4
- package/dist/cdn/VIAYFIIF.js +0 -4
- package/dist/cdn/VJOMTPB6.js +0 -4
- package/dist/cdn/VMXZ6QEC.js +0 -18
- package/dist/cdn/VOFERCBL.js +0 -18
- package/dist/cdn/VON5LFYC.js +0 -4
- package/dist/cdn/VRUSOROS.js +0 -4
- package/dist/cdn/VT6BSI7M.js +0 -4
- package/dist/cdn/VUDTWZ6S.js +0 -4
- package/dist/cdn/VXZZHQOR.js +0 -4
- package/dist/cdn/VYL5GQJJ.js +0 -18
- package/dist/cdn/W2OWW2KK.js +0 -4
- package/dist/cdn/WBKVVBEW.js +0 -4
- package/dist/cdn/WCA4MTBT.js +0 -18
- package/dist/cdn/WCEXT5V3.js +0 -4
- package/dist/cdn/WEE2GK4X.js +0 -18
- package/dist/cdn/WGKEN6KZ.js +0 -4
- package/dist/cdn/WLVI4UZX.js +0 -4
- package/dist/cdn/WMISCC5A.js +0 -4
- package/dist/cdn/WPJSV2F5.js +0 -4
- package/dist/cdn/WRY74OLQ.js +0 -4
- package/dist/cdn/X3JYPDB3.js +0 -4
- package/dist/cdn/XALSX54V.js +0 -19
- package/dist/cdn/XFFSGMQM.js +0 -4
- package/dist/cdn/XGCOB2WB.js +0 -4
- package/dist/cdn/XJWO2VWT.js +0 -18
- package/dist/cdn/XKSMKJKC.js +0 -4
- package/dist/cdn/XOFA6EHO.js +0 -4
- package/dist/cdn/XZJXTTWM.js +0 -18
- package/dist/cdn/Y3LUWNH6.js +0 -4
- package/dist/cdn/Y3PZZL73.js +0 -4
- package/dist/cdn/Y55AAFJG.js +0 -4
- package/dist/cdn/Y6UXZU6F.js +0 -4
- package/dist/cdn/YGPLVBPY.js +0 -4
- package/dist/cdn/YKXQPUZE.js +0 -4
- package/dist/cdn/YPTLSCLI.js +0 -4
- package/dist/cdn/YQKRAZFZ.js +0 -4
- package/dist/cdn/YSP7FBQ7.js +0 -5
- package/dist/cdn/YVUWCUQ5.js +0 -4
- package/dist/cdn/ZF7EIUJK.js +0 -4
- package/dist/cdn/ZJDQWSA7.js +0 -4
- package/dist/cdn/ZSJ6IAKN.js +0 -18
- package/dist/cdn/ZWHWHHWW.js +0 -4
- package/dist/cdn/ZZ4AZSZG.js +0 -18
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-article-panel/customElement.js +0 -43
- package/dist/components/solutions-articles/customElement.d.ts +0 -7
- package/dist/components/solutions-articles/customElement.js +0 -79
- package/dist/components/solutions-articles/index.d.ts +0 -11
- package/dist/components/solutions-articles/index.js +0 -11
- package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
- package/dist/components/solutions-articles-shell/customElement.js +0 -43
- package/dist/components/solutions-articles-shell/index.d.ts +0 -5
- package/dist/components/solutions-articles-shell/index.js +0 -5
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import c from"./AEKQAS23.js";import b from"./GSWDAF7B.js";import"./GKQNL5AY.js";import a from"./C76FP4MR.js";import{a as K}from"./CVM23Z3W.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./F55B5BNY.js";import{b as Ie}from"./AZYTSIFB.js";import"./DAACTUXD.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./WTWNLOAO.js";import{b as lt,d as ct}from"./6ZYP4HST.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(a.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@layer{instant-apps-interactive-legend-classic{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-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--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-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .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)}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import"./6ZYP4HST.js";var e="\u041D\u044F\u043C\u0430\u0442\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044A\u0447\u043D\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0438, \u0437\u0430 \u0434\u0430 \u0438\u0437\u043F\u044A\u043B\u043D\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u0421\u0432\u044A\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u0432\u0430\u0448\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440 \u043D\u0430 \u0441\u0438\u0441\u0442\u0435\u043C\u0430\u0442\u0430 ArcGIS \u0437\u0430 \u0441\u044A\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",a="\u0422\u043E\u0437\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D \u043E\u0442 \u0431\u0435\u043B\u0435\u0436\u043D\u0438\u043A. \u0414\u043E\u0441\u0442\u044A\u043F\u044A\u0442 \u0434\u043E ArcGIS Notebooks \u0435 \u0431\u043B\u043E\u043A\u0438\u0440\u0430\u043D \u0437\u0430 \u0412\u0430\u0448\u0430\u0442\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F. \u0421\u0432\u044A\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u0412\u0430\u0448\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440, \u0437\u0430 \u0434\u0430 \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0442\u0430.",r="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 ${ additionalProperty }.",t="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0430 \u043D\u0430 \u0441\u0445\u0435\u043C\u0430\u0442\u0430 \u043D\u0430 \u0435\u0434\u043D\u0430 \u043E\u0442 \u0442\u0435\u0437\u0438: ${ schemaOptions }.",o="\u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E \u0434\u0430 \u0437\u0430\u043F\u0430\u0437\u0438\u0442\u0435 \u043A\u0430\u0440\u0442\u0430\u0442\u0430.",s="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0446\u0435\u043D\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442. \u041F\u0440\u0435\u0432\u044A\u0440\u0442\u0435\u0442\u0435 \u043D\u0430\u0434\u043E\u043B\u0443, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u0433\u0440\u0435\u0448\u043A\u0438\u0442\u0435 \u0438 \u043E\u0446\u0435\u043D\u0435\u0442\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0438\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E.",i="\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0438\u0437\u043F\u044A\u043B\u043D\u0435\u043D\u0438\u0435\u0442\u043E \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430.",l="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 \u0435\u0434\u043D\u0430 \u043E\u0442 \u0442\u0435\u0437\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u0435\u043D\u0438 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438: ${ allowedValues }.",d="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0442\u0430 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430",n="\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0442\u043E \u0437\u0430 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u0435 \u043F\u044A\u043B\u043D\u043E. \u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u043D\u044F\u043A\u043E\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u043E\u0442 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0442\u0430 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u043E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0437\u0430\u043F\u0430\u0437\u0438\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E.",c="\u0418\u043C\u0435\u0442\u043E \u043D\u0430 \u0443\u0441\u043B\u0443\u0433\u0430\u0442\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u0435\u0434\u0438\u043D \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u0437\u043D\u0430\u043A\u0430.",m="\u0417\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0438\u044F \u0441\u043B\u043E\u0439 \u043A\u0430\u0442\u043E \u0445\u043E\u0441\u0442\u0432\u0430\u043D \u043E\u0431\u0435\u043A\u0442\u0435\u043D \u0441\u043B\u043E\u0439 \u043D\u0435 \u0435 \u0437\u0430\u0432\u044A\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u043B\u0443\u0447\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u043B\u044E\u0447\u043E\u0432\u0438 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430.",E="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0441\u043B\u043E\u044F.",h="\u0421\u043B\u043E\u044F\u0442 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u0435\u043D.",y="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E\u0432\u0435\u0447\u0435 \u043E\u0442 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438.",P="\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0442\u043E\u0437\u0438 \u043C\u043E\u0434\u0435\u043B. \u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E \u0441\u043B\u0435\u0434 \u043C\u0430\u043B\u043A\u043E.",p="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438.",S="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0438.",$="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043E\u0442 \u043C\u043E\u0434\u0435\u043B. \u0423\u0432\u0435\u0440\u0435\u0442\u0435 \u0441\u0435, \u0447\u0435 \u043C\u043E\u0434\u0435\u043B\u0430 \u0441\u044A\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0438 \u0447\u0435 \u0435 \u0434\u0430\u0434\u0435\u043D\u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0437\u0430 \u0434\u043E\u0441\u0442\u044A\u043F.",v="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u0437\u043F\u044A\u043B\u043D\u0435\u043D\u0438\u0435 \u043D\u0430 \u0437\u0430\u044F\u0432\u043A\u0430\u0442\u0430.",f="\u041D\u044F\u043C\u0430\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0437\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u043E\u0437\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442. <calcite-link target='_blank' href='${ docLink }'>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435</calcite-link>",F="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0432\u043B\u0438\u0437\u0430\u043D\u0435 \u0432 \u043F\u043E\u0440\u0442\u0430\u043B\u0430.",I="\u0412\u0445\u043E\u0434\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u043D\u0435 \u043C\u043E\u0433\u0430\u0442 \u0434\u0430 \u0441\u0435 \u043F\u0440\u043E\u0447\u0435\u0442\u0430\u0442.",k="${ dataPath } \u043D\u044F\u043C\u0430 \u0438\u043C\u0435 \u043D\u0430 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E ${ missingProperty }.",T="\u0421\u043B\u043E\u0439 \u0441 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438 \u0432\u0435\u0447\u0435 \u0441\u044A\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0441 \u0442\u043E\u0432\u0430 \u0438\u043C\u0435. \u0421\u043B\u043E\u0435\u0432\u0435\u0442\u0435 \u0441 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0430\u0442 \u043D\u0430\u0438\u043C\u0435\u043D\u0443\u0432\u0430\u043D\u0438 \u0443\u043D\u0438\u043A\u0430\u043B\u043D\u043E \u0432 \u0446\u044F\u043B\u0430\u0442\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F. \u041C\u043E\u043B\u044F, \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u043E \u0438\u043C\u0435.",L="\u0418\u0437\u0445\u043E\u0434\u043D\u043E\u0442\u043E \u0438\u043C\u0435 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u0435\u0434\u0438\u043D \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u0437\u043D\u0430\u043A\u0430. <a href='${docLink}' target='_blank'>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435.</a>",b="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0438\u044F \u0441\u043B\u043E\u0439 \u043A\u0430\u0442\u043E \u0445\u043E\u0441\u0442\u0432\u0430\u043D \u0441\u043B\u043E\u0439 \u043F\u043E\u0440\u0430\u0434\u0438 \u0435\u0434\u043D\u043E \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u043F\u043E\u043B\u0435\u0442\u0430. \u0412\u0440\u044A\u0449\u0430\u043D\u0435 \u043D\u0430 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0437\u0430 \u0441\u044A\u0437\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u0441\u043B\u043E\u0439 \u0441 \u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u043F\u043E\u043B\u0435\u0442\u0430.",N="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u0437\u0430\u0434\u0430\u043D\u0438\u0435. \u041F\u0440\u0435\u0432\u044A\u0440\u0442\u0435\u0442\u0435 \u043D\u0430\u0434\u043E\u043B\u0443, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u0433\u0440\u0435\u0448\u043A\u0438\u0442\u0435 \u0438 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043E\u0442\u043D\u043E\u0432\u043E.",g="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E\u043D\u0435 \u0435\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u043A\u043E\u0439\u0442\u043E \u043D\u0435 \u0435 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError: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,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as s}from"./56XBTT4O.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{F as s}from"./WTWNLOAO.js";var t=s({defaultAssetPath:"https://js.arcgis.com/4.34/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:p}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
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"./IPRPAA72.js";import{b as y,h as Y}from"./GZF6LAN2.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};
|
|
@@ -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.4 */
|
|
4
|
+
import{a as v}from"./KD6FTCWQ.js";import{b as I}from"./V3S6TB66.js";import{a as w,b as f,d as y}from"./CCDB7WQC.js";import"./GZF6LAN2.js";import"./UO7HYYBG.js";import{a as L}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as u}from"./NMCQMLLM.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var $=b`@layer{/** @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
|
+
*/:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,m=class extends g{constructor(){super(),this.appearance="transparent",this.configLayerOrderDefined=!1,this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=L({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=o(),this._layerComboboxElement=o(),this._pnContextConsumer=I({context:v,subscribe:!0}),this._skipEditCheck=!1,this._popover=o(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={appearance:1,configLayerOrderDefined:5,defaultLayerId:1,display:1,enabledLayerIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement),e.has("selectedIds")&&this.hasUpdated&&this.mapView&&(async()=>{let t=await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title??""})(),e.has("enabledLayerIds")&&this.hasUpdated&&this.enabledLayerIdsWatchHandler()}async enabledLayerIdsWatchHandler(){let e=this.selectedIds.length>0&&!this.enabledLayerIds.includes(this.selectedIds[0]),t=this.enabledLayerIds.some(i=>!this.ids.includes(i)),s=this.ids.toString()!==this.enabledLayerIds.toString();e?this.mapViewWatchHandler():(t||s)&&this._setLayers(),this._hasMultipleLayers=this.enabledLayerIds.length>1}async mapViewWatchHandler(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async mapChanged(e){e.detail.isValid||(this._hasValidLayers=!1,this.noLayersFound.emit())}async load(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},a`<div class="map-layer-picker-container" style=${c(t)}><div class="map-layer-picker" style=${c(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]")?.setFocus()})}_getMapLayerPopOver(){let e=this.height&&this.height>0?{"max-height":`${this.height.toString()}px`}:{};return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${d(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return a`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return a`<div class="layer-picker-label-container cursor-default"><calcite-icon .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return a`<calcite-select id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${d(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return a`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${d(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return a`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return a`<calcite-action id=${e??l} slot=trigger text>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",i=this._isDropdownOpen?"chevron-up":"chevron-down";return a`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${i} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e="layers";if(this.selectedIds.length>0&&this._layerNameHash){let t=this.selectedIds[0];e=Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table"}return e}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,i=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name,n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?a`<calcite-combobox-item .disabled=${i} .selected=${n} .textLabel=${r} .value=${e}></calcite-combobox-item>`:this.type==="select"?a`<calcite-option .disabled=${i} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?a`<calcite-dropdown-group class=${p(i?"disabled":"")} id=${r??l} .selectionMode=${i?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${i?void 0:()=>void this._setSelectedLayer(e)} .selected=${n}>${r}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];if(this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.configLayerOrderDefined){let s=[...e.reverse(),...t.reverse()];this.ids=this.enabledLayerIds.length>0?this.enabledLayerIds.filter(i=>s.includes(i)):s}else this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(s)>-1:!0)];this.idsFound.emit({layerIds:e,tableIds:t})}}_getEditableIds(e){return Object.keys(e).filter(t=>e[t].supportsUpdate)}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await w(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await f(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._pnContextConsumer.value,s=this._layerNameHash&&this._layerNameHash[e]?.name;return s!==void 0&&Object.keys(t?.managedLayers||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._pnContextConsumer.value,s=this._tableNameHash&&this._tableNameHash[e]?.name,i=s&&this.showTables;return i?(t?.managedTables||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0):i!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};u("map-layer-picker",m);export{m as MapLayerPicker};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as n}from"./GXDKEOCW.js";import{a as s}from"./YOKFSPW5.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import{a as o}from"./JMI6ELYN.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import{a}from"./23ZZGLY2.js";import"./NVJDDGAX.js";import"./PHPBVYAN.js";import"./W7S3KRZJ.js";import"./YVKX627B.js";import"./2BD3W5YF.js";import"./MGI27N6Z.js";import"./KCVL34ZO.js";import"./A3CB7ASF.js";import"./QVIM3F2B.js";import"./4LWLQBET.js";import"./AZ3MBQZV.js";import"./CGZBTZJR.js";import"./BNBQO7AY.js";import"./VIH7GETV.js";import"./XPXK6WN7.js";import"./4RHBTX4E.js";import"./TRDAVDVV.js";import"./J425E2LA.js";import"./56XBTT4O.js";import"./IJD2AMEM.js";import"./CO7NHF75.js";import"./QHESJJYD.js";import"./6ZYP4HST.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as l}from"./LFLGSFUG.js";import{b as t,c as u}from"./A3CB7ASF.js";import"./6ZYP4HST.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as i}from"./EW6KAVCF.js";import{a as s,c as l,d as r}from"./H6TOIC3H.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
var E=typeof window<"u",l={Promise:E?window.Promise:void 0},m="4.25",u="next";function p(r){if(r.toLowerCase()===u)return u;var e=r&&r.match(/^(\d)\.(\d+)/);return e&&{major:parseInt(e[1],10),minor:parseInt(e[2],10)}}function w(r){return r===void 0&&(r=m),"https://js.arcgis.com/".concat(r,"/")}function g(r){r===void 0&&(r=m);var e=w(r),t=p(r);if(t!==u&&t.major===3){var n=t.minor<=10?"js/":"";return"".concat(e).concat(n,"esri/css/esri.css")}else return"".concat(e,"esri/themes/light/main.css")}function A(r){var e=document.createElement("link");return e.rel="stylesheet",e.href=r,e}function P(r,e){if(e){var t=document.querySelector(e);t.parentNode.insertBefore(r,t)}else document.head.appendChild(r)}function S(r){return document.querySelector('link[href*="'.concat(r,'"]'))}function q(r){return!r||p(r)?g(r):r}function I(r,e){var t=q(r),n=S(t);return n||(n=A(t),P(n,e)),n}var L={};function b(r){var e=document.createElement("script");return e.type="text/javascript",e.src=r,e.setAttribute("data-esri-loader","loading"),e}function f(r,e,t){var n;t&&(n=j(r,t));var o=function(){e(r),r.removeEventListener("load",o,!1),n&&r.removeEventListener("error",n,!1)};r.addEventListener("load",o,!1)}function j(r,e){var t=function(n){e(n.error||new Error("There was an error attempting to load ".concat(r.src))),r.removeEventListener("error",t,!1)};return r.addEventListener("error",t,!1),t}function h(){return document.querySelector("script[data-esri-loader]")}function s(){var r=window.require;return r&&r.on}function C(r){r===void 0&&(r={});var e={};[L,r].forEach(function(o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])});var t=e.version,n=e.url||w(t);return new l.Promise(function(o,i){var a=h();if(a){var d=a.getAttribute("src");d!==n?i(new Error("The ArcGIS API for JavaScript is already loaded (".concat(d,")."))):s()?o(a):f(a,o,i)}else if(s())i(new Error("The ArcGIS API for JavaScript is already loaded."));else{var c=e.css;if(c){var y=c===!0;I(y?t:c,e.insertCssBefore)}a=b(n),f(a,function(){a.setAttribute("data-esri-loader","loaded"),o(a)},i),document.body.appendChild(a)}})}function v(r){return new l.Promise(function(e,t){var n=window.require.on("error",t);window.require(r,function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.remove(),e(o)})})}function T(r,e){if(e===void 0&&(e={}),s())return v(r);var t=h(),n=t&&t.getAttribute("src");return!e.url&&n&&(e.url=n),C(e).then(function(){return v(r)})}var k=async(r,e)=>(await T(r,e)).map(t=>t.__esModule&&t.default?t.default:t);export{T as a,k as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as e}from"./23ZZGLY2.js";import"./NVJDDGAX.js";import"./PHPBVYAN.js";import"./W7S3KRZJ.js";import"./YVKX627B.js";import"./2BD3W5YF.js";import"./MGI27N6Z.js";import"./KCVL34ZO.js";import"./A3CB7ASF.js";import"./QVIM3F2B.js";import"./4LWLQBET.js";import"./AZ3MBQZV.js";import"./CGZBTZJR.js";import"./BNBQO7AY.js";import"./VIH7GETV.js";import"./XPXK6WN7.js";import"./4RHBTX4E.js";import"./TRDAVDVV.js";import"./J425E2LA.js";import"./56XBTT4O.js";import"./IJD2AMEM.js";import"./CO7NHF75.js";import{a as t}from"./QHESJJYD.js";import"./6ZYP4HST.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f 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.4 */
|
|
4
|
+
import{a as r}from"./EDUHM55V.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{b as o}from"./NMCQMLLM.js";import{E as n,h as l,i as a,o as i}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var c=l`/** @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
|
+
*/:host{display:block}.delete-modal{position:fixed}`,s=class extends n{constructor(){super(...arguments),this.ids=[],this.open=!1,this._isDeleting=!1,this._translations=r({name:"delete-dialog",blocking:!0}),this.editsComplete=i(),this.deleteDialogClose=i()}static{this.properties={ids:0,layer:0,open:5,_isDeleting:16,_translations:16}}static{this.styles=c}render(){let e=this.layer?.title||"",t=this.ids.length===1?(this._translations.confirmSingle||"").replace("{{layer-name}}",e):(this._translations.confirmMultiple||"").replace("{{layer-name}}",e);return a`<calcite-dialog .heading=${this._translations.deleteFeature} kind=danger modal @calciteDialogClose=${()=>this._close()} .open=${this.open} width=s><div>${t}</div><calcite-button appearance=outline kind=danger @click=${()=>this._close()} slot=footer-end width=full>${this._translations.cancel}</calcite-button><calcite-button kind=danger .loading=${this._isDeleting} @click=${()=>void this._deleteFeatures()} slot=footer-end width=full>${this._translations.delete}</calcite-button></calcite-dialog>`}async _deleteFeatures(){if(this.layer){this._isDeleting=!0;let e=this.ids.map(t=>({objectId:Number(t)}));await this.layer.applyEdits({deleteFeatures:e}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}}_close(){this.open=!1,this.deleteDialogClose.emit()}};o("delete-dialog",s);export{s as DeleteDialog};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as e}from"./56XBTT4O.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as f}from"./CVM23Z3W.js";import{a as D}from"./WUDA7K22.js";import{a as L}from"./FC6IKY2W.js";import{B as S,C as I}from"./F55B5BNY.js";import{b as k}from"./AZYTSIFB.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as u,e as h}from"./YA36R2QR.js";import{a}from"./B5YUOXDN.js";import"./IPRPAA72.js";import"./IFKIUWVZ.js";import"./3GUT3PQC.js";import"./GAIF3U4K.js";import"./34TH75YO.js";import"./MX4IW5YN.js";import"./WPHV7YFJ.js";import"./642TLBFZ.js";import"./CHDLTXQ4.js";import"./ZQ5UFA6J.js";import"./DFIJIF4I.js";import"./MOO5HUTK.js";import"./H6TOIC3H.js";import"./ML7RDHJK.js";import"./4VQKM4WR.js";import"./FSBYBBAR.js";import"./BLTZZN2S.js";import"./TSHEHQMQ.js";import"./7X7FF24S.js";import"./A3CB7ASF.js";import"./GZF6LAN2.js";import{b as l}from"./NMCQMLLM.js";import{E as i,o,r as n}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import{a as l}from"./FC6IKY2W.js";import{b as h}from"./AZYTSIFB.js";import"./PBYEPN4U.js";import"./DAACTUXD.js";import{E as r,G as n,h as i,i as a}from"./WTWNLOAO.js";import"./6ZYP4HST.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.4 */
|
|
4
|
+
import"./6ZYP4HST.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
|