@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,13 +1,10 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ListItem from "@arcgis/core/widgets/LayerList/ListItem";
|
|
3
|
-
import type Collection from "@arcgis/core/core/Collection";
|
|
4
|
-
import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList";
|
|
5
|
-
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
6
|
-
import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
2
|
+
import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
3
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
+
import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
7
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
|
-
import type { ArcgisReferenceElement } from "
|
|
9
|
-
import type {
|
|
10
|
-
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
+
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
|
|
11
8
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
12
9
|
import type { FilterPredicate, ListItemModifier, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
|
|
13
10
|
import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
@@ -16,7 +13,7 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
|
16
13
|
import type { BasemapLayerListState } from "@arcgis/core/widgets/BasemapLayerList/types.js";
|
|
17
14
|
|
|
18
15
|
/**
|
|
19
|
-
* The Basemap Layer List component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/
|
|
16
|
+
* The Basemap Layer List component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.
|
|
20
17
|
*
|
|
21
18
|
* @since 4.28
|
|
22
19
|
*/
|
|
@@ -32,83 +29,91 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
32
29
|
*/
|
|
33
30
|
accessor autoDestroyDisabled: boolean;
|
|
34
31
|
/**
|
|
35
|
-
* Specifies a function to handle filtering base layer [list items](https://developers.arcgis.com/javascript/latest/
|
|
32
|
+
* Specifies a function to handle filtering base layer [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
|
|
36
33
|
*
|
|
37
34
|
* @since 4.32
|
|
38
|
-
* @example
|
|
35
|
+
* @example
|
|
36
|
+
* ```js
|
|
37
|
+
* basemapLayerListElement.baseFilterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
38
|
+
* ```
|
|
39
39
|
*/
|
|
40
40
|
accessor baseFilterPredicate: FilterPredicate | null | undefined;
|
|
41
41
|
/**
|
|
42
|
-
* The value of the filter input text string if [
|
|
42
|
+
* The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) is true.
|
|
43
43
|
*
|
|
44
44
|
* @default ""
|
|
45
45
|
* @since 4.29
|
|
46
46
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
47
47
|
* @example
|
|
48
|
+
* ```js
|
|
48
49
|
* reactiveUtils.watch(
|
|
49
|
-
* () =>
|
|
50
|
+
* () => basemapLayerListElement.baseFilterText,
|
|
50
51
|
* (baseFilterText) => console.log(baseFilterText)
|
|
51
52
|
* );
|
|
53
|
+
* ```
|
|
52
54
|
*/
|
|
53
55
|
accessor baseFilterText: string;
|
|
54
56
|
/** A collection of ListItems representing the baseLayers. */
|
|
55
57
|
get baseItems(): Collection<ListItem>;
|
|
56
58
|
/**
|
|
57
|
-
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
59
|
+
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) representing a base layer.
|
|
58
60
|
* Each list item's modifiable properties can be updated within. Actions can be added to list items
|
|
59
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
61
|
+
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections)
|
|
60
62
|
* property of the ListItem.
|
|
61
63
|
*
|
|
62
64
|
* @example
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* baseListItem.open = true;
|
|
72
|
-
* }
|
|
65
|
+
* ```js
|
|
66
|
+
* basemapLayerListElement.baseListItemCreatedFunction = (event) => {
|
|
67
|
+
* const baseListItem = event.item;
|
|
68
|
+
* if(baseListItem.title === "World Imagery_01"){
|
|
69
|
+
* // clean up title
|
|
70
|
+
* baseListItem.title = "World Imagery";
|
|
71
|
+
* // open the baseList item
|
|
72
|
+
* baseListItem.open = true;
|
|
73
73
|
* }
|
|
74
|
-
* }
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
75
76
|
*/
|
|
76
77
|
accessor baseListItemCreatedFunction: ListItemModifier | null | undefined;
|
|
77
78
|
/** The current basemap's title. */
|
|
78
79
|
accessor basemapTitle: string | null | undefined;
|
|
79
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* The CatalogLayerList that displays a catalog layer's dynamic group layer.
|
|
82
|
+
*
|
|
83
|
+
* @see [arcgis-catalog-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/)
|
|
84
|
+
* @see [catalogOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#catalogOptions)
|
|
85
|
+
*/
|
|
80
86
|
get catalogLayerList(): CatalogLayerList | null | undefined;
|
|
81
87
|
/**
|
|
82
|
-
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/
|
|
83
|
-
* Catalog layers will display their [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/
|
|
88
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) specific properties.
|
|
89
|
+
* Catalog layers will display their [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#catalogLayerList) in the BasemapLayerList widget.
|
|
84
90
|
* This list item will only be displayed when catalog layers with dynamic group layers are loaded in the map.
|
|
85
|
-
* These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
91
|
+
* These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#catalogLayerList).
|
|
86
92
|
*
|
|
87
93
|
* @since 4.30
|
|
88
|
-
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
94
|
+
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#catalogLayerList)
|
|
89
95
|
* @example
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* },
|
|
104
|
-
* selectionMode: "single",
|
|
105
|
-
* visibleElements: {
|
|
106
|
-
* filter: true
|
|
107
|
-
* temporaryLayerIndicators: true
|
|
108
|
-
* }
|
|
96
|
+
* ```js
|
|
97
|
+
* basemapLayerListElement.catalogOptions = {
|
|
98
|
+
* listItemCreatedFunction: (event) => {
|
|
99
|
+
* const { item } = event;
|
|
100
|
+
* item.actionsSections = [
|
|
101
|
+
* [
|
|
102
|
+
* {
|
|
103
|
+
* title: "Add layer to map",
|
|
104
|
+
* icon: "add-layer",
|
|
105
|
+
* id: "add-layer"
|
|
106
|
+
* }
|
|
107
|
+
* ]
|
|
108
|
+
* ];
|
|
109
109
|
* },
|
|
110
|
-
*
|
|
111
|
-
*
|
|
110
|
+
* selectionMode: "single",
|
|
111
|
+
* visibleElements: {
|
|
112
|
+
* filter: true
|
|
113
|
+
* temporaryLayerIndicators: true
|
|
114
|
+
* }
|
|
115
|
+
* };
|
|
116
|
+
* ```
|
|
112
117
|
*/
|
|
113
118
|
accessor catalogOptions: CatalogLayerListProperties | null | undefined;
|
|
114
119
|
/**
|
|
@@ -125,16 +130,22 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
125
130
|
* @default false
|
|
126
131
|
* @since 4.29
|
|
127
132
|
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showCollapseButton)
|
|
128
|
-
* @example
|
|
133
|
+
* @example
|
|
134
|
+
* ```js
|
|
135
|
+
* basemapLayerListElement.collapsed = true;
|
|
136
|
+
* ```
|
|
129
137
|
*/
|
|
130
138
|
accessor collapsed: boolean;
|
|
131
139
|
/**
|
|
132
|
-
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/
|
|
133
|
-
* MapImageLayer [sublayers](https://developers.arcgis.com/javascript/latest/
|
|
140
|
+
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) may be reordered within the list by dragging and dropping.
|
|
141
|
+
* MapImageLayer [sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer.
|
|
134
142
|
*
|
|
135
143
|
* @default false
|
|
136
144
|
* @since 4.29
|
|
137
|
-
* @example
|
|
145
|
+
* @example
|
|
146
|
+
* ```js
|
|
147
|
+
* basemapLayerListElement.dragEnabled = true;
|
|
148
|
+
* ```
|
|
138
149
|
*/
|
|
139
150
|
accessor dragEnabled: boolean;
|
|
140
151
|
/**
|
|
@@ -144,22 +155,28 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
144
155
|
* @default false
|
|
145
156
|
* @since 4.29
|
|
146
157
|
* @see [showEditTitleButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showEditTitleButton)
|
|
147
|
-
* @example
|
|
158
|
+
* @example
|
|
159
|
+
* ```js
|
|
160
|
+
* basemapLayerListElement.editingTitle = true;
|
|
161
|
+
* ```
|
|
148
162
|
*/
|
|
149
163
|
accessor editingTitle: boolean;
|
|
150
164
|
/**
|
|
151
|
-
* Placeholder text used in the filter input if [
|
|
165
|
+
* Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) is true.
|
|
152
166
|
*
|
|
153
167
|
* @default ""
|
|
154
168
|
* @since 4.29
|
|
155
169
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
156
|
-
* @example
|
|
170
|
+
* @example
|
|
171
|
+
* ```js
|
|
172
|
+
* basemapLayerListElement.filterPlaceholder = "Filter layers";
|
|
173
|
+
* ```
|
|
157
174
|
*/
|
|
158
175
|
accessor filterPlaceholder: string;
|
|
159
176
|
/**
|
|
160
|
-
* Indicates the heading level to use for the
|
|
177
|
+
* Indicates the heading level to use for the component's title (i.e. "Navigation").
|
|
161
178
|
* By default, the basemap's title is rendered
|
|
162
|
-
* as a level 2 heading (e.g. `<h2>Navigation</h2>`). Depending on the
|
|
179
|
+
* as a level 2 heading (e.g. `<h2>Navigation</h2>`). Depending on the component's placement
|
|
163
180
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
164
181
|
* important for meeting accessibility standards.
|
|
165
182
|
*
|
|
@@ -167,8 +184,10 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
167
184
|
* @since 4.20
|
|
168
185
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
169
186
|
* @example
|
|
187
|
+
* ```js
|
|
170
188
|
* // the component title will render as an <h3>
|
|
171
|
-
*
|
|
189
|
+
* basemapLayerListElement.headingLevel = 3;
|
|
190
|
+
* ```
|
|
172
191
|
*/
|
|
173
192
|
accessor headingLevel: HeadingLevel;
|
|
174
193
|
/**
|
|
@@ -179,7 +198,7 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
179
198
|
*/
|
|
180
199
|
accessor hideBaseLayers: boolean;
|
|
181
200
|
/**
|
|
182
|
-
* Indicates whether the basemap layer list displays a heading. The heading text is the title of the basemap. The heading level can be set with the [BasemapLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/
|
|
201
|
+
* Indicates whether the basemap layer list displays a heading. The heading text is the title of the basemap. The heading level can be set with the [BasemapLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#headingLevel).
|
|
183
202
|
*
|
|
184
203
|
* @default false
|
|
185
204
|
* @since 5.0
|
|
@@ -209,21 +228,19 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
209
228
|
*/
|
|
210
229
|
get icon(): Icon["icon"];
|
|
211
230
|
set icon(value: IconName);
|
|
212
|
-
/**
|
|
213
|
-
* The component's default label.
|
|
214
|
-
*
|
|
215
|
-
* @since 4.11
|
|
216
|
-
*/
|
|
231
|
+
/** The component's default label. */
|
|
217
232
|
accessor label: string;
|
|
218
233
|
/**
|
|
219
|
-
* The minimum number of list items required to display the [
|
|
234
|
+
* The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) input box.
|
|
220
235
|
*
|
|
221
236
|
* @default 10
|
|
222
237
|
* @since 4.29
|
|
223
238
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
224
239
|
* @example
|
|
225
|
-
*
|
|
226
|
-
*
|
|
240
|
+
* ```js
|
|
241
|
+
* basemapLayerListElement.showFilter = true;
|
|
242
|
+
* basemapLayerListElement.minFilterItems = 5;
|
|
243
|
+
* ```
|
|
227
244
|
*/
|
|
228
245
|
accessor minFilterItems: number;
|
|
229
246
|
/**
|
|
@@ -233,57 +250,61 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
233
250
|
*/
|
|
234
251
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
235
252
|
/**
|
|
236
|
-
* Specifies a function to handle filtering reference layer [list items](https://developers.arcgis.com/javascript/latest/
|
|
253
|
+
* Specifies a function to handle filtering reference layer [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
|
|
237
254
|
*
|
|
238
255
|
* @since 4.32
|
|
239
|
-
* @example
|
|
256
|
+
* @example
|
|
257
|
+
* ```js
|
|
258
|
+
* layerList.referenceFilterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
259
|
+
* ```
|
|
240
260
|
*/
|
|
241
261
|
accessor referenceFilterPredicate: FilterPredicate | null | undefined;
|
|
242
262
|
/**
|
|
243
|
-
* The value of the filter input text string if [
|
|
263
|
+
* The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) is true.
|
|
244
264
|
*
|
|
245
265
|
* @default ""
|
|
246
266
|
* @since 4.29
|
|
247
267
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
248
268
|
* @example
|
|
269
|
+
* ```js
|
|
249
270
|
* reactiveUtils.watch(
|
|
250
|
-
* () =>
|
|
271
|
+
* () => basemapLayerListElement.referenceFilterText,
|
|
251
272
|
* (referenceFilterText) => console.log(referenceFilterText)
|
|
252
273
|
* );
|
|
274
|
+
* ```
|
|
253
275
|
*/
|
|
254
276
|
accessor referenceFilterText: string;
|
|
255
277
|
/** A collection of ListItems representing the referenceLayers. */
|
|
256
278
|
get referenceItems(): Collection<ListItem>;
|
|
257
279
|
/**
|
|
258
|
-
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
280
|
+
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) representing a reference layer.
|
|
259
281
|
* Each list item's modifiable properties can be updated within. Actions can be added to list items
|
|
260
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
282
|
+
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections).
|
|
261
283
|
*
|
|
262
284
|
* @example
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* referenceListItem.open = true;
|
|
272
|
-
* }
|
|
285
|
+
* ```js
|
|
286
|
+
* basemapLayerListElement.referenceListItemCreatedFunction = (event) => {
|
|
287
|
+
* referenceListItem = event.item;
|
|
288
|
+
* if(referenceListItem.title === "World Imagery_01_reference_layer"){
|
|
289
|
+
* // clean up title
|
|
290
|
+
* referenceListItem.title = "Reference layer";
|
|
291
|
+
* // open the baseList item
|
|
292
|
+
* referenceListItem.open = true;
|
|
273
293
|
* }
|
|
274
|
-
* }
|
|
294
|
+
* }
|
|
295
|
+
* ```
|
|
275
296
|
*/
|
|
276
297
|
accessor referenceListItemCreatedFunction: ListItemModifier | null | undefined;
|
|
277
298
|
/**
|
|
278
|
-
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
299
|
+
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/)s representing basemap layers
|
|
279
300
|
* selected by the user.
|
|
280
301
|
*
|
|
281
|
-
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/
|
|
302
|
+
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#selectionMode)
|
|
282
303
|
*/
|
|
283
|
-
accessor selectedItems:
|
|
304
|
+
accessor selectedItems: Collection<ListItem>;
|
|
284
305
|
/**
|
|
285
306
|
* Specifies the selection mode.
|
|
286
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
307
|
+
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#selectedItems) property.
|
|
287
308
|
*
|
|
288
309
|
* | Value | Description |
|
|
289
310
|
* | ----- | ----------- |
|
|
@@ -294,10 +315,13 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
294
315
|
*
|
|
295
316
|
* @default "none"
|
|
296
317
|
* @since 4.29
|
|
297
|
-
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
298
|
-
* @example
|
|
318
|
+
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#selectedItems)
|
|
319
|
+
* @example
|
|
320
|
+
* ```js
|
|
321
|
+
* basemapLayerListElement.selectionMode = "multiple";
|
|
322
|
+
* ```
|
|
299
323
|
*/
|
|
300
|
-
accessor selectionMode: "
|
|
324
|
+
accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
|
|
301
325
|
/**
|
|
302
326
|
* Indicates whether to display a close button in the header.
|
|
303
327
|
*
|
|
@@ -327,14 +351,14 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
327
351
|
*/
|
|
328
352
|
accessor showErrors: boolean;
|
|
329
353
|
/**
|
|
330
|
-
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [BasemapLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/
|
|
354
|
+
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [BasemapLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#minFilterItems), allowing users to filter layers by their title.
|
|
331
355
|
*
|
|
332
356
|
* @default false
|
|
333
357
|
* @since 5.0
|
|
334
358
|
*/
|
|
335
359
|
accessor showFilter: boolean;
|
|
336
360
|
/**
|
|
337
|
-
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/
|
|
361
|
+
* Indicates whether temporary layer indicators will be displayed for layers 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 layer title.
|
|
338
362
|
*
|
|
339
363
|
* @default false
|
|
340
364
|
* @since 5.0
|
|
@@ -356,12 +380,15 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
356
380
|
*
|
|
357
381
|
* | Value | Description | Example |
|
|
358
382
|
* | ----- | ----------- | ------- |
|
|
359
|
-
* | default | Displays view icons on the far side. Icons are hidden except on hover or if they have keyboard focus. See [view-visible](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-visible&library=Calcite%20UI&query=view) and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. |  and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. |  and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. |  |
|
|
384
|
+
* | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. |  |
|
|
361
385
|
*
|
|
362
386
|
* @default "default"
|
|
363
387
|
* @since 4.29
|
|
364
|
-
* @example
|
|
388
|
+
* @example
|
|
389
|
+
* ```js
|
|
390
|
+
* basemapLayerListElement.visibilityAppearance = "checkbox";
|
|
391
|
+
* ```
|
|
365
392
|
*/
|
|
366
393
|
accessor visibilityAppearance: VisibilityAppearance;
|
|
367
394
|
/** Permanently destroy the component. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type
|
|
2
|
+
import type Basemap from "@arcgis/core/Basemap.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type { BasemapProperties } from "@arcgis/core/Basemap";
|
|
4
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
|
+
import type { BasemapProperties } from "@arcgis/core/Basemap.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
8
8
|
import type { BasemapToggleViewModelState } from "@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js";
|
|
@@ -15,8 +15,8 @@ import type { BasemapToggleViewModelState } from "@arcgis/core/widgets/BasemapTo
|
|
|
15
15
|
* @since 4.28
|
|
16
16
|
*/
|
|
17
17
|
export abstract class ArcgisBasemapToggle extends LitElement {
|
|
18
|
-
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/
|
|
19
|
-
get activeBasemap():
|
|
18
|
+
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap). */
|
|
19
|
+
get activeBasemap(): Basemap | null | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* If true, the component will not be destroyed automatically when it is
|
|
22
22
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -81,7 +81,7 @@ export abstract class ArcgisBasemapToggle extends LitElement {
|
|
|
81
81
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
82
82
|
/** Permanently destroy the component. */
|
|
83
83
|
destroy(): Promise<void>;
|
|
84
|
-
/** Toggles to the [
|
|
84
|
+
/** Toggles to the [nextBasemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/#nextBasemap). */
|
|
85
85
|
toggle(): Promise<any>;
|
|
86
86
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
87
87
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "activeBasemap" | "nextBasemap" | "state"; }>;
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Bookmark from "@arcgis/core/webmap/Bookmark.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
5
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
6
6
|
import type { ReadonlyArrayOrCollection } from "@arcgis/core/core/Collection.js";
|
|
7
|
-
import type { ArcgisReferenceElement } from "
|
|
8
|
-
import type { BookmarkOptions, BookmarkEditEvent, BookmarkSelectEvent } from "./types.js";
|
|
9
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
10
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
11
|
-
import type { GoToOverride } from "../support/goTo.js";
|
|
7
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel, GoToOverride } from "../types.js";
|
|
8
|
+
import type { BookmarkOptions, BookmarkEditEvent, BookmarkSelectEvent, BookmarksState } from "./types.js";
|
|
12
9
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
13
10
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
11
|
|
|
15
12
|
/**
|
|
16
13
|
* The Bookmarks component allows end users to quickly navigate to a particular area of interest.
|
|
17
|
-
* It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/
|
|
18
|
-
* which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/
|
|
14
|
+
* It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/),
|
|
15
|
+
* which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks).
|
|
19
16
|
*
|
|
20
17
|
* Each bookmark may contain the following properties: `name`, `thumbnail`, `viewpoint` (defines rotation, scale, and target geometry), and `timeExtent`.
|
|
21
18
|
* When a bookmark with a timeExtent is selected, the [arcgis-map.timeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeExtent) of the Map will be set to the timeExtent of the selected bookmark.
|
|
@@ -25,7 +22,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
25
22
|
* To enable these features, set the following properties to `true`:
|
|
26
23
|
* [showAddBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showAddBookmarkButton), [showEditBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showEditBookmarkButton), and [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#dragEnabled).
|
|
27
24
|
*
|
|
28
|
-
* **Note:** Bookmarks are supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) only if they come from a [WebMap](https://developers.arcgis.com/javascript/latest/
|
|
25
|
+
* **Note:** Bookmarks are supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) only if they come from a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks) or are provided manually from [bookmarks](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#bookmarks). [Presentation](https://developers.arcgis.com/javascript/latest/references/core/webscene/Presentation/) provides a similar experience for [WebScenes](https://developers.arcgis.com/javascript/latest/references/core/webscene/Presentation/).
|
|
29
26
|
*
|
|
30
27
|
* @since 4.28
|
|
31
28
|
* @see [Sample - Bookmarks component](https://developers.arcgis.com/javascript/latest/sample-code/bookmarks/)
|
|
@@ -42,7 +39,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
42
39
|
*/
|
|
43
40
|
accessor autoDestroyDisabled: boolean;
|
|
44
41
|
/**
|
|
45
|
-
* A collection of [Bookmark](https://developers.arcgis.com/javascript/latest/
|
|
42
|
+
* A collection of [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/)s. These are typically defined inside of a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks), but can also be defined manually, as shown in the code snippet below.
|
|
46
43
|
*
|
|
47
44
|
* @example
|
|
48
45
|
* ```js
|
|
@@ -123,7 +120,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
123
120
|
get defaultEditOptions(): BookmarkOptions;
|
|
124
121
|
set defaultEditOptions(value: Partial<BookmarkOptions>);
|
|
125
122
|
/**
|
|
126
|
-
* When true, the component is visually withdrawn and cannot
|
|
123
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
127
124
|
*
|
|
128
125
|
* @default false
|
|
129
126
|
*/
|
|
@@ -383,7 +380,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
383
380
|
defaultEditOptions?: Partial<BookmarkOptions>;
|
|
384
381
|
};
|
|
385
382
|
/**
|
|
386
|
-
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/
|
|
383
|
+
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/) is edited.
|
|
387
384
|
*
|
|
388
385
|
* @since 4.34
|
|
389
386
|
* @example
|
|
@@ -397,7 +394,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
397
394
|
*/
|
|
398
395
|
readonly arcgisBookmarkEdit: import("@arcgis/lumina").TargetedEvent<this, BookmarkEditEvent>;
|
|
399
396
|
/**
|
|
400
|
-
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/
|
|
397
|
+
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/) is selected.
|
|
401
398
|
*
|
|
402
399
|
* @since 4.34
|
|
403
400
|
* @example
|
|
@@ -432,6 +429,4 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
432
429
|
arcgisPropertyChange: ArcgisBookmarks["arcgisPropertyChange"]["detail"];
|
|
433
430
|
arcgisReady: ArcgisBookmarks["arcgisReady"]["detail"];
|
|
434
431
|
};
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
export type BookmarksState = "loading" | "ready";
|
|
432
|
+
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type Bookmark from "@arcgis/core/webmap/Bookmark.js";
|
|
2
|
-
import type { UserSettings } from "@arcgis/core/views/types";
|
|
2
|
+
import type { UserSettings } from "@arcgis/core/views/types.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Specifies the state of the Bookmarks component.
|
|
6
|
+
*
|
|
7
|
+
* @since 5.0
|
|
8
|
+
*/
|
|
9
|
+
export type BookmarksState = "loading" | "ready";
|
|
3
10
|
|
|
4
11
|
/**
|
|
5
12
|
* Specifies how bookmarks will be created or modified.
|
|
@@ -8,32 +15,32 @@ import type { UserSettings } from "@arcgis/core/views/types";
|
|
|
8
15
|
*/
|
|
9
16
|
export type BookmarkOptions = {
|
|
10
17
|
/**
|
|
11
|
-
* Indicates whether the rotation of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/
|
|
18
|
+
* Indicates whether the rotation of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
|
|
12
19
|
*
|
|
13
20
|
* @since 5.0
|
|
14
21
|
*/
|
|
15
22
|
captureRotation?: boolean;
|
|
16
23
|
/**
|
|
17
|
-
* Indicates whether the scale of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/
|
|
24
|
+
* Indicates whether the scale of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
|
|
18
25
|
*
|
|
19
26
|
* @since 5.0
|
|
20
27
|
*/
|
|
21
28
|
captureScale?: boolean;
|
|
22
29
|
/**
|
|
23
|
-
* Indicates whether the time extent of the current view will be saved in the [Bookmark#timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
30
|
+
* Indicates whether the time extent of the current view will be saved in the [Bookmark#timeExtent](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#timeExtent) of a newly created or modified bookmark. Default is `true`.
|
|
24
31
|
*
|
|
25
32
|
* @since 5.0
|
|
26
33
|
*/
|
|
27
34
|
captureTimeExtent?: boolean;
|
|
28
35
|
/**
|
|
29
|
-
* Indicates whether the viewpoint of the current view will become the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/
|
|
36
|
+
* Indicates whether the viewpoint of the current view will become the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
|
|
30
37
|
*
|
|
31
38
|
* @since 5.0
|
|
32
39
|
*/
|
|
33
40
|
captureViewpoint?: boolean;
|
|
34
41
|
/**
|
|
35
42
|
* An object that specifies the settings of the screenshot that will be used to create the bookmark's
|
|
36
|
-
* [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/
|
|
43
|
+
* [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#thumbnail).
|
|
37
44
|
* The default screenshot size is 128px x 128px.
|
|
38
45
|
*
|
|
39
46
|
* @since 5.0
|
|
@@ -41,7 +48,7 @@ export type BookmarkOptions = {
|
|
|
41
48
|
screenshotSettings?: Partial<UserSettings>;
|
|
42
49
|
/**
|
|
43
50
|
* Indicates whether a screenshot is taken when a new bookmark is created.
|
|
44
|
-
* The screenshot will be set as the [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/
|
|
51
|
+
* The screenshot will be set as the [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#thumbnail) in the newly created bookmark. Default is `true`.
|
|
45
52
|
*
|
|
46
53
|
* @since 5.0
|
|
47
54
|
*/
|