@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
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as o } from "@arcgis/lumina/controllers";
|
|
3
|
-
import { reEmitEvent as
|
|
4
|
-
import
|
|
3
|
+
import { reEmitEvent as i } from "@arcgis/lumina/controllers/accessor";
|
|
4
|
+
import a from "@arcgis/core/layers/GraphicsLayer.js";
|
|
5
5
|
import n from "@arcgis/core/widgets/Sketch.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { m as
|
|
8
|
-
import { css as
|
|
6
|
+
import { LitElement as h, createEvent as d, noShadowRoot as r } from "@arcgis/lumina";
|
|
7
|
+
import { m as g } from "../../chunks/useWidget.js";
|
|
8
|
+
import { css as p } from "lit";
|
|
9
|
+
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
12
|
-
const
|
|
13
|
-
class
|
|
12
|
+
v4.34.0-next.50 */
|
|
13
|
+
const m = p`@layer{arcgis-sketch{display:block}}`, y = g(n);
|
|
14
|
+
class w extends h {
|
|
14
15
|
constructor() {
|
|
15
|
-
super(), this.widget =
|
|
16
|
+
super(), this.widget = y(this), this.viewModel = this.widget.viewModel, this._defaultGraphicsLayer = null, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideSelectionCountLabel = this.widget.visibleElements.selectionCountLabel, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.toolbarKind = this.widget.toolbarKind, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = i(() => this.widget, "create"), this.arcgisDelete = i(() => this.widget, "delete"), this.arcgisPropertyChange = o()("state"), this.arcgisReady = d(), this.arcgisRedo = i(() => this.widget, "redo"), this.arcgisUndo = i(() => this.widget, "undo"), this.arcgisUpdate = i(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
19
|
this.properties = { activeTool: 3, autoDestroyDisabled: 5, availableCreateTools: 0, createGraphic: 0, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, hideCreateToolsCircle: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, position: 1, referenceElement: 1, scale: 1, toolbarKind: 1, showSnappingControlsElementsHeader: 5, snappingOptions: 0, state: 3, tooltipOptions: 0, updateGraphics: 0 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.shadowRootOptions =
|
|
22
|
+
this.shadowRootOptions = r;
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
|
-
this.styles =
|
|
25
|
+
this.styles = m;
|
|
25
26
|
}
|
|
26
27
|
async cancel() {
|
|
27
28
|
this.widget?.cancel();
|
|
@@ -29,8 +30,8 @@ class m extends a {
|
|
|
29
30
|
async complete() {
|
|
30
31
|
this.widget?.complete();
|
|
31
32
|
}
|
|
32
|
-
async create(t,
|
|
33
|
-
await this.widget?.create(t,
|
|
33
|
+
async create(t, e) {
|
|
34
|
+
await this.widget?.create(t, e);
|
|
34
35
|
}
|
|
35
36
|
async delete() {
|
|
36
37
|
this.widget?.delete();
|
|
@@ -44,17 +45,24 @@ class m extends a {
|
|
|
44
45
|
async redo() {
|
|
45
46
|
this.widget?.redo();
|
|
46
47
|
}
|
|
47
|
-
async triggerUpdate(t,
|
|
48
|
-
this.widget?.update(t,
|
|
48
|
+
async triggerUpdate(t, e) {
|
|
49
|
+
this.widget?.update(t, e);
|
|
49
50
|
}
|
|
50
51
|
async undo() {
|
|
51
52
|
this.widget?.undo();
|
|
52
53
|
}
|
|
53
54
|
_arcgisReadyHandler() {
|
|
54
|
-
this.defaultGraphicsLayerDisabled || this.el.view?.map?.add(this.widget.layer)
|
|
55
|
+
this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer = new a({ title: "Sketch Layer" }), this.widget.layer = this._defaultGraphicsLayer, this.el.view?.map?.add(this.widget.layer), this.manager.onLifecycle(() => c(() => this.el.view?.map, (t, e) => {
|
|
56
|
+
if (this.widget.layer !== this._defaultGraphicsLayer)
|
|
57
|
+
return;
|
|
58
|
+
const s = this._defaultGraphicsLayer;
|
|
59
|
+
e?.allLayers.includes(s) && e.allLayers.remove(s), t?.add(s);
|
|
60
|
+
})), this.manager.onDestroy(() => {
|
|
61
|
+
this._defaultGraphicsLayer && this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.el.view?.map?.remove(this._defaultGraphicsLayer), this._defaultGraphicsLayer?.destroy(), this._defaultGraphicsLayer = null;
|
|
62
|
+
}));
|
|
55
63
|
}
|
|
56
64
|
}
|
|
57
|
-
|
|
65
|
+
l("arcgis-sketch", w);
|
|
58
66
|
export {
|
|
59
|
-
|
|
67
|
+
w as ArcgisSketch
|
|
60
68
|
};
|
|
@@ -30,7 +30,6 @@ declare class SliceViewModel extends AnalysisViewModel<SceneView, SliceAnalysis>
|
|
|
30
30
|
*/
|
|
31
31
|
get tiltEnabled(): boolean;
|
|
32
32
|
set tiltEnabled(enabled: boolean);
|
|
33
|
-
get layersMode(): LayersMode;
|
|
34
33
|
/**
|
|
35
34
|
* Add layers to this collection to exclude them from the slice. Layers that
|
|
36
35
|
* are draped on the ground surface are not affected by this property
|
|
@@ -8,28 +8,80 @@ import { HeadingLevel } from '../../support/heading';
|
|
|
8
8
|
|
|
9
9
|
declare const useSliceViewModel: (component: LitElement & Pick<SliceViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<SliceViewModel>) => SliceViewModel;
|
|
10
10
|
/**
|
|
11
|
-
* The Slice component is a 3D analysis tool that can be used to reveal occluded content in a
|
|
11
|
+
* The Slice component is a 3D analysis tool that can be used to reveal occluded content in a
|
|
12
|
+
* [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). It applies
|
|
12
13
|
* [slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)
|
|
13
14
|
* to any layer type, making it possible to see inside buildings or to explore geological surfaces.
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
17
|
+
*
|
|
18
|
+
* The slicing [shape](#shape)
|
|
16
19
|
* is always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).
|
|
17
20
|
* By default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set
|
|
18
|
-
* [tiltEnabled](
|
|
21
|
+
* [tiltEnabled](#tiltEnabled)
|
|
19
22
|
* to `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust
|
|
20
23
|
* the size, heading, tilt, and position of the slice plane.
|
|
21
24
|
* The [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)
|
|
22
|
-
* can be set or retrieved using the [shape](
|
|
25
|
+
* can be set or retrieved using the [shape](#shape) property.
|
|
23
26
|
*
|
|
24
27
|
* Once the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include
|
|
25
28
|
* columns and floor slabs, the inner structure of a building can investigated.
|
|
26
29
|
*
|
|
30
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
31
|
+
*
|
|
32
|
+
* Holding the `Shift` key while creating a new slice applies it vertically.
|
|
33
|
+
*
|
|
34
|
+
* **Known limitation**
|
|
35
|
+
*
|
|
36
|
+
* Slice is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
37
|
+
*
|
|
38
|
+
* **See also**
|
|
39
|
+
*
|
|
40
|
+
* - [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)
|
|
41
|
+
* - [Sample - BuildingSceneLayer with Slice component](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/)
|
|
42
|
+
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
43
|
+
*
|
|
27
44
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/)
|
|
28
45
|
*/
|
|
29
46
|
export declare class ArcgisSlice extends LitElement {
|
|
30
47
|
/**
|
|
31
|
-
* The [
|
|
32
|
-
*
|
|
48
|
+
* The [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)
|
|
49
|
+
* created or modified by the component.
|
|
50
|
+
*
|
|
51
|
+
* When connecting the Slice component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
52
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
53
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
54
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
55
|
+
*
|
|
56
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
57
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* // Create the analysis.
|
|
61
|
+
* const sliceAnalysis = new SliceAnalysis({
|
|
62
|
+
* shape: new SlicePlane({
|
|
63
|
+
* position: new Point({
|
|
64
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
65
|
+
* x: -13624925.727820931,
|
|
66
|
+
* y: 4550341.695170021,
|
|
67
|
+
* z: 56
|
|
68
|
+
* }),
|
|
69
|
+
* tilt: 270,
|
|
70
|
+
* width: 310,
|
|
71
|
+
* height: 190,
|
|
72
|
+
* heading: 45
|
|
73
|
+
* })
|
|
74
|
+
* });
|
|
75
|
+
* // Get the Scene and Slice component and wait until they are ready.
|
|
76
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
77
|
+
* await viewElement.viewOnReady();
|
|
78
|
+
* const slice = document.querySelector("arcgis-slice");
|
|
79
|
+
* await slice.componentOnReady();
|
|
80
|
+
* // Add the analysis to the Scene component.
|
|
81
|
+
* viewElement.analyses.add(sliceAnalysis);
|
|
82
|
+
* // Connect the analysis to the slice component:
|
|
83
|
+
* slice.analysis = sliceAnalysis;
|
|
84
|
+
* ```
|
|
33
85
|
*/
|
|
34
86
|
analysis: __esri.SliceAnalysis;
|
|
35
87
|
/**
|
|
@@ -66,15 +118,26 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
66
118
|
icon?: HTMLCalciteIconElement["icon"];
|
|
67
119
|
/** The component's default label. */
|
|
68
120
|
label?: string;
|
|
69
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Replace localized message strings with your own strings.
|
|
123
|
+
*
|
|
124
|
+
* _**Note**: Individual message keys may change between releases._
|
|
125
|
+
*/
|
|
70
126
|
messageOverrides?: typeof this._messages._overrides;
|
|
71
127
|
/** @default "bottom-left" */
|
|
72
128
|
position: __esri.UIPosition;
|
|
129
|
+
/**
|
|
130
|
+
* 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.
|
|
131
|
+
*
|
|
132
|
+
* @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)
|
|
133
|
+
*/
|
|
73
134
|
referenceElement?: ArcgisReferenceElement | string;
|
|
74
135
|
/**
|
|
75
|
-
* The shape used to slice elements in a 3D scene. Currently the only supported shape is a
|
|
76
|
-
*
|
|
77
|
-
*
|
|
136
|
+
* The shape used to slice elements in a 3D scene. Currently the only supported shape is a
|
|
137
|
+
* [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```js
|
|
78
141
|
* // Clone the shape to modify its properties
|
|
79
142
|
* const shape = slice.shape.clone();
|
|
80
143
|
* // Set new values for heading and tilt
|
|
@@ -93,7 +156,7 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
93
156
|
* * `slicing` - currently slicing
|
|
94
157
|
* * `sliced` - finished slicing
|
|
95
158
|
*/
|
|
96
|
-
state: "ready" | "disabled" | "excludingLayer" | "sliced" | "slicing";
|
|
159
|
+
readonly state: "ready" | "disabled" | "excludingLayer" | "sliced" | "slicing";
|
|
97
160
|
/**
|
|
98
161
|
* Enable tilting the slice shape. If set to true, the slice shape will orient itself as best as
|
|
99
162
|
* possible to the surface under the cursor when first placing the shape. If set to false, the slice shape is
|
|
@@ -103,17 +166,13 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
103
166
|
*/
|
|
104
167
|
tiltEnabled: boolean;
|
|
105
168
|
/**
|
|
106
|
-
* Clear the [shape](
|
|
107
|
-
*
|
|
108
|
-
* and [excludeGroundSurface](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludeGroundSurface) are not modified.
|
|
169
|
+
* Clear the [shape](#shape) of the slice, effectively removing it from the view. Other properties like [excludedLayers](#excludedLayers)
|
|
170
|
+
* and [excludeGroundSurface](#excludeGroundSurface) are not modified.
|
|
109
171
|
*/
|
|
110
172
|
clear(): Promise<void>;
|
|
111
173
|
/** Permanently destroy the component. */
|
|
112
174
|
destroy(): Promise<void>;
|
|
113
|
-
/**
|
|
114
|
-
* Start the interactive creation of a new slice, clearing the previous
|
|
115
|
-
* [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape).
|
|
116
|
-
*/
|
|
175
|
+
/** Start the interactive creation of a new slice, clearing the previous [shape](#shape). */
|
|
117
176
|
start(): Promise<void>;
|
|
118
177
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
119
178
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as r } from "lit
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as E } from "@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as w, html as r } from "lit";
|
|
3
|
+
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { LitElement as b, createEvent as S, noShadowRoot as M, safeClassMap as a, nothing as E } from "@arcgis/lumina";
|
|
6
5
|
import { m as C } from "../../chunks/useViewModel.js";
|
|
7
6
|
import { A as k } from "../../chunks/AnalysisViewModel.js";
|
|
8
7
|
import V from "@arcgis/core/analysis/SliceAnalysis.js";
|
|
9
|
-
import { property as
|
|
8
|
+
import { property as h, subclass as G } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
10
9
|
import { u as A } from "../../chunks/useT9n.js";
|
|
11
10
|
import { ignoreAbortErrors as T } from "@arcgis/core/core/promiseUtils.js";
|
|
12
11
|
import { H as D } from "../../chunks/heading.js";
|
|
@@ -14,12 +13,12 @@ import { g as m } from "../../chunks/globalCss.js";
|
|
|
14
13
|
import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
17
|
-
v4.34.0-next.
|
|
18
|
-
const O =
|
|
19
|
-
var B = Object.defineProperty, P = Object.getOwnPropertyDescriptor, o = (e, i, t,
|
|
20
|
-
for (var c =
|
|
21
|
-
(
|
|
22
|
-
return
|
|
16
|
+
v4.34.0-next.50 */
|
|
17
|
+
const O = w`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`;
|
|
18
|
+
var B = Object.defineProperty, P = Object.getOwnPropertyDescriptor, o = (e, i, t, d) => {
|
|
19
|
+
for (var c = d > 1 ? void 0 : d ? P(i, t) : i, u = e.length - 1, y; u >= 0; u--)
|
|
20
|
+
(y = e[u]) && (c = (d ? y(i, t, c) : y(c)) || c);
|
|
21
|
+
return d && c && B(i, t, c), c;
|
|
23
22
|
};
|
|
24
23
|
const g = /* @__PURE__ */ new Set();
|
|
25
24
|
let n = class extends k {
|
|
@@ -48,7 +47,7 @@ let n = class extends k {
|
|
|
48
47
|
g.delete(this);
|
|
49
48
|
}
|
|
50
49
|
get state() {
|
|
51
|
-
return this.disabled || !this.ready ? "disabled" : this.
|
|
50
|
+
return this.disabled || !this.ready ? "disabled" : this._excludingLayers ? "excludingLayer" : this.operationState === "active" ? "slicing" : this.analysis.valid ? "sliced" : "ready";
|
|
52
51
|
}
|
|
53
52
|
get shape() {
|
|
54
53
|
return this.analysis.shape;
|
|
@@ -62,9 +61,6 @@ let n = class extends k {
|
|
|
62
61
|
set tiltEnabled(e) {
|
|
63
62
|
this.analysis.tiltEnabled = e;
|
|
64
63
|
}
|
|
65
|
-
get layersMode() {
|
|
66
|
-
return this._excludingLayers ? "exclude" : "none";
|
|
67
|
-
}
|
|
68
64
|
get excludedLayers() {
|
|
69
65
|
return this.analysis.excludedLayers;
|
|
70
66
|
}
|
|
@@ -90,25 +86,22 @@ let n = class extends k {
|
|
|
90
86
|
}
|
|
91
87
|
};
|
|
92
88
|
o([
|
|
93
|
-
|
|
89
|
+
h()
|
|
94
90
|
], n.prototype, "_excludingLayers", 2);
|
|
95
91
|
o([
|
|
96
|
-
|
|
92
|
+
h({ readOnly: !0 })
|
|
97
93
|
], n.prototype, "state", 1);
|
|
98
94
|
o([
|
|
99
|
-
|
|
95
|
+
h()
|
|
100
96
|
], n.prototype, "shape", 1);
|
|
101
97
|
o([
|
|
102
|
-
|
|
98
|
+
h()
|
|
103
99
|
], n.prototype, "tiltEnabled", 1);
|
|
104
100
|
o([
|
|
105
|
-
|
|
106
|
-
], n.prototype, "layersMode", 1);
|
|
107
|
-
o([
|
|
108
|
-
d()
|
|
101
|
+
h()
|
|
109
102
|
], n.prototype, "excludedLayers", 1);
|
|
110
103
|
o([
|
|
111
|
-
|
|
104
|
+
h()
|
|
112
105
|
], n.prototype, "excludeGroundSurface", 1);
|
|
113
106
|
n = o([
|
|
114
107
|
G("esri.components.Slice.SliceViewModel")
|
|
@@ -127,14 +120,14 @@ const l = "arcgis-slice", s = {
|
|
|
127
120
|
layerListHeading: `${l}__layer-list-title`,
|
|
128
121
|
newSliceButton: `${l}__clear-button`
|
|
129
122
|
}, I = C(n);
|
|
130
|
-
class N extends
|
|
123
|
+
class N extends b {
|
|
131
124
|
constructor() {
|
|
132
125
|
super(...arguments), this.viewModel = I(this), this._messages = A(), this._onNewSliceClick = () => {
|
|
133
126
|
T(this.viewModel.start());
|
|
134
|
-
}, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = 3, this.icon = "slice", this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange =
|
|
127
|
+
}, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = 3, this.icon = "slice", this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange = L()("analysis", "state"), this.arcgisReady = S();
|
|
135
128
|
}
|
|
136
129
|
static {
|
|
137
|
-
this.properties = { _hasVoxelLayers: 16, analysis: 0, autoDestroyDisabled: 5, excludeGroundSurface: 5, excludedLayers: 0, headingLevel: 9, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, shape: 0, state:
|
|
130
|
+
this.properties = { _hasVoxelLayers: 16, analysis: 0, autoDestroyDisabled: 5, excludeGroundSurface: 5, excludedLayers: 0, headingLevel: 9, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, shape: 0, state: 35, tiltEnabled: 5 };
|
|
138
131
|
}
|
|
139
132
|
static {
|
|
140
133
|
this.shadowRootOptions = M;
|
|
@@ -171,28 +164,26 @@ class N extends L {
|
|
|
171
164
|
})} role=presentation>${this._renderContainerNode()}</div>`;
|
|
172
165
|
}
|
|
173
166
|
_renderContainerNode() {
|
|
174
|
-
const i = this._messages, { state: t, visible:
|
|
175
|
-
if (!
|
|
167
|
+
const i = this._messages, { state: t, visible: d, supported: c } = this.viewModel, u = t === "slicing" || t === "excludingLayer";
|
|
168
|
+
if (!d || !c)
|
|
176
169
|
return null;
|
|
177
170
|
c || r`<div class=${a(s.container)}><div class=${a(s.error)}><p>${this._messages.unsupported}</p></div></div>`;
|
|
178
|
-
const { excludedLayers:
|
|
179
|
-
return r`<div class=${a(s.container)}><div class=${a(s.hint)}>${t === "excludingLayer" ? r`<p class=${a(s.hintText)}>${i.excludeHint}</p>` : null}${t === "slicing" ? r`<p class=${a(s.hintText)}>${this._hasVoxelLayers ? i.voxelHint : i.hint}</p><p class=${a(s.hintText)}>${i.verticalHint}</p>` : null}</div>${!
|
|
180
|
-
this.excludedLayers.remove(
|
|
171
|
+
const { excludedLayers: y } = this.viewModel, f = this.excludeGroundSurface, v = y.length > 0 || f, p = t === "disabled";
|
|
172
|
+
return r`<div class=${a(s.container)}><div class=${a(s.hint)}>${t === "excludingLayer" ? r`<p class=${a(s.hintText)}>${i.excludeHint}</p>` : null}${t === "slicing" ? r`<p class=${a(s.hintText)}>${this._hasVoxelLayers ? i.voxelHint : i.hint}</p><p class=${a(s.hintText)}>${i.verticalHint}</p>` : null}</div>${!u && v ? r`<div class=${a(s.layerList)}>${D({ class: s.layerListHeading, level: this.headingLevel, children: i.excludedLayers })}${j({ layers: y.toArray(), excludeGroundSurface: f, onLayerClick: (x) => {
|
|
173
|
+
this.excludedLayers.remove(x);
|
|
181
174
|
}, onGroundClick: () => {
|
|
182
175
|
this.excludeGroundSurface = !1;
|
|
183
|
-
}, listLabel: i.excludedLayers, layerActionLabel: i.includeLayer, groundItemTitle: i.ground })}</div>` : null}<div class=${a(s.actions)}>${
|
|
184
|
-
this.viewModel.layersMode === "exclude" && this.viewModel.stop();
|
|
185
|
-
}}>${i.cancel}</calcite-button>` : null}</div></div>`;
|
|
176
|
+
}, listLabel: i.excludedLayers, layerActionLabel: i.includeLayer, groundItemTitle: i.ground })}</div>` : null}<div class=${a(s.actions)}>${u ? null : r`<calcite-button class=${a(s.newSliceButton)} .disabled=${p} @click=${this._onNewSliceClick}>${i.newSlice}</calcite-button>`}${t === "sliced" ? r`<calcite-button appearance=outline-fill class=${a(s.excludeButton)} .disabled=${p} @click=${() => this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>` : null}${t === "excludingLayer" ? r`<calcite-button appearance=outline-fill class=${a(s.cancelButton)} .disabled=${p} @click=${() => this.viewModel.stop()}>${i.cancel}</calcite-button>` : null}</div></div>`;
|
|
186
177
|
}
|
|
187
178
|
}
|
|
188
|
-
function
|
|
189
|
-
return r`<calcite-list-item class=${a(s.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title ?? ""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel ??
|
|
179
|
+
function _(e) {
|
|
180
|
+
return r`<calcite-list-item class=${a(s.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title ?? ""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel ?? E}></calcite-action></calcite-list-item>`;
|
|
190
181
|
}
|
|
191
182
|
function j(e) {
|
|
192
|
-
const i = e.layers.map((t) =>
|
|
193
|
-
return e.excludeGroundSurface && i.push(
|
|
183
|
+
const i = e.layers.map((t) => _({ uid: t.uid, title: t.title ?? "", onClick: () => e.onLayerClick(t), actionLabel: e.layerActionLabel }));
|
|
184
|
+
return e.excludeGroundSurface && i.push(_({ uid: "ground", title: e.groundItemTitle, onClick: e.onGroundClick, actionLabel: e.layerActionLabel })), r`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`;
|
|
194
185
|
}
|
|
195
|
-
|
|
186
|
+
$("arcgis-slice", N);
|
|
196
187
|
export {
|
|
197
188
|
N as ArcgisSlice
|
|
198
189
|
};
|
|
@@ -148,6 +148,11 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
148
148
|
* @default false
|
|
149
149
|
*/
|
|
150
150
|
rangeLabelInputsEnabled: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* 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.
|
|
153
|
+
*
|
|
154
|
+
* @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)
|
|
155
|
+
*/
|
|
151
156
|
referenceElement?: ArcgisReferenceElement | string;
|
|
152
157
|
/**
|
|
153
158
|
* The HTML Element nodes representing interactive slider segments.
|
|
@@ -4,10 +4,10 @@ import { reEmitEvent as t } from "@arcgis/lumina/controllers/accessor";
|
|
|
4
4
|
import n from "@arcgis/core/widgets/Slider.js";
|
|
5
5
|
import { LitElement as a, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
6
|
import { m as g } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as m } from "
|
|
7
|
+
import { css as m } 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 c = m`@layer{arcgis-slider{min-width:200px;min-height:25px}}`, r = g(n);
|
|
12
12
|
class d extends a {
|
|
13
13
|
constructor() {
|
|
@@ -15,7 +15,7 @@ declare const useSwipeViewModel: (component: LitElement & Pick<SwipeViewModel, n
|
|
|
15
15
|
* properties to determine what will be compared on either side of the component. If one of these properties
|
|
16
16
|
* is not set, then the Swipe component will overlay the existing map.
|
|
17
17
|
*
|
|
18
|
-
* **Known
|
|
18
|
+
* **Known limitations**
|
|
19
19
|
*
|
|
20
20
|
* - This component is not currently supported within a Scene component.
|
|
21
21
|
*
|
|
@@ -74,7 +74,11 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
74
74
|
label?: string;
|
|
75
75
|
/** A collection of layers that will show on the left or top side of the Swipe component. */
|
|
76
76
|
leadingLayers: __esri.Collection<__esri.Layer>;
|
|
77
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Replace localized message strings with your own strings.
|
|
79
|
+
*
|
|
80
|
+
* _**Note**: Individual message keys may change between releases._
|
|
81
|
+
*/
|
|
78
82
|
messageOverrides?: typeof this.messages._overrides;
|
|
79
83
|
/** @default "manual" */
|
|
80
84
|
position: __esri.UIPosition;
|
|
@@ -85,6 +89,11 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
85
89
|
* @default 25
|
|
86
90
|
*/
|
|
87
91
|
swipePosition: number;
|
|
92
|
+
/**
|
|
93
|
+
* 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.
|
|
94
|
+
*
|
|
95
|
+
* @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)
|
|
96
|
+
*/
|
|
88
97
|
referenceElement?: ArcgisReferenceElement | string;
|
|
89
98
|
/**
|
|
90
99
|
* The current state of the Swipe.
|
|
@@ -104,6 +113,23 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
104
113
|
}>;
|
|
105
114
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
106
115
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
116
|
+
/**
|
|
117
|
+
* Fires when the swipe position changes and the drag handle is released on the component.
|
|
118
|
+
*
|
|
119
|
+
* **Note:** To constantly listen to changes while dragging, use the `arcgisSwipeInput` event instead.
|
|
120
|
+
*
|
|
121
|
+
* @event
|
|
122
|
+
* @since 4.34
|
|
123
|
+
*/
|
|
124
|
+
readonly arcgisSwipeChange: TargetedEvent<this, void>;
|
|
125
|
+
/**
|
|
126
|
+
* Fires when the swipe position is updated.
|
|
127
|
+
* This event is fired continuously while dragging the handle.
|
|
128
|
+
*
|
|
129
|
+
* @event
|
|
130
|
+
* @since 4.34
|
|
131
|
+
*/
|
|
132
|
+
readonly arcgisSwipeInput: TargetedEvent<this, void>;
|
|
107
133
|
private messages: Partial<{
|
|
108
134
|
componentLabel: string;
|
|
109
135
|
dragLabel: string;
|