@esri/solutions-components 1.0.0-next.20250602 → 1.0.0-next.20250603
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/{OIZT53OO.js → 2A4GEMAW.js} +2 -2
- package/dist/cdn/{BNPG5IW3.js → 2FAWIR6P.js} +2 -2
- package/dist/cdn/{4XSSLUVA.js → 2UN6IWSF.js} +2 -2
- package/dist/cdn/{I6T4DNMK.js → 2VM7OA5E.js} +1 -1
- package/dist/cdn/{P4GFBVOF.js → 2ZA57CGC.js} +2 -2
- package/dist/cdn/{6XV7AL47.js → 33FSCQFR.js} +2 -2
- package/dist/cdn/{FB57Z37X.js → 33K737QJ.js} +2 -2
- package/dist/cdn/{7O4CFQEN.js → 366RGXYU.js} +2 -2
- package/dist/cdn/{CMXG2M4O.js → 37XXJM5S.js} +1 -1
- package/dist/cdn/{RB2AS75H.js → 3AUAAUJV.js} +2 -2
- package/dist/cdn/{LSQ5BIVZ.js → 3CMDAXPK.js} +2 -2
- package/dist/cdn/{ZLX44O64.js → 3FBV55H2.js} +2 -2
- package/dist/cdn/{FBMHJIQX.js → 3FNKOWZ6.js} +1 -1
- package/dist/cdn/{WA77C3F4.js → 3J7INGHN.js} +1 -1
- package/dist/cdn/{PHEZ3MV4.js → 3MFVOQAG.js} +2 -2
- package/dist/cdn/{3PVQNJZD.js → 3QLFODAB.js} +1 -1
- package/dist/cdn/{LIYWSETY.js → 44H7S4RI.js} +2 -2
- package/dist/cdn/{G7MH556M.js → 4A3IVB2K.js} +1 -1
- package/dist/cdn/{DGSPIK2T.js → 4CFJ2SMT.js} +2 -2
- package/dist/cdn/{42YNAPAP.js → 4FJS36XM.js} +2 -2
- package/dist/cdn/{LIITBMWX.js → 4GDXQTTJ.js} +2 -2
- package/dist/cdn/{EX7O7TLM.js → 4GVXF3RJ.js} +2 -2
- package/dist/cdn/{VV57DRLT.js → 4HXEQA7V.js} +1 -1
- package/dist/cdn/{5O23XWTI.js → 4N7K4EPV.js} +1 -1
- package/dist/cdn/{FP7YI2GP.js → 4N7Y4SLD.js} +2 -2
- package/dist/cdn/{36FXCDNJ.js → 4NEYX376.js} +2 -2
- package/dist/cdn/{WX6QLUGO.js → 4VW6QB4P.js} +2 -2
- package/dist/cdn/{TOK7WOLO.js → 4ZO64GTY.js} +2 -2
- package/dist/cdn/{4GUKXZWM.js → 52AYXYEN.js} +2 -2
- package/dist/cdn/{PJIJ655P.js → 5756YADX.js} +2 -2
- package/dist/cdn/{FPREMAUM.js → 57BGJBOO.js} +2 -2
- package/dist/cdn/{PXAOKWPK.js → 5GKR6FQH.js} +1 -1
- package/dist/cdn/{JA7AXS45.js → 5JNNNRPL.js} +2 -2
- package/dist/cdn/{J5JJWJST.js → 5JUK3RD2.js} +2 -2
- package/dist/cdn/{7T4TUTI3.js → 5L7SETEA.js} +2 -2
- package/dist/cdn/{PYIFAA7W.js → 5PURYCNE.js} +2 -2
- package/dist/cdn/{V6F7F5EQ.js → 5PY2QCXV.js} +2 -2
- package/dist/cdn/{77R2YFJG.js → 5PZG4WZ2.js} +1 -1
- package/dist/cdn/{LE6WWQF7.js → 5U3O5R7Y.js} +2 -2
- package/dist/cdn/{BRP3CGIU.js → 5UT6LXX2.js} +2 -2
- package/dist/cdn/{MXVKQ2IP.js → 5X5QWLK4.js} +2 -2
- package/dist/cdn/{O4FSY2OZ.js → 5ZXK637K.js} +2 -2
- package/dist/cdn/{43VWZHZ4.js → 625KI7RI.js} +2 -2
- package/dist/cdn/{QM36ZUFT.js → 6BNB663M.js} +2 -2
- package/dist/cdn/{JGQZ3EBA.js → 6EAMLBZU.js} +2 -2
- package/dist/cdn/{QHS4RQMX.js → 6GMUYDHZ.js} +2 -2
- package/dist/cdn/{JQTYVN4M.js → 6GZFUPXS.js} +1 -1
- package/dist/cdn/{V5COCALB.js → 6LE4JC6W.js} +2 -2
- package/dist/cdn/{SVW6AZR5.js → 6O7FQOIX.js} +1 -1
- package/dist/cdn/{A4HGPGWR.js → 6R5LTHVO.js} +2 -2
- package/dist/cdn/{UKPXEI5B.js → 6VGQW5MK.js} +2 -2
- package/dist/cdn/{NVBZ7AJX.js → 6VSNZOZV.js} +2 -2
- package/dist/cdn/{ZT7BLGUD.js → 6Y7X5HKR.js} +2 -2
- package/dist/cdn/{GWBWCMEH.js → 72374WTO.js} +2 -2
- package/dist/cdn/{C7MBEKKG.js → 74JXQPXY.js} +2 -2
- package/dist/cdn/{FNTJLKD2.js → 75V45OM3.js} +2 -2
- package/dist/cdn/{4NBBB2OS.js → 7UK3LDOL.js} +2 -2
- package/dist/cdn/{MFNJAERQ.js → 7UUANWXQ.js} +2 -2
- package/dist/cdn/{QGNWNBJN.js → 7XDQ6QJZ.js} +1 -1
- package/dist/cdn/{ZJFZ75HQ.js → A24PAMGW.js} +2 -2
- package/dist/cdn/{3P7JYKAA.js → A6BPCOYC.js} +2 -2
- package/dist/cdn/{TRGQYCJH.js → A6HBKPQC.js} +1 -1
- package/dist/cdn/{MQDNCLQF.js → A6LXL735.js} +2 -2
- package/dist/cdn/{JVBZXQR6.js → ABLJTPNB.js} +2 -2
- package/dist/cdn/{DS7RSNNI.js → AEWLEC5R.js} +2 -2
- package/dist/cdn/{UUIJYUXC.js → AIJ5IYXI.js} +1 -1
- package/dist/cdn/{BVSP7QVQ.js → AMYCKO4M.js} +2 -2
- package/dist/cdn/{2OWHUGXN.js → APRZLZCN.js} +2 -2
- package/dist/cdn/{I3A5FLJX.js → APZSVZBW.js} +2 -2
- package/dist/cdn/{3LHLZJPX.js → AQYHVXUQ.js} +2 -2
- package/dist/cdn/{PYOCUWAR.js → ARGDR2B4.js} +1 -1
- package/dist/cdn/{IGAQLS35.js → ASKMOKLW.js} +2 -2
- package/dist/cdn/{I6WLOVYE.js → ATDAOWND.js} +2 -2
- package/dist/cdn/{AXQI5RRD.js → AV45F7BZ.js} +2 -2
- package/dist/cdn/{FCRG74YC.js → AXFC7FMV.js} +2 -2
- package/dist/cdn/{B52UULYQ.js → BA6IXACI.js} +2 -2
- package/dist/cdn/{5GEGTWOQ.js → BDT7Z5VR.js} +1 -1
- package/dist/cdn/{NNZJVFSR.js → BEOJ6WGN.js} +2 -2
- package/dist/cdn/{ZXU6LSAN.js → BGXUK5SF.js} +2 -2
- package/dist/cdn/{MKH4ISUR.js → BKUY276R.js} +2 -2
- package/dist/cdn/{FR7J7CFL.js → BQTXWTTW.js} +2 -2
- package/dist/cdn/{QZIQJ6SA.js → BTBLSPFB.js} +2 -2
- package/dist/cdn/{O7CQVXLY.js → BTV6ZEWW.js} +2 -2
- package/dist/cdn/{4NO2UJWR.js → BUVWZH45.js} +2 -2
- package/dist/cdn/{OX3NC4XD.js → BZDTBACE.js} +2 -2
- package/dist/cdn/{EUPBZJHY.js → BZJZ6IXS.js} +2 -2
- package/dist/cdn/{TU5EB3SG.js → C57X3EHF.js} +2 -2
- package/dist/cdn/{CNAN2LR5.js → C7LCT6L6.js} +2 -2
- package/dist/cdn/{QSMQBG3B.js → CC4YYOYD.js} +2 -2
- package/dist/cdn/{QGQCUZHR.js → CGOBCP3P.js} +2 -2
- package/dist/cdn/{QMVZ56M5.js → CI4LQLVW.js} +2 -2
- package/dist/cdn/{HCZ6FFD5.js → CNKJYGTH.js} +2 -2
- package/dist/cdn/{IA7SPSNX.js → CSZGFTFE.js} +1 -1
- package/dist/cdn/{OE57CTB6.js → CTIVVKPV.js} +2 -2
- package/dist/cdn/{PPZ6M2CC.js → DBDPNXPQ.js} +2 -2
- package/dist/cdn/{4665JE7L.js → DBR5OOXL.js} +2 -2
- package/dist/cdn/{EPC627TH.js → DFKIBEIZ.js} +2 -2
- package/dist/cdn/{NVAOBJET.js → DHYY26PS.js} +2 -2
- package/dist/cdn/{XDFUQD2L.js → DLY245BW.js} +2 -2
- package/dist/cdn/{TDNEC4ET.js → DPWTZQFE.js} +2 -2
- package/dist/cdn/{L2UNPKWB.js → DTXUMQ6N.js} +2 -2
- package/dist/cdn/{UFAKSMYV.js → DUMZWQHJ.js} +1 -1
- package/dist/cdn/{ECKJFFD3.js → DWO237TU.js} +2 -2
- package/dist/cdn/{IY3OZUEQ.js → E7CHZ6T4.js} +1 -1
- package/dist/cdn/{SKCMFCS7.js → EG6MMGUU.js} +2 -2
- package/dist/cdn/{JN5OUP7E.js → EHLYUUVS.js} +2 -2
- package/dist/cdn/EN7UO6LR.js +4 -0
- package/dist/cdn/{GWABTOFY.js → ET6AHSSP.js} +2 -2
- package/dist/cdn/{XMTH5TYU.js → EUPMJ7XB.js} +2 -2
- package/dist/cdn/{FQEBA4KU.js → EXON27GM.js} +2 -2
- package/dist/cdn/{HTQZJJEM.js → F2J5Y7E5.js} +2 -2
- package/dist/cdn/{3ESNVIEB.js → F3X2BLQJ.js} +2 -2
- package/dist/cdn/{3DP6J6SC.js → F4DJRFSB.js} +2 -2
- package/dist/cdn/{LC5YWKYI.js → F7WITYQU.js} +2 -2
- package/dist/cdn/{D2D6LOXR.js → FMHPOGCM.js} +2 -2
- package/dist/cdn/{FN5TEXTV.js → FQ5JTH4I.js} +2 -2
- package/dist/cdn/{7OBM63GA.js → FSBIFQHD.js} +2 -2
- package/dist/cdn/G5JN5E37.js +4 -0
- package/dist/cdn/{4SUKTZKA.js → GIVVHLJ5.js} +2 -2
- package/dist/cdn/{I7PT6FAK.js → GPQOLN4J.js} +2 -2
- package/dist/cdn/{LRHUNYT4.js → GRCGJF6L.js} +1 -1
- package/dist/cdn/{H5ZIGMRI.js → H542B5JM.js} +2 -2
- package/dist/cdn/{CEMJF7BH.js → H6ETAJI7.js} +2 -2
- package/dist/cdn/{RS5NTHM5.js → HAAZRTY4.js} +2 -2
- package/dist/cdn/{IWEWW7UF.js → HCXLUG62.js} +2 -2
- package/dist/cdn/{CFCFOBMC.js → HGZ2ZRG2.js} +1 -1
- package/dist/cdn/HID27YYE.js +4 -0
- package/dist/cdn/{JAF5EPQU.js → HNMWLQ4P.js} +2 -2
- package/dist/cdn/{PE6DCA3I.js → HP47KQIL.js} +2 -2
- package/dist/cdn/{O3VY75AJ.js → HQMCVYLV.js} +2 -2
- package/dist/cdn/{7A2GAI5N.js → HQR4DBRY.js} +2 -2
- package/dist/cdn/{GENZOKN4.js → HZZSNBS3.js} +2 -2
- package/dist/cdn/{CSQ523GB.js → I65GKBFK.js} +2 -2
- package/dist/cdn/{XERQENM5.js → IH7CEDCW.js} +2 -2
- package/dist/cdn/{7IUINEVK.js → IHNKHDTN.js} +1 -1
- package/dist/cdn/{DKKUIANX.js → IINUYE7O.js} +2 -2
- package/dist/cdn/{BHYARFEL.js → IMRODQTR.js} +2 -2
- package/dist/cdn/{GHQ2LWYD.js → ISDGBZLI.js} +2 -2
- package/dist/cdn/{KT5QSDM6.js → ISGD7DRK.js} +2 -2
- package/dist/cdn/{H26QSL2F.js → IV5W2LR4.js} +2 -2
- package/dist/cdn/{5LXBRQII.js → J57JECBB.js} +2 -2
- package/dist/cdn/{7PCMY7XC.js → JDRWWKDW.js} +2 -2
- package/dist/cdn/{5CPJFSLZ.js → JGJJH7WF.js} +2 -2
- package/dist/cdn/{JZZFN7NR.js → JOMS47IX.js} +2 -2
- package/dist/cdn/{SR5UXEZC.js → JSM2S2QS.js} +2 -2
- package/dist/cdn/{7QIWEWJB.js → JYGCMVNR.js} +2 -2
- package/dist/cdn/{EIALH5ZV.js → K2VGV4UZ.js} +2 -2
- package/dist/cdn/{VAMROQTR.js → K3SJYM4F.js} +2 -2
- package/dist/cdn/{IFRGKORC.js → KAWZEU6O.js} +2 -2
- package/dist/cdn/{XWKDDYMN.js → KFM7WUAQ.js} +2 -2
- package/dist/cdn/{VJYZRK5U.js → KL7DRDW2.js} +2 -2
- package/dist/cdn/{GZUKF6LK.js → KNCDLA4E.js} +1 -1
- package/dist/cdn/{TZRDOWBK.js → KRV3SETB.js} +2 -2
- package/dist/cdn/{VBY2NOFA.js → KSDOE35B.js} +2 -2
- package/dist/cdn/{6FXEWTKM.js → KW7ESGLJ.js} +2 -2
- package/dist/cdn/{3VMVU5ES.js → KWZCQ3VD.js} +1 -1
- package/dist/cdn/{2QOWYA3F.js → KXEMWZO6.js} +2 -2
- package/dist/cdn/{U7FY3Z6J.js → L4ISV5RK.js} +2 -2
- package/dist/cdn/{HAYNJTAQ.js → L6CX44Z5.js} +2 -2
- package/dist/cdn/{VMTU5ZOX.js → LA6STTUP.js} +2 -2
- package/dist/cdn/{4HKALJ2Y.js → LCECO72T.js} +2 -2
- package/dist/cdn/{ZI26RSTF.js → LCQZYUYU.js} +2 -2
- package/dist/cdn/{IWDPSGBA.js → LDHWWP3O.js} +2 -2
- package/dist/cdn/{CBL5BRM4.js → LLCIDIID.js} +1 -1
- package/dist/cdn/{DRZSEY3Y.js → LQRRCB3C.js} +2 -2
- package/dist/cdn/{ATJKU5BO.js → LR47QHYS.js} +2 -2
- package/dist/cdn/{52A772AY.js → LVIZMINF.js} +2 -2
- package/dist/cdn/{SPOPBX7Y.js → LXPHCBM5.js} +2 -2
- package/dist/cdn/{6ILUF2CQ.js → LXS2AJEK.js} +2 -2
- package/dist/cdn/{FFEVHA54.js → LYFNBASL.js} +2 -2
- package/dist/cdn/{XTFZE4SM.js → M26MNGCL.js} +2 -2
- package/dist/cdn/{D5SL3VGO.js → M5WEVKK2.js} +2 -2
- package/dist/cdn/{HV2KHWHT.js → M7ITS5EC.js} +1 -1
- package/dist/cdn/{Y7SNFI2C.js → M7TM6DL5.js} +2 -2
- package/dist/cdn/{GY2OYI5D.js → MBKEEFO3.js} +2 -2
- package/dist/cdn/{VE32BTAF.js → MEW36LMS.js} +2 -2
- package/dist/cdn/{VU2XZBBH.js → MTAFSOZF.js} +1 -1
- package/dist/cdn/{2UT3AL6J.js → MZ3C3PLC.js} +2 -2
- package/dist/cdn/{5NQ4I5W6.js → N2TNRWJF.js} +2 -2
- package/dist/cdn/{ECSLDMAC.js → NB2AKH3A.js} +2 -2
- package/dist/cdn/NCNFBZEY.js +4 -0
- package/dist/cdn/{3E6JVCKB.js → NJS2CKEO.js} +2 -2
- package/dist/cdn/{37KIAMAS.js → NKM5PHRC.js} +2 -2
- package/dist/cdn/{VF6PQLYK.js → NNZZATKY.js} +1 -1
- package/dist/cdn/{ES7XNROT.js → NQ4ICIBR.js} +1 -1
- package/dist/cdn/{2VCCQVWV.js → NWZYZHBH.js} +2 -2
- package/dist/cdn/{6VZMPYJ5.js → NZC7ZEDD.js} +2 -2
- package/dist/cdn/{QJN75MNZ.js → OHOSKCFF.js} +2 -2
- package/dist/cdn/{P4YH3X65.js → OOS7Q5BR.js} +2 -2
- package/dist/cdn/{MNM5B3BF.js → OPSLTU2D.js} +2 -2
- package/dist/cdn/{C2K7AWBU.js → ORS7WW2L.js} +2 -2
- package/dist/cdn/{CRB7SEY5.js → OXLCWOZZ.js} +1 -1
- package/dist/cdn/{ABDLISXN.js → OZM5FWRV.js} +2 -2
- package/dist/cdn/{DNOKW6XD.js → PHD2JCWF.js} +2 -2
- package/dist/cdn/{D2CS6GXR.js → PLHROWIR.js} +2 -2
- package/dist/cdn/{Q3GBSDXK.js → POKUL5TH.js} +2 -2
- package/dist/cdn/{XWKRLPXO.js → PRAQJCBD.js} +1 -1
- package/dist/cdn/{S2GW652B.js → PWEVKIZK.js} +2 -2
- package/dist/cdn/{EBFJLUNN.js → Q56UGEXW.js} +2 -2
- package/dist/cdn/{ZINXGQGV.js → Q5NAOGAD.js} +2 -2
- package/dist/cdn/{UP5YHHVX.js → QH2NM2LV.js} +2 -2
- package/dist/cdn/{3NED4V6X.js → QNCDHG6M.js} +2 -2
- package/dist/cdn/{XQVIBAF5.js → QSLPNYME.js} +2 -2
- package/dist/cdn/{BWGBAWCO.js → QUD76AE3.js} +2 -2
- package/dist/cdn/{POJSHOPU.js → QXSB5XMK.js} +2 -2
- package/dist/cdn/{HEHIUXMR.js → QY23GFSQ.js} +2 -2
- package/dist/cdn/{PYUTAJEA.js → QY45MM6H.js} +2 -2
- package/dist/cdn/{SOFUJZ3D.js → QZX4UFCY.js} +2 -2
- package/dist/cdn/{QC676X4G.js → R53AHPX5.js} +2 -2
- package/dist/cdn/{L5MOZJ5R.js → R6NTO3Q6.js} +2 -2
- package/dist/cdn/{XSOOFRYI.js → RFHDRFGS.js} +2 -2
- package/dist/cdn/RFWDAEX2.js +4 -0
- package/dist/cdn/{2UHWYM2M.js → RGCRUPHX.js} +2 -2
- package/dist/cdn/{M2NFJOZG.js → RHGYSJQA.js} +2 -2
- package/dist/cdn/{7AIFCSOJ.js → RVHAU3CH.js} +2 -2
- package/dist/cdn/{THF2NVYP.js → RWFF5YID.js} +2 -2
- package/dist/cdn/{N4S5NMAT.js → RWRLALYY.js} +1 -1
- package/dist/cdn/{HE7IB5CL.js → S4TXVKLA.js} +2 -2
- package/dist/cdn/{5MIHZEX3.js → SAR7MN33.js} +2 -2
- package/dist/cdn/{PKS5R7VU.js → SAZR5JKX.js} +2 -2
- package/dist/cdn/{EA4H4V5U.js → SDRAN3OH.js} +2 -2
- package/dist/cdn/{ROFI6I4A.js → SG7ASNOB.js} +2 -2
- package/dist/cdn/{L5F2YIGY.js → SH3K2KFX.js} +2 -2
- package/dist/cdn/{RYGBJCL4.js → SIQSKU2H.js} +2 -2
- package/dist/cdn/{23G7VEHG.js → SJTUSB4R.js} +2 -2
- package/dist/cdn/{Z3ETJYGZ.js → SZFRG5K6.js} +2 -2
- package/dist/cdn/TALVCF4P.js +4 -0
- package/dist/cdn/{IXAJVNIU.js → THS6LBCN.js} +2 -2
- package/dist/cdn/{H2Y4QRE4.js → TMHRPUNK.js} +2 -2
- package/dist/cdn/{HLR6HDY3.js → TN5EFH2C.js} +2 -2
- package/dist/cdn/{NYPC4U7K.js → TOKE63N3.js} +2 -2
- package/dist/cdn/TQMRSAFA.js +4 -0
- package/dist/cdn/{CXKG6USO.js → TUAWE5EN.js} +2 -2
- package/dist/cdn/{OEUC2E3S.js → TUCFY7YQ.js} +2 -2
- package/dist/cdn/{IZRJGJNT.js → TUHWQGYN.js} +1 -1
- package/dist/cdn/{7LDUAT3S.js → TV65JGDX.js} +2 -2
- package/dist/cdn/{RXIT5QD4.js → U4GLVCNY.js} +2 -2
- package/dist/cdn/{JNRXLD2Y.js → UHUD34X4.js} +2 -2
- package/dist/cdn/{VPKBHDHE.js → URYZV6SO.js} +2 -2
- package/dist/cdn/{B3MVDBCA.js → UUR3FD45.js} +2 -2
- package/dist/cdn/UWKI6HOQ.js +4 -0
- package/dist/cdn/{J3HD5HLJ.js → UWWBX26U.js} +2 -2
- package/dist/cdn/{FFI6SWY5.js → V22D7OG6.js} +2 -2
- package/dist/cdn/{UTZH2TFS.js → V25OBM3C.js} +2 -2
- package/dist/cdn/{P2XVKHCW.js → VBK4PPCQ.js} +2 -2
- package/dist/cdn/{NKVVPNTL.js → VCDZZS27.js} +2 -2
- package/dist/cdn/{PY5JDU7J.js → VEQOPFAV.js} +2 -2
- package/dist/cdn/{HHG6ZUPU.js → VG3BBGRI.js} +2 -2
- package/dist/cdn/{UDOVYXDG.js → VG7H22YB.js} +2 -2
- package/dist/cdn/{KB3K57TU.js → VNTYBTCD.js} +1 -1
- package/dist/cdn/{V6HVZYGZ.js → W2CO36SV.js} +1 -1
- package/dist/cdn/{DTYJWPW7.js → W56TSBOM.js} +2 -2
- package/dist/cdn/{3XYELSRJ.js → WDA64WDT.js} +1 -1
- package/dist/cdn/{LXIJ7KVU.js → WLKBA7CG.js} +4 -4
- package/dist/cdn/{CWOST2RQ.js → WPNPWQ6R.js} +2 -2
- package/dist/cdn/{W2Y6LTHF.js → WZJ3BDMJ.js} +2 -2
- package/dist/cdn/{EBDJ264L.js → XBKSHO76.js} +1 -1
- package/dist/cdn/{26NBJVZZ.js → XEIWNXWX.js} +2 -2
- package/dist/cdn/{VFDF4ROS.js → XGOYCHBF.js} +2 -2
- package/dist/cdn/{5BWL4IEJ.js → XPAOEXYI.js} +2 -2
- package/dist/cdn/{HOAV4OHX.js → XXG6OZIV.js} +2 -2
- package/dist/cdn/{MDUIQHWP.js → XY2CJESI.js} +2 -2
- package/dist/cdn/{4J4QSJMN.js → XZGQVKSJ.js} +2 -2
- package/dist/cdn/YCQOF3LL.js +18 -0
- package/dist/cdn/{ADFGB7AN.js → YEMJYN23.js} +2 -2
- package/dist/cdn/{TLTMGAYX.js → YGZJNXB4.js} +2 -2
- package/dist/cdn/{VUYPJKBN.js → YKBIMKAF.js} +2 -2
- package/dist/cdn/{SUKCP66T.js → YOSKFWVD.js} +1 -1
- package/dist/cdn/{KF2WMPDA.js → YT5XHWKF.js} +2 -2
- package/dist/cdn/{TIVYTH2C.js → Z5DFQP25.js} +2 -2
- package/dist/cdn/{GCOLAVO7.js → ZA5OWP4Z.js} +2 -2
- package/dist/cdn/{N2LEHUCQ.js → ZCGJANKZ.js} +1 -1
- package/dist/cdn/{36EB3CRX.js → ZE3BYAS5.js} +2 -2
- package/dist/cdn/{CVVU4KAG.js → ZRXETQUW.js} +2 -2
- package/dist/cdn/{LULN4KJC.js → ZSUMA456.js} +2 -2
- package/dist/cdn/{E4RSRTQZ.js → ZXH6RGBE.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.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +78 -63
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -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 +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-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 +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/DYBKB6PO.js +0 -4
- package/dist/cdn/E3NCXYSH.js +0 -4
- package/dist/cdn/NO6N7UTU.js +0 -4
- package/dist/cdn/OPRTPHCU.js +0 -18
- package/dist/cdn/PTQK2QE7.js +0 -4
- package/dist/cdn/SYPORCKB.js +0 -4
- package/dist/cdn/TSHKTCVE.js +0 -4
- package/dist/cdn/VQGFPSVK.js +0 -4
- package/dist/cdn/XFEJTNUZ.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as h}from"./2VM7OA5E.js";import{a as n,b as o}from"./37XXJM5S.js";import{b as i}from"./HGZ2ZRG2.js";import{a as r,c as t,d as l,e as d,f as p}from"./72374WTO.js";import"./OXLCWOZZ.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};
|
@@ -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.20250603 */
|
4
|
+
import{a as P}from"./NNZZATKY.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"./OOS7Q5BR.js";import{b as o,h as _}from"./5GKR6FQH.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 e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./366RGXYU.js";import{a as r}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d 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 g}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as g}from"./QXSB5XMK.js";import{D as u,G as s,I as p,c as l,d as c,q as h}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var b=l`@layer{/** @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"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import"./OXLCWOZZ.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l 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.20250603 */
|
4
4
|
function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}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{g as c}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{g as c}from"./6VGQW5MK.js";import{a as o}from"./4HXEQA7V.js";import{a as n}from"./BDT7Z5VR.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
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.20250603 */
|
4
|
+
import{a as h}from"./CC4YYOYD.js";import{a as x}from"./5756YADX.js";import{e as v}from"./EG6MMGUU.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./3FNKOWZ6.js";import"./HGZ2ZRG2.js";import{a as _,c as s,d as C,e as b}from"./72374WTO.js";import"./OXLCWOZZ.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
|
@@ -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 x}from"./TOK7WOLO.js";import{a as I}from"./WX6QLUGO.js";import{a as d}from"./JQTYVN4M.js";import{b as p,d as v,e as M}from"./UKPXEI5B.js";import{a as y}from"./3PVQNJZD.js";import{a as k,e as R,f as A,g as E}from"./RB2AS75H.js";import{a as U}from"./WA77C3F4.js";import{a as c}from"./VV57DRLT.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as x}from"./4ZO64GTY.js";import{a as I}from"./4VW6QB4P.js";import{a as d}from"./6GZFUPXS.js";import{b as p,d as v,e as M}from"./6VGQW5MK.js";import{a as y}from"./3QLFODAB.js";import{a as k,e as R,f as A,g as E}from"./3AUAAUJV.js";import{a as U}from"./3J7INGHN.js";import{a as c}from"./4HXEQA7V.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
@@ -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 v}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as v}from"./PRAQJCBD.js";import{a as y}from"./CNKJYGTH.js";import{a as p}from"./KSDOE35B.js";import{a as d}from"./GPQOLN4J.js";import{a as E}from"./SIQSKU2H.js";import{a as s}from"./CTIVVKPV.js";import{a as n}from"./R6NTO3Q6.js";import{a}from"./NB2AKH3A.js";import{a as l}from"./OHOSKCFF.js";import{a as e}from"./6Y7X5HKR.js";import{a as r}from"./AQYHVXUQ.js";import{a as t}from"./BEOJ6WGN.js";import{a as i}from"./TUCFY7YQ.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
|
@@ -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{D as d,I as h,c as n,d as s,g as c,o as l,q as o}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{D as d,I as h,c as n,d as s,g as c,o as l,q as o}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var p=n`@layer{/** @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{e as o}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{e as o}from"./EG6MMGUU.js";import"./3FNKOWZ6.js";import"./HGZ2ZRG2.js";import{a as l,c as i,d,e as h}from"./72374WTO.js";import"./OXLCWOZZ.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
|
@@ -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.20250603 */
|
4
|
+
import{a as n}from"./AIJ5IYXI.js";import{a as s}from"./BZDTBACE.js";import"./6VGQW5MK.js";import"./DUMZWQHJ.js";import"./3QLFODAB.js";import"./A6HBKPQC.js";import{a as r,b as i}from"./4CFJ2SMT.js";import"./75V45OM3.js";import"./3AUAAUJV.js";import{a as o}from"./H542B5JM.js";import{a}from"./THS6LBCN.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import"./4HXEQA7V.js";import"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{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"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d 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 n}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as n}from"./ZCGJANKZ.js";import{a as o}from"./KRV3SETB.js";import"./PHD2JCWF.js";import{a as m}from"./BZDTBACE.js";import"./6VGQW5MK.js";import"./DUMZWQHJ.js";import"./3QLFODAB.js";import"./A6HBKPQC.js";import{a as s}from"./H542B5JM.js";import{a as i}from"./THS6LBCN.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import"./4HXEQA7V.js";import{b as r}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,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 i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k 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 r,t as s,u as i,y as o}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{g as r,t as s,u as i,y as o}from"./YOSKFWVD.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c 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,b}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a,b}from"./SIQSKU2H.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";export{a as ContentEditorTypes,b as ContentSchema};
|
@@ -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 m}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as m}from"./YEMJYN23.js";function p(r){if(typeof r=="string")return r.replace(/\/sharing\/rest\/?$/,"");if(typeof r=="object"){let t=r.portalSelf||r,{portalHostname:e,urlKey:s,customBaseUrl:n}=t;if(e||s&&n)return t.isPortal?`https://${t.portalHostname}`:`https://${t.urlKey}.${t.customBaseUrl}`}return p(m(r))}function U(r,o){return`${p(o)}/home/item.html?id=${r}`}function h(r,o){let t=p(o),e;/(devext|mapsdevext)\.arcgis\.com/.test(t)?e="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(t)?e="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(t)?e="https://hubcdn.arcgis.com/opendata-ui/assets":e=`${t}/apps/sites`;let s=r.startsWith("/")?"":"/";return[e,r].join(s)}function S(r){let{host:o,path:t,query:e}=r,s=o.endsWith("/")?o:`${o}/`,n=new URL(t,s);return n.search=l(e),n.toString()}function l(r={}){let o=Object.keys(r).filter(t=>r[t]!==void 0).reduce((t,e)=>(t[e]=r[e],t),{});return new URLSearchParams(o).toString()}function i(r){return`${p(r)}/sharing/rest`}var A=(r,o,t)=>{let{id:e,access:s}=r,n=`${i(o)}/content/items/${e}`,a=new URLSearchParams({f:"json"});return s!=="public"&&t&&a.append("token",t),`${n}?${a.toString()}`};var f=/\/(map|feature)server/i,E=r=>f.test(r);export{S as a,p as b,i as c,U as d,A as e,h as f,E as g};
|
@@ -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,c as R,d as g,e as u}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as O,c as R,d as g,e as u}from"./XPAOEXYI.js";import{a}from"./XBKSHO76.js";import"./QUD76AE3.js";import"./GRCGJF6L.js";import{c as s,e as o,f as c}from"./4VW6QB4P.js";import"./6GZFUPXS.js";import"./6VGQW5MK.js";import"./DUMZWQHJ.js";import"./3QLFODAB.js";import"./A6HBKPQC.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import{c as r}from"./VNTYBTCD.js";import"./OXLCWOZZ.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
|
@@ -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 e}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{b as e}from"./RWRLALYY.js";import{a as r}from"./A24PAMGW.js";import{a as t}from"./M7ITS5EC.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
|