@esri/solutions-components 1.0.0-next.20250530.1 → 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/{WS4WNRNQ.js → 23G7VEHG.js} +2 -2
- package/dist/cdn/{JN5YR3C5.js → 26NBJVZZ.js} +2 -2
- package/dist/cdn/{KQCFHFAG.js → 2OWHUGXN.js} +2 -2
- package/dist/cdn/{WAQJ4IC3.js → 2QOWYA3F.js} +2 -2
- package/dist/cdn/{I5SZYEIS.js → 2UHWYM2M.js} +2 -2
- package/dist/cdn/{F45IOLFK.js → 2UT3AL6J.js} +2 -2
- package/dist/cdn/{GMHH44W3.js → 2VCCQVWV.js} +2 -2
- package/dist/cdn/{WO34BPRA.js → 36EB3CRX.js} +2 -2
- package/dist/cdn/{5T6A2NT3.js → 36FXCDNJ.js} +2 -2
- package/dist/cdn/{X6MD346Y.js → 37KIAMAS.js} +2 -2
- package/dist/cdn/{TWSV65O2.js → 3DP6J6SC.js} +2 -2
- package/dist/cdn/{MCM7XWTF.js → 3E6JVCKB.js} +2 -2
- package/dist/cdn/{BGVLMLWE.js → 3ESNVIEB.js} +2 -2
- package/dist/cdn/{YR5E3HFV.js → 3LHLZJPX.js} +2 -2
- package/dist/cdn/{HAQYF5US.js → 3NED4V6X.js} +2 -2
- package/dist/cdn/{6M5LLBFV.js → 3P7JYKAA.js} +2 -2
- package/dist/cdn/{XZBB2UEX.js → 3PVQNJZD.js} +1 -1
- package/dist/cdn/{QUVQBXCE.js → 3VMVU5ES.js} +1 -1
- package/dist/cdn/{XVDOUKNJ.js → 3XYELSRJ.js} +1 -1
- package/dist/cdn/{H77B36RA.js → 42YNAPAP.js} +2 -2
- package/dist/cdn/{AAQNZMHM.js → 43VWZHZ4.js} +2 -2
- package/dist/cdn/{F3IRPQCO.js → 4665JE7L.js} +2 -2
- package/dist/cdn/{KCN6JCXH.js → 4GUKXZWM.js} +2 -2
- package/dist/cdn/{YUQ2VNA6.js → 4HKALJ2Y.js} +2 -2
- package/dist/cdn/{K7LCWOS7.js → 4J4QSJMN.js} +2 -2
- package/dist/cdn/{VPRU3HQD.js → 4NBBB2OS.js} +2 -2
- package/dist/cdn/{3GNSS25V.js → 4NO2UJWR.js} +2 -2
- package/dist/cdn/{ON477UD5.js → 4SUKTZKA.js} +2 -2
- package/dist/cdn/{CMOLOAHQ.js → 4XSSLUVA.js} +2 -2
- package/dist/cdn/{6FUII4JI.js → 52A772AY.js} +2 -2
- package/dist/cdn/{KXIA4444.js → 5BWL4IEJ.js} +2 -2
- package/dist/cdn/{VMWRKCHU.js → 5CPJFSLZ.js} +2 -2
- package/dist/cdn/{SGGIVA63.js → 5GEGTWOQ.js} +1 -1
- package/dist/cdn/{64FZOXAN.js → 5LXBRQII.js} +2 -2
- package/dist/cdn/{SLLAIEW4.js → 5MIHZEX3.js} +2 -2
- package/dist/cdn/{AOPVDS2B.js → 5NQ4I5W6.js} +2 -2
- package/dist/cdn/{YY23O533.js → 5O23XWTI.js} +1 -1
- package/dist/cdn/{7TZWE6K3.js → 6FXEWTKM.js} +2 -2
- package/dist/cdn/{FZXH5UDA.js → 6ILUF2CQ.js} +2 -2
- package/dist/cdn/{UCRJGUPR.js → 6VZMPYJ5.js} +2 -2
- package/dist/cdn/{UZC6O522.js → 6XV7AL47.js} +2 -2
- package/dist/cdn/{Z42LHLHR.js → 77R2YFJG.js} +1 -1
- package/dist/cdn/{OSW5BFUP.js → 7A2GAI5N.js} +2 -2
- package/dist/cdn/{F56VXVXX.js → 7AIFCSOJ.js} +2 -2
- package/dist/cdn/{LWP7WX74.js → 7IUINEVK.js} +1 -1
- package/dist/cdn/{46KNGUML.js → 7LDUAT3S.js} +2 -2
- package/dist/cdn/{223GEOHY.js → 7O4CFQEN.js} +2 -2
- package/dist/cdn/{RRKWVYF6.js → 7OBM63GA.js} +2 -2
- package/dist/cdn/{BD737FGF.js → 7PCMY7XC.js} +2 -2
- package/dist/cdn/{GJWN4WP3.js → 7QIWEWJB.js} +2 -2
- package/dist/cdn/{EUKMNMGH.js → 7T4TUTI3.js} +2 -2
- package/dist/cdn/{YMHHSIXK.js → A4HGPGWR.js} +2 -2
- package/dist/cdn/{3J33WXHY.js → ABDLISXN.js} +2 -2
- package/dist/cdn/{OWDWZHMV.js → ADFGB7AN.js} +2 -2
- package/dist/cdn/{F7SKZ7TX.js → ATJKU5BO.js} +2 -2
- package/dist/cdn/{7PDUKDDV.js → AXQI5RRD.js} +2 -2
- package/dist/cdn/{J3RU5GJE.js → B3MVDBCA.js} +2 -2
- package/dist/cdn/{FDZTWT7F.js → B52UULYQ.js} +2 -2
- package/dist/cdn/{JQEVQ7FX.js → BHYARFEL.js} +2 -2
- package/dist/cdn/{JM6ORLVQ.js → BNPG5IW3.js} +2 -2
- package/dist/cdn/{FPPXUL5B.js → BRP3CGIU.js} +2 -2
- package/dist/cdn/{RY37AQKX.js → BVSP7QVQ.js} +2 -2
- package/dist/cdn/{T4BAASGD.js → BWGBAWCO.js} +2 -2
- package/dist/cdn/{MKROWF52.js → C2K7AWBU.js} +2 -2
- package/dist/cdn/{RSMTUN7I.js → C7MBEKKG.js} +2 -2
- package/dist/cdn/{ES6XKTKK.js → CBL5BRM4.js} +1 -1
- package/dist/cdn/{RCFE6H7G.js → CEMJF7BH.js} +2 -2
- package/dist/cdn/{WSDY2CHI.js → CFCFOBMC.js} +1 -1
- package/dist/cdn/{BEBIPBJB.js → CMXG2M4O.js} +1 -1
- package/dist/cdn/{QSCPIFBP.js → CNAN2LR5.js} +2 -2
- package/dist/cdn/{GZU2CPZN.js → CRB7SEY5.js} +1 -1
- package/dist/cdn/{EXXZSWW2.js → CSQ523GB.js} +2 -2
- package/dist/cdn/{YO2OX52L.js → CVVU4KAG.js} +2 -2
- package/dist/cdn/{RWFMDK27.js → CWOST2RQ.js} +2 -2
- package/dist/cdn/{N33BUUYD.js → CXKG6USO.js} +2 -2
- package/dist/cdn/{JSIYTPMP.js → D2CS6GXR.js} +2 -2
- package/dist/cdn/{YUAPYYIK.js → D2D6LOXR.js} +2 -2
- package/dist/cdn/{55EBYUZN.js → D5SL3VGO.js} +2 -2
- package/dist/cdn/{5LMXTWC2.js → DGSPIK2T.js} +2 -2
- package/dist/cdn/{UE3MOFNO.js → DKKUIANX.js} +2 -2
- package/dist/cdn/{NBHU4HTV.js → DNOKW6XD.js} +2 -2
- package/dist/cdn/{OF5XRF7X.js → DRZSEY3Y.js} +2 -2
- package/dist/cdn/{ZFWMGQUB.js → DS7RSNNI.js} +2 -2
- package/dist/cdn/{WSUH3PG3.js → DTYJWPW7.js} +2 -2
- package/dist/cdn/DYBKB6PO.js +4 -0
- package/dist/cdn/E3NCXYSH.js +4 -0
- package/dist/cdn/{MLZ4RTHG.js → E4RSRTQZ.js} +2 -2
- package/dist/cdn/{JI5ZRG7H.js → EA4H4V5U.js} +2 -2
- package/dist/cdn/{NS4YKFI7.js → EBDJ264L.js} +1 -1
- package/dist/cdn/{O5STABPN.js → EBFJLUNN.js} +3 -3
- package/dist/cdn/{XZEDAG2T.js → ECKJFFD3.js} +2 -2
- package/dist/cdn/{CPBYDRAF.js → ECSLDMAC.js} +2 -2
- package/dist/cdn/{EMCOKOZ5.js → EIALH5ZV.js} +2 -2
- package/dist/cdn/{HITNOOU3.js → EPC627TH.js} +2 -2
- package/dist/cdn/{DA5DY7HY.js → ES7XNROT.js} +1 -1
- package/dist/cdn/EUPBZJHY.js +18 -0
- package/dist/cdn/{2JM5ZUYC.js → EX7O7TLM.js} +2 -2
- package/dist/cdn/{MYGSYGYU.js → FB57Z37X.js} +2 -2
- package/dist/cdn/{PHA5TYOC.js → FBMHJIQX.js} +1 -1
- package/dist/cdn/FCRG74YC.js +18 -0
- package/dist/cdn/{EDTDPGLP.js → FFEVHA54.js} +2 -2
- package/dist/cdn/{LSMRI35A.js → FFI6SWY5.js} +2 -2
- package/dist/cdn/{VF44ZDU6.js → FN5TEXTV.js} +2 -2
- package/dist/cdn/{CQFA3WBO.js → FNTJLKD2.js} +2 -2
- package/dist/cdn/{HCVBMJG5.js → FP7YI2GP.js} +2 -2
- package/dist/cdn/{JAG5YFJB.js → FPREMAUM.js} +2 -2
- package/dist/cdn/{73DTRGE3.js → FQEBA4KU.js} +2 -2
- package/dist/cdn/{GWV77TVF.js → FR7J7CFL.js} +2 -2
- package/dist/cdn/{VHCT5ETZ.js → G7MH556M.js} +1 -1
- package/dist/cdn/{P5R5UYXR.js → GCOLAVO7.js} +2 -2
- package/dist/cdn/{GDZS5JMN.js → GENZOKN4.js} +2 -2
- package/dist/cdn/{P4QZUNYY.js → GHQ2LWYD.js} +2 -2
- package/dist/cdn/{24TZCC7K.js → GWABTOFY.js} +2 -2
- package/dist/cdn/{5DFDVK6H.js → GWBWCMEH.js} +2 -2
- package/dist/cdn/{PDWNCQED.js → GY2OYI5D.js} +2 -2
- package/dist/cdn/{QCU33RPV.js → GZUKF6LK.js} +1 -1
- package/dist/cdn/{AFD4RBBU.js → H26QSL2F.js} +2 -2
- package/dist/cdn/{BOKYBROP.js → H2Y4QRE4.js} +2 -2
- package/dist/cdn/{OPHPZAWR.js → H5ZIGMRI.js} +2 -2
- package/dist/cdn/{T2TH26PQ.js → HAYNJTAQ.js} +2 -2
- package/dist/cdn/{NTHWDWQ4.js → HCZ6FFD5.js} +2 -2
- package/dist/cdn/{NNQEWRZP.js → HE7IB5CL.js} +2 -2
- package/dist/cdn/HEHIUXMR.js +18 -0
- package/dist/cdn/{FNI2QU5Z.js → HHG6ZUPU.js} +2 -2
- package/dist/cdn/{DV3SVW2J.js → HLR6HDY3.js} +2 -2
- package/dist/cdn/{DIYKH756.js → HOAV4OHX.js} +2 -2
- package/dist/cdn/{TIPFSDZA.js → HTQZJJEM.js} +2 -2
- package/dist/cdn/{C556IKNJ.js → HV2KHWHT.js} +1 -1
- package/dist/cdn/{XCCD5RBC.js → I3A5FLJX.js} +2 -2
- package/dist/cdn/{472AWOX3.js → I6T4DNMK.js} +1 -1
- package/dist/cdn/{O5IG7QMW.js → I6WLOVYE.js} +2 -2
- package/dist/cdn/{SGUBT5JB.js → I7PT6FAK.js} +2 -2
- package/dist/cdn/{CCKIOTSJ.js → IA7SPSNX.js} +1 -1
- package/dist/cdn/{O2HIRP5H.js → IFRGKORC.js} +2 -2
- package/dist/cdn/{R7OODGTN.js → IGAQLS35.js} +2 -2
- package/dist/cdn/{4TE3RTYX.js → IWDPSGBA.js} +2 -2
- package/dist/cdn/{D6EOKX53.js → IWEWW7UF.js} +2 -2
- package/dist/cdn/{UFW2PO2K.js → IXAJVNIU.js} +2 -2
- package/dist/cdn/{UZ7Z2JVT.js → IY3OZUEQ.js} +1 -1
- package/dist/cdn/{3YMTKEK5.js → IZRJGJNT.js} +1 -1
- package/dist/cdn/{2ZIEEWZM.js → J3HD5HLJ.js} +2 -2
- package/dist/cdn/{P6B7MWVF.js → J5JJWJST.js} +2 -2
- package/dist/cdn/{2C2446YO.js → JA7AXS45.js} +2 -2
- package/dist/cdn/{A5KMT3LM.js → JAF5EPQU.js} +2 -2
- package/dist/cdn/{PND2W5YW.js → JGQZ3EBA.js} +2 -2
- package/dist/cdn/{SAQTFWRS.js → JN5OUP7E.js} +2 -2
- package/dist/cdn/{NUFMCKHA.js → JNRXLD2Y.js} +2 -2
- package/dist/cdn/{RVQUWOMM.js → JQTYVN4M.js} +1 -1
- package/dist/cdn/{MWA7BHLK.js → JVBZXQR6.js} +2 -2
- package/dist/cdn/{WBJLCNZG.js → JZZFN7NR.js} +2 -2
- package/dist/cdn/{GV3IWFPF.js → KB3K57TU.js} +1 -1
- package/dist/cdn/{FAND47WD.js → KF2WMPDA.js} +2 -2
- package/dist/cdn/{MNA6JCMZ.js → KT5QSDM6.js} +2 -2
- package/dist/cdn/{6DT74H27.js → L2UNPKWB.js} +2 -2
- package/dist/cdn/{W6QIPNCT.js → L5F2YIGY.js} +2 -2
- package/dist/cdn/{7NWNTAMW.js → L5MOZJ5R.js} +2 -2
- package/dist/cdn/{ORPALJYI.js → LC5YWKYI.js} +2 -2
- package/dist/cdn/{XLMYFJTK.js → LE6WWQF7.js} +2 -2
- package/dist/cdn/{USUJ3LC6.js → LIITBMWX.js} +2 -2
- package/dist/cdn/{7D7PABFH.js → LIYWSETY.js} +2 -2
- package/dist/cdn/{VE4I5REF.js → LRHUNYT4.js} +1 -1
- package/dist/cdn/{XHQDXY4H.js → LSQ5BIVZ.js} +2 -2
- package/dist/cdn/{VIJEHZLK.js → LULN4KJC.js} +2 -2
- package/dist/cdn/{Y52LUZET.js → LXIJ7KVU.js} +4 -4
- package/dist/cdn/{KLKHZZWM.js → M2NFJOZG.js} +2 -2
- package/dist/cdn/{WQSGEAXH.js → MDUIQHWP.js} +2 -2
- package/dist/cdn/{GE3L6RLR.js → MFNJAERQ.js} +2 -2
- package/dist/cdn/{VKCASX3G.js → MKH4ISUR.js} +2 -2
- package/dist/cdn/{VZJ4LWYJ.js → MNM5B3BF.js} +2 -2
- package/dist/cdn/{HQW4WYSH.js → MQDNCLQF.js} +2 -2
- package/dist/cdn/{DZSY5JZN.js → MXVKQ2IP.js} +2 -2
- package/dist/cdn/{DP5KDHDS.js → N2LEHUCQ.js} +1 -1
- package/dist/cdn/{BV76MPA5.js → N4S5NMAT.js} +1 -1
- package/dist/cdn/{RHQK4LTS.js → NKVVPNTL.js} +2 -2
- package/dist/cdn/{EK4MS2HQ.js → NNZJVFSR.js} +2 -2
- package/dist/cdn/NO6N7UTU.js +4 -0
- package/dist/cdn/{QU3EEVJP.js → NVAOBJET.js} +2 -2
- package/dist/cdn/{6BYYEA3R.js → NVBZ7AJX.js} +2 -2
- package/dist/cdn/{MVQ6IP26.js → NYPC4U7K.js} +2 -2
- package/dist/cdn/{CBQHTAYP.js → O3VY75AJ.js} +2 -2
- package/dist/cdn/{CH5PRHPR.js → O4FSY2OZ.js} +2 -2
- package/dist/cdn/{JTDXHRQI.js → O7CQVXLY.js} +2 -2
- package/dist/cdn/{M6XUGB2Z.js → OE57CTB6.js} +2 -2
- package/dist/cdn/{RX6Y3JHB.js → OEUC2E3S.js} +2 -2
- package/dist/cdn/{FHVWZYRK.js → OIZT53OO.js} +2 -2
- package/dist/cdn/{HTW2BPA3.js → OPRTPHCU.js} +2 -2
- package/dist/cdn/{AX3FGYBT.js → OX3NC4XD.js} +2 -2
- package/dist/cdn/{BVIFPMNY.js → P2XVKHCW.js} +2 -2
- package/dist/cdn/{3EVL4T45.js → P4GFBVOF.js} +2 -2
- package/dist/cdn/{C3P3IFUU.js → P4YH3X65.js} +2 -2
- package/dist/cdn/{MHOAA6P3.js → PE6DCA3I.js} +2 -2
- package/dist/cdn/{I5YXI6G2.js → PHEZ3MV4.js} +2 -2
- package/dist/cdn/{HQ4JF5OI.js → PJIJ655P.js} +2 -2
- package/dist/cdn/{CCBFE5GN.js → PKS5R7VU.js} +2 -2
- package/dist/cdn/{TP3QX5HT.js → POJSHOPU.js} +2 -2
- package/dist/cdn/{JFKJRB56.js → PPZ6M2CC.js} +2 -2
- package/dist/cdn/PTQK2QE7.js +4 -0
- package/dist/cdn/{6KYFPVWD.js → PXAOKWPK.js} +1 -1
- package/dist/cdn/{EJS4EUMP.js → PY5JDU7J.js} +2 -2
- package/dist/cdn/{5A7G5CA4.js → PYIFAA7W.js} +2 -2
- package/dist/cdn/{V3NJ7RMG.js → PYOCUWAR.js} +1 -1
- package/dist/cdn/{GUTIVTWX.js → PYUTAJEA.js} +2 -2
- package/dist/cdn/{W6GET7ZB.js → Q3GBSDXK.js} +2 -2
- package/dist/cdn/{OONRY2LS.js → QC676X4G.js} +2 -2
- package/dist/cdn/{C34H6SGK.js → QGNWNBJN.js} +1 -1
- package/dist/cdn/{Z3QNUQDB.js → QGQCUZHR.js} +2 -2
- package/dist/cdn/{EL4X5ULJ.js → QHS4RQMX.js} +2 -2
- package/dist/cdn/{UQ6BMBWB.js → QJN75MNZ.js} +2 -2
- package/dist/cdn/{U5GNKKAT.js → QM36ZUFT.js} +2 -2
- package/dist/cdn/{VN7EOIEM.js → QMVZ56M5.js} +2 -2
- package/dist/cdn/{TTJLCKXQ.js → QSMQBG3B.js} +2 -2
- package/dist/cdn/{5S33W4IV.js → QZIQJ6SA.js} +2 -2
- package/dist/cdn/{6ZIUZPW6.js → RB2AS75H.js} +2 -2
- package/dist/cdn/{VGOCUCWJ.js → ROFI6I4A.js} +2 -2
- package/dist/cdn/{TQM2UAMN.js → RS5NTHM5.js} +2 -2
- package/dist/cdn/{ZKX2RDI2.js → RXIT5QD4.js} +2 -2
- package/dist/cdn/{CXJ53YNZ.js → RYGBJCL4.js} +2 -2
- package/dist/cdn/{BMXZA6UO.js → S2GW652B.js} +2 -2
- package/dist/cdn/{QMT7LNSC.js → SKCMFCS7.js} +2 -2
- package/dist/cdn/{6XR6SHED.js → SOFUJZ3D.js} +2 -2
- package/dist/cdn/{VVQFUKSX.js → SPOPBX7Y.js} +2 -2
- package/dist/cdn/{7CR6HYTL.js → SR5UXEZC.js} +2 -2
- package/dist/cdn/{RTFLMETG.js → SUKCP66T.js} +1 -1
- package/dist/cdn/{UY5WXQ65.js → SVW6AZR5.js} +1 -1
- package/dist/cdn/SYPORCKB.js +4 -0
- package/dist/cdn/{YB3XRPJ5.js → TDNEC4ET.js} +2 -2
- package/dist/cdn/{JKNNOYXC.js → THF2NVYP.js} +2 -2
- package/dist/cdn/{I5QBLE4N.js → TIVYTH2C.js} +2 -2
- package/dist/cdn/{4J4NUK33.js → TLTMGAYX.js} +2 -2
- package/dist/cdn/{7P23QXUP.js → TOK7WOLO.js} +2 -2
- package/dist/cdn/{2B4ODL4I.js → TRGQYCJH.js} +1 -1
- package/dist/cdn/TSHKTCVE.js +4 -0
- package/dist/cdn/{MDHH56JU.js → TU5EB3SG.js} +2 -2
- package/dist/cdn/{RC47QK6Z.js → TZRDOWBK.js} +2 -2
- package/dist/cdn/{L4KM5BWJ.js → U7FY3Z6J.js} +2 -2
- package/dist/cdn/{NLJSCFKM.js → UDOVYXDG.js} +2 -2
- package/dist/cdn/{GJKEPLSZ.js → UFAKSMYV.js} +1 -1
- package/dist/cdn/{QF5QELVM.js → UKPXEI5B.js} +2 -2
- package/dist/cdn/{2TFAMRO4.js → UP5YHHVX.js} +2 -2
- package/dist/cdn/{KK5SXYNF.js → UTZH2TFS.js} +2 -2
- package/dist/cdn/{LATOYW5P.js → UUIJYUXC.js} +1 -1
- package/dist/cdn/{CTUHVTSA.js → V5COCALB.js} +2 -2
- package/dist/cdn/{UWYX3KLQ.js → V6F7F5EQ.js} +2 -2
- package/dist/cdn/{4NUVQZAI.js → V6HVZYGZ.js} +1 -1
- package/dist/cdn/{DRGQGDS6.js → VAMROQTR.js} +2 -2
- package/dist/cdn/{HMGYITJ2.js → VBY2NOFA.js} +2 -2
- package/dist/cdn/{7LTABIRE.js → VE32BTAF.js} +2 -2
- package/dist/cdn/{NIXMWDPM.js → VF6PQLYK.js} +1 -1
- package/dist/cdn/{7BQXCVHW.js → VFDF4ROS.js} +2 -2
- package/dist/cdn/{NEMP2EEG.js → VJYZRK5U.js} +2 -2
- package/dist/cdn/VMTU5ZOX.js +18 -0
- package/dist/cdn/{IRHPLBFA.js → VPKBHDHE.js} +2 -2
- package/dist/cdn/VQGFPSVK.js +4 -0
- package/dist/cdn/{77VHGJGG.js → VU2XZBBH.js} +1 -1
- package/dist/cdn/{DTXY6OOO.js → VUYPJKBN.js} +2 -2
- package/dist/cdn/{ILUBVWJF.js → VV57DRLT.js} +1 -1
- package/dist/cdn/{VLHN4DFG.js → W2Y6LTHF.js} +2 -2
- package/dist/cdn/{2T7OWYJF.js → WA77C3F4.js} +1 -1
- package/dist/cdn/{2ED5S63G.js → WX6QLUGO.js} +2 -2
- package/dist/cdn/{OVK3TD4M.js → XDFUQD2L.js} +2 -2
- package/dist/cdn/{3VKOIUB3.js → XERQENM5.js} +2 -2
- package/dist/cdn/XFEJTNUZ.js +4 -0
- package/dist/cdn/{H3O4ORNM.js → XMTH5TYU.js} +2 -2
- package/dist/cdn/{QEWSNHU7.js → XQVIBAF5.js} +2 -2
- package/dist/cdn/{ZXPEMYN2.js → XSOOFRYI.js} +2 -2
- package/dist/cdn/{VFHITJHF.js → XTFZE4SM.js} +2 -2
- package/dist/cdn/{OPPO4362.js → XWKDDYMN.js} +2 -2
- package/dist/cdn/{IDBD7LSX.js → XWKRLPXO.js} +1 -1
- package/dist/cdn/{V2CTNIEN.js → Y7SNFI2C.js} +2 -2
- package/dist/cdn/{YF65GC7S.js → Z3ETJYGZ.js} +2 -2
- package/dist/cdn/{NTASDALK.js → ZI26RSTF.js} +2 -2
- package/dist/cdn/{45VAALBN.js → ZINXGQGV.js} +2 -2
- package/dist/cdn/{HYIN2EAD.js → ZJFZ75HQ.js} +2 -2
- package/dist/cdn/ZLX44O64.js +18 -0
- package/dist/cdn/{I5VSPGGJ.js → ZT7BLGUD.js} +2 -2
- package/dist/cdn/{NNRPVDMT.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.js +18 -15
- 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 -1
- package/dist/docs/docs.json +43 -1
- package/dist/docs/vscode.html-custom-data.json +6 -1
- package/dist/docs/web-types.json +25 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cdn/2AEJNC2Y.js +0 -4
- package/dist/cdn/2BATVN26.js +0 -18
- package/dist/cdn/2N6IKQAJ.js +0 -4
- package/dist/cdn/6Z5XKLIH.js +0 -4
- package/dist/cdn/CZCNKDL6.js +0 -4
- package/dist/cdn/DVMPKT5N.js +0 -4
- package/dist/cdn/GH3PRS32.js +0 -18
- package/dist/cdn/GXKAH7DD.js +0 -18
- package/dist/cdn/IDRORHF7.js +0 -18
- package/dist/cdn/L2QQ7XWU.js +0 -4
- package/dist/cdn/N3A5PMYA.js +0 -4
- package/dist/cdn/PRILEYGG.js +0 -4
- package/dist/cdn/UWFHS56N.js +0 -18
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as n,e as c,f as d}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as n,e as c,f as d}from"./LE6WWQF7.js";import{a as r}from"./7AIFCSOJ.js";import"./PYOCUWAR.js";import"./DNOKW6XD.js";import"./UKPXEI5B.js";import"./UFAKSMYV.js";import"./3PVQNJZD.js";import"./TRGQYCJH.js";import"./ADFGB7AN.js";import"./ES7XNROT.js";import"./VV57DRLT.js";import{a as o,b as i}from"./O4FSY2OZ.js";import"./XWKRLPXO.js";import"./HCZ6FFD5.js";import"./KB3K57TU.js";import"./VBY2NOFA.js";import"./I7PT6FAK.js";import"./RYGBJCL4.js";import"./OE57CTB6.js";import"./L5MOZJ5R.js";import"./ECSLDMAC.js";import"./QJN75MNZ.js";import"./ZT7BLGUD.js";import"./N4S5NMAT.js";import"./ZJFZ75HQ.js";import"./G7MH556M.js";import"./3LHLZJPX.js";import"./NNZJVFSR.js";import"./7QIWEWJB.js";import"./QGNWNBJN.js";import"./OEUC2E3S.js";import"./ZXU6LSAN.js";import"./5GEGTWOQ.js";import"./HV2KHWHT.js";import"./CRB7SEY5.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r,b as c}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as r,b as c}from"./IGAQLS35.js";import{b as h}from"./IA7SPSNX.js";import{D as n,I as l,c as i,d as s,o as a}from"./SUKCP66T.js";import"./CRB7SEY5.js";var d=i`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{o,p as a,q as r,r as d,v as c,w as m}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{o,p as a,q as r,r as d,v as c,w as m}from"./FBMHJIQX.js";import{a as l,c as i,d as h,e as u}from"./GWBWCMEH.js";import"./CRB7SEY5.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as d}from"./N2LEHUCQ.js";import{a as y}from"./OX3NC4XD.js";import"./UKPXEI5B.js";import"./UFAKSMYV.js";import"./3PVQNJZD.js";import"./TRGQYCJH.js";import{a as s,b as p}from"./DGSPIK2T.js";import"./FNTJLKD2.js";import"./RB2AS75H.js";import{a as n}from"./H5ZIGMRI.js";import{a}from"./IXAJVNIU.js";import"./ADFGB7AN.js";import"./ES7XNROT.js";import"./WA77C3F4.js";import"./VV57DRLT.js";import{a as l}from"./O4FSY2OZ.js";import"./XWKRLPXO.js";import"./HCZ6FFD5.js";import"./KB3K57TU.js";import"./VBY2NOFA.js";import"./I7PT6FAK.js";import"./RYGBJCL4.js";import"./OE57CTB6.js";import"./L5MOZJ5R.js";import"./ECSLDMAC.js";import"./QJN75MNZ.js";import"./ZT7BLGUD.js";import"./N4S5NMAT.js";import"./ZJFZ75HQ.js";import{a as t,b as r}from"./G7MH556M.js";import"./3LHLZJPX.js";import"./NNZJVFSR.js";import"./7QIWEWJB.js";import"./QGNWNBJN.js";import"./OEUC2E3S.js";import"./ZXU6LSAN.js";import"./5GEGTWOQ.js";import"./HV2KHWHT.js";import"./CRB7SEY5.js";var T=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,d(i),"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{T as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250602 */
|
4
4
|
var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as P}from"./QMT7LNSC.js";import{A as C,C as R,D as L,d as k,e as y}from"./PHA5TYOC.js";import"./WSDY2CHI.js";import{a as S,c as e,d as E,e as $}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{e as P}from"./SKCMFCS7.js";import{A as C,C as R,D as L,d as k,e as y}from"./FBMHJIQX.js";import"./CFCFOBMC.js";import{a as S,c as e,d as E,e as $}from"./GWBWCMEH.js";import"./CRB7SEY5.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250602 */
|
4
4
|
var a={xsmall:[545],small:[545,768],medium:[769,992],large:[993,1200],xlarge:[1200]};export{a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as l}from"./POJSHOPU.js";import{D as o,E as c,G as r,I as n,c as s,d as e}from"./SUKCP66T.js";import"./CRB7SEY5.js";var h=s`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as e}from"./ZXU6LSAN.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250602 */
|
4
4
|
var E=typeof window<"u",l={Promise:E?window.Promise:void 0},m="4.25",u="next";function p(r){if(r.toLowerCase()===u)return u;var e=r&&r.match(/^(\d)\.(\d+)/);return e&&{major:parseInt(e[1],10),minor:parseInt(e[2],10)}}function w(r){return r===void 0&&(r=m),"https://js.arcgis.com/".concat(r,"/")}function g(r){r===void 0&&(r=m);var e=w(r),t=p(r);if(t!==u&&t.major===3){var n=t.minor<=10?"js/":"";return"".concat(e).concat(n,"esri/css/esri.css")}else return"".concat(e,"esri/themes/light/main.css")}function A(r){var e=document.createElement("link");return e.rel="stylesheet",e.href=r,e}function P(r,e){if(e){var t=document.querySelector(e);t.parentNode.insertBefore(r,t)}else document.head.appendChild(r)}function S(r){return document.querySelector('link[href*="'.concat(r,'"]'))}function q(r){return!r||p(r)?g(r):r}function I(r,e){var t=q(r),n=S(t);return n||(n=A(t),P(n,e)),n}var L={};function b(r){var e=document.createElement("script");return e.type="text/javascript",e.src=r,e.setAttribute("data-esri-loader","loading"),e}function f(r,e,t){var n;t&&(n=j(r,t));var o=function(){e(r),r.removeEventListener("load",o,!1),n&&r.removeEventListener("error",n,!1)};r.addEventListener("load",o,!1)}function j(r,e){var t=function(n){e(n.error||new Error("There was an error attempting to load ".concat(r.src))),r.removeEventListener("error",t,!1)};return r.addEventListener("error",t,!1),t}function h(){return document.querySelector("script[data-esri-loader]")}function s(){var r=window.require;return r&&r.on}function C(r){r===void 0&&(r={});var e={};[L,r].forEach(function(o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])});var t=e.version,n=e.url||w(t);return new l.Promise(function(o,i){var a=h();if(a){var d=a.getAttribute("src");d!==n?i(new Error("The ArcGIS API for JavaScript is already loaded (".concat(d,")."))):s()?o(a):f(a,o,i)}else if(s())i(new Error("The ArcGIS API for JavaScript is already loaded."));else{var c=e.css;if(c){var y=c===!0;I(y?t:c,e.insertCssBefore)}a=b(n),f(a,function(){a.setAttribute("data-esri-loader","loaded"),o(a)},i),document.body.appendChild(a)}})}function v(r){return new l.Promise(function(e,t){var n=window.require.on("error",t);window.require(r,function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.remove(),e(o)})})}function T(r,e){if(e===void 0&&(e={}),s())return v(r);var t=h(),n=t&&t.getAttribute("src");return!e.url&&n&&(e.url=n),C(e).then(function(){return v(r)})}var k=async(r,e)=>(await T(r,e)).map(t=>t.__esModule&&t.default?t.default:t);export{T as a,k as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as n}from"./7IUINEVK.js";import{a as p}from"./7AIFCSOJ.js";import"./PYOCUWAR.js";import{a}from"./CVVU4KAG.js";import"./DNOKW6XD.js";import"./TRGQYCJH.js";import{a as r,b as i}from"./DGSPIK2T.js";import"./FNTJLKD2.js";import"./RB2AS75H.js";import"./ES7XNROT.js";import"./WA77C3F4.js";import"./VV57DRLT.js";import{a as t}from"./O4FSY2OZ.js";import"./XWKRLPXO.js";import"./HCZ6FFD5.js";import"./KB3K57TU.js";import"./VBY2NOFA.js";import"./I7PT6FAK.js";import"./RYGBJCL4.js";import"./OE57CTB6.js";import"./L5MOZJ5R.js";import"./ECSLDMAC.js";import"./QJN75MNZ.js";import"./ZT7BLGUD.js";import"./N4S5NMAT.js";import"./ZJFZ75HQ.js";import"./G7MH556M.js";import"./3LHLZJPX.js";import"./NNZJVFSR.js";import"./7QIWEWJB.js";import"./QGNWNBJN.js";import"./OEUC2E3S.js";import"./ZXU6LSAN.js";import"./5GEGTWOQ.js";import"./HV2KHWHT.js";import"./CRB7SEY5.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:a((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!p("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{g as c,s as $,t as d,u as f,v as A}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{g as c,s as $,t as d,u as f,v as A}from"./SUKCP66T.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as o}from"./36FXCDNJ.js";import{a as r}from"./7AIFCSOJ.js";import"./PYOCUWAR.js";import"./DNOKW6XD.js";import"./VV57DRLT.js";import{a as s}from"./O4FSY2OZ.js";import"./XWKRLPXO.js";import"./HCZ6FFD5.js";import"./KB3K57TU.js";import"./VBY2NOFA.js";import"./I7PT6FAK.js";import"./RYGBJCL4.js";import"./OE57CTB6.js";import"./L5MOZJ5R.js";import"./ECSLDMAC.js";import"./QJN75MNZ.js";import"./ZT7BLGUD.js";import"./N4S5NMAT.js";import"./ZJFZ75HQ.js";import"./G7MH556M.js";import"./3LHLZJPX.js";import"./NNZJVFSR.js";import"./7QIWEWJB.js";import"./QGNWNBJN.js";import"./OEUC2E3S.js";import"./ZXU6LSAN.js";import"./5GEGTWOQ.js";import"./HV2KHWHT.js";import"./CRB7SEY5.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as l}from"./TZRDOWBK.js";import"./DNOKW6XD.js";import"./WA77C3F4.js";import"./VV57DRLT.js";import{a as o}from"./O4FSY2OZ.js";import"./XWKRLPXO.js";import"./HCZ6FFD5.js";import"./KB3K57TU.js";import"./VBY2NOFA.js";import"./I7PT6FAK.js";import"./RYGBJCL4.js";import"./OE57CTB6.js";import"./L5MOZJ5R.js";import"./ECSLDMAC.js";import"./QJN75MNZ.js";import"./ZT7BLGUD.js";import"./N4S5NMAT.js";import"./ZJFZ75HQ.js";import"./G7MH556M.js";import"./3LHLZJPX.js";import"./NNZJVFSR.js";import"./7QIWEWJB.js";import"./QGNWNBJN.js";import"./OEUC2E3S.js";import"./ZXU6LSAN.js";import"./5GEGTWOQ.js";import"./HV2KHWHT.js";import"./CRB7SEY5.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{k as a}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{k as a}from"./ADFGB7AN.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250602 */
|
4
4
|
var s="calcite-mode-light",t="calcite-mode-dark";function o(r){let e=r?.closest(`.${t}, .${s}`);return e==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e?.classList.contains(t)?"dark":"light"}export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250602 */
|
4
4
|
async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{b as d}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{b as d}from"./IGAQLS35.js";import{D as c,E as l,I as h,c as o,d as a,o as r}from"./SUKCP66T.js";import"./CRB7SEY5.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as P}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as P}from"./VF6PQLYK.js";import{c as n,e as g,f as m,g as d,h as I,i as S,m as b,q as F,r as y,s as v,t as R,u as w,v as T}from"./P4YH3X65.js";import{b as o,h as _}from"./PXAOKWPK.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250602 */
|
4
|
+
import{a as h}from"./I6T4DNMK.js";import{a as n,b as o}from"./CMXG2M4O.js";import{b as i}from"./CFCFOBMC.js";import{a as r,c as t,d as l,e as d,f as p}from"./GWBWCMEH.js";import"./CRB7SEY5.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,e={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(a){r(this,a),this.infoIsOpenChanged=p(this,"infoIsOpenChanged",6),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=h.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let a=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(a),g=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?e.headerContent.concat(" ",e.alignment[this.headerAlignment]):e.headerContent,m=n(this.fontFamily);return t(l,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${e.base}${this.dir==="rtl"?` ${e.flipRtl}`:""}${this.logoImage&&!a?` ${e.logoHeight}${this.logoScale}`:` ${e.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:e.headerContainer},t("span",{class:c},s,g,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:e.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(a){return a?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),void await Promise.resolve()}mqlCallback(){return a=>{let{matches:s}=a;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let a=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(a);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return d(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
|