@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.50
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/26R2YV3B.js +4 -0
- package/dist/cdn/2CQONIL2.js +4 -0
- package/dist/cdn/2GI6YQEI.js +4 -0
- package/dist/cdn/2H5QL6X7.js +4 -0
- package/dist/cdn/{JE6AJOV2.js → 2OQ6OXJG.js} +2 -2
- package/dist/cdn/2V6QW57Y.js +4 -0
- package/dist/cdn/{RNMVFT5P.js → 2WB3VDBK.js} +1 -1
- package/dist/cdn/34V6FFLC.js +4 -0
- package/dist/cdn/3IUDGD65.js +4 -0
- package/dist/cdn/3KFRZNJE.js +4 -0
- package/dist/cdn/3Q5GWAOH.js +4 -0
- package/dist/cdn/{UKUTVSTC.js → 3TNNWTAT.js} +2 -2
- package/dist/cdn/3TQU7RFR.js +4 -0
- package/dist/cdn/4CYKZL33.js +4 -0
- package/dist/cdn/{BNUZVD5L.js → 4DUQHI6P.js} +2 -2
- package/dist/cdn/4ISQY7KF.js +4 -0
- package/dist/cdn/4JDOUOBV.js +4 -0
- package/dist/cdn/4TO2R3SL.js +4 -0
- package/dist/cdn/4YWQ66WB.js +4 -0
- package/dist/cdn/{54VGZGQT.js → 5GSDGHZ3.js} +2 -2
- package/dist/cdn/5KHZOBUA.js +4 -0
- package/dist/cdn/5KNUYIJ6.js +4 -0
- package/dist/cdn/5QDRURVW.js +4 -0
- package/dist/cdn/{FCPVKFF7.js → 5TSGKVAP.js} +2 -2
- package/dist/cdn/5V4YSXEX.js +4 -0
- package/dist/cdn/5VMYC2HB.js +4 -0
- package/dist/cdn/5YKVZEXB.js +4 -0
- package/dist/cdn/62KIHSAJ.js +4 -0
- package/dist/cdn/67DILXT3.js +4 -0
- package/dist/cdn/6DGB7FVP.js +4 -0
- package/dist/cdn/6DNNBLTS.js +4 -0
- package/dist/cdn/{Z5OKVV3T.js → 6FRZKVET.js} +2 -2
- package/dist/cdn/6FTO5TUV.js +4 -0
- package/dist/cdn/6ILWU6S2.js +4 -0
- package/dist/cdn/6LSEPDH5.js +4 -0
- package/dist/cdn/6UE2J3H3.js +4 -0
- package/dist/cdn/6UXIXOUF.js +4 -0
- package/dist/cdn/{CY2ZUEMG.js → 75KMGR2T.js} +2 -2
- package/dist/cdn/7ADE73RA.js +4 -0
- package/dist/cdn/7GIELD22.js +4 -0
- package/dist/cdn/7XPT54JR.js +4 -0
- package/dist/cdn/7ZR5PR2L.js +4 -0
- package/dist/cdn/A5VWDFHE.js +4 -0
- package/dist/cdn/AHBYJOVM.js +4 -0
- package/dist/cdn/AI7PXAN4.js +4 -0
- package/dist/cdn/ALII4L6W.js +4 -0
- package/dist/cdn/APJD3H2R.js +4 -0
- package/dist/cdn/AUZ7N5WS.js +4 -0
- package/dist/cdn/AYGTXJXG.js +4 -0
- package/dist/cdn/B5N4VUXB.js +4 -0
- package/dist/cdn/BBPAZJHG.js +4 -0
- package/dist/cdn/BJ7DXLBG.js +4 -0
- package/dist/cdn/BQVV32YK.js +4 -0
- package/dist/cdn/BRFMXB22.js +4 -0
- package/dist/cdn/BU57WANH.js +4 -0
- package/dist/cdn/{RZWKYMUH.js → BUJKCBLN.js} +2 -2
- package/dist/cdn/BYIG4A56.js +4 -0
- package/dist/cdn/C2YRACL5.js +4 -0
- package/dist/cdn/C4PORT7A.js +4 -0
- package/dist/cdn/C5NTPG2J.js +4 -0
- package/dist/cdn/CCIJI4Q3.js +4 -0
- package/dist/cdn/CFCNUTV7.js +4 -0
- package/dist/cdn/CIAKNPGH.js +4 -0
- package/dist/cdn/CQM22ZVV.js +4 -0
- package/dist/cdn/D6EDBL24.js +4 -0
- package/dist/cdn/DA2JDIA5.js +4 -0
- package/dist/cdn/{HRVDXQJH.js → DDZSCFPP.js} +1 -1
- package/dist/cdn/{ZFZIGRGE.js → DL5QNAJH.js} +1 -1
- package/dist/cdn/DRS5TFL3.js +4 -0
- package/dist/cdn/ED2ELRSD.js +4 -0
- package/dist/cdn/EGHBXJIQ.js +4 -0
- package/dist/cdn/EMURL3M6.js +6 -0
- package/dist/cdn/ENYA3CUT.js +4 -0
- package/dist/cdn/EYYHLTDA.js +4 -0
- package/dist/cdn/EZRL6KFN.js +4 -0
- package/dist/cdn/FBDQXCVG.js +5 -0
- package/dist/cdn/FMJZJRW7.js +4 -0
- package/dist/cdn/FPW62K7V.js +4 -0
- package/dist/cdn/FVIXRTM5.js +4 -0
- package/dist/cdn/G2W42WVA.js +4 -0
- package/dist/cdn/G77RWWJ5.js +4 -0
- package/dist/cdn/GAAU3OGF.js +4 -0
- package/dist/cdn/GPA5ZUND.js +4 -0
- package/dist/cdn/GZ333KTW.js +4 -0
- package/dist/cdn/GZCPDM7J.js +4 -0
- package/dist/cdn/HQL7E2T6.js +4 -0
- package/dist/cdn/HT3JKPOI.js +4 -0
- package/dist/cdn/IAB4RRTE.js +4 -0
- package/dist/cdn/IUSN6HPI.js +4 -0
- package/dist/cdn/IZPSAWGI.js +4 -0
- package/dist/cdn/JFFZT22V.js +4 -0
- package/dist/cdn/JGO5DXAG.js +4 -0
- package/dist/cdn/JPGZ6LTV.js +4 -0
- package/dist/cdn/JYJEO4XX.js +4 -0
- package/dist/cdn/KNDCZL4P.js +4 -0
- package/dist/cdn/KWFOKKJP.js +4 -0
- package/dist/cdn/KWQEP3GX.js +4 -0
- package/dist/cdn/LB4VE6GE.js +4 -0
- package/dist/cdn/LFAAOP6W.js +4 -0
- package/dist/cdn/LGEEWJVV.js +4 -0
- package/dist/cdn/LKCFUBW7.js +4 -0
- package/dist/cdn/LKDVJARU.js +4 -0
- package/dist/cdn/LPIAWKJF.js +4 -0
- package/dist/cdn/LRWBSDZG.js +4 -0
- package/dist/cdn/MJAUREYK.js +4 -0
- package/dist/cdn/{4MRPFB2F.js → N7K24QHL.js} +2 -2
- package/dist/cdn/NBPRSKK7.js +4 -0
- package/dist/cdn/NM4L7QLO.js +4 -0
- package/dist/cdn/NN5DZJEE.js +4 -0
- package/dist/cdn/NNYT4CEU.js +4 -0
- package/dist/cdn/NPZSYTOT.js +4 -0
- package/dist/cdn/NWB2XYJW.js +4 -0
- package/dist/cdn/OFQCNUYO.js +4 -0
- package/dist/cdn/OGM4QM2V.js +4 -0
- package/dist/cdn/OPFMFHCU.js +4 -0
- package/dist/cdn/OSGGZ36A.js +4 -0
- package/dist/cdn/{AIJ5QKVL.js → OTWW4QVQ.js} +1 -1
- package/dist/cdn/P4ZV2W74.js +4 -0
- package/dist/cdn/PCQ7W5WT.js +4 -0
- package/dist/cdn/PCSSJZVF.js +4 -0
- package/dist/cdn/PVB3L6DK.js +4 -0
- package/dist/cdn/QAK5OEEC.js +4 -0
- package/dist/cdn/QBVLPPIJ.js +4 -0
- package/dist/cdn/QC56X3K3.js +4 -0
- package/dist/cdn/QCEJDAKG.js +4 -0
- package/dist/cdn/{LB4FJL6Z.js → QOIC3IV2.js} +2 -2
- package/dist/cdn/QVFHJC6H.js +4 -0
- package/dist/cdn/R3O37JLG.js +4 -0
- package/dist/cdn/R45G45E4.js +4 -0
- package/dist/cdn/R6K42OY3.js +4 -0
- package/dist/cdn/RCVY3GBR.js +4 -0
- package/dist/cdn/RNLSGN6H.js +4 -0
- package/dist/cdn/RR65BWBB.js +4 -0
- package/dist/cdn/RXSZD3FE.js +4 -0
- package/dist/cdn/RYW3GXMR.js +4 -0
- package/dist/cdn/S5MYJBHN.js +4 -0
- package/dist/cdn/SASHNNW5.js +4 -0
- package/dist/cdn/{QIELYIFC.js → SLRHUPQ2.js} +2 -2
- package/dist/cdn/SPJRFIG2.js +4 -0
- package/dist/cdn/SPRMAJ56.js +4 -0
- package/dist/cdn/SWTYYNLD.js +4 -0
- package/dist/cdn/SZMMDMHA.js +4 -0
- package/dist/cdn/T4CACD5U.js +4 -0
- package/dist/cdn/TQPCCDKQ.js +3 -0
- package/dist/cdn/TT5VTF6S.js +4 -0
- package/dist/cdn/TYMITYZ4.js +4 -0
- package/dist/cdn/TYUKFL7V.js +4 -0
- package/dist/cdn/UA2BRGBJ.js +4 -0
- package/dist/cdn/UFENVRBO.js +4 -0
- package/dist/cdn/UK5RXJ2E.js +4 -0
- package/dist/cdn/{5ZZR2J6N.js → UPRLADCM.js} +2 -2
- package/dist/cdn/UUZ5KPUV.js +4 -0
- package/dist/cdn/V2XEX63R.js +4 -0
- package/dist/cdn/V7EIWO6W.js +4 -0
- package/dist/cdn/{4GXYTGZZ.js → VCPKX6Y6.js} +1 -1
- package/dist/cdn/VGB2AEHQ.js +4 -0
- package/dist/cdn/VIEIBC7W.js +4 -0
- package/dist/cdn/VOKZINB7.js +4 -0
- package/dist/cdn/VOXJGYJJ.js +4 -0
- package/dist/cdn/VSO767QL.js +4 -0
- package/dist/cdn/VUFI4AOT.js +4 -0
- package/dist/cdn/W23WNNVI.js +4 -0
- package/dist/cdn/WCRDNJT5.js +4 -0
- package/dist/cdn/WDVXB57P.js +4 -0
- package/dist/cdn/WOCZMUK7.js +4 -0
- package/dist/cdn/WQSJK5WS.js +4 -0
- package/dist/cdn/X34P6RQS.js +4 -0
- package/dist/cdn/{EPS7HMFS.js → X4QWBI4I.js} +1 -1
- package/dist/cdn/XDG7JWMS.js +4 -0
- package/dist/cdn/XKAZZEMM.js +4 -0
- package/dist/cdn/XNFLRNSD.js +4 -0
- package/dist/cdn/XRWJG5LI.js +4 -0
- package/dist/cdn/XTK5JLGR.js +4 -0
- package/dist/cdn/YAMEYVQA.js +4 -0
- package/dist/cdn/YBP6R7CX.js +4 -0
- package/dist/cdn/YFCCMEVT.js +4 -0
- package/dist/cdn/YIAYHUYJ.js +4 -0
- package/dist/cdn/YNHG6MC2.js +4 -0
- package/dist/cdn/{V32WTVMP.js → YYBZPUPB.js} +1 -1
- package/dist/cdn/YYTCKFUT.js +4 -0
- package/dist/cdn/Z27CF6WG.js +4 -0
- package/dist/cdn/Z2AC2NOA.js +4 -0
- package/dist/cdn/Z5ZIY43G.js +4 -0
- package/dist/cdn/ZCRRAN4X.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/index.js +2 -2
- 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 +145 -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 +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -17
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +239 -82
- package/dist/components/arcgis-bookmarks/customElement.js +456 -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 +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +11 -10
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +30 -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 +19 -0
- package/dist/components/arcgis-feature-expression/customElement.js +241 -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 +7 -2
- 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 +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +576 -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-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +15 -16
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- 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 +17 -5
- package/dist/components/arcgis-locate/customElement.js +55 -56
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +55 -41
- 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 +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +3 -3
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- package/dist/components/arcgis-search/customElement.js +41 -38
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- 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 +77 -18
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +43 -44
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +38 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- 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 +52 -3
- package/dist/components/arcgis-weather/customElement.js +16 -17
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +11 -12
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1881 -586
- package/dist/docs/docs.json +1746 -818
- package/dist/docs/vscode.html-custom-data.json +252 -114
- package/dist/docs/web-types.json +559 -274
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +24 -18
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +22 -17
- package/dist/types/preact.d.ts +22 -17
- package/dist/types/react.d.ts +22 -17
- package/dist/types/stencil.d.ts +22 -17
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +6 -4
- package/dist/cdn/24BGG5B5.js +0 -4
- package/dist/cdn/2ABLOYUQ.js +0 -4
- package/dist/cdn/2MCSN6B6.js +0 -4
- package/dist/cdn/2O4Y7OHR.js +0 -4
- package/dist/cdn/2TWTTB4C.js +0 -4
- package/dist/cdn/2UUPIIJ2.js +0 -4
- package/dist/cdn/3JRMNN7J.js +0 -4
- package/dist/cdn/3PIZQW3M.js +0 -4
- package/dist/cdn/3TK75HC6.js +0 -4
- package/dist/cdn/4O62D3XH.js +0 -4
- package/dist/cdn/4WF35OVZ.js +0 -4
- package/dist/cdn/544SB4EK.js +0 -4
- package/dist/cdn/5AZ345NY.js +0 -4
- package/dist/cdn/5DVI4EBY.js +0 -4
- package/dist/cdn/64ECRPXA.js +0 -4
- package/dist/cdn/6CDNOZQF.js +0 -4
- package/dist/cdn/6SCGGHDS.js +0 -4
- package/dist/cdn/7LOOJUA4.js +0 -4
- package/dist/cdn/7Q2LH4TM.js +0 -4
- package/dist/cdn/7X5UWWAM.js +0 -4
- package/dist/cdn/A2GEUHD7.js +0 -4
- package/dist/cdn/BMYPLHTO.js +0 -4
- package/dist/cdn/BOBGF74Z.js +0 -4
- package/dist/cdn/CEY2DMIN.js +0 -4
- package/dist/cdn/CQG33CHS.js +0 -4
- package/dist/cdn/DB2RVFYE.js +0 -4
- package/dist/cdn/DCAIQVAC.js +0 -4
- package/dist/cdn/EDF5YBMS.js +0 -4
- package/dist/cdn/EE2WJOUL.js +0 -4
- package/dist/cdn/EFPP35S3.js +0 -4
- package/dist/cdn/ETTC3DDE.js +0 -4
- package/dist/cdn/EZXIFOKP.js +0 -4
- package/dist/cdn/FDO7BW3M.js +0 -4
- package/dist/cdn/FIIIUSQA.js +0 -4
- package/dist/cdn/FIQDTOHK.js +0 -4
- package/dist/cdn/FIRY4NWS.js +0 -4
- package/dist/cdn/FKYCCKL6.js +0 -4
- package/dist/cdn/G7FI7ZEJ.js +0 -4
- package/dist/cdn/GTFZYBLH.js +0 -4
- package/dist/cdn/H7WRFI2D.js +0 -4
- package/dist/cdn/HGHOHO2E.js +0 -4
- package/dist/cdn/HHKEZDYI.js +0 -4
- package/dist/cdn/HI5YGVEU.js +0 -4
- package/dist/cdn/HVHKTHJR.js +0 -4
- package/dist/cdn/I4UJICTJ.js +0 -4
- package/dist/cdn/IDRJHSB4.js +0 -4
- package/dist/cdn/INXLPBES.js +0 -4
- package/dist/cdn/IPSPJR6H.js +0 -4
- package/dist/cdn/J3TNLK3O.js +0 -4
- package/dist/cdn/JEGU6LY5.js +0 -4
- package/dist/cdn/JPHNAFYX.js +0 -4
- package/dist/cdn/JWHVUXI7.js +0 -4
- package/dist/cdn/JXEJ2FDT.js +0 -4
- package/dist/cdn/K667RV3F.js +0 -4
- package/dist/cdn/KHHWOKDH.js +0 -4
- package/dist/cdn/KWXFVL5O.js +0 -4
- package/dist/cdn/LNC2FBRF.js +0 -4
- package/dist/cdn/LX2VKBL5.js +0 -4
- package/dist/cdn/LZ4SDJU4.js +0 -4
- package/dist/cdn/M42LA7QJ.js +0 -4
- package/dist/cdn/MHF4R4QG.js +0 -4
- package/dist/cdn/MHXI4R7Q.js +0 -6
- package/dist/cdn/MT6FGRRO.js +0 -4
- package/dist/cdn/MTJFO22N.js +0 -4
- package/dist/cdn/MWH2P5CL.js +0 -4
- package/dist/cdn/MWRQZLPR.js +0 -4
- package/dist/cdn/MZJOI5UH.js +0 -4
- package/dist/cdn/O2E4MNME.js +0 -4
- package/dist/cdn/O7NRUX5I.js +0 -4
- package/dist/cdn/OLDX3JZA.js +0 -4
- package/dist/cdn/OMQCMWFC.js +0 -4
- package/dist/cdn/OQ4Q4IIJ.js +0 -4
- package/dist/cdn/OSKGVTTW.js +0 -4
- package/dist/cdn/OVXJMGHR.js +0 -4
- package/dist/cdn/P2BRHVAB.js +0 -4
- package/dist/cdn/PQ3OUY5L.js +0 -4
- package/dist/cdn/PVTCJ67N.js +0 -4
- package/dist/cdn/RC2PKLFD.js +0 -4
- package/dist/cdn/RLYPTZW6.js +0 -4
- package/dist/cdn/RRJG3CW4.js +0 -4
- package/dist/cdn/SRXUA5WQ.js +0 -4
- package/dist/cdn/T5RGPAAI.js +0 -4
- package/dist/cdn/TEBWJ3I7.js +0 -4
- package/dist/cdn/TISZTZQL.js +0 -4
- package/dist/cdn/UF2KELUQ.js +0 -4
- package/dist/cdn/UF5A7HCA.js +0 -4
- package/dist/cdn/UKX6JNY3.js +0 -4
- package/dist/cdn/UPUPF3OI.js +0 -4
- package/dist/cdn/V5FW6B4I.js +0 -4
- package/dist/cdn/VF2Y76QB.js +0 -4
- package/dist/cdn/W425S3CR.js +0 -4
- package/dist/cdn/WE4HRX3B.js +0 -4
- package/dist/cdn/X7HXAK7T.js +0 -4
- package/dist/cdn/XBWRLYN4.js +0 -4
- package/dist/cdn/XIHWMEJG.js +0 -4
- package/dist/cdn/YGTIT746.js +0 -4
- package/dist/cdn/YJLPPO4D.js +0 -4
- package/dist/cdn/YTVNHZ2T.js +0 -4
- package/dist/cdn/YZO4MONH.js +0 -4
- package/dist/cdn/ZPQ7DJV3.js +0 -4
|
@@ -6,7 +6,7 @@ import { PropertyValues } from 'lit';
|
|
|
6
6
|
import { useView } from '../../controllers/useView';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
|
|
9
|
-
type
|
|
9
|
+
type NavigationToggleState = "disabled" | "ready";
|
|
10
10
|
type NavigationMode = "pan" | "rotate";
|
|
11
11
|
type LayoutMode = "horizontal" | "vertical";
|
|
12
12
|
/**
|
|
@@ -16,7 +16,9 @@ type LayoutMode = "horizontal" | "vertical";
|
|
|
16
16
|
* to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
|
|
17
17
|
* right-click + drag pans the view.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* **Known limitations**
|
|
20
|
+
*
|
|
21
|
+
* Navigation Toggle is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
20
22
|
*
|
|
21
23
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-navigation-toggle/)
|
|
22
24
|
*/
|
|
@@ -36,29 +38,31 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
36
38
|
* @default "vertical"
|
|
37
39
|
*/
|
|
38
40
|
layout: LayoutMode;
|
|
39
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Replace localized message strings with your own strings.
|
|
43
|
+
*
|
|
44
|
+
* _**Note**: Individual message keys may change between releases._
|
|
45
|
+
*/
|
|
40
46
|
messageOverrides?: typeof this._messages._overrides;
|
|
41
47
|
/**
|
|
42
|
-
* The navigation mode of the view.
|
|
43
|
-
* possible values.
|
|
48
|
+
* The navigation mode of the view. The possible values:
|
|
44
49
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
48
|
-
* rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
50
|
+
* * `pan` - The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
51
|
+
* * `rotate` - The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
49
52
|
*
|
|
50
53
|
* @default "pan"
|
|
51
54
|
*/
|
|
52
55
|
navigationMode: NavigationMode;
|
|
53
56
|
/** @default "top-left" */
|
|
54
57
|
position: __esri.UIPosition;
|
|
55
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
58
60
|
*
|
|
59
|
-
* @
|
|
61
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
60
62
|
*/
|
|
61
|
-
|
|
63
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
64
|
+
/** The current state of the component. */
|
|
65
|
+
get state(): NavigationToggleState;
|
|
62
66
|
toggle(): Promise<void>;
|
|
63
67
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
64
68
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -2,29 +2,31 @@ import { c as p } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { usePropertyChange as d } from "@arcgis/lumina/controllers";
|
|
3
3
|
import { when as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { LitElement as g, createEvent as h, noShadowRoot as m, safeClassMap as v, nothing as r } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
5
|
+
import { css as u, html as y } from "lit";
|
|
6
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
7
7
|
import { u as f } from "../../chunks/useView.js";
|
|
8
|
-
import { g as
|
|
9
|
-
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
8
|
+
import { g as M } from "../../chunks/globalCss.js";
|
|
10
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
13
|
-
const $ = "arcgis-navigation-toggle",
|
|
11
|
+
v4.34.0-next.50 */
|
|
12
|
+
const $ = "arcgis-navigation-toggle", _ = {
|
|
14
13
|
base: $
|
|
15
|
-
},
|
|
16
|
-
class
|
|
14
|
+
}, w = u`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = { pan: "move", rotate: "rotate" };
|
|
15
|
+
class x extends g {
|
|
17
16
|
constructor() {
|
|
18
|
-
super(...arguments), this.view = f(this), this._messages =
|
|
17
|
+
super(...arguments), this.view = f(this), this._messages = b(), this._state = "disabled", this.icon = e.pan, this.layout = "vertical", this.navigationMode = "pan", this.position = "top-left", this.arcgisPropertyChange = d()("layout", "state"), this.arcgisReady = h();
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.properties = { icon: 1, label: 1, layout: 3, messageOverrides: 0, navigationMode: 3, position: 1, referenceElement: 1, state:
|
|
20
|
+
this.properties = { _state: 16, icon: 1, label: 1, layout: 3, messageOverrides: 0, navigationMode: 3, position: 1, referenceElement: 1, state: 35 };
|
|
22
21
|
}
|
|
23
22
|
static {
|
|
24
23
|
this.shadowRootOptions = m;
|
|
25
24
|
}
|
|
26
25
|
static {
|
|
27
|
-
this.styles =
|
|
26
|
+
this.styles = w;
|
|
27
|
+
}
|
|
28
|
+
get state() {
|
|
29
|
+
return this._state;
|
|
28
30
|
}
|
|
29
31
|
async toggle() {
|
|
30
32
|
this.state !== "disabled" && (this.navigationMode = this.navigationMode !== "pan" ? "pan" : "rotate");
|
|
@@ -36,7 +38,7 @@ class _ extends g {
|
|
|
36
38
|
const { view: t } = this;
|
|
37
39
|
return t?.ready && t?.type === "3d" ? "ready" : "disabled";
|
|
38
40
|
}, (t) => {
|
|
39
|
-
this.
|
|
41
|
+
this._state = t;
|
|
40
42
|
}, { sync: !0, initial: !0 })
|
|
41
43
|
]);
|
|
42
44
|
}
|
|
@@ -58,10 +60,10 @@ class _ extends g {
|
|
|
58
60
|
}
|
|
59
61
|
render() {
|
|
60
62
|
const { _messages: t, navigationMode: a, state: l } = this, s = t.pan ?? "", o = t.rotate ?? "", i = l === "disabled", n = a === "pan";
|
|
61
|
-
return
|
|
63
|
+
return y`<calcite-action-bar class=${v({ [_.base]: !0, [M.disabled]: i })} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${n} appearance=solid .disabled=${i} .icon=${e.pan} @click=${this._onPanClick} scale=s .text=${s} title=${s ?? r}></calcite-action><calcite-action .active=${!n} appearance=solid .disabled=${i} .icon=${e.rotate} @click=${this._onRotateClick} scale=s .text=${o} title=${o ?? r}></calcite-action></calcite-action-bar>`;
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
|
-
p("arcgis-navigation-toggle",
|
|
66
|
+
p("arcgis-navigation-toggle", x);
|
|
65
67
|
export {
|
|
66
|
-
|
|
68
|
+
x as ArcgisNavigationToggle
|
|
67
69
|
};
|
|
@@ -136,6 +136,11 @@ export declare class ArcgisOrientedImageryViewer extends LitElement {
|
|
|
136
136
|
orientedImageryLayerItemId?: string;
|
|
137
137
|
/** @default "bottom-left" */
|
|
138
138
|
position: __esri.UIPosition;
|
|
139
|
+
/**
|
|
140
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
141
|
+
*
|
|
142
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
143
|
+
*/
|
|
139
144
|
referenceElement?: ArcgisReferenceElement | string;
|
|
140
145
|
/**
|
|
141
146
|
* This property provides the location of an image pixel in Map coordinates when using map-image conversion tool.
|
|
@@ -4,10 +4,10 @@ import s from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
|
4
4
|
import r from "@arcgis/core/widgets/OrientedImageryViewer.js";
|
|
5
5
|
import { LitElement as o, createEvent as d, noShadowRoot as n } from "@arcgis/lumina";
|
|
6
6
|
import { m as l } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as g } from "
|
|
7
|
+
import { css as g } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.50 */
|
|
11
11
|
const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
@@ -12,6 +12,11 @@ import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgi
|
|
|
12
12
|
export declare class ArcgisPlacement extends LitElement {
|
|
13
13
|
/** @default "bottom-left" */
|
|
14
14
|
position: __esri.UIPosition;
|
|
15
|
+
/**
|
|
16
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
17
|
+
*
|
|
18
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
19
|
+
*/
|
|
15
20
|
referenceElement?: ArcgisReferenceElement | string;
|
|
16
21
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
17
22
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
2
|
import { g as i, r, d as n, a as o } from "../../chunks/component-utils.js";
|
|
3
3
|
import { LitElement as l, createEvent as a, noShadowRoot as c } from "@arcgis/lumina";
|
|
4
|
-
import { css as h } from "
|
|
4
|
+
import { css as h } from "lit";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.50 */
|
|
8
8
|
const d = h`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`;
|
|
9
9
|
class m extends l {
|
|
10
10
|
constructor() {
|
|
@@ -5,31 +5,29 @@ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/
|
|
|
5
5
|
import { Use } from '@arcgis/lumina/controllers';
|
|
6
6
|
import { HeadingLevel } from '../../support/heading';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
|
-
import { Formats } from './
|
|
8
|
+
import { Formats } from './types';
|
|
9
9
|
|
|
10
10
|
declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<PrintViewModel>) => PrintViewModel;
|
|
11
11
|
/**
|
|
12
|
-
* The Print
|
|
12
|
+
* The Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
|
|
13
13
|
* It takes advantage of server-side, high-quality, full cartographic print functionality using the ExportWebMap service of ArcGIS,
|
|
14
14
|
* which can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.
|
|
15
|
-
* The Print
|
|
15
|
+
* The Print component works with the [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) module, which generates a printer-ready version of the map.
|
|
16
16
|
*
|
|
17
|
-
* The Print
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* preserved. Use [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-TemplateOptions.html#scaleEnabled) to preserve scale
|
|
21
|
-
* instead.
|
|
17
|
+
* The Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](#printServiceUrl) property.
|
|
18
|
+
* The component can preserve map scale or map extent in the printout. By default, the map extent is preserved. Use
|
|
19
|
+
* [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-TemplateOptions.html#scaleEnabled) to preserve scale instead.
|
|
22
20
|
*
|
|
23
|
-
* The Print
|
|
21
|
+
* The Print component prints a localized date for all [layouts](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#layout)
|
|
24
22
|
* except `map-only`. If using a custom print service, then `customTextElements` are supported for each print
|
|
25
|
-
* template. Values found there will be populated in the Print
|
|
26
|
-
* be overwritten in the Print
|
|
23
|
+
* template. Values found there will be populated in the Print component under `Advanced options`. These values can
|
|
24
|
+
* be overwritten in the Print component UI, or programmatically using the
|
|
27
25
|
* [templateCustomTextElements](#templateCustomTextElements) property.
|
|
28
26
|
*
|
|
29
27
|
* For more information about printing with the `MAP_ONLY` layout, please see
|
|
30
28
|
* [exportOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#exportOptions).
|
|
31
29
|
*
|
|
32
|
-
* **Known
|
|
30
|
+
* **Known limitations**
|
|
33
31
|
*
|
|
34
32
|
* See [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) for a detailed list of known limitations.
|
|
35
33
|
*
|
|
@@ -44,9 +42,9 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
44
42
|
* const components = document.querySelectorAll("arcgis-print");
|
|
45
43
|
*
|
|
46
44
|
* const portal = new Portal({
|
|
47
|
-
* url: "https://
|
|
45
|
+
* url: "https://user.maps.arcgis.com/sharing",
|
|
48
46
|
* authMode: "immediate",
|
|
49
|
-
* authorizedCrossOriginDomains: ["https://
|
|
47
|
+
* authorizedCrossOriginDomains: ["https://user.maps.arcgis.com"],
|
|
50
48
|
* });
|
|
51
49
|
*
|
|
52
50
|
* components.forEach((component) => {
|
|
@@ -57,10 +55,24 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
57
55
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-print/)
|
|
58
56
|
*/
|
|
59
57
|
export declare class ArcgisPrint extends LitElement {
|
|
60
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether the component's header is hidden.
|
|
60
|
+
*
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
61
63
|
hideHeader: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`
|
|
66
|
+
* package anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
67
|
+
*
|
|
68
|
+
* See [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).
|
|
69
|
+
*/
|
|
62
70
|
referenceElement?: ArcgisReferenceElement | string;
|
|
63
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* The UI position of a component.
|
|
73
|
+
*
|
|
74
|
+
* @default "top-left"
|
|
75
|
+
*/
|
|
64
76
|
position: __esri.UIPosition;
|
|
65
77
|
/**
|
|
66
78
|
* Icon which represents the component.
|
|
@@ -92,16 +104,21 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
92
104
|
* @default "all"
|
|
93
105
|
*/
|
|
94
106
|
allowedLayouts: string | string[];
|
|
107
|
+
/** @internal */
|
|
95
108
|
browseTemplateButtonOnClick?: () => void;
|
|
109
|
+
/**
|
|
110
|
+
* Specifies the print output file format(s) that the user can select when saving the exported map printout.
|
|
111
|
+
* This property can take a string value or an array of string values.
|
|
112
|
+
*/
|
|
96
113
|
allowedFormatsForSaving?: Formats;
|
|
97
|
-
/** The collection of links exported from the Print
|
|
114
|
+
/** The collection of links exported from the Print component. */
|
|
98
115
|
exportedLinks: __esri.Collection<__esri.FileLink>;
|
|
99
116
|
/** This option allows passing extra parameters (in addition to [templateOptions](#templateOptions)) to the print (export webmap) requests. */
|
|
100
117
|
extraParameters: any;
|
|
101
118
|
/**
|
|
102
119
|
* Indicates the heading level to use for the "Exported files" text where users can
|
|
103
120
|
* access the exported map printout. By default, this text is rendered
|
|
104
|
-
* as a level 3 heading (e.g. `<h3>Exported files</h3>`). Depending on the
|
|
121
|
+
* as a level 3 heading (e.g. `<h3>Exported files</h3>`). Depending on the component's placement
|
|
105
122
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
106
123
|
* important for meeting accessibility standards.
|
|
107
124
|
*
|
|
@@ -120,23 +137,18 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
120
137
|
* @default false
|
|
121
138
|
*/
|
|
122
139
|
excludeOrganizationTemplates: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* The [spatial reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render
|
|
125
|
-
* the printed map on the server.
|
|
126
|
-
*
|
|
127
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#outSpatialReference)
|
|
128
|
-
*/
|
|
140
|
+
/** The [spatial reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render the printed map on the server. */
|
|
129
141
|
outSpatialReference: nullish | __esri.SpatialReference;
|
|
130
142
|
/**
|
|
131
143
|
* It is possible to search a specified portal instance's [locator services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-portal-to-geocode-addresses.htm).
|
|
132
144
|
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
133
|
-
* This is especially helpful when working with a [custom](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).
|
|
145
|
+
* This is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).
|
|
134
146
|
*
|
|
135
147
|
* If this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.
|
|
136
148
|
*/
|
|
137
149
|
portal: __esri.Portal;
|
|
138
150
|
/**
|
|
139
|
-
* The initial state of the print area toggle in the Print
|
|
151
|
+
* The initial state of the print area toggle in the Print component UI.
|
|
140
152
|
* When set to `true`, the print area toggle is enabled by default.
|
|
141
153
|
* When set to `false`, the print area toggle is disabled by default.
|
|
142
154
|
*
|
|
@@ -145,28 +157,30 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
145
157
|
showPrintAreaEnabled: boolean;
|
|
146
158
|
/**
|
|
147
159
|
* The URL of the REST endpoint of the Export Web Map Task.
|
|
148
|
-
*
|
|
160
|
+
* Defaults to the ArcGIS Online print service if this property is not specified.
|
|
161
|
+
* If the [portal](#portal) property is set, this property will use the portal's print service URL.
|
|
149
162
|
*/
|
|
150
163
|
printServiceUrl: string | nullish;
|
|
164
|
+
/** @internal */
|
|
151
165
|
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
152
166
|
/**
|
|
153
167
|
* An object containing an array of `customTextElements` name-value pair objects
|
|
154
168
|
* for each print template in a custom print service. Use this property to update
|
|
155
169
|
* the text for custom text elements on the page layout.
|
|
156
170
|
*
|
|
157
|
-
* The Print
|
|
171
|
+
* The Print component calls the `Get Layout Templates Info` task on the GPServer
|
|
158
172
|
* to discover possible `customTextElements` values for each template. The name of
|
|
159
173
|
* the task must match `Get Layout Templates Info`, templates must be published
|
|
160
174
|
* with `customTextElements`, and values must be strings. Values found there will be
|
|
161
|
-
* populated in the Print
|
|
162
|
-
* overwritten in the Print
|
|
175
|
+
* populated in the Print component under `Advanced options`. These values can be
|
|
176
|
+
* overwritten in the Print component UI, or programmatically using this property.
|
|
163
177
|
* To list all print templates available on the print service to see
|
|
164
178
|
* see which templates were published with `customTextElements`, use the
|
|
165
179
|
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#effectiveTemplateCustomTextElements)
|
|
166
180
|
* property.
|
|
167
181
|
*/
|
|
168
182
|
templateCustomTextElements: nullish | HashMap<HashMap<string>[]>;
|
|
169
|
-
/** Defines the layout template options used by the
|
|
183
|
+
/** Defines the layout template options used by the Print component to generate the print page. */
|
|
170
184
|
templateOptions: __esri.TemplateOptions;
|
|
171
185
|
/**
|
|
172
186
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -178,14 +192,16 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
178
192
|
* @default false
|
|
179
193
|
*/
|
|
180
194
|
autoDestroyDisabled: boolean;
|
|
181
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* Replace localized message strings with your own strings.
|
|
197
|
+
*
|
|
198
|
+
* _**Note**: Individual message keys may change between releases._
|
|
199
|
+
*/
|
|
182
200
|
messageOverrides?: typeof this.messages._overrides;
|
|
183
201
|
/** The component's default label. */
|
|
184
202
|
label?: string;
|
|
185
203
|
/**
|
|
186
|
-
* The
|
|
187
|
-
*
|
|
188
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#state)
|
|
204
|
+
* The state of the Print component.
|
|
189
205
|
*
|
|
190
206
|
* @default "disabled"
|
|
191
207
|
*/
|
|
@@ -198,12 +214,10 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
198
214
|
}>;
|
|
199
215
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
200
216
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
readonly arcgisSubmit: TargetedEvent<this,
|
|
205
|
-
link: __esri.FileLink;
|
|
206
|
-
}>;
|
|
217
|
+
/** Emitted when the component is complete. */
|
|
218
|
+
readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
|
|
219
|
+
/** Emitted when the component is submitted. */
|
|
220
|
+
readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
|
|
207
221
|
private messages: {
|
|
208
222
|
componentLabel: string;
|
|
209
223
|
title: string;
|
|
@@ -1,43 +1,48 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { classes as
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as h, html as i } from "lit";
|
|
3
|
+
import { classes as p } from "@arcgis/components-utils";
|
|
4
|
+
import m from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
5
|
+
import { LitElement as g, createEvent as w, noShadowRoot as v, safeClassMap as l } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as u } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { reEmitEvent as o } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
9
|
+
import { m as _ } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { g as n } from "../../chunks/globalCss.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
14
|
-
const
|
|
15
|
-
base:
|
|
16
|
-
headerTitle: `${
|
|
17
|
-
panelItemsCentered: `${
|
|
18
|
-
printWidgetContainer: `${
|
|
19
|
-
panelError: `${
|
|
20
|
-
},
|
|
21
|
-
|
|
13
|
+
v4.34.0-next.50 */
|
|
14
|
+
const M = h`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}}`, a = "arcgis-print", r = {
|
|
15
|
+
base: a,
|
|
16
|
+
headerTitle: `${a}__header-title`,
|
|
17
|
+
panelItemsCentered: `${a}__panel-items--centered`,
|
|
18
|
+
printWidgetContainer: `${a}__container`,
|
|
19
|
+
panelError: `${a}__panel--error`
|
|
20
|
+
}, T = _(m), c = (s) => {
|
|
21
|
+
if (!s)
|
|
22
|
+
return "all";
|
|
23
|
+
const e = typeof s == "string" ? s.split(",").map((t) => t.trim()).filter((t) => t) : [s];
|
|
24
|
+
return !e.length || e.includes("all") ? "all" : e;
|
|
25
|
+
};
|
|
26
|
+
class $ extends g {
|
|
22
27
|
constructor() {
|
|
23
|
-
super(...arguments), this.messages =
|
|
28
|
+
super(...arguments), this.messages = f({ blocking: !0 }), this.viewModel = T(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = u()("state"), this.arcgisReady = w(), this.arcgisComplete = o(() => this.viewModel, "complete"), this.arcgisSubmit = o(() => this.viewModel, "submit");
|
|
24
29
|
}
|
|
25
30
|
static {
|
|
26
|
-
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: 1, allowedLayouts: 1, browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
31
|
+
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: [1, { type: String, converter: c }], allowedLayouts: [1, { type: String, converter: c }], browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
27
32
|
}
|
|
28
33
|
static {
|
|
29
|
-
this.styles =
|
|
34
|
+
this.styles = M;
|
|
30
35
|
}
|
|
31
36
|
static {
|
|
32
|
-
this.shadowRootOptions =
|
|
37
|
+
this.shadowRootOptions = v;
|
|
33
38
|
}
|
|
34
39
|
async destroy() {
|
|
35
40
|
await this.manager.destroy(), this.viewModel.destroy();
|
|
36
41
|
}
|
|
37
42
|
loaded() {
|
|
38
43
|
this.manager.onLifecycle(() => []), this.viewModel.load();
|
|
39
|
-
const { height: e, width:
|
|
40
|
-
this.viewModel.templateOptions.width =
|
|
44
|
+
const { height: e, width: t } = this.viewModel.templateOptions;
|
|
45
|
+
this.viewModel.templateOptions.width = t || 800, this.viewModel.templateOptions.height = e || 1100;
|
|
41
46
|
}
|
|
42
47
|
_showTemplateSelector() {
|
|
43
48
|
this._showTemplates = !0;
|
|
@@ -47,24 +52,24 @@ class _ extends h {
|
|
|
47
52
|
}
|
|
48
53
|
render() {
|
|
49
54
|
const e = {
|
|
50
|
-
[
|
|
55
|
+
[r.panelItemsCentered]: this.viewModel.state === "initializing"
|
|
51
56
|
};
|
|
52
|
-
return
|
|
57
|
+
return i`<div class=${l(p(r.base, n.widget, n.panel, e))}>${this._renderPanel()}</div>`;
|
|
53
58
|
}
|
|
54
59
|
_renderPanel() {
|
|
55
|
-
return this.viewModel.state === "initializing" ?
|
|
60
|
+
return this.viewModel.state === "initializing" ? i`<calcite-loader label=loading scale=m></calcite-loader>` : i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${l(r.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
|
|
56
61
|
e.preventDefault(), this._showTemplates = !1;
|
|
57
62
|
}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`;
|
|
58
63
|
}
|
|
59
64
|
_renderPanelHeader() {
|
|
60
|
-
return this.hideHeader ? null :
|
|
65
|
+
return this.hideHeader ? null : i`<header class=${l(r.headerTitle)}>${this.messages.export}</header>`;
|
|
61
66
|
}
|
|
62
67
|
_renderPanelContent() {
|
|
63
|
-
const e = this.viewModel.view,
|
|
64
|
-
return !!this.error ||
|
|
68
|
+
const e = this.viewModel.view, t = e?.type !== "2d";
|
|
69
|
+
return !!this.error || t ? i`<div class=${l(r.panelError)}>${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
|
-
|
|
72
|
+
d("arcgis-print", $);
|
|
68
73
|
export {
|
|
69
|
-
|
|
74
|
+
$ as ArcgisPrint
|
|
70
75
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export type FileFormatJSON = "AIX" | "EPS" | "GIF" | "JPG" | "PDF" | "PNG8" | "PNG32" | "SVG" | "SVGZ" | "TIFF";
|
|
2
|
+
export type FileFormat = Lowercase<FileFormatJSON>;
|
|
3
|
+
export type LayoutTemplateJSON = "A3 Landscape" | "A3 Portrait" | "A4 Landscape" | "A4 Portrait" | "Letter ANSI A Landscape" | "Letter ANSI A Portrait" | "MAP_ONLY" | "Tabloid ANSI B Landscape" | "Tabloid ANSI B Portrait";
|
|
4
|
+
export type LayoutTemplate = "a3-landscape" | "a3-portrait" | "a4-landscape" | "a4-portrait" | "letter-ansi-a-landscape" | "letter-ansi-a-portrait" | "map-only" | "tabloid-ansi-b-landscape" | "tabloid-ansi-b-portrait";
|
|
5
|
+
export interface TemplateInfo<ValueType> {
|
|
6
|
+
choiceList: ValueType[];
|
|
7
|
+
defaultValue: ValueType;
|
|
8
|
+
}
|
|
9
|
+
export interface TemplatesInfo {
|
|
10
|
+
format: TemplateInfo<FileFormat>;
|
|
11
|
+
layout: TemplateInfo<LayoutTemplate>;
|
|
12
|
+
}
|
|
13
|
+
type Layout = string;
|
|
14
|
+
export type Layouts = Layout[] | "all";
|
|
15
|
+
type Format = string;
|
|
16
|
+
export type Formats = Format[] | "all";
|
|
17
|
+
export type State = "disabled" | "error" | "initializing" | "ready";
|
|
18
|
+
export type CustomTextElement = Record<string, string>;
|
|
19
|
+
export type TemplateCustomTextElements = Record<string, CustomTextElement[]>;
|
|
20
|
+
export interface MapSurroundInfo {
|
|
21
|
+
name: string;
|
|
22
|
+
type: "CIMGroupElement" | "CIMLegend" | "CIMMarkerNorthArrow" | "CIMScaleLine";
|
|
23
|
+
visible: boolean;
|
|
24
|
+
elements?: Omit<MapSurroundInfo, "elements">[];
|
|
25
|
+
}
|
|
26
|
+
export interface LayoutTemplateInfo {
|
|
27
|
+
layoutTemplate: string;
|
|
28
|
+
pageSize: [number, number];
|
|
29
|
+
pageUnits: string;
|
|
30
|
+
webMapFrameSize: [number, number];
|
|
31
|
+
layoutOptions: {
|
|
32
|
+
hasTitleText: boolean;
|
|
33
|
+
hasAuthorText: boolean;
|
|
34
|
+
hasCopyrightText: boolean;
|
|
35
|
+
hasLegend: boolean;
|
|
36
|
+
customTextElements: CustomTextElement[];
|
|
37
|
+
mapSurroundInfos: MapSurroundInfo[];
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { Nil } from '@arcgis/components-utils';
|
|
3
3
|
import { ArcgisPrint } from './customElement.js';
|
|
4
|
-
import { FileFormatJSON, LayoutTemplate, LayoutTemplateJSON } from './
|
|
4
|
+
import { FileFormatJSON, LayoutTemplate, LayoutTemplateJSON } from './types';
|
|
5
5
|
export declare const reArcGISOnlineDomain: RegExp;
|
|
6
6
|
export declare function isRTL(el?: HTMLElement | Nil): boolean;
|
|
7
7
|
export declare function getPageSizeLabel(template: __esri.CustomTemplate | Nil): string | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as n } from "lit
|
|
2
|
+
import { html as n } from "lit";
|
|
3
3
|
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { LitElement as u, noShadowRoot as p } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.50 */
|
|
8
8
|
class d extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|