@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
|
@@ -135,18 +135,18 @@ class q extends P {
|
|
|
135
135
|
return this.viewModel.clear();
|
|
136
136
|
}
|
|
137
137
|
async close() {
|
|
138
|
-
this.
|
|
138
|
+
this.open = !1;
|
|
139
139
|
}
|
|
140
140
|
async destroy() {
|
|
141
141
|
await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
142
142
|
}
|
|
143
143
|
async fetchFeatures(e, t) {
|
|
144
144
|
this._cancelFetchingFeatures();
|
|
145
|
-
const i = new AbortController(), { signal:
|
|
146
|
-
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal:
|
|
145
|
+
const i = new AbortController(), { signal: s } = i;
|
|
146
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
147
147
|
return;
|
|
148
|
-
const
|
|
149
|
-
this.location =
|
|
148
|
+
const n = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
|
|
149
|
+
this.location = n.location, this.promises = n.pendingFeatures;
|
|
150
150
|
}
|
|
151
151
|
async next() {
|
|
152
152
|
return this.viewModel.next();
|
|
@@ -192,11 +192,11 @@ class q extends P {
|
|
|
192
192
|
_groupResultsByLayer() {
|
|
193
193
|
const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
194
194
|
return e.forEach((i) => {
|
|
195
|
-
const
|
|
196
|
-
if (!
|
|
195
|
+
const s = i?.graphic;
|
|
196
|
+
if (!s)
|
|
197
197
|
return;
|
|
198
|
-
const
|
|
199
|
-
t.set(a, [...
|
|
198
|
+
const n = Z(s), a = W(n) ? n : null, r = t.get(a) ?? [];
|
|
199
|
+
t.set(a, [...r, i]);
|
|
200
200
|
}), t;
|
|
201
201
|
}
|
|
202
202
|
_handleCollapseToggle() {
|
|
@@ -206,12 +206,12 @@ class q extends P {
|
|
|
206
206
|
this._cancelOpenRelatedFeature();
|
|
207
207
|
const t = new AbortController();
|
|
208
208
|
this._openRelatedFeatureAbortController = t, await e.updateGeometry();
|
|
209
|
-
const i = e.graphic,
|
|
210
|
-
if (
|
|
209
|
+
const i = e.graphic, s = i?.geometry;
|
|
210
|
+
if (s == null || i == null)
|
|
211
211
|
return;
|
|
212
|
-
this._removeFlowItems(), await this.viewModel.zoomTo({ target:
|
|
213
|
-
const
|
|
214
|
-
|
|
212
|
+
this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
|
|
213
|
+
const n = K(s);
|
|
214
|
+
n != null && (this.location = n), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
215
215
|
}
|
|
216
216
|
_handlePaginationMenuButton() {
|
|
217
217
|
this._updateFeatureMenu();
|
|
@@ -254,8 +254,8 @@ class q extends P {
|
|
|
254
254
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
255
255
|
}
|
|
256
256
|
_getActionTitle(e) {
|
|
257
|
-
const { messages: t, selectedFeature: i } = this, { id:
|
|
258
|
-
return
|
|
257
|
+
const { messages: t, selectedFeature: i } = this, { id: s } = e, n = i?.attributes, a = e.title ?? "", r = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
258
|
+
return r && n ? u(r, n) : r ?? "";
|
|
259
259
|
}
|
|
260
260
|
_onMainKeydown(e) {
|
|
261
261
|
const { key: t } = e;
|
|
@@ -265,21 +265,21 @@ class q extends P {
|
|
|
265
265
|
this._featureMenuViewportNode && this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
266
266
|
}
|
|
267
267
|
_selectedFeatureIndexUpdated(e, t) {
|
|
268
|
-
const { featureCount: i, waitingForResult:
|
|
269
|
-
|
|
268
|
+
const { featureCount: i, waitingForResult: s } = this.viewModel;
|
|
269
|
+
s || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
270
270
|
}
|
|
271
271
|
_triggerAction(e) {
|
|
272
272
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
273
273
|
}
|
|
274
274
|
_viewChange() {
|
|
275
|
-
this.viewModel.clear(), this.
|
|
275
|
+
this.viewModel.clear(), this.open = !1;
|
|
276
276
|
}
|
|
277
277
|
_closeOpenActionMenu() {
|
|
278
278
|
const { _actionBarMenuNode: e } = this;
|
|
279
279
|
e.value && (e.value.menuOpen = !1);
|
|
280
280
|
}
|
|
281
281
|
_removeFlowItems() {
|
|
282
|
-
this.flowItems
|
|
282
|
+
this.flowItems?.destroyAll();
|
|
283
283
|
}
|
|
284
284
|
_getDrillInFlowItemDescription(e) {
|
|
285
285
|
switch (e.flowType) {
|
|
@@ -293,7 +293,7 @@ class q extends P {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
_handleDrillInBackClick() {
|
|
296
|
-
this.flowItems?.pop();
|
|
296
|
+
this.flowItems?.pop()?.destroy();
|
|
297
297
|
}
|
|
298
298
|
_getHeading() {
|
|
299
299
|
const { hideHeading: e } = this, { title: t, selectedFeatureViewModel: i } = this.viewModel;
|
|
@@ -304,7 +304,7 @@ class q extends P {
|
|
|
304
304
|
}
|
|
305
305
|
async _createSpinner() {
|
|
306
306
|
const e = this.referenceElement;
|
|
307
|
-
e && (await this._destroySpinner(e), this._spinnerEl = H(o`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
307
|
+
e && (await this._destroySpinner(e), this._spinnerEl = H(o`<arcgis-spinner auto-destroy-disabled .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
308
308
|
}
|
|
309
309
|
render() {
|
|
310
310
|
return o`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
@@ -322,16 +322,16 @@ class q extends P {
|
|
|
322
322
|
return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
323
323
|
}
|
|
324
324
|
_renderFeaturePaginationText() {
|
|
325
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
325
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
|
|
326
326
|
return o`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
327
|
-
index: M(
|
|
327
|
+
index: M(s + 1),
|
|
328
328
|
total: M(i)
|
|
329
329
|
})}</div>`;
|
|
330
330
|
}
|
|
331
331
|
_renderFeatureMenuButton() {
|
|
332
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
333
|
-
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${
|
|
334
|
-
index: M(
|
|
332
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: n } = t;
|
|
333
|
+
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${n > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
334
|
+
index: M(s + 1),
|
|
335
335
|
total: M(i)
|
|
336
336
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
337
337
|
}
|
|
@@ -340,14 +340,14 @@ class q extends P {
|
|
|
340
340
|
return o`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
341
341
|
}
|
|
342
342
|
_renderFeatureMenuItem(e) {
|
|
343
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels:
|
|
344
|
-
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${
|
|
343
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, n = e === i, a = s.indexOf(e);
|
|
344
|
+
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${n} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
345
345
|
}
|
|
346
346
|
_renderFeatureMenu() {
|
|
347
|
-
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(),
|
|
348
|
-
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${
|
|
349
|
-
const a = i.get(
|
|
350
|
-
return !this.hideFeatureListLayerTitle &&
|
|
347
|
+
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
348
|
+
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
|
|
349
|
+
const a = i.get(n)?.map((l) => this._renderFeatureMenuItem(l)), r = n ? n.title ?? this.messages.untitled : null;
|
|
350
|
+
return !this.hideFeatureListLayerTitle && r !== null ? F(n ?? "map-graphics", o`<calcite-list-item-group .heading=${r}>${a}</calcite-list-item-group>`) : a;
|
|
351
351
|
})}</calcite-list>` : null;
|
|
352
352
|
}
|
|
353
353
|
_renderHeaderAction(e) {
|
|
@@ -358,36 +358,36 @@ class q extends P {
|
|
|
358
358
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
359
359
|
}
|
|
360
360
|
_renderContentFeature() {
|
|
361
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled:
|
|
362
|
-
if (
|
|
361
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, flowItems: a, initialDisplayMode: r, selectedFeature: l, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
362
|
+
if (r === "list" && !l)
|
|
363
363
|
return null;
|
|
364
|
-
const _ = a.length === 0 && (
|
|
364
|
+
const _ = a.length === 0 && (r === "list" ? !!l : !p);
|
|
365
365
|
return o`<calcite-flow-item class=${$(b({
|
|
366
366
|
"content-feature": !0,
|
|
367
367
|
"flow-item-collapsed": i
|
|
368
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${
|
|
368
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
369
369
|
}
|
|
370
370
|
_renderFeatureMenuContainer() {
|
|
371
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages:
|
|
372
|
-
if (
|
|
371
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: r, _collapseEnabled: l, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
|
|
372
|
+
if (n === "feature" && !a)
|
|
373
373
|
return null;
|
|
374
|
-
const
|
|
374
|
+
const D = n === "list" ? !r : a;
|
|
375
375
|
return o`<calcite-flow-item class=${$(b({
|
|
376
376
|
"flow-item-collapsed": p
|
|
377
|
-
}))} .closable=${
|
|
377
|
+
}))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && l} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
378
378
|
total: I.length
|
|
379
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${
|
|
380
|
-
|
|
381
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${
|
|
379
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${D} @calciteFlowItemBack=${(V) => {
|
|
380
|
+
V.preventDefault(), this._handleFeatureMenuBack();
|
|
381
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${T > 0 ? o`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
382
382
|
}
|
|
383
383
|
_renderFlowItem(e, t) {
|
|
384
|
-
const { messages: i, hideCloseButton:
|
|
385
|
-
return o`<calcite-flow-item .closable=${!
|
|
384
|
+
const { messages: i, hideCloseButton: s, active: n } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, r = e.flowType === "feature-association", l = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m);
|
|
385
|
+
return o`<calcite-flow-item .closable=${!s} .closed=${!n} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(g) => {
|
|
386
386
|
g.preventDefault(), this._handleDrillInBackClick();
|
|
387
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${
|
|
387
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${r ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
388
388
|
}
|
|
389
389
|
_renderContentContainer() {
|
|
390
|
-
const e = this.flowItems?.toArray(), t = e?.map((
|
|
390
|
+
const e = this.flowItems?.toArray(), t = e?.map((s, n) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && n === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
391
391
|
return o`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
392
392
|
}
|
|
393
393
|
_renderActionBar() {
|
|
@@ -401,7 +401,7 @@ class q extends P {
|
|
|
401
401
|
}
|
|
402
402
|
_renderContent() {
|
|
403
403
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
404
|
-
return t ? F(t, o`<arcgis-feature .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? F(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
404
|
+
return t ? F(t, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? F(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
N("arcgis-features", q);
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
3
|
-
import type
|
|
4
|
-
import type WebScene from "@arcgis/core/WebScene";
|
|
2
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
3
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
5
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { HeadingLevel } from "
|
|
7
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
8
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
5
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
9
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
10
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
11
8
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -13,18 +10,18 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
13
10
|
/**
|
|
14
11
|
* The Floor Filter component simplifies visualization of GIS data for a specific floor of a
|
|
15
12
|
* building in your application. It allows you to filter down the floor plan data displayed in your
|
|
16
|
-
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](
|
|
17
|
-
* or a [level](
|
|
13
|
+
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), a [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility) in the site,
|
|
14
|
+
* or a [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level) in the facility.
|
|
18
15
|
*
|
|
19
|
-
* To visualize your data based on [site](
|
|
16
|
+
* To visualize your data based on [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility), or [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level), your map must contain the related
|
|
20
17
|
* floor plan layers, with features linked together in a floor plan hierarchy.
|
|
21
18
|
* Once you define your map as floor-aware in the map properties, the interactive, on-screen
|
|
22
19
|
* Floor Filter component appears and can be used to explore the floor-aware data based on the
|
|
23
20
|
* configured site, facility, and levels layers.
|
|
24
21
|
* The Floor Filter component currently supports
|
|
25
|
-
* [FeatureLayers](https://developers.arcgis.com/javascript/latest/
|
|
26
|
-
* [SceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
27
|
-
* [MapImageLayers](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* [FeatureLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
23
|
+
* [SceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/) and
|
|
24
|
+
* [MapImageLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) (map services).
|
|
28
25
|
*
|
|
29
26
|
* The component can also be used alongside other filtering functionalities, such as definition queries,
|
|
30
27
|
* selection, range, and time, to further control visualization.
|
|
@@ -60,7 +57,7 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
60
57
|
/**
|
|
61
58
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
62
59
|
*
|
|
63
|
-
* @since
|
|
60
|
+
* @since 5.0
|
|
64
61
|
* @example
|
|
65
62
|
* ```js
|
|
66
63
|
* component.goToOverride = function(view, goToParams) {
|
|
@@ -116,6 +113,8 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
116
113
|
* Replace localized message strings with your own strings.
|
|
117
114
|
*
|
|
118
115
|
* _**Note**: Individual message keys may change between releases._
|
|
116
|
+
*
|
|
117
|
+
* @since 5.0
|
|
119
118
|
*/
|
|
120
119
|
accessor messageOverrides: {
|
|
121
120
|
all?: string | undefined;
|
|
@@ -183,8 +182,6 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
183
182
|
};
|
|
184
183
|
noResults: string;
|
|
185
184
|
}>;
|
|
186
|
-
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
187
|
-
accessor position: __esri.UIPosition | undefined;
|
|
188
185
|
/**
|
|
189
186
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
190
187
|
*
|
|
@@ -58,7 +58,7 @@ class D extends T {
|
|
|
58
58
|
}, this._facilitiesListNode = x(), this._levelsListNode = x(), this._sitesListNode = x(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.facility = this.viewModel.facility, this.headingLevel = 2, this.icon = "urban-model", this.level = this.viewModel.level, this.longNames = this.viewModel.longNames, this.goToOverride = this.viewModel.goToOverride, this.site = this.viewModel.site, this.arcgisReady = F();
|
|
59
59
|
}
|
|
60
60
|
static {
|
|
61
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0,
|
|
61
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0, goToOverride: 0, referenceElement: 1, site: 3 };
|
|
62
62
|
}
|
|
63
63
|
static {
|
|
64
64
|
this.styles = A;
|
|
@@ -3,7 +3,7 @@ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
|
3
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
4
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
4
|
import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
6
6
|
import type { GridTheme } from "./types.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -102,7 +102,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
102
102
|
accessor customColor: Color | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Returns `true` if the grid is enabled for display.
|
|
105
|
-
* Use [trySetDisplayEnabled](
|
|
105
|
+
* Use [trySetDisplayEnabled()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#trySetDisplayEnabled) to enable or disable grid display.
|
|
106
106
|
*
|
|
107
107
|
* @default false
|
|
108
108
|
*/
|
|
@@ -110,7 +110,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
110
110
|
/**
|
|
111
111
|
* Returns `true` if the grid is set to scale dynamically. When dynamic scaling is enabled,
|
|
112
112
|
* grid cells are added or removed to ensure that grid cells are a reasonable size on screen as the user zooms.
|
|
113
|
-
* The way additional grid lines are shown is controlled by the [majorLineInterval](
|
|
113
|
+
* The way additional grid lines are shown is controlled by the [majorLineInterval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#majorLineInterval) property.
|
|
114
114
|
*
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
@@ -127,7 +127,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
127
127
|
get gridControlsEnabled(): boolean;
|
|
128
128
|
/**
|
|
129
129
|
* True if the grid is currently not displayed (and therefore also not a valid snap target),
|
|
130
|
-
* because [dynamicScaling](
|
|
130
|
+
* because [dynamicScaling](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#dynamicScaling) is off and the grid cells are too small
|
|
131
131
|
* to render at the current scale.
|
|
132
132
|
*
|
|
133
133
|
* @default false
|
|
@@ -278,34 +278,34 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
278
278
|
/** Rotation of the grid in radians. NOTE: UI controls convert to and from degrees automatically. */
|
|
279
279
|
accessor rotation: number;
|
|
280
280
|
/**
|
|
281
|
-
* Controls snapping behavior if [snappingOptions](
|
|
282
|
-
* If [snappingOptions](
|
|
281
|
+
* Controls snapping behavior if [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) has been defined.
|
|
282
|
+
* If [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) have been defined, disabling or enabling grid snapping will
|
|
283
283
|
* also disable or enable grid display.
|
|
284
284
|
*
|
|
285
285
|
* @default false
|
|
286
286
|
*/
|
|
287
287
|
accessor snappingEnabled: boolean;
|
|
288
288
|
/**
|
|
289
|
-
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/
|
|
289
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/)
|
|
290
290
|
* that will be controlled by this component if the snapping toggle is enabled for display.
|
|
291
291
|
* If SnappingOptions are provided, grid display will be automatically enabled or disabled to match snapping state.
|
|
292
292
|
*/
|
|
293
293
|
accessor snappingOptions: SnappingOptions | null | undefined;
|
|
294
294
|
/**
|
|
295
|
-
* Length of a grid cell. Grid cells are always square. Defined in [unit](
|
|
295
|
+
* Length of a grid cell. Grid cells are always square. Defined in [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#unit).
|
|
296
296
|
*
|
|
297
297
|
* @default 1
|
|
298
298
|
*/
|
|
299
299
|
accessor spacing: number;
|
|
300
300
|
/**
|
|
301
301
|
* The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
|
|
302
|
-
* the [customColor](
|
|
302
|
+
* the [customColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#customColor) is shown, otherwise a default light or dark theme color is used.
|
|
303
303
|
*
|
|
304
304
|
* @default "dark"
|
|
305
305
|
*/
|
|
306
306
|
accessor theme: GridTheme | null | undefined;
|
|
307
307
|
/**
|
|
308
|
-
* Unit of measure (foot, meter, etc) used when defining the [spacing](
|
|
308
|
+
* Unit of measure (foot, meter, etc) used when defining the [spacing](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#spacing) grid cell.
|
|
309
309
|
* Note that units are defined relatively to the map's spatial reference length unit,
|
|
310
310
|
* which will not correspond to geographic distance unless using a special-purpose basemap
|
|
311
311
|
* within a supported target area.
|