@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,13 +1,12 @@
|
|
|
1
1
|
import { c as k } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as a } from "lit
|
|
3
|
-
import { hasSameOrigin as
|
|
4
|
-
import { watch as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as f, html as a } from "lit";
|
|
3
|
+
import { hasSameOrigin as g } from "@arcgis/toolkit/url";
|
|
4
|
+
import { watch as v, whenOnce as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { LitElement as b, noShadowRoot as w, nothing as u, safeClassMap as c } from "@arcgis/lumina";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const x =
|
|
8
|
+
v4.34.0-next.70 */
|
|
9
|
+
const x = f`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`, d = "arcgis-print", m = {
|
|
11
10
|
exportedFile: `${d}__exported-file`,
|
|
12
11
|
exportedFileLinkTitle: `${d}__exported-file-link-title`,
|
|
13
12
|
exportedFileLinkDescription: `${d}__exported-file-link-description`
|
|
@@ -26,7 +25,7 @@ function _(l) {
|
|
|
26
25
|
function h(l, e) {
|
|
27
26
|
return !l || l === "all" || !!(e && l.includes(e));
|
|
28
27
|
}
|
|
29
|
-
class I extends
|
|
28
|
+
class I extends b {
|
|
30
29
|
constructor() {
|
|
31
30
|
super(...arguments), this._handleLinkClick = (e) => {
|
|
32
31
|
if (!e || e.state !== "ready" || !e.url)
|
|
@@ -46,17 +45,17 @@ class I extends $ {
|
|
|
46
45
|
this.styles = x;
|
|
47
46
|
}
|
|
48
47
|
static {
|
|
49
|
-
this.shadowRootOptions =
|
|
48
|
+
this.shadowRootOptions = w;
|
|
50
49
|
}
|
|
51
50
|
loaded() {
|
|
52
51
|
this.manager.onLifecycle(() => [
|
|
53
|
-
|
|
52
|
+
v(() => this.exportedLink.state, () => this.requestUpdate())
|
|
54
53
|
]);
|
|
55
54
|
}
|
|
56
55
|
render() {
|
|
57
|
-
const { messages: e, exportedLink: t } = this, { error: i, state:
|
|
56
|
+
const { messages: e, exportedLink: t } = this, { error: i, state: r } = t;
|
|
58
57
|
let s;
|
|
59
|
-
switch (
|
|
58
|
+
switch (r) {
|
|
60
59
|
case "pending":
|
|
61
60
|
s = e.pending;
|
|
62
61
|
break;
|
|
@@ -67,33 +66,33 @@ class I extends $ {
|
|
|
67
66
|
s = e.errorMessage;
|
|
68
67
|
break;
|
|
69
68
|
}
|
|
70
|
-
const
|
|
71
|
-
return a`<calcite-list-item .ariaLabel=${s} title=${
|
|
69
|
+
const n = r === "error" ? i?.name === "print-task:cim-symbol-unsupported" ? e.exportWebMapCIMError : e.exportWebMapError : "";
|
|
70
|
+
return a`<calcite-list-item .ariaLabel=${s} title=${n ?? u}>${this._renderExportedLinkItemContent(t, n)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t, n)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`;
|
|
72
71
|
}
|
|
73
72
|
_renderExportedLinkItemPopover(e) {
|
|
74
|
-
const t = this.messages, i = e.formattedName ?? "", { state:
|
|
75
|
-
return
|
|
76
|
-
const
|
|
77
|
-
if (!
|
|
73
|
+
const t = this.messages, i = e.formattedName ?? "", { state: r } = e, s = this.saveAsButtonCallback && r !== "error" && h(this.allowedFormatsForSaving, e.extension);
|
|
74
|
+
return r !== "pending" && s ? a`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${i}-popover-button`} scale=s><calcite-list label>${e.portalItem ? a`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${() => {
|
|
75
|
+
const n = e.portalItem;
|
|
76
|
+
if (!n?.itemPageUrl)
|
|
78
77
|
return;
|
|
79
78
|
const o = document.createElement("a");
|
|
80
|
-
o.target = "_blank", o.href =
|
|
79
|
+
o.target = "_blank", o.href = n.itemPageUrl, o.rel = "noreferrer", o.click();
|
|
81
80
|
}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>` : a`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async () => {
|
|
82
|
-
this.saveAsButtonCallback && (
|
|
83
|
-
|
|
81
|
+
this.saveAsButtonCallback && ($(() => e.portalItem).then((n) => {
|
|
82
|
+
n.itemPageUrl && this.requestUpdate();
|
|
84
83
|
}), await this.saveAsButtonCallback(e));
|
|
85
84
|
}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${() => this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>` : null;
|
|
86
85
|
}
|
|
87
86
|
_renderExportedLinkItemContent(e, t) {
|
|
88
|
-
const i = this.messages, { url:
|
|
89
|
-
return a`<div class=${c(m.exportedFile)} slot=content @click=${() => this._handleLinkClick(e)}><div><div class=${c(m.exportedFileLinkTitle)}>${
|
|
87
|
+
const i = this.messages, { url: r, state: s } = e, n = e.formattedName ?? "", p = g(r || null, document.location.href);
|
|
88
|
+
return a`<div class=${c(m.exportedFile)} slot=content @click=${() => this._handleLinkClick(e)}><div><div class=${c(m.exportedFileLinkTitle)}>${n}</div><div class=${c(m.exportedFileLinkDescription)}>${s === "pending" ? i.generatingExport : t || (p ? i.ready : i.linkReady)}</div></div>${s === "ready" ? a`<calcite-icon .ariaLabel=${`${n}. ${i.linkReady}`} .icon=${p ? "download-to" : "launch"} scale=s slot=content-end></calcite-icon>` : null}</div>`;
|
|
90
89
|
}
|
|
91
90
|
_renderExportedLinkItemIcon(e) {
|
|
92
91
|
return e.state === "pending" ? a`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>` : a`<calcite-icon .icon=${_(e)} scale=s slot=content-start></calcite-icon>`;
|
|
93
92
|
}
|
|
94
93
|
_renderExportedLinkItemAction(e, t) {
|
|
95
|
-
const { state: i } = e,
|
|
96
|
-
return i !== "pending" ? a`<calcite-action .ariaLabel=${t} .icon=${s ? "ellipsis" : "x"} id=${(s ? `${
|
|
94
|
+
const { state: i } = e, r = e.formattedName ?? "", s = this.saveAsButtonCallback && i !== "error" && h(this.allowedFormatsForSaving, e.extension);
|
|
95
|
+
return i !== "pending" ? a`<calcite-action .ariaLabel=${t} .icon=${s ? "ellipsis" : "x"} id=${(s ? `${r}-popover-button` : void 0) ?? u} @click=${s ? void 0 : () => {
|
|
97
96
|
this.viewModel.exportedLinks.remove(e);
|
|
98
97
|
}} slot=actions-end .text=${t}></calcite-action>` : null;
|
|
99
98
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { Formats } from '../arcgis-print/
|
|
4
|
+
import { Formats } from '../arcgis-print/types';
|
|
5
5
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as i } from "lit
|
|
3
|
-
import { classes as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as r, html as i } from "lit";
|
|
3
|
+
import { classes as c } from "@arcgis/toolkit/dom";
|
|
4
|
+
import { LitElement as p, safeClassMap as n } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const d =
|
|
7
|
+
v4.34.0-next.70 */
|
|
8
|
+
const d = r`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`, e = "arcgis-print", t = {
|
|
10
9
|
exportSection: `${e}__export-section`,
|
|
11
10
|
panelContainer: `${e}__panel-container`,
|
|
12
11
|
exportedFilesEmpty: `${e}__exported-files-empty`,
|
|
13
12
|
exportedFilesTitle: `${e}__export-title`,
|
|
14
13
|
exportSectionCentered: `${e}__export-section--centered`
|
|
15
14
|
};
|
|
16
|
-
class
|
|
15
|
+
class x extends p {
|
|
17
16
|
static {
|
|
18
17
|
this.properties = { saveAsButtonCallback: 0, viewModel: 0, messages: 0, allowedFormatsForSaving: 1 };
|
|
19
18
|
}
|
|
@@ -24,13 +23,13 @@ class m extends c {
|
|
|
24
23
|
this.manager.onLifecycle(() => [this.viewModel.exportedLinks.on("change", () => this.requestUpdate())]);
|
|
25
24
|
}
|
|
26
25
|
render() {
|
|
27
|
-
const s = this.viewModel.exportedLinks,
|
|
26
|
+
const s = this.viewModel.exportedLinks, o = {
|
|
28
27
|
[t.exportSectionCentered]: !s.length
|
|
29
28
|
};
|
|
30
|
-
return i`<section class=${
|
|
29
|
+
return i`<section class=${n(c(t.exportSection, o))} role=tabpanel><div class=${n(t.panelContainer)}>${s.length === 0 ? i`<div class=${n(t.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${n(t.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>` : i`<calcite-list .filterEnabled=${s.length > 10} .label=${this.messages.exportedLinksList}>${s.map((a) => i`<arcgis-print-exported-link .exportedLink=${a} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
l("arcgis-print-exports-panel",
|
|
32
|
+
l("arcgis-print-exports-panel", x);
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
x as PrintExportsPanel
|
|
36
35
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { FileFormat } from '../arcgis-print/
|
|
4
|
+
import { FileFormat } from '../arcgis-print/types';
|
|
5
5
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as i } from "lit
|
|
3
|
-
import { keyed as r } from "lit
|
|
2
|
+
import { html as i } from "lit";
|
|
3
|
+
import { keyed as r } from "lit/directives/keyed.js";
|
|
4
4
|
import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as n, noShadowRoot as p } from "@arcgis/lumina";
|
|
6
6
|
import { f as c } from "../../chunks/utils.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.70 */
|
|
10
10
|
class d extends n {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this._formats = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as t } from "lit
|
|
3
|
-
import { keyed as i } from "lit
|
|
2
|
+
import { css as n, html as t } from "lit";
|
|
3
|
+
import { keyed as i } from "lit/directives/keyed.js";
|
|
4
4
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import {
|
|
7
|
-
import { u as l } from "../../chunks/useHandles.js";
|
|
5
|
+
import { LitElement as o, safeClassMap as l } from "@arcgis/lumina";
|
|
6
|
+
import { u as r } from "../../chunks/useHandles.js";
|
|
8
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
11
|
-
const c =
|
|
9
|
+
v4.34.0-next.70 */
|
|
10
|
+
const c = n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, h = "arcgis-print", p = {
|
|
12
11
|
advancedOptionsContainer: `${h}__advanced-options-container`
|
|
13
12
|
};
|
|
14
|
-
class d extends
|
|
13
|
+
class d extends o {
|
|
15
14
|
constructor() {
|
|
16
|
-
super(...arguments), this._handles =
|
|
15
|
+
super(...arguments), this._handles = r("disconnect");
|
|
17
16
|
}
|
|
18
17
|
static {
|
|
19
18
|
this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, viewModel: 0, messages: 0 };
|
|
@@ -37,7 +36,7 @@ class d extends n {
|
|
|
37
36
|
]);
|
|
38
37
|
}
|
|
39
38
|
render() {
|
|
40
|
-
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${
|
|
39
|
+
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${l(p.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`;
|
|
41
40
|
}
|
|
42
41
|
_renderScaleSection() {
|
|
43
42
|
return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
@@ -9,10 +9,4 @@ export declare class PrintLayoutPanel extends LitElement {
|
|
|
9
9
|
messages: ArcgisPrint["messages"];
|
|
10
10
|
showTemplateSelector: () => void;
|
|
11
11
|
selectExportsTab: () => void;
|
|
12
|
-
arcgisSubmit: EventEmitter<{
|
|
13
|
-
link: __esri.FileLink;
|
|
14
|
-
}>;
|
|
15
|
-
arcgisComplete: EventEmitter<{
|
|
16
|
-
link: __esri.FileLink;
|
|
17
|
-
}>;
|
|
18
12
|
}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as e } from "lit
|
|
3
|
-
import { classes as
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as c, html as e } from "lit";
|
|
3
|
+
import { classes as p } from "@arcgis/toolkit/dom";
|
|
4
4
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
5
|
+
import { LitElement as d, safeClassMap as i } from "@arcgis/lumina";
|
|
7
6
|
import { u as m } from "../../chunks/useHandles.js";
|
|
8
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
11
|
-
const h =
|
|
9
|
+
v4.34.0-next.70 */
|
|
10
|
+
const h = c`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}`, a = "arcgis-print", s = {
|
|
12
11
|
advancedOptionsSection: `${a}__advanced-options-section`,
|
|
13
12
|
layoutSection: `${a}__layout-section`,
|
|
14
13
|
panelContainer: `${a}__panel-container`
|
|
15
14
|
};
|
|
16
|
-
class u extends
|
|
15
|
+
class u extends d {
|
|
17
16
|
constructor() {
|
|
18
17
|
super(...arguments), this._handles = m("disconnect");
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0
|
|
20
|
+
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
|
|
22
21
|
}
|
|
23
22
|
static {
|
|
24
23
|
this.styles = h;
|
|
@@ -38,9 +37,9 @@ class u extends p {
|
|
|
38
37
|
_renderTitleInput() {
|
|
39
38
|
if (!this._showSelectedTemplateTitleText)
|
|
40
39
|
return null;
|
|
41
|
-
const { title: t, titlePlaceHolder:
|
|
42
|
-
return e`<calcite-label>${t}<calcite-input .placeholder=${
|
|
43
|
-
this.viewModel.templateOptions.title =
|
|
40
|
+
const { title: t, titlePlaceHolder: n } = this.messages;
|
|
41
|
+
return e`<calcite-label>${t}<calcite-input .placeholder=${n} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(o) => {
|
|
42
|
+
this.viewModel.templateOptions.title = o.currentTarget.value;
|
|
44
43
|
}}></calcite-input></calcite-label>`;
|
|
45
44
|
}
|
|
46
45
|
_renderTemplateSelect() {
|
|
@@ -50,13 +49,13 @@ class u extends p {
|
|
|
50
49
|
return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
51
50
|
}
|
|
52
51
|
_renderAdvancedSection() {
|
|
53
|
-
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(
|
|
52
|
+
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(p(s.panelContainer, s.advancedOptionsSection))} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
|
|
54
53
|
}
|
|
55
54
|
_renderExportButton() {
|
|
56
|
-
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}
|
|
55
|
+
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
|
|
58
|
+
r("arcgis-print-layout-panel", u);
|
|
60
59
|
export {
|
|
61
60
|
u as PrintLayoutPanel
|
|
62
61
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
|
-
import { Formats } from '../arcgis-print/
|
|
5
|
+
import { Formats } from '../arcgis-print/types';
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class PrintMainPanel extends LitElement {
|
|
@@ -11,10 +11,4 @@ export declare class PrintMainPanel extends LitElement {
|
|
|
11
11
|
messages: ArcgisPrint["messages"];
|
|
12
12
|
showTemplateSelector: () => void;
|
|
13
13
|
allowedFormatsForSaving?: Formats;
|
|
14
|
-
arcgisSubmit: EventEmitter<{
|
|
15
|
-
link: __esri.FileLink;
|
|
16
|
-
}>;
|
|
17
|
-
arcgisComplete: EventEmitter<{
|
|
18
|
-
link: __esri.FileLink;
|
|
19
|
-
}>;
|
|
20
14
|
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as a } from "lit
|
|
2
|
+
import { css as l, html as a } from "lit";
|
|
3
3
|
import { LitElement as i } from "@arcgis/lumina";
|
|
4
|
-
import { i as
|
|
5
|
-
import { css as o } from "@lit/reactive-element/css-tag.js";
|
|
4
|
+
import { i as o } from "../../chunks/utils.js";
|
|
6
5
|
import { u as c } from "../../chunks/useHandles.js";
|
|
7
|
-
import { watch as
|
|
6
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
11
|
-
const p =
|
|
12
|
-
class
|
|
9
|
+
v4.34.0-next.70 */
|
|
10
|
+
const p = l`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
11
|
+
class r extends i {
|
|
13
12
|
constructor() {
|
|
14
13
|
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1;
|
|
15
14
|
}
|
|
16
15
|
static {
|
|
17
|
-
this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1
|
|
16
|
+
this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
|
|
18
17
|
}
|
|
19
18
|
static {
|
|
20
19
|
this.styles = p;
|
|
@@ -22,7 +21,7 @@ class n extends i {
|
|
|
22
21
|
loaded() {
|
|
23
22
|
this.manager.onLifecycle(() => [
|
|
24
23
|
this.viewModel.exportedLinks.on("change", () => {
|
|
25
|
-
this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) =>
|
|
24
|
+
this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => n(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
|
|
26
25
|
})
|
|
27
26
|
]);
|
|
28
27
|
}
|
|
@@ -40,14 +39,14 @@ class n extends i {
|
|
|
40
39
|
this._updatePrevLayoutTemplateId(), this._selectedTab = "exports";
|
|
41
40
|
}
|
|
42
41
|
_updatePrevLayoutTemplateId() {
|
|
43
|
-
!
|
|
42
|
+
!o(this.viewModel.templateOptions.layout) && this.viewModel.templateOptions.id && (this._prevLayoutTemplateId = this.viewModel.templateOptions.id);
|
|
44
43
|
}
|
|
45
44
|
render() {
|
|
46
45
|
const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
|
|
47
|
-
return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}
|
|
46
|
+
return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`;
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
|
-
s("arcgis-print-main-panel",
|
|
49
|
+
s("arcgis-print-main-panel", r);
|
|
51
50
|
export {
|
|
52
|
-
|
|
51
|
+
r as PrintMainPanel
|
|
53
52
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as e } from "lit
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { css as a } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as s, html as e } from "lit";
|
|
3
|
+
import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
5
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
const r =
|
|
6
|
+
v4.34.0-next.70 */
|
|
7
|
+
const r = s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
9
8
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
10
9
|
};
|
|
11
|
-
class l extends
|
|
10
|
+
class l extends n {
|
|
12
11
|
static {
|
|
13
12
|
this.properties = { viewModel: 0, messages: 0 };
|
|
14
13
|
}
|
|
@@ -19,7 +18,7 @@ class l extends s {
|
|
|
19
18
|
this.manager.onLifecycle(() => []);
|
|
20
19
|
}
|
|
21
20
|
render() {
|
|
22
|
-
return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${
|
|
21
|
+
return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${a(o.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`;
|
|
23
22
|
}
|
|
24
23
|
_renderScaleSection() {
|
|
25
24
|
return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
@@ -8,10 +8,4 @@ export declare class PrintMapOnlyPanel extends LitElement {
|
|
|
8
8
|
viewModel: __esri.PrintViewModel;
|
|
9
9
|
messages: ArcgisPrint["messages"];
|
|
10
10
|
selectExportsTab: () => void;
|
|
11
|
-
arcgisSubmit: EventEmitter<{
|
|
12
|
-
link: __esri.FileLink;
|
|
13
|
-
}>;
|
|
14
|
-
arcgisComplete: EventEmitter<{
|
|
15
|
-
link: __esri.FileLink;
|
|
16
|
-
}>;
|
|
17
11
|
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import { classes as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as c, html as i } from "lit";
|
|
3
|
+
import { classes as l } from "@arcgis/toolkit/dom";
|
|
4
|
+
import { LitElement as p, safeClassMap as s } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const d =
|
|
10
|
-
advancedOptionsSection: `${
|
|
11
|
-
mapOnlySection: `${
|
|
12
|
-
panelContainer: `${
|
|
13
|
-
sizeContainer: `${
|
|
14
|
-
swapButton: `${
|
|
7
|
+
v4.34.0-next.70 */
|
|
8
|
+
const d = c`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, n = "arcgis-print", a = {
|
|
9
|
+
advancedOptionsSection: `${n}__advanced-options-section`,
|
|
10
|
+
mapOnlySection: `${n}__map-only-section`,
|
|
11
|
+
panelContainer: `${n}__panel-container`,
|
|
12
|
+
sizeContainer: `${n}__size-container`,
|
|
13
|
+
swapButton: `${n}__swap-button`
|
|
15
14
|
};
|
|
16
|
-
class m extends
|
|
15
|
+
class m extends p {
|
|
17
16
|
static {
|
|
18
|
-
this.properties = { viewModel: 0, messages: 0, selectExportsTab: 0
|
|
17
|
+
this.properties = { viewModel: 0, messages: 0, selectExportsTab: 0 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
20
|
this.styles = d;
|
|
@@ -24,19 +23,25 @@ class m extends o {
|
|
|
24
23
|
this.manager.onLifecycle(() => []);
|
|
25
24
|
}
|
|
26
25
|
render() {
|
|
27
|
-
return
|
|
26
|
+
return i`<section class=${s(a.mapOnlySection)} role=tabpanel><div class=${s(a.panelContainer)}>${this._renderFileNameInput()}${this._renderFileFormatSection()}${this._renderSizeSection()}${this._renderAdvancedSection()}${this._renderExportButton()}</div></section>`;
|
|
28
27
|
}
|
|
29
28
|
_renderFileNameInput() {
|
|
30
|
-
const { fileName:
|
|
31
|
-
return
|
|
32
|
-
this.viewModel.templateOptions.fileName =
|
|
29
|
+
const { fileName: t, fileNamePlaceHolder: e } = this.messages;
|
|
30
|
+
return i`<calcite-label>${t}<calcite-input .placeholder=${e} .value=${this.viewModel.templateOptions.fileName ?? ""} @calciteInputInput=${(r) => {
|
|
31
|
+
this.viewModel.templateOptions.fileName = r.currentTarget.value;
|
|
33
32
|
}}></calcite-input></calcite-label>`;
|
|
34
33
|
}
|
|
35
34
|
_renderFileFormatSection() {
|
|
36
|
-
return
|
|
35
|
+
return i`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
37
36
|
}
|
|
38
37
|
_renderSizeSection() {
|
|
39
|
-
return
|
|
38
|
+
return i`<div><div class=${s(l(a.sizeContainer))}><calcite-label>${this.messages.width}<calcite-input-number .value=${`${this.viewModel.templateOptions.width}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
39
|
+
const e = Number(t.target.value);
|
|
40
|
+
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.width = e : t.target.value = `${this.viewModel.templateOptions.width}`;
|
|
41
|
+
}}></calcite-input-number></calcite-label><calcite-label>${this.messages.height}<calcite-input-number .value=${`${this.viewModel.templateOptions.height}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
42
|
+
const e = Number(t.target.value);
|
|
43
|
+
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.height = e : t.target.value = `${this.viewModel.templateOptions.height}`;
|
|
44
|
+
}}></calcite-input-number></calcite-label><div class=${s(a.swapButton)}><calcite-button icon-start=arrow-right-left .label=${this.messages.swap} appearance=transparent kind=neutral @click=${() => {
|
|
40
45
|
[this.viewModel.templateOptions.width, this.viewModel.templateOptions.height] = [
|
|
41
46
|
this.viewModel.templateOptions.height,
|
|
42
47
|
this.viewModel.templateOptions.width
|
|
@@ -44,13 +49,13 @@ class m extends o {
|
|
|
44
49
|
}}></calcite-button></div></div><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`;
|
|
45
50
|
}
|
|
46
51
|
_renderAdvancedSection() {
|
|
47
|
-
return
|
|
52
|
+
return i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${s(l(a.panelContainer, a.advancedOptionsSection))} collapsible .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
|
|
48
53
|
}
|
|
49
54
|
_renderExportButton() {
|
|
50
|
-
return
|
|
55
|
+
return i`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
51
56
|
}
|
|
52
57
|
}
|
|
53
|
-
|
|
58
|
+
o("arcgis-print-map-only-panel", m);
|
|
54
59
|
export {
|
|
55
60
|
m as PrintMapOnlyPanel
|
|
56
61
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|