@arcgis/map-components 4.34.0-next.41 → 4.34.0-next.43
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/{664AGPKD.js → 2EYUWUUM.js} +2 -2
- package/dist/cdn/{UBKHMNGJ.js → 2WMMOJJ7.js} +2 -2
- package/dist/cdn/{AFOZNJ4E.js → 2Z2FSU5K.js} +2 -2
- package/dist/cdn/{RARW7Z5H.js → 333JKRVK.js} +2 -2
- package/dist/cdn/{O2XNE7FL.js → 33CSN4OP.js} +2 -2
- package/dist/cdn/{Z65FIHDB.js → 3DQA4MQ5.js} +1 -1
- package/dist/cdn/{OH6KDHZC.js → 3GUKOBET.js} +2 -2
- package/dist/cdn/{EGLKANZ7.js → 3NVNMAPA.js} +2 -2
- package/dist/cdn/{AX5FGZME.js → 3O7BIF3L.js} +2 -2
- package/dist/cdn/{UKAGFOIP.js → 3R2D7NYR.js} +1 -1
- package/dist/cdn/{TDVNPKHB.js → 3R5I5OI3.js} +2 -2
- package/dist/cdn/{MQG4RXFK.js → 3VC74STV.js} +2 -2
- package/dist/cdn/{K4XH4BGG.js → 4KRJYRYZ.js} +2 -2
- package/dist/cdn/{LUNI6CJ7.js → 52RB4LUN.js} +2 -2
- package/dist/cdn/{QGHIRHF5.js → 54O65EJJ.js} +2 -2
- package/dist/cdn/{TPAQZIYW.js → 56QLTVQS.js} +2 -2
- package/dist/cdn/{VIBPWP3S.js → 57R7YYPB.js} +2 -2
- package/dist/cdn/{BBWMZC7D.js → 5CZB37V4.js} +2 -2
- package/dist/cdn/{RKHU3QFD.js → 5FCZR3SK.js} +2 -2
- package/dist/cdn/{NE3JRRA3.js → 5IPQJORL.js} +2 -2
- package/dist/cdn/{5T3XY7FC.js → 5K4BR37S.js} +2 -2
- package/dist/cdn/{Q2HWP2QP.js → 5TSFPYC3.js} +2 -2
- package/dist/cdn/{A3EXITBZ.js → 5WV7KYN4.js} +2 -2
- package/dist/cdn/{B2I4NJEE.js → 6A7L3OVF.js} +2 -2
- package/dist/cdn/{NMCB5AZ7.js → 6GXIPBY7.js} +2 -2
- package/dist/cdn/{75KKANDX.js → 6H4X3XGI.js} +2 -2
- package/dist/cdn/{QUAMQSS3.js → 6I6V3QDH.js} +2 -2
- package/dist/cdn/{R7KCK5G3.js → 6IUO42VB.js} +2 -2
- package/dist/cdn/{73YDCK2S.js → 6OJVRHKZ.js} +2 -2
- package/dist/cdn/{SW33NOJE.js → 6SM4V6LY.js} +2 -2
- package/dist/cdn/{LOFBOD63.js → 6SR4MJOB.js} +1 -1
- package/dist/cdn/{PCJ55Y5X.js → 6SYRC3VJ.js} +2 -2
- package/dist/cdn/{F7RMV6MY.js → 6VIVB6OD.js} +2 -2
- package/dist/cdn/{IW5RK467.js → 7266ZVL4.js} +2 -2
- package/dist/cdn/{Q65H2SUQ.js → 72QZ4FI2.js} +2 -2
- package/dist/cdn/{VJBEGEGY.js → 7CX2DAXN.js} +2 -2
- package/dist/cdn/{U2GBTPHJ.js → 7MWHPXLM.js} +2 -2
- package/dist/cdn/{TTGXE7VS.js → 7WYZYE37.js} +2 -2
- package/dist/cdn/A6OMQNXT.js +4 -0
- package/dist/cdn/{6WPSHYF2.js → AI2GB6VD.js} +2 -2
- package/dist/cdn/{NIHRUDKM.js → AJDNUA53.js} +2 -2
- package/dist/cdn/{TOGHIEGN.js → AJN3NP72.js} +1 -1
- package/dist/cdn/{WYYICMMI.js → AK5R3CT2.js} +2 -2
- package/dist/cdn/{OOERMGNR.js → ALPQXI5A.js} +2 -2
- package/dist/cdn/{LEH3VVWU.js → AMMYPJNH.js} +2 -2
- package/dist/cdn/{MXW4JAUN.js → AN5UUALO.js} +1 -1
- package/dist/cdn/{FUTUEVD3.js → AOPAGRFF.js} +2 -2
- package/dist/cdn/{4CAZ4YN6.js → AQCZKOVI.js} +2 -2
- package/dist/cdn/{X53GS5I3.js → B25O3XZK.js} +2 -2
- package/dist/cdn/{3X5WBNC5.js → B4474XZC.js} +2 -2
- package/dist/cdn/{ILP6YGEK.js → BI5DBPWA.js} +2 -2
- package/dist/cdn/{QOIVTH5D.js → BRFQGRWQ.js} +2 -2
- package/dist/cdn/{Z72YM6XT.js → BRZ6CFIK.js} +2 -2
- package/dist/cdn/{GKOPVJFH.js → C2BI4QMZ.js} +2 -2
- package/dist/cdn/{35ZIOQQU.js → C6MISLQE.js} +2 -2
- package/dist/cdn/{HVP5QW5F.js → C6VDMKIW.js} +2 -2
- package/dist/cdn/{PVFHHS23.js → CQUAIPTW.js} +2 -2
- package/dist/cdn/{XSW4AHOF.js → CWKC3YG4.js} +2 -2
- package/dist/cdn/{KDQB6MSO.js → CZATGIVP.js} +2 -2
- package/dist/cdn/{7LSGCSTQ.js → CZGFLXBN.js} +2 -2
- package/dist/cdn/{WN7GCWQ3.js → D2U6NUSK.js} +2 -2
- package/dist/cdn/{WWFEEACC.js → D75TOMHM.js} +2 -2
- package/dist/cdn/{B4YE5QY5.js → DDSZRFOR.js} +2 -2
- package/dist/cdn/{R35K5X4W.js → DLRWY4SL.js} +2 -2
- package/dist/cdn/{7JHFI5FS.js → DP2QXR5G.js} +2 -2
- package/dist/cdn/{JSXX3VJ6.js → DQYN2QRK.js} +2 -2
- package/dist/cdn/{X7W62SF6.js → DS4ROOFL.js} +2 -2
- package/dist/cdn/{FUSBYL4L.js → DYLQS6WX.js} +2 -2
- package/dist/cdn/{ICMQSPY3.js → E2WFD2YU.js} +2 -2
- package/dist/cdn/{HAURYBJV.js → E6MO3CEY.js} +2 -2
- package/dist/cdn/{DZJ5LB3Q.js → EFFBYZ7C.js} +2 -2
- package/dist/cdn/{AZRQKR2P.js → EGP2DQG6.js} +2 -2
- package/dist/cdn/{UH2DOHHW.js → EGYPGGGO.js} +2 -2
- package/dist/cdn/{5FOZWVJH.js → EIC6N3ME.js} +2 -2
- package/dist/cdn/{7ER33GUI.js → EJNU2IOG.js} +2 -2
- package/dist/cdn/{WBBX5OYI.js → EQA2VV53.js} +2 -2
- package/dist/cdn/{2XWFBJVL.js → F6BWFM4Q.js} +2 -2
- package/dist/cdn/{3R3BNUDT.js → FEHCJNVA.js} +1 -1
- package/dist/cdn/{NQPSTS4Y.js → FY6F7HLQ.js} +2 -2
- package/dist/cdn/{3HZT6XVE.js → G7AXCVJ5.js} +2 -2
- package/dist/cdn/{4WTYINOC.js → GH5QAYXX.js} +1 -1
- package/dist/cdn/{DNZ4LRZH.js → GMHAE7AX.js} +2 -2
- package/dist/cdn/GS2VO7CK.js +4 -0
- package/dist/cdn/{AW7WB4DU.js → HB2VNAPN.js} +2 -2
- package/dist/cdn/{4LU4NHDW.js → HBJXRYMQ.js} +2 -2
- package/dist/cdn/{IK3CRJX4.js → HEYLOHBT.js} +2 -2
- package/dist/cdn/{DA2Y7T63.js → HJUIEKWG.js} +2 -2
- package/dist/cdn/{FD6BBDHF.js → HT3ZUC24.js} +2 -2
- package/dist/cdn/{3TXWS2ZG.js → IBHHO2GF.js} +2 -2
- package/dist/cdn/{GKCBGOTF.js → IC2KOGRI.js} +2 -2
- package/dist/cdn/{NRO7A7OH.js → IDM3WP5W.js} +2 -2
- package/dist/cdn/{GZXNA7M5.js → IK7UXCEP.js} +2 -2
- package/dist/cdn/{FJ3M47TG.js → IVKWOMT7.js} +2 -2
- package/dist/cdn/{3CMPSWM5.js → JC4XVA2U.js} +2 -2
- package/dist/cdn/{GASE4CKR.js → JFCADGOP.js} +2 -2
- package/dist/cdn/{NA5WRK7O.js → JHQTSVT2.js} +3 -3
- package/dist/cdn/{E4NSKGOI.js → JI3EVAIF.js} +2 -2
- package/dist/cdn/{YIHP4IHU.js → JTNX4IF4.js} +2 -2
- package/dist/cdn/{G33AS2KY.js → K4AEMN23.js} +2 -2
- package/dist/cdn/{P7UFLFS6.js → KBQMQHOO.js} +2 -2
- package/dist/cdn/{VM6K7KSN.js → KEHFEMU3.js} +2 -2
- package/dist/cdn/{IOE3MPKA.js → KTNI6HNE.js} +2 -2
- package/dist/cdn/{DA6DRPI5.js → KYUTCMJE.js} +2 -2
- package/dist/cdn/{DWHJOHXY.js → LIKQ6UBB.js} +2 -2
- package/dist/cdn/{MQG2Q7BI.js → LXLTRNJ2.js} +2 -2
- package/dist/cdn/{J6NTHOXW.js → LXXHRPXN.js} +2 -2
- package/dist/cdn/{3OYYII23.js → MEWOCDDX.js} +2 -2
- package/dist/cdn/{WBWFCEVU.js → MFVJWIGY.js} +2 -2
- package/dist/cdn/{SFHOV6OU.js → MIO3S7QI.js} +2 -2
- package/dist/cdn/{OGGNGPY4.js → MMKTBYBB.js} +2 -2
- package/dist/cdn/{JYLQHDC3.js → MU6GW7XU.js} +2 -2
- package/dist/cdn/{UVOZQLJR.js → MV36CQWP.js} +2 -2
- package/dist/cdn/{2UDXY4MN.js → N2XKJVCV.js} +1 -1
- package/dist/cdn/{ETVD7G6G.js → NBTLNIAJ.js} +2 -2
- package/dist/cdn/{5E7HRZM6.js → NPUBXZ2R.js} +2 -2
- package/dist/cdn/{GFCDQPJ5.js → NRD7MEII.js} +2 -2
- package/dist/cdn/{AOXBC6NA.js → NUH2PDTC.js} +2 -2
- package/dist/cdn/{XVGH4BB2.js → ODRD6KEL.js} +2 -2
- package/dist/cdn/{CIMZHST2.js → OIPMBX47.js} +2 -2
- package/dist/cdn/{QXYBUBL7.js → OL5TH5XF.js} +2 -2
- package/dist/cdn/{CHEI45BY.js → OZRX6X73.js} +2 -2
- package/dist/cdn/{IFMTECAC.js → P4QQFA5E.js} +2 -2
- package/dist/cdn/{ZWHVONCF.js → P5WRFGZV.js} +2 -2
- package/dist/cdn/{EBEMDNAY.js → P6WYBQN3.js} +2 -2
- package/dist/cdn/{I4TEOS2H.js → PBZXPNZH.js} +2 -2
- package/dist/cdn/{ZK7C7C2J.js → PDC6YR56.js} +2 -2
- package/dist/cdn/{D7TRQNWK.js → PJSB2TCG.js} +2 -2
- package/dist/cdn/{DPCVH67U.js → POL67IUP.js} +2 -2
- package/dist/cdn/{7MZT7NFP.js → PQ5BPCIS.js} +2 -2
- package/dist/cdn/{7VXGTDMK.js → Q55PSXXQ.js} +2 -2
- package/dist/cdn/{IE5A52FU.js → QH4N675W.js} +2 -2
- package/dist/cdn/{Q2DCIWAB.js → QI2RFVW7.js} +2 -2
- package/dist/cdn/{QHBAL3TU.js → QJHJYXY5.js} +2 -2
- package/dist/cdn/{JYVXGIJ3.js → QUMKQVNB.js} +1 -1
- package/dist/cdn/{ZQ2TTZKB.js → R77JFE7Z.js} +2 -2
- package/dist/cdn/{RNLVJZQW.js → RFC3GOWT.js} +2 -2
- package/dist/cdn/{L6KLOOFP.js → RGFIVFXO.js} +2 -2
- package/dist/cdn/{3INPB7QO.js → RIJTWL2S.js} +2 -2
- package/dist/cdn/{7CLQFHSR.js → RTAKA6BB.js} +2 -2
- package/dist/cdn/{4JVQSFLO.js → RTNVSZYL.js} +2 -2
- package/dist/cdn/{FQJX4D6Q.js → RYAZ64VZ.js} +2 -2
- package/dist/cdn/{QROQA7DH.js → SEUBLT7G.js} +1 -1
- package/dist/cdn/{NERILTZ7.js → SIKCMIHI.js} +2 -2
- package/dist/cdn/{G2G46TZD.js → SJGY6HEF.js} +2 -2
- package/dist/cdn/{KSWN2B4O.js → SJLWUETG.js} +2 -2
- package/dist/cdn/{5BU55WZU.js → SOGP2AJM.js} +2 -2
- package/dist/cdn/{6XJQPHV3.js → STB2BQQR.js} +2 -2
- package/dist/cdn/{5WN22XHI.js → T4TJWB3O.js} +2 -2
- package/dist/cdn/{T5RXZR4E.js → TD66IANI.js} +2 -2
- package/dist/cdn/{P2WA5TTX.js → TGN3Y5MC.js} +2 -2
- package/dist/cdn/{OPKXSYXW.js → TJCV6NQ2.js} +2 -2
- package/dist/cdn/{WJVJAIPU.js → TQRBHOAY.js} +2 -2
- package/dist/cdn/{OAEKUWIN.js → TX5QXZ23.js} +2 -2
- package/dist/cdn/TXCCT4A6.js +4 -0
- package/dist/cdn/{VUPEXRX7.js → U3ED2RGF.js} +2 -2
- package/dist/cdn/{6AJRKLLW.js → U43BCU7W.js} +2 -2
- package/dist/cdn/{H4IEDURF.js → U7TWBUTD.js} +2 -2
- package/dist/cdn/{72N4XQM2.js → UQ2COR6C.js} +2 -2
- package/dist/cdn/{U65LPYJK.js → UXCHZH54.js} +2 -2
- package/dist/cdn/{3EIK5WHG.js → UZUFXP3E.js} +2 -2
- package/dist/cdn/{FN2GYH2R.js → V7NVKQ43.js} +2 -2
- package/dist/cdn/{I3OP44VC.js → VFCHX3WN.js} +2 -2
- package/dist/cdn/{4ZLXB4ID.js → VVULJ22V.js} +2 -2
- package/dist/cdn/{IUHLHZ7V.js → W3KNGMF2.js} +2 -2
- package/dist/cdn/{ZE7F7KD2.js → WOXOS75X.js} +2 -2
- package/dist/cdn/{7YKFFIK7.js → WQRE4DNF.js} +2 -2
- package/dist/cdn/{MQWBAGUQ.js → WQYUKPLB.js} +2 -2
- package/dist/cdn/{IYOFUQUG.js → WUAEL5EG.js} +2 -2
- package/dist/cdn/{CNGKT2UO.js → X54QBRA6.js} +2 -2
- package/dist/cdn/{6DTA43I2.js → X6ADNIJ6.js} +2 -2
- package/dist/cdn/{NSMQAOLJ.js → X73WLPZW.js} +2 -2
- package/dist/cdn/{SARZYQFP.js → XDMWVKWH.js} +2 -2
- package/dist/cdn/{KPTSIZWZ.js → XMA7JT3N.js} +2 -2
- package/dist/cdn/{6EPWCQW3.js → XNSNHYBS.js} +2 -2
- package/dist/cdn/{I5PCQQGA.js → XWJRNZNR.js} +2 -2
- package/dist/cdn/{T2FZDDKK.js → YE3DCXUZ.js} +2 -2
- package/dist/cdn/{NF7PYZVJ.js → YJDIGPL4.js} +2 -2
- package/dist/cdn/{ONYSDVKX.js → YVQCLRWG.js} +2 -2
- package/dist/cdn/{4DO5HSJS.js → ZDQ4R57J.js} +2 -2
- package/dist/cdn/{CYAINZUB.js → ZFC5SPVX.js} +2 -2
- package/dist/cdn/{M5FIAZAD.js → ZSSEWREH.js} +2 -2
- package/dist/cdn/{YXY4GEES.js → ZVYHFRTV.js} +2 -2
- package/dist/cdn/{DJKGGXCW.js → ZZAHKLDJ.js} +1 -1
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +237 -83
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +15 -15
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +339 -72
- package/dist/docs/docs.json +279 -83
- package/dist/docs/vscode.html-custom-data.json +44 -6
- package/dist/docs/web-types.json +88 -36
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +3 -4
- package/dist/types/preact.d.ts +3 -4
- package/dist/types/react.d.ts +3 -4
- package/dist/types/stencil.d.ts +3 -4
- package/package.json +3 -3
- package/dist/cdn/2VR67Z3K.js +0 -4
- package/dist/cdn/HJ7BEQFG.js +0 -4
- package/dist/cdn/NTJILV6C.js +0 -4
|
@@ -1,33 +1,473 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as r } from "lit-html";
|
|
3
|
+
import { ref as $ } from "lit-html/directives/ref.js";
|
|
4
|
+
import { keyed as M } from "lit-html/directives/keyed.js";
|
|
5
|
+
import N from "@arcgis/core/widgets/Bookmarks/BookmarksViewModel.js";
|
|
6
|
+
import { g as S } from "../../chunks/globalCss.js";
|
|
7
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
8
|
+
import { H as O } from "../../chunks/heading.js";
|
|
9
|
+
import { generateGuid as P, classes as x } from "@arcgis/components-utils";
|
|
10
|
+
import { usePropertyChange as V } from "@arcgis/lumina/controllers";
|
|
11
|
+
import { m as R } from "../../chunks/useViewModel.js";
|
|
12
|
+
import { LitElement as q, createEvent as I, noShadowRoot as H, safeClassMap as c, nothing as w } from "@arcgis/lumina";
|
|
13
|
+
import { css as Z } from "@lit/reactive-element/css-tag.js";
|
|
14
|
+
import { formatDate as F, convertDateFormatToIntlOptions as U } from "@arcgis/core/intl.js";
|
|
15
|
+
import { isHTTPSProtocol as b, isDataProtocol as T } from "@arcgis/core/core/urlUtils.js";
|
|
16
|
+
import { watch as E } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
|
+
import z from "@arcgis/core/core/Accessor.js";
|
|
18
|
+
import { property as _, subclass as j } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
12
|
-
const
|
|
13
|
-
|
|
21
|
+
v4.34.0-next.43 */
|
|
22
|
+
const d = "arcgis-bookmarks", y = `${d}__authoring`, C = `${d}__bookmark`, l = {
|
|
23
|
+
base: d,
|
|
24
|
+
empty: `${d}__empty`,
|
|
25
|
+
noBookmarksHeader: `${d}__no-bookmarks-heading`,
|
|
26
|
+
noBookmarksDescription: `${d}__no-bookmarks-description`,
|
|
27
|
+
form: `${d}__form`,
|
|
28
|
+
list: `${d}__list`,
|
|
29
|
+
loader: `${d}__loader`,
|
|
30
|
+
filterNoResults: `${d}__filter-no-results`,
|
|
31
|
+
formContent: `${d}__form-content`,
|
|
32
|
+
addBookmarkButton: `${d}__add-bookmark-button`,
|
|
33
|
+
editBookmarkInput: `${d}__edit-bookmark-input`,
|
|
34
|
+
addBookmarkInput: `${d}__add-bookmark-input`,
|
|
35
|
+
dragEnabled: `${d}--drag-enabled`,
|
|
36
|
+
bookmarkImage: `${d}__image`,
|
|
37
|
+
bookmarkImageContainer: `${C}-image-container`,
|
|
38
|
+
bookmarkContent: `${C}-content`,
|
|
39
|
+
bookmarkContentLabel: `${C}-content-label`,
|
|
40
|
+
authoring: y,
|
|
41
|
+
authoringImageContainer: `${y}-image-container`,
|
|
42
|
+
authoringRefreshThumbnailButton: `${y}-refresh-thumbnail-button`
|
|
43
|
+
}, G = Z`@layer{arcgis-bookmarks{display:block}.arcgis-bookmarks{display:flex;background-color:transparent}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:16px;font-weight:400}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--2)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}}`;
|
|
44
|
+
var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, k = (s, t, e, i) => {
|
|
45
|
+
for (var a = i > 1 ? void 0 : i ? K(t, e) : t, o = s.length - 1, n; o >= 0; o--)
|
|
46
|
+
(n = s[o]) && (a = (i ? n(t, e, a) : n(a)) || a);
|
|
47
|
+
return i && a && J(t, e, a), a;
|
|
48
|
+
};
|
|
49
|
+
let m = class extends z {
|
|
50
|
+
constructor(s) {
|
|
51
|
+
super(s);
|
|
52
|
+
}
|
|
53
|
+
get editedBookmark() {
|
|
54
|
+
const { bookmark: s } = this;
|
|
55
|
+
return s ? this._get("editedBookmark") || s.clone() : null;
|
|
56
|
+
}
|
|
57
|
+
get customUrl() {
|
|
58
|
+
if (this._customUrl)
|
|
59
|
+
return this._customUrl;
|
|
60
|
+
const s = this.editedBookmark?.thumbnail?.url ?? "";
|
|
61
|
+
return s ?? (b(s) ? s : null);
|
|
62
|
+
}
|
|
63
|
+
set customUrl(s) {
|
|
64
|
+
this._customUrl = s;
|
|
65
|
+
}
|
|
66
|
+
get screenshotUrl() {
|
|
67
|
+
if (this._screenshotUrl)
|
|
68
|
+
return this._screenshotUrl;
|
|
69
|
+
const s = this.editedBookmark?.thumbnail?.url ?? "";
|
|
70
|
+
return s ?? (T(s) ? s : null);
|
|
71
|
+
}
|
|
72
|
+
set screenshotUrl(s) {
|
|
73
|
+
this._screenshotUrl = s;
|
|
74
|
+
}
|
|
75
|
+
get state() {
|
|
76
|
+
return this._get("state");
|
|
77
|
+
}
|
|
78
|
+
set state(s) {
|
|
79
|
+
this.validationState = void 0, this.creatingBookmark = void 0, this._set("state", s);
|
|
80
|
+
}
|
|
81
|
+
get thumbnailState() {
|
|
82
|
+
if (this._thumbnailState)
|
|
83
|
+
return this._thumbnailState;
|
|
84
|
+
const s = this.editedBookmark?.thumbnail?.url;
|
|
85
|
+
return s ? b(s) ? "url" : "screenshot" : "none";
|
|
86
|
+
}
|
|
87
|
+
set thumbnailState(s) {
|
|
88
|
+
this._thumbnailState = s;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
k([
|
|
92
|
+
_()
|
|
93
|
+
], m.prototype, "bookmark", 2);
|
|
94
|
+
k([
|
|
95
|
+
_({ readOnly: !0 })
|
|
96
|
+
], m.prototype, "editedBookmark", 1);
|
|
97
|
+
k([
|
|
98
|
+
_()
|
|
99
|
+
], m.prototype, "_customUrl", 2);
|
|
100
|
+
k([
|
|
101
|
+
_()
|
|
102
|
+
], m.prototype, "customUrl", 1);
|
|
103
|
+
k([
|
|
104
|
+
_()
|
|
105
|
+
], m.prototype, "_screenshotUrl", 2);
|
|
106
|
+
k([
|
|
107
|
+
_()
|
|
108
|
+
], m.prototype, "screenshotUrl", 1);
|
|
109
|
+
k([
|
|
110
|
+
_()
|
|
111
|
+
], m.prototype, "state", 1);
|
|
112
|
+
k([
|
|
113
|
+
_()
|
|
114
|
+
], m.prototype, "_thumbnailState", 2);
|
|
115
|
+
k([
|
|
116
|
+
_()
|
|
117
|
+
], m.prototype, "thumbnailState", 1);
|
|
118
|
+
k([
|
|
119
|
+
_()
|
|
120
|
+
], m.prototype, "validationState", 2);
|
|
121
|
+
k([
|
|
122
|
+
_()
|
|
123
|
+
], m.prototype, "creatingBookmark", 2);
|
|
124
|
+
m = k([
|
|
125
|
+
j("UserState")
|
|
126
|
+
], m);
|
|
127
|
+
const Q = R(N);
|
|
128
|
+
class W extends q {
|
|
14
129
|
constructor() {
|
|
15
|
-
super(...arguments), this.
|
|
130
|
+
super(...arguments), this._guid = P(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = L({}), this.viewModel = Q(this), this._storeEditFlowItemNode = (t) => {
|
|
131
|
+
this._editFlowItemEl = t;
|
|
132
|
+
}, this._storeRootFlowItem = (t) => {
|
|
133
|
+
this._rootFlowItemEl = t;
|
|
134
|
+
}, this._storeAddFlowItemNode = (t) => {
|
|
135
|
+
this._addFlowItemEl = t;
|
|
136
|
+
}, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.position = "top-left", this.icon = "icon", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit = I(), this.arcgisBookmarkSelect = I(), this.arcgisPropertyChange = V()("state"), this.arcgisReady = I();
|
|
16
137
|
}
|
|
17
138
|
static {
|
|
18
|
-
this.properties = {
|
|
139
|
+
this.properties = { _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, referenceElement: 1, position: 3, icon: 1, closed: 5, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: 0, disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, hideFlow: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
19
140
|
}
|
|
20
141
|
static {
|
|
21
|
-
this.
|
|
142
|
+
this.styles = G;
|
|
22
143
|
}
|
|
23
144
|
static {
|
|
24
|
-
this.
|
|
145
|
+
this.shadowRootOptions = H;
|
|
25
146
|
}
|
|
26
147
|
async destroy() {
|
|
27
148
|
await this.manager.destroy();
|
|
28
149
|
}
|
|
150
|
+
goTo(t) {
|
|
151
|
+
return this.viewModel.goTo(t);
|
|
152
|
+
}
|
|
153
|
+
loaded() {
|
|
154
|
+
this.manager.onLifecycle(() => [
|
|
155
|
+
this.viewModel.on("bookmark-select", this.arcgisBookmarkSelect.emit),
|
|
156
|
+
this.viewModel.on("bookmark-edit", this.arcgisBookmarkEdit.emit),
|
|
157
|
+
E(() => this._userState?.state, (t) => this._userStateValue = t, { initial: !0 }),
|
|
158
|
+
E(() => this._userState?.validationState, (t) => this._userValidationState = t, { initial: !0 }),
|
|
159
|
+
E(() => this._userState?.thumbnailState, (t) => this._userThumbnailState = t, { initial: !0 }),
|
|
160
|
+
E(() => this._userState?.creatingBookmark, (t) => this._userCreatingBookmark = !!t, { initial: !0 })
|
|
161
|
+
]);
|
|
162
|
+
}
|
|
163
|
+
startAddBookmark() {
|
|
164
|
+
this._userState = new m({
|
|
165
|
+
state: "add"
|
|
166
|
+
}), requestAnimationFrame(() => {
|
|
167
|
+
this._addFlowItemEl?.setFocus();
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
_clearState() {
|
|
171
|
+
this._userState = null;
|
|
172
|
+
}
|
|
173
|
+
_getTimeExtentStrings(t) {
|
|
174
|
+
const { hideTime: e } = this, { timeExtent: i } = t;
|
|
175
|
+
if (!i)
|
|
176
|
+
return {};
|
|
177
|
+
const { start: a, end: o } = i, n = o != null && (a == null || a.getTime() !== o.getTime()), u = a ? this._formatDate(a) : "", h = a && !e ? this._formatTime(a) : "";
|
|
178
|
+
if (!n)
|
|
179
|
+
return { startDate: u, startTime: h };
|
|
180
|
+
const f = this._formatDate(o), g = e ? "" : this._formatTime(o);
|
|
181
|
+
return { startDate: u, startTime: h, endDate: f, endTime: g };
|
|
182
|
+
}
|
|
183
|
+
_handleUrlEditInputChange() {
|
|
184
|
+
const { _userState: t, _urlEditInputNode: e } = this, i = e?.value;
|
|
185
|
+
if (!t?.editedBookmark || !i)
|
|
186
|
+
return;
|
|
187
|
+
t.validationState = void 0, T(t.editedBookmark.thumbnail?.url ?? "") && (t.screenshotUrl = t.editedBookmark.thumbnail?.url);
|
|
188
|
+
const a = { url: i };
|
|
189
|
+
b(a.url) && (t.customUrl = i, t.editedBookmark.thumbnail = a);
|
|
190
|
+
}
|
|
191
|
+
_getBookmarkTitle(t) {
|
|
192
|
+
return (t?.name || this.messages.untitled) ?? "";
|
|
193
|
+
}
|
|
194
|
+
_formatDate(t) {
|
|
195
|
+
if (!t)
|
|
196
|
+
return "";
|
|
197
|
+
const e = this.viewModel.view, i = e && "timeZone" in e ? e.timeZone : "system";
|
|
198
|
+
return F(t, {
|
|
199
|
+
...U("short-date"),
|
|
200
|
+
timeZone: i
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
_formatTime(t) {
|
|
204
|
+
if (!t)
|
|
205
|
+
return "";
|
|
206
|
+
const e = this.viewModel.view, i = e && "timeZone" in e ? e.timeZone : "system";
|
|
207
|
+
return F(t, {
|
|
208
|
+
...U("long-time"),
|
|
209
|
+
timeZone: i
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
_onCalciteListOrderChange(t) {
|
|
213
|
+
const { _lastDragDetail: e, bookmarks: i } = this, { toEl: a, fromEl: o, dragEl: n, newIndex: u } = t;
|
|
214
|
+
if (!i.length)
|
|
215
|
+
return;
|
|
216
|
+
const h = e?.newIndex === u && e?.dragEl === n && e?.toEl === a && e?.fromEl === o;
|
|
217
|
+
if (!o || !a || h)
|
|
218
|
+
return;
|
|
219
|
+
this._lastDragDetail = t;
|
|
220
|
+
const f = Array.from(o.children).filter((g) => g?.matches("calcite-list-item")).map((g) => g.value);
|
|
221
|
+
i.sort((g, D) => {
|
|
222
|
+
const v = f.indexOf(g.uid), B = f.indexOf(D.uid);
|
|
223
|
+
return v > B ? 1 : v < B ? -1 : 0;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
_endAddBookmark() {
|
|
227
|
+
this._clearState(), this._focusRootFlowItem();
|
|
228
|
+
}
|
|
229
|
+
_showEditBookmarkForm(t) {
|
|
230
|
+
t && (this.editIncludeTimeExtent = !!t.timeExtent, this._userState = new m({
|
|
231
|
+
bookmark: t,
|
|
232
|
+
state: "edit"
|
|
233
|
+
}), requestAnimationFrame(() => {
|
|
234
|
+
this._editFlowItemEl?.setFocus();
|
|
235
|
+
}), this.viewModel.goTo(t));
|
|
236
|
+
}
|
|
237
|
+
async _createNewScreenshotUrl() {
|
|
238
|
+
return (await this.viewModel.createBookmark()).thumbnail?.url ?? null;
|
|
239
|
+
}
|
|
240
|
+
_storeCurrentUrl() {
|
|
241
|
+
const { _userState: t } = this, e = t?.editedBookmark?.thumbnail?.url;
|
|
242
|
+
e && (b(e) ? t.customUrl = e : T(e) && (t.screenshotUrl = e));
|
|
243
|
+
}
|
|
244
|
+
async _handleThumbnailTypeSelect(t) {
|
|
245
|
+
const { _userState: e } = this;
|
|
246
|
+
if (!e)
|
|
247
|
+
return;
|
|
248
|
+
const { screenshotUrl: i, customUrl: a, editedBookmark: o } = e, n = t === "screenshot" ? i ?? await this._createNewScreenshotUrl() : t === "url" && a ? a : null;
|
|
249
|
+
this._storeCurrentUrl(), o && n && (o.thumbnail = {
|
|
250
|
+
url: n
|
|
251
|
+
}), e.validationState = void 0, e.thumbnailState = t;
|
|
252
|
+
}
|
|
253
|
+
_focusRootFlowItem() {
|
|
254
|
+
requestAnimationFrame(() => {
|
|
255
|
+
this._rootFlowItemEl?.setFocus();
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
_closeEditBookmarkForm() {
|
|
259
|
+
this._clearState(), this._focusRootFlowItem();
|
|
260
|
+
}
|
|
261
|
+
_addBookmarkSubmitClick(t) {
|
|
262
|
+
t.preventDefault(), this._addBookmarkSubmit();
|
|
263
|
+
}
|
|
264
|
+
async _addBookmarkSubmit() {
|
|
265
|
+
const { _addInputNode: t, _userState: e, viewModel: i, viewModel: { bookmarks: a } } = this;
|
|
266
|
+
if (!e)
|
|
267
|
+
return;
|
|
268
|
+
const o = t ? t.value.trim() : null;
|
|
269
|
+
if (!o) {
|
|
270
|
+
e.validationState = "name-required";
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
e.creatingBookmark = !0;
|
|
274
|
+
const n = await i.createBookmark();
|
|
275
|
+
n.name = o, a.add(n), this._endAddBookmark();
|
|
276
|
+
}
|
|
277
|
+
async _editBookmarkAndClose(t, e) {
|
|
278
|
+
const { viewModel: i, viewModel: { defaultEditOptions: a } } = this;
|
|
279
|
+
await i.editBookmark(t, {
|
|
280
|
+
...a,
|
|
281
|
+
...e
|
|
282
|
+
}), this._closeEditBookmarkForm();
|
|
283
|
+
}
|
|
284
|
+
_editBookmarkSubmit(t) {
|
|
285
|
+
t.preventDefault();
|
|
286
|
+
const { _userState: e, _editInputNode: i, editIncludeTimeExtent: a, _urlEditInputNode: o } = this;
|
|
287
|
+
if (!e?.bookmark || !e.editedBookmark)
|
|
288
|
+
return;
|
|
289
|
+
e.validationState = void 0, e.customUrl = void 0, e.screenshotUrl = void 0;
|
|
290
|
+
const n = i?.value.trim();
|
|
291
|
+
if (!n) {
|
|
292
|
+
e.validationState = "name-required";
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
if (e.bookmark.name = n, e.bookmark.thumbnail = e.editedBookmark.thumbnail, a || (e.bookmark.timeExtent = null), e.thumbnailState === "url" && o) {
|
|
296
|
+
const h = { url: o.value };
|
|
297
|
+
if (!b(h.url)) {
|
|
298
|
+
e.validationState = "absolute-url-required";
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
e.bookmark.thumbnail = h;
|
|
302
|
+
} else e.thumbnailState === "none" && (e.bookmark.thumbnail = null);
|
|
303
|
+
this._editBookmarkAndClose(e.bookmark, {
|
|
304
|
+
takeScreenshot: !1,
|
|
305
|
+
captureTimeExtent: a
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
_storeEditInput(t) {
|
|
309
|
+
this._editInputNode = t;
|
|
310
|
+
}
|
|
311
|
+
_storeAddInput(t) {
|
|
312
|
+
this._addInputNode = t;
|
|
313
|
+
}
|
|
314
|
+
_storeUrlEditInput(t) {
|
|
315
|
+
this._urlEditInputNode = t;
|
|
316
|
+
}
|
|
317
|
+
_deleteBookmark(t) {
|
|
318
|
+
this._closeEditBookmarkForm(), t && (this.viewModel.bookmarks.remove(t), t.destroy());
|
|
319
|
+
}
|
|
320
|
+
_goToBookmark(t) {
|
|
321
|
+
this._clearState(), this.viewModel.goTo(t);
|
|
322
|
+
}
|
|
323
|
+
async _updateThumbnail() {
|
|
324
|
+
const { _userState: t, viewModel: e } = this;
|
|
325
|
+
t && (t.validationState = void 0, await e.editBookmark(t.editedBookmark, {
|
|
326
|
+
takeScreenshot: !0,
|
|
327
|
+
captureViewpoint: !1,
|
|
328
|
+
captureRotation: !1,
|
|
329
|
+
captureScale: !1,
|
|
330
|
+
captureTimeExtent: !1
|
|
331
|
+
}));
|
|
332
|
+
}
|
|
333
|
+
_handleCalciteListDragEnd(t) {
|
|
334
|
+
const { fromEl: e, dragEl: i, oldIndex: a } = t;
|
|
335
|
+
e.insertBefore(i, e.children[a]);
|
|
336
|
+
}
|
|
337
|
+
render() {
|
|
338
|
+
return r`<div class=${c(x(l.base, S.widget, { [S.panel]: !this.closed }))}>${this._renderBookmarksContainer()}</div>`;
|
|
339
|
+
}
|
|
340
|
+
_renderNoBookmarksContainer(t) {
|
|
341
|
+
const { messages: e, viewModel: { state: i } } = this;
|
|
342
|
+
return !t.length && i !== "loading" ? r`<div class=${c(l.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${O({ class: x(S.heading, l.noBookmarksHeader), level: this.headingLevel, children: e.noBookmarksHeading })}<p class=${c(l.noBookmarksDescription)}>${e.noBookmarksDescription}</p></div>` : null;
|
|
343
|
+
}
|
|
344
|
+
_renderEditBookmarkFlowItems() {
|
|
345
|
+
const t = this._userStateValue === "edit", e = this._userState?.editedBookmark;
|
|
346
|
+
return !e || !t ? [] : this._renderEditingBookmark(e);
|
|
347
|
+
}
|
|
348
|
+
_renderBookmarkItems(t) {
|
|
349
|
+
return t ? t.toArray().map((e) => this._renderBookmark(e)) : [];
|
|
350
|
+
}
|
|
351
|
+
_renderBookmarksContainer() {
|
|
352
|
+
const { viewModel: { state: t, bookmarks: e }, dragEnabled: i, messages: a, disabled: o, filterPlaceholder: n, filterText: u, closed: h, headingLevel: f } = this, g = e.filter((p) => p != null), v = g.length ? r`<calcite-list class=${c(l.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${n} .filterProps=${["label", "description", "metadata"]} .filterText=${u} .group=${`bookmarks-${this._guid}`} .label=${a.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(p) => this._handleCalciteListDragEnd(p.detail)} @calciteListFilter=${(p) => this.filterText = p.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(p) => this._onCalciteListOrderChange(p.detail)}>${this._renderBookmarkItems(g)}${this.showFilter ? r`<div class=${c(l.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${a.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, B = [
|
|
353
|
+
r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${h} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? a.componentLabel : void 0} .headingLevel=${f} .loading=${t === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${() => this.closed = !0} ${$(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${v}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
|
|
354
|
+
this._renderAddingBookmark(),
|
|
355
|
+
this._renderEditBookmarkFlowItems()
|
|
356
|
+
];
|
|
357
|
+
return h ? null : this.hideFlow ? B : r`<calcite-flow>${B}</calcite-flow>`;
|
|
358
|
+
}
|
|
359
|
+
_renderAddBookmarkButton() {
|
|
360
|
+
const { messages: t, disabled: e, viewModel: { view: i, state: a } } = this, o = this._userCreatingBookmark;
|
|
361
|
+
return i && a !== "loading" && this.showAddBookmarkButton ? r`<calcite-fab appearance=outline-fill class=${c(l.addBookmarkButton)} .disabled=${e || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${t.addBookmark} text-enabled title=${t.addBookmark ?? w}></calcite-fab>` : null;
|
|
362
|
+
}
|
|
363
|
+
_renderEditContainer(t) {
|
|
364
|
+
const { messages: e } = this, i = `${e.edit} ${this._getBookmarkTitle(t)}`;
|
|
365
|
+
return this.showEditBookmarkButton ? r`<calcite-action appearance=transparent icon=pencil @click=${() => this._showEditBookmarkForm(t)} slot=actions-end .text=${i} title=${i ?? w}></calcite-action>` : null;
|
|
366
|
+
}
|
|
367
|
+
_renderBookmarkImage(t, e) {
|
|
368
|
+
return e ? r`<img alt class=${c(l.bookmarkImage)} src=${t.thumbnail?.url ?? w}>` : null;
|
|
369
|
+
}
|
|
370
|
+
_renderBookmarkTimeSwitch(t) {
|
|
371
|
+
const { messages: e, viewModel: { view: i } } = this, { timeExtent: a } = t;
|
|
372
|
+
return i?.timeExtent ?? a ? r`<calcite-label layout=inline-space-between>${e.includeTimeExtent}<calcite-switch .checked=${!!a} @calciteSwitchChange=${(o) => {
|
|
373
|
+
this.editIncludeTimeExtent = !!o.currentTarget.checked;
|
|
374
|
+
}}></calcite-switch></calcite-label>` : null;
|
|
375
|
+
}
|
|
376
|
+
_renderEditBookmarkTimeExtent(t) {
|
|
377
|
+
return this.editIncludeTimeExtent ? this._renderBookmarkTimeExtent(t) : null;
|
|
378
|
+
}
|
|
379
|
+
_renderTimeExtentDescription(t) {
|
|
380
|
+
const { startDate: e, startTime: i, endDate: a, endTime: o } = this._getTimeExtentStrings(t);
|
|
381
|
+
if (!e)
|
|
382
|
+
return "";
|
|
383
|
+
const n = `${e} ${i}`, u = `${a} ${o}`;
|
|
384
|
+
return a ? `${n} - ${u}` : n;
|
|
385
|
+
}
|
|
386
|
+
_renderBookmarkTimeExtent(t, e = !1) {
|
|
387
|
+
const { messages: i } = this, { startDate: a, startTime: o, endDate: n, endTime: u } = this._getTimeExtentStrings(t), h = e ? null : r`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${n ? r`<calcite-table-header .heading=${i.endDate}></calcite-table-header>` : null}</calcite-table-row>`;
|
|
388
|
+
return a ? r`<calcite-table .caption=${i.timeExtent ?? ""} scale=s>${h}<calcite-table-row><calcite-table-cell>${a} ${o ? [r`<br>`, o] : null}</calcite-table-cell>${n ? r`<calcite-table-cell>${n}${u ? [r`<br>`, u] : null}</calcite-table-cell>` : null}</calcite-table-row></calcite-table>` : null;
|
|
389
|
+
}
|
|
390
|
+
_renderBookmarkActiveScrim(t, e) {
|
|
391
|
+
return this.viewModel.activeBookmark === t && e ? r`<calcite-scrim loading></calcite-scrim>` : null;
|
|
392
|
+
}
|
|
393
|
+
_renderBookmarkActiveLoader(t, e) {
|
|
394
|
+
return this.viewModel.activeBookmark === t && !e ? r`<calcite-loader class=${c(l.loader)} inline .label=${this.messages.loading ?? ""}></calcite-loader>` : null;
|
|
395
|
+
}
|
|
396
|
+
_renderBookmarkImageIcon(t, e) {
|
|
397
|
+
return this.viewModel.activeBookmark !== t && !e ? r`<calcite-icon icon=bookmark scale=s></calcite-icon>` : null;
|
|
398
|
+
}
|
|
399
|
+
_renderBookmarkThumbnail(t) {
|
|
400
|
+
const e = !this.hideThumbnail && !!t.thumbnail?.url;
|
|
401
|
+
return r`<div class=${c(l.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(t, e)}${this._renderBookmarkImage(t, e)}${this._renderBookmarkActiveLoader(t, e)}${this._renderBookmarkImageIcon(t, e)}</div>`;
|
|
402
|
+
}
|
|
403
|
+
_renderBookmark(t) {
|
|
404
|
+
return M(t.uid, r`<calcite-list-item class=${c(x({ [l.dragEnabled]: this.dragEnabled }))} .description=${this._renderTimeExtentDescription(t)} .label=${this._getBookmarkTitle(t)} .value=${t.uid} @calciteListItemSelect=${() => this._goToBookmark(t)}>${this._renderBookmarkThumbnail(t)}${this._renderBookmarkContent(t)}${this._renderEditContainer(t)}</calcite-list-item>`);
|
|
405
|
+
}
|
|
406
|
+
_renderBookmarkContent(t) {
|
|
407
|
+
return r`<div class=${c(l.bookmarkContent)} slot=content><span class=${c(l.bookmarkContentLabel)}>${this._getBookmarkTitle(t)}</span>${this._renderBookmarkTimeExtent(t, !0)}</div>`;
|
|
408
|
+
}
|
|
409
|
+
_renderEditingBookmarkName(t) {
|
|
410
|
+
const { messages: e } = this, i = this._userValidationState === "name-required";
|
|
411
|
+
return r`<calcite-label>${e.title}<calcite-input class=${c(l.editBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text .value=${t.name} ${$(this._storeEditInput)}></calcite-input>${i ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
|
|
412
|
+
}
|
|
413
|
+
_renderEditingBookmarkActions() {
|
|
414
|
+
const { messages: t, _userState: e } = this, i = e?.bookmark;
|
|
415
|
+
return [
|
|
416
|
+
r`<calcite-button appearance=transparent kind=danger @click=${() => this._deleteBookmark(i)} slot=footer type=button width=full>${t.delete}</calcite-button>`,
|
|
417
|
+
r`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${t.cancel}</calcite-button>`,
|
|
418
|
+
r`<calcite-button slot=footer type=submit width=full>${t.save}</calcite-button>`
|
|
419
|
+
];
|
|
420
|
+
}
|
|
421
|
+
_renderEditingTimeExtent(t) {
|
|
422
|
+
const { capabilities: e, view: i } = this.viewModel, { timeExtent: a } = t;
|
|
423
|
+
return e.time && (i?.timeExtent ?? a) ? r`<div>${this._renderBookmarkTimeSwitch(t)}${this._renderEditBookmarkTimeExtent(t)}</div>` : null;
|
|
424
|
+
}
|
|
425
|
+
_renderEditingBookmarkImage(t) {
|
|
426
|
+
const { _userThumbnailState: e } = this, i = t.thumbnail?.url ?? "", a = b(i) ? e === "url" : T(i) ? e === "screenshot" : null;
|
|
427
|
+
if (a)
|
|
428
|
+
return this._renderBookmarkImage(t, a);
|
|
429
|
+
}
|
|
430
|
+
_renderEditingThumbnail(t) {
|
|
431
|
+
const { _userThumbnailState: e, hideThumbnail: i } = this;
|
|
432
|
+
return !i && e !== "none" ? r`<div class=${c(l.authoringImageContainer)}>${this._renderEditingBookmarkImage(t)}</div>` : null;
|
|
433
|
+
}
|
|
434
|
+
_renderUpdateThumbnailButton() {
|
|
435
|
+
const { hideThumbnail: t, messages: e, _userThumbnailState: i } = this;
|
|
436
|
+
return !t && i === "screenshot" ? r`<calcite-button appearance=outline class=${c(l.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${() => void this._updateThumbnail()} width=full>${e.updateThumbnail}</calcite-button>` : null;
|
|
437
|
+
}
|
|
438
|
+
_renderEditingBookmarkUrlInput(t) {
|
|
439
|
+
const { messages: e, _userValidationState: i, _userThumbnailState: a } = this, o = t.thumbnail?.url ?? "", n = b(o) ? o : void 0, u = o && i === "absolute-url-required";
|
|
440
|
+
return a === "url" ? r`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${e ? `https://<${e.imageUrlPlaceholder}>` : void 0} required title=${e.imageUrlTooltip ?? w} type=text .value=${n} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${$(this._storeUrlEditInput)}></calcite-input>${u ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
|
|
441
|
+
}
|
|
442
|
+
_renderThumbnailSelector() {
|
|
443
|
+
const { hideThumbnail: t, messages: e, _userThumbnailState: i } = this;
|
|
444
|
+
return t ? null : r`<calcite-label>${e.thumbnail}<calcite-chip-group .label=${e.thumbnail ?? ""} selection-mode=single-persist @calciteChipGroupSelect=${(a) => this._handleThumbnailTypeSelect(a.currentTarget.selectedItems[0].value)}><calcite-chip .label=${e.screenshot ?? ""} .selected=${i === "screenshot"} value=screenshot>${e.screenshot}</calcite-chip><calcite-chip .label=${e.url ?? ""} .selected=${i === "url"} value=url>${e.url}</calcite-chip><calcite-chip .label=${e.none ?? ""} .selected=${i === "none"} value=none>${e.none}</calcite-chip></calcite-chip-group></calcite-label>`;
|
|
445
|
+
}
|
|
446
|
+
_renderEditingBookmark(t) {
|
|
447
|
+
const { disabled: e, messages: i, headingLevel: a } = this;
|
|
448
|
+
return t ? r`<form class=${c(l.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${e} .heading=${i.edit ?? ""} .headingLevel=${a} .selected=${this._userStateValue === "edit"} @calciteFlowItemBack=${(o) => {
|
|
449
|
+
o.preventDefault(), this._closeEditBookmarkForm();
|
|
450
|
+
}} ${$(this._storeEditFlowItemNode)}><div class=${c(l.formContent)}><div class=${c(l.authoring)}>${this._renderEditingBookmarkName(t)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(t)}${this._renderEditingBookmarkUrlInput(t)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(t)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
451
|
+
}
|
|
452
|
+
_renderAddingBookmarkName() {
|
|
453
|
+
const { messages: t } = this, e = this._userValidationState === "name-required";
|
|
454
|
+
return r`<calcite-label>${t.title}<calcite-input class=${c(l.addBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text value ${$(this._storeAddInput)}></calcite-input>${e ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
|
|
455
|
+
}
|
|
456
|
+
_renderAddingBookmarkActions() {
|
|
457
|
+
const { messages: t } = this;
|
|
458
|
+
return [
|
|
459
|
+
r`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${t.cancel}</calcite-button>`,
|
|
460
|
+
r`<calcite-button slot=footer type=submit width=full>${t.add}</calcite-button>`
|
|
461
|
+
];
|
|
462
|
+
}
|
|
463
|
+
_renderAddingBookmark() {
|
|
464
|
+
const { disabled: t, messages: e, headingLevel: i, _userStateValue: a } = this;
|
|
465
|
+
return a === "add" ? r`<form class=${c(l.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${t} .heading=${e.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${(o) => {
|
|
466
|
+
o.preventDefault(), this._endAddBookmark();
|
|
467
|
+
}} ${$(this._storeAddFlowItemNode)}><div class=${c(l.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
468
|
+
}
|
|
29
469
|
}
|
|
30
|
-
|
|
470
|
+
A("arcgis-bookmarks", W);
|
|
31
471
|
export {
|
|
32
|
-
|
|
472
|
+
W as ArcgisBookmarks
|
|
33
473
|
};
|
|
@@ -1 +1,22 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-fab";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-switch";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-table-row";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-table-header";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-table";
|
|
13
|
+
import "@esri/calcite-components/components/calcite-table-cell";
|
|
14
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
15
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
16
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
17
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
18
|
+
import "@esri/calcite-components/components/calcite-input-message";
|
|
19
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
20
|
+
import "@esri/calcite-components/components/calcite-chip-group";
|
|
21
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
1
22
|
export * from "./customElement.js";
|
|
@@ -1 +1,22 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-fab";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-switch";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-table-row";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-table-header";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-table";
|
|
13
|
+
import "@esri/calcite-components/components/calcite-table-cell";
|
|
14
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
15
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
16
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
17
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
18
|
+
import "@esri/calcite-components/components/calcite-input-message";
|
|
19
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
20
|
+
import "@esri/calcite-components/components/calcite-chip-group";
|
|
21
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
1
22
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
export interface BookmarkOptions {
|
|
3
|
+
takeScreenshot?: boolean;
|
|
4
|
+
captureViewpoint?: boolean;
|
|
5
|
+
captureRotation?: boolean;
|
|
6
|
+
captureScale?: boolean;
|
|
7
|
+
screenshotSettings?: Partial<__esri.MapViewTakeScreenshotOptions>;
|
|
8
|
+
captureTimeExtent?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface BookmarksCapabilities {
|
|
11
|
+
time?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Nil } from '@arcgis/components-utils';
|
|
2
|
+
import { default as Accessor } from '@arcgis/core/core/Accessor.js';
|
|
3
|
+
import { default as Bookmark } from '@arcgis/core/webmap/Bookmark.js';
|
|
4
|
+
export type State = "add" | "edit";
|
|
5
|
+
export type ThumbnailState = "none" | "screenshot" | "url";
|
|
6
|
+
export type ValidationState = "absolute-url-required" | "name-required";
|
|
7
|
+
type ConstructProperties = Partial<Pick<UserState, "bookmark" | "creatingBookmark" | "customUrl" | "editedBookmark" | "screenshotUrl" | "state" | "thumbnailState" | "validationState">>;
|
|
8
|
+
export declare class UserState extends Accessor {
|
|
9
|
+
constructor(properties?: ConstructProperties);
|
|
10
|
+
bookmark?: Bookmark;
|
|
11
|
+
get editedBookmark(): Bookmark | Nil;
|
|
12
|
+
private _customUrl?;
|
|
13
|
+
get customUrl(): string | undefined;
|
|
14
|
+
set customUrl(value: string | undefined);
|
|
15
|
+
private _screenshotUrl?;
|
|
16
|
+
get screenshotUrl(): string | undefined;
|
|
17
|
+
set screenshotUrl(value: string | undefined);
|
|
18
|
+
get state(): State;
|
|
19
|
+
set state(value: State);
|
|
20
|
+
private _thumbnailState?;
|
|
21
|
+
get thumbnailState(): ThumbnailState;
|
|
22
|
+
set thumbnailState(value: ThumbnailState);
|
|
23
|
+
validationState?: ValidationState;
|
|
24
|
+
creatingBookmark?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -6,7 +6,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.43 */
|
|
10
10
|
const a = r`@layer{arcgis-building-explorer{display:block}}`, d = h(s);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c as d } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.43 */
|
|
12
12
|
const c = h`@layer{arcgis-catalog-layer-list{display:block}}`, n = r(s);
|
|
13
13
|
class g extends o {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { g as i } from "../../chunks/globalCss.js";
|
|
|
10
10
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.43 */
|
|
14
14
|
const $ = y`@layer{arcgis-compass{display:block}}`, r = "esri-compass", a = {
|
|
15
15
|
base: r,
|
|
16
16
|
iconContainer: `${r}__icon-container`
|
|
@@ -6,7 +6,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.43 */
|
|
10
10
|
const l = h`@layer{arcgis-coordinate-conversion{display:block}}`, g = d(o);
|
|
11
11
|
class c extends n {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
6
6
|
import { reEmitEvent as o } from "@arcgis/lumina/controllers/accessor";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.43 */
|
|
10
10
|
const d = l`@layer{arcgis-daylight{display:block}}`, r = h(i);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
|
@@ -15,7 +15,7 @@ import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
|
15
15
|
import { g as c, m } from "../../chunks/measurementUtils.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.43 */
|
|
19
19
|
const z = $`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
|
|
20
20
|
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, r = (e, t, s, a) => {
|
|
21
21
|
for (var n = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|