@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.70
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/2AR2RL4Y.js +4 -0
- package/dist/cdn/2AWZIA3L.js +4 -0
- package/dist/cdn/2I4CTEGV.js +4 -0
- package/dist/cdn/{73246WZV.js → 2KCAS352.js} +2 -2
- package/dist/cdn/2MLBYMYA.js +4 -0
- package/dist/cdn/2PVEP6H4.js +4 -0
- package/dist/cdn/354NC6VV.js +4 -0
- package/dist/cdn/3A3INGT3.js +4 -0
- package/dist/cdn/3OUX647B.js +4 -0
- package/dist/cdn/3VNO3VMG.js +4 -0
- package/dist/cdn/47XZ6W3K.js +4 -0
- package/dist/cdn/4CC7QROP.js +4 -0
- package/dist/cdn/4F55IKBO.js +4 -0
- package/dist/cdn/4H7DRS3O.js +4 -0
- package/dist/cdn/4O2D4TBD.js +4 -0
- package/dist/cdn/4SIW7M26.js +4 -0
- package/dist/cdn/4UBJIIXV.js +4 -0
- package/dist/cdn/4UEFUOAA.js +4 -0
- package/dist/cdn/5AZIZ3PF.js +4 -0
- package/dist/cdn/5CSIVQNY.js +4 -0
- package/dist/cdn/{IN5MEX7L.js → 5CZOXXGR.js} +2 -2
- package/dist/cdn/{BKCPYV3Y.js → 5EDSTFDH.js} +1 -1
- package/dist/cdn/5LHMHWF3.js +4 -0
- package/dist/cdn/5VYYHNUR.js +4 -0
- package/dist/cdn/5XANDIBI.js +4 -0
- package/dist/cdn/5XBSTGLH.js +4 -0
- package/dist/cdn/{DDSDEOST.js → 5ZULWT7U.js} +2 -2
- package/dist/cdn/{ECQIBBNZ.js → 6IIFVCUH.js} +2 -2
- package/dist/cdn/6RAZA3AP.js +4 -0
- package/dist/cdn/6WTGSRMX.js +4 -0
- package/dist/cdn/6YJ53JQR.js +4 -0
- package/dist/cdn/{4SFJ5GIR.js → 7EFXGXNC.js} +1 -1
- package/dist/cdn/7KVEY34N.js +4 -0
- package/dist/cdn/AAAAM4JS.js +4 -0
- package/dist/cdn/ABJZBV47.js +4 -0
- package/dist/cdn/AIINTYP2.js +4 -0
- package/dist/cdn/AQRGA3CG.js +4 -0
- package/dist/cdn/ATNQTFZB.js +4 -0
- package/dist/cdn/B4VWYF4R.js +4 -0
- package/dist/cdn/BD2SVJPH.js +4 -0
- package/dist/cdn/BFO4H73P.js +4 -0
- package/dist/cdn/BJQ5WB7Y.js +4 -0
- package/dist/cdn/BLS32VQR.js +4 -0
- package/dist/cdn/BMZ7R3XZ.js +4 -0
- package/dist/cdn/BODFPY2F.js +4 -0
- package/dist/cdn/BX3APZPD.js +4 -0
- package/dist/cdn/{LUASKWWP.js → BXZBWMK6.js} +2 -2
- package/dist/cdn/C6MN2WSS.js +4 -0
- package/dist/cdn/C6WNJM44.js +4 -0
- package/dist/cdn/CF7Y5MK6.js +4 -0
- package/dist/cdn/CGKUNVNP.js +4 -0
- package/dist/cdn/CJKPNMKS.js +4 -0
- package/dist/cdn/CKAJNS6I.js +4 -0
- package/dist/cdn/D2MI5TXS.js +4 -0
- package/dist/cdn/{B7KN6YTQ.js → D37I3LMF.js} +2 -2
- package/dist/cdn/DCELIW32.js +4 -0
- package/dist/cdn/DWDFHXAC.js +4 -0
- package/dist/cdn/E7MBDFUE.js +4 -0
- package/dist/cdn/EBLLW3H2.js +4 -0
- package/dist/cdn/EKVSV7IH.js +4 -0
- package/dist/cdn/EMER4YVN.js +6 -0
- package/dist/cdn/EP3IWPAW.js +4 -0
- package/dist/cdn/EWJETCOF.js +4 -0
- package/dist/cdn/EWKMFWBT.js +4 -0
- package/dist/cdn/FHZ4BAXV.js +4 -0
- package/dist/cdn/FKPVE63A.js +4 -0
- package/dist/cdn/FNQNKSR2.js +4 -0
- package/dist/cdn/FO6BAT7N.js +4 -0
- package/dist/cdn/FYTAWAQI.js +4 -0
- package/dist/cdn/GKPZTMAJ.js +4 -0
- package/dist/cdn/GMK6EVBP.js +4 -0
- package/dist/cdn/{JSWLDDUC.js → GMP2KW5X.js} +2 -2
- package/dist/cdn/GPL4UAFP.js +4 -0
- package/dist/cdn/GUQ7OX6Q.js +4 -0
- package/dist/cdn/GVEZBE5M.js +4 -0
- package/dist/cdn/GWAKAXNK.js +4 -0
- package/dist/cdn/GYQDEXP6.js +4 -0
- package/dist/cdn/H36MD5PS.js +4 -0
- package/dist/cdn/HDH3SA27.js +4 -0
- package/dist/cdn/HGECBCSE.js +4 -0
- package/dist/cdn/HIKNK4L5.js +4 -0
- package/dist/cdn/{QAP64MEA.js → HKWWBQUE.js} +1 -1
- package/dist/cdn/HLUFKK5B.js +4 -0
- package/dist/cdn/HMS5KVRL.js +4 -0
- package/dist/cdn/HRXKM2RU.js +4 -0
- package/dist/cdn/HSYVJFUD.js +4 -0
- package/dist/cdn/HXANX6UI.js +4 -0
- package/dist/cdn/I2AJTFGI.js +4 -0
- package/dist/cdn/IABBUAVF.js +4 -0
- package/dist/cdn/IELBU3OR.js +4 -0
- package/dist/cdn/IJCXBO5H.js +4 -0
- package/dist/cdn/IPLHIJA2.js +4 -0
- package/dist/cdn/IQOB2WHM.js +4 -0
- package/dist/cdn/IQU5FXFG.js +4 -0
- package/dist/cdn/ISRIAET4.js +4 -0
- package/dist/cdn/IXAEG2AX.js +4 -0
- package/dist/cdn/J24HQZUE.js +4 -0
- package/dist/cdn/J6GJZPBF.js +4 -0
- package/dist/cdn/JDUEYLBI.js +4 -0
- package/dist/cdn/JHJ3IPEO.js +4 -0
- package/dist/cdn/JJCLARQC.js +4 -0
- package/dist/cdn/JJQ662J6.js +4 -0
- package/dist/cdn/JXG4Q2Q5.js +4 -0
- package/dist/cdn/JXY43SSP.js +4 -0
- package/dist/cdn/K2TRJM27.js +4 -0
- package/dist/cdn/K5Z6FQ7O.js +4 -0
- package/dist/cdn/KHHY53OI.js +4 -0
- package/dist/cdn/KVELDCFU.js +4 -0
- package/dist/cdn/KVVPPPAG.js +4 -0
- package/dist/cdn/LC4O7QMB.js +4 -0
- package/dist/cdn/LWNTGQ4I.js +4 -0
- package/dist/cdn/LX5PHN6W.js +4 -0
- package/dist/cdn/MDJHRHKH.js +5 -0
- package/dist/cdn/MGVM6IXP.js +4 -0
- package/dist/cdn/MKUMSG4G.js +4 -0
- package/dist/cdn/ML7ZZEWH.js +4 -0
- package/dist/cdn/N2OPC5TW.js +4 -0
- package/dist/cdn/{EAVGPD6R.js → N4AMD5OM.js} +1 -1
- package/dist/cdn/NCGGXOKG.js +4 -0
- package/dist/cdn/NEKAFFJA.js +4 -0
- package/dist/cdn/NOWVAMZG.js +4 -0
- package/dist/cdn/NSGPJKHX.js +4 -0
- package/dist/cdn/NSRZO7UM.js +4 -0
- package/dist/cdn/{FAJWL466.js → O673AIIF.js} +2 -2
- package/dist/cdn/OAYIC4MN.js +4 -0
- package/dist/cdn/OC47Z2XQ.js +4 -0
- package/dist/cdn/OCQDH6IW.js +4 -0
- package/dist/cdn/OFSW2VUZ.js +4 -0
- package/dist/cdn/OIPCRWX7.js +4 -0
- package/dist/cdn/ONE42ZUL.js +4 -0
- package/dist/cdn/OXNIPYQL.js +4 -0
- package/dist/cdn/OY3AYNNR.js +4 -0
- package/dist/cdn/{7MLMQPS2.js → PBTBBJK7.js} +1 -1
- package/dist/cdn/PFBMKQBE.js +4 -0
- package/dist/cdn/PMQIZBP2.js +4 -0
- package/dist/cdn/PP7Q7UNI.js +4 -0
- package/dist/cdn/PYFFSITY.js +4 -0
- package/dist/cdn/{KXFOXBSW.js → PZDLSZBV.js} +1 -1
- package/dist/cdn/QBHY6CBB.js +4 -0
- package/dist/cdn/QEI2TTJN.js +4 -0
- package/dist/cdn/QTI5DTMV.js +4 -0
- package/dist/cdn/RF4MOEMZ.js +4 -0
- package/dist/cdn/RKLE6RRM.js +4 -0
- package/dist/cdn/RPRK6C74.js +4 -0
- package/dist/cdn/RSVQX3RP.js +4 -0
- package/dist/cdn/SDJJWQPY.js +4 -0
- package/dist/cdn/SJWH25MD.js +4 -0
- package/dist/cdn/SYTCDH6J.js +4 -0
- package/dist/cdn/T43ZKBUL.js +4 -0
- package/dist/cdn/THPL3AWL.js +4 -0
- package/dist/cdn/TYHMP45B.js +4 -0
- package/dist/cdn/U7GCDM6L.js +4 -0
- package/dist/cdn/UAVTLQX7.js +4 -0
- package/dist/cdn/UH3J53SE.js +4 -0
- package/dist/cdn/UJLVRNX6.js +4 -0
- package/dist/cdn/UKHU2KV4.js +4 -0
- package/dist/cdn/UUKGM4CS.js +4 -0
- package/dist/cdn/UZZO325J.js +4 -0
- package/dist/cdn/VMOB7LDF.js +4 -0
- package/dist/cdn/VOVSPPXO.js +4 -0
- package/dist/cdn/VZKJR64R.js +4 -0
- package/dist/cdn/VZXRN45C.js +4 -0
- package/dist/cdn/WBMYK2NM.js +4 -0
- package/dist/cdn/WQTH5DEY.js +4 -0
- package/dist/cdn/WWK3KN4N.js +4 -0
- package/dist/cdn/{TD3FQAZG.js → WWQ76UBW.js} +1 -1
- package/dist/cdn/{EF5ADWHS.js → X4AY7J4P.js} +2 -2
- package/dist/cdn/X5EFDMTN.js +4 -0
- package/dist/cdn/XAUOLY2L.js +4 -0
- package/dist/cdn/XNWNXAWW.js +4 -0
- package/dist/cdn/XOGYW5MN.js +4 -0
- package/dist/cdn/XQFTJYY2.js +4 -0
- package/dist/cdn/XQZU3IUE.js +4 -0
- package/dist/cdn/XTOHHIAU.js +4 -0
- package/dist/cdn/XWQEZXIF.js +4 -0
- package/dist/cdn/{62NV7NFZ.js → YDKCBMOW.js} +2 -2
- package/dist/cdn/YID6KBLE.js +4 -0
- package/dist/cdn/YKPFG6ZM.js +4 -0
- package/dist/cdn/YN2IBXDY.js +4 -0
- package/dist/cdn/YOUIY6WZ.js +4 -0
- package/dist/cdn/{576TH74N.js → YS2IN3HF.js} +2 -2
- package/dist/cdn/YW5ODCJD.js +4 -0
- package/dist/cdn/Z47CMIYF.js +4 -0
- package/dist/cdn/{42FXNNW7.js → Z6MZTW2K.js} +2 -2
- package/dist/cdn/ZF4GIRLB.js +4 -0
- package/dist/cdn/ZXWVQURO.js +4 -0
- 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/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +2 -2
- 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 +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- 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.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +59 -27
- package/dist/components/arcgis-search/customElement.js +42 -39
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +39 -33
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +54 -5
- package/dist/components/arcgis-weather/customElement.js +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3785 -1107
- package/dist/docs/docs.json +2854 -925
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1076 -488
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/3CVTJ6IR.js +0 -4
- package/dist/cdn/3K4LQ5ZH.js +0 -4
- package/dist/cdn/3NYGB5KC.js +0 -4
- package/dist/cdn/3V7IRFXL.js +0 -4
- package/dist/cdn/43IJVAZP.js +0 -4
- package/dist/cdn/4QHWO73K.js +0 -4
- package/dist/cdn/4V2M77YV.js +0 -4
- package/dist/cdn/5FZJ2H3A.js +0 -4
- package/dist/cdn/5H7D7TSV.js +0 -4
- package/dist/cdn/5KK3XQQZ.js +0 -4
- package/dist/cdn/5LHNWCSF.js +0 -4
- package/dist/cdn/5N4BVYD2.js +0 -4
- package/dist/cdn/5ZJSJBH7.js +0 -4
- package/dist/cdn/6DLNCYNJ.js +0 -4
- package/dist/cdn/6EUTPSR3.js +0 -4
- package/dist/cdn/6JC3X4DH.js +0 -4
- package/dist/cdn/6VMYCMSX.js +0 -4
- package/dist/cdn/7DA7Y4DS.js +0 -4
- package/dist/cdn/7S7U4ABF.js +0 -4
- package/dist/cdn/AGNZOUXO.js +0 -4
- package/dist/cdn/APM7HWPV.js +0 -4
- package/dist/cdn/AXC7MHUY.js +0 -6
- package/dist/cdn/B7YWZFHG.js +0 -4
- package/dist/cdn/BGL6T3KT.js +0 -4
- package/dist/cdn/BIDDZ56Y.js +0 -4
- package/dist/cdn/BNXSE33Y.js +0 -4
- package/dist/cdn/BTMPB2XP.js +0 -4
- package/dist/cdn/BWZL65MZ.js +0 -4
- package/dist/cdn/C3JX4XWF.js +0 -4
- package/dist/cdn/C4TSJEJH.js +0 -4
- package/dist/cdn/C5Y2CFYN.js +0 -4
- package/dist/cdn/CPW7VJRT.js +0 -4
- package/dist/cdn/CTEALHBJ.js +0 -4
- package/dist/cdn/CXJCTNJJ.js +0 -4
- package/dist/cdn/CXVJEZRT.js +0 -4
- package/dist/cdn/DMKGED3D.js +0 -4
- package/dist/cdn/DZRQ3FJN.js +0 -4
- package/dist/cdn/EGXWFLZ6.js +0 -4
- package/dist/cdn/ESO25JEU.js +0 -4
- package/dist/cdn/FEHLXR64.js +0 -4
- package/dist/cdn/FOZYNPTO.js +0 -4
- package/dist/cdn/FUIIOE5K.js +0 -4
- package/dist/cdn/G6V7COIW.js +0 -4
- package/dist/cdn/GXHWA464.js +0 -4
- package/dist/cdn/HLUINBW7.js +0 -4
- package/dist/cdn/I3YONNOJ.js +0 -4
- package/dist/cdn/IFU5E2LC.js +0 -4
- package/dist/cdn/IKGGVPEL.js +0 -4
- package/dist/cdn/ITWSP5JU.js +0 -4
- package/dist/cdn/JCV3FTL7.js +0 -4
- package/dist/cdn/JP5OTXJX.js +0 -4
- package/dist/cdn/JZ6AB7NM.js +0 -4
- package/dist/cdn/JZO3ICTU.js +0 -4
- package/dist/cdn/KGJHCOZ4.js +0 -4
- package/dist/cdn/KHCCACST.js +0 -4
- package/dist/cdn/KPKM24HM.js +0 -4
- package/dist/cdn/L7LDYNLW.js +0 -4
- package/dist/cdn/LHUB6IIZ.js +0 -4
- package/dist/cdn/LJC6WRCS.js +0 -4
- package/dist/cdn/LJSRLQJH.js +0 -4
- package/dist/cdn/LTOXWTO6.js +0 -4
- package/dist/cdn/MHERALSB.js +0 -4
- package/dist/cdn/N2HYKSZN.js +0 -4
- package/dist/cdn/N3UCR7B4.js +0 -4
- package/dist/cdn/N7QZNEIJ.js +0 -4
- package/dist/cdn/NAGYELAG.js +0 -4
- package/dist/cdn/NH4L7TUF.js +0 -4
- package/dist/cdn/PITGRP5J.js +0 -4
- package/dist/cdn/Q4LEDOCN.js +0 -4
- package/dist/cdn/QGSP733R.js +0 -4
- package/dist/cdn/QX4PFK5W.js +0 -4
- package/dist/cdn/R4OCIRWR.js +0 -4
- package/dist/cdn/RR5F3SPW.js +0 -4
- package/dist/cdn/RTEPILHE.js +0 -4
- package/dist/cdn/RYH4JLMG.js +0 -4
- package/dist/cdn/SVIUUV22.js +0 -4
- package/dist/cdn/T4FMPBKP.js +0 -4
- package/dist/cdn/T7AW36YP.js +0 -4
- package/dist/cdn/TC2TTTMU.js +0 -4
- package/dist/cdn/TE3QJZJW.js +0 -4
- package/dist/cdn/TQV4YCGY.js +0 -4
- package/dist/cdn/TUT5QPQJ.js +0 -4
- package/dist/cdn/TY2YZASD.js +0 -4
- package/dist/cdn/UOH2BTYV.js +0 -4
- package/dist/cdn/UQXB5REP.js +0 -4
- package/dist/cdn/UV5D3ZXY.js +0 -4
- package/dist/cdn/VENK34O7.js +0 -4
- package/dist/cdn/VGV6LYWI.js +0 -4
- package/dist/cdn/VRTJXWFO.js +0 -4
- package/dist/cdn/VT73N5VK.js +0 -4
- package/dist/cdn/VZX6PQA2.js +0 -4
- package/dist/cdn/W2EA6D3X.js +0 -4
- package/dist/cdn/WFTKJB4P.js +0 -4
- package/dist/cdn/WOY7XX7B.js +0 -4
- package/dist/cdn/XGXYIF65.js +0 -4
- package/dist/cdn/XJ6BZ6DU.js +0 -4
- package/dist/cdn/XV6MSZ6U.js +0 -4
- package/dist/cdn/YTBQINZ7.js +0 -4
- package/dist/cdn/ZEROK655.js +0 -4
- package/dist/cdn/ZH4LI6ZS.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 { css as M, html as r } from "lit";
|
|
3
|
+
import { ref as $ } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as N } from "lit/directives/keyed.js";
|
|
5
|
+
import L from "@arcgis/core/widgets/Bookmarks/BookmarksViewModel.js";
|
|
6
|
+
import { g as S } from "../../chunks/globalCss.js";
|
|
7
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
8
|
+
import { H as P } from "../../chunks/heading.js";
|
|
9
|
+
import { generateGuid as V } from "@arcgis/toolkit/string";
|
|
10
|
+
import { classes as x } from "@arcgis/toolkit/dom";
|
|
11
|
+
import { usePropertyChange as R } from "@arcgis/lumina/controllers";
|
|
12
|
+
import { m as q } from "../../chunks/useViewModel.js";
|
|
13
|
+
import { LitElement as H, createEvent as I, noShadowRoot as Z, safeClassMap as c, nothing as w } from "@arcgis/lumina";
|
|
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.70 */
|
|
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 = M`@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 = q(L);
|
|
128
|
+
class W extends H {
|
|
14
129
|
constructor() {
|
|
15
|
-
super(...arguments), this.
|
|
130
|
+
super(...arguments), this._guid = V(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = O({}), 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 = R()("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 = Z;
|
|
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>${P({ 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 N(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/toolkit/type';
|
|
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 {};
|