@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,35 +1,35 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import
|
|
2
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as E, html as g } from "lit";
|
|
4
|
+
import { keyed as P } from "lit/directives/keyed.js";
|
|
5
|
+
import F from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
6
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
7
|
-
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { useDirection as N, usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { m as L } from "../../chunks/useViewModel.js";
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { stripHTML as
|
|
11
|
-
import {
|
|
12
|
-
import { createRef as
|
|
9
|
+
import { LitElement as S, createEvent as _, safeStyleMap as T, safeClassMap as y } from "@arcgis/lumina";
|
|
10
|
+
import { stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
11
|
+
import { classes as C } from "@arcgis/toolkit/dom";
|
|
12
|
+
import { createRef as m, ref as f } from "lit/directives/ref.js";
|
|
13
13
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
-
import
|
|
15
|
-
import { t as
|
|
14
|
+
import B from "@arcgis/core/support/actions/ActionButton.js";
|
|
15
|
+
import { t as H } from "../../chunks/screenLocation.js";
|
|
16
16
|
import "../arcgis-search-result-renderer/customElement.js";
|
|
17
|
-
const I =
|
|
18
|
-
function
|
|
19
|
-
return
|
|
17
|
+
const I = E`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.root{display:flex;position:absolute;flex-flow:column nowrap;z-index:401;pointer-events:none;border:none;overflow:visible;padding:0;width:auto;height:auto;background-color:transparent}.hidden{visibility:hidden}.root:popover-open{display:flex;position:fixed;flex-flow:column nowrap;margin:0}arcgis-features{flex:1;width:100%}.shadow{box-shadow:var(--calcite-shadow-sm)}.aligned-top-center{transform-origin:50% 100%}.aligned-bottom-center{transform-origin:50% -5%}.aligned-top-left,.aligned-bottom-left{transform-origin:100% 50%}.aligned-top-right,.aligned-bottom-right{transform-origin:-5% 50%}.aligned-top-center,.aligned-top-left,.aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.pointer{position:absolute;width:0;height:0}.pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.aligned-top-center .pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-bottom-center .pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-top-left .pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-bottom-left .pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-top-right .pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-bottom-right .pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-top-center .pointer-direction,.aligned-bottom-center .pointer-direction{transform:scale(.75,2) rotate(45deg)}.aligned-top-left .pointer-direction,.aligned-bottom-left .pointer-direction,.aligned-top-right .pointer-direction,.aligned-bottom-right .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.aligned-top-center .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.aligned-bottom-center .pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.is-xl-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-large-size)}.is-md-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-medium-size)}.is-sm-width-breakpoint .main-container,.is-xs-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-small-size)}.is-xs-width-breakpoint.is-docked-top-center,.is-xs-width-breakpoint.is-docked-bottom-center{margin:0;width:auto}.is-xs-width-breakpoint.is-docked-top-center .main-container,.is-xs-width-breakpoint.is-docked-bottom-center .main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.is-xs-width-breakpoint.is-docked-bottom-center .main-container{bottom:0}.is-xs-width-breakpoint.is-docked-top-center .main-container{top:0}.is-xl-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.is-sm-height-breakpoint .main-container,.is-xs-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.is-docked{flex-flow:row nowrap;inset:0;margin:var(--arcgis-layout-overlay-space-top, 0) var(--arcgis-layout-overlay-space-right, 0) var(--arcgis-layout-overlay-space-bottom, 0) var(--arcgis-layout-overlay-space-left, 0);padding:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.is-docked-top-left,.is-docked-top-center,.is-docked-top-right,.is-docked-top-start,.is-docked-top-end{align-items:flex-start}.is-docked-bottom-left,.is-docked-bottom-center,.is-docked-bottom-right,.is-docked-bottom-start,.is-docked-bottom-end{align-items:flex-end}.is-docked-top-left,.is-docked-bottom-left,.is-docked-top-start,.is-docked-bottom-start{justify-content:flex-start}.is-docked-top-center,.is-docked-bottom-center{justify-content:center}.is-docked-top-right,.is-docked-bottom-right,.is-docked-top-end,.is-docked-bottom-end{justify-content:flex-end}.is-docked-top-left.is-rtl,.is-docked-top-right.is-rtl,.is-docked-bottom-left.is-rtl,.is-docked-bottom-right.is-rtl{flex-direction:row-reverse}.is-docked-top-left .main-container,.is-docked-top-right .main-container,.is-docked-bottom-left .main-container,.is-docked-bottom-right .main-container,.is-docked-top-start .main-container,.is-docked-top-end .main-container,.is-docked-bottom-start .main-container,.is-docked-bottom-end .main-container{max-height:80%}.is-docked-top-center .main-container,.is-docked-bottom-center .main-container{max-height:40%}@media(prefers-reduced-motion){.aligned-top-center,.aligned-top-left,.aligned-top-right,.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
|
|
18
|
+
function b(k) {
|
|
19
|
+
return k && Number.parseInt(k.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
|
|
20
20
|
}
|
|
21
|
-
const j = L(
|
|
21
|
+
const j = L(F), M = {
|
|
22
22
|
buttonEnabled: !0,
|
|
23
23
|
position: "auto",
|
|
24
24
|
breakpoint: {
|
|
25
25
|
width: 544
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
class W extends
|
|
28
|
+
class W extends S {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(...arguments), this._featuresComponent =
|
|
30
|
+
super(...arguments), this._direction = N(), this._featuresComponent = m(), this._dockAction = new B({ id: "popup-dock-action" }), this._mainContainerNode = m(), this._pointerNode = m(), this.messages = $(), this.viewModel = j(this), this._containerNode = m(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
|
|
31
31
|
this.positionStyle = this._calculatePositionStyle();
|
|
32
|
-
}, this.screenLocation =
|
|
32
|
+
}, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = _(), this.arcgisClose = _(), this.arcgisTriggerAction = _();
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
35
|
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
|
|
@@ -38,11 +38,11 @@ class W extends T {
|
|
|
38
38
|
this.styles = I;
|
|
39
39
|
}
|
|
40
40
|
get trackLocation() {
|
|
41
|
-
return this.
|
|
41
|
+
return this.active && !this.dockEnabled;
|
|
42
42
|
}
|
|
43
43
|
get _featureNavigationTop() {
|
|
44
44
|
const { currentAlignment: t, currentDockPosition: e } = this;
|
|
45
|
-
return t === "bottom-left" || t === "bottom-center" || t === "bottom-right" || e === "top-left" || e === "top-center" || e === "top-right";
|
|
45
|
+
return t === "bottom-left" || t === "bottom-center" || t === "bottom-right" || t === "bottom-start" || t === "bottom-end" || e === "top-left" || e === "top-center" || e === "top-right" || e === "top-start" || e === "top-end";
|
|
46
46
|
}
|
|
47
47
|
get currentAlignment() {
|
|
48
48
|
return this._getCurrentAlignment();
|
|
@@ -56,8 +56,8 @@ class W extends T {
|
|
|
56
56
|
set dockOptions(t) {
|
|
57
57
|
const e = { ...M }, i = this.viewModel?.view?.breakpoints, o = {};
|
|
58
58
|
i && (o.width = i.xsmall, o.height = i.xsmall);
|
|
59
|
-
const
|
|
60
|
-
typeof
|
|
59
|
+
const r = { ...e, ...t }, n = { ...e.breakpoint, ...o }, { breakpoint: s } = r;
|
|
60
|
+
typeof s == "object" ? r.breakpoint = { ...n, ...s } : s && (r.breakpoint = n), this._dockOptions = r;
|
|
61
61
|
}
|
|
62
62
|
get open() {
|
|
63
63
|
return this.viewModel.visible;
|
|
@@ -97,11 +97,11 @@ class W extends T {
|
|
|
97
97
|
}
|
|
98
98
|
loaded() {
|
|
99
99
|
this.manager.onLifecycle(() => [
|
|
100
|
-
l(() => [this.viewModel?.view?.widthBreakpoint, this.dockEnabled], () => this._handleDockIcon(), { initial: !0 }),
|
|
100
|
+
l(() => [this.viewModel?.view?.widthBreakpoint, this.dockEnabled, this._direction], () => this._handleDockIcon(), { initial: !0 }),
|
|
101
101
|
l(() => [this.dockEnabled, this.messages?.undock, this.messages?.dock], () => this._handleDockEnabled(), { initial: !0 }),
|
|
102
|
-
l(() => this.dockOptions, (
|
|
103
|
-
const { _dockAction: e } = this, i = this._featuresComponent.value?.headerActions;
|
|
104
|
-
i?.remove(
|
|
102
|
+
l(() => [this.dockOptions, this._featuresComponent.value], () => {
|
|
103
|
+
const { _dockAction: t, dockOptions: e } = this, i = this._featuresComponent.value?.headerActions;
|
|
104
|
+
i?.remove(t), e.buttonEnabled && i?.add(t);
|
|
105
105
|
}, { initial: !0 }),
|
|
106
106
|
l(() => [
|
|
107
107
|
this._pointerNode.value,
|
|
@@ -114,8 +114,8 @@ class W extends T {
|
|
|
114
114
|
this.viewModel?.location,
|
|
115
115
|
this.viewModel?.view?.size
|
|
116
116
|
], () => this._positionContainer(), { initial: !0 }),
|
|
117
|
-
l(() => this._mainContainerNode.value, (t
|
|
118
|
-
|
|
117
|
+
l(() => this._mainContainerNode.value, (t) => {
|
|
118
|
+
this._popupResizeObserver.disconnect(), t && this._popupResizeObserver.observe(t);
|
|
119
119
|
}, { initial: !0 }),
|
|
120
120
|
l(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
|
|
121
121
|
l(() => this.viewModel?.view?.ready, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
|
|
@@ -123,11 +123,11 @@ class W extends T {
|
|
|
123
123
|
this.viewModel.map = t;
|
|
124
124
|
}, { initial: !0 }),
|
|
125
125
|
l(() => this.screenLocation, (t, e) => this._autoClose(t, e)),
|
|
126
|
-
l(() => [this.
|
|
126
|
+
l(() => [this.active, this._containerNode.value, this.dockEnabled, this.topLayerDisabled], () => this._togglePopover(), { initial: !0 })
|
|
127
127
|
]);
|
|
128
128
|
}
|
|
129
129
|
_togglePopover() {
|
|
130
|
-
this.
|
|
130
|
+
this._containerNode.value?.togglePopover(this.active && !this.dockEnabled && !this.topLayerDisabled);
|
|
131
131
|
}
|
|
132
132
|
_handleClose(t) {
|
|
133
133
|
t.stopPropagation(), this.arcgisClose.emit();
|
|
@@ -142,76 +142,72 @@ class W extends T {
|
|
|
142
142
|
t.stopPropagation(), t.detail.action === this._dockAction && (this.dockEnabled = !this.dockEnabled), this.arcgisTriggerAction.emit({ action: t.detail.action });
|
|
143
143
|
}
|
|
144
144
|
_isOutsideView(t) {
|
|
145
|
-
const { popupHeight: e, popupWidth: i, screenLocation: o, side:
|
|
146
|
-
return Number.isNaN(i) || Number.isNaN(e) || !
|
|
145
|
+
const { popupHeight: e, popupWidth: i, screenLocation: o, side: r, view: n } = t;
|
|
146
|
+
return Number.isNaN(i) || Number.isNaN(e) || !n || !o ? !1 : r === "right" && o.x + i / 2 > n.width || r === "left" && o.x - i / 2 < 0 || r === "top" && o.y - e < 0 || r === "bottom" && o.y + e > n.height;
|
|
147
147
|
}
|
|
148
148
|
_getPointerSize() {
|
|
149
|
-
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, i =
|
|
149
|
+
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, i = b(e?.height), o = b(e?.width);
|
|
150
150
|
return Math.hypot(i, o);
|
|
151
151
|
}
|
|
152
152
|
_calculateAutoAlignment(t) {
|
|
153
153
|
if (t !== "auto")
|
|
154
154
|
return t;
|
|
155
|
-
const { _mainContainerNode: e, _popupRect: i, viewModel: o } = this, { view:
|
|
156
|
-
if (
|
|
155
|
+
const { _mainContainerNode: e, _popupRect: i, viewModel: o } = this, { view: r } = o, { screenLocation: n } = this;
|
|
156
|
+
if (n == null || !r || !i || !e.value)
|
|
157
157
|
return "top-center";
|
|
158
|
-
const
|
|
159
|
-
popupHeight:
|
|
158
|
+
const s = window.getComputedStyle(e.value), a = b(s.maxHeight), d = b(s.height), c = this._getPointerSize(), { height: p, width: v } = i, h = v + c, u = Math.max(p, a, d) + c, x = this._isOutsideView({
|
|
159
|
+
popupHeight: u,
|
|
160
160
|
popupWidth: h,
|
|
161
|
-
screenLocation:
|
|
161
|
+
screenLocation: n,
|
|
162
162
|
side: "right",
|
|
163
|
-
view:
|
|
164
|
-
}),
|
|
165
|
-
popupHeight:
|
|
163
|
+
view: r
|
|
164
|
+
}), z = this._isOutsideView({
|
|
165
|
+
popupHeight: u,
|
|
166
166
|
popupWidth: h,
|
|
167
|
-
screenLocation:
|
|
167
|
+
screenLocation: n,
|
|
168
168
|
side: "left",
|
|
169
|
-
view:
|
|
170
|
-
}),
|
|
171
|
-
popupHeight:
|
|
169
|
+
view: r
|
|
170
|
+
}), w = this._isOutsideView({
|
|
171
|
+
popupHeight: u,
|
|
172
172
|
popupWidth: h,
|
|
173
|
-
screenLocation:
|
|
173
|
+
screenLocation: n,
|
|
174
174
|
side: "top",
|
|
175
|
-
view:
|
|
176
|
-
}),
|
|
177
|
-
popupHeight:
|
|
175
|
+
view: r
|
|
176
|
+
}), D = this._isOutsideView({
|
|
177
|
+
popupHeight: u,
|
|
178
178
|
popupWidth: h,
|
|
179
|
-
screenLocation:
|
|
179
|
+
screenLocation: n,
|
|
180
180
|
side: "bottom",
|
|
181
|
-
view:
|
|
181
|
+
view: r
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return z ? w ? "bottom-right" : "top-right" : x ? w ? "bottom-left" : "top-left" : w ? D ? "top-center" : "bottom-center" : "top-center";
|
|
184
184
|
}
|
|
185
185
|
_callCurrentAlignment(t) {
|
|
186
186
|
return typeof t == "function" ? t.call(this) : t;
|
|
187
187
|
}
|
|
188
188
|
_getCurrentAlignment() {
|
|
189
|
-
return this.dockEnabled || !this.
|
|
190
|
-
}
|
|
191
|
-
_calculatePositionResult(t) {
|
|
192
|
-
const e = ["left", "right"];
|
|
193
|
-
return x(this.el) === "rtl" && e.reverse(), t?.replace(/start/giu, e[0]).replace(/end/giu, e[1]);
|
|
189
|
+
return this.dockEnabled || !this.active || !this._mainContainerNode.value ? null : this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment));
|
|
194
190
|
}
|
|
195
191
|
_callDockPosition(t) {
|
|
196
192
|
return typeof t == "function" ? t.call(this) : t;
|
|
197
193
|
}
|
|
198
194
|
_getDockPosition() {
|
|
199
|
-
return this.
|
|
195
|
+
return this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position));
|
|
200
196
|
}
|
|
201
197
|
_getCurrentDockPosition() {
|
|
202
|
-
return this.dockEnabled && this.
|
|
198
|
+
return this.dockEnabled && this.active ? this._getDockPosition() : null;
|
|
203
199
|
}
|
|
204
200
|
_calculateAutoDockPosition(t) {
|
|
205
201
|
if (t !== "auto")
|
|
206
202
|
return t;
|
|
207
|
-
const e = this.viewModel?.view, i =
|
|
203
|
+
const e = this.viewModel?.view, i = "top-end";
|
|
208
204
|
if (!e)
|
|
209
205
|
return i;
|
|
210
206
|
const { breakpoints: o } = e;
|
|
211
207
|
return o?.xsmall && e.width <= o.xsmall ? "bottom-center" : i;
|
|
212
208
|
}
|
|
213
209
|
_getDockIcon() {
|
|
214
|
-
const t = this._getDockPosition();
|
|
210
|
+
const t = this._getDockPosition(), { _direction: e } = this;
|
|
215
211
|
if (this.dockEnabled)
|
|
216
212
|
return "minimize";
|
|
217
213
|
switch (t) {
|
|
@@ -224,8 +220,14 @@ class W extends T {
|
|
|
224
220
|
return "dock-bottom";
|
|
225
221
|
case "top-right":
|
|
226
222
|
case "bottom-right":
|
|
227
|
-
default:
|
|
228
223
|
return "dock-right";
|
|
224
|
+
case "top-start":
|
|
225
|
+
case "bottom-start":
|
|
226
|
+
return e === "rtl" ? "dock-right" : "dock-left";
|
|
227
|
+
case "top-end":
|
|
228
|
+
case "bottom-end":
|
|
229
|
+
default:
|
|
230
|
+
return e === "rtl" ? "dock-left" : "dock-right";
|
|
229
231
|
}
|
|
230
232
|
}
|
|
231
233
|
_handleDockIcon() {
|
|
@@ -237,64 +239,59 @@ class W extends T {
|
|
|
237
239
|
_calculateAlignmentPosition(t, e, i, o) {
|
|
238
240
|
if (t < 0 || e < 0 || !i || !o || t > i.width || e > i.height)
|
|
239
241
|
return;
|
|
240
|
-
const { currentAlignment: n } = this,
|
|
241
|
-
if (n === "top-left")
|
|
242
|
+
const { _direction: r, currentAlignment: n } = this, s = this._getPointerSize(), a = s / 2;
|
|
243
|
+
if (n === "top-left" || n === "top-start" && r === "ltr" || n === "top-end" && r === "rtl")
|
|
242
244
|
return {
|
|
243
245
|
top: e + i.top - (o.height + a),
|
|
244
246
|
left: t + i.left - o.width - a
|
|
245
247
|
};
|
|
246
248
|
if (n === "top-center")
|
|
247
249
|
return {
|
|
248
|
-
top: e + i.top - (o.height +
|
|
250
|
+
top: e + i.top - (o.height + s),
|
|
249
251
|
left: t + i.left - o.width / 2
|
|
250
252
|
};
|
|
251
|
-
if (n === "top-right")
|
|
253
|
+
if (n === "top-right" || n === "top-end" && r === "ltr" || n === "top-start" && r === "rtl")
|
|
252
254
|
return {
|
|
253
255
|
top: e + i.top - (o.height + a),
|
|
254
256
|
left: t + i.left + a
|
|
255
257
|
};
|
|
256
|
-
if (n === "bottom-left")
|
|
258
|
+
if (n === "bottom-left" || n === "bottom-start" && r === "ltr" || n === "bottom-end" && r === "rtl")
|
|
257
259
|
return {
|
|
258
260
|
top: e + i.top + a,
|
|
259
261
|
left: t + i.left - o.width - a
|
|
260
262
|
};
|
|
261
263
|
if (n === "bottom-center")
|
|
262
264
|
return {
|
|
263
|
-
top: e + i.top +
|
|
265
|
+
top: e + i.top + s,
|
|
264
266
|
left: t + i.left - o.width / 2
|
|
265
267
|
};
|
|
266
|
-
if (n === "bottom-right")
|
|
268
|
+
if (n === "bottom-right" || n === "bottom-end" && r === "ltr" || n === "bottom-start" && r === "rtl")
|
|
267
269
|
return {
|
|
268
270
|
top: e + i.top + a,
|
|
269
271
|
left: t + i.left + a
|
|
270
272
|
};
|
|
271
273
|
}
|
|
274
|
+
_getPositionStyleValue(t) {
|
|
275
|
+
return t != null ? `${t}px` : "auto";
|
|
276
|
+
}
|
|
272
277
|
_calculatePositionStyle() {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
top: "0px",
|
|
277
|
-
left: "0px",
|
|
278
|
-
bottom: "0px",
|
|
279
|
-
right: "0px"
|
|
280
|
-
};
|
|
278
|
+
if (this.dockEnabled)
|
|
279
|
+
return;
|
|
280
|
+
const { screenLocation: t } = this;
|
|
281
281
|
if (t == null)
|
|
282
282
|
return;
|
|
283
|
+
const e = this.view?.container?.getBoundingClientRect(), i = this._mainContainerNode.value?.getBoundingClientRect();
|
|
284
|
+
this._popupRect = i;
|
|
283
285
|
const o = this._calculateAlignmentPosition(t.x, t.y, e, i);
|
|
284
286
|
if (o)
|
|
285
|
-
return {
|
|
286
|
-
top: o.top !== void 0 ? `${o.top}px` : "auto",
|
|
287
|
-
left: o.left !== void 0 ? `${o.left}px` : "auto",
|
|
288
|
-
bottom: o.bottom !== void 0 ? `${o.bottom}px` : "auto",
|
|
289
|
-
right: o.right !== void 0 ? `${o.right}px` : "auto"
|
|
290
|
-
};
|
|
287
|
+
return `inset: ${this._getPositionStyleValue(o.top)} ${this._getPositionStyleValue(o.right)} ${this._getPositionStyleValue(o.bottom)} ${this._getPositionStyleValue(o.left)};`;
|
|
291
288
|
}
|
|
292
289
|
_dockingThresholdCrossed(t, e, i) {
|
|
293
|
-
const [o,
|
|
294
|
-
return o <=
|
|
290
|
+
const [o, r] = t, [n, s] = e, { width: a = 0, height: d = 0 } = i ?? {};
|
|
291
|
+
return o <= a && n > a || o > a && n <= a || r <= d && s > d || r > d && s <= d;
|
|
295
292
|
}
|
|
296
293
|
_updateDockEnabledForViewSize(t, e) {
|
|
297
|
-
if (!t || !e)
|
|
294
|
+
if (!t || !e || !this.viewModel?.view?.ready)
|
|
298
295
|
return;
|
|
299
296
|
const { dockOptions: i } = this, o = i.breakpoint;
|
|
300
297
|
typeof o == "object" && this._dockingThresholdCrossed(t, e, o) && this._setDockEnabledForViewSize(i);
|
|
@@ -303,57 +300,62 @@ class W extends T {
|
|
|
303
300
|
const e = t.breakpoint, i = this.viewModel?.view?.ui;
|
|
304
301
|
if (!i)
|
|
305
302
|
return !1;
|
|
306
|
-
const { width: o, height:
|
|
307
|
-
if (Number.isNaN(o) || Number.isNaN(
|
|
303
|
+
const { width: o, height: r } = i;
|
|
304
|
+
if (Number.isNaN(o) || Number.isNaN(r) || typeof e != "object")
|
|
308
305
|
return !1;
|
|
309
|
-
const
|
|
310
|
-
return
|
|
306
|
+
const n = typeof e.width == "number" && o <= (e.width ?? 0), s = typeof e.height == "number" && r <= (e.height ?? 0);
|
|
307
|
+
return n || s;
|
|
311
308
|
}
|
|
312
309
|
_setDockEnabledForViewSize(t) {
|
|
313
310
|
this.viewModel?.view?.ready && typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
|
|
314
311
|
}
|
|
315
312
|
render() {
|
|
316
|
-
const {
|
|
317
|
-
"aligned-top-center":
|
|
318
|
-
"aligned-bottom-center":
|
|
319
|
-
"aligned-top-left":
|
|
320
|
-
"aligned-bottom-left":
|
|
321
|
-
"aligned-top-right":
|
|
322
|
-
"aligned-bottom-right":
|
|
313
|
+
const { _direction: t, dockEnabled: e, currentAlignment: i, currentDockPosition: o, positionStyle: r } = this, { active: n, view: s } = this.viewModel, a = n && e, d = n && !e, c = s?.widthBreakpoint, p = s?.heightBreakpoint, v = {
|
|
314
|
+
"aligned-top-center": i === "top-center",
|
|
315
|
+
"aligned-bottom-center": i === "bottom-center",
|
|
316
|
+
"aligned-top-left": i === "top-left" || i === "top-start" && t === "ltr" || i === "top-end" && t === "rtl",
|
|
317
|
+
"aligned-bottom-left": i === "bottom-left" || i === "bottom-start" && t === "ltr" || i === "bottom-end" && t === "rtl",
|
|
318
|
+
"aligned-top-right": i === "top-right" || i === "top-end" && t === "ltr" || i === "top-start" && t === "rtl",
|
|
319
|
+
"aligned-bottom-right": i === "bottom-right" || i === "bottom-end" && t === "ltr" || i === "bottom-start" && t === "rtl",
|
|
323
320
|
"is-docked": a,
|
|
324
321
|
shadow: d,
|
|
325
|
-
"is-
|
|
326
|
-
"is-docked-top-
|
|
327
|
-
"is-docked-top-
|
|
328
|
-
"is-docked-
|
|
329
|
-
"is-docked-
|
|
330
|
-
"is-docked-
|
|
331
|
-
"is-
|
|
332
|
-
"is-
|
|
333
|
-
"is-
|
|
334
|
-
"is-
|
|
335
|
-
"is-
|
|
336
|
-
"is-xl-
|
|
337
|
-
"is-lg-
|
|
338
|
-
"is-md-
|
|
339
|
-
"is-sm-
|
|
340
|
-
"is-xs-
|
|
322
|
+
"is-rtl": this._direction === "rtl",
|
|
323
|
+
"is-docked-top-start": o === "top-start",
|
|
324
|
+
"is-docked-top-end": o === "top-end",
|
|
325
|
+
"is-docked-top-left": o === "top-left",
|
|
326
|
+
"is-docked-top-center": o === "top-center",
|
|
327
|
+
"is-docked-top-right": o === "top-right",
|
|
328
|
+
"is-docked-bottom-left": o === "bottom-left",
|
|
329
|
+
"is-docked-bottom-center": o === "bottom-center",
|
|
330
|
+
"is-docked-bottom-right": o === "bottom-right",
|
|
331
|
+
"is-docked-bottom-start": o === "bottom-start",
|
|
332
|
+
"is-docked-bottom-end": o === "bottom-end",
|
|
333
|
+
"is-xl-width-breakpoint": c === "xlarge",
|
|
334
|
+
"is-lg-width-breakpoint": c === "large",
|
|
335
|
+
"is-md-width-breakpoint": c === "medium",
|
|
336
|
+
"is-sm-width-breakpoint": c === "small",
|
|
337
|
+
"is-xs-width-breakpoint": c === "xsmall",
|
|
338
|
+
"is-xl-height-breakpoint": p === "xlarge",
|
|
339
|
+
"is-lg-height-breakpoint": p === "large",
|
|
340
|
+
"is-md-height-breakpoint": p === "medium",
|
|
341
|
+
"is-sm-height-breakpoint": p === "small",
|
|
342
|
+
"is-xs-height-breakpoint": p === "xsmall"
|
|
341
343
|
};
|
|
342
|
-
return
|
|
343
|
-
hidden: !n || !
|
|
344
|
-
}))} .ariaHidden=${!n} .ariaLabel=${
|
|
344
|
+
return g`<div style=${T(r)} class=${y(C("root", v, {
|
|
345
|
+
hidden: !n || !r && !e
|
|
346
|
+
}))} .ariaHidden=${!n} .ariaLabel=${V(this.heading ?? "")} role=dialog popover=manual ${f(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
|
|
345
347
|
}
|
|
346
348
|
_renderPointer() {
|
|
347
|
-
return !this.dockEnabled || !this.active ?
|
|
349
|
+
return !this.dockEnabled || !this.active ? g`<div class="pointer" role=presentation><div class=${y(C("pointer-direction", "shadow"))} ${f(this._pointerNode)}></div></div>` : null;
|
|
348
350
|
}
|
|
349
351
|
_renderMainContainer() {
|
|
350
352
|
const t = {
|
|
351
353
|
shadow: this.dockEnabled
|
|
352
354
|
};
|
|
353
|
-
return
|
|
355
|
+
return g`<div class=${y(C("main-container", t))} ${f(this._mainContainerNode)}>${P(this.viewModel, g`<arcgis-features .collapsed=${this.collapsed} .autoDestroyDisabled=${this.autoDestroyDisabled} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${f(this._featuresComponent)}></arcgis-features>`)}</div>`;
|
|
354
356
|
}
|
|
355
357
|
}
|
|
356
|
-
|
|
358
|
+
A("arcgis-popup", W);
|
|
357
359
|
export {
|
|
358
360
|
W as ArcgisPopup
|
|
359
361
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ClickEvent } from "@arcgis/core/views/input/types";
|
|
1
|
+
import type { ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
2
2
|
|
|
3
|
-
export type PopupPositionResult = "bottom-center" | "bottom-left" | "bottom-right" | "top-center" | "top-left" | "top-right";
|
|
3
|
+
export type PopupPositionResult = "bottom-center" | "bottom-end" | "bottom-left" | "bottom-right" | "bottom-start" | "top-center" | "top-end" | "top-left" | "top-right" | "top-start";
|
|
4
4
|
|
|
5
5
|
export type PopupPositionValue = PopupPositionResult | PopupPositionVariable;
|
|
6
6
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
3
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
4
|
-
import type Slide from "@arcgis/core/webscene/Slide";
|
|
3
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
|
+
import type Slide from "@arcgis/core/webscene/Slide.js";
|
|
5
5
|
|
|
6
6
|
/** @internal */
|
|
7
|
-
export
|
|
7
|
+
export interface PresentationViewModelProperties extends Partial<Pick<PresentationViewModel, "keyboardNavigationEnabled" | "slideId" | "view">> {}
|
|
8
8
|
|
|
9
|
+
/** @internal */
|
|
9
10
|
export default class PresentationViewModel extends Accessor {
|
|
10
11
|
constructor(properties?: PresentationViewModelProperties);
|
|
11
12
|
get firstSlideSelected(): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|