@arcgis/map-components 5.1.0-next.1 → 5.1.0-next.10
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/README.md +1 -1
- package/dist/cdn/{37TNG76C.js → 24PK3ZLX.js} +1 -1
- package/dist/cdn/{ZURN5EZI.js → 2BJHF4JK.js} +1 -1
- package/dist/cdn/{M65HMJZA.js → 2K45WUVH.js} +1 -1
- package/dist/cdn/2MTWUJIA.js +2 -0
- package/dist/cdn/2PAAPTW5.js +2 -0
- package/dist/cdn/{UKKUFJLL.js → 33U3K3P2.js} +1 -1
- package/dist/cdn/3A7HYDQP.js +2 -0
- package/dist/cdn/3OVSVCGF.js +2 -0
- package/dist/cdn/{TPOLS4YM.js → 4IC3NWKK.js} +1 -1
- package/dist/cdn/{UKNKW6MH.js → 4PWBNKOA.js} +1 -1
- package/dist/cdn/{HH6BDERO.js → 4URF7CKU.js} +1 -1
- package/dist/cdn/{RP5SO6BA.js → 4YQLL44L.js} +1 -1
- package/dist/cdn/{42UR6TXZ.js → 5FZLG5YS.js} +1 -1
- package/dist/cdn/5LD4AU4Q.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → 5PJEJPFY.js} +1 -1
- package/dist/cdn/{TUW6NLYY.js → 5V7HEV2R.js} +1 -1
- package/dist/cdn/{FJJVAOBW.js → 67IVXIOR.js} +1 -1
- package/dist/cdn/{K27JJT2P.js → 6XJFSJGE.js} +1 -1
- package/dist/cdn/{NGKNECON.js → 7357JBTM.js} +1 -1
- package/dist/cdn/{NRV7VFJ7.js → 77ERVO5S.js} +1 -1
- package/dist/cdn/{J55YUTPM.js → 7CBBWB77.js} +1 -1
- package/dist/cdn/7DTWNSIR.js +2 -0
- package/dist/cdn/7L5TRJUA.js +2 -0
- package/dist/cdn/{2VC2VUTP.js → 7S4WE6H3.js} +1 -1
- package/dist/cdn/7WLTT4K3.js +2 -0
- package/dist/cdn/{EX22SAPL.js → 7ZCMIKP6.js} +1 -1
- package/dist/cdn/{NIUIKBRD.js → ACWGHEWO.js} +1 -1
- package/dist/cdn/{S4XGBADW.js → AIRDJCFV.js} +1 -1
- package/dist/cdn/{FQGKKJL7.js → AN2ZNLDK.js} +1 -1
- package/dist/cdn/BAPY2HFP.js +2 -0
- package/dist/cdn/{PISCYSA5.js → BB5CXHDQ.js} +1 -1
- package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
- package/dist/cdn/{YC423DBS.js → BNJXI23I.js} +1 -1
- package/dist/cdn/BX7N3KYH.js +2 -0
- package/dist/cdn/{DTVW3MYT.js → CEJGZMGB.js} +1 -1
- package/dist/cdn/CKBTMA4D.js +2 -0
- package/dist/cdn/{AJHRJ5EA.js → CMWIMRU2.js} +1 -1
- package/dist/cdn/{NZAO2BVV.js → CQ2L75M3.js} +1 -1
- package/dist/cdn/{5RGFRTJS.js → CUWONRT5.js} +1 -1
- package/dist/cdn/{CC53K2CR.js → CXOYV56L.js} +1 -1
- package/dist/cdn/{NVACRYY6.js → CZE43OAC.js} +1 -1
- package/dist/cdn/D6YUW72R.js +2 -0
- package/dist/cdn/{TSPKG2WN.js → D7DDJ2QZ.js} +1 -1
- package/dist/cdn/{UVCYUIKZ.js → DLUXWET4.js} +1 -1
- package/dist/cdn/{UM2FDZJJ.js → DUT3D6UH.js} +1 -1
- package/dist/cdn/{JBJ5NQTI.js → DWW7KAMQ.js} +1 -1
- package/dist/cdn/{WW6L6XX4.js → E4YMNWRJ.js} +1 -1
- package/dist/cdn/{3XMPN66U.js → EPQN4FJS.js} +1 -1
- package/dist/cdn/ERTOHEVB.js +2 -0
- package/dist/cdn/EVC4MXIZ.js +2 -0
- package/dist/cdn/FANKLSAT.js +2 -0
- package/dist/cdn/{EVRFMTMV.js → FOMIDTAN.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → FQJMTGXO.js} +1 -1
- package/dist/cdn/{64OEHFBZ.js → FTBTVD7U.js} +1 -1
- package/dist/cdn/G4A4VLTL.js +2 -0
- package/dist/cdn/{KXF2562U.js → GHA2ANJZ.js} +1 -1
- package/dist/cdn/{3DO7PVNW.js → GLNRLEZE.js} +1 -1
- package/dist/cdn/{HR2OOT3F.js → GQN4ALIE.js} +1 -1
- package/dist/cdn/{H6ILOF27.js → GS43BIES.js} +1 -1
- package/dist/cdn/{YFUI4F5L.js → GUAI5SHN.js} +1 -1
- package/dist/cdn/GXBHOVJY.js +2 -0
- package/dist/cdn/{SZ5MNKOW.js → HVI2FE73.js} +1 -1
- package/dist/cdn/{WGWNMYUH.js → I2WEEE2E.js} +1 -1
- package/dist/cdn/{XO6U6OVM.js → I3PBMKT5.js} +1 -1
- package/dist/cdn/{RCWZGU5T.js → I6ZXIPND.js} +1 -1
- package/dist/cdn/{PMQLTMQ4.js → IIPYTUR3.js} +1 -1
- package/dist/cdn/{AP2IFWYH.js → INS77MCT.js} +1 -1
- package/dist/cdn/IPNIJANM.js +2 -0
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/IY2G6DLG.js +2 -0
- package/dist/cdn/{2XSXH4TM.js → JC4DYMKT.js} +1 -1
- package/dist/cdn/{M4L5EDRB.js → JCV26SSG.js} +1 -1
- package/dist/cdn/{I5QTPPFJ.js → JLIZWDU5.js} +1 -1
- package/dist/cdn/{LG4PZVHS.js → JMHCIJG4.js} +1 -1
- package/dist/cdn/{556MC5SF.js → JTEJ2NHE.js} +1 -1
- package/dist/cdn/{3YA25S2J.js → KBY7C6QM.js} +1 -1
- package/dist/cdn/{5PRNT4KD.js → KG2M6IQS.js} +1 -1
- package/dist/cdn/KLBNUE5Q.js +2 -0
- package/dist/cdn/{ZVTPU2MO.js → KNJ7PME5.js} +1 -1
- package/dist/cdn/KQNQ6ITI.js +2 -0
- package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
- package/dist/cdn/{ORH27QWU.js → L6LZYPWJ.js} +1 -1
- package/dist/cdn/{R4V6HGJH.js → L7NIKN24.js} +1 -1
- package/dist/cdn/LCUXPDUW.js +2 -0
- package/dist/cdn/{WOV3LB6K.js → LLNNQ2ED.js} +1 -1
- package/dist/cdn/{XRP25NGI.js → LMV6L2OF.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → LSF66JVY.js} +1 -1
- package/dist/cdn/LVMJAMRO.js +2 -0
- package/dist/cdn/{KAXJKSFB.js → LVSNYSCO.js} +1 -1
- package/dist/cdn/{52GXKBGP.js → LY735GHL.js} +1 -1
- package/dist/cdn/{QVMTO5BV.js → LZ3PMD7Z.js} +1 -1
- package/dist/cdn/{ZD25GJYW.js → N76CLHYJ.js} +1 -1
- package/dist/cdn/{YZ5ZVEPC.js → OAFAR3NG.js} +1 -1
- package/dist/cdn/{OCEXQCFT.js → OJNMPOYD.js} +1 -1
- package/dist/cdn/OKZSKR6W.js +2 -0
- package/dist/cdn/OMKVQOUI.js +2 -0
- package/dist/cdn/{EQCNO3G4.js → P4PTEXIJ.js} +1 -1
- package/dist/cdn/{7YLXQNEC.js → PESPV6VP.js} +1 -1
- package/dist/cdn/{KNAUIRT6.js → PFYZ7JRB.js} +1 -1
- package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
- package/dist/cdn/{GNGZFV2C.js → POEZXWTT.js} +1 -1
- package/dist/cdn/QX27DK37.js +2 -0
- package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
- package/dist/cdn/{T2ZF4XIZ.js → RISVXUI4.js} +1 -1
- package/dist/cdn/RWJKQEMK.js +2 -0
- package/dist/cdn/{KHM3S4Q6.js → RXFUZXUX.js} +1 -1
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{KY4FMFIC.js → S52VES4H.js} +1 -1
- package/dist/cdn/{S6G6XXTM.js → SFM3XWUA.js} +1 -1
- package/dist/cdn/{YC6JWXOW.js → SKGRUNAJ.js} +1 -1
- package/dist/cdn/{C7YN3AZA.js → SPACZLHW.js} +1 -1
- package/dist/cdn/{F4HWT5H3.js → SSZMOOL6.js} +1 -1
- package/dist/cdn/{UAO23YMW.js → SZNBYDQI.js} +1 -1
- package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
- package/dist/cdn/{EENOVGOS.js → TTR6UUEQ.js} +1 -1
- package/dist/cdn/U5FUT6DD.js +2 -0
- package/dist/cdn/{MAGJWMWM.js → U5HXLA7K.js} +1 -1
- package/dist/cdn/{WJ5HD2YN.js → UDPUTCKL.js} +1 -1
- package/dist/cdn/{63P5VYGP.js → UZ7KLWGC.js} +1 -1
- package/dist/cdn/{IDDSHZVB.js → VGTTCLO3.js} +1 -1
- package/dist/cdn/VPJCFCJU.js +2 -0
- package/dist/cdn/W5T5EBL3.js +2 -0
- package/dist/cdn/XE5UPQ5E.js +2 -0
- package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
- package/dist/cdn/{3PQT2S7Z.js → XTFD35UI.js} +1 -1
- package/dist/cdn/{LHEP4QSS.js → XWAT4IT2.js} +1 -1
- package/dist/cdn/Y6KRMZWJ.js +2 -0
- package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
- package/dist/cdn/{FC6W37TT.js → YBJEMNAU.js} +1 -1
- package/dist/cdn/YR3SQWM6.js +2 -0
- package/dist/cdn/{2EJ4XRH4.js → YSDQ5VNK.js} +1 -1
- package/dist/cdn/YZZJQMH4.js +2 -0
- package/dist/cdn/Z4F6DHBB.js +2 -0
- package/dist/cdn/{WTMMFDEH.js → ZIX3WE2Q.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/layer-utils.js +33 -16
- package/dist/chunks/measurementUtils.js +44 -21
- package/dist/chunks/slots.js +20 -20
- package/dist/chunks/time-utils.js +24 -22
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +18 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +20 -18
- package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -4
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +120 -91
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -15
- package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
- package/dist/components/arcgis-building-explorer/customElement.d.ts +14 -73
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -66
- package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -12
- package/dist/components/arcgis-daylight/customElement.d.ts +18 -19
- package/dist/components/arcgis-daylight/customElement.js +118 -119
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +20 -18
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +7 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +22 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +15 -16
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +26 -25
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +32 -33
- package/dist/components/arcgis-feature/customElement.js +35 -35
- package/dist/components/arcgis-feature-fields/customElement.js +29 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +30 -11
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +99 -63
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.d.ts +14 -12
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
- package/dist/components/arcgis-features/customElement.d.ts +31 -33
- package/dist/components/arcgis-features/customElement.js +43 -43
- package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -10
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +35 -36
- package/dist/components/arcgis-home/customElement.d.ts +4 -6
- package/dist/components/arcgis-layer-list/customElement.d.ts +40 -41
- package/dist/components/arcgis-legend/customElement.d.ts +28 -29
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +14 -12
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -49
- package/dist/components/arcgis-link-chart/customElement.js +42 -31
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -2
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +6 -3
- package/dist/components/arcgis-locate/customElement.d.ts +2 -3
- package/dist/components/arcgis-map/customElement.d.ts +139 -129
- package/dist/components/arcgis-map/customElement.js +24 -13
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -2
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -11
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -3
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
- package/dist/components/arcgis-paste/customElement.d.ts +1 -1
- package/dist/components/arcgis-paste/customElement.js +6 -7
- package/dist/components/arcgis-popup/customElement.d.ts +20 -21
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
- package/dist/components/arcgis-print/customElement.d.ts +29 -18
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +155 -150
- package/dist/components/arcgis-scene/customElement.js +20 -9
- package/dist/components/arcgis-search/customElement.d.ts +37 -30
- package/dist/components/arcgis-search/customElement.js +20 -18
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +61 -17
- package/dist/components/arcgis-sketch/customElement.d.ts +55 -36
- package/dist/components/arcgis-sketch/customElement.js +20 -8
- package/dist/components/arcgis-slice/customElement.d.ts +16 -16
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +77 -27
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +30 -31
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -37
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +67 -34
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +106 -36
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +7 -10
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +26 -27
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +35 -39
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -6
- package/dist/components/arcgis-table-list/customElement.d.ts +109 -73
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +17 -19
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +18 -8
- package/dist/components/arcgis-time-zone-label/customElement.js +39 -45
- package/dist/components/arcgis-time-zone-label/index.js +1 -2
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -4
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +39 -40
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +5 -5
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +31 -27
- package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +6 -2
- package/dist/components/types.d.ts +56 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +6 -28
- package/dist/loader.js +18 -18
- package/dist/types/lumina.d.ts +17 -38
- package/dist/types/preact.d.ts +17 -42
- package/dist/types/react.d.ts +17 -46
- package/dist/types/stencil.d.ts +17 -38
- package/package.json +4 -4
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/4EAZ4PIQ.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/55QGHI47.js +0 -2
- package/dist/cdn/6UX4KWBN.js +0 -2
- package/dist/cdn/7UR4M6PN.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/AGYDL2DX.js +0 -2
- package/dist/cdn/B5XR4LXQ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/I2MQQXVU.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MRE5HCIK.js +0 -2
- package/dist/cdn/MWBGBBXT.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/PQJAXYJ2.js +0 -2
- package/dist/cdn/RJ76OXB6.js +0 -2
- package/dist/cdn/SKW7HQZ6.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/U3LH3AZH.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/W2E5L6DS.js +0 -2
- package/dist/cdn/WGXSSEAL.js +0 -2
- package/dist/cdn/X6OVNOLQ.js +0 -2
- package/dist/cdn/X7YUU7TS.js +0 -2
- package/dist/cdn/XMZSFKKO.js +0 -2
- package/dist/cdn/Y53D5YAC.js +0 -2
- package/dist/cdn/YGJFZRA4.js +0 -2
- package/dist/cdn/YKTB6AFH.js +0 -2
- package/dist/cdn/YWQGP6MB.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZUTQE3OX.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -8,10 +8,8 @@ import type Widget from "@arcgis/core/widgets/Widget.js";
|
|
|
8
8
|
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
9
9
|
import type Map from "@arcgis/core/Map.js";
|
|
10
10
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
11
|
-
import type { ArcgisReferenceElement } from "
|
|
11
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
12
12
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
13
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
14
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
15
13
|
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
16
14
|
import type { ActionEvent, FetchFeaturesOptions } from "@arcgis/core/widgets/Popup/types";
|
|
17
15
|
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
@@ -35,27 +33,27 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
35
33
|
*
|
|
36
34
|
* If multiple features are passed into the Features component, the component provides buttons to page though the features and a feature menu that allows the
|
|
37
35
|
* list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
|
|
38
|
-
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/
|
|
36
|
+
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate).
|
|
39
37
|
*
|
|
40
38
|
* The Features component should be used if needing to use the Popup functionality outside of the map or scene component. If wanting to show a single feature's content without
|
|
41
39
|
* actions, related records, clustering configuration, etc., then use the [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
|
|
42
40
|
*
|
|
43
|
-
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
41
|
+
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
44
42
|
* @since 4.28
|
|
45
43
|
*/
|
|
46
44
|
export abstract class ArcgisFeatures extends LitElement {
|
|
47
45
|
/**
|
|
48
|
-
* A [collection](https://developers.arcgis.com/javascript/latest/
|
|
49
|
-
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [`includeDefaultActionsDisabled`](#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/
|
|
46
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
|
|
47
|
+
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [`includeDefaultActionsDisabled`](#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
50
48
|
*
|
|
51
|
-
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/
|
|
49
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [arcgisTriggerAction](#arcgisTriggerAction) event fires each time an action is clicked.
|
|
52
50
|
*
|
|
53
51
|
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#event-arcgisTriggerAction)
|
|
54
52
|
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
55
53
|
*/
|
|
56
54
|
accessor actions: Collection<PopupAction>;
|
|
57
55
|
/**
|
|
58
|
-
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/
|
|
56
|
+
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/references/core/widgets/Features/FeaturesViewModel/#waitingForResult) for results.
|
|
59
57
|
*
|
|
60
58
|
* @default false
|
|
61
59
|
*/
|
|
@@ -85,7 +83,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
85
83
|
*/
|
|
86
84
|
accessor collapsed: boolean;
|
|
87
85
|
/**
|
|
88
|
-
* The content of the component. When set directly on the component, this content is static and cannot use fields to set content templates. To set a template for the content based on field or attribute names, see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/
|
|
86
|
+
* The content of the component. When set directly on the component, this content is static and cannot use fields to set content templates. To set a template for the content based on field or attribute names, see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#content).
|
|
89
87
|
*
|
|
90
88
|
* @example
|
|
91
89
|
* ```js
|
|
@@ -98,7 +96,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
98
96
|
/**
|
|
99
97
|
* Enables automatic creation of a popup template for layers that have popups enabled but no popupTemplate defined. Automatic popup templates are supported for layers that support the `createPopupTemplate` method.
|
|
100
98
|
*
|
|
101
|
-
* **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/
|
|
99
|
+
* **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat) rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) created by setting the `defaultPopupTemplateEnabled` property to `true`.
|
|
102
100
|
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
103
101
|
*
|
|
104
102
|
* @default false
|
|
@@ -106,7 +104,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
106
104
|
*/
|
|
107
105
|
accessor defaultPopupTemplateEnabled: boolean;
|
|
108
106
|
/**
|
|
109
|
-
* The number of
|
|
107
|
+
* The number of [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) available in the component.
|
|
110
108
|
*
|
|
111
109
|
* @since 4.34
|
|
112
110
|
*/
|
|
@@ -133,7 +131,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
133
131
|
*/
|
|
134
132
|
accessor featureNavigationTop: boolean;
|
|
135
133
|
/**
|
|
136
|
-
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
134
|
+
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](#content) and [heading](#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
137
135
|
*
|
|
138
136
|
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selected feature](#selectedFeature).
|
|
139
137
|
*
|
|
@@ -162,7 +160,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
162
160
|
* @default 20
|
|
163
161
|
*/
|
|
164
162
|
accessor featuresPerPage: number;
|
|
165
|
-
/** Defines the specific [abilities](https://developers.arcgis.com/javascript/latest/
|
|
163
|
+
/** Defines the specific [abilities](https://developers.arcgis.com/javascript/latest/references/core/widgets/Feature/FeatureViewModel/#Abilities) that can be used when querying and displaying content. */
|
|
166
164
|
accessor featureViewModelAbilities: Abilities | null | undefined;
|
|
167
165
|
/**
|
|
168
166
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
@@ -184,7 +182,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
184
182
|
/**
|
|
185
183
|
* The title of the Features component. This can be set to any string value no
|
|
186
184
|
* matter the features that are selected. If the [selected feature](#selectedFeature)
|
|
187
|
-
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
185
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
188
186
|
* corresponding template is used here.
|
|
189
187
|
*
|
|
190
188
|
* @see [headingLevel](#headingLevel)
|
|
@@ -214,7 +212,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
214
212
|
*/
|
|
215
213
|
accessor hideActionBar: boolean;
|
|
216
214
|
/**
|
|
217
|
-
* This property provides the ability to hide or show [attachments content](https://developers.arcgis.com/javascript/latest/
|
|
215
|
+
* This property provides the ability to hide or show [attachments content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) within the component.
|
|
218
216
|
*
|
|
219
217
|
* @default false
|
|
220
218
|
* @since 5.0
|
|
@@ -234,14 +232,14 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
234
232
|
*/
|
|
235
233
|
accessor hideContent: boolean;
|
|
236
234
|
/**
|
|
237
|
-
* This property provides the ability to hide or show [custom content](https://developers.arcgis.com/javascript/latest/
|
|
235
|
+
* This property provides the ability to hide or show [custom content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) within the component.
|
|
238
236
|
*
|
|
239
237
|
* @default false
|
|
240
238
|
* @since 5.0
|
|
241
239
|
*/
|
|
242
240
|
accessor hideCustomContent: boolean;
|
|
243
241
|
/**
|
|
244
|
-
* This property provides the ability to hide or show [expression content](https://developers.arcgis.com/javascript/latest/
|
|
242
|
+
* This property provides the ability to hide or show [expression content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) within the component.
|
|
245
243
|
*
|
|
246
244
|
* @default false
|
|
247
245
|
* @since 5.0
|
|
@@ -267,7 +265,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
267
265
|
*/
|
|
268
266
|
accessor hideFeatureNavigation: boolean;
|
|
269
267
|
/**
|
|
270
|
-
* This property provides the ability to hide or show [fields content](https://developers.arcgis.com/javascript/latest/
|
|
268
|
+
* This property provides the ability to hide or show [fields content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) within the component.
|
|
271
269
|
*
|
|
272
270
|
* @default false
|
|
273
271
|
* @since 5.0
|
|
@@ -287,14 +285,14 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
287
285
|
*/
|
|
288
286
|
accessor hideLastEditedInfo: boolean;
|
|
289
287
|
/**
|
|
290
|
-
* This property provides the ability to hide or show [media content](https://developers.arcgis.com/javascript/latest/
|
|
288
|
+
* This property provides the ability to hide or show [media content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) within the component.
|
|
291
289
|
*
|
|
292
290
|
* @default false
|
|
293
291
|
* @since 5.0
|
|
294
292
|
*/
|
|
295
293
|
accessor hideMediaContent: boolean;
|
|
296
294
|
/**
|
|
297
|
-
* This property provides the ability to hide or show [relationship content](https://developers.arcgis.com/javascript/latest/
|
|
295
|
+
* This property provides the ability to hide or show [relationship content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) within the component.
|
|
298
296
|
*
|
|
299
297
|
* @default false
|
|
300
298
|
* @since 5.0
|
|
@@ -307,14 +305,14 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
307
305
|
*/
|
|
308
306
|
accessor hideSpinner: boolean;
|
|
309
307
|
/**
|
|
310
|
-
* This property provides the ability to hide or show [text content](https://developers.arcgis.com/javascript/latest/
|
|
308
|
+
* This property provides the ability to hide or show [text content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) within the component.
|
|
311
309
|
*
|
|
312
310
|
* @default false
|
|
313
311
|
* @since 5.0
|
|
314
312
|
*/
|
|
315
313
|
accessor hideTextContent: boolean;
|
|
316
314
|
/**
|
|
317
|
-
* This property provides the ability to hide or show [utility network content](https://developers.arcgis.com/javascript/latest/
|
|
315
|
+
* This property provides the ability to hide or show [utility network content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) within the component.
|
|
318
316
|
*
|
|
319
317
|
* @default false
|
|
320
318
|
* @since 5.0
|
|
@@ -352,7 +350,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
352
350
|
/** The component's default label. */
|
|
353
351
|
accessor label: string | undefined;
|
|
354
352
|
/**
|
|
355
|
-
* A map is required when the input [features](#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/
|
|
353
|
+
* A map is required when the input [features](#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
356
354
|
*
|
|
357
355
|
* Alternatively, the [view](#view) property can be used to provide the map instance for this property.
|
|
358
356
|
*
|
|
@@ -441,7 +439,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
441
439
|
*
|
|
442
440
|
* @default false
|
|
443
441
|
* @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures)
|
|
444
|
-
* @see [active](https://developers.arcgis.com/javascript/latest/
|
|
442
|
+
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/widgets/Features/FeaturesViewModel/#active)
|
|
445
443
|
* @since 5.0
|
|
446
444
|
* @example
|
|
447
445
|
* ```js
|
|
@@ -471,14 +469,14 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
471
469
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
472
470
|
/**
|
|
473
471
|
* The feature that the component has drilled into.
|
|
474
|
-
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/
|
|
472
|
+
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) or [utility network](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) element.
|
|
475
473
|
*
|
|
476
474
|
* @since 4.34
|
|
477
475
|
*/
|
|
478
476
|
get selectedDrillInFeature(): Graphic | null | undefined;
|
|
479
477
|
/**
|
|
480
478
|
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
481
|
-
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
479
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to this feature.
|
|
482
480
|
*/
|
|
483
481
|
get selectedFeature(): Graphic2 | null;
|
|
484
482
|
/**
|
|
@@ -537,11 +535,11 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
537
535
|
*/
|
|
538
536
|
accessor updateLocationEnabled: boolean;
|
|
539
537
|
/**
|
|
540
|
-
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/
|
|
538
|
+
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) or [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
541
539
|
* The Features component requires a `view` to be set if:
|
|
542
|
-
* - The [features](#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/
|
|
543
|
-
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/
|
|
544
|
-
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/
|
|
540
|
+
* - The [features](#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) or reference the `$map` profile variable (i.e. access data from layers within a map). Alternatively, set the [`map`](#map) property.
|
|
541
|
+
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
|
|
542
|
+
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
|
|
545
543
|
* Alternatively, set the [`timeZone`](#timeZone) property.
|
|
546
544
|
* - Using the [fetchFeatures](#fetchFeatures) method or the `fetchFeatures` option in the [`open`](#open) method.
|
|
547
545
|
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
@@ -561,7 +559,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
561
559
|
/** Permanently destroy the component. */
|
|
562
560
|
destroy(): Promise<void>;
|
|
563
561
|
/**
|
|
564
|
-
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/
|
|
562
|
+
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [`location`](#location) based on the input event's screen coordinates.
|
|
565
563
|
*
|
|
566
564
|
* @param screenPoint
|
|
567
565
|
* @param options
|
|
@@ -620,7 +618,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
620
618
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
621
619
|
*
|
|
622
620
|
* @see [actions](#actions)
|
|
623
|
-
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/
|
|
621
|
+
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
624
622
|
* @see [open](#open)
|
|
625
623
|
* @example
|
|
626
624
|
* ```js
|
|
@@ -142,11 +142,11 @@ class q extends P {
|
|
|
142
142
|
}
|
|
143
143
|
async fetchFeatures(e, t) {
|
|
144
144
|
this._cancelFetchingFeatures();
|
|
145
|
-
const i = new AbortController(), { signal:
|
|
146
|
-
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal:
|
|
145
|
+
const i = new AbortController(), { signal: s } = i;
|
|
146
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
147
147
|
return;
|
|
148
|
-
const
|
|
149
|
-
this.location =
|
|
148
|
+
const n = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
|
|
149
|
+
this.location = n.location, this.promises = n.pendingFeatures;
|
|
150
150
|
}
|
|
151
151
|
async next() {
|
|
152
152
|
return this.viewModel.next();
|
|
@@ -192,10 +192,10 @@ class q extends P {
|
|
|
192
192
|
_groupResultsByLayer() {
|
|
193
193
|
const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
194
194
|
return e.forEach((i) => {
|
|
195
|
-
const
|
|
196
|
-
if (!
|
|
195
|
+
const s = i?.graphic;
|
|
196
|
+
if (!s)
|
|
197
197
|
return;
|
|
198
|
-
const
|
|
198
|
+
const n = Z(s), a = W(n) ? n : null, l = t.get(a) ?? [];
|
|
199
199
|
t.set(a, [...l, i]);
|
|
200
200
|
}), t;
|
|
201
201
|
}
|
|
@@ -206,12 +206,12 @@ class q extends P {
|
|
|
206
206
|
this._cancelOpenRelatedFeature();
|
|
207
207
|
const t = new AbortController();
|
|
208
208
|
this._openRelatedFeatureAbortController = t, await e.updateGeometry();
|
|
209
|
-
const i = e.graphic,
|
|
210
|
-
if (
|
|
209
|
+
const i = e.graphic, s = i?.geometry;
|
|
210
|
+
if (s == null || i == null)
|
|
211
211
|
return;
|
|
212
|
-
this._removeFlowItems(), await this.viewModel.zoomTo({ target:
|
|
213
|
-
const
|
|
214
|
-
|
|
212
|
+
this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
|
|
213
|
+
const n = K(s);
|
|
214
|
+
n != null && (this.location = n), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
215
215
|
}
|
|
216
216
|
_handlePaginationMenuButton() {
|
|
217
217
|
this._updateFeatureMenu();
|
|
@@ -254,8 +254,8 @@ class q extends P {
|
|
|
254
254
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
255
255
|
}
|
|
256
256
|
_getActionTitle(e) {
|
|
257
|
-
const { messages: t, selectedFeature: i } = this, { id:
|
|
258
|
-
return l &&
|
|
257
|
+
const { messages: t, selectedFeature: i } = this, { id: s } = e, n = i?.attributes, a = e.title ?? "", l = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
258
|
+
return l && n ? u(l, n) : l ?? "";
|
|
259
259
|
}
|
|
260
260
|
_onMainKeydown(e) {
|
|
261
261
|
const { key: t } = e;
|
|
@@ -265,8 +265,8 @@ class q extends P {
|
|
|
265
265
|
this._featureMenuViewportNode && this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
266
266
|
}
|
|
267
267
|
_selectedFeatureIndexUpdated(e, t) {
|
|
268
|
-
const { featureCount: i, waitingForResult:
|
|
269
|
-
|
|
268
|
+
const { featureCount: i, waitingForResult: s } = this.viewModel;
|
|
269
|
+
s || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
270
270
|
}
|
|
271
271
|
_triggerAction(e) {
|
|
272
272
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
@@ -279,7 +279,7 @@ class q extends P {
|
|
|
279
279
|
e.value && (e.value.menuOpen = !1);
|
|
280
280
|
}
|
|
281
281
|
_removeFlowItems() {
|
|
282
|
-
this.flowItems
|
|
282
|
+
this.flowItems?.destroyAll();
|
|
283
283
|
}
|
|
284
284
|
_getDrillInFlowItemDescription(e) {
|
|
285
285
|
switch (e.flowType) {
|
|
@@ -293,7 +293,7 @@ class q extends P {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
_handleDrillInBackClick() {
|
|
296
|
-
this.flowItems?.pop();
|
|
296
|
+
this.flowItems?.pop()?.destroy();
|
|
297
297
|
}
|
|
298
298
|
_getHeading() {
|
|
299
299
|
const { hideHeading: e } = this, { title: t, selectedFeatureViewModel: i } = this.viewModel;
|
|
@@ -304,7 +304,7 @@ class q extends P {
|
|
|
304
304
|
}
|
|
305
305
|
async _createSpinner() {
|
|
306
306
|
const e = this.referenceElement;
|
|
307
|
-
e && (await this._destroySpinner(e), this._spinnerEl = H(o`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
307
|
+
e && (await this._destroySpinner(e), this._spinnerEl = H(o`<arcgis-spinner auto-destroy-disabled .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
308
308
|
}
|
|
309
309
|
render() {
|
|
310
310
|
return o`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
@@ -322,16 +322,16 @@ class q extends P {
|
|
|
322
322
|
return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
323
323
|
}
|
|
324
324
|
_renderFeaturePaginationText() {
|
|
325
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
325
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
|
|
326
326
|
return o`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
327
|
-
index: M(
|
|
327
|
+
index: M(s + 1),
|
|
328
328
|
total: M(i)
|
|
329
329
|
})}</div>`;
|
|
330
330
|
}
|
|
331
331
|
_renderFeatureMenuButton() {
|
|
332
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
333
|
-
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${
|
|
334
|
-
index: M(
|
|
332
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: n } = t;
|
|
333
|
+
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${n > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
334
|
+
index: M(s + 1),
|
|
335
335
|
total: M(i)
|
|
336
336
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
337
337
|
}
|
|
@@ -340,14 +340,14 @@ class q extends P {
|
|
|
340
340
|
return o`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
341
341
|
}
|
|
342
342
|
_renderFeatureMenuItem(e) {
|
|
343
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels:
|
|
344
|
-
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${
|
|
343
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, n = e === i, a = s.indexOf(e);
|
|
344
|
+
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${n} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
345
345
|
}
|
|
346
346
|
_renderFeatureMenu() {
|
|
347
|
-
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(),
|
|
348
|
-
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${
|
|
349
|
-
const a = i.get(
|
|
350
|
-
return !this.hideFeatureListLayerTitle && l !== null ? F(
|
|
347
|
+
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
348
|
+
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
|
|
349
|
+
const a = i.get(n)?.map((r) => this._renderFeatureMenuItem(r)), l = n ? n.title ?? this.messages.untitled : null;
|
|
350
|
+
return !this.hideFeatureListLayerTitle && l !== null ? F(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
351
351
|
})}</calcite-list>` : null;
|
|
352
352
|
}
|
|
353
353
|
_renderHeaderAction(e) {
|
|
@@ -358,36 +358,36 @@ class q extends P {
|
|
|
358
358
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
359
359
|
}
|
|
360
360
|
_renderContentFeature() {
|
|
361
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled:
|
|
361
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
362
362
|
if (l === "list" && !r)
|
|
363
363
|
return null;
|
|
364
364
|
const _ = a.length === 0 && (l === "list" ? !!r : !p);
|
|
365
365
|
return o`<calcite-flow-item class=${$(b({
|
|
366
366
|
"content-feature": !0,
|
|
367
367
|
"flow-item-collapsed": i
|
|
368
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${
|
|
368
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
369
369
|
}
|
|
370
370
|
_renderFeatureMenuContainer() {
|
|
371
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages:
|
|
372
|
-
if (
|
|
371
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
|
|
372
|
+
if (n === "feature" && !a)
|
|
373
373
|
return null;
|
|
374
|
-
const
|
|
374
|
+
const D = n === "list" ? !l : a;
|
|
375
375
|
return o`<calcite-flow-item class=${$(b({
|
|
376
376
|
"flow-item-collapsed": p
|
|
377
|
-
}))} .closable=${
|
|
377
|
+
}))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
378
378
|
total: I.length
|
|
379
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${
|
|
380
|
-
|
|
381
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${
|
|
379
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${D} @calciteFlowItemBack=${(V) => {
|
|
380
|
+
V.preventDefault(), this._handleFeatureMenuBack();
|
|
381
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${T > 0 ? o`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
382
382
|
}
|
|
383
383
|
_renderFlowItem(e, t) {
|
|
384
|
-
const { messages: i, hideCloseButton:
|
|
385
|
-
return o`<calcite-flow-item .closable=${!
|
|
384
|
+
const { messages: i, hideCloseButton: s, active: n } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m);
|
|
385
|
+
return o`<calcite-flow-item .closable=${!s} .closed=${!n} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(g) => {
|
|
386
386
|
g.preventDefault(), this._handleDrillInBackClick();
|
|
387
387
|
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${l ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
388
388
|
}
|
|
389
389
|
_renderContentContainer() {
|
|
390
|
-
const e = this.flowItems?.toArray(), t = e?.map((
|
|
390
|
+
const e = this.flowItems?.toArray(), t = e?.map((s, n) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && n === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
391
391
|
return o`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
392
392
|
}
|
|
393
393
|
_renderActionBar() {
|
|
@@ -401,7 +401,7 @@ class q extends P {
|
|
|
401
401
|
}
|
|
402
402
|
_renderContent() {
|
|
403
403
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
404
|
-
return t ? F(t, o`<arcgis-feature .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? F(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
404
|
+
return t ? F(t, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? F(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
N("arcgis-features", q);
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
3
2
|
import type WebMap from "@arcgis/core/WebMap";
|
|
4
3
|
import type WebScene from "@arcgis/core/WebScene";
|
|
5
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { HeadingLevel } from "
|
|
7
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
8
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
5
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
9
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
10
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
11
8
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -22,9 +19,9 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
22
19
|
* Floor Filter component appears and can be used to explore the floor-aware data based on the
|
|
23
20
|
* configured site, facility, and levels layers.
|
|
24
21
|
* The Floor Filter component currently supports
|
|
25
|
-
* [FeatureLayers](https://developers.arcgis.com/javascript/latest/
|
|
26
|
-
* [SceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
27
|
-
* [MapImageLayers](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* [FeatureLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
23
|
+
* [SceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/) and
|
|
24
|
+
* [MapImageLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) (map services).
|
|
28
25
|
*
|
|
29
26
|
* The component can also be used alongside other filtering functionalities, such as definition queries,
|
|
30
27
|
* selection, range, and time, to further control visualization.
|
|
@@ -60,7 +57,7 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
60
57
|
/**
|
|
61
58
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
62
59
|
*
|
|
63
|
-
* @since
|
|
60
|
+
* @since 5.0
|
|
64
61
|
* @example
|
|
65
62
|
* ```js
|
|
66
63
|
* component.goToOverride = function(view, goToParams) {
|
|
@@ -116,6 +113,8 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
116
113
|
* Replace localized message strings with your own strings.
|
|
117
114
|
*
|
|
118
115
|
* _**Note**: Individual message keys may change between releases._
|
|
116
|
+
*
|
|
117
|
+
* @since 5.0
|
|
119
118
|
*/
|
|
120
119
|
accessor messageOverrides: {
|
|
121
120
|
all?: string | undefined;
|
|
@@ -183,8 +182,6 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
183
182
|
};
|
|
184
183
|
noResults: string;
|
|
185
184
|
}>;
|
|
186
|
-
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
187
|
-
accessor position: __esri.UIPosition | undefined;
|
|
188
185
|
/**
|
|
189
186
|
* 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.
|
|
190
187
|
*
|
|
@@ -58,7 +58,7 @@ class D extends T {
|
|
|
58
58
|
}, this._facilitiesListNode = x(), this._levelsListNode = x(), this._sitesListNode = x(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.facility = this.viewModel.facility, this.headingLevel = 2, this.icon = "urban-model", this.level = this.viewModel.level, this.longNames = this.viewModel.longNames, this.goToOverride = this.viewModel.goToOverride, this.site = this.viewModel.site, this.arcgisReady = F();
|
|
59
59
|
}
|
|
60
60
|
static {
|
|
61
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0,
|
|
61
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0, goToOverride: 0, referenceElement: 1, site: 3 };
|
|
62
62
|
}
|
|
63
63
|
static {
|
|
64
64
|
this.styles = A;
|
|
@@ -3,7 +3,7 @@ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
|
3
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
4
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
4
|
import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
6
6
|
import type { GridTheme } from "./types.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -286,7 +286,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
286
286
|
*/
|
|
287
287
|
accessor snappingEnabled: boolean;
|
|
288
288
|
/**
|
|
289
|
-
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/
|
|
289
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/)
|
|
290
290
|
* that will be controlled by this component if the snapping toggle is enabled for display.
|
|
291
291
|
* If SnappingOptions are provided, grid display will be automatically enabled or disabled to match snapping state.
|
|
292
292
|
*/
|