@esri/solutions-components 1.0.0-next.20250530.1 → 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/{FHVWZYRK.js → 2A4GEMAW.js} +2 -2
- package/dist/cdn/{JM6ORLVQ.js → 2FAWIR6P.js} +2 -2
- package/dist/cdn/{CMOLOAHQ.js → 2UN6IWSF.js} +2 -2
- package/dist/cdn/{472AWOX3.js → 2VM7OA5E.js} +1 -1
- package/dist/cdn/{3EVL4T45.js → 2ZA57CGC.js} +2 -2
- package/dist/cdn/{UZC6O522.js → 33FSCQFR.js} +2 -2
- package/dist/cdn/{MYGSYGYU.js → 33K737QJ.js} +2 -2
- package/dist/cdn/{223GEOHY.js → 366RGXYU.js} +2 -2
- package/dist/cdn/{BEBIPBJB.js → 37XXJM5S.js} +1 -1
- package/dist/cdn/{6ZIUZPW6.js → 3AUAAUJV.js} +2 -2
- package/dist/cdn/{XHQDXY4H.js → 3CMDAXPK.js} +2 -2
- package/dist/cdn/3FBV55H2.js +18 -0
- package/dist/cdn/{PHA5TYOC.js → 3FNKOWZ6.js} +1 -1
- package/dist/cdn/{2T7OWYJF.js → 3J7INGHN.js} +1 -1
- package/dist/cdn/{I5YXI6G2.js → 3MFVOQAG.js} +2 -2
- package/dist/cdn/{XZBB2UEX.js → 3QLFODAB.js} +1 -1
- package/dist/cdn/{7D7PABFH.js → 44H7S4RI.js} +2 -2
- package/dist/cdn/{VHCT5ETZ.js → 4A3IVB2K.js} +1 -1
- package/dist/cdn/{5LMXTWC2.js → 4CFJ2SMT.js} +2 -2
- package/dist/cdn/{H77B36RA.js → 4FJS36XM.js} +2 -2
- package/dist/cdn/{USUJ3LC6.js → 4GDXQTTJ.js} +2 -2
- package/dist/cdn/{2JM5ZUYC.js → 4GVXF3RJ.js} +2 -2
- package/dist/cdn/{ILUBVWJF.js → 4HXEQA7V.js} +1 -1
- package/dist/cdn/{YY23O533.js → 4N7K4EPV.js} +1 -1
- package/dist/cdn/{HCVBMJG5.js → 4N7Y4SLD.js} +2 -2
- package/dist/cdn/{5T6A2NT3.js → 4NEYX376.js} +2 -2
- package/dist/cdn/{2ED5S63G.js → 4VW6QB4P.js} +2 -2
- package/dist/cdn/{7P23QXUP.js → 4ZO64GTY.js} +2 -2
- package/dist/cdn/{KCN6JCXH.js → 52AYXYEN.js} +2 -2
- package/dist/cdn/{HQ4JF5OI.js → 5756YADX.js} +2 -2
- package/dist/cdn/{JAG5YFJB.js → 57BGJBOO.js} +2 -2
- package/dist/cdn/{6KYFPVWD.js → 5GKR6FQH.js} +1 -1
- package/dist/cdn/{2C2446YO.js → 5JNNNRPL.js} +2 -2
- package/dist/cdn/{P6B7MWVF.js → 5JUK3RD2.js} +2 -2
- package/dist/cdn/{EUKMNMGH.js → 5L7SETEA.js} +2 -2
- package/dist/cdn/{5A7G5CA4.js → 5PURYCNE.js} +2 -2
- package/dist/cdn/{UWYX3KLQ.js → 5PY2QCXV.js} +2 -2
- package/dist/cdn/{Z42LHLHR.js → 5PZG4WZ2.js} +1 -1
- package/dist/cdn/{XLMYFJTK.js → 5U3O5R7Y.js} +2 -2
- package/dist/cdn/{FPPXUL5B.js → 5UT6LXX2.js} +2 -2
- package/dist/cdn/{DZSY5JZN.js → 5X5QWLK4.js} +2 -2
- package/dist/cdn/{CH5PRHPR.js → 5ZXK637K.js} +2 -2
- package/dist/cdn/{AAQNZMHM.js → 625KI7RI.js} +2 -2
- package/dist/cdn/{U5GNKKAT.js → 6BNB663M.js} +2 -2
- package/dist/cdn/{PND2W5YW.js → 6EAMLBZU.js} +2 -2
- package/dist/cdn/{EL4X5ULJ.js → 6GMUYDHZ.js} +2 -2
- package/dist/cdn/{RVQUWOMM.js → 6GZFUPXS.js} +1 -1
- package/dist/cdn/{CTUHVTSA.js → 6LE4JC6W.js} +2 -2
- package/dist/cdn/{UY5WXQ65.js → 6O7FQOIX.js} +1 -1
- package/dist/cdn/{YMHHSIXK.js → 6R5LTHVO.js} +2 -2
- package/dist/cdn/{QF5QELVM.js → 6VGQW5MK.js} +2 -2
- package/dist/cdn/{6BYYEA3R.js → 6VSNZOZV.js} +2 -2
- package/dist/cdn/{I5VSPGGJ.js → 6Y7X5HKR.js} +2 -2
- package/dist/cdn/{5DFDVK6H.js → 72374WTO.js} +2 -2
- package/dist/cdn/{RSMTUN7I.js → 74JXQPXY.js} +2 -2
- package/dist/cdn/{CQFA3WBO.js → 75V45OM3.js} +2 -2
- package/dist/cdn/{VPRU3HQD.js → 7UK3LDOL.js} +2 -2
- package/dist/cdn/{GE3L6RLR.js → 7UUANWXQ.js} +2 -2
- package/dist/cdn/{C34H6SGK.js → 7XDQ6QJZ.js} +1 -1
- package/dist/cdn/{HYIN2EAD.js → A24PAMGW.js} +2 -2
- package/dist/cdn/{6M5LLBFV.js → A6BPCOYC.js} +2 -2
- package/dist/cdn/{2B4ODL4I.js → A6HBKPQC.js} +1 -1
- package/dist/cdn/{HQW4WYSH.js → A6LXL735.js} +2 -2
- package/dist/cdn/{MWA7BHLK.js → ABLJTPNB.js} +2 -2
- package/dist/cdn/{ZFWMGQUB.js → AEWLEC5R.js} +2 -2
- package/dist/cdn/{LATOYW5P.js → AIJ5IYXI.js} +1 -1
- package/dist/cdn/{RY37AQKX.js → AMYCKO4M.js} +2 -2
- package/dist/cdn/{KQCFHFAG.js → APRZLZCN.js} +2 -2
- package/dist/cdn/{XCCD5RBC.js → APZSVZBW.js} +2 -2
- package/dist/cdn/{YR5E3HFV.js → AQYHVXUQ.js} +2 -2
- package/dist/cdn/{V3NJ7RMG.js → ARGDR2B4.js} +1 -1
- package/dist/cdn/{R7OODGTN.js → ASKMOKLW.js} +2 -2
- package/dist/cdn/{O5IG7QMW.js → ATDAOWND.js} +2 -2
- package/dist/cdn/{7PDUKDDV.js → AV45F7BZ.js} +2 -2
- package/dist/cdn/AXFC7FMV.js +18 -0
- package/dist/cdn/{FDZTWT7F.js → BA6IXACI.js} +2 -2
- package/dist/cdn/{SGGIVA63.js → BDT7Z5VR.js} +1 -1
- package/dist/cdn/{EK4MS2HQ.js → BEOJ6WGN.js} +2 -2
- package/dist/cdn/{NNRPVDMT.js → BGXUK5SF.js} +2 -2
- package/dist/cdn/{VKCASX3G.js → BKUY276R.js} +2 -2
- package/dist/cdn/{GWV77TVF.js → BQTXWTTW.js} +2 -2
- package/dist/cdn/{5S33W4IV.js → BTBLSPFB.js} +2 -2
- package/dist/cdn/{JTDXHRQI.js → BTV6ZEWW.js} +2 -2
- package/dist/cdn/{3GNSS25V.js → BUVWZH45.js} +2 -2
- package/dist/cdn/{AX3FGYBT.js → BZDTBACE.js} +2 -2
- package/dist/cdn/BZJZ6IXS.js +18 -0
- package/dist/cdn/{MDHH56JU.js → C57X3EHF.js} +2 -2
- package/dist/cdn/{QSCPIFBP.js → C7LCT6L6.js} +2 -2
- package/dist/cdn/{TTJLCKXQ.js → CC4YYOYD.js} +2 -2
- package/dist/cdn/{Z3QNUQDB.js → CGOBCP3P.js} +2 -2
- package/dist/cdn/{VN7EOIEM.js → CI4LQLVW.js} +2 -2
- package/dist/cdn/{NTHWDWQ4.js → CNKJYGTH.js} +2 -2
- package/dist/cdn/{CCKIOTSJ.js → CSZGFTFE.js} +1 -1
- package/dist/cdn/{M6XUGB2Z.js → CTIVVKPV.js} +2 -2
- package/dist/cdn/{JFKJRB56.js → DBDPNXPQ.js} +2 -2
- package/dist/cdn/{F3IRPQCO.js → DBR5OOXL.js} +2 -2
- package/dist/cdn/{HITNOOU3.js → DFKIBEIZ.js} +2 -2
- package/dist/cdn/{QU3EEVJP.js → DHYY26PS.js} +2 -2
- package/dist/cdn/{OVK3TD4M.js → DLY245BW.js} +2 -2
- package/dist/cdn/{YB3XRPJ5.js → DPWTZQFE.js} +2 -2
- package/dist/cdn/{6DT74H27.js → DTXUMQ6N.js} +2 -2
- package/dist/cdn/{GJKEPLSZ.js → DUMZWQHJ.js} +1 -1
- package/dist/cdn/{XZEDAG2T.js → DWO237TU.js} +2 -2
- package/dist/cdn/{UZ7Z2JVT.js → E7CHZ6T4.js} +1 -1
- package/dist/cdn/{QMT7LNSC.js → EG6MMGUU.js} +2 -2
- package/dist/cdn/{SAQTFWRS.js → EHLYUUVS.js} +2 -2
- package/dist/cdn/EN7UO6LR.js +4 -0
- package/dist/cdn/{24TZCC7K.js → ET6AHSSP.js} +2 -2
- package/dist/cdn/{H3O4ORNM.js → EUPMJ7XB.js} +2 -2
- package/dist/cdn/{73DTRGE3.js → EXON27GM.js} +2 -2
- package/dist/cdn/{TIPFSDZA.js → F2J5Y7E5.js} +2 -2
- package/dist/cdn/{BGVLMLWE.js → F3X2BLQJ.js} +2 -2
- package/dist/cdn/{TWSV65O2.js → F4DJRFSB.js} +2 -2
- package/dist/cdn/{ORPALJYI.js → F7WITYQU.js} +2 -2
- package/dist/cdn/{YUAPYYIK.js → FMHPOGCM.js} +2 -2
- package/dist/cdn/{VF44ZDU6.js → FQ5JTH4I.js} +2 -2
- package/dist/cdn/{RRKWVYF6.js → FSBIFQHD.js} +2 -2
- package/dist/cdn/G5JN5E37.js +4 -0
- package/dist/cdn/{ON477UD5.js → GIVVHLJ5.js} +2 -2
- package/dist/cdn/{SGUBT5JB.js → GPQOLN4J.js} +2 -2
- package/dist/cdn/{VE4I5REF.js → GRCGJF6L.js} +1 -1
- package/dist/cdn/{OPHPZAWR.js → H542B5JM.js} +2 -2
- package/dist/cdn/{FZXH5UDA.js → H6ETAJI7.js} +2 -2
- package/dist/cdn/{TQM2UAMN.js → HAAZRTY4.js} +2 -2
- package/dist/cdn/{D6EOKX53.js → HCXLUG62.js} +2 -2
- package/dist/cdn/{WSDY2CHI.js → HGZ2ZRG2.js} +1 -1
- package/dist/cdn/HID27YYE.js +4 -0
- package/dist/cdn/{A5KMT3LM.js → HNMWLQ4P.js} +2 -2
- package/dist/cdn/{MHOAA6P3.js → HP47KQIL.js} +2 -2
- package/dist/cdn/{CBQHTAYP.js → HQMCVYLV.js} +2 -2
- package/dist/cdn/{OSW5BFUP.js → HQR4DBRY.js} +2 -2
- package/dist/cdn/{GDZS5JMN.js → HZZSNBS3.js} +2 -2
- package/dist/cdn/{EXXZSWW2.js → I65GKBFK.js} +2 -2
- package/dist/cdn/{3VKOIUB3.js → IH7CEDCW.js} +2 -2
- package/dist/cdn/{LWP7WX74.js → IHNKHDTN.js} +1 -1
- package/dist/cdn/{UE3MOFNO.js → IINUYE7O.js} +2 -2
- package/dist/cdn/{JQEVQ7FX.js → IMRODQTR.js} +2 -2
- package/dist/cdn/{P4QZUNYY.js → ISDGBZLI.js} +2 -2
- package/dist/cdn/{MNA6JCMZ.js → ISGD7DRK.js} +2 -2
- package/dist/cdn/{AFD4RBBU.js → IV5W2LR4.js} +2 -2
- package/dist/cdn/{64FZOXAN.js → J57JECBB.js} +2 -2
- package/dist/cdn/{BD737FGF.js → JDRWWKDW.js} +2 -2
- package/dist/cdn/{VMWRKCHU.js → JGJJH7WF.js} +2 -2
- package/dist/cdn/{WBJLCNZG.js → JOMS47IX.js} +2 -2
- package/dist/cdn/{7CR6HYTL.js → JSM2S2QS.js} +2 -2
- package/dist/cdn/{GJWN4WP3.js → JYGCMVNR.js} +2 -2
- package/dist/cdn/{EMCOKOZ5.js → K2VGV4UZ.js} +2 -2
- package/dist/cdn/{DRGQGDS6.js → K3SJYM4F.js} +2 -2
- package/dist/cdn/{O2HIRP5H.js → KAWZEU6O.js} +2 -2
- package/dist/cdn/{OPPO4362.js → KFM7WUAQ.js} +2 -2
- package/dist/cdn/{NEMP2EEG.js → KL7DRDW2.js} +2 -2
- package/dist/cdn/{QCU33RPV.js → KNCDLA4E.js} +1 -1
- package/dist/cdn/{RC47QK6Z.js → KRV3SETB.js} +2 -2
- package/dist/cdn/{HMGYITJ2.js → KSDOE35B.js} +2 -2
- package/dist/cdn/{7TZWE6K3.js → KW7ESGLJ.js} +2 -2
- package/dist/cdn/{QUVQBXCE.js → KWZCQ3VD.js} +1 -1
- package/dist/cdn/{WAQJ4IC3.js → KXEMWZO6.js} +2 -2
- package/dist/cdn/{L4KM5BWJ.js → L4ISV5RK.js} +2 -2
- package/dist/cdn/{T2TH26PQ.js → L6CX44Z5.js} +2 -2
- package/dist/cdn/LA6STTUP.js +18 -0
- package/dist/cdn/{YUQ2VNA6.js → LCECO72T.js} +2 -2
- package/dist/cdn/{NTASDALK.js → LCQZYUYU.js} +2 -2
- package/dist/cdn/{4TE3RTYX.js → LDHWWP3O.js} +2 -2
- package/dist/cdn/{ES6XKTKK.js → LLCIDIID.js} +1 -1
- package/dist/cdn/{OF5XRF7X.js → LQRRCB3C.js} +2 -2
- package/dist/cdn/{F7SKZ7TX.js → LR47QHYS.js} +2 -2
- package/dist/cdn/{6FUII4JI.js → LVIZMINF.js} +2 -2
- package/dist/cdn/{VVQFUKSX.js → LXPHCBM5.js} +2 -2
- package/dist/cdn/{RCFE6H7G.js → LXS2AJEK.js} +2 -2
- package/dist/cdn/{EDTDPGLP.js → LYFNBASL.js} +2 -2
- package/dist/cdn/{VFHITJHF.js → M26MNGCL.js} +2 -2
- package/dist/cdn/{55EBYUZN.js → M5WEVKK2.js} +2 -2
- package/dist/cdn/{C556IKNJ.js → M7ITS5EC.js} +1 -1
- package/dist/cdn/{V2CTNIEN.js → M7TM6DL5.js} +2 -2
- package/dist/cdn/{PDWNCQED.js → MBKEEFO3.js} +2 -2
- package/dist/cdn/{7LTABIRE.js → MEW36LMS.js} +2 -2
- package/dist/cdn/{77VHGJGG.js → MTAFSOZF.js} +1 -1
- package/dist/cdn/{F45IOLFK.js → MZ3C3PLC.js} +2 -2
- package/dist/cdn/{AOPVDS2B.js → N2TNRWJF.js} +2 -2
- package/dist/cdn/{CPBYDRAF.js → NB2AKH3A.js} +2 -2
- package/dist/cdn/NCNFBZEY.js +4 -0
- package/dist/cdn/{MCM7XWTF.js → NJS2CKEO.js} +2 -2
- package/dist/cdn/{X6MD346Y.js → NKM5PHRC.js} +2 -2
- package/dist/cdn/{NIXMWDPM.js → NNZZATKY.js} +1 -1
- package/dist/cdn/{DA5DY7HY.js → NQ4ICIBR.js} +1 -1
- package/dist/cdn/{GMHH44W3.js → NWZYZHBH.js} +2 -2
- package/dist/cdn/{UCRJGUPR.js → NZC7ZEDD.js} +2 -2
- package/dist/cdn/{UQ6BMBWB.js → OHOSKCFF.js} +2 -2
- package/dist/cdn/{C3P3IFUU.js → OOS7Q5BR.js} +2 -2
- package/dist/cdn/{VZJ4LWYJ.js → OPSLTU2D.js} +2 -2
- package/dist/cdn/{MKROWF52.js → ORS7WW2L.js} +2 -2
- package/dist/cdn/{GZU2CPZN.js → OXLCWOZZ.js} +1 -1
- package/dist/cdn/{3J33WXHY.js → OZM5FWRV.js} +2 -2
- package/dist/cdn/{NBHU4HTV.js → PHD2JCWF.js} +2 -2
- package/dist/cdn/{JSIYTPMP.js → PLHROWIR.js} +2 -2
- package/dist/cdn/{W6GET7ZB.js → POKUL5TH.js} +2 -2
- package/dist/cdn/{IDBD7LSX.js → PRAQJCBD.js} +1 -1
- package/dist/cdn/{BMXZA6UO.js → PWEVKIZK.js} +2 -2
- package/dist/cdn/{O5STABPN.js → Q56UGEXW.js} +3 -3
- package/dist/cdn/{45VAALBN.js → Q5NAOGAD.js} +2 -2
- package/dist/cdn/{2TFAMRO4.js → QH2NM2LV.js} +2 -2
- package/dist/cdn/{HAQYF5US.js → QNCDHG6M.js} +2 -2
- package/dist/cdn/{QEWSNHU7.js → QSLPNYME.js} +2 -2
- package/dist/cdn/{T4BAASGD.js → QUD76AE3.js} +2 -2
- package/dist/cdn/{TP3QX5HT.js → QXSB5XMK.js} +2 -2
- package/dist/cdn/QY23GFSQ.js +18 -0
- package/dist/cdn/{GUTIVTWX.js → QY45MM6H.js} +2 -2
- package/dist/cdn/{6XR6SHED.js → QZX4UFCY.js} +2 -2
- package/dist/cdn/{OONRY2LS.js → R53AHPX5.js} +2 -2
- package/dist/cdn/{7NWNTAMW.js → R6NTO3Q6.js} +2 -2
- package/dist/cdn/{ZXPEMYN2.js → RFHDRFGS.js} +2 -2
- package/dist/cdn/RFWDAEX2.js +4 -0
- package/dist/cdn/{I5SZYEIS.js → RGCRUPHX.js} +2 -2
- package/dist/cdn/{KLKHZZWM.js → RHGYSJQA.js} +2 -2
- package/dist/cdn/{F56VXVXX.js → RVHAU3CH.js} +2 -2
- package/dist/cdn/{JKNNOYXC.js → RWFF5YID.js} +2 -2
- package/dist/cdn/{BV76MPA5.js → RWRLALYY.js} +1 -1
- package/dist/cdn/{NNQEWRZP.js → S4TXVKLA.js} +2 -2
- package/dist/cdn/{SLLAIEW4.js → SAR7MN33.js} +2 -2
- package/dist/cdn/{CCBFE5GN.js → SAZR5JKX.js} +2 -2
- package/dist/cdn/{JI5ZRG7H.js → SDRAN3OH.js} +2 -2
- package/dist/cdn/{VGOCUCWJ.js → SG7ASNOB.js} +2 -2
- package/dist/cdn/{W6QIPNCT.js → SH3K2KFX.js} +2 -2
- package/dist/cdn/{CXJ53YNZ.js → SIQSKU2H.js} +2 -2
- package/dist/cdn/{WS4WNRNQ.js → SJTUSB4R.js} +2 -2
- package/dist/cdn/{YF65GC7S.js → SZFRG5K6.js} +2 -2
- package/dist/cdn/TALVCF4P.js +4 -0
- package/dist/cdn/{UFW2PO2K.js → THS6LBCN.js} +2 -2
- package/dist/cdn/{BOKYBROP.js → TMHRPUNK.js} +2 -2
- package/dist/cdn/{DV3SVW2J.js → TN5EFH2C.js} +2 -2
- package/dist/cdn/{MVQ6IP26.js → TOKE63N3.js} +2 -2
- package/dist/cdn/TQMRSAFA.js +4 -0
- package/dist/cdn/{N33BUUYD.js → TUAWE5EN.js} +2 -2
- package/dist/cdn/{RX6Y3JHB.js → TUCFY7YQ.js} +2 -2
- package/dist/cdn/{3YMTKEK5.js → TUHWQGYN.js} +1 -1
- package/dist/cdn/{46KNGUML.js → TV65JGDX.js} +2 -2
- package/dist/cdn/{ZKX2RDI2.js → U4GLVCNY.js} +2 -2
- package/dist/cdn/{NUFMCKHA.js → UHUD34X4.js} +2 -2
- package/dist/cdn/{IRHPLBFA.js → URYZV6SO.js} +2 -2
- package/dist/cdn/{J3RU5GJE.js → UUR3FD45.js} +2 -2
- package/dist/cdn/UWKI6HOQ.js +4 -0
- package/dist/cdn/{2ZIEEWZM.js → UWWBX26U.js} +2 -2
- package/dist/cdn/{LSMRI35A.js → V22D7OG6.js} +2 -2
- package/dist/cdn/{KK5SXYNF.js → V25OBM3C.js} +2 -2
- package/dist/cdn/{BVIFPMNY.js → VBK4PPCQ.js} +2 -2
- package/dist/cdn/{RHQK4LTS.js → VCDZZS27.js} +2 -2
- package/dist/cdn/{EJS4EUMP.js → VEQOPFAV.js} +2 -2
- package/dist/cdn/{FNI2QU5Z.js → VG3BBGRI.js} +2 -2
- package/dist/cdn/{NLJSCFKM.js → VG7H22YB.js} +2 -2
- package/dist/cdn/{GV3IWFPF.js → VNTYBTCD.js} +1 -1
- package/dist/cdn/{4NUVQZAI.js → W2CO36SV.js} +1 -1
- package/dist/cdn/{WSUH3PG3.js → W56TSBOM.js} +2 -2
- package/dist/cdn/{XVDOUKNJ.js → WDA64WDT.js} +1 -1
- package/dist/cdn/{Y52LUZET.js → WLKBA7CG.js} +4 -4
- package/dist/cdn/{RWFMDK27.js → WPNPWQ6R.js} +2 -2
- package/dist/cdn/{VLHN4DFG.js → WZJ3BDMJ.js} +2 -2
- package/dist/cdn/{NS4YKFI7.js → XBKSHO76.js} +1 -1
- package/dist/cdn/{JN5YR3C5.js → XEIWNXWX.js} +2 -2
- package/dist/cdn/{7BQXCVHW.js → XGOYCHBF.js} +2 -2
- package/dist/cdn/{KXIA4444.js → XPAOEXYI.js} +2 -2
- package/dist/cdn/{DIYKH756.js → XXG6OZIV.js} +2 -2
- package/dist/cdn/{WQSGEAXH.js → XY2CJESI.js} +2 -2
- package/dist/cdn/{K7LCWOS7.js → XZGQVKSJ.js} +2 -2
- package/dist/cdn/YCQOF3LL.js +18 -0
- package/dist/cdn/{OWDWZHMV.js → YEMJYN23.js} +2 -2
- package/dist/cdn/{4J4NUK33.js → YGZJNXB4.js} +2 -2
- package/dist/cdn/{DTXY6OOO.js → YKBIMKAF.js} +2 -2
- package/dist/cdn/{RTFLMETG.js → YOSKFWVD.js} +1 -1
- package/dist/cdn/{FAND47WD.js → YT5XHWKF.js} +2 -2
- package/dist/cdn/{I5QBLE4N.js → Z5DFQP25.js} +2 -2
- package/dist/cdn/{P5R5UYXR.js → ZA5OWP4Z.js} +2 -2
- package/dist/cdn/{DP5KDHDS.js → ZCGJANKZ.js} +1 -1
- package/dist/cdn/{WO34BPRA.js → ZE3BYAS5.js} +2 -2
- package/dist/cdn/{YO2OX52L.js → ZRXETQUW.js} +2 -2
- package/dist/cdn/{VIJEHZLK.js → ZSUMA456.js} +2 -2
- package/dist/cdn/{MLZ4RTHG.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.d.ts +6 -0
- package/dist/components/edit-card/customElement.js +21 -27
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +78 -63
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +21 -18
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +2 -0
- package/dist/components/layer-table/customElement.js +106 -80
- package/dist/components/map-card/customElement.js +34 -31
- package/dist/components/map-card/index.d.ts +3 -1
- package/dist/components/map-card/index.js +3 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +18 -15
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +2 -2
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +46 -1
- package/dist/docs/docs.json +43 -1
- package/dist/docs/vscode.html-custom-data.json +6 -1
- package/dist/docs/web-types.json +25 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cdn/2AEJNC2Y.js +0 -4
- package/dist/cdn/2BATVN26.js +0 -18
- package/dist/cdn/2N6IKQAJ.js +0 -4
- package/dist/cdn/6Z5XKLIH.js +0 -4
- package/dist/cdn/CZCNKDL6.js +0 -4
- package/dist/cdn/DVMPKT5N.js +0 -4
- package/dist/cdn/GH3PRS32.js +0 -18
- package/dist/cdn/GXKAH7DD.js +0 -18
- package/dist/cdn/HTW2BPA3.js +0 -18
- package/dist/cdn/IDRORHF7.js +0 -18
- package/dist/cdn/L2QQ7XWU.js +0 -4
- package/dist/cdn/N3A5PMYA.js +0 -4
- package/dist/cdn/PRILEYGG.js +0 -4
- package/dist/cdn/UWFHS56N.js +0 -18
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as P}from"./QMT7LNSC.js";import{A as C,C as R,D as L,d as k,e as y}from"./PHA5TYOC.js";import"./WSDY2CHI.js";import{a as S,c as e,d as E,e as $}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{e as P}from"./EG6MMGUU.js";import{A as C,C as R,D as L,d as k,e as y}from"./3FNKOWZ6.js";import"./HGZ2ZRG2.js";import{a as S,c as e,d as E,e as $}from"./72374WTO.js";import"./OXLCWOZZ.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as o,b as s,c as i,d as p}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as o,b as s,c as i,d as p}from"./JYGCMVNR.js";import{c as r}from"./7XDQ6QJZ.js";import{a as e}from"./BGXUK5SF.js";import{b as t}from"./BDT7Z5VR.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250603 */
|
4
4
|
var e={"hub:initiative:events":!1,"hub:initiative:content":!0,"hub:initiative:discussions":!1},i=["hub:initiative","hub:initiative:create","hub:initiative:delete","hub:initiative:edit","hub:initiative:view","hub:initiative:owner","hub:initiative:canChangeAccess","hub:initiative:events","hub:initiative:content","hub:initiative:discussions","hub:initiative:workspace","hub:initiative:workspace:overview","hub:initiative:workspace:dashboard","hub:initiative:workspace:details","hub:initiative:workspace:metrics","hub:initiative:workspace:projects","hub:initiative:workspace:projects:member","hub:initiative:workspace:projects:manager","hub:initiative:workspace:settings","hub:initiative:workspace:collaborators","hub:initiative:workspace:content","hub:initiative:workspace:events","hub:initiative:workspace:metrics","hub:initiative:workspace:catalogs","hub:initiative:workspace:catalog","hub:initiative:workspace:catalog:content","hub:initiative:workspace:catalog:events","hub:initiative:workspace:associationGroup:create","hub:initiative:manage"],t=[{permission:"hub:initiative",services:["portal"],licenses:["hub-premium"]},{permission:"hub:initiative:create",dependencies:["hub:initiative"],authenticated:!0,privileges:["portal:user:createItem"]},{permission:"hub:initiative:view",services:["portal"],authenticated:!1,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:owner",dependencies:["hub:initiative"],authenticated:!0,entityOwner:!0},{permission:"hub:initiative:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:delete",dependencies:["hub:initiative"],authenticated:!0,entityDelete:!0},{permission:"hub:initiative:canChangeAccess",dependencies:["hub:initiative"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:initiative:events",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:content",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:discussions",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:workspace",dependencies:["hub:feature:workspace"]},{permission:"hub:initiative:workspace:overview",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:dashboard",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:details",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects:member",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-member",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:projects:manager",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-admin",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:settings",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:collaborators",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:content",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:events",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalogs",dependencies:["hub:initiative:workspace","hub:feature:catalogs","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog:content",dependencies:["hub:initiative:workspace:catalog"]},{permission:"hub:initiative:workspace:catalog:events",dependencies:["hub:initiative:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:initiative:manage",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:workspace:associationGroup:create",dependencies:["hub:initiative:workspace:projects","hub:group:create"]}];var r={"hub:project:events":!1,"hub:project:content":!0,"hub:project:discussions":!1},a=["hub:project","hub:project:create","hub:project:delete","hub:project:edit","hub:project:view","hub:project:owner","hub:project:canChangeAccess","hub:project:events","hub:project:content","hub:project:discussions","hub:project:associations","hub:project:workspace","hub:project:workspace:overview","hub:project:workspace:dashboard","hub:project:workspace:details","hub:project:workspace:initiatives","hub:project:workspace:settings","hub:project:workspace:collaborators","hub:project:workspace:content","hub:project:workspace:events","hub:project:workspace:metrics","hub:project:workspace:catalog","hub:project:workspace:catalog:content","hub:project:workspace:catalog:events","hub:project:manage"],n=[{permission:"hub:project",services:["portal"],licenses:["hub-premium"]},{permission:"hub:project:create",authenticated:!0,dependencies:["hub:project"],privileges:["portal:user:createItem"]},{permission:"hub:project:view",services:["portal"]},{permission:"hub:project:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:project:delete",dependencies:["hub:project"],authenticated:!0,entityDelete:!0},{permission:"hub:project:owner",dependencies:["hub:project"],authenticated:!0,entityOwner:!0},{permission:"hub:project:canChangeAccess",dependencies:["hub:project"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:project:events",dependencies:["hub:project:view"],entityConfigurable:!0},{permission:"hub:project:content",dependencies:["hub:project:edit"]},{permission:"hub:project:discussions",dependencies:["hub:project:view"]},{permission:"hub:project:associations",dependencies:["hub:project:view"]},{permission:"hub:project:workspace"},{permission:"hub:project:workspace:overview",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:dashboard",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:details",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:initiatives",dependencies:["hub:project:workspace","hub:project:associations","hub:project:edit"]},{permission:"hub:project:workspace:settings",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:collaborators",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:content",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:events",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:metrics",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog:content",dependencies:["hub:project:workspace:catalog"]},{permission:"hub:project:workspace:catalog:events",dependencies:["hub:project:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:project:manage",dependencies:["hub:project:edit"]}];export{e as a,i as b,t as c,r as d,a as e,n 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{g as c,s as $,t as d,u as f,v as A}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{g as c,s as $,t as d,u as f,v as A}from"./YOSKFWVD.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as l}from"./QXSB5XMK.js";import{D as o,E as c,G as r,I as n,c as s,d as e}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var h=s`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,5 +1,5 @@
|
|
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 B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
|
5
5
|
`),s.slottedSelectors.forEach(a=>{let c=new RegExp(B(a.orgSelector),"g");e=e.replace(c,a.updatedSelector)}),e};export{ue as scopeCss};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as v}from"./HZZSNBS3.js";import"./WLKBA7CG.js";import"./OOS7Q5BR.js";import"./4ZO64GTY.js";import"./3QLFODAB.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import"./5PZG4WZ2.js";import"./TUHWQGYN.js";import{b}from"./CSZGFTFE.js";import{a as m}from"./QXSB5XMK.js";import{D as g,E as i,F as f,I as w,c as p,d as s,g as u,o,q as _}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var E=p`@layer{/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/:host{display:block;--calcite-label-margin-bottom: 0}.padding-1-2{padding:.5rem}.display-none{display:none!important}.display-flex{display:flex}.position-absolute{position:absolute;inset:0;overflow:auto}.feature-node{position:relative!important}.feature-node .esri-features__footer{display:none!important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:.5rem!important;background-color:var(--calcite-color-foreground-1)!important;height:100%!important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:700}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}}`,h=class extends g{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=[],this.isLoading=!1,this.isMobile=!1,this.allowEditing=!1,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._isMultipleEdits=!1,this._mobileTitle="",this._showListView=!1,this._translations=m({name:"info-card",blocking:!0}),this._navigatedToRelatedFeature=!1,this._editEnabled=!1,this._featuresNodeId=`features-node${new Date().getMilliseconds().toString()}`,this.popupClosed=o(),this.clearSelection=o(),this.selectionChanged=o(),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"refreshGraphics",this.refreshGraphics),this.listenOn(window,"editMultipleFeatures",this.editMultipleFeatures)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphics:0,isLoading:5,isMobile:5,mapView:0,allowEditing:5,highlightEnabled:5,paginationEnabled:5,position:1,showCloseBtn:5,_alertOpen:16,_count:16,_editRecordOpen:16,_isMultipleEdits:16,_mobileTitle:16,_showListView:16,_translations:16,_navigatedToRelatedFeature:16}}static{this.styles=E}static{this.shadowRootOptions=_}willUpdate(e){if(e.has("graphics")&&this.graphicsWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_translations")){let t=this._translations._lang,a=e.get("_translations")?._lang;if(t&&a&&t!==a&&this._features){let l=[...this.graphics];this.graphics=[],this.graphics=l}}}async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features?.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features?.previous(),this._count=this._getCount()}async next(){this._features?.next(),this._count=this._getCount()}async toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}async updateCurrentGraphic(e){this._features?.selectedFeatureWidget&&console.log(e)}async closeEdit(){this._editRecordOpen=!1,this._isMultipleEdits=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(e){this._navigatedToRelatedFeature||(this.graphics=[...e.detail])}async editMultipleFeatures(e){this._isMultipleEdits=!0,this._openEditRecord()}async load(){await this._initModules(),this._popupUtils=new v}async loaded(){this.graphics?.length>0&&await this.setGraphics()}render(){let e=this.isLoading?"":"display-none",t=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",l=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",r=this._features?.features&&this._features.features.length<2||this._navigatedToRelatedFeature,d=Number(this._features?.selectedFeature?.getObjectId()),y=Number.isNaN(d)?[]:[d],c=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,$=this._relatedFeature?[this._relatedFeature]:this.graphics,F=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex,n=this.isMobile?"display-none":"";return s`<calcite-shell class="z-index-1" style=${f({position:this.position})}>${this._getHeader()}<calcite-loader class=${i(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${i("esri-widget feature-node "+t)} id=${this._featuresNodeId??u}></div><div class=${`${l} width-100`} slot=footer>${this.allowEditing?s`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${()=>this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile&&c?s`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${y} .layer=${this._layer} @editsComplete=${()=>this._closePopup()}></delete-button>`:void 0}<calcite-tooltip class=${i(n)} placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile&&c?s`<calcite-tooltip class=${i(n)} placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>`:void 0}</div>`:""}${this.paginationEnabled&&!r&&s`<div class=${"display-flex padding-1-2 button-container top-border"}><div><calcite-button appearance=transparent .disabled=${r} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${()=>this._back()} width=full></calcite-button><calcite-tooltip class=${i(n)} placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action class="pagination-action" icon-flip-rtl @click=${()=>this._toggleListView()} scale=s text text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${r} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._next()} width=full></calcite-button><calcite-tooltip class=${i(n)} placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`||""}</div><edit-card .allowMultipleEditing=${this._isMultipleEdits} class=${i(a)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${F} .graphics=${$} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert icon=layer-broken kind=warning label @calciteAlertClose=${()=>this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`}async _initModules(){let[e,t]=await b(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=e,this.reactiveUtils=t}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=!!(this._layer.editingEnabled&&this._layer.capabilities?.operations.supportsUpdate),this._mobileTitle=this.mapView?.map&&await this._popupUtils?.getPopupTitle(this.graphics[0],this.mapView.map)||"",this._features?.open({features:this.graphics})):(this._features?.clear(),this._features?.close()),this._count=this._getCount()}async _initFeaturesWidget(){return this.isMobile!==void 0?await this.mapView?.when(()=>{if(this._features)this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!!this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile;else if(this._features=this.Features&&new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features){this._features.viewModel.highlightEnabled=!!this.highlightEnabled,this.reactiveUtils?.watch(()=>(this._features?.viewModel).featureMenuOpen,t=>{this._updateCount(),t||(this._showListView=t)}),this.reactiveUtils?.watch(()=>this._features?.selectedFeatureIndex,t=>{t!==void 0&&t>-1&&this._features?.selectedFeature&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})}),this.reactiveUtils?.watch(()=>this._features.selectedDrillInFeature,t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=void 0,this._navigatedToRelatedFeature=!1)});let e=this.el.querySelector("#"+this._featuresNodeId);this.listenOn(e,"calciteFlowItemClose",()=>{this.clearSelection.emit()})}}):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s`<calcite-panel class="border-width-0" slot=header><calcite-action class="end-border" icon=chevron-left icon-flip-rtl @click=${()=>this._closePopup()} scale=s slot=header-actions-start text></calcite-action><span class="font-bold" slot=header-content>${this._mobileTitle}</span></calcite-panel>`:void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}async _back(){this._features?.previous(),await this._updateCount()}async _next(){this._features?.next(),await this._updateCount()}async _updateCount(){let e=this._features?.selectedFeatureIndex;this._popupUtils&&this.mapView&&this.mapView.map&&e!==void 0&&(this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[e],this.mapView.map)),this._count=this._getCount()}_getCount(){let e=this._features?.viewModel&&(this._features?.viewModel.selectedFeatureIndex+1).toString()||"",t=this._features?.features?.length.toString()||"";return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)||""}_toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}};w("info-card",h);export{h as InfoCard};
|
@@ -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 t}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as t}from"./6GZFUPXS.js";import{a}from"./KRV3SETB.js";import{b as o}from"./VNTYBTCD.js";var m=async(e,l,s)=>{let r={label:`{{${e}.sections.group.picker.facets.label:translate}}`,key:"groups",display:"single-select",operation:"OR",options:[{label:`{{${e}.sections.group.picker.facets.myGroups.label:translate}}`,key:"my-group",selected:!0,predicates:[{owner:s.currentUser.username,typekeywords:{not:t}}]},{label:`{{${e}.sections.group.picker.facets.myOrganization.label:translate}}`,key:"my-organization",selected:!1,predicates:[{orgid:s.currentUser.orgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}]};return s.communityOrgId&&r.options.push({label:`{{${e}.sections.group.picker.facets.myCommunity.label:translate}}`,key:"my-community",selected:!1,predicates:[{orgid:s.communityOrgId,searchUserAccess:"groupMember",searchUserName:s.currentUser.username,typekeywords:{not:t}}]}),{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{headerTag:"h3"},elements:[{labelKey:`${e}.fields.name.label`,type:"Control",scope:"/properties/name",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.channelNameRequiredError`,allowShowBeforeInteract:!0}]}}]},{type:"Section",labelKey:`${e}.sections.settings.label`,options:{headerTag:"h3"},elements:[{type:"Control",scope:"/properties/allowAsAnonymous",labelKey:`${e}.fields.allowAsAnonymous.label`,options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.allowAsAnonymous.helperText`}}},{type:"Control",scope:"/properties/blockWords",label:"Blocked words",labelKey:`${e}.fields.blockWords.label`,options:{control:"hub-field-input-input",type:"textarea",helperText:{labelKey:`${e}.fields.blockWords.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.blockWords.formatError`}]}}]},{type:"Section",labelKey:`${e}.sections.permissions.label`,options:{headerTag:"h3"},elements:[{type:"Section",labelKey:`${e}.sections.public.label`,options:{headerTag:"h4"},elements:[{type:"Control",scope:"/properties/publicConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"anonymous",description:`{{${e}.fields.public.anonymous.description:translate}}`,label:`{{${e}.fields.public.anonymous.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`]},{roleType:"authenticated",description:`{{${e}.fields.public.authenticated.description:translate}}`,label:`{{${e}.fields.public.authenticated.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.organization.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/orgConfigs",options:{control:"hub-field-permissions",roles:[{roleType:"member",description:`{{${e}.fields.organization.member.description:translate}}`,label:`{{${e}.fields.organization.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.organization.admin.description:translate}}`,label:`{{${e}.fields.organization.admin.label:translate}}`,disabled:!0,permissionLabels:[`{{${e}.sections.permissions.options.owner:translate}}`]}]}}]},{type:"Section",labelKey:`${e}.sections.group.label`,options:{headerTag:"h4",variant:"variant-layout-editor"},elements:[{type:"Control",scope:"/properties/groupConfigs",options:{control:"hub-field-permissions",actions:[{label:`{{${e}.sections.group.picker.button:translate}}`,type:"add",options:{label:`{{${e}.sections.group.picker.title:translate}}`,entityType:"group",catalogs:[a(e,"allGroups","group",{user:s.currentUser})],facets:[r],defaultValues:{member:o,admin:o}}},{ariaLabel:`{{${e}.sections.group.remove.button:translate}}`,buttonStyle:"outline",buttonKind:"neutral",type:"remove",icon:"x"}],roles:[{roleType:"member",description:`{{${e}.fields.group.member.description:translate}}`,label:`{{${e}.fields.group.member.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`]},{roleType:"admin",description:`{{${e}.fields.group.admin.description:translate}}`,label:`{{${e}.fields.group.admin.label:translate}}`,permissionLabels:[`{{${e}.sections.permissions.options.noAccess:translate}}`,`{{${e}.sections.permissions.options.view:translate}}`,`{{${e}.sections.permissions.options.participate:translate}}`,`{{${e}.sections.permissions.options.manage:translate}}`]}]}}]}]}]}};export{m as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250603 */
|
4
4
|
var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r,b as s,c as a,d as n}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as r,b as s,c as a,d as n}from"./JYGCMVNR.js";import{c as e}from"./7XDQ6QJZ.js";import{a as i}from"./BGXUK5SF.js";import{b as t}from"./BDT7Z5VR.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{c as t}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{c as t}from"./BDT7Z5VR.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./M7ITS5EC.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
@@ -1,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 d}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as d}from"./5756YADX.js";import{d as g}from"./EG6MMGUU.js";var p;(function(t){t.User="user",t.Translation="translation"})(p||(p={}));var f;(function(t){t.String="string",t.TextEditor="textEditor"})(f||(f={}));var m;(function(t){t.ExpandCollapse="list-merge",t.SettingIndicator="list-button",t.Popover="information",t.Expanded="chevron-down",t.Collapsed="chevron-right",t.Copy="copy-to-clipboard",t.DefaultIcon="language",t.Title="title",t.Subtitle="subheading",t.Text="text",t.Description="description",t.Button="button",t.String="string"})(m||(m={}));var c;(function(t){t.Light="calcite-mode-light",t.Dark="calcite-mode-dark"})(c||(c={}));var S=`
|
5
5
|
.instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
|
6
6
|
margin-left: 30px !important;
|
7
7
|
}
|
@@ -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{b as m,c as h}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{b as m,c as h}from"./WLKBA7CG.js";import"./OOS7Q5BR.js";import"./4ZO64GTY.js";import"./3QLFODAB.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import"./5PZG4WZ2.js";import"./TUHWQGYN.js";import{a as b,b as g}from"./ASKMOKLW.js";import{b as d}from"./CSZGFTFE.js";import{a as c}from"./QXSB5XMK.js";import{D as o,I as p,c as n,d as r}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a,b}from"./CTIVVKPV.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";export{a as TemplateEditorTypes,b as TemplateSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as r}from"./QXSB5XMK.js";import{D as o,I as n,c as t,d as i,q as s}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var a=t`@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{b as p,v as m}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{b as p,v as m}from"./V22D7OG6.js";import"./CC4YYOYD.js";import"./5756YADX.js";import{e as g}from"./EG6MMGUU.js";import{c as o,t as c,u as d,y as l,z as h}from"./3FNKOWZ6.js";import"./HGZ2ZRG2.js";import{a as v,c as r,e as f,h as w}from"./72374WTO.js";import"./OXLCWOZZ.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
|
@@ -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{f as a}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{f as a}from"./6VGQW5MK.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{e as w}from"./JOMS47IX.js";import"./5GKR6FQH.js";import"./TUHWQGYN.js";import{a as p,b as g}from"./ASKMOKLW.js";import{b as m}from"./CSZGFTFE.js";import{a as _}from"./QXSB5XMK.js";import{D as l,E as n,I as c,c as h,d as o,o as s,q as d}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var u=h`@layer{/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/:host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0}.padding-sides-bottom-1{padding:0 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative!important;width:100%!important;background-color:var(--calcite-color-foreground-1)!important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1)!important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.position-absolute{position:absolute;inset:0;overflow:auto}.esri-editor__panel-content{padding-block:10px!important}}`,r=class extends l{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=[],this.open=!1,this.allowMultipleEditing=!1,this._editorLoading=!1,this._translations=_({name:"edit-card",blocking:!0}),this._editContainer=p(),this._editControlElements=[],this._editingDisabled="",this._shouldClose=!1,this.closeEdit=s(),this.editorInitialized=s(),this.editsComplete=s(),this.refreshGraphics=s(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphicIndex:9,graphics:0,mapView:0,open:5,allowMultipleEditing:5,_editorLoading:16,_translations:16}}static{this.styles=u}static{this.shadowRootOptions=d}async graphicsWatchHandler(){this.graphics.length===0&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async mapChanged(){this.open&&await this._closeEdit(!1)}async load(){await this._initModules()}willUpdate(t){t.has("graphics")&&this.graphicsWatchHandler(),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openWatchHandler(this.open),this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove())}render(){let t=this.graphics?.length>0&&this.graphics[0]?!this.graphics[0].layer.editingEnabled:!0,e=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return o`<div class="position-absolute">${t?o`<calcite-notice kind=warning open slot=content-top width=full><div slot=message>${this._translations.enableEditing}</div></calcite-notice>`:void 0}<div class="position-absolute"><div class=${n(e)} id=feature-form ${g(this._editContainer)}></div><calcite-loader class=${n(a)} label scale=s></calcite-loader></div></div>`}async _initModules(){let[t,e]=await m(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();let t=document.createElement("div"),e=await w(this.mapView),a=this.enableSnapping&&this.enableEditGeometry,f=e.map(i=>({layer:i,geometryUpdatesEnabled:this.enableEditGeometry}));this._editor=this.Editor&&new this.Editor({view:this.mapView,layerInfos:f,visibleElements:{flow:!0,settingsMenu:a,sketch:!1,snappingControls:a},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils?.when(()=>this._editor?.viewModel.state==="adding-attachment"||this._editor?.viewModel.state==="editing-attachment"||this._editor?.viewModel.state==="creating-features",()=>{this._shouldClose=!1}),this._activeWorkflowHandle=this.reactiveUtils?.watch(()=>this._editor?.viewModel.activeWorkflow,i=>{(i?.type==="update"||i?.type==="create-features")&&(this._shouldClose=!1),(!i?.type&&!i?.hasPendingEdits&&!this._editor?.activeWorkflow||!this._editor?.activeWorkflow?.started)&&(this.allowMultipleEditing=!1,this.open=!1)}),this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,i=>{i==="ready"&&this.editsComplete.emit()}),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.value&&this._editContainer.value.appendChild(t),this._editor&&this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&((this.mapView?.ui.view).grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){this.allowMultipleEditing?await this._editor?.startUpdateFeaturesWorkflow(this.graphics):await this._editor?.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}};c("edit-card",r);export{r as EditCard};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as l}from"./QXSB5XMK.js";import{D as n,I as o,c as r,d as a,o as s}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var c=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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{f as C}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{f as C}from"./JOMS47IX.js";import"./5GKR6FQH.js";import"./TUHWQGYN.js";import{a as d,b as p}from"./ASKMOKLW.js";import{b}from"./CSZGFTFE.js";import{D as _,I as g,c as u,d as n,o as h,q as m}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var F=u`@layer{/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|
@@ -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 N}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{g as N}from"./3FNKOWZ6.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
|