@arcgis/map-components 5.1.0-next.3 → 5.1.0-next.31
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 +2 -2
- package/dist/cdn/22YBLZZ5.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → 23HX6BD2.js} +1 -1
- package/dist/cdn/2AYGSNEO.js +2 -0
- package/dist/cdn/{5UDFTH5U.js → 2CZVQJFN.js} +1 -1
- package/dist/cdn/{XMZSFKKO.js → 2E5U7E4Y.js} +1 -1
- package/dist/cdn/{HXPCADLA.js → 2HRXVQNT.js} +1 -1
- package/dist/cdn/{GKW3DDEQ.js → 2NW3IA4C.js} +1 -1
- package/dist/cdn/2Q4WMDEY.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 34K7KDP3.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → 34Z77QHJ.js} +1 -1
- package/dist/cdn/37VDMTVJ.js +2 -0
- package/dist/cdn/{GLV3FW3Z.js → 3NTRW2I5.js} +1 -1
- package/dist/cdn/3ON5H2G5.js +2 -0
- package/dist/cdn/{AJHRJ5EA.js → 3W3MBD25.js} +1 -1
- package/dist/cdn/42IKCJ2T.js +2 -0
- package/dist/cdn/44APAUMM.js +2 -0
- package/dist/cdn/{JBJ5NQTI.js → 4IFAJH4D.js} +1 -1
- package/dist/cdn/4J3CK2QK.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{NGKNECON.js → 4MNQPYT6.js} +1 -1
- package/dist/cdn/{ZYMCKBTT.js → 4YQZ3XVG.js} +1 -1
- package/dist/cdn/{CQ4QHVEL.js → 54WDNPKC.js} +1 -1
- package/dist/cdn/{ENDLVIST.js → 5KRCPR2U.js} +1 -1
- package/dist/cdn/5ZHD4P65.js +2 -0
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/6I4ST6BV.js +2 -0
- package/dist/cdn/{AP2IFWYH.js → 6M6VT4H6.js} +1 -1
- package/dist/cdn/6OMMETC4.js +2 -0
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → 6UNF7T5E.js} +1 -1
- package/dist/cdn/{IFSGM32L.js → 7FS3KABY.js} +1 -1
- package/dist/cdn/7LEGZD2O.js +2 -0
- package/dist/cdn/{EENOVGOS.js → 7LYFC7SC.js} +1 -1
- package/dist/cdn/{THXN5VZY.js → 7RUBJPVS.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → 7SZFENQP.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → 7VRU553O.js} +1 -1
- package/dist/cdn/7WKBNAQD.js +2 -0
- package/dist/cdn/{KYOYYCFY.js → 7XJ2H56Y.js} +1 -1
- package/dist/cdn/{4363SIKC.js → A6SBSKY7.js} +1 -1
- package/dist/cdn/{WAASVZRG.js → AA6JMN5J.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → AH4HKYPE.js} +1 -1
- package/dist/cdn/AR47FOKN.js +2 -0
- package/dist/cdn/ATBESYRQ.js +2 -0
- package/dist/cdn/AZNCJT62.js +2 -0
- package/dist/cdn/{TVTQW6GC.js → B2G5OTNZ.js} +1 -1
- package/dist/cdn/{FARFUCNU.js → B4GFOGFO.js} +1 -1
- package/dist/cdn/BHB3PSCU.js +2 -0
- package/dist/cdn/BJEDYTXQ.js +2 -0
- package/dist/cdn/CAXI6CJY.js +2 -0
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/CDVHDTSM.js +2 -0
- package/dist/cdn/{HY73HOSP.js → CDVPXUWH.js} +1 -1
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/{3PQT2S7Z.js → D3WZ5UUP.js} +1 -1
- package/dist/cdn/DCI5XVB6.js +2 -0
- package/dist/cdn/DJMRUJ7O.js +2 -0
- package/dist/cdn/DQUREUJ4.js +2 -0
- package/dist/cdn/DVMAHZFP.js +2 -0
- package/dist/cdn/DW3K3W57.js +2 -0
- package/dist/cdn/E3ATQTQG.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → EPII4PE5.js} +1 -1
- package/dist/cdn/EQPYSPT5.js +2 -0
- package/dist/cdn/{E2JLZZFR.js → ET6WL43W.js} +1 -1
- package/dist/cdn/EUFSNMR4.js +2 -0
- package/dist/cdn/{UKKUFJLL.js → EY7SYUYY.js} +1 -1
- package/dist/cdn/EYX4XXBU.js +2 -0
- package/dist/cdn/G3DJLLNR.js +2 -0
- package/dist/cdn/G44JDQZ4.js +2 -0
- package/dist/cdn/{B5XR4LXQ.js → GIICS6MH.js} +1 -1
- package/dist/cdn/{6RDB26PI.js → GKZICLQB.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → GST63XCD.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → H337G76Z.js} +1 -1
- package/dist/cdn/HA465EKI.js +2 -0
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/HIASLYKF.js +2 -0
- package/dist/cdn/HSXR7HAG.js +2 -0
- package/dist/cdn/{PMQLTMQ4.js → IEC2UOVC.js} +1 -1
- package/dist/cdn/{5CYQI4SX.js → IEOFMCCO.js} +1 -1
- package/dist/cdn/INULU27Q.js +2 -0
- package/dist/cdn/IP6MMWXP.js +2 -0
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/ITTHJAUG.js +2 -0
- package/dist/cdn/{HOYFIMNJ.js → J5H3B35H.js} +1 -1
- package/dist/cdn/J756LIIM.js +2 -0
- package/dist/cdn/JF4W5UZ7.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → JIZ6BEMO.js} +1 -1
- package/dist/cdn/JODAZMW3.js +2 -0
- package/dist/cdn/JWTRJAFZ.js +2 -0
- package/dist/cdn/{T2ZF4XIZ.js → JYDGMTWJ.js} +1 -1
- package/dist/cdn/KEKWNLTW.js +2 -0
- package/dist/cdn/{3YA25S2J.js → KUFUPG4B.js} +1 -1
- package/dist/cdn/KUFW2OOW.js +2 -0
- package/dist/cdn/{27HOTQNB.js → KUUX4Y7X.js} +1 -1
- package/dist/cdn/KV2UORZN.js +2 -0
- package/dist/cdn/KVIUDTBB.js +2 -0
- package/dist/cdn/KX25AEKF.js +2 -0
- package/dist/cdn/KX5PBTVM.js +2 -0
- package/dist/cdn/{UKNKW6MH.js → KYJD5CQL.js} +1 -1
- package/dist/cdn/{556MC5SF.js → L6D5F5SD.js} +1 -1
- package/dist/cdn/LB32PLWG.js +2 -0
- package/dist/cdn/LGEWMTBM.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → LGO4NCZM.js} +1 -1
- package/dist/cdn/{3OE7JG5I.js → LO6QWIYR.js} +1 -1
- package/dist/cdn/{TSPKG2WN.js → LONLK6RH.js} +2 -2
- package/dist/cdn/{EQCNO3G4.js → LY5GZCVF.js} +1 -1
- package/dist/cdn/M67RIQAG.js +2 -0
- package/dist/cdn/{TPOLS4YM.js → M6ZVATVW.js} +1 -1
- package/dist/cdn/MD2KA2VE.js +2 -0
- package/dist/cdn/{NW44UOKT.js → MFQWNYVF.js} +1 -1
- package/dist/cdn/MHVCLFTY.js +2 -0
- package/dist/cdn/MJQIWRRC.js +2 -0
- package/dist/cdn/{BQMLNDT6.js → MR5JAWKH.js} +1 -1
- package/dist/cdn/MX7LKRXI.js +2 -0
- package/dist/cdn/{C7YN3AZA.js → MYATZCJP.js} +1 -1
- package/dist/cdn/NBA6VGFB.js +2 -0
- package/dist/cdn/NQ53C2SG.js +2 -0
- package/dist/cdn/NWQEVQPN.js +2 -0
- package/dist/cdn/O5TDDX7K.js +2 -0
- package/dist/cdn/ODGZ4RGD.js +2 -0
- package/dist/cdn/OHUCKLK5.js +2 -0
- package/dist/cdn/ONRBFGY5.js +2 -0
- package/dist/cdn/{UM2FDZJJ.js → OPATO46Y.js} +1 -1
- package/dist/cdn/{IZOPV2VQ.js → OZICG5FF.js} +1 -1
- package/dist/cdn/P4DS6L6N.js +2 -0
- package/dist/cdn/P4RZQHRD.js +2 -0
- package/dist/cdn/P5MTPM2I.js +2 -0
- package/dist/cdn/{K27JJT2P.js → P6I2HVEZ.js} +1 -1
- package/dist/cdn/PL6H7VTE.js +2 -0
- package/dist/cdn/{MQ6HO6LA.js → PPOG4NAA.js} +1 -1
- package/dist/cdn/{37TNG76C.js → PUJPVTUS.js} +1 -1
- package/dist/cdn/PY4FXGEA.js +2 -0
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/Q3NBRWIQ.js +2 -0
- package/dist/cdn/QAXSOHDW.js +2 -0
- package/dist/cdn/QB7F6BBW.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → QCCYKLEL.js} +1 -1
- package/dist/cdn/QDHEAX7N.js +2 -0
- package/dist/cdn/{D4BT63BV.js → QRIK2V22.js} +1 -1
- package/dist/cdn/{KAXJKSFB.js → QUBU7FFY.js} +1 -1
- package/dist/cdn/R5KGKAEB.js +4 -0
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{CNMF4MVD.js → R7YMIGPE.js} +1 -1
- package/dist/cdn/RB4ZCMX4.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → RG3A222F.js} +1 -1
- package/dist/cdn/{TCG6VGIB.js → RG4S7JVP.js} +1 -1
- package/dist/cdn/{FYYKRDW3.js → RVGCVXBV.js} +1 -1
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{W2A4ONZA.js → SEPRRGUF.js} +1 -1
- package/dist/cdn/SJUWADQP.js +2 -0
- package/dist/cdn/SKEB63NG.js +2 -0
- package/dist/cdn/SMHB2XNO.js +2 -0
- package/dist/cdn/SUAJ2D6L.js +2 -0
- package/dist/cdn/{JLK664TB.js → T36AHJZT.js} +1 -1
- package/dist/cdn/T4WQQ7MP.js +2 -0
- package/dist/cdn/T5F57ZKY.js +2 -0
- package/dist/cdn/{RN44YUJM.js → TMXAN3O2.js} +1 -1
- package/dist/cdn/TTZN7HIT.js +2 -0
- package/dist/cdn/{7IBXOWTT.js → TZHRLKZR.js} +1 -1
- package/dist/cdn/TZXIPFOD.js +2 -0
- package/dist/cdn/U3CQZ6CI.js +2 -0
- package/dist/cdn/U557VRFM.js +2 -0
- package/dist/cdn/U5PXE2DX.js +2 -0
- package/dist/cdn/{YC6JWXOW.js → U7GSOBVS.js} +1 -1
- package/dist/cdn/{FC6W37TT.js → UCWDM6D2.js} +1 -1
- package/dist/cdn/UEF6TPIT.js +2 -0
- package/dist/cdn/UKG6DYFF.js +2 -0
- package/dist/cdn/{RP5SO6BA.js → UMYVF65X.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → US4GUOT3.js} +1 -1
- package/dist/cdn/UXYBJXLL.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → UZFDHLQM.js} +1 -1
- package/dist/cdn/V47NU4HK.js +2 -0
- package/dist/cdn/{JTFZMNCO.js → V5FNVAX5.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → V5WAYR44.js} +1 -1
- package/dist/cdn/VE5FQNBP.js +2 -0
- package/dist/cdn/VGR7AU6K.js +2 -0
- package/dist/cdn/VNCC2KP5.js +2 -0
- package/dist/cdn/{TUW6NLYY.js → VQ4QWOQY.js} +1 -1
- package/dist/cdn/VWHIK5GL.js +2 -0
- package/dist/cdn/{NWK2WHZF.js → W5TN3LOU.js} +1 -1
- package/dist/cdn/WJ4JHHNJ.js +2 -0
- package/dist/cdn/{HK6EWWUB.js → WO76BRRK.js} +1 -1
- package/dist/cdn/{H5UJFKXO.js → X7IBOHSI.js} +1 -1
- package/dist/cdn/XDDOM7RA.js +2 -0
- package/dist/cdn/{32K266S4.js → XIUUCICM.js} +1 -1
- package/dist/cdn/XP7ST6TO.js +2 -0
- package/dist/cdn/XUESBDWT.js +2 -0
- package/dist/cdn/XV2NVNDJ.js +2 -0
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/Y2HW37MS.js +2 -0
- package/dist/cdn/Y6CUKQ7R.js +2 -0
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/YBL2FOGP.js +2 -0
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/YQMPW2VC.js +2 -0
- package/dist/cdn/YRUX64GE.js +2 -0
- package/dist/cdn/{WJ5HD2YN.js → YSPFHM7A.js} +1 -1
- package/dist/cdn/ZBANIHB3.js +2 -0
- package/dist/cdn/ZOAOTITT.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → ZW733SWS.js} +1 -1
- package/dist/cdn/ZXEQN6RW.js +2 -0
- package/dist/cdn/ZZAD2X6F.js +2 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- 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/action-utils.js +2 -2
- package/dist/chunks/component-utils.js +85 -72
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-utils.js +32 -11
- package/dist/chunks/measurementUtils.js +45 -22
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/time-utils.js +24 -22
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/chunks/useViewModel.js +5 -5
- 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-basemap-toggle/customElement.js +1 -1
- 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-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- 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 +31 -9
- 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 +46 -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-attachments/customElement.js +1 -1
- 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-media/customElement.js +1 -1
- 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 +46 -30
- 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 +70 -70
- package/dist/components/arcgis-features/customElement.js +71 -76
- 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-home/customElement.js +16 -14
- 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 +75 -85
- package/dist/components/arcgis-link-chart/customElement.js +16 -16
- 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-locate/customElement.js +17 -16
- package/dist/components/arcgis-map/customElement.d.ts +188 -198
- 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 +59 -54
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- 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-presentation/customElement.js +6 -6
- 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 +78 -33
- package/dist/components/arcgis-sketch/customElement.js +21 -9
- 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 +76 -16
- 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 +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- 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 -58
- 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 +110 -73
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +80 -69
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +18 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +109 -89
- 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/customElement.js +1 -1
- 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 +46 -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/customElement.js +1 -1
- 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 +6 -6
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2EJ4XRH4.js +0 -2
- package/dist/cdn/2VC2VUTP.js +0 -2
- package/dist/cdn/2XSXH4TM.js +0 -2
- package/dist/cdn/3DO7PVNW.js +0 -2
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/3XMPN66U.js +0 -2
- package/dist/cdn/42UR6TXZ.js +0 -2
- package/dist/cdn/4EAZ4PIQ.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/52GXKBGP.js +0 -2
- package/dist/cdn/55QGHI47.js +0 -2
- package/dist/cdn/5PRNT4KD.js +0 -2
- package/dist/cdn/5RGFRTJS.js +0 -2
- package/dist/cdn/63P5VYGP.js +0 -2
- package/dist/cdn/64OEHFBZ.js +0 -2
- package/dist/cdn/7UR4M6PN.js +0 -2
- package/dist/cdn/7YLXQNEC.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/AGYDL2DX.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/CC53K2CR.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/DTVW3MYT.js +0 -2
- package/dist/cdn/E7FLH54K.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EVRFMTMV.js +0 -2
- package/dist/cdn/EX22SAPL.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/F2TXAMXM.js +0 -2
- package/dist/cdn/F4HWT5H3.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FJJVAOBW.js +0 -2
- package/dist/cdn/FQGKKJL7.js +0 -2
- package/dist/cdn/GNGZFV2C.js +0 -2
- package/dist/cdn/H6ILOF27.js +0 -2
- package/dist/cdn/HH6BDERO.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/I5QTPPFJ.js +0 -2
- package/dist/cdn/IDDSHZVB.js +0 -2
- package/dist/cdn/J55YUTPM.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/KHM3S4Q6.js +0 -2
- package/dist/cdn/KNAUIRT6.js +0 -2
- package/dist/cdn/KXF2562U.js +0 -2
- package/dist/cdn/KY4FMFIC.js +0 -2
- package/dist/cdn/LG4PZVHS.js +0 -2
- package/dist/cdn/LHEP4QSS.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M4L5EDRB.js +0 -2
- package/dist/cdn/M65HMJZA.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MAGJWMWM.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/NIUIKBRD.js +0 -2
- package/dist/cdn/NRV7VFJ7.js +0 -2
- package/dist/cdn/NVACRYY6.js +0 -2
- package/dist/cdn/NZ5M5SVG.js +0 -2
- package/dist/cdn/NZAO2BVV.js +0 -2
- package/dist/cdn/OCEXQCFT.js +0 -2
- package/dist/cdn/ORH27QWU.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PISCYSA5.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/QVMTO5BV.js +0 -2
- package/dist/cdn/R4V6HGJH.js +0 -2
- package/dist/cdn/RCWZGU5T.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/SZ5MNKOW.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U3LH3AZH.js +0 -2
- package/dist/cdn/UAO23YMW.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/UVCYUIKZ.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/W2E5L6DS.js +0 -2
- package/dist/cdn/WGWNMYUH.js +0 -2
- package/dist/cdn/WGXSSEAL.js +0 -2
- package/dist/cdn/WOV3LB6K.js +0 -2
- package/dist/cdn/WTMMFDEH.js +0 -2
- package/dist/cdn/WW6L6XX4.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/XRP25NGI.js +0 -2
- package/dist/cdn/Y53D5YAC.js +0 -2
- package/dist/cdn/YC423DBS.js +0 -2
- package/dist/cdn/YFUI4F5L.js +0 -2
- package/dist/cdn/YKTB6AFH.js +0 -2
- package/dist/cdn/YWQGP6MB.js +0 -2
- package/dist/cdn/YZ5ZVEPC.js +0 -2
- package/dist/cdn/ZD25GJYW.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZURN5EZI.js +0 -2
- package/dist/cdn/ZUTQE3OX.js +0 -2
- package/dist/cdn/ZVTPU2MO.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,19 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type {
|
|
4
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
|
+
import type { State } from "./types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Time Zone Label is a component for displaying the current [
|
|
11
|
-
* The component has two states, collapsed as a small button and expanded displaying the internationalized name of the Map's time zone.
|
|
12
|
-
* Users can toggle between these states by clicking the component's expand/collapse button.
|
|
13
|
-
* By default the component is collapsed.
|
|
14
|
-
*
|
|
15
|
-
* When expanding, the component will lengthen inwards when [positioned](#position) within a Map.
|
|
16
|
-
* This behavior can be overridden by setting the [expandDirection](#expandDirection) property to either `"start"` or `"end"`.
|
|
10
|
+
* Time Zone Label is a component for displaying the current [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) of an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/).
|
|
17
11
|
*
|
|
18
12
|
* @since 4.33
|
|
19
13
|
*/
|
|
@@ -27,25 +21,17 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
27
21
|
noAdjustment: string;
|
|
28
22
|
}>;
|
|
29
23
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
accessor disabled: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The direction the component will expand.
|
|
24
|
+
* An optional leading icon that is displayed within the component.
|
|
37
25
|
*
|
|
38
|
-
*
|
|
39
|
-
* the component will expand towards the "end" which is equivalent to right in a LTR application.
|
|
26
|
+
* @since 5.0
|
|
40
27
|
*/
|
|
41
|
-
|
|
42
|
-
set expandDirection(value: ExpandDirection | undefined);
|
|
28
|
+
accessor actionIcon: Icon["icon"] | undefined;
|
|
43
29
|
/**
|
|
44
|
-
*
|
|
30
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
45
31
|
*
|
|
46
32
|
* @default false
|
|
47
33
|
*/
|
|
48
|
-
accessor
|
|
34
|
+
accessor disabled: boolean;
|
|
49
35
|
/**
|
|
50
36
|
* Icon which represents the component.
|
|
51
37
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -66,15 +52,19 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
66
52
|
componentLabel?: string | undefined;
|
|
67
53
|
noAdjustment?: string | undefined;
|
|
68
54
|
};
|
|
69
|
-
/**
|
|
70
|
-
|
|
55
|
+
/**
|
|
56
|
+
* 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.
|
|
57
|
+
*
|
|
58
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
59
|
+
*/
|
|
71
60
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
72
61
|
/** The state of the component. */
|
|
73
62
|
get state(): State;
|
|
63
|
+
/**
|
|
64
|
+
* The view associated with the component.
|
|
65
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-time-zone-label component will be associated with a map or scene component rather than using the `view` property.
|
|
66
|
+
*/
|
|
74
67
|
accessor view: MapView | undefined;
|
|
75
|
-
"@setterTypes": {
|
|
76
|
-
expandDirection?: ExpandDirection | undefined;
|
|
77
|
-
};
|
|
78
68
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
79
69
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
80
70
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
@@ -83,8 +73,4 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
83
73
|
arcgisPropertyChange: ArcgisTimeZoneLabel["arcgisPropertyChange"]["detail"];
|
|
84
74
|
arcgisReady: ArcgisTimeZoneLabel["arcgisReady"]["detail"];
|
|
85
75
|
};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export type ExpandDirection = "end" | "start";
|
|
89
|
-
|
|
90
|
-
export type State = "disabled" | "ready";
|
|
76
|
+
}
|
|
@@ -1,76 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class w extends u {
|
|
2
|
+
import { c as i } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as o, html as t } from "lit";
|
|
4
|
+
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { LitElement as a, createEvent as r } from "@arcgis/lumina";
|
|
6
|
+
import { u as s } from "../../chunks/useT9n.js";
|
|
7
|
+
import { u as n } from "../../chunks/useView.js";
|
|
8
|
+
import { s as l, a as m, u as d } from "../../chunks/time-utils.js";
|
|
9
|
+
const u = o`calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-background-color-press: var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-1);--calcite-action-text-color: var(--calcite-color-text-1);cursor:default}calcite-input-time-zone{--calcite-color-background: var(--calcite-color-foreground-1);--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium);padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}`;
|
|
10
|
+
class g extends a {
|
|
12
11
|
constructor() {
|
|
13
|
-
super(...arguments), this._messages =
|
|
14
|
-
this.expanded = !this.expanded;
|
|
15
|
-
}, this._direction = m(), this.view = v(this), this.position = "top-left", this.disabled = !1, this.expanded = !1, this.icon = "time-zone", this.arcgisPropertyChange = _()("state"), this.arcgisReady = b();
|
|
12
|
+
super(...arguments), this._messages = s({ blocking: !0 }), this.disabled = !1, this.icon = "time-zone", this.view = n(this), this.arcgisPropertyChange = c()("state"), this.arcgisReady = r();
|
|
16
13
|
}
|
|
17
14
|
static {
|
|
18
|
-
this.properties = { _interactive: 16,
|
|
15
|
+
this.properties = { _interactive: 16, _resolvedTimeZone: 16, actionIcon: 3, disabled: 7, icon: 3, messageOverrides: 0, label: 1, referenceElement: 1, state: 32, view: 0 };
|
|
19
16
|
}
|
|
20
17
|
static {
|
|
21
|
-
this.styles =
|
|
18
|
+
this.styles = u;
|
|
22
19
|
}
|
|
23
20
|
get _interactive() {
|
|
24
21
|
return !(this.disabled || this.state === "disabled");
|
|
25
22
|
}
|
|
23
|
+
get _resolvedTimeZone() {
|
|
24
|
+
const e = this.view?.timeZone;
|
|
25
|
+
return !e || e === l ? m : e;
|
|
26
|
+
}
|
|
26
27
|
get state() {
|
|
27
28
|
return this.view?.ready ? "ready" : "disabled";
|
|
28
29
|
}
|
|
29
|
-
get expandDirection() {
|
|
30
|
-
return this._expandDirection ?? this._computeExpandDirection();
|
|
31
|
-
}
|
|
32
|
-
set expandDirection(e) {
|
|
33
|
-
this._expandDirection = e;
|
|
34
|
-
}
|
|
35
|
-
_computeExpandDirection() {
|
|
36
|
-
if (!this.referenceElement)
|
|
37
|
-
return "end";
|
|
38
|
-
switch (this.position) {
|
|
39
|
-
case "top-right":
|
|
40
|
-
case "bottom-right":
|
|
41
|
-
case "top-trailing":
|
|
42
|
-
case "bottom-trailing":
|
|
43
|
-
return this._direction === "ltr" ? "start" : "end";
|
|
44
|
-
case "top-left":
|
|
45
|
-
case "bottom-left":
|
|
46
|
-
case "top-leading":
|
|
47
|
-
case "bottom-leading":
|
|
48
|
-
return this._direction === "ltr" ? "end" : "start";
|
|
49
|
-
default:
|
|
50
|
-
return "end";
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
_getIcon() {
|
|
54
|
-
const { expanded: e, expandDirection: i } = this;
|
|
55
|
-
return e ? this._direction === "rtl" ? i === "start" ? "chevrons-left" : "chevrons-right" : i === "start" ? "chevrons-right" : "chevrons-left" : "time-zone";
|
|
56
|
-
}
|
|
57
30
|
render() {
|
|
58
|
-
|
|
59
|
-
return this.expandDirection === "start" && r.reverse(), o`<div aria-label=${this.label ?? s} class=${c(e)}>${r}</div>`;
|
|
60
|
-
}
|
|
61
|
-
_renderExpander() {
|
|
62
|
-
const e = this._getIcon();
|
|
63
|
-
return o`<calcite-action class="expander" .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} .text=${this.label ?? ""} title=${this.label ?? "" ?? s}></calcite-action>`;
|
|
64
|
-
}
|
|
65
|
-
_renderBadge() {
|
|
66
|
-
return o`<div class=${c(n("badge", !this.expanded && "badge-hidden", !this._interactive && "badge-disabled"))}><calcite-icon class="badge-icon" icon=time-zone scale=s></calcite-icon></div>`;
|
|
67
|
-
}
|
|
68
|
-
_renderName() {
|
|
69
|
-
const e = "system", i = "unknown", t = this.view?.timeZone, a = t === e || t == null ? Intl.DateTimeFormat().resolvedOptions().timeZone : t, r = t === i, d = o`<calcite-label class=${c(n("label", (!this.expanded || !r) && "label-hidden", !this._interactive && "label-disabled"))}>${this._messages.noAdjustment}</calcite-label>`, g = o`<calcite-input-time-zone class=${c(n("name", (!this.expanded || !a || r) && "name-hidden"))} .disabled=${!this._interactive} mode=region read-only .value=${a}></calcite-input-time-zone>`;
|
|
70
|
-
return [d, g];
|
|
31
|
+
return t`<calcite-action .disabled=${!this._interactive} .icon=${this.actionIcon} text>${this._resolvedTimeZone === d ? t`<calcite-label>${this._messages.noAdjustment}</calcite-label>` : t`<calcite-input-time-zone mode=region overlay-positioning=fixed read-only .value=${this._resolvedTimeZone}></calcite-input-time-zone>`}</calcite-action>`;
|
|
71
32
|
}
|
|
72
33
|
}
|
|
73
|
-
|
|
34
|
+
i("arcgis-time-zone-label", g);
|
|
74
35
|
export {
|
|
75
|
-
|
|
36
|
+
g as ArcgisTimeZoneLabel
|
|
76
37
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-icon";
|
|
3
2
|
import "@esri/calcite-components/components/calcite-label";
|
|
4
3
|
import "@esri/calcite-components/components/calcite-input-time-zone";
|
|
5
4
|
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type State = "disabled" | "ready";
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
3
|
import type { TrackViewModelTrackErrorEvent, TrackViewModelTrackEvent, TrackViewModelState } from "@arcgis/core/widgets/Track/TrackViewModel.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
5
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
9
8
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -22,7 +21,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
|
|
|
22
21
|
*
|
|
23
22
|
* **Known limitations**
|
|
24
23
|
*
|
|
25
|
-
* - The heading symbol is not currently supported within
|
|
24
|
+
* - The heading symbol is not currently supported within an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
26
25
|
*
|
|
27
26
|
* @since 4.28
|
|
28
27
|
*/
|
|
@@ -38,7 +37,7 @@ export abstract class ArcgisTrack extends LitElement {
|
|
|
38
37
|
*/
|
|
39
38
|
accessor autoDestroyDisabled: boolean;
|
|
40
39
|
/**
|
|
41
|
-
* Error that caused the last [track-error](https://developers.arcgis.com/javascript/latest/
|
|
40
|
+
* Error that caused the last [track-error](https://developers.arcgis.com/javascript/latest/references/core/widgets/Track/TrackViewModel/#event:track-error) event to fire.
|
|
42
41
|
*
|
|
43
42
|
* @since 4.29
|
|
44
43
|
* @example
|
|
@@ -185,9 +184,9 @@ export abstract class ArcgisTrack extends LitElement {
|
|
|
185
184
|
* result, after a location is returned.
|
|
186
185
|
*
|
|
187
186
|
* By default, the view will navigate to a scale of `2500` for 3D and `4514` for 2D.
|
|
188
|
-
* To override the default in 2D, set the `scale` property and also set [snapToZoom](https://developers.arcgis.com/javascript/latest/
|
|
189
|
-
* For 2D views the value should be within the [effectiveMinScale](https://developers.arcgis.com/javascript/latest/
|
|
190
|
-
* and [effectiveMaxScale](https://developers.arcgis.com/javascript/latest/
|
|
187
|
+
* To override the default in 2D, set the `scale` property and also set [snapToZoom](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#constraints) to `false`.
|
|
188
|
+
* For 2D views the value should be within the [effectiveMinScale](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#constraints)
|
|
189
|
+
* and [effectiveMaxScale](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#constraints).
|
|
191
190
|
*
|
|
192
191
|
* @since 4.7
|
|
193
192
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
|
-
import type AggregatedGeometry from "@arcgis/core/rest/networks/support/AggregatedGeometry";
|
|
4
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
3
|
+
import type AggregatedGeometry from "@arcgis/core/rest/networks/support/AggregatedGeometry.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
10
10
|
*
|
|
11
|
-
* This sub-component renders the aggregated geometry from a `TraceResult` on a view
|
|
12
|
-
*
|
|
13
|
-
* toggle which
|
|
11
|
+
* This sub-component renders the aggregated geometry from a `TraceResult` on a view.
|
|
12
|
+
* The component does not project the geometry on the client.
|
|
13
|
+
* This sub-component also renders a "Show graphics" toggle which shows or hides the aggregated geometry graphics.
|
|
14
14
|
*
|
|
15
15
|
* The user can specify a color to render the aggregated geometry graphics in.
|
|
16
16
|
*
|
|
@@ -35,6 +35,16 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
35
35
|
};
|
|
36
36
|
showGraphics: string;
|
|
37
37
|
}>;
|
|
38
|
+
/**
|
|
39
|
+
* If true, the component will not be destroyed automatically when it is
|
|
40
|
+
* disconnected from the document. This is useful when you want to move the
|
|
41
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
42
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry/#destroy) method when you are done to
|
|
43
|
+
* prevent memory leaks.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
accessor autoDestroyDisabled: boolean;
|
|
38
48
|
/** @required */
|
|
39
49
|
accessor geometry: AggregatedGeometry | undefined;
|
|
40
50
|
/**
|
|
@@ -44,14 +54,12 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
44
54
|
accessor graphicsColor: Color;
|
|
45
55
|
/** @default false */
|
|
46
56
|
accessor hideGraphics: boolean;
|
|
47
|
-
/** @default "ready" */
|
|
48
|
-
accessor state: State;
|
|
49
57
|
/** @required */
|
|
50
58
|
accessor view: MapView | undefined;
|
|
59
|
+
/** Permanently destroy the component. */
|
|
60
|
+
destroy(): Promise<void>;
|
|
51
61
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
52
62
|
readonly "@eventTypes": {
|
|
53
63
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkAggregatedGeometry["arcgisHideGraphicsChange"]["detail"];
|
|
54
64
|
};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export type State = "loading" | "ready";
|
|
65
|
+
}
|
|
@@ -1,111 +1,106 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import d from "@arcgis/core/Graphic.js";
|
|
3
|
+
import p from "@arcgis/core/Color.js";
|
|
4
|
+
import l from "@arcgis/core/Graphic.js";
|
|
6
5
|
import g from "@arcgis/core/layers/GraphicsLayer.js";
|
|
7
6
|
import y from "@arcgis/core/symbols/SimpleFillSymbol.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { LitElement as
|
|
11
|
-
import { log as
|
|
12
|
-
import { css as
|
|
13
|
-
import { u as
|
|
14
|
-
import { i as
|
|
15
|
-
const
|
|
16
|
-
class
|
|
7
|
+
import n from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
8
|
+
import d from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
9
|
+
import { LitElement as w, createEvent as _, nothing as f } from "@arcgis/lumina";
|
|
10
|
+
import { log as s, composeMissingPropertyMessage as a } from "@arcgis/toolkit/log";
|
|
11
|
+
import { css as G, html as u } from "lit";
|
|
12
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
13
|
+
import { i as v, a as o } from "../../chunks/layer-utils.js";
|
|
14
|
+
const b = G`.loader-container{display:flex;justify-content:center;padding-bottom:var(--calcite-spacing-md)}`, h = 12;
|
|
15
|
+
class S extends w {
|
|
17
16
|
constructor() {
|
|
18
|
-
super(...arguments), this._graphicsLayerName =
|
|
19
|
-
const
|
|
20
|
-
this.
|
|
17
|
+
super(...arguments), this._graphicsLayerName = "arcgis-utility-network-aggregated-geometry-graphics", this._messages = L({ blocking: !0 }), this._graphics = [], this._addAggregatedGeometryToView = () => {
|
|
18
|
+
const e = this.geometry, { line: i, multipoint: r, polygon: c } = e;
|
|
19
|
+
this._graphics = [i, r, c].filter((t) => t != null).map((t) => this._makeGraphicFromGeometry(t)), this._graphicsLayer.addMany(this._graphics);
|
|
21
20
|
}, this._createGraphicsLayer = () => {
|
|
22
|
-
const
|
|
23
|
-
if (
|
|
24
|
-
this._graphicsLayer =
|
|
21
|
+
const e = this.view.map, i = this._graphicsLayerName, r = e.findLayerById(i);
|
|
22
|
+
if (r && v(r)) {
|
|
23
|
+
this._graphicsLayer = r;
|
|
25
24
|
return;
|
|
26
25
|
}
|
|
27
26
|
this._graphicsLayer = new g({
|
|
28
|
-
id:
|
|
27
|
+
id: i,
|
|
29
28
|
listMode: "hide",
|
|
30
|
-
title:
|
|
31
|
-
}),
|
|
32
|
-
}, this.hideGraphics = !1, this.graphicsColor = new
|
|
29
|
+
title: i
|
|
30
|
+
}), o(this.view, this._graphicsLayer);
|
|
31
|
+
}, this.hideGraphics = !1, this.graphicsColor = new p([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.arcgisHideGraphicsChange = _();
|
|
33
32
|
}
|
|
34
33
|
static {
|
|
35
|
-
this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0,
|
|
34
|
+
this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0, view: 0, autoDestroyDisabled: 5 };
|
|
36
35
|
}
|
|
37
36
|
static {
|
|
38
|
-
this.styles =
|
|
37
|
+
this.styles = b;
|
|
38
|
+
}
|
|
39
|
+
async destroy() {
|
|
40
|
+
this.view?.map && this._graphicsLayer && this.view.map.remove(this._graphicsLayer), await this.manager.destroy();
|
|
39
41
|
}
|
|
40
42
|
connectedCallback() {
|
|
41
|
-
super.connectedCallback(), this.view && this._graphicsLayer &&
|
|
43
|
+
super.connectedCallback(), this.view && this._graphicsLayer && o(this.view, this._graphicsLayer);
|
|
42
44
|
}
|
|
43
45
|
load() {
|
|
44
|
-
!this.geometry || !this.view?.map || this.
|
|
45
|
-
}
|
|
46
|
-
loaded() {
|
|
47
|
-
this.geometry || a("error", this, o("geometry")), this.view ? this.view.map || a("error", this, o("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : a("error", this, o("view"));
|
|
46
|
+
!this.geometry || !this.view?.map || this._createGraphicsLayer();
|
|
48
47
|
}
|
|
49
|
-
willUpdate(
|
|
50
|
-
if (
|
|
51
|
-
const
|
|
52
|
-
|
|
48
|
+
willUpdate(e) {
|
|
49
|
+
if (e.has("graphicsColor") && this._updateGraphicSymbols(), e.has("geometry") && (this._graphicsLayer?.removeAll(), this._addAggregatedGeometryToView()), e.has("view")) {
|
|
50
|
+
const i = e.get("view");
|
|
51
|
+
i?.map && this._graphicsLayer && (i.map.remove(this._graphicsLayer), this._createGraphicsLayer(), this._addAggregatedGeometryToView());
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
loaded() {
|
|
55
|
+
this.geometry || s("error", this, a("geometry")), this.view ? this.view.map || s("error", this, a("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : s("error", this, a("view"));
|
|
57
56
|
}
|
|
58
57
|
_handleShowGraphicsChange() {
|
|
59
|
-
this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this.
|
|
60
|
-
}
|
|
61
|
-
async _loadProjectOperator() {
|
|
62
|
-
s.isLoaded() || (this.state = "loading", await s.load(), this.state = "ready");
|
|
58
|
+
this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this._graphics), this.arcgisHideGraphicsChange.emit(this.hideGraphics);
|
|
63
59
|
}
|
|
64
|
-
_makeGraphicFromGeometry(
|
|
65
|
-
|
|
66
|
-
return new d({
|
|
60
|
+
_makeGraphicFromGeometry(e) {
|
|
61
|
+
return new l({
|
|
67
62
|
geometry: e,
|
|
68
|
-
symbol: this._makeSymbolForGeometry(
|
|
63
|
+
symbol: this._makeSymbolForGeometry(e)
|
|
69
64
|
});
|
|
70
65
|
}
|
|
71
|
-
_makeSymbolForGeometry(
|
|
72
|
-
const
|
|
73
|
-
switch (
|
|
66
|
+
_makeSymbolForGeometry(e) {
|
|
67
|
+
const i = this.graphicsColor;
|
|
68
|
+
switch (e.type) {
|
|
74
69
|
case "multipoint":
|
|
75
|
-
return new
|
|
76
|
-
color:
|
|
70
|
+
return new d({
|
|
71
|
+
color: i,
|
|
77
72
|
size: h,
|
|
78
73
|
outline: {
|
|
79
|
-
color:
|
|
74
|
+
color: i,
|
|
80
75
|
width: 0
|
|
81
76
|
}
|
|
82
77
|
});
|
|
83
78
|
case "polygon":
|
|
84
79
|
return new y({
|
|
85
|
-
color:
|
|
80
|
+
color: i,
|
|
86
81
|
outline: {
|
|
87
|
-
color:
|
|
82
|
+
color: i,
|
|
88
83
|
width: h
|
|
89
84
|
}
|
|
90
85
|
});
|
|
91
86
|
case "polyline":
|
|
92
|
-
return new
|
|
93
|
-
color:
|
|
87
|
+
return new n({
|
|
88
|
+
color: i,
|
|
94
89
|
width: h
|
|
95
90
|
});
|
|
96
91
|
}
|
|
97
92
|
}
|
|
98
93
|
_updateGraphicSymbols() {
|
|
99
|
-
this._graphicsLayer?.graphics.forEach((
|
|
100
|
-
const
|
|
101
|
-
|
|
94
|
+
this._graphicsLayer?.graphics.forEach((e) => {
|
|
95
|
+
const i = e.geometry;
|
|
96
|
+
e.symbol = this._makeSymbolForGeometry(i);
|
|
102
97
|
});
|
|
103
98
|
}
|
|
104
99
|
render() {
|
|
105
|
-
return
|
|
100
|
+
return u`<calcite-switch .checked=${!this.hideGraphics} .label=${this._messages.labels.showGraphicsToggle} label-text-end=${this._messages.showGraphics ?? f} @calciteSwitchChange=${this._handleShowGraphicsChange}></calcite-switch>`;
|
|
106
101
|
}
|
|
107
102
|
}
|
|
108
|
-
m("arcgis-utility-network-aggregated-geometry",
|
|
103
|
+
m("arcgis-utility-network-aggregated-geometry", S);
|
|
109
104
|
export {
|
|
110
|
-
|
|
105
|
+
S as ArcgisUtilityNetworkAggregatedGeometry
|
|
111
106
|
};
|
|
@@ -3,8 +3,7 @@ import type MapView from "@arcgis/core/views/MapView.js";
|
|
|
3
3
|
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
4
4
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
7
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
7
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -34,7 +33,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
34
33
|
*/
|
|
35
34
|
accessor autoRefreshAssociationsDisabled: boolean;
|
|
36
35
|
/**
|
|
37
|
-
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/
|
|
36
|
+
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/) used for representing the polyline geometry that is being
|
|
38
37
|
* drawn for connectivity associations.
|
|
39
38
|
*
|
|
40
39
|
* @since 4.26
|
|
@@ -123,7 +122,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
123
122
|
* The maximum value or upper bound of the Maximum allowable associations slider.
|
|
124
123
|
*
|
|
125
124
|
* If the value in the constructor is less than or equal to the value set for
|
|
126
|
-
* [maxAllowableAssociationsSliderMin](https://developers.arcgis.com/javascript/latest/
|
|
125
|
+
* [maxAllowableAssociationsSliderMin](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkAssociations/#maxAllowableAssociationsSliderMin), the property will be set to a default value (1000).
|
|
127
126
|
*
|
|
128
127
|
* @since 4.26
|
|
129
128
|
*/
|
|
@@ -132,7 +131,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
132
131
|
* The minimum value or lower bound of the Maximum allowable associations slider.
|
|
133
132
|
*
|
|
134
133
|
* If the value in the constructor is less than 0, the property will be set to a default value (250).
|
|
135
|
-
* If the value in the constructor is greater than or equal to [maxAllowableAssociationsSliderMax](https://developers.arcgis.com/javascript/latest/
|
|
134
|
+
* If the value in the constructor is greater than or equal to [maxAllowableAssociationsSliderMax](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkAssociations/#maxAllowableAssociationsSliderMax),
|
|
136
135
|
* the property will be set to a default value (250).
|
|
137
136
|
*
|
|
138
137
|
* @since 4.26
|
|
@@ -208,7 +207,7 @@ export abstract class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
|
208
207
|
*/
|
|
209
208
|
accessor showStructuralAttachmentAssociationsSettingsCapSelect: boolean;
|
|
210
209
|
/**
|
|
211
|
-
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/
|
|
210
|
+
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/) used for representing the polyline geometry that is being drawn for structural attachment associations.
|
|
212
211
|
*
|
|
213
212
|
* @since 4.26
|
|
214
213
|
*/
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type {
|
|
6
|
-
import type { UtilityNetworkTraceViewModelRemoveResultAreaEvent, UtilityNetworkTraceViewModelAddResultAreaEvent, UtilityNetworkTraceViewModelAddFlagErrorEvent, UtilityNetworkTraceViewModelAddFlagCompleteEvent, UtilityNetworkTraceViewModelAddFlagEvent, TraceResultExtend } from "@arcgis/core/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel";
|
|
7
|
-
import type { GraphicColor, FlagProperty, ResultAreaPropertiesExtend, UtilityNetworkTraceViewModelState } from "@arcgis/core/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js";
|
|
4
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
5
|
+
import type { UtilityNetworkTraceViewModelRemoveResultAreaEvent, UtilityNetworkTraceViewModelAddResultAreaEvent, UtilityNetworkTraceViewModelAddFlagErrorEvent, UtilityNetworkTraceViewModelAddFlagCompleteEvent, UtilityNetworkTraceViewModelAddFlagEvent, TraceResultExtend, GraphicColor, FlagProperty, ResultAreaPropertiesExtend, UtilityNetworkTraceViewModelState } from "@arcgis/core/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js";
|
|
8
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
9
7
|
import type { InputSetting } from "@arcgis/core/widgets/UtilityNetworkTrace.js";
|
|
10
8
|
|
|
11
9
|
/**
|
|
12
|
-
*
|
|
10
|
+
* > [!WARNING]
|
|
11
|
+
* >
|
|
12
|
+
* > This component is **deprecated**. [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) is the preferred component for utility network tracing and should be used for all new development.
|
|
13
|
+
*
|
|
14
|
+
* Utility Network Trace component provides a way to run traces in a Utility Network based on connectivity or traversability from set trace locations. Trace locations (starting points and barriers) can be set by clicking the view.
|
|
13
15
|
*
|
|
14
16
|
* > The Utility Network Trace component does not support proxied feature services or feature services that utilize stored credentials.
|
|
15
17
|
*
|
|
16
18
|
* Note: Sign in to access the data in this sample, U/P: `viewer01`/`I68VGU^nMurF`
|
|
17
19
|
*
|
|
20
|
+
* @deprecated since 5.0, use [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) instead.
|
|
18
21
|
* @since 4.28
|
|
19
22
|
*/
|
|
20
23
|
export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
@@ -42,7 +45,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
42
45
|
*/
|
|
43
46
|
accessor defaultGraphicColor: GraphicColor;
|
|
44
47
|
/**
|
|
45
|
-
* When true, the component is visually withdrawn and cannot
|
|
48
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
46
49
|
*
|
|
47
50
|
* @default false
|
|
48
51
|
* @since 4.22
|
|
@@ -99,7 +102,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
99
102
|
get icon(): Icon["icon"];
|
|
100
103
|
set icon(value: IconName);
|
|
101
104
|
/**
|
|
102
|
-
* Custom labels, descriptions, and symbol for the input [flags](https://developers.arcgis.com/javascript/latest/
|
|
105
|
+
* Custom labels, descriptions, and symbol for the input [flags](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkTrace/#flags).
|
|
103
106
|
*
|
|
104
107
|
* @default []
|
|
105
108
|
* @since 4.23
|
|
@@ -218,7 +221,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
218
221
|
readonly arcgisAddFlagError: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelAddFlagErrorEvent>;
|
|
219
222
|
readonly arcgisAddResultArea: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelAddResultAreaEvent>;
|
|
220
223
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
221
|
-
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
224
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state" | "traceResults"; }>;
|
|
222
225
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
223
226
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
224
227
|
readonly arcgisRemoveResultArea: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelRemoveResultAreaEvent>;
|