@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
|
@@ -3,8 +3,7 @@ import type OpacityStop from "@arcgis/core/renderers/visualVariables/support/Opa
|
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { VisualVariableResult } from "@arcgis/core/smartMapping/renderers/opacity";
|
|
5
5
|
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
6
|
-
import type { IconName } from "
|
|
7
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
7
|
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
9
8
|
import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
10
9
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
@@ -19,7 +18,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
19
18
|
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, new development should use the native component.
|
|
20
19
|
*
|
|
21
20
|
* The Opacity Slider component is intended for authoring and exploring data-driven visualizations in any
|
|
22
|
-
* layer that can be rendered with an [OpacityVariable](https://developers.arcgis.com/javascript/latest/
|
|
21
|
+
* layer that can be rendered with an [OpacityVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/).
|
|
23
22
|
*
|
|
24
23
|
* <span id="image-annotations"></span>
|
|
25
24
|
* See the image below for a summary of the configurable options available on this slider.
|
|
@@ -27,9 +26,9 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
27
26
|
* 
|
|
28
27
|
*
|
|
29
28
|
* The [updateFromVisualVariableResult()](#updateFromVisualVariableResult()) method can be used to intelligently populate slider properties including [max](#max), [min](#min),
|
|
30
|
-
* the [opacity visual variable](https://developers.arcgis.com/javascript/latest/
|
|
29
|
+
* the [opacity visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/) configuration,
|
|
31
30
|
* and the slider's histogram after the renderer has been created from the result of the
|
|
32
|
-
* [createVisualVariable()](https://developers.arcgis.com/javascript/latest/
|
|
31
|
+
* [createVisualVariable()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#createVisualVariable) method.
|
|
33
32
|
*
|
|
34
33
|
* ```js
|
|
35
34
|
* const opacityVariableCreator = await import("@arcgis/core/smartMapping/renderers/opacity.js");
|
|
@@ -63,7 +62,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
63
62
|
* await opacitySlider.updateFromVisualVariableResult(variableResult, histogramResult);
|
|
64
63
|
* ```
|
|
65
64
|
*
|
|
66
|
-
* This slider should be used to update an [opacity visual variable](https://developers.arcgis.com/javascript/latest/
|
|
65
|
+
* This slider should be used to update an [opacity visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/)
|
|
67
66
|
* in a layer's renderer. It is the responsibility of the app developer
|
|
68
67
|
* to set up event listeners on this slider to update the opacity variable of the appropriate renderer.
|
|
69
68
|
*
|
|
@@ -90,9 +89,9 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
90
89
|
* opacitySlider.addEventListener("arcgisPropertyChange", updateRendererFromSlider);
|
|
91
90
|
* ```
|
|
92
91
|
*
|
|
93
|
-
* @since 5.0
|
|
94
|
-
* @see [OpacitySliderViewModel](https://developers.arcgis.com/javascript/latest/
|
|
95
|
-
* @see [opacityVariableCreator](https://developers.arcgis.com/javascript/latest/
|
|
92
|
+
* @since 5.0
|
|
93
|
+
* @see [OpacitySliderViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel/)
|
|
94
|
+
* @see [opacityVariableCreator](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/)
|
|
96
95
|
*/
|
|
97
96
|
export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
98
97
|
/**
|
|
@@ -106,11 +105,11 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
106
105
|
*/
|
|
107
106
|
accessor autoDestroyDisabled: boolean;
|
|
108
107
|
/**
|
|
109
|
-
* The [Histogram](https://developers.arcgis.com/javascript/latest/
|
|
110
|
-
* generated using the [histogram](https://developers.arcgis.com/javascript/latest/
|
|
108
|
+
* The [Histogram](https://developers.arcgis.com/javascript/latest/references/core/widgets/Histogram/) associated with the data represented on the slider. The bins are typically
|
|
109
|
+
* generated using the [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/) statistics function.
|
|
111
110
|
*
|
|
112
|
-
* @see [histogram](https://developers.arcgis.com/javascript/latest/
|
|
113
|
-
* @see [Histogram](https://developers.arcgis.com/javascript/latest/
|
|
111
|
+
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
112
|
+
* @see [Histogram](https://developers.arcgis.com/javascript/latest/references/core/widgets/Histogram/)
|
|
114
113
|
* @example
|
|
115
114
|
* ```js
|
|
116
115
|
* const histogramResult = await histogram({
|
|
@@ -133,7 +132,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
133
132
|
*/
|
|
134
133
|
accessor icon: IconName;
|
|
135
134
|
/**
|
|
136
|
-
* A function used to format user inputs. As opposed to [labelFormatFunction](https://developers.arcgis.com/javascript/latest/
|
|
135
|
+
* A function used to format user inputs. As opposed to [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#labelFormatFunction), which formats
|
|
137
136
|
* thumb labels, the `inputFormatFunction` formats thumb values in the input element when the user begins
|
|
138
137
|
* to edit them.
|
|
139
138
|
*
|
|
@@ -148,13 +147,13 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
148
147
|
* 
|
|
149
148
|
*
|
|
150
149
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
151
|
-
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/
|
|
152
|
-
* you specify an `inputFormatFunction`, you should set the [labelFormatFunction](https://developers.arcgis.com/javascript/latest/
|
|
150
|
+
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
151
|
+
* you specify an `inputFormatFunction`, you should set the [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#labelFormatFunction) to the same value
|
|
153
152
|
* for consistency between labels and inputs.
|
|
154
153
|
*
|
|
155
154
|
* This property overrides the default input formatter, which formats by calling `toString()` on the input value.
|
|
156
155
|
*
|
|
157
|
-
* @see [inputParseFunction](https://developers.arcgis.com/javascript/latest/
|
|
156
|
+
* @see [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputParseFunction)
|
|
158
157
|
* @example
|
|
159
158
|
* ```js
|
|
160
159
|
* // Formats the slider input to abbreviated numbers with units
|
|
@@ -175,13 +174,13 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
175
174
|
*/
|
|
176
175
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
177
176
|
/**
|
|
178
|
-
* Function used to parse slider inputs formatted by the [inputFormatFunction](https://developers.arcgis.com/javascript/latest/
|
|
177
|
+
* Function used to parse slider inputs formatted by the [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputFormatFunction).
|
|
179
178
|
* This property must be set if an `inputFormatFunction` is set. Otherwise the slider values will
|
|
180
179
|
* likely not update to their expected positions.
|
|
181
180
|
*
|
|
182
181
|
* Overrides the default input parses, which is a parsed floating point number.
|
|
183
182
|
*
|
|
184
|
-
* @see [inputFormatFunction](https://developers.arcgis.com/javascript/latest/
|
|
183
|
+
* @see [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputFormatFunction)
|
|
185
184
|
* @example
|
|
186
185
|
* ```js
|
|
187
186
|
* // Parses the slider input (a string value) to a number value understandable to the slider
|
|
@@ -209,7 +208,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
209
208
|
accessor inputParseFunction: InputParseFunction | null | undefined;
|
|
210
209
|
/**
|
|
211
210
|
* A modified version of
|
|
212
|
-
* [Slider#labelFormatFunction](https://developers.arcgis.com/javascript/latest/
|
|
211
|
+
* [Slider#labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/#labelFormatFunction),
|
|
213
212
|
* which is a custom function used to format labels on the thumbs, min, max, and average
|
|
214
213
|
* values. Overrides the default label formatter.
|
|
215
214
|
* This function also supports date formatting.
|
|
@@ -249,7 +248,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
249
248
|
* Defines how slider thumb values should be rounded. This number indicates the number
|
|
250
249
|
* of decimal places slider thumb _values_ should round to when they have been moved.
|
|
251
250
|
*
|
|
252
|
-
* Keep in mind this property rounds thumb [values](https://developers.arcgis.com/javascript/latest/
|
|
251
|
+
* Keep in mind this property rounds thumb [values](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderViewModel/#values) and shouldn't be used exclusively
|
|
253
252
|
* for formatting purposes.
|
|
254
253
|
*
|
|
255
254
|
* @default 4
|
|
@@ -269,7 +268,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
269
268
|
* Defines the color to be used within the slider's track. The renderer assigned to the layer can be used to
|
|
270
269
|
* match the `trackFillColor` to the current layer symbology.
|
|
271
270
|
*
|
|
272
|
-
* @see [Color](https://developers.arcgis.com/javascript/latest/
|
|
271
|
+
* @see [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)
|
|
273
272
|
* @example
|
|
274
273
|
* ```js
|
|
275
274
|
* opacitySlider.sliderStyle = {
|
|
@@ -281,7 +280,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
281
280
|
/** The current state of the component. */
|
|
282
281
|
accessor state: SmartMappingSliderBaseState;
|
|
283
282
|
/**
|
|
284
|
-
* The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/
|
|
283
|
+
* The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/)
|
|
285
284
|
* to link to the slider. The opacity values in these stops will be used
|
|
286
285
|
* to render the gradient on the slider. They should match the opacity
|
|
287
286
|
* rendered in the associated layer's opacity visual variable.
|
|
@@ -368,14 +367,14 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
368
367
|
destroy(): Promise<void>;
|
|
369
368
|
/**
|
|
370
369
|
* A convenience function used to update the properties of an OpacitySlider component instance from the
|
|
371
|
-
* [result](https://developers.arcgis.com/javascript/latest/
|
|
372
|
-
* the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/
|
|
370
|
+
* [result](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#VisualVariableResult) of
|
|
371
|
+
* the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#createVisualVariable)
|
|
373
372
|
* method. This method is used to configure an empty OpacitySlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.
|
|
374
373
|
* Note that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.
|
|
375
374
|
*
|
|
376
|
-
* @param visualVariable - The result object from the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/
|
|
375
|
+
* @param visualVariable - The result object from the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#createVisualVariable)
|
|
377
376
|
* method.
|
|
378
|
-
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/
|
|
377
|
+
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/#histogram)
|
|
379
378
|
* method.
|
|
380
379
|
* @example
|
|
381
380
|
* ```js
|
|
@@ -4,8 +4,7 @@ import type SizeStop from "@arcgis/core/renderers/visualVariables/support/SizeSt
|
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/size";
|
|
6
6
|
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
7
|
-
import type { IconName } from "
|
|
8
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
7
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
9
8
|
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
10
9
|
import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
11
10
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
@@ -20,17 +19,16 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
20
19
|
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, new development should use the native component.
|
|
21
20
|
*
|
|
22
21
|
* The Size Slider component is intended for authoring and exploring data-driven visualizations in any
|
|
23
|
-
* layer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* layer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/).
|
|
24
23
|
*
|
|
25
|
-
* <span id="image-annotations"></span>
|
|
26
24
|
* See the image below for a summary of the configurable options available on this slider.
|
|
27
25
|
*
|
|
28
26
|
* 
|
|
29
27
|
*
|
|
30
28
|
* The [updateFromRendererResult()](#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
31
|
-
* [max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/
|
|
29
|
+
* [max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
32
30
|
* intervals, and the slider's histogram after the renderer has been created from the result of the
|
|
33
|
-
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
31
|
+
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer) method.
|
|
34
32
|
*
|
|
35
33
|
* ```js
|
|
36
34
|
* const sizeRendererCreator = await import("@arcgis/core/smartMapping/renderers/size.js");
|
|
@@ -62,7 +60,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
62
60
|
* sizeSlider.updateFromRendererResult(rendererResult, histogramResult);
|
|
63
61
|
* ```
|
|
64
62
|
*
|
|
65
|
-
* This slider should be used to update a [size visual variable](https://developers.arcgis.com/javascript/latest/
|
|
63
|
+
* This slider should be used to update a [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
66
64
|
* in a layer's renderer. It is the responsibility of the app developer
|
|
67
65
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
68
66
|
*
|
|
@@ -73,7 +71,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
73
71
|
* return;
|
|
74
72
|
* }
|
|
75
73
|
*
|
|
76
|
-
* const sizeVariable = renderer.visualVariables[0]
|
|
74
|
+
* const sizeVariable = renderer.visualVariables[0];
|
|
77
75
|
* const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);
|
|
78
76
|
* if (!updatedSizeVariable) {
|
|
79
77
|
* return;
|
|
@@ -88,9 +86,9 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
88
86
|
* sizeSlider.addEventListener("arcgisPropertyChange", updateRendererFromSlider);
|
|
89
87
|
* ```
|
|
90
88
|
*
|
|
91
|
-
* @since 5.0
|
|
92
|
-
* @see [SizeSliderViewModel](https://developers.arcgis.com/javascript/latest/
|
|
93
|
-
* @see [sizeRendererCreator](https://developers.arcgis.com/javascript/latest/
|
|
89
|
+
* @since 5.0
|
|
90
|
+
* @see [SizeSliderViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SizeSlider/SizeSliderViewModel/)
|
|
91
|
+
* @see [sizeRendererCreator](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/)
|
|
94
92
|
*/
|
|
95
93
|
export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
96
94
|
/**
|
|
@@ -104,11 +102,11 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
104
102
|
*/
|
|
105
103
|
accessor autoDestroyDisabled: boolean;
|
|
106
104
|
/**
|
|
107
|
-
* The
|
|
108
|
-
* generated using the [histogram](https://developers.arcgis.com/javascript/latest/
|
|
105
|
+
* The histogram associated with the data represented on the slider. The bins are typically
|
|
106
|
+
* generated using the [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/) statistics function.
|
|
109
107
|
*
|
|
110
|
-
* @see [histogram](https://developers.arcgis.com/javascript/latest/
|
|
111
|
-
* @see [Histogram](https://developers.arcgis.com/javascript/latest/
|
|
108
|
+
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
109
|
+
* @see [Histogram](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/)
|
|
112
110
|
* @example
|
|
113
111
|
* ```js
|
|
114
112
|
* const histogramResult = await histogram({
|
|
@@ -131,7 +129,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
131
129
|
*/
|
|
132
130
|
accessor icon: IconName;
|
|
133
131
|
/**
|
|
134
|
-
* A function used to format user inputs. As opposed to [labelFormatFunction](
|
|
132
|
+
* A function used to format user inputs. As opposed to [labelFormatFunction](#labelFormatFunction), which formats
|
|
135
133
|
* thumb labels, the `inputFormatFunction` formats thumb values in the input element when the user begins
|
|
136
134
|
* to edit them.
|
|
137
135
|
*
|
|
@@ -146,13 +144,13 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
146
144
|
* 
|
|
147
145
|
*
|
|
148
146
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
149
|
-
* [inputParseFunction](
|
|
150
|
-
* you specify an `inputFormatFunction`, you should set the [labelFormatFunction](
|
|
147
|
+
* [inputParseFunction](#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
148
|
+
* you specify an `inputFormatFunction`, you should set the [labelFormatFunction](#labelFormatFunction) to the same value
|
|
151
149
|
* for consistency between labels and inputs.
|
|
152
150
|
*
|
|
153
151
|
* This property overrides the default input formatter, which formats by calling `toString()` on the input value.
|
|
154
152
|
*
|
|
155
|
-
* @see [inputParseFunction](
|
|
153
|
+
* @see [inputParseFunction](#inputParseFunction)
|
|
156
154
|
* @example
|
|
157
155
|
* ```js
|
|
158
156
|
* // Formats the slider input to abbreviated numbers with units
|
|
@@ -173,13 +171,13 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
173
171
|
*/
|
|
174
172
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
175
173
|
/**
|
|
176
|
-
* Function used to parse slider inputs formatted by the [inputFormatFunction](
|
|
174
|
+
* Function used to parse slider inputs formatted by the [inputFormatFunction](#inputFormatFunction).
|
|
177
175
|
* This property must be set if an `inputFormatFunction` is set. Otherwise the slider values will
|
|
178
176
|
* likely not update to their expected positions.
|
|
179
177
|
*
|
|
180
178
|
* Overrides the default input parses, which is a parsed floating point number.
|
|
181
179
|
*
|
|
182
|
-
* @see [inputFormatFunction](
|
|
180
|
+
* @see [inputFormatFunction](#inputFormatFunction)
|
|
183
181
|
* @example
|
|
184
182
|
* ```js
|
|
185
183
|
* // Parses the slider input (a string value) to a number value understandable to the slider
|
|
@@ -206,16 +204,14 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
206
204
|
*/
|
|
207
205
|
accessor inputParseFunction: InputParseFunction | null | undefined;
|
|
208
206
|
/**
|
|
209
|
-
* A
|
|
210
|
-
* [Slider#labelFormatFunction](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelFormatFunction),
|
|
211
|
-
* which is a custom function used to format labels on the thumbs, min, max, and average
|
|
207
|
+
* A function used to format labels on the thumbs, min, max, and average
|
|
212
208
|
* values. Overrides the default label formatter.
|
|
213
209
|
* This function also supports date formatting.
|
|
214
210
|
*
|
|
215
211
|
* @example
|
|
216
212
|
* ```js
|
|
217
213
|
* // For thumb values, rounds each label to whole numbers
|
|
218
|
-
* sizeSlider.labelFormatFunction = (value
|
|
214
|
+
* sizeSlider.labelFormatFunction = (value, type?): string => {
|
|
219
215
|
* return (type === "value") ? value.toFixed(0) : value.toString();
|
|
220
216
|
* };
|
|
221
217
|
* ```
|
|
@@ -247,7 +243,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
247
243
|
* Defines how slider thumb values should be rounded. This number indicates the number
|
|
248
244
|
* of decimal places slider thumb _values_ should round to when they have been moved.
|
|
249
245
|
*
|
|
250
|
-
* Keep in mind this property rounds thumb
|
|
246
|
+
* Keep in mind this property rounds thumb _values_ and shouldn't be used exclusively
|
|
251
247
|
* for formatting purposes.
|
|
252
248
|
*
|
|
253
249
|
* @default 4
|
|
@@ -264,10 +260,10 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
264
260
|
*/
|
|
265
261
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
266
262
|
/**
|
|
267
|
-
* Exposes various properties of the slider that can be styled. The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
263
|
+
* Exposes various properties of the slider that can be styled. The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|
|
268
264
|
* method can be used to match the `trackFillColor` to the current layer symbology.
|
|
269
265
|
*
|
|
270
|
-
* @see [Color](https://developers.arcgis.com/javascript/latest/
|
|
266
|
+
* @see [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)
|
|
271
267
|
* @example
|
|
272
268
|
* ```js
|
|
273
269
|
* sizeSlider.sliderStyle = {
|
|
@@ -280,7 +276,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
280
276
|
/** The current state of the component. */
|
|
281
277
|
accessor state: SmartMappingSliderBaseState;
|
|
282
278
|
/**
|
|
283
|
-
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/
|
|
279
|
+
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) to link to the slider.
|
|
284
280
|
*
|
|
285
281
|
* @see [updateVisualVariable()](#updateVisualVariable)
|
|
286
282
|
* @example
|
|
@@ -362,14 +358,14 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
362
358
|
destroy(): Promise<void>;
|
|
363
359
|
/**
|
|
364
360
|
* A convenience function used to update the properties of a SizeSlider component instance from the
|
|
365
|
-
* [result](https://developers.arcgis.com/javascript/latest/
|
|
366
|
-
* the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
361
|
+
* [result](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#ContinuousRendererResult) of
|
|
362
|
+
* the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|
|
367
363
|
* method. This method is used to configure an empty SizeSlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.
|
|
368
364
|
* Note that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.
|
|
369
365
|
*
|
|
370
|
-
* @param rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
366
|
+
* @param rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|
|
371
367
|
* method.
|
|
372
|
-
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/
|
|
368
|
+
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/#histogram)
|
|
373
369
|
* method.
|
|
374
370
|
* @example
|
|
375
371
|
* ```js
|
|
@@ -387,23 +383,23 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
387
383
|
*/
|
|
388
384
|
updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void;
|
|
389
385
|
/**
|
|
390
|
-
* A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/
|
|
391
|
-
* to match the values of the [stops](
|
|
386
|
+
* A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
387
|
+
* to match the values of the [stops](#stops) on the slider.
|
|
392
388
|
* The slider stops are automatically updated internally when the user drags a thumb slider.
|
|
393
389
|
*
|
|
394
390
|
* This is particularly useful for Size visual variables that have a set
|
|
395
|
-
* [minDataValue](https://developers.arcgis.com/javascript/latest/
|
|
396
|
-
* [maxDataValue](https://developers.arcgis.com/javascript/latest/
|
|
391
|
+
* [minDataValue](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/#minDataValue) and
|
|
392
|
+
* [maxDataValue](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/#minDataValue).
|
|
397
393
|
* This method will properly reconstruct the variable to set on the renderer so it matches the stops on the slider.
|
|
398
394
|
*
|
|
399
395
|
* @param sizeVariable - The size visual variable
|
|
400
|
-
* from the renderer to update to the set [stops](
|
|
396
|
+
* from the renderer to update to the set [stops](#stops) on the slider.
|
|
401
397
|
* @returns Returns the updated visual variable
|
|
402
398
|
* to set back on the renderer.
|
|
403
399
|
* @example
|
|
404
400
|
* ```js
|
|
405
401
|
* const renderer = featureLayer.renderer?.clone();
|
|
406
|
-
* const sizeVariable = renderer.visualVariables[0]
|
|
402
|
+
* const sizeVariable = renderer.visualVariables[0];
|
|
407
403
|
* const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);
|
|
408
404
|
* ```
|
|
409
405
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
4
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
6
5
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
7
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
7
|
import type { SnappingControlsViewModelState } from "@arcgis/core/widgets/support/SnappingControls/SnappingControlsViewModel.js";
|
|
@@ -3,7 +3,7 @@ import type MapView from "@arcgis/core/views/MapView.js";
|
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type Layer from "@arcgis/core/layers/Layer.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 { Direction, State } from "@arcgis/core/widgets/Swipe/types.js";
|
|
9
9
|
|
|
@@ -44,7 +44,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
44
44
|
*/
|
|
45
45
|
accessor direction: Direction;
|
|
46
46
|
/**
|
|
47
|
-
* When
|
|
47
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
48
48
|
*
|
|
49
49
|
* @default false
|
|
50
50
|
*/
|
|
@@ -52,7 +52,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
52
52
|
/**
|
|
53
53
|
* A collection of layers that will show on the right or bottom side of the Swipe component.
|
|
54
54
|
*
|
|
55
|
-
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/
|
|
55
|
+
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#trailingLayers)
|
|
56
56
|
* @since 5.0
|
|
57
57
|
*/
|
|
58
58
|
accessor endLayers: Collection<Layer>;
|
|
@@ -86,7 +86,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
86
86
|
* A collection of layers that will show on the left or top side of the Swipe component.
|
|
87
87
|
*
|
|
88
88
|
* @deprecated since 5.0, use [`startLayers`](#startLayers) instead.
|
|
89
|
-
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/
|
|
89
|
+
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#leadingLayers)
|
|
90
90
|
*/
|
|
91
91
|
accessor leadingLayers: Collection<Layer>;
|
|
92
92
|
/**
|
|
@@ -123,7 +123,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
123
123
|
/**
|
|
124
124
|
* A collection of layers that will show on the left or top side of the Swipe component.
|
|
125
125
|
*
|
|
126
|
-
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/
|
|
126
|
+
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#leadingLayers)
|
|
127
127
|
* @since 5.0
|
|
128
128
|
*/
|
|
129
129
|
accessor startLayers: Collection<Layer>;
|
|
@@ -145,7 +145,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
145
145
|
* A collection of layers that will show on the right or bottom side of the Swipe component.
|
|
146
146
|
*
|
|
147
147
|
* @deprecated since 5.0, use [`endLayers`](#endLayers) instead.
|
|
148
|
-
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/
|
|
148
|
+
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#trailingLayers)
|
|
149
149
|
*/
|
|
150
150
|
accessor trailingLayers: Collection<Layer>;
|
|
151
151
|
/**
|