@arcgis/map-components 5.1.0-next.2 → 5.1.0-next.21
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/{RCWZGU5T.js → 255MJSL7.js} +1 -1
- package/dist/cdn/25C2WYON.js +2 -0
- package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
- package/dist/cdn/2AYGSNEO.js +2 -0
- package/dist/cdn/{HH6BDERO.js → 2F4VMURG.js} +1 -1
- package/dist/cdn/2ID4LW4Y.js +2 -0
- package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
- package/dist/cdn/2XOP6ODR.js +2 -0
- package/dist/cdn/{YZ5ZVEPC.js → 2ZPMEF52.js} +1 -1
- package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
- package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
- package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
- package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
- package/dist/cdn/3OVSVCGF.js +2 -0
- package/dist/cdn/45DIIV4Z.js +2 -0
- package/dist/cdn/{5PRNT4KD.js → 4723UCGJ.js} +1 -1
- package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
- package/dist/cdn/{NIUIKBRD.js → 4GMSBMTS.js} +1 -1
- package/dist/cdn/{M65HMJZA.js → 4IATWN2B.js} +1 -1
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
- package/dist/cdn/4S2ZIUO2.js +2 -0
- package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
- package/dist/cdn/{63P5VYGP.js → 5EEHZIM7.js} +1 -1
- package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
- package/dist/cdn/5LIIGBMB.js +2 -0
- package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/6HVUFH5B.js +2 -0
- package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
- package/dist/cdn/{ZURN5EZI.js → 6QW2EUPX.js} +1 -1
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
- package/dist/cdn/6YZHULFG.js +2 -0
- package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
- package/dist/cdn/{UVCYUIKZ.js → 7D3Z55D3.js} +1 -1
- package/dist/cdn/{2XSXH4TM.js → 7SCKZLOG.js} +1 -1
- package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
- package/dist/cdn/7WLTT4K3.js +2 -0
- package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
- package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
- package/dist/cdn/AN7CPHB7.js +2 -0
- package/dist/cdn/{FJJVAOBW.js → AOYK64AS.js} +1 -1
- package/dist/cdn/{TSPKG2WN.js → ATG3WC6M.js} +2 -2
- package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
- package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
- package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
- package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
- package/dist/cdn/BOM3XB6A.js +2 -0
- package/dist/cdn/BQRJK2MF.js +2 -0
- package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
- package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
- package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
- package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
- package/dist/cdn/C4FXVPMR.js +2 -0
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
- package/dist/cdn/COSZXJ2Q.js +2 -0
- package/dist/cdn/{PISCYSA5.js → CQZVPPYJ.js} +1 -1
- package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
- package/dist/cdn/CWODI2VY.js +2 -0
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/{R4V6HGJH.js → D3NPU6MI.js} +1 -1
- package/dist/cdn/DDYVX52H.js +2 -0
- package/dist/cdn/DEJGWX76.js +2 -0
- package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
- package/dist/cdn/DY3ERISU.js +2 -0
- package/dist/cdn/E44RUDE7.js +2 -0
- package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
- package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
- package/dist/cdn/EQ4FEO75.js +2 -0
- package/dist/cdn/EQPJBPD5.js +2 -0
- package/dist/cdn/EVC4MXIZ.js +2 -0
- package/dist/cdn/{KHM3S4Q6.js → F2JFRFTT.js} +1 -1
- package/dist/cdn/F7S63XRR.js +2 -0
- package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
- package/dist/cdn/{EVRFMTMV.js → FNJ3HMEN.js} +1 -1
- package/dist/cdn/FTAYHPMM.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
- package/dist/cdn/{H6ILOF27.js → FUXY5EKO.js} +1 -1
- package/dist/cdn/FZDIAVC4.js +2 -0
- package/dist/cdn/G7QZJNAC.js +2 -0
- package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
- package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
- package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
- package/dist/cdn/GXBHOVJY.js +2 -0
- package/dist/cdn/{KY4FMFIC.js → GZ3XKDIF.js} +1 -1
- package/dist/cdn/HDL76VD5.js +2 -0
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
- package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
- package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
- package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
- package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
- package/dist/cdn/{F4HWT5H3.js → IM47JQ76.js} +1 -1
- package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
- package/dist/cdn/IW7IOW5D.js +2 -0
- package/dist/cdn/{FQGKKJL7.js → IX5YLGNO.js} +1 -1
- package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
- package/dist/cdn/{OCEXQCFT.js → JEFKCKHC.js} +1 -1
- package/dist/cdn/JSD5CN5Q.js +2 -0
- package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
- package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
- package/dist/cdn/JXUAJ4MS.js +2 -0
- package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
- package/dist/cdn/LB32PLWG.js +2 -0
- package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
- package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
- package/dist/cdn/{2VC2VUTP.js → MIXNJBCA.js} +1 -1
- package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
- package/dist/cdn/{FC6W37TT.js → MSWQUZSG.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
- package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
- package/dist/cdn/NHMOFXEE.js +2 -0
- package/dist/cdn/{52GXKBGP.js → NLRKDVIJ.js} +1 -1
- package/dist/cdn/NPEA453T.js +2 -0
- package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
- package/dist/cdn/NWWJHV2L.js +2 -0
- package/dist/cdn/{E2JLZZFR.js → O2BAIE3M.js} +1 -1
- package/dist/cdn/OKXFUFPW.js +2 -0
- package/dist/cdn/OSIWX2OH.js +2 -0
- package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
- package/dist/cdn/{SZ5MNKOW.js → PPQASHMO.js} +1 -1
- package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
- package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
- package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/{3PQT2S7Z.js → QEXDU6P7.js} +1 -1
- package/dist/cdn/{4363SIKC.js → QHSQUBMZ.js} +1 -1
- package/dist/cdn/QUXORNHT.js +2 -0
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
- package/dist/cdn/{WJ5HD2YN.js → RMGBO7V2.js} +1 -1
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
- package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
- package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
- package/dist/cdn/TK4IQ72L.js +2 -0
- package/dist/cdn/TKFT2JL7.js +2 -0
- package/dist/cdn/TKK5PRP5.js +2 -0
- package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
- package/dist/cdn/{JBJ5NQTI.js → UH33CM5U.js} +1 -1
- package/dist/cdn/UNY32K3R.js +2 -0
- package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
- package/dist/cdn/VYAUH7PN.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
- package/dist/cdn/W5T5EBL3.js +2 -0
- package/dist/cdn/{NZAO2BVV.js → WHGU6HOR.js} +1 -1
- package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
- package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
- package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
- package/dist/cdn/{JLK664TB.js → X5NCN674.js} +1 -1
- package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/Y33DXW66.js +2 -0
- package/dist/cdn/{YC423DBS.js → Y4JTATJ2.js} +1 -1
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
- package/dist/cdn/{BGOWWLCQ.js → YC562S5E.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/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/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/layer-utils.js +33 -16
- package/dist/chunks/measurementUtils.js +45 -22
- package/dist/chunks/slots.js +20 -20
- package/dist/chunks/time-utils.js +24 -22
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
- package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
- 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 +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +202 -200
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
- 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 +60 -14
- package/dist/components/arcgis-directions/customElement.js +28 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +27 -19
- package/dist/components/arcgis-editor/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- 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 +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +28 -27
- package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
- package/dist/components/arcgis-feature-table/customElement.js +47 -31
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
- package/dist/components/arcgis-features/customElement.d.ts +66 -70
- package/dist/components/arcgis-features/customElement.js +49 -49
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- 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 +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +61 -71
- package/dist/components/arcgis-link-chart/customElement.js +15 -15
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-map/customElement.d.ts +174 -184
- package/dist/components/arcgis-map/customElement.js +11 -11
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- 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 +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +57 -54
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +67 -70
- package/dist/components/arcgis-popup/customElement.js +121 -119
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -200
- package/dist/components/arcgis-scene/customElement.js +14 -14
- package/dist/components/arcgis-search/customElement.d.ts +63 -59
- package/dist/components/arcgis-search/customElement.js +19 -18
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-sketch/customElement.d.ts +57 -39
- package/dist/components/arcgis-sketch/customElement.js +20 -8
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
- package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
- 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 +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
- package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
- package/dist/components/arcgis-time-zone-label/index.js +0 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +15 -2
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -59
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +93 -64
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +96 -91
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +17 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +96 -75
- 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 +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +45 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
- 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 +8 -7
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -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 +13 -35
- package/dist/loader.js +36 -36
- package/dist/types/lumina.d.ts +36 -58
- package/dist/types/preact.d.ts +37 -63
- package/dist/types/react.d.ts +38 -68
- package/dist/types/stencil.d.ts +36 -58
- package/package.json +4 -4
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/55QGHI47.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/CKNH5OMJ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/E7FLH54K.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/F2TXAMXM.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/HNHCO4OD.js +0 -2
- package/dist/cdn/HR2OOT3F.js +0 -2
- package/dist/cdn/I2MQQXVU.js +0 -2
- package/dist/cdn/IDDSHZVB.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KXF2562U.js +0 -2
- package/dist/cdn/LHEP4QSS.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/MWBGBBXT.js +0 -2
- package/dist/cdn/NVACRYY6.js +0 -2
- package/dist/cdn/NZ5M5SVG.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/RJ76OXB6.js +0 -2
- package/dist/cdn/S4XGBADW.js +0 -2
- package/dist/cdn/S6G6XXTM.js +0 -2
- package/dist/cdn/SKW7HQZ6.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/TM5C2P2F.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/XO6U6OVM.js +0 -2
- package/dist/cdn/Y53D5YAC.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-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/arcgis-feature-templates/customElement.d.ts +0 -215
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- 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/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /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
|
@@ -1,25 +1,60 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
-
import type LinkChartView from "@arcgis/core/views/LinkChartView";
|
|
5
|
-
import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem";
|
|
6
|
-
import type Collection from "@arcgis/core/core/Collection";
|
|
7
|
-
import type WebScene from "@arcgis/core/WebScene.js";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
|
+
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
5
|
+
import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem.js";
|
|
6
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
8
7
|
import type WebMap from "@arcgis/core/WebMap.js";
|
|
9
|
-
import type
|
|
8
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
10
9
|
import type ListItem from "@arcgis/core/widgets/TableList/ListItem.js";
|
|
11
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
|
-
import type { ArcgisReferenceElement } from "
|
|
13
|
-
import type {
|
|
14
|
-
import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel";
|
|
11
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
12
|
+
import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel.js";
|
|
15
13
|
import type { FilterPredicate } from "@arcgis/core/widgets/TableList.js";
|
|
16
14
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
17
15
|
import type { ListItemModifier, State } from "@arcgis/core/widgets/TableList/types.js";
|
|
18
16
|
|
|
19
17
|
/**
|
|
20
|
-
* The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/
|
|
18
|
+
* The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/).
|
|
19
|
+
* It is meant to be used with [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) tables.
|
|
20
|
+
*
|
|
21
|
+
* If a map contains feature layer tables, they will display within the component. Tables can also be added to the Map's
|
|
22
|
+
* [tables](https://developers.arcgis.com/javascript/latest/references/core/Map/#tables) collection. Any tables referenced in the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#map)
|
|
23
|
+
* property will display in the component. If unsure of whether the layer is a table, check the feature layer's
|
|
24
|
+
* [isTable](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#isTable) property.
|
|
25
|
+
*
|
|
26
|
+
* The [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/) API provides access to each table, allows
|
|
27
|
+
* the developer to configure actions related to the table, and allows the developer to add content to the item related to the table.
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* **Known Limitations**
|
|
31
|
+
* * The TableList component is not supported with [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
21
32
|
*
|
|
22
33
|
* @since 4.28
|
|
34
|
+
* @example
|
|
35
|
+
* ```js
|
|
36
|
+
*
|
|
37
|
+
* const tableListElement = document.createElement("arcgis-table-list");
|
|
38
|
+
* tableListElement.referenceElement = viewElement;
|
|
39
|
+
* tableListElement.slot = "top-left";
|
|
40
|
+
* viewElement.appendChild(tableListElement);
|
|
41
|
+
*
|
|
42
|
+
* const layer = Layer.fromPortalItem({
|
|
43
|
+
* // Loads a layer (table) from a portal item
|
|
44
|
+
* portalItem: {
|
|
45
|
+
* id: "add portal item id"
|
|
46
|
+
* }
|
|
47
|
+
* });
|
|
48
|
+
*
|
|
49
|
+
* // Wait for the layer to load
|
|
50
|
+
* await layer.load()
|
|
51
|
+
*
|
|
52
|
+
* // Check if the layer is a table
|
|
53
|
+
* if (layer.isTable) {
|
|
54
|
+
* // Add the table to the map's tables collection
|
|
55
|
+
* viewElement.map.tables.add(layer);
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
23
58
|
*/
|
|
24
59
|
export abstract class ArcgisTableList extends LitElement {
|
|
25
60
|
/**
|
|
@@ -46,46 +81,60 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
46
81
|
* @default false
|
|
47
82
|
* @since 4.29
|
|
48
83
|
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showCollapseButton)
|
|
49
|
-
* @example
|
|
84
|
+
* @example
|
|
85
|
+
* ```js
|
|
86
|
+
* tableListElement.collapsed = true;
|
|
87
|
+
* ```
|
|
50
88
|
*/
|
|
51
89
|
accessor collapsed: boolean;
|
|
52
90
|
/**
|
|
53
|
-
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/
|
|
54
|
-
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/
|
|
91
|
+
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/) may be reordered within the list by dragging and dropping.
|
|
92
|
+
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minDragEnabledItems).
|
|
55
93
|
*
|
|
56
94
|
* @default false
|
|
57
95
|
* @since 4.29
|
|
58
|
-
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/
|
|
59
|
-
* @example
|
|
96
|
+
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minDragEnabledItems)
|
|
97
|
+
* @example
|
|
98
|
+
* ```js
|
|
99
|
+
* tableListElement.dragEnabled = true;
|
|
100
|
+
* ```
|
|
60
101
|
*/
|
|
61
102
|
accessor dragEnabled: boolean;
|
|
62
103
|
/**
|
|
63
|
-
* Placeholder text used in the filter input if [
|
|
104
|
+
* Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) is true.
|
|
64
105
|
*
|
|
65
106
|
* @default ""
|
|
66
107
|
* @since 4.29
|
|
67
108
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
|
|
68
|
-
* @example
|
|
109
|
+
* @example
|
|
110
|
+
* ```js
|
|
111
|
+
* tableListElement.filterPlaceholder = "Filter layers";
|
|
112
|
+
* ```
|
|
69
113
|
*/
|
|
70
114
|
accessor filterPlaceholder: string;
|
|
71
115
|
/**
|
|
72
|
-
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/
|
|
116
|
+
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/).
|
|
73
117
|
*
|
|
74
118
|
* @since 4.32
|
|
75
|
-
* @example
|
|
119
|
+
* @example
|
|
120
|
+
* ```js
|
|
121
|
+
* tableListElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
122
|
+
* ```
|
|
76
123
|
*/
|
|
77
124
|
accessor filterPredicate: FilterPredicate | null | undefined;
|
|
78
125
|
/**
|
|
79
|
-
* The value of the filter input text string if [
|
|
126
|
+
* The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) is true.
|
|
80
127
|
*
|
|
81
128
|
* @default ""
|
|
82
129
|
* @since 4.29
|
|
83
|
-
* @see [
|
|
130
|
+
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
|
|
84
131
|
* @example
|
|
132
|
+
* ```js
|
|
85
133
|
* reactiveUtils.watch(
|
|
86
|
-
* () =>
|
|
134
|
+
* () => tableListElement.filterText,
|
|
87
135
|
* (filterText) => console.log(filterText)
|
|
88
136
|
* );
|
|
137
|
+
* ```
|
|
89
138
|
*/
|
|
90
139
|
accessor filterText: string;
|
|
91
140
|
/**
|
|
@@ -112,78 +161,61 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
112
161
|
*/
|
|
113
162
|
accessor label: string;
|
|
114
163
|
/**
|
|
115
|
-
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
164
|
+
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/).
|
|
116
165
|
* Each list item can be modified according to its modifiable properties. Actions can be added
|
|
117
|
-
* to list items using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
166
|
+
* to list items using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/#actionsSections)
|
|
118
167
|
* property of the ListItem.
|
|
119
168
|
*
|
|
120
169
|
* @example
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* });
|
|
170
|
+
* ```js
|
|
171
|
+
* tableListElement.listItemCreatedFunction = (event) => {
|
|
172
|
+
* const { item } = event;
|
|
173
|
+
* item.actionsSections = [
|
|
174
|
+
* [
|
|
175
|
+
* {
|
|
176
|
+
* title: "Open in feature table",
|
|
177
|
+
* icon: "table",
|
|
178
|
+
* id: "open-table"
|
|
179
|
+
* }
|
|
180
|
+
* ]
|
|
181
|
+
* ];
|
|
182
|
+
* }
|
|
183
|
+
* ```
|
|
136
184
|
*/
|
|
137
185
|
accessor listItemCreatedFunction: ListItemModifier | null | undefined;
|
|
138
186
|
/**
|
|
139
|
-
* A reference to a [Map](https://developers.arcgis.com/javascript/latest/
|
|
187
|
+
* A reference to a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) containing the tables. Set this property
|
|
140
188
|
* to access the underlying tables within the map.
|
|
141
189
|
*
|
|
142
190
|
* @since 4.34
|
|
143
|
-
* @see [Map#tables](https://developers.arcgis.com/javascript/latest/
|
|
144
|
-
* @see [WebMap#tables](https://developers.arcgis.com/javascript/latest/
|
|
145
|
-
* @example
|
|
146
|
-
* Layer.fromPortalItem({
|
|
147
|
-
* // Loads a layer (table) from a portal item
|
|
148
|
-
* portalItem: { // autocasts new PortalItem()
|
|
149
|
-
* id: "add portal item id"
|
|
150
|
-
* }
|
|
151
|
-
* }).then(function(layer) {
|
|
152
|
-
* // Load the layer
|
|
153
|
-
* layer.load().then(function() {
|
|
154
|
-
* // Check if the layer is a table
|
|
155
|
-
* if (layer.isTable) {
|
|
156
|
-
* map.tables.add(layer);
|
|
157
|
-
* console.log(map.tables);
|
|
158
|
-
* }
|
|
159
|
-
* });
|
|
160
|
-
* });
|
|
161
|
-
*
|
|
162
|
-
* const tableList = new TableList({
|
|
163
|
-
* map: map // map contains tables collection
|
|
164
|
-
* });
|
|
191
|
+
* @see [Map#tables](https://developers.arcgis.com/javascript/latest/references/core/Map/#tables)
|
|
192
|
+
* @see [WebMap#tables](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#tables)
|
|
165
193
|
*/
|
|
166
|
-
accessor map:
|
|
194
|
+
accessor map: WebMap | WebScene | null | undefined;
|
|
167
195
|
/**
|
|
168
|
-
* The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/
|
|
196
|
+
* The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#dragEnabled).
|
|
169
197
|
*
|
|
170
198
|
* @default 2
|
|
171
199
|
* @since 4.29
|
|
172
|
-
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/
|
|
200
|
+
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#dragEnabled)
|
|
173
201
|
* @example
|
|
174
|
-
*
|
|
175
|
-
*
|
|
202
|
+
* ```js
|
|
203
|
+
* tableListElement.dragEnabled = true;
|
|
204
|
+
* tableListElement.minDragEnabledItems = 5;
|
|
205
|
+
* ```
|
|
176
206
|
*/
|
|
177
207
|
accessor minDragEnabledItems: number;
|
|
178
208
|
/**
|
|
179
|
-
* The minimum number of list items required to display the [
|
|
209
|
+
* The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) input box.
|
|
180
210
|
*
|
|
181
211
|
* @default 10
|
|
182
212
|
* @since 4.29
|
|
183
213
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
|
|
184
214
|
* @example
|
|
185
|
-
*
|
|
186
|
-
*
|
|
215
|
+
* ```js
|
|
216
|
+
* tableListElement.showFilter = true;
|
|
217
|
+
* tableListElement.minFilterItems = 5;
|
|
218
|
+
* ```
|
|
187
219
|
*/
|
|
188
220
|
accessor minFilterItems: number;
|
|
189
221
|
/**
|
|
@@ -193,15 +225,15 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
193
225
|
*/
|
|
194
226
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
195
227
|
/**
|
|
196
|
-
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
228
|
+
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/)s representing table list items
|
|
197
229
|
* selected by the user.
|
|
198
230
|
*
|
|
199
|
-
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/
|
|
231
|
+
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectionMode)
|
|
200
232
|
*/
|
|
201
|
-
accessor selectedItems:
|
|
233
|
+
accessor selectedItems: Collection<ListItem>;
|
|
202
234
|
/**
|
|
203
235
|
* Specifies the selection mode.
|
|
204
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
236
|
+
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems) property.
|
|
205
237
|
*
|
|
206
238
|
* | Value | Description |
|
|
207
239
|
* | ----- | ----------- |
|
|
@@ -212,10 +244,13 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
212
244
|
*
|
|
213
245
|
* @default "none"
|
|
214
246
|
* @since 4.29
|
|
215
|
-
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
216
|
-
* @example
|
|
247
|
+
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems)
|
|
248
|
+
* @example
|
|
249
|
+
* ```js
|
|
250
|
+
* tableListElement.selectionMode = "multiple";
|
|
251
|
+
* ```
|
|
217
252
|
*/
|
|
218
|
-
accessor selectionMode: "
|
|
253
|
+
accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
|
|
219
254
|
/**
|
|
220
255
|
* Indicates whether to display a close button in the header.
|
|
221
256
|
*
|
|
@@ -238,21 +273,21 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
238
273
|
*/
|
|
239
274
|
accessor showErrors: boolean;
|
|
240
275
|
/**
|
|
241
|
-
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [TableList#minFilterItems](https://developers.arcgis.com/javascript/latest/
|
|
276
|
+
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [TableList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minFilterItems), allowing users to filter tables by their title.
|
|
242
277
|
*
|
|
243
278
|
* @default false
|
|
244
279
|
* @since 5.0
|
|
245
280
|
*/
|
|
246
281
|
accessor showFilter: boolean;
|
|
247
282
|
/**
|
|
248
|
-
* Indicates whether to display the table list heading. The heading text is "Table List". The heading level can be set with the [TableList#headingLevel](https://developers.arcgis.com/javascript/latest/
|
|
283
|
+
* Indicates whether to display the table list heading. The heading text is "Table List". The heading level can be set with the [TableList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#headingLevel).
|
|
249
284
|
*
|
|
250
285
|
* @default false
|
|
251
286
|
* @since 5.0
|
|
252
287
|
*/
|
|
253
288
|
accessor showHeading: boolean;
|
|
254
289
|
/**
|
|
255
|
-
* Indicates whether temporary table indicators will be displayed for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/
|
|
290
|
+
* Indicates whether temporary table indicators will be displayed for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the table title.
|
|
256
291
|
*
|
|
257
292
|
* @default false
|
|
258
293
|
* @since 5.0
|
|
@@ -5,7 +5,7 @@ import { substitute as T } from "@arcgis/core/intl.js";
|
|
|
5
5
|
import { LitElement as v, createEvent as f, safeClassMap as _ } from "@arcgis/lumina";
|
|
6
6
|
import { css as F, html as d } from "lit";
|
|
7
7
|
import { u as L } from "../../chunks/useT9n.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as i } from "../../chunks/time-utils.js";
|
|
9
9
|
const w = F`:host{display:block}arcgis-slider{--arcgis-slider-handle-size: .875rem;--ticks-font-size: .625rem;--label-font-size: .75rem;--label-padding-block-start: 3px;--label-padding-block-end: var(--calcite-spacing-lg);--calcite-font-size-sm: var(--label-font-size);display:block;margin-block-start:var(--padding-block-start, -.5rem);padding-block-end:var(--padding-block-end, .3rem);&.wrap-labels{padding-block-end:var(--wrapped-padding, .875rem)}}:host([visual-scale="s"]) arcgis-slider{--arcgis-slider-handle-size: .625rem;--ticks-font-size: .625rem;--label-font-size: .625rem;--label-padding-block-end: 1rem;--padding-block-end: .5rem;--wrapped-padding: 1.1rem}:host([visual-scale="l"]) arcgis-slider{--arcgis-slider-handle-size: 1rem;--ticks-font-size: .75rem;--label-font-size: .875rem;--label-padding-block-end: .94rem;--padding-block-end: .4rem;--wrapped-padding: 1.1rem}.ticks-container{width:100%;position:relative}.time-range-label{position:relative;width:100%;padding-block-start:var(--label-padding-block-start);padding-block-end:var(--label-padding-block-end);font-size:var(--label-font-size);font-variant-numeric:tabular-nums;line-height:1em;text-align:center}.main-ticks,.secondary-ticks{position:absolute;inset:0}.main-ticks{--arcgis-ticks-label-width: min-content;--arcgis-ticks-label-text-align: center;--arcgis-ticks-font-size: var(--ticks-font-size);white-space:nowrap;word-break:auto-phrase;font-variant-numeric:tabular-nums}.wrap-labels .main-ticks{white-space:normal}.secondary-ticks{--arcgis-ticks-tick-length: 3px;--arcgis-ticks-gap: 16px}`;
|
|
10
10
|
class z extends v {
|
|
11
11
|
constructor() {
|
|
@@ -23,7 +23,7 @@ class z extends v {
|
|
|
23
23
|
_getSliderLabelFormatter(e) {
|
|
24
24
|
const t = new Intl.DateTimeFormat(e, h);
|
|
25
25
|
return (a) => {
|
|
26
|
-
const n =
|
|
26
|
+
const n = i(a, "minutes", "milliseconds"), m = new Date(n);
|
|
27
27
|
let r = t.format(m);
|
|
28
28
|
return n !== 0 && r === "00:00" && (r = "24:00"), r;
|
|
29
29
|
};
|
|
@@ -31,14 +31,14 @@ class z extends v {
|
|
|
31
31
|
_getTickLabelFormatter(e) {
|
|
32
32
|
const t = new Intl.DateTimeFormat(e, h), a = new Intl.DateTimeFormat(e, y);
|
|
33
33
|
return (n) => {
|
|
34
|
-
const m = Math.round(
|
|
35
|
-
let
|
|
36
|
-
if (
|
|
37
|
-
|
|
34
|
+
const m = Math.round(i(n, "minutes", "hours")), r = i(m, "hours", "milliseconds"), c = new Date(r);
|
|
35
|
+
let s = t.format(c);
|
|
36
|
+
if (s.includes(" ")) {
|
|
37
|
+
s = a.format(c), s = s.replace(":00", "");
|
|
38
38
|
const b = "";
|
|
39
|
-
|
|
39
|
+
s = s.split(" ").map((p) => Array.from(p).join(b)).join(" ");
|
|
40
40
|
}
|
|
41
|
-
return
|
|
41
|
+
return s;
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
_setStartTime(e) {
|
|
@@ -53,7 +53,7 @@ class z extends v {
|
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
55
|
const e = this.mode === "single" && !this.disabled;
|
|
56
|
-
return k(this.messages._lang, d`<arcgis-slider .ariaLabel=${this.label} class=${_({ "wrap-labels": this._shouldWrapLabels })} .disabled=${this.disabled} fill-placement=none .labelFormatter=${this._sliderLabelFormatter} layout=horizontal min=0 .max=${o} .steps=${this.steps ?? 1} .valueLabelsDisplay=${this.mode === "range" ? "hidden" : "always"} value-labels-placement=
|
|
56
|
+
return k(this.messages._lang, d`<arcgis-slider .ariaLabel=${this.label} class=${_({ "wrap-labels": this._shouldWrapLabels })} .disabled=${this.disabled} fill-placement=none .labelFormatter=${this._sliderLabelFormatter} layout=horizontal min=0 .max=${o} .steps=${this.steps ?? 1} .valueLabelsDisplay=${this.mode === "range" ? "hidden" : "always"} value-labels-placement=start .values=${this._values} @arcgisInput=${({ currentTarget: { values: t } }) => {
|
|
57
57
|
this.mode === "single" ? this._setStartTime(t[0]) : this._setRange(t[0], t[1]);
|
|
58
58
|
}}>${this.mode === "range" ? this._renderTimeRange() : void 0}<div class="ticks-container" slot=content-end><arcgis-ticks class="main-ticks" .interactive=${e} .labelFormatter=${this._tickLabelFormatter} layout=horizontal min=0 .max=${o} mode=value show-labels .values=${g} @arcgisTickClick=${(t) => this._setStartTime(t.detail.value)}></arcgis-ticks><arcgis-ticks class="secondary-ticks" layout=horizontal min=0 .max=${o} mode=value .values=${$} @arcgisTickClick=${(t) => this._setStartTime(t.detail.value)}></arcgis-ticks></div></arcgis-slider>`);
|
|
59
59
|
}
|
|
@@ -62,9 +62,9 @@ class z extends v {
|
|
|
62
62
|
return d`<div class="time-range-label" aria-live=polite slot=content-start>${T(a ?? "{start} — {end}", { start: e, end: t })}</div>`;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
const o =
|
|
65
|
+
const o = i(24, "hours", "minutes") - 1, g = [0, 6, 12, 18].map((l) => i(l, "hours", "minutes"));
|
|
66
66
|
g.push(o);
|
|
67
|
-
const $ = [2, 4, 8, 10, 14, 16, 20, 22].map((l) =>
|
|
67
|
+
const $ = [2, 4, 8, 10, 14, 16, 20, 22].map((l) => i(l, "hours", "minutes")), h = {
|
|
68
68
|
hour: "numeric",
|
|
69
69
|
minute: "numeric",
|
|
70
70
|
timeZone: "UTC"
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type WebMap from "@arcgis/core/WebMap";
|
|
2
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type { TimeSliderProperties } from "@arcgis/core/webdoc/widgets/TimeSlider";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
+
import type { TimeSliderViewModelTriggerActionEvent } from "@arcgis/core/widgets/TimeSlider/TimeSliderViewModel.js";
|
|
8
|
+
import type { TimeSliderSettings, Action, TimeSliderMode, TimeSliderState, Stops } from "@arcgis/core/widgets/TimeSlider/types.js";
|
|
10
9
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
11
|
-
import type { Action, TimeSliderMode, TimeSliderState, Stops } from "@arcgis/core/widgets/TimeSlider/types.js";
|
|
12
10
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
13
11
|
import type { TimeSliderLayout } from "@arcgis/core/widgets/TimeSlider.js";
|
|
14
12
|
import type { TickConfig } from "@arcgis/core/widgets/Slider/types.js";
|
|
@@ -21,16 +19,16 @@ import type { TickConfig } from "@arcgis/core/widgets/Slider/types.js";
|
|
|
21
19
|
export abstract class ArcgisTimeSlider extends LitElement {
|
|
22
20
|
/**
|
|
23
21
|
* Defines actions that will appear in a menu when the user clicks the ellipsis button
|
|
24
|
-
*  in the component. The
|
|
25
23
|
* ellipsis button will not display if this property is `null` or if the collection is empty.
|
|
26
|
-
* Each [Action](https://developers.arcgis.com/javascript/latest/
|
|
24
|
+
* Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
|
|
27
25
|
* and an icon.
|
|
28
26
|
*
|
|
29
|
-
* The [@trigger-action](https://developers.arcgis.com/javascript/latest/
|
|
30
|
-
* can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
27
|
+
* The [@trigger-action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#event-trigger-action) event fires each time an action in the menu is clicked. This event
|
|
28
|
+
* can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) to a specific date or copying the
|
|
31
29
|
* timeExtent to the browser's clipboard.
|
|
32
30
|
*
|
|
33
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-timeslider-offset)
|
|
34
32
|
*
|
|
35
33
|
* @since 4.21
|
|
36
34
|
* @see [Sample - TimeSlider with offset](https://developers.arcgis.com/javascript/latest/sample-code/widgets-timeslider-offset/)
|
|
@@ -91,10 +89,9 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
91
89
|
*/
|
|
92
90
|
accessor autoDestroyDisabled: boolean;
|
|
93
91
|
/**
|
|
94
|
-
* When
|
|
92
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
95
93
|
*
|
|
96
94
|
* @default false
|
|
97
|
-
* @since 4.16
|
|
98
95
|
* @example
|
|
99
96
|
* // Create a timeslider widget that is initially disabled.
|
|
100
97
|
* const timeSlider = new TimeSlider({
|
|
@@ -190,13 +187,13 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
190
187
|
*
|
|
191
188
|
* Possible Values | Description | Example |
|
|
192
189
|
* ----------------------|-------------- | ------- |
|
|
193
|
-
* instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
194
|
-
* time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
195
|
-
* cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
196
|
-
* cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
190
|
+
* instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.png"> |
|
|
191
|
+
* time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.png"> |
|
|
192
|
+
* cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.png"> |
|
|
193
|
+
* cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.png"> |
|
|
197
194
|
*
|
|
198
195
|
* @default "time-window"
|
|
199
|
-
* @see [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
196
|
+
* @see [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent)
|
|
200
197
|
* @example
|
|
201
198
|
* // Create a single thumbed time slider that includes all historic content.
|
|
202
199
|
* const timeSlider = new TimeSlider({
|
|
@@ -219,7 +216,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
219
216
|
*
|
|
220
217
|
* > [!WARNING]
|
|
221
218
|
* >
|
|
222
|
-
* > When a [View](https://developers.arcgis.com/javascript/latest/
|
|
219
|
+
* > When a [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) is associated with a TimeSlider and the TimeSlider is playing, the playback will pause before advancing if the View is still updating.
|
|
223
220
|
* > For example, if the `playRate` is set to 1,000 (one second) and the `View` takes 1.5 seconds to render then the TimeSlider thumb(s) will advance every
|
|
224
221
|
* > 1.5 seconds rather than every second.
|
|
225
222
|
*
|
|
@@ -269,8 +266,8 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
269
266
|
* ```
|
|
270
267
|
*
|
|
271
268
|
* To define regularly spaced stops, parse an object with `interval` and `timeExtent` properties
|
|
272
|
-
* with types [TimeInterval](https://developers.arcgis.com/javascript/latest/
|
|
273
|
-
* The [timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
269
|
+
* with types [TimeInterval](https://developers.arcgis.com/javascript/latest/references/core/time/TimeInterval/) and [TimeExtent](https://developers.arcgis.com/javascript/latest/references/core/time/TimeExtent/) respectively.
|
|
270
|
+
* The [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property is optional and used to confine stops to a certain date range.
|
|
274
271
|
* This property is useful to commence stops on a specific day of the week or month.
|
|
275
272
|
* If a stop definition by interval results in excess of 10,000 stops, then the view model
|
|
276
273
|
* will default to ten evenly spaced stops.
|
|
@@ -333,7 +330,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
333
330
|
accessor stops: Stops | null | undefined;
|
|
334
331
|
/**
|
|
335
332
|
* When set, overrides the default TimeSlider ticks labelling system.
|
|
336
|
-
* Please refer to [TickConfig](https://developers.arcgis.com/javascript/latest/
|
|
333
|
+
* Please refer to [TickConfig](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/types/#TickConfig) for detailed documentation
|
|
337
334
|
* on how to configure tick placement, style, and behavior.
|
|
338
335
|
*
|
|
339
336
|
* @since 4.16
|
|
@@ -380,7 +377,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
380
377
|
/**
|
|
381
378
|
* The current time extent of the time slider. This property can be watched for
|
|
382
379
|
* updates and used to update the time extent property in queries and/or the layer filters and effects.
|
|
383
|
-
* The following table shows the `timeExtent` values returned for each [mode](https://developers.arcgis.com/javascript/latest/
|
|
380
|
+
* The following table shows the `timeExtent` values returned for each [mode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#mode).
|
|
384
381
|
*
|
|
385
382
|
* | Mode | The timeExtent value |
|
|
386
383
|
* | ------- | -------------------- |
|
|
@@ -435,7 +432,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
435
432
|
accessor timeVisible: boolean;
|
|
436
433
|
/**
|
|
437
434
|
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
438
|
-
* inherited from [MapView#timeZone](https://developers.arcgis.com/javascript/latest/
|
|
435
|
+
* inherited from [MapView#timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#timeZone). When a MapView is not associated with the component
|
|
439
436
|
* then the property will fallback to the `system` time zone.
|
|
440
437
|
*
|
|
441
438
|
* **Possible Values**
|
|
@@ -443,7 +440,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
443
440
|
* Value | Description |
|
|
444
441
|
* ----- | ----------- |
|
|
445
442
|
* system | Dates and times will be displayed in the timezone of the device or browser.
|
|
446
|
-
* unknown | Dates and time are not adjusted for any timezone. [TimeSlider](https://developers.arcgis.com/javascript/latest/
|
|
443
|
+
* unknown | Dates and time are not adjusted for any timezone. [TimeSlider](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/) will be disabled.
|
|
447
444
|
* Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
448
445
|
*
|
|
449
446
|
* @since 4.28
|
|
@@ -481,7 +478,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
|
|
|
481
478
|
*/
|
|
482
479
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
483
480
|
/** @param settings */
|
|
484
|
-
applyTimeSliderSettings(settings:
|
|
481
|
+
applyTimeSliderSettings(settings: TimeSliderSettings): Promise<void>;
|
|
485
482
|
/** Permanently destroy the component. */
|
|
486
483
|
destroy(): Promise<void>;
|
|
487
484
|
next(): Promise<void>;
|