@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
|
@@ -27,6 +27,11 @@ declare const useSearchViewModel: (component: LitElement & Pick<SearchViewModel,
|
|
|
27
27
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/)
|
|
28
28
|
*/
|
|
29
29
|
export declare class ArcgisSearch extends LitElement {
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*
|
|
33
|
+
* @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)
|
|
34
|
+
*/
|
|
30
35
|
referenceElement?: ArcgisReferenceElement | string;
|
|
31
36
|
/** @default "top-left" */
|
|
32
37
|
position: __esri.UIPosition;
|
|
@@ -83,6 +88,12 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
83
88
|
* displays first in the Search UI.
|
|
84
89
|
*/
|
|
85
90
|
readonly allSources: __esri.Collection<__esri.LayerSearchSource | __esri.LocatorSearchSource>;
|
|
91
|
+
/**
|
|
92
|
+
* Indicates whether to automatically navigate to the selected result.
|
|
93
|
+
*
|
|
94
|
+
* @default false
|
|
95
|
+
*/
|
|
96
|
+
autoNavigateDisabled: boolean;
|
|
86
97
|
/**
|
|
87
98
|
* Indicates whether to automatically select and zoom to the first geocoded result. If `false`, the
|
|
88
99
|
* [findAddressCandidates](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm)
|
|
@@ -90,9 +101,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
90
101
|
* geocoded results, you can set up a [search-complete](#event-search-complete) event handler and get the results
|
|
91
102
|
* through the event object.
|
|
92
103
|
*
|
|
93
|
-
* @default
|
|
104
|
+
* @default false
|
|
94
105
|
*/
|
|
95
|
-
|
|
106
|
+
autoSelectDisabled: boolean;
|
|
96
107
|
/**
|
|
97
108
|
* A read-only property that is a [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)
|
|
98
109
|
* of [LayerSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html)
|
|
@@ -117,9 +128,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
117
128
|
* Indicates whether or not to include [defaultSources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources) in the Search UI.
|
|
118
129
|
* This can be a boolean value or a function that returns an array of Search [sources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources).
|
|
119
130
|
*
|
|
120
|
-
* @default
|
|
131
|
+
* @default false
|
|
121
132
|
*/
|
|
122
|
-
|
|
133
|
+
includeDefaultSourcesDisabled: boolean | Function;
|
|
123
134
|
/**
|
|
124
135
|
* Enables location services within the component.
|
|
125
136
|
*
|
|
@@ -133,9 +144,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
133
144
|
* (currently Chrome and Firefox).
|
|
134
145
|
* :::
|
|
135
146
|
*
|
|
136
|
-
* @default
|
|
147
|
+
* @default false
|
|
137
148
|
*/
|
|
138
|
-
|
|
149
|
+
locationDisabled: boolean;
|
|
139
150
|
/**
|
|
140
151
|
* The maximum number of results returned by the component if not specified by the source.
|
|
141
152
|
*
|
|
@@ -162,9 +173,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
162
173
|
* Indicates whether to display the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) on feature click. The graphic can
|
|
163
174
|
* be clicked to display a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
|
|
164
175
|
*
|
|
165
|
-
* @default
|
|
176
|
+
* @default false
|
|
166
177
|
*/
|
|
167
|
-
|
|
178
|
+
popupDisabled: boolean;
|
|
168
179
|
/**
|
|
169
180
|
* A customized [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) for the selected feature.
|
|
170
181
|
* Note that any [templates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
|
|
@@ -196,9 +207,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
196
207
|
* Indicates if the [resultGraphic](#resultGraphic) will display at the
|
|
197
208
|
* location of the selected feature.
|
|
198
209
|
*
|
|
199
|
-
* @default
|
|
210
|
+
* @default false
|
|
200
211
|
*/
|
|
201
|
-
|
|
212
|
+
resultGraphicDisabled: boolean;
|
|
202
213
|
/**
|
|
203
214
|
* An array of objects, each containing a [SearchResult](#SearchResult) from the search.
|
|
204
215
|
*
|
|
@@ -215,9 +226,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
215
226
|
*
|
|
216
227
|
* 
|
|
217
228
|
*
|
|
218
|
-
* @default
|
|
229
|
+
* @default false
|
|
219
230
|
*/
|
|
220
|
-
|
|
231
|
+
searchAllDisabled: boolean;
|
|
221
232
|
/** The value of the search box input text string. */
|
|
222
233
|
searchTerm: string;
|
|
223
234
|
/**
|
|
@@ -267,9 +278,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
267
278
|
* This is only available if working with a 10.3 or greater geocoding service that has [suggest capability
|
|
268
279
|
* loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
|
|
269
280
|
*
|
|
270
|
-
* @default
|
|
281
|
+
* @default false
|
|
271
282
|
*/
|
|
272
|
-
|
|
283
|
+
suggestionsDisabled: boolean;
|
|
273
284
|
/**
|
|
274
285
|
* If true, the component will not be destroyed automatically when it is
|
|
275
286
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -280,20 +291,45 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
280
291
|
* @default false
|
|
281
292
|
*/
|
|
282
293
|
autoDestroyDisabled: boolean;
|
|
283
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Replace localized message strings with your own strings.
|
|
296
|
+
*
|
|
297
|
+
* _**Note**: Individual message keys may change between releases._
|
|
298
|
+
*/
|
|
284
299
|
messageOverrides?: typeof this.messages._overrides;
|
|
285
300
|
/** The component's default label. */
|
|
286
301
|
label?: string;
|
|
287
302
|
/**
|
|
288
|
-
* The current state
|
|
303
|
+
* The current state.
|
|
289
304
|
*
|
|
290
305
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#state)
|
|
291
306
|
*
|
|
292
307
|
* @default "ready"
|
|
293
308
|
*/
|
|
294
309
|
readonly state: "ready" | "loading" | "disabled" | "searching";
|
|
310
|
+
/**
|
|
311
|
+
* Clears the current searchTerm, search results, suggest results, graphic, and graphics layer.
|
|
312
|
+
* It also hides any open menus.
|
|
313
|
+
*/
|
|
314
|
+
clear(): void;
|
|
295
315
|
/** Permanently destroy the component. */
|
|
296
316
|
destroy(): Promise<void>;
|
|
317
|
+
/**
|
|
318
|
+
* Depending on the sources specified, search() queries the feature layer(s) and/or performs
|
|
319
|
+
* address matching using any specified [locator(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html) and
|
|
320
|
+
* returns any applicable results.
|
|
321
|
+
*/
|
|
322
|
+
search(searchItem?: __esri.Graphic | __esri.Point | __esri.SuggestResult | Nil | number[] | string): Promise<__esri.SearchResponse | Nil>;
|
|
323
|
+
/**
|
|
324
|
+
* Performs a suggest() request on the active Locator. It also uses the current value of
|
|
325
|
+
* the component or one that is passed in.
|
|
326
|
+
*
|
|
327
|
+
* Suggestions are available if working with a 10.3 or greater geocoding service that has
|
|
328
|
+
* [suggest capability
|
|
329
|
+
* loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a 10.3 or greater feature layer that supports pagination, i.e.
|
|
330
|
+
* `supportsPagination = true`.
|
|
331
|
+
*/
|
|
332
|
+
suggest(query?: string): Promise<__esri.SuggestResponse | Nil>;
|
|
297
333
|
/** Brings focus to the component's text input. */
|
|
298
334
|
setFocus(): Promise<void>;
|
|
299
335
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
-
import { ref as d } from "lit
|
|
2
|
+
import { ref as d } from "lit/directives/ref.js";
|
|
3
3
|
import _ from "@arcgis/core/widgets/Search/SearchViewModel.js";
|
|
4
|
-
import { LitElement as v, createEvent as w, noShadowRoot as f, safeClassMap as
|
|
4
|
+
import { LitElement as v, createEvent as w, noShadowRoot as f, safeClassMap as n, nothing as S } from "@arcgis/lumina";
|
|
5
5
|
import { reEmitEvent as l } from "@arcgis/lumina/controllers/accessor";
|
|
6
6
|
import { a as g } from "../../chunks/maybe.js";
|
|
7
7
|
import { classes as M } from "@arcgis/components-utils";
|
|
8
|
-
import { g as
|
|
9
|
-
import { isAbortError as
|
|
10
|
-
import { m as
|
|
8
|
+
import { g as b } from "../../chunks/globalCss.js";
|
|
9
|
+
import { isAbortError as C } from "@arcgis/core/core/promiseUtils.js";
|
|
10
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { render as R, html as o } from "lit-html";
|
|
12
|
-
import { css as x } from "
|
|
12
|
+
import { css as x } from "lit";
|
|
13
13
|
import { substitute as y } from "@arcgis/core/intl.js";
|
|
14
|
-
import { usePropertyChange as
|
|
15
|
-
import { u as
|
|
16
|
-
import { watch as
|
|
14
|
+
import { usePropertyChange as T } from "@arcgis/lumina/controllers";
|
|
15
|
+
import { u as A } from "../../chunks/useT9n.js";
|
|
16
|
+
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
19
|
-
v4.34.0-next.
|
|
19
|
+
v4.34.0-next.50 */
|
|
20
20
|
const h = "arcgis-search", u = {
|
|
21
21
|
base: h,
|
|
22
22
|
autocomplete: `${h}__autocomplete`,
|
|
23
23
|
dropdown: `${h}__dropdown`,
|
|
24
24
|
container: `${h}__container`,
|
|
25
25
|
form: `${h}__form`
|
|
26
|
-
},
|
|
27
|
-
class
|
|
26
|
+
}, E = x`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`, N = $(_);
|
|
27
|
+
class I extends v {
|
|
28
28
|
constructor() {
|
|
29
|
-
super(...arguments), this.viewModel =
|
|
29
|
+
super(...arguments), this.viewModel = N(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererContainerEl = document.createElement("div"), this._searchResultRendererEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = A({}), this._setSearchResultRendererRef = (e) => {
|
|
30
30
|
this._searchResultRendererEl = e;
|
|
31
|
-
}, this._locateFailed = !1, this._showNoResults = !1, this.position = "top-left", this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.
|
|
31
|
+
}, this._locateFailed = !1, this._showNoResults = !1, this.position = "top-left", this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = T()("state"), this.arcgisReady = w(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, referenceElement: 1, position: 3, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0,
|
|
34
|
+
this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, referenceElement: 1, position: 3, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigateDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 5, includeDefaultSourcesDisabled: 5, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, suggestions: 0, suggestionsDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
37
|
+
this.styles = E;
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
40
|
this.shadowRootOptions = f;
|
|
@@ -44,7 +44,7 @@ class L extends v {
|
|
|
44
44
|
return e === "disabled" || e === "loading" || this.disabled;
|
|
45
45
|
}
|
|
46
46
|
get _showCurrentLocation() {
|
|
47
|
-
return this.
|
|
47
|
+
return !this.locationDisabled && !this.searchTerm?.trim();
|
|
48
48
|
}
|
|
49
49
|
get _effectiveActiveMenu() {
|
|
50
50
|
return this._isDisabled ? "none" : this.activeMenu;
|
|
@@ -52,20 +52,12 @@ class L extends v {
|
|
|
52
52
|
get activeSource() {
|
|
53
53
|
return this.viewModel?.activeSource;
|
|
54
54
|
}
|
|
55
|
-
async destroy() {
|
|
56
|
-
await this.manager.destroy(), await this._searchResultRendererEl?.destroy(), this._cancelQueries();
|
|
57
|
-
}
|
|
58
|
-
async setFocus() {
|
|
59
|
-
await this._autocompleteEl?.setFocus();
|
|
60
|
-
}
|
|
61
|
-
loaded() {
|
|
62
|
-
this._addSearchResultRenderer(), this.manager.onLifecycle(() => A(() => this.viewModel?.defaultPopupTemplate, (e) => {
|
|
63
|
-
e && (e.content = this._renderSearchResultsContent);
|
|
64
|
-
}, { initial: !0 }));
|
|
65
|
-
}
|
|
66
55
|
clear() {
|
|
67
56
|
this._locateFailed = !1, this.viewModel.clear();
|
|
68
57
|
}
|
|
58
|
+
async destroy() {
|
|
59
|
+
await this.manager.destroy(), await this._searchResultRendererEl?.destroy(), this._cancelQueries();
|
|
60
|
+
}
|
|
69
61
|
async search(e) {
|
|
70
62
|
this._cancelQueries();
|
|
71
63
|
const t = new AbortController(), { signal: s } = t;
|
|
@@ -91,6 +83,17 @@ class L extends v {
|
|
|
91
83
|
return this._suggestController !== t || (this._suggestController = void 0), null;
|
|
92
84
|
}
|
|
93
85
|
}
|
|
86
|
+
async setFocus() {
|
|
87
|
+
await this._autocompleteEl?.setFocus();
|
|
88
|
+
}
|
|
89
|
+
loaded() {
|
|
90
|
+
this.manager.onLifecycle(() => D(() => this.viewModel?.defaultPopupTemplate, (e) => {
|
|
91
|
+
if (e) {
|
|
92
|
+
const t = document.createElement("div");
|
|
93
|
+
t.appendChild(this._searchResultRendererContainerEl), e.content = t;
|
|
94
|
+
}
|
|
95
|
+
}, { initial: !0 }));
|
|
96
|
+
}
|
|
94
97
|
_addSearchResultRenderer() {
|
|
95
98
|
R(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`, this._searchResultRendererContainerEl);
|
|
96
99
|
}
|
|
@@ -126,7 +129,7 @@ class L extends v {
|
|
|
126
129
|
try {
|
|
127
130
|
await this.viewModel.searchNearby({ signal: t });
|
|
128
131
|
} catch (s) {
|
|
129
|
-
|
|
132
|
+
C(s) || (this._locateFailed = !0, this.activeMenu = "suggestion");
|
|
130
133
|
} finally {
|
|
131
134
|
this._searchController = void 0;
|
|
132
135
|
}
|
|
@@ -158,22 +161,22 @@ class L extends v {
|
|
|
158
161
|
return (e === -1 ? t.all : i?.name || t.untitledSource) || "";
|
|
159
162
|
}
|
|
160
163
|
render() {
|
|
161
|
-
return o`<div class=${
|
|
164
|
+
return this._addSearchResultRenderer(), o`<div class=${n(M(u.base, b.widget))}><div class=${n(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
|
|
162
165
|
}
|
|
163
166
|
_renderSourcesMenu() {
|
|
164
167
|
const { messages: e, _isDisabled: t, _effectiveActiveMenu: s } = this, { allSources: i, searchAllEnabled: r } = this.viewModel;
|
|
165
|
-
return i.length > 1 ? o`<calcite-dropdown class=${
|
|
168
|
+
return i.length > 1 ? o`<calcite-dropdown class=${n(u.dropdown)} .disabled=${t} .open=${s === "source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r ? this._renderSource(-1) : null}${i.map((a, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
|
|
166
169
|
}
|
|
167
170
|
_renderUseCurrentLocation() {
|
|
168
171
|
const { _currentLocationValue: e } = this;
|
|
169
172
|
return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
|
|
170
173
|
}
|
|
171
174
|
_renderAutocomplete() {
|
|
172
|
-
const { _effectiveActiveMenu: e, messages: t, _isDisabled: s } = this, { maxInputLength: i, placeholder: r, searchTerm: a, state:
|
|
173
|
-
return o`<calcite-autocomplete .autocomplete=${"off"} class=${
|
|
175
|
+
const { _effectiveActiveMenu: e, messages: t, _isDisabled: s } = this, { maxInputLength: i, placeholder: r, searchTerm: a, state: c } = this.viewModel, m = this.label ?? t.searchButtonTitle ?? "";
|
|
176
|
+
return o`<calcite-autocomplete .autocomplete=${"off"} class=${n(u.autocomplete)} .disabled=${s} .icon=${this.icon || !1} .inputValue=${a} .label=${m} .loading=${c === "searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(a ? "" : r) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
|
|
174
177
|
}
|
|
175
178
|
_renderForm() {
|
|
176
|
-
return o`<form class=${
|
|
179
|
+
return o`<form class=${n(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`;
|
|
177
180
|
}
|
|
178
181
|
_renderSuggestGroup(e) {
|
|
179
182
|
return e.results?.map((t) => this._renderSuggestion(t));
|
|
@@ -183,8 +186,8 @@ class L extends v {
|
|
|
183
186
|
return this._showNoResults ? null : this._showCurrentLocation ? this._renderUseCurrentLocation() : e?.map((t) => this._renderSuggestResults(t));
|
|
184
187
|
}
|
|
185
188
|
_renderSuggestResults(e) {
|
|
186
|
-
const { allSources: t, activeSourceIndex: s } = this.viewModel, { sourceIndex: i } = e, r = e.results?.length, a = t.length > 1 && s === -1,
|
|
187
|
-
return r && a ? o`<calcite-autocomplete-item-group .heading=${
|
|
189
|
+
const { allSources: t, activeSourceIndex: s } = this.viewModel, { sourceIndex: i } = e, r = e.results?.length, a = t.length > 1 && s === -1, c = this._getSourceName(i);
|
|
190
|
+
return r && a ? o`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
|
|
188
191
|
}
|
|
189
192
|
_renderSuggestion({ key: e, sourceIndex: t, text: s }) {
|
|
190
193
|
const i = {
|
|
@@ -210,7 +213,7 @@ class L extends v {
|
|
|
210
213
|
return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
|
|
211
214
|
}
|
|
212
215
|
}
|
|
213
|
-
p("arcgis-search",
|
|
216
|
+
p("arcgis-search", I);
|
|
214
217
|
export {
|
|
215
|
-
|
|
218
|
+
I as ArcgisSearch
|
|
216
219
|
};
|
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as r } from "lit
|
|
3
|
-
import { keyed as c } from "lit
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { classes as
|
|
6
|
-
import { g as
|
|
7
|
-
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as m, html as r } from "lit";
|
|
3
|
+
import { keyed as c } from "lit/directives/keyed.js";
|
|
4
|
+
import { LitElement as p, createEvent as g, noShadowRoot as _, safeClassMap as a } from "@arcgis/lumina";
|
|
5
|
+
import { classes as R } from "@arcgis/components-utils";
|
|
6
|
+
import { g as w } from "../../chunks/globalCss.js";
|
|
8
7
|
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
8
|
import { substitute as M } from "@arcgis/core/intl.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.
|
|
11
|
+
v4.34.0-next.50 */
|
|
13
12
|
const n = "arcgis-search-result-renderer", h = {
|
|
14
13
|
base: n,
|
|
15
14
|
moreResults: `${n}__more-results`
|
|
16
|
-
},
|
|
17
|
-
class
|
|
15
|
+
}, $ = m`@layer{.arcgis-search-result-renderer calcite-block,.arcgis-search-result-renderer calcite-block[expanded]{margin-block:0;margin-block-start:var(--calcite-spacing-md);border:0}}`;
|
|
16
|
+
class f extends p {
|
|
18
17
|
constructor() {
|
|
19
|
-
super(...arguments), this._resultCount = 0, this._showMoreResultsOpen = !1, this.autoDestroyDisabled = !1, this.arcgisReady =
|
|
18
|
+
super(...arguments), this._resultCount = 0, this._showMoreResultsOpen = !1, this.autoDestroyDisabled = !1, this.arcgisReady = g();
|
|
20
19
|
}
|
|
21
20
|
static {
|
|
22
21
|
this.properties = { _results: 16, _resultCount: 16, _selectedResult: 16, _showMoreResultsOpen: 16, messages: 0, autoDestroyDisabled: 5, viewModel: 0 };
|
|
23
22
|
}
|
|
24
23
|
static {
|
|
25
|
-
this.styles =
|
|
24
|
+
this.styles = $;
|
|
26
25
|
}
|
|
27
26
|
static {
|
|
28
|
-
this.shadowRootOptions =
|
|
27
|
+
this.shadowRootOptions = _;
|
|
29
28
|
}
|
|
30
29
|
async destroy() {
|
|
31
30
|
await this.manager.destroy();
|
|
@@ -50,7 +49,7 @@ class $ extends m {
|
|
|
50
49
|
s && "reposition" in s && s.reposition();
|
|
51
50
|
}
|
|
52
51
|
render() {
|
|
53
|
-
return r`<div class=${a(
|
|
52
|
+
return r`<div class=${a(R(h.base, w.widget))}>${this._selectedResult?.name ?? ""}${this._renderMoreResults()}</div>`;
|
|
54
53
|
}
|
|
55
54
|
_renderMoreResults() {
|
|
56
55
|
const { _resultCount: e, _results: s } = this;
|
|
@@ -67,7 +66,7 @@ class $ extends m {
|
|
|
67
66
|
return c(`result-${e.sourceIndex}-${e.key}`, r`<calcite-list-item .label=${e.name} @calciteListItemSelect=${() => this._selectResult(e)}></calcite-list-item>`);
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
|
-
d("arcgis-search-result-renderer",
|
|
69
|
+
d("arcgis-search-result-renderer", f);
|
|
71
70
|
export {
|
|
72
|
-
|
|
71
|
+
f as ArcgisSearchResultRenderer
|
|
73
72
|
};
|
|
@@ -27,7 +27,53 @@ declare const useShadowCastWidget: (component: LitElement & Pick<ShadowCast, "ic
|
|
|
27
27
|
destroy: () => Promise<void>;
|
|
28
28
|
}) => ShadowCast;
|
|
29
29
|
/**
|
|
30
|
-
* The Shadow Cast component displays the cumulative shadows of 3D features in a [
|
|
30
|
+
* The Shadow Cast component displays the cumulative shadows of 3D features in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
31
|
+
* This type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.
|
|
32
|
+
*
|
|
33
|
+
* The component calculates the cumulative shadows for a time range during a single day. The user can
|
|
34
|
+
* configure the time range and select a calendar date. This time range and calendar date are only used
|
|
35
|
+
* for the shadow analysis and are not connected to the lighting in the scene.
|
|
36
|
+
* To control the lighting in the scene, the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component can be used.
|
|
37
|
+
* Changing the timezone in the component updates the visualization by interpreting the time range as being
|
|
38
|
+
* in that timezone. This behavior is different from the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component,
|
|
39
|
+
* where selecting a timezone updates the [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) date and time according to the camera position.
|
|
40
|
+
*
|
|
41
|
+
* The component provides three [visualization modes](#visualizationType): threshold, duration, and discrete mode.
|
|
42
|
+
*
|
|
43
|
+
* In the **threshold** mode, only the areas that receive
|
|
44
|
+
* shadows for more than a certain amount of time are displayed. In the image below, on May 1, 2021 the red areas receive
|
|
45
|
+
* shadow for more than 4 hours within the time interval of 10AM to 4PM.
|
|
46
|
+
*
|
|
47
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
48
|
+
*
|
|
49
|
+
* **Total shadow duration** mode displays the duration of the cumulative shadow using opacity: areas that don't
|
|
50
|
+
* receive any shadow are fully transparent and areas that receive a maximum amount of shadow have a default opacity
|
|
51
|
+
* of 0.7. The values in between are interpolated. Hovering over the Scene will display a tooltip showing the
|
|
52
|
+
* amount of time that location is in shadow, rounded to 15-minute intervals. In this mode, the visualization
|
|
53
|
+
* can display shadow cast in a continuous way or in 1-hour intervals.
|
|
54
|
+
*
|
|
55
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
56
|
+
*
|
|
57
|
+
* **Discrete shadows** is a third visualization mode which displays individual shadows at a given time interval.
|
|
58
|
+
* For example, setting the time range to 10AM-11AM and the visualization time interval to 30 minutes will display
|
|
59
|
+
* shadows for 10AM, 10:30AM and 11:00AM.
|
|
60
|
+
*
|
|
61
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
62
|
+
*
|
|
63
|
+
* The defaults for the time range and visualization settings can be changed using the [startTimeOfDay](#startTimeOfDay), [endTimeOfDay](#endTimeOfDay), and [visualizationType](#visualizationType) properties.
|
|
64
|
+
*
|
|
65
|
+
* **Known limitations**
|
|
66
|
+
*
|
|
67
|
+
* * Shadow Cast is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
68
|
+
* * Terrain does not cast shadows and it is therefore not taken into account in this analysis.
|
|
69
|
+
* * The component does not take into account the daylight savings.
|
|
70
|
+
* Use the timezone dropdown to adjust the offset from the Coordinated Universal Time (UTC) and account for the daylight saving time.
|
|
71
|
+
* * The timezone is automatically detected by the component based on the camera location. In some situations, this might not be accurate.
|
|
72
|
+
* In case of an inaccurate timezone, users can set it manually using the timezone dropdown.
|
|
73
|
+
*
|
|
74
|
+
* **See also**
|
|
75
|
+
*
|
|
76
|
+
* - [Sample - Shadow cast component](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
31
77
|
*
|
|
32
78
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
33
79
|
*/
|
|
@@ -42,24 +88,34 @@ export declare class ArcgisShadowCast extends LitElement {
|
|
|
42
88
|
* @default false
|
|
43
89
|
*/
|
|
44
90
|
autoDestroyDisabled: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* The calendar date used to calculate the shadow cast. This date excludes the time. If a date with a time is set, the time value will be set to midnight (`00:00:00`) of that date in local system time.
|
|
93
|
+
* If no date is set, then it defaults to the current date in local system time.
|
|
94
|
+
*
|
|
95
|
+
* _See also_
|
|
96
|
+
*
|
|
97
|
+
* * [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date)
|
|
98
|
+
*/
|
|
45
99
|
get date(): Date;
|
|
46
100
|
set date(value: Date | number | string);
|
|
47
101
|
/**
|
|
48
|
-
* The configuration used when the
|
|
102
|
+
* The configuration used when the component's [visualizationType](#visualizationType)
|
|
103
|
+
* is set to "discrete".
|
|
49
104
|
*
|
|
50
|
-
* [Read more
|
|
105
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html)
|
|
51
106
|
*/
|
|
52
107
|
discreteOptions: __esri.DiscreteOptions;
|
|
53
108
|
/**
|
|
54
|
-
* The configuration used when the
|
|
109
|
+
* The configuration used when the component's [visualizationType](#visualizationType)
|
|
110
|
+
* is set to "duration".
|
|
55
111
|
*
|
|
56
|
-
* [Read more
|
|
112
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html)
|
|
57
113
|
*/
|
|
58
114
|
durationOptions: __esri.DurationOptions;
|
|
59
115
|
/**
|
|
60
|
-
* Time (in milliseconds from midnight of the [date](
|
|
116
|
+
* Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.
|
|
61
117
|
*
|
|
62
|
-
* [Read more
|
|
118
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)
|
|
63
119
|
*
|
|
64
120
|
* @default 16 * 3600 * 1000
|
|
65
121
|
*/
|
|
@@ -91,63 +147,69 @@ export declare class ArcgisShadowCast extends LitElement {
|
|
|
91
147
|
/** @default false */
|
|
92
148
|
hideThresholdContextToggle: boolean;
|
|
93
149
|
/**
|
|
94
|
-
* Icon which represents the
|
|
150
|
+
* Icon which represents the component. Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
151
|
+
*
|
|
152
|
+
* See also: [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
95
153
|
*
|
|
96
|
-
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
97
154
|
* @default "measure-building-height-shadow"
|
|
98
155
|
*/
|
|
99
156
|
icon: string;
|
|
100
|
-
/**
|
|
101
|
-
* The widget's default label.
|
|
102
|
-
*
|
|
103
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html#label)
|
|
104
|
-
*/
|
|
157
|
+
/** The component's default label. */
|
|
105
158
|
label: string;
|
|
106
159
|
/** @default "bottom-left" */
|
|
107
160
|
position: __esri.UIPosition;
|
|
161
|
+
/**
|
|
162
|
+
* 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.
|
|
163
|
+
*
|
|
164
|
+
* @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)
|
|
165
|
+
*/
|
|
108
166
|
referenceElement?: ArcgisReferenceElement | string;
|
|
109
167
|
/**
|
|
110
|
-
* Time (in milliseconds from midnight of the [date](
|
|
111
|
-
* when the shadow cast computation should start.
|
|
168
|
+
* Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.
|
|
112
169
|
*
|
|
113
|
-
* [Read more
|
|
170
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)
|
|
114
171
|
*
|
|
115
172
|
* @default 10 * 3600 * 1000
|
|
116
173
|
*/
|
|
117
174
|
startTimeOfDay: number;
|
|
118
175
|
/**
|
|
119
|
-
* The
|
|
120
|
-
* of the widget.
|
|
176
|
+
* The component's state. The values mean the following:
|
|
121
177
|
*
|
|
122
|
-
*
|
|
178
|
+
* * `disabled` - component is being created
|
|
179
|
+
* * `ready` - component is ready
|
|
123
180
|
*
|
|
124
181
|
* @default "disabled"
|
|
125
182
|
*/
|
|
126
183
|
readonly state: "ready" | "disabled";
|
|
127
184
|
/**
|
|
128
|
-
* The configuration used when the
|
|
185
|
+
* The configuration used when the component's [visualizationType](#visualizationType)
|
|
186
|
+
* is set to "threshold".
|
|
129
187
|
*
|
|
130
|
-
* [Read more
|
|
188
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html)
|
|
131
189
|
*/
|
|
132
190
|
thresholdOptions: __esri.ThresholdOptions;
|
|
133
|
-
/**
|
|
134
|
-
* The difference in hours between UTC time and the times displayed in the widget.
|
|
135
|
-
*
|
|
136
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#utcOffset)
|
|
137
|
-
*/
|
|
191
|
+
/** The difference in hours between UTC time and the times displayed in the component. */
|
|
138
192
|
utcOffset: number;
|
|
139
193
|
/**
|
|
140
|
-
* Type of visualization to use when showing the shadows.
|
|
141
|
-
*
|
|
142
|
-
*
|
|
194
|
+
* Type of visualization to use when showing the shadows. There are 3 types of visualization:
|
|
195
|
+
* * `threshold` - only displays areas that receive shadows for a period longer than a given threshold value
|
|
196
|
+
* * `duration` - displays all areas that receive shadows either in a continuous mode or in 1 hour time intervals
|
|
197
|
+
* * `discrete` - displays individual shadows cast at a given time interval
|
|
143
198
|
*
|
|
144
199
|
* @default "threshold"
|
|
145
200
|
*/
|
|
146
201
|
visualizationType: "duration" | "threshold" | "discrete";
|
|
147
202
|
/** Permanently destroy the component. */
|
|
148
203
|
destroy(): Promise<void>;
|
|
204
|
+
/**
|
|
205
|
+
* Returns the time (in milliseconds) spent in shadow for a certain point on the screen.
|
|
206
|
+
*
|
|
207
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#getDuration)
|
|
208
|
+
*/
|
|
149
209
|
getDuration(point: __esri.Point): Promise<number>;
|
|
210
|
+
/** Starts the component. While running, it will automatically perform shadow accumulation. */
|
|
150
211
|
start(): Promise<void>;
|
|
212
|
+
/** Stops the component. */
|
|
151
213
|
stop(): Promise<void>;
|
|
152
214
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
153
215
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -3,10 +3,10 @@ import { usePropertyChange as i } from "@arcgis/lumina/controllers";
|
|
|
3
3
|
import s from "@arcgis/core/widgets/ShadowCast.js";
|
|
4
4
|
import { LitElement as o, createEvent as h, noShadowRoot as d } from "@arcgis/lumina";
|
|
5
5
|
import { m as l } from "../../chunks/useWidget.js";
|
|
6
|
-
import { css as a } from "
|
|
6
|
+
import { css as a } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.50 */
|
|
10
10
|
const r = a`@layer{arcgis-shadow-cast{display:block}}`, n = l(s);
|
|
11
11
|
class m extends o {
|
|
12
12
|
constructor() {
|
|
@@ -176,6 +176,11 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
176
176
|
polylineSymbol: __esri.SimpleLineSymbol | __esri.CIMSymbol | __esri.LineSymbol3D;
|
|
177
177
|
/** @default "bottom-left" */
|
|
178
178
|
position: __esri.UIPosition;
|
|
179
|
+
/**
|
|
180
|
+
* 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.
|
|
181
|
+
*
|
|
182
|
+
* @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)
|
|
183
|
+
*/
|
|
179
184
|
referenceElement?: ArcgisReferenceElement | string;
|
|
180
185
|
/**
|
|
181
186
|
* Determines the size of widget elements.
|