@esri/solutions-components 1.0.0-next.20250530 → 1.0.0-next.20250602
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/{V3UMFOSY.js → 23G7VEHG.js} +2 -2
- package/dist/cdn/{LCP3BY3N.js → 26NBJVZZ.js} +2 -2
- package/dist/cdn/{HF75TXAE.js → 2OWHUGXN.js} +2 -2
- package/dist/cdn/{JDBE77NZ.js → 2QOWYA3F.js} +2 -2
- package/dist/cdn/{FBFPEXXQ.js → 2UHWYM2M.js} +2 -2
- package/dist/cdn/{IY4EENZ5.js → 2UT3AL6J.js} +2 -2
- package/dist/cdn/{2EOEAV5E.js → 2VCCQVWV.js} +2 -2
- package/dist/cdn/{DPQI6KC3.js → 36EB3CRX.js} +2 -2
- package/dist/cdn/{73MN3UQT.js → 36FXCDNJ.js} +2 -2
- package/dist/cdn/{RTSDGCAZ.js → 37KIAMAS.js} +2 -2
- package/dist/cdn/{MHWXPIZF.js → 3DP6J6SC.js} +2 -2
- package/dist/cdn/{N4SJLKUB.js → 3E6JVCKB.js} +2 -2
- package/dist/cdn/{FMBJIOBG.js → 3ESNVIEB.js} +2 -2
- package/dist/cdn/{5ZNOFKZT.js → 3LHLZJPX.js} +2 -2
- package/dist/cdn/{TGF4D4AP.js → 3NED4V6X.js} +2 -2
- package/dist/cdn/{O34SMVFC.js → 3P7JYKAA.js} +2 -2
- package/dist/cdn/{Q2NP2O3M.js → 3PVQNJZD.js} +1 -1
- package/dist/cdn/{474ZEOFB.js → 3VMVU5ES.js} +1 -1
- package/dist/cdn/{7MSPLAAS.js → 3XYELSRJ.js} +1 -1
- package/dist/cdn/{ACD5DGKO.js → 42YNAPAP.js} +2 -2
- package/dist/cdn/{UCOGDUDQ.js → 43VWZHZ4.js} +2 -2
- package/dist/cdn/{MPJ2AA4Y.js → 4665JE7L.js} +2 -2
- package/dist/cdn/{GVMSMEI4.js → 4GUKXZWM.js} +2 -2
- package/dist/cdn/{GULDKM5K.js → 4HKALJ2Y.js} +2 -2
- package/dist/cdn/{XXHTK6SD.js → 4J4QSJMN.js} +2 -2
- package/dist/cdn/{RVP3IPFW.js → 4NBBB2OS.js} +2 -2
- package/dist/cdn/{R2MSIDPH.js → 4NO2UJWR.js} +2 -2
- package/dist/cdn/{NUCJR6CY.js → 4SUKTZKA.js} +2 -2
- package/dist/cdn/{4AKAPNSY.js → 4XSSLUVA.js} +2 -2
- package/dist/cdn/{2VNIKRUP.js → 52A772AY.js} +2 -2
- package/dist/cdn/{LXA33IHT.js → 5BWL4IEJ.js} +2 -2
- package/dist/cdn/{JQ5YNHDK.js → 5CPJFSLZ.js} +2 -2
- package/dist/cdn/{LZS774B3.js → 5GEGTWOQ.js} +1 -1
- package/dist/cdn/{FINGXX6A.js → 5LXBRQII.js} +2 -2
- package/dist/cdn/{FLMBYBSQ.js → 5MIHZEX3.js} +2 -2
- package/dist/cdn/{XJHNY525.js → 5NQ4I5W6.js} +2 -2
- package/dist/cdn/{EDGMFTA5.js → 5O23XWTI.js} +1 -1
- package/dist/cdn/{X472G43W.js → 6FXEWTKM.js} +2 -2
- package/dist/cdn/{7RRAT3I3.js → 6ILUF2CQ.js} +2 -2
- package/dist/cdn/{GIZRBHCR.js → 6VZMPYJ5.js} +2 -2
- package/dist/cdn/{S76CATML.js → 6XV7AL47.js} +2 -2
- package/dist/cdn/{6WM4LAYI.js → 77R2YFJG.js} +1 -1
- package/dist/cdn/{ULUZHD23.js → 7A2GAI5N.js} +2 -2
- package/dist/cdn/{UTUTEFAQ.js → 7AIFCSOJ.js} +2 -2
- package/dist/cdn/{4UN2BYLH.js → 7IUINEVK.js} +1 -1
- package/dist/cdn/{HPD42QK2.js → 7LDUAT3S.js} +2 -2
- package/dist/cdn/{TZB4SIVB.js → 7O4CFQEN.js} +2 -2
- package/dist/cdn/{MPF442O4.js → 7OBM63GA.js} +2 -2
- package/dist/cdn/{HSDQUCF6.js → 7PCMY7XC.js} +2 -2
- package/dist/cdn/{UVD3URNY.js → 7QIWEWJB.js} +2 -2
- package/dist/cdn/{77XUB3YE.js → 7T4TUTI3.js} +2 -2
- package/dist/cdn/{WG6YT6NR.js → A4HGPGWR.js} +2 -2
- package/dist/cdn/{MZNCYU5F.js → ABDLISXN.js} +2 -2
- package/dist/cdn/{FVYY2V6T.js → ADFGB7AN.js} +2 -2
- package/dist/cdn/{OKMLPIEO.js → ATJKU5BO.js} +2 -2
- package/dist/cdn/{4M4MXT54.js → AXQI5RRD.js} +2 -2
- package/dist/cdn/{NFHEIYMD.js → B3MVDBCA.js} +2 -2
- package/dist/cdn/{AWWFUP7R.js → B52UULYQ.js} +2 -2
- package/dist/cdn/{RZ64SXIZ.js → BHYARFEL.js} +2 -2
- package/dist/cdn/{B6D7BVKN.js → BNPG5IW3.js} +2 -2
- package/dist/cdn/{C6W5EVRT.js → BRP3CGIU.js} +2 -2
- package/dist/cdn/{UFB3TUWD.js → BVSP7QVQ.js} +2 -2
- package/dist/cdn/{5S2LGZK4.js → BWGBAWCO.js} +2 -2
- package/dist/cdn/{H22ZUYLG.js → C2K7AWBU.js} +2 -2
- package/dist/cdn/{XS2PGUTI.js → C7MBEKKG.js} +2 -2
- package/dist/cdn/{5TRKAS2N.js → CBL5BRM4.js} +1 -1
- package/dist/cdn/{FT36ADUC.js → CEMJF7BH.js} +2 -2
- package/dist/cdn/{VI4S4LJS.js → CFCFOBMC.js} +1 -1
- package/dist/cdn/{K4F6G4OQ.js → CMXG2M4O.js} +1 -1
- package/dist/cdn/{SWLTPJE7.js → CNAN2LR5.js} +2 -2
- package/dist/cdn/{OY2EULMD.js → CRB7SEY5.js} +1 -1
- package/dist/cdn/{LCUHKJMS.js → CSQ523GB.js} +2 -2
- package/dist/cdn/{PUL6DFZP.js → CVVU4KAG.js} +2 -2
- package/dist/cdn/{5S33JONB.js → CWOST2RQ.js} +2 -2
- package/dist/cdn/{TJYWSXAE.js → CXKG6USO.js} +2 -2
- package/dist/cdn/{PQF5AGW3.js → D2CS6GXR.js} +2 -2
- package/dist/cdn/{IFQJHKJ3.js → D2D6LOXR.js} +2 -2
- package/dist/cdn/{ASMSD26H.js → D5SL3VGO.js} +2 -2
- package/dist/cdn/{GNLCPEV7.js → DGSPIK2T.js} +2 -2
- package/dist/cdn/{CIR5U4D6.js → DKKUIANX.js} +2 -2
- package/dist/cdn/{AOWCHDDD.js → DNOKW6XD.js} +2 -2
- package/dist/cdn/{ADKZI66G.js → DRZSEY3Y.js} +2 -2
- package/dist/cdn/{TDAFNKRF.js → DS7RSNNI.js} +2 -2
- package/dist/cdn/{5LO4GJR2.js → DTYJWPW7.js} +2 -2
- package/dist/cdn/DYBKB6PO.js +4 -0
- package/dist/cdn/E3NCXYSH.js +4 -0
- package/dist/cdn/{57KRALMV.js → E4RSRTQZ.js} +2 -2
- package/dist/cdn/{VNKBLONB.js → EA4H4V5U.js} +2 -2
- package/dist/cdn/{STR7L3II.js → EBDJ264L.js} +1 -1
- package/dist/cdn/{H5ZIHIO2.js → EBFJLUNN.js} +3 -3
- package/dist/cdn/{2BKGC3GR.js → ECKJFFD3.js} +2 -2
- package/dist/cdn/{5HIKUFVB.js → ECSLDMAC.js} +2 -2
- package/dist/cdn/{KPU6AFJN.js → EIALH5ZV.js} +2 -2
- package/dist/cdn/{D64CJOFO.js → EPC627TH.js} +2 -2
- package/dist/cdn/{NO2SL2YF.js → ES7XNROT.js} +1 -1
- package/dist/cdn/EUPBZJHY.js +18 -0
- package/dist/cdn/{CVHD4WPU.js → EX7O7TLM.js} +2 -2
- package/dist/cdn/{623GWCXD.js → FB57Z37X.js} +2 -2
- package/dist/cdn/{SFZSSATF.js → FBMHJIQX.js} +1 -1
- package/dist/cdn/FCRG74YC.js +18 -0
- package/dist/cdn/{DXVTCY4M.js → FFEVHA54.js} +2 -2
- package/dist/cdn/{GHOZRGNX.js → FFI6SWY5.js} +2 -2
- package/dist/cdn/{5TJLMZD4.js → FN5TEXTV.js} +2 -2
- package/dist/cdn/{H3YXFKQG.js → FNTJLKD2.js} +2 -2
- package/dist/cdn/{SM4ERQVS.js → FP7YI2GP.js} +2 -2
- package/dist/cdn/{XQTZGROY.js → FPREMAUM.js} +2 -2
- package/dist/cdn/{IAZYT5SM.js → FQEBA4KU.js} +2 -2
- package/dist/cdn/{AAZLISVR.js → FR7J7CFL.js} +2 -2
- package/dist/cdn/{O7VNTXYR.js → G7MH556M.js} +1 -1
- package/dist/cdn/{43ULSAMW.js → GCOLAVO7.js} +2 -2
- package/dist/cdn/{RFBPGTLV.js → GENZOKN4.js} +2 -2
- package/dist/cdn/{DMOHDVMJ.js → GHQ2LWYD.js} +2 -2
- package/dist/cdn/{PKQBHNHV.js → GWABTOFY.js} +2 -2
- package/dist/cdn/{WJF7O2KL.js → GWBWCMEH.js} +2 -2
- package/dist/cdn/{4FC3X2PR.js → GY2OYI5D.js} +2 -2
- package/dist/cdn/{Y6GOEXCP.js → GZUKF6LK.js} +1 -1
- package/dist/cdn/{S7HDN545.js → H26QSL2F.js} +2 -2
- package/dist/cdn/{QQFRILT6.js → H2Y4QRE4.js} +2 -2
- package/dist/cdn/{WVOYVMPB.js → H5ZIGMRI.js} +2 -2
- package/dist/cdn/{D3CEKY4I.js → HAYNJTAQ.js} +2 -2
- package/dist/cdn/{H6V2DNZK.js → HCZ6FFD5.js} +2 -2
- package/dist/cdn/{MTI5LVZW.js → HE7IB5CL.js} +2 -2
- package/dist/cdn/HEHIUXMR.js +18 -0
- package/dist/cdn/{LQRMHTGZ.js → HHG6ZUPU.js} +2 -2
- package/dist/cdn/{B7LQMG3R.js → HLR6HDY3.js} +2 -2
- package/dist/cdn/{HUJDORKB.js → HOAV4OHX.js} +2 -2
- package/dist/cdn/{NQHY7XX2.js → HTQZJJEM.js} +2 -2
- package/dist/cdn/{FJZZPZAP.js → HV2KHWHT.js} +1 -1
- package/dist/cdn/{YHPDJ5FN.js → I3A5FLJX.js} +2 -2
- package/dist/cdn/{NPELRLAT.js → I6T4DNMK.js} +1 -1
- package/dist/cdn/{6B752FN2.js → I6WLOVYE.js} +2 -2
- package/dist/cdn/{UMQ6LGJX.js → I7PT6FAK.js} +2 -2
- package/dist/cdn/{BJMWCYCG.js → IA7SPSNX.js} +1 -1
- package/dist/cdn/{PQ6UKR2D.js → IFRGKORC.js} +2 -2
- package/dist/cdn/{IWEV46QA.js → IGAQLS35.js} +2 -2
- package/dist/cdn/{MFK4TJVR.js → IWDPSGBA.js} +2 -2
- package/dist/cdn/{ASAQWYLX.js → IWEWW7UF.js} +2 -2
- package/dist/cdn/{C5O32W6W.js → IXAJVNIU.js} +2 -2
- package/dist/cdn/{IOFFIYTL.js → IY3OZUEQ.js} +1 -1
- package/dist/cdn/{OTV4TIHA.js → IZRJGJNT.js} +1 -1
- package/dist/cdn/{MSAGS3RU.js → J3HD5HLJ.js} +2 -2
- package/dist/cdn/{5AXS3KFI.js → J5JJWJST.js} +2 -2
- package/dist/cdn/{HOZJEHZI.js → JA7AXS45.js} +2 -2
- package/dist/cdn/{FX4JCXT3.js → JAF5EPQU.js} +2 -2
- package/dist/cdn/{2Z3TWB2K.js → JGQZ3EBA.js} +2 -2
- package/dist/cdn/{OK6EFAL5.js → JN5OUP7E.js} +2 -2
- package/dist/cdn/{OLE4GCSZ.js → JNRXLD2Y.js} +2 -2
- package/dist/cdn/{UU5CNOQW.js → JQTYVN4M.js} +1 -1
- package/dist/cdn/{R7RG6ML5.js → JVBZXQR6.js} +2 -2
- package/dist/cdn/{QKSO2DZS.js → JZZFN7NR.js} +2 -2
- package/dist/cdn/{NKOVTFUU.js → KB3K57TU.js} +1 -1
- package/dist/cdn/{PYTYKQXT.js → KF2WMPDA.js} +2 -2
- package/dist/cdn/{A3472HMO.js → KT5QSDM6.js} +2 -2
- package/dist/cdn/{PC7NVT5O.js → L2UNPKWB.js} +2 -2
- package/dist/cdn/{YEZ45MYI.js → L5F2YIGY.js} +2 -2
- package/dist/cdn/{6EHPMLHH.js → L5MOZJ5R.js} +2 -2
- package/dist/cdn/{W77AHKSW.js → LC5YWKYI.js} +2 -2
- package/dist/cdn/{B6UMTBML.js → LE6WWQF7.js} +2 -2
- package/dist/cdn/{36LI3UQA.js → LIITBMWX.js} +2 -2
- package/dist/cdn/{624IUPMH.js → LIYWSETY.js} +2 -2
- package/dist/cdn/{QWW5LVKF.js → LRHUNYT4.js} +1 -1
- package/dist/cdn/{GAJRZJ5F.js → LSQ5BIVZ.js} +2 -2
- package/dist/cdn/{G2RF3XGL.js → LULN4KJC.js} +2 -2
- package/dist/cdn/{4WQSWJOC.js → LXIJ7KVU.js} +4 -4
- package/dist/cdn/{2XITJCRB.js → M2NFJOZG.js} +2 -2
- package/dist/cdn/{FIZQWFHG.js → MDUIQHWP.js} +2 -2
- package/dist/cdn/{OGSX3AIB.js → MFNJAERQ.js} +2 -2
- package/dist/cdn/{NOSOENXA.js → MKH4ISUR.js} +2 -2
- package/dist/cdn/{RU4LFZ43.js → MNM5B3BF.js} +2 -2
- package/dist/cdn/{NIVL5UGT.js → MQDNCLQF.js} +2 -2
- package/dist/cdn/{T6ENDM5I.js → MXVKQ2IP.js} +2 -2
- package/dist/cdn/{SITUZTCB.js → N2LEHUCQ.js} +1 -1
- package/dist/cdn/{YDQ3OJQO.js → N4S5NMAT.js} +1 -1
- package/dist/cdn/{BTLOBHUI.js → NKVVPNTL.js} +2 -2
- package/dist/cdn/{YUXVO62S.js → NNZJVFSR.js} +2 -2
- package/dist/cdn/NO6N7UTU.js +4 -0
- package/dist/cdn/{JRD5PLWA.js → NVAOBJET.js} +2 -2
- package/dist/cdn/{R4TKAAQV.js → NVBZ7AJX.js} +2 -2
- package/dist/cdn/{UJIWOKHV.js → NYPC4U7K.js} +2 -2
- package/dist/cdn/{WTHR4PDS.js → O3VY75AJ.js} +2 -2
- package/dist/cdn/{JHW7VZTV.js → O4FSY2OZ.js} +2 -2
- package/dist/cdn/{66KXCMW2.js → O7CQVXLY.js} +2 -2
- package/dist/cdn/{G6J2G3OU.js → OE57CTB6.js} +2 -2
- package/dist/cdn/{UPY2LA6F.js → OEUC2E3S.js} +2 -2
- package/dist/cdn/{Z3VO6XU3.js → OIZT53OO.js} +2 -2
- package/dist/cdn/{JDPFMWSP.js → OPRTPHCU.js} +2 -2
- package/dist/cdn/{HBZ4X7UP.js → OX3NC4XD.js} +2 -2
- package/dist/cdn/{BLRHWO52.js → P2XVKHCW.js} +2 -2
- package/dist/cdn/{GPVKAG4C.js → P4GFBVOF.js} +2 -2
- package/dist/cdn/{U4AOWHPN.js → P4YH3X65.js} +2 -2
- package/dist/cdn/{6Y2HFRCC.js → PE6DCA3I.js} +2 -2
- package/dist/cdn/{LI5GC7CN.js → PHEZ3MV4.js} +2 -2
- package/dist/cdn/{RUXEHYBS.js → PJIJ655P.js} +2 -2
- package/dist/cdn/{7HKKUGXJ.js → PKS5R7VU.js} +2 -2
- package/dist/cdn/{PNYGXVOF.js → POJSHOPU.js} +2 -2
- package/dist/cdn/{G6RPSMZU.js → PPZ6M2CC.js} +2 -2
- package/dist/cdn/PTQK2QE7.js +4 -0
- package/dist/cdn/{5Y5ORVLB.js → PXAOKWPK.js} +1 -1
- package/dist/cdn/{65WW5KKH.js → PY5JDU7J.js} +2 -2
- package/dist/cdn/{SAVY6UWC.js → PYIFAA7W.js} +2 -2
- package/dist/cdn/{PLZQ55P6.js → PYOCUWAR.js} +1 -1
- package/dist/cdn/{OOIVSIXL.js → PYUTAJEA.js} +2 -2
- package/dist/cdn/{B5VH5463.js → Q3GBSDXK.js} +2 -2
- package/dist/cdn/{COHNJZCA.js → QC676X4G.js} +2 -2
- package/dist/cdn/{A7QSMG5S.js → QGNWNBJN.js} +1 -1
- package/dist/cdn/{DTFCT5IZ.js → QGQCUZHR.js} +2 -2
- package/dist/cdn/{76ZVHQZN.js → QHS4RQMX.js} +2 -2
- package/dist/cdn/{2WTCHQJH.js → QJN75MNZ.js} +2 -2
- package/dist/cdn/{WB3MRH4D.js → QM36ZUFT.js} +2 -2
- package/dist/cdn/{QHCRENJA.js → QMVZ56M5.js} +2 -2
- package/dist/cdn/{USLNR5GM.js → QSMQBG3B.js} +2 -2
- package/dist/cdn/{MJ7WUNVY.js → QZIQJ6SA.js} +2 -2
- package/dist/cdn/{XANWM4XJ.js → RB2AS75H.js} +2 -2
- package/dist/cdn/{H46O6YAN.js → ROFI6I4A.js} +2 -2
- package/dist/cdn/{CDW32ZV2.js → RS5NTHM5.js} +2 -2
- package/dist/cdn/{XUI76RRO.js → RXIT5QD4.js} +2 -2
- package/dist/cdn/{RUZUM5JL.js → RYGBJCL4.js} +2 -2
- package/dist/cdn/{VSFHEXKM.js → S2GW652B.js} +2 -2
- package/dist/cdn/{VQNKIJYJ.js → SKCMFCS7.js} +2 -2
- package/dist/cdn/{6OHWZOS5.js → SOFUJZ3D.js} +2 -2
- package/dist/cdn/{RJMRH5EB.js → SPOPBX7Y.js} +2 -2
- package/dist/cdn/{C7F3GRAL.js → SR5UXEZC.js} +2 -2
- package/dist/cdn/{VUE2KPGT.js → SUKCP66T.js} +1 -1
- package/dist/cdn/{YGOJWFRE.js → SVW6AZR5.js} +1 -1
- package/dist/cdn/SYPORCKB.js +4 -0
- package/dist/cdn/{INHTUKGG.js → TDNEC4ET.js} +2 -2
- package/dist/cdn/{CNE6Q3HD.js → THF2NVYP.js} +2 -2
- package/dist/cdn/{OFMVTSKF.js → TIVYTH2C.js} +2 -2
- package/dist/cdn/{OL6BCU24.js → TLTMGAYX.js} +2 -2
- package/dist/cdn/{JL5VELML.js → TOK7WOLO.js} +2 -2
- package/dist/cdn/{7ICYEZEV.js → TRGQYCJH.js} +1 -1
- package/dist/cdn/TSHKTCVE.js +4 -0
- package/dist/cdn/{H46M3Z3P.js → TU5EB3SG.js} +2 -2
- package/dist/cdn/{X5I4YW2D.js → TZRDOWBK.js} +2 -2
- package/dist/cdn/{YWKKYK5K.js → U7FY3Z6J.js} +2 -2
- package/dist/cdn/{CVY3C2IL.js → UDOVYXDG.js} +2 -2
- package/dist/cdn/{UF7C45QH.js → UFAKSMYV.js} +1 -1
- package/dist/cdn/{MSC6SQKC.js → UKPXEI5B.js} +2 -2
- package/dist/cdn/{6DWD2XLO.js → UP5YHHVX.js} +2 -2
- package/dist/cdn/{NGOP7PKK.js → UTZH2TFS.js} +2 -2
- package/dist/cdn/{FOARVMCU.js → UUIJYUXC.js} +1 -1
- package/dist/cdn/{WFQNYZM4.js → V5COCALB.js} +2 -2
- package/dist/cdn/{QUXU6A5O.js → V6F7F5EQ.js} +2 -2
- package/dist/cdn/{LRUGHWTN.js → V6HVZYGZ.js} +1 -1
- package/dist/cdn/{SUYA6BJE.js → VAMROQTR.js} +2 -2
- package/dist/cdn/{3CHLZWTV.js → VBY2NOFA.js} +2 -2
- package/dist/cdn/{DKFDVAPB.js → VE32BTAF.js} +2 -2
- package/dist/cdn/{ZK3VF62M.js → VF6PQLYK.js} +1 -1
- package/dist/cdn/{Z25W4Z6L.js → VFDF4ROS.js} +2 -2
- package/dist/cdn/{VVKUWUHS.js → VJYZRK5U.js} +2 -2
- package/dist/cdn/VMTU5ZOX.js +18 -0
- package/dist/cdn/{6PMWYOH6.js → VPKBHDHE.js} +2 -2
- package/dist/cdn/VQGFPSVK.js +4 -0
- package/dist/cdn/{LMGSYVDG.js → VU2XZBBH.js} +1 -1
- package/dist/cdn/{23QD6NT3.js → VUYPJKBN.js} +2 -2
- package/dist/cdn/{X7YNYBQ7.js → VV57DRLT.js} +1 -1
- package/dist/cdn/{VVBT7KBI.js → W2Y6LTHF.js} +2 -2
- package/dist/cdn/{ZKKTR3BI.js → WA77C3F4.js} +1 -1
- package/dist/cdn/{YWR7J3GR.js → WX6QLUGO.js} +2 -2
- package/dist/cdn/{DPCZKJNP.js → XDFUQD2L.js} +2 -2
- package/dist/cdn/{HK4LMSCI.js → XERQENM5.js} +2 -2
- package/dist/cdn/XFEJTNUZ.js +4 -0
- package/dist/cdn/{CRVOSDOH.js → XMTH5TYU.js} +2 -2
- package/dist/cdn/{JSUMCSCE.js → XQVIBAF5.js} +2 -2
- package/dist/cdn/{TNKUKSQO.js → XSOOFRYI.js} +2 -2
- package/dist/cdn/{6TLILFC7.js → XTFZE4SM.js} +2 -2
- package/dist/cdn/{DFVGHMS4.js → XWKDDYMN.js} +2 -2
- package/dist/cdn/{W3LLXNL3.js → XWKRLPXO.js} +1 -1
- package/dist/cdn/{GWZJKQMN.js → Y7SNFI2C.js} +2 -2
- package/dist/cdn/{ZBE4V2ZL.js → Z3ETJYGZ.js} +2 -2
- package/dist/cdn/{BHDI3U4H.js → ZI26RSTF.js} +2 -2
- package/dist/cdn/{N6WVCUYZ.js → ZINXGQGV.js} +2 -2
- package/dist/cdn/{MJ7SNROO.js → ZJFZ75HQ.js} +2 -2
- package/dist/cdn/ZLX44O64.js +18 -0
- package/dist/cdn/{ZKOIDQFC.js → ZT7BLGUD.js} +2 -2
- package/dist/cdn/{RM2TEOMI.js → ZXU6LSAN.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.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/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.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.d.ts +6 -0
- package/dist/components/edit-card/customElement.js +21 -27
- 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 +21 -18
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +2 -0
- package/dist/components/layer-table/customElement.js +106 -80
- package/dist/components/map-card/customElement.js +34 -31
- package/dist/components/map-card/index.d.ts +3 -1
- package/dist/components/map-card/index.js +3 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +0 -5
- package/dist/components/map-layer-picker/customElement.js +20 -17
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +2 -2
- 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-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +46 -18
- package/dist/docs/docs.json +43 -23
- package/dist/docs/vscode.html-custom-data.json +6 -1
- package/dist/docs/web-types.json +25 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +3 -2
- package/dist/types/preact.d.ts +3 -2
- package/dist/types/react.d.ts +3 -2
- package/dist/types/stencil.d.ts +3 -2
- package/package.json +1 -1
- package/dist/cdn/2NWAL23W.js +0 -4
- package/dist/cdn/4MBXYMTN.js +0 -18
- package/dist/cdn/7DEB6EKJ.js +0 -4
- package/dist/cdn/BWUWGBTF.js +0 -4
- package/dist/cdn/DI3ZJNYG.js +0 -4
- package/dist/cdn/H3WID2XT.js +0 -18
- package/dist/cdn/KVNQHEXQ.js +0 -4
- package/dist/cdn/NW4KXWWN.js +0 -18
- package/dist/cdn/QSOWUBRL.js +0 -18
- package/dist/cdn/S3DJ42LQ.js +0 -4
- package/dist/cdn/SOCFGEQX.js +0 -4
- package/dist/cdn/UMIMUVFB.js +0 -18
- package/dist/cdn/XJJZC34E.js +0 -4
package/dist/types/stencil.d.ts
CHANGED
@@ -134,7 +134,7 @@ interface StencilDeleteDialog extends Partial<Pick<DeleteDialog, 'ids' | 'layer'
|
|
134
134
|
onEditsComplete?: EventHandler<HTMLDeleteDialogElement["editsComplete"]>;
|
135
135
|
}
|
136
136
|
|
137
|
-
interface StencilEditCard extends Partial<Pick<EditCard, 'enableEditGeometry' | 'enableSnapping' | 'graphicIndex' | 'graphics' | 'mapView' | 'open'>>, StencilJsx.HTMLAttributes<HTMLEditCardElement> {
|
137
|
+
interface StencilEditCard extends Partial<Pick<EditCard, 'allowMultipleEditing' | 'enableEditGeometry' | 'enableSnapping' | 'graphicIndex' | 'graphics' | 'mapView' | 'open'>>, StencilJsx.HTMLAttributes<HTMLEditCardElement> {
|
138
138
|
onCloseEdit?: EventHandler<HTMLEditCardElement["closeEdit"]>;
|
139
139
|
onEditorInitialized?: EventHandler<HTMLEditCardElement["editorInitialized"]>;
|
140
140
|
onEditsComplete?: EventHandler<HTMLEditCardElement["editsComplete"]>;
|
@@ -179,6 +179,7 @@ interface StencilLayerList extends Partial<Pick<LayerList, 'applyLayerViewFilter
|
|
179
179
|
}
|
180
180
|
|
181
181
|
interface StencilLayerTable extends Partial<Pick<LayerTable, 'appLayout' | 'defaultGlobalId' | 'defaultLayerId' | 'defaultOid' | 'enableAutoRefresh' | 'enableColumnReorder' | 'enableCSV' | 'enableInlineEdit' | 'enableShare' | 'featureSelectionMode' | 'honorMapFieldSettings' | 'isMobile' | 'mapHidden' | 'mapInfo' | 'mapView' | 'selectedIds' | 'selectedRelatedIds' | 'shareIncludeEmbed' | 'shareIncludeSocial' | 'showNewestFirst' | 'showOnlyUpdatableLayers' | 'zoomAndScrollToSelected' | 'zoomToScale'>>, StencilJsx.HTMLAttributes<HTMLLayerTableElement> {
|
182
|
+
onEditMultipleFeatures?: EventHandler<HTMLLayerTableElement["editMultipleFeatures"]>;
|
182
183
|
onFeatureSelectionChange?: EventHandler<HTMLLayerTableElement["featureSelectionChange"]>;
|
183
184
|
onRelatedRecordToggled?: EventHandler<HTMLLayerTableElement["relatedRecordToggled"]>;
|
184
185
|
onShowDelete?: EventHandler<HTMLLayerTableElement["showDelete"]>;
|
@@ -203,7 +204,7 @@ interface StencilMapFullscreen extends Partial<Pick<MapFullscreen, 'fullscreenWi
|
|
203
204
|
onFullscreenStateChange?: EventHandler<HTMLMapFullscreenElement["fullscreenStateChange"]>;
|
204
205
|
}
|
205
206
|
|
206
|
-
interface StencilMapLayerPicker extends Partial<Pick<MapLayerPicker, 'appearance' | 'defaultLayerId' | 'display' | 'enabledLayerIds' | '
|
207
|
+
interface StencilMapLayerPicker extends Partial<Pick<MapLayerPicker, 'appearance' | 'defaultLayerId' | 'display' | 'enabledLayerIds' | 'height' | 'isMobile' | 'mapView' | 'placeholderIcon' | 'referenceElement' | 'scale' | 'selectedIds' | 'showLayersListInPopover' | 'showOnlyUpdatableLayers' | 'showSingleLayerAsLabel' | 'showTables' | 'showTablesDisabled' | 'type'>>, StencilJsx.HTMLAttributes<HTMLMapLayerPickerElement> {
|
207
208
|
onBeforeLayerSelectionChange?: EventHandler<HTMLMapLayerPickerElement["beforeLayerSelectionChange"]>;
|
208
209
|
onIdsFound?: EventHandler<HTMLMapLayerPickerElement["idsFound"]>;
|
209
210
|
onLayerSelectionChange?: EventHandler<HTMLMapLayerPickerElement["layerSelectionChange"]>;
|
package/package.json
CHANGED
package/dist/cdn/2NWAL23W.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a,b}from"./H6V2DNZK.js";import"./NKOVTFUU.js";import"./OY2EULMD.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
package/dist/cdn/4MBXYMTN.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a as v}from"./RFBPGTLV.js";import"./4WQSWJOC.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./6WM4LAYI.js";import"./OTV4TIHA.js";import{b}from"./BJMWCYCG.js";import{a as m}from"./PNYGXVOF.js";import{D as g,E as i,F as f,I as w,c as p,d as s,g as u,o,q as _}from"./VUE2KPGT.js";import"./OY2EULMD.js";var F=p`@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;--calcite-label-margin-bottom: 0}.padding-1-2{padding:.5rem}.display-none{display:none!important}.display-flex{display:flex}.position-absolute{position:absolute;inset:0;overflow:auto}.feature-node{position:relative!important}.feature-node .esri-features__footer{display:none!important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:.5rem!important;background-color:var(--calcite-color-foreground-1)!important;height:100%!important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:700}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}}`,h=class extends g{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=[],this.isLoading=!1,this.isMobile=!1,this.allowEditing=!1,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=m({name:"info-card",blocking:!0}),this._navigatedToRelatedFeature=!1,this._editEnabled=!1,this._featuresNodeId=`features-node${new Date().getMilliseconds().toString()}`,this.popupClosed=o(),this.clearSelection=o(),this.selectionChanged=o(),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"refreshGraphics",this.refreshGraphics)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphics:0,isLoading:5,isMobile:5,mapView:0,allowEditing:5,highlightEnabled:5,paginationEnabled:5,position:1,showCloseBtn:5,_alertOpen:16,_count:16,_editRecordOpen:16,_mobileTitle:16,_showListView:16,_translations:16,_navigatedToRelatedFeature:16}}static{this.styles=F}static{this.shadowRootOptions=_}willUpdate(e){if(e.has("graphics")&&this.graphicsWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_translations")){let t=this._translations._lang,a=e.get("_translations")?._lang;if(t&&a&&t!==a&&this._features){let l=[...this.graphics];this.graphics=[],this.graphics=l}}}async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features?.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features?.previous(),this._count=this._getCount()}async next(){this._features?.next(),this._count=this._getCount()}async toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}async updateCurrentGraphic(e){this._features?.selectedFeatureWidget&&console.log(e)}async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(e){this._navigatedToRelatedFeature||(this.graphics=[...e.detail])}async load(){await this._initModules(),this._popupUtils=new v}async loaded(){this.graphics?.length>0&&await this.setGraphics()}render(){let e=this.isLoading?"":"display-none",t=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",l=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",r=this._features?.features&&this._features.features.length<2||this._navigatedToRelatedFeature,c=Number(this._features?.selectedFeature?.getObjectId()),y=Number.isNaN(c)?[]:[c],d=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,$=this._relatedFeature?[this._relatedFeature]:this.graphics,x=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex,n=this.isMobile?"display-none":"";return console.log("this.allowEditing if the following is false the edit button shouldn't be showing"),console.log(this.allowEditing),s`<calcite-shell class="z-index-1" style=${f({position:this.position})}>${this._getHeader()}<calcite-loader class=${i(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${i("esri-widget feature-node "+t)} id=${this._featuresNodeId??u}></div><div class=${`${l} width-100`} slot=footer>${this.allowEditing?s`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${()=>this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile&&d?s`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${y} .layer=${this._layer} @editsComplete=${()=>this._closePopup()}></delete-button>`:void 0}<calcite-tooltip class=${i(n)} placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile&&d?s`<calcite-tooltip class=${i(n)} placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>`:void 0}</div>`:""}${this.paginationEnabled&&!r&&s`<div class=${"display-flex padding-1-2 button-container top-border"}><div><calcite-button appearance=transparent .disabled=${r} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${()=>this._back()} width=full></calcite-button><calcite-tooltip class=${i(n)} placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action class="pagination-action" icon-flip-rtl @click=${()=>this._toggleListView()} scale=s text text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${r} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._next()} width=full></calcite-button><calcite-tooltip class=${i(n)} placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`||""}</div><edit-card class=${i(a)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${x} .graphics=${$} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert icon=layer-broken kind=warning label @calciteAlertClose=${()=>this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`}async _initModules(){let[e,t]=await b(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=e,this.reactiveUtils=t}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=!!(this._layer.editingEnabled&&this._layer.capabilities?.operations.supportsUpdate),this._mobileTitle=this.mapView?.map&&await this._popupUtils?.getPopupTitle(this.graphics[0],this.mapView.map)||"",this._features?.open({features:this.graphics})):(this._features?.clear(),this._features?.close()),this._count=this._getCount()}async _initFeaturesWidget(){return this.isMobile!==void 0?await this.mapView?.when(()=>{if(this._features)this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!!this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile;else if(this._features=this.Features&&new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features){this._features.viewModel.highlightEnabled=!!this.highlightEnabled,this.reactiveUtils?.watch(()=>(this._features?.viewModel).featureMenuOpen,t=>{this._updateCount(),t||(this._showListView=t)}),this.reactiveUtils?.watch(()=>this._features?.selectedFeatureIndex,t=>{t!==void 0&&t>-1&&this._features?.selectedFeature&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})}),this.reactiveUtils?.watch(()=>this._features.selectedDrillInFeature,t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=void 0,this._navigatedToRelatedFeature=!1)});let e=this.el.querySelector("#"+this._featuresNodeId);this.listenOn(e,"calciteFlowItemClose",()=>{this.clearSelection.emit()})}}):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s`<calcite-panel class="border-width-0" slot=header><calcite-action class="end-border" icon=chevron-left icon-flip-rtl @click=${()=>this._closePopup()} scale=s slot=header-actions-start text></calcite-action><span class="font-bold" slot=header-content>${this._mobileTitle}</span></calcite-panel>`:void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}async _back(){this._features?.previous(),await this._updateCount()}async _next(){this._features?.next(),await this._updateCount()}async _updateCount(){let e=this._features?.selectedFeatureIndex;this._popupUtils&&this.mapView&&this.mapView.map&&e!==void 0&&(this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[e],this.mapView.map)),this._count=this._getCount()}_getCount(){let e=this._features?.viewModel&&(this._features?.viewModel.selectedFeatureIndex+1).toString()||"",t=this._features?.features?.length.toString()||"";return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)||""}_toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}};w("info-card",h);export{h as InfoCard};
|
package/dist/cdn/7DEB6EKJ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a,b}from"./6EHPMLHH.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/BWUWGBTF.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a as O}from"./EDGMFTA5.js";import{d as _}from"./Y6GOEXCP.js";import{a as l,d as p}from"./Q2NP2O3M.js";import"./X7YNYBQ7.js";import"./OY2EULMD.js";function C(e,a){let i=[];return O(e,(t,c)=>(c.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let c=q(a),r,u,s,m,d;switch(c){case"stat":s=import("./65WW5KKH.js"),m={"hub:card:stat":()=>import("./FLMBYBSQ.js")}[a],await Promise.all([s,m()]).then(async([f,o])=>{let{MetricSchema:n}=f;r=l(n),u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(d=o.buildDefaults(e,i,t))});break;case"follow":s=import("./ADKZI66G.js"),m={"hub:card:follow":()=>import("./ASAQWYLX.js")}[a],await Promise.all([s,m()]).then(([f,o])=>{let{FollowSchema:n}=f;r=l(n),u=o.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./G6RPSMZU.js"),m=import("./OLE4GCSZ.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:c}=a;t.maxLength=_(c);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:c}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let c=a.split(":")[1],r,u,s;switch(c){case"site":let{getSiteSchema:m}=await import("./HF75TXAE.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./WTHR4PDS.js"),"hub:site:create":()=>import("./Z25W4Z6L.js"),"hub:site:followers":()=>import("./FX4JCXT3.js"),"hub:site:discussions":()=>import("./6PMWYOH6.js"),"hub:site:settings":()=>import("./LI5GC7CN.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./VVBT7KBI.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./MTI5LVZW.js"),"hub:discussion:create":()=>import("./QUXU6A5O.js"),"hub:discussion:settings":()=>import("./7RRAT3I3.js"),"hub:discussion:settings:discussions":()=>import("./43ULSAMW.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./2NWAL23W.js");r=l(f);let o=await{"hub:channel:edit":()=>import("./LCUHKJMS.js"),"hub:channel:create":()=>import("./KVNQHEXQ.js")}[a]();u=await o.buildUiSchema(e,i,t),o.buildDefaults&&(s=await o.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./SOCFGEQX.js");r=l(n);let v=await{"hub:project:edit":()=>import("./GPVKAG4C.js"),"hub:project:create":()=>import("./W77AHKSW.js"),"hub:project:create2":()=>import("./6TLILFC7.js"),"hub:project:metrics":()=>import("./77XUB3YE.js"),"hub:project:settings":()=>import("./YEZ45MYI.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./S3DJ42LQ.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./6DWD2XLO.js"),"hub:initiative:create":()=>import("./PQ6UKR2D.js"),"hub:initiative:create2":()=>import("./5TJLMZD4.js"),"hub:initiative:metrics":()=>import("./JQ5YNHDK.js"),"hub:initiative:associations":()=>import("./2VNIKRUP.js"),"hub:initiative:settings":()=>import("./FT36ADUC.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./HPD42QK2.js");r=l(I);let D=await{"hub:page:edit":()=>import("./2Z3TWB2K.js"),"hub:page:create":()=>import("./N6WVCUYZ.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./WG6YT6NR.js");r=l(K);let U=await{"hub:content:edit":()=>import("./RJMRH5EB.js"),"hub:content:discussions":()=>import("./IAZYT5SM.js"),"hub:content:settings":()=>import("./LQRMHTGZ.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./MJ7WUNVY.js");r=l(y);let k=await{"hub:template:edit":()=>import("./4FC3X2PR.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./7DEB6EKJ.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./LCP3BY3N.js"),"hub:group:create:association":()=>import("./N4SJLKUB.js"),"hub:group:create:view":()=>import("./MFK4TJVR.js"),"hub:group:create:edit":()=>import("./XJHNY525.js"),"hub:group:create":()=>import("./DMOHDVMJ.js"),"hub:group:edit":()=>import("./OKMLPIEO.js"),"hub:group:settings":()=>import("./XUI76RRO.js"),"hub:group:discussions":()=>import("./ZBE4V2ZL.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./4AKAPNSY.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./DXVTCY4M.js"),"hub:survey:settings":()=>import("./NFHEIYMD.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./DI3ZJNYG.js"),"hub:event:edit":()=>import("./INHTUKGG.js"),"hub:event:registrants":()=>import("./TNKUKSQO.js")}[a](),H=await{"hub:event:create":()=>import("./OK6EFAL5.js"),"hub:event:edit":()=>import("./NQHY7XX2.js"),"hub:event:registrants":()=>import("./ASMSD26H.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./MPF442O4.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./76ZVHQZN.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./DFVGHMS4.js");r=l(N);let P=await{"hub:user:settings":()=>import("./NGOP7PKK.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
package/dist/cdn/DI3ZJNYG.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a,b}from"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as EventEditorTypes,b as buildSchema};
|
package/dist/cdn/H3WID2XT.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a as y}from"./HSDQUCF6.js";import"./ZK3VF62M.js";import{a as w,b as f,d as v}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as d,b as c}from"./IWEV46QA.js";import{a as L}from"./PNYGXVOF.js";import{D as g,E as p,F as o,I as u,c as b,d as i,g as l,o as h,q as _}from"./VUE2KPGT.js";import"./OY2EULMD.js";var I=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(...arguments),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],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=d(),this._layerComboboxElement=d(),this._skipEditCheck=!1,this._popover=d(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h()}static{this.properties={appearance:1,defaultLayerId:1,display:1,enabledLayerIds:0,enabledTableIds: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=I}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement)}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 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},i`<div class="map-layer-picker-container" style=${o(t)}><div class="map-layer-picker" style=${o(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?{height:`${this.height.toString()}px`}:{};return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=auto .referenceElement=${this.referenceElement} scale=s ${c(this._popover)}><div class=popover-list style=${o(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return i`<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 i`<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 i`<calcite-select id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return i`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return i`<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 i`<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":"",a=this._isDropdownOpen?"chevron-up":"chevron-down";return i`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${a} .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,a=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name,n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?i`<calcite-combobox-item .disabled=${a} .selected=${n} .textLabel=${r} .value=${e}></calcite-combobox-item>`:this.type==="select"?i`<calcite-option .disabled=${a} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?i`<calcite-dropdown-group class=${p(a?"disabled":"")} id=${r??l} .selectionMode=${a?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${a?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 v(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=[];this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.reverse().indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledTableIds?.length>0?this.enabledTableIds.reverse().indexOf(s)>-1:!0)],this.idsFound.emit({layerIds:e,tableIds:t})}}_getEditableIds(e){return Object.keys(e).reduce((t,s)=>(e[s].supportsUpdate&&t.push(s),t),[])}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._layerNameHash&&this._layerNameHash[e]?.name;return t!==void 0&&Object.keys(y.managedLayers).indexOf(t)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._tableNameHash&&this._tableNameHash[e]?.name,s=t&&this.showTables;return s?y.managedTables.indexOf(t)<0&&(this.enabledTableIds?.length>0?this.enabledTableIds.indexOf(e)>-1:!0):s!==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};
|
package/dist/cdn/KVNQHEXQ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a}from"./AWWFUP7R.js";import"./UU5CNOQW.js";import"./X5I4YW2D.js";import"./AOWCHDDD.js";import"./ZKKTR3BI.js";import"./X7YNYBQ7.js";import"./NKOVTFUU.js";import"./OY2EULMD.js";export{a as buildUiSchema};
|
package/dist/cdn/NW4KXWWN.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{e as w}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as p,b as g}from"./IWEV46QA.js";import{b as m}from"./BJMWCYCG.js";import{a as _}from"./PNYGXVOF.js";import{D as l,E as n,I as c,c as h,d as o,o as s,q as d}from"./VUE2KPGT.js";import"./OY2EULMD.js";var u=h`@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}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0}.padding-sides-bottom-1{padding:0 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative!important;width:100%!important;background-color:var(--calcite-color-foreground-1)!important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1)!important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.position-absolute{position:absolute;inset:0;overflow:auto}.esri-editor__panel-content{padding-block:10px!important}}`,r=class extends l{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=[],this.open=!1,this._editorLoading=!1,this._translations=_({name:"edit-card",blocking:!0}),this._editContainer=p(),this._editControlElements=[],this._editingDisabled="",this._shouldClose=!1,this.closeEdit=s(),this.editorInitialized=s(),this.editsComplete=s(),this.refreshGraphics=s(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphicIndex:9,graphics:0,mapView:0,open:5,_editorLoading:16,_translations:16}}static{this.styles=u}static{this.shadowRootOptions=d}async graphicsWatchHandler(){this.graphics.length===0&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async mapChanged(){this.open&&await this._closeEdit(!1)}async load(){await this._initModules()}willUpdate(t){if(t.has("graphics")&&this.graphicsWatchHandler(),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openWatchHandler(this.open),this.graphics?.length>0&&this.graphics[0]?.layer){this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove();let i=this._layer.type==="subtype-sublayer"?this._layer.parent:this._layer;this._layerEditHandle=i.on("edits",()=>{setTimeout(()=>{this.editsComplete.emit()},50)})}}render(){let t=this.graphics?.length>0&&this.graphics[0]?!this.graphics[0].layer.editingEnabled:!0,i=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return o`<div class="position-absolute">${t?o`<calcite-notice kind=warning open slot=content-top width=full><div slot=message>${this._translations.enableEditing}</div></calcite-notice>`:void 0}<div class="position-absolute"><div class=${n(i)} id=feature-form ${g(this._editContainer)}></div><calcite-loader class=${n(a)} label scale=s></calcite-loader></div></div>`}async _initModules(){let[t,i]=await m(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();let t=document.createElement("div"),i=await w(this.mapView),a=this.enableSnapping&&this.enableEditGeometry,f=i.map(e=>({layer:e,geometryUpdatesEnabled:this.enableEditGeometry}));this._editor=this.Editor&&new this.Editor({view:this.mapView,layerInfos:f,visibleElements:{flow:!0,settingsMenu:a,sketch:!1,snappingControls:a},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils?.when(()=>this._editor?.viewModel.state==="adding-attachment"||this._editor?.viewModel.state==="editing-attachment"||this._editor?.viewModel.state==="creating-features",()=>{this._shouldClose=!1}),this._activeWorkflowHandle=this.reactiveUtils?.watch(()=>this._editor?.viewModel.activeWorkflow?.activeWorkflow,e=>{(e?.type==="update-table-record"||e?.type==="create-features")&&(this._shouldClose=!1),(!e?.type&&!e?.hasPendingEdits&&!this._editor?.activeWorkflow||!this._editor?.activeWorkflow?.started)&&(this.open=!1)}),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.value&&this._editContainer.value.appendChild(t),this._editor&&this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&((this.mapView?.ui.view).grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor?.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}};c("edit-card",r);export{r as EditCard};
|
package/dist/cdn/QSOWUBRL.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import"./7MSPLAAS.js";import{b as C}from"./4WQSWJOC.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./6WM4LAYI.js";import{a as O}from"./FIZQWFHG.js";import"./WJF7O2KL.js";import{c as S,d as F,j as b}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import{c as E}from"./OTV4TIHA.js";import{a as p,b as g}from"./IWEV46QA.js";import{b as T}from"./BJMWCYCG.js";import{a as x}from"./PNYGXVOF.js";import{D as I,E as _,I as v,c as m,d,g as o,o as c,q as w}from"./VUE2KPGT.js";import"./OY2EULMD.js";var $=m`@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}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{--calcite-label-margin-bottom: 0px}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{--calcite-label-text-color: var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,y=class extends I{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=x({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=p(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=p(),this._toolbar=p(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this.featureSelectionChange=c(),this.toggleFilter=c(),this.showDelete=c(),this.relatedRecordToggled=c(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),O(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=$}static{this.shadowRootOptions=w}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&this._resetColumnTemplates()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,n=this.mapView.allLayerViews.toArray(),h;n.some(async r=>r.layer.title===l?.title&&r.layer.type==="feature"?(h=r,this.mapView&&await b([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),d`<div><calcite-scrim class=${_(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&d`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${n&&d`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??o} type=search></calcite-input></div>`||""}<calcite-loader class=${_(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${_(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:d`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await T(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length&&t){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return d`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??o}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return d`<div class="display-flex" slot=${e??o}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return d`<div class=${"height-51-px width-full display-flex"} slot=${e??o} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return d`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??o} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading)),e),[])}_validateEnabledActions(){let e=this._featuresSelected(),t=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,i=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=s.icon==="pencil"?!t:!e)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._featuresSelected(),t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable;this.selectedIds.length>1&&this._layer?.capabilities?.operations.supportsUpdate;let i=!this.mapHidden&&!t,s=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),a=this._featuresEmpty(),l=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let r=await this._queryRelatedFeatures();n=r&&Object.keys(r).length>0}let h=[];s&&h.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1}),i&&h.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),this._deleteEnabled&&h.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0}),h.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e}),this._relatedFeatureTable||h.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e}),!l&&!this._relatedFeatureTable&&h.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:a}),!l&&!this._relatedFeatureTable&&h.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:a}),h.push({active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1}),n&&h.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:a}),this._toolInfos=[...h]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresSelected(){return this._relatedFeatureTable?this._relatedFeatureTable.highlightIds.items.length>0:this.selectedIds.length>0}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,n){let h=this._layer===void 0?!0:l;return d`<calcite-action .active=${e} appearance=solid .disabled=${h} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${n} @click=${a} text text-enabled><div class="display-flex"><calcite-label class="label-override padding-start-1-4">${s}</calcite-label></div></calcite-action>`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&d`<div id=${this._getId(e)??o}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return document.getElementById(t)?d`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`:void 0}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return d`<div class="display-flex" id=${this._getId(e)??o}>${d`<calcite-action appearance=solid .disabled=${a} id=${e??o} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><calcite-label class="label-override padding-start-1-4 danger-label-color">${t}</calcite-label></calcite-action>`}${this._getToolTip("bottom",e,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let s={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(s)}if(this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let s=i.layer.popupTemplate?.fieldInfos||i.layer.fields,a=this._getColumnTemplates(i.layer.id,s);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:a})}i.highlightIds.on("change",s=>{this._handleOnChange(s)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await E(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(){this._editEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(this._layer?.editingEnabled&&this._layer?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),n=this._table?.highlightIds.indexOf(l);n&&n<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let n=await this._queryRelatedFeatures(),h=[];n&&n[l]?.features&&(n[l].features.forEach(r=>{r.attributes&&h.push(r.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,n)=>{if(!n.hidden){let h=n?.name||n?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await C(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(n=>n.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let e=this._getSelectedLayer(this.selectedRelatedIds);e&&this.relatedRecordToggled.emit(e);let t=this._getSelectedIds();this.featureSelectionChange.emit(t)}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _zoom(){this._layer&&this.mapView&&await b(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;let i=this.mapView&&await F(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await S(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t){let i;this.mapInfo?.layerOptions?.layers.some(h=>h.id===e?(i=h,!0):!1);let s=this._layer?.attributeTableTemplate?.elements,a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map(h=>h.fieldName));let l=i?.fields&&i?.fieldOrder?i.fieldOrder.filter(h=>i?.fields&&i.fields.indexOf(h)>-1):a.length>0?a:void 0,n;return t&&(n=t.reduce((h,r)=>{let A="fieldName"in r?r.fieldName:r.name,H="label"in r?r.label:r.alias,u="label"in r?r.label:r.name,f={type:"field",fieldName:A,label:H,menuConfig:this._getMenuConfig(u||"")};return i&&i?.fields?i.fields.indexOf(u||"")>-1&&h.push(f):a.length>0?a.indexOf(u)>-1&&h.push(f):h.push(f),h},[])),n?l?n?.sort(this._sortFields.bind(this,l)):n:[]}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};v("layer-table",y);export{y as LayerTable};
|
package/dist/cdn/S3DJ42LQ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a,b}from"./YUXVO62S.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/SOCFGEQX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a,b}from"./5ZNOFKZT.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/UMIMUVFB.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{a as S}from"./FIZQWFHG.js";import"./WJF7O2KL.js";import{c as v,j as L}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as r,b as h}from"./IWEV46QA.js";import{b as $}from"./BJMWCYCG.js";import{a as w}from"./PNYGXVOF.js";import{D as y,E as b,I,c as g,d as o,g as u,o as p,q as _}from"./VUE2KPGT.js";import"./OY2EULMD.js";function W(l){return l?.indexOf("http://")!==-1}function c(l){return W(l)?l.replace(/^http:\/\//,"https://"):l}function M(l,e,i){return i&&i.forEach(t=>{l.allLayers.forEach(s=>{s&&s.url===t.sourceUrl&&(s.url=c(t.proxyUrl),s.portalItem&&s.portalItem.when(()=>{s.portalItem.url=c(t.proxyUrl)}),e.request?.interceptors?.push({urls:t.sourceUrl,before:a=>{a.url&&a.url===t.sourceUrl&&(a.url=c(t.proxyUrl))}}))})}),l}var x=g`@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;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}@media only screen and (max-width: 1024px){.esri-zoom{display:none!important}}}`,f=class extends y{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.hide=!1,this.zoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-left",this.mobileMapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.mapToolsOrder=[],this.mobileToolsOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.showOnlyUpdatableLayers=!1,this.isMobile=!1,this.enableSelectionTool=!1,this._translations=w({name:"map-card",blocking:!0}),this._toolInfos=[],this._filterActive=!1,this._enabledLayerIds=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mobMapTools=r(),this._mapListExpanded=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this._selectedWebMapId="",this.mapChanged=p(),this.beforeMapChanged=p(),this.toggleFilter=p(),this.clearSelection=p(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,basemapConfig:0,hide:5,zoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mobileMapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,mapToolsOrder:0,mobileToolsOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,showOnlyUpdatableLayers:5,isMobile:5,mapInfo:0,enableSelectionTool:5,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16,_filterActive:16,_mapDivHeight:16,_mapDivWidth:16}}static{this.styles=x}static{this.shadowRootOptions=_}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[]}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){this._selectedWebMapId=e.detail.id,await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos(),this._mapSizeObserver||(this._mapSizeObserver=new ResizeObserver(()=>{if(this._mapDivWidth&&this._mapDiv.value){let e=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value.offsetWidth-e}}))}render(){let e=this.isMapLayout?"display-flex height-49-px":"",i=this.hide?"visibility-hidden-1":"",t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s=this.isMobile?"":this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",a=this.isMapLayout?"":"display-none",d=this.isMobile?"":"hidden";return this._validateActiveActions(),o`${!this.isMobile&&o`<div class=${`${e} width-full`} ${h(this._toolbar)}>${this._getActionBar()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&this.isMapLayout?this._getShare("share"):void 0}</div></div>`||""}<calcite-progress class=${b(a)} value=0></calcite-progress><div class=${`${i} ${s}`}><div class="height-full" ${h(this._mapDiv)}></div></div>${o`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${t}`} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} ${h(this._mapTools)}></map-tools><map-tools class=${`box-shadow ${t} ${d}`} .enableBasemap=${this.enableBasemap} .enabledLayerIds=${this._enabledLayerIds} enable-map-layer-picker enable-map-picker .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${h(this._mobMapTools)}></map-tools>`}`}updated(){this._mapDivHeight=this._mapDiv.value?.offsetHeight??0,document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._mapDiv.value&&this._mapSizeObserver?.observe(this._mapDiv.value),this._updateShareUrl()}async _initModules(){let[e,i,t,s]=await $(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=t,this.esriConfig=s}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,t=this.mapInfos?.filter(n=>n.id===this.defaultWebmapId),s=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&t?t[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,d=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||d){let n=this.WebMap&&new this.WebMap({portalItem:{id:a}});this.appProxies&&n&&this.esriConfig&&(await n.load(),await M(n,this.esriConfig,this.appProxies)),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:n,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{if(this.mapView){let m=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value&&this._mapDiv.value.offsetWidth-m,this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._mobMapTools.value&&this.mapView.ui.add(this._mobMapTools.value,{position:this.mobileMapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=d?!0:this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}})}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):s&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));this._updateShareUrl()}_getActionBar(){let e=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"":"width-full",t="display-flex",s=this.isMapLayout?"":"display-none";return o`<calcite-action-bar class=${b(t)} expand-disabled expanded id=${this._getId("bar")??u} layout=horizontal><map-picker class=${`${e} ${i}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${h(this._mapPicker)}></map-picker><div class=${`mapView-header display-flex ${s}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView&&o`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${h(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>${this.isMapLayout?this._getActions():void 0}</calcite-action-bar>`}_getShare(e){return o`<div class="share-action" id=${this._getId(e)??u}>${this.mapView&&o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${h(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",e,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds?.length>0;this.selectedFeaturesIds?.length>1;let i=[];i.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1}),i.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),i.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1}),i.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e}),this._toolInfos=i}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_validateEnabledActions(){let e=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,t=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(s=>{s&&t.indexOf(s.icon)>-1&&(s.disabled=s.icon==="pencil"?!i:!e)})}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await v(this.mapView,this.selectedLayer.id);e&&await L(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),e),[])}_getToolTip(e,i,t){return document.getElementById(i)?o`<calcite-tooltip .placement=${e} .referenceElement=${"map-"+i}><span>${t}</span></calcite-tooltip>`:void 0}_getAction(e,i,t,s,a,d,n){let m=this.selectedLayer===void 0?!0:d;return o`<calcite-action .active=${e} appearance=solid .disabled=${m} .icon=${i} .id=${"map-"+i} .indicator=${t} .label=${s} .loading=${n} @click=${a} .text=${s} text-enabled></calcite-action>`}_getId(e){return`solutions-action-${e}`}};I("map-card",f);export{f as MapCard};
|
package/dist/cdn/XJJZC34E.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250530 */
|
4
|
-
import{b as e,e as r}from"./LXA33IHT.js";import"./STR7L3II.js";import"./5S2LGZK4.js";import"./QWW5LVKF.js";import{d as t}from"./YWR7J3GR.js";import"./UU5CNOQW.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import"./Q2NP2O3M.js";import"./7ICYEZEV.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./NKOVTFUU.js";import"./OY2EULMD.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|