@arcgis/map-components 5.0.0-next.3 → 5.0.0-next.30
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/dist/cdn/22PBEW6E.js +4 -0
- package/dist/cdn/25PCEBHD.js +4 -0
- package/dist/cdn/{PT4SB4F4.js → 27WBIJ7W.js} +2 -2
- package/dist/cdn/{5Y726H3N.js → 2CJC5LPR.js} +2 -2
- package/dist/cdn/2CRWDE5K.js +4 -0
- package/dist/cdn/{2Y7DD43B.js → 2S7NPB67.js} +2 -2
- package/dist/cdn/{XS57JNBV.js → 374IBN5E.js} +2 -2
- package/dist/cdn/{XSHK3IHW.js → 3OVNUSGR.js} +2 -2
- package/dist/cdn/{JMEUEYO3.js → 3PNHYPR5.js} +2 -2
- package/dist/cdn/3Q4TZZN5.js +9 -0
- package/dist/cdn/{V2SEO7LF.js → 3TDUGLWP.js} +2 -2
- package/dist/cdn/3U4M6EMC.js +4 -0
- package/dist/cdn/3ZCQG6W2.js +4 -0
- package/dist/cdn/425YBS5O.js +4 -0
- package/dist/cdn/{U5AQM4PG.js → 42EAA7ZK.js} +2 -2
- package/dist/cdn/{7CNGYGTJ.js → 4EURR2HO.js} +2 -2
- package/dist/cdn/{5KLSEZXC.js → 4I6KXDCS.js} +2 -2
- package/dist/cdn/4KAVQQCL.js +4 -0
- package/dist/cdn/{6NDFRLCI.js → 4S63FYIQ.js} +2 -2
- package/dist/cdn/{FJ2ODCZO.js → 4ZDH3LUI.js} +2 -2
- package/dist/cdn/{WM6PZMMT.js → 5622NXQG.js} +2 -2
- package/dist/cdn/{ZIEJSM2I.js → 56LJCIRJ.js} +2 -2
- package/dist/cdn/5CCZDJS6.js +4 -0
- package/dist/cdn/5I77EKDP.js +4 -0
- package/dist/cdn/{GHJ24W6Y.js → 5MBPCAXE.js} +2 -2
- package/dist/cdn/5RXPN4ZA.js +4 -0
- package/dist/cdn/{E6NGXE4D.js → 5T4NERJA.js} +2 -2
- package/dist/cdn/6264Y6OB.js +4 -0
- package/dist/cdn/{5BGXROFC.js → 63P5OPEW.js} +2 -2
- package/dist/cdn/{NZU4NUKA.js → 66XSUGOO.js} +2 -2
- package/dist/cdn/6JOMTTMO.js +4 -0
- package/dist/cdn/6LLHP446.js +4 -0
- package/dist/cdn/6QMZX7TX.js +4 -0
- package/dist/cdn/6YGA3ZTW.js +4 -0
- package/dist/cdn/74D735ZE.js +4 -0
- package/dist/cdn/{OQ4DWZRX.js → 76PSKS56.js} +2 -2
- package/dist/cdn/7BW7BEKS.js +4 -0
- package/dist/cdn/{SPSIJZKA.js → 7BZ6ZZWG.js} +2 -2
- package/dist/cdn/7LW2MJ34.js +4 -0
- package/dist/cdn/{CAGCLXVW.js → 7N7RFZDC.js} +2 -2
- package/dist/cdn/7R25WXBY.js +4 -0
- package/dist/cdn/{YGN7CXIS.js → A7WF3SII.js} +2 -2
- package/dist/cdn/AJVA5KJZ.js +4 -0
- package/dist/cdn/{4XLFNXAU.js → AUBNL7NN.js} +1 -1
- package/dist/cdn/AYDYS5XP.js +4 -0
- package/dist/cdn/B5J2VO23.js +4 -0
- package/dist/cdn/{KHBODFWE.js → BBF2UUMF.js} +1 -1
- package/dist/cdn/{V7Z2OLGJ.js → BCB3OHT5.js} +1 -1
- package/dist/cdn/BFGOCVTQ.js +4 -0
- package/dist/cdn/{H7M3PSWM.js → BGIPXNCI.js} +2 -2
- package/dist/cdn/BID2IGTA.js +4 -0
- package/dist/cdn/BP3EIAXM.js +4 -0
- package/dist/cdn/BPZWPZSL.js +4 -0
- package/dist/cdn/{QQEDG3FQ.js → BYDZCBXS.js} +1 -1
- package/dist/cdn/CKWHFRUK.js +4 -0
- package/dist/cdn/{OTAT274C.js → CLULAXQD.js} +2 -2
- package/dist/cdn/CNTHUZWZ.js +4 -0
- package/dist/cdn/CUG6PNIA.js +4 -0
- package/dist/cdn/{IFCRROLM.js → CYBCIT4Y.js} +1 -1
- package/dist/cdn/{MJ33XVNW.js → CZJ42KVB.js} +2 -2
- package/dist/cdn/DCVY57UJ.js +4 -0
- package/dist/cdn/DDTFGXJB.js +4 -0
- package/dist/cdn/DGTCJPUJ.js +4 -0
- package/dist/cdn/DKQDFHBQ.js +4 -0
- package/dist/cdn/{QLRG2ZV7.js → DNH555Q6.js} +2 -2
- package/dist/cdn/{VYJLK7NT.js → DVMZQU3S.js} +2 -2
- package/dist/cdn/{JY4X6DI4.js → DX7CIW2P.js} +2 -2
- package/dist/cdn/{2NLU5P6Z.js → DZMHLJTL.js} +2 -2
- package/dist/cdn/E47J5GZF.js +4 -0
- package/dist/cdn/E57VVYYO.js +4 -0
- package/dist/cdn/E6LAZTCZ.js +4 -0
- package/dist/cdn/E7LECLZS.js +4 -0
- package/dist/cdn/{UOB52WH7.js → EANAURQW.js} +2 -2
- package/dist/cdn/EIA2HRVX.js +4 -0
- package/dist/cdn/{ZVMC7KNO.js → EJNPIPYI.js} +2 -2
- package/dist/cdn/{G7HJYLTI.js → EK2C6MIA.js} +2 -2
- package/dist/cdn/EL2VJ6RS.js +4 -0
- package/dist/cdn/{PH5CV2LM.js → EYVOMZXY.js} +1 -1
- package/dist/cdn/EZRA4T3B.js +4 -0
- package/dist/cdn/FDJQS7A5.js +4 -0
- package/dist/cdn/FJSDHTDE.js +4 -0
- package/dist/cdn/FKA23U6F.js +4 -0
- package/dist/cdn/FN2HVGXN.js +4 -0
- package/dist/cdn/{FGL64TB3.js → FN45TY5U.js} +2 -2
- package/dist/cdn/{VUH7USVP.js → FOLKGWCG.js} +2 -2
- package/dist/cdn/FRHKHEQC.js +4 -0
- package/dist/cdn/{TIKIHUXB.js → FWUUE67P.js} +2 -2
- package/dist/cdn/{XOR2JIKE.js → FZ5UYVXE.js} +2 -2
- package/dist/cdn/{E3GEOJL3.js → GHB4S7FZ.js} +2 -2
- package/dist/cdn/GJULE3KX.js +4 -0
- package/dist/cdn/{IRVVFCPI.js → GKBYAVVU.js} +2 -2
- package/dist/cdn/GRCCF7NK.js +4 -0
- package/dist/cdn/{E3PFF3QO.js → GSPGZZIN.js} +2 -2
- package/dist/cdn/GW4QU3CW.js +4 -0
- package/dist/cdn/GX5MB57E.js +4 -0
- package/dist/cdn/HBEKTKXB.js +4 -0
- package/dist/cdn/HKSFUMS2.js +4 -0
- package/dist/cdn/{NSSQHGXK.js → HLYYV5IJ.js} +2 -2
- package/dist/cdn/{O6EPJYM3.js → HT3PGW7M.js} +2 -2
- package/dist/cdn/HWBYBOFO.js +4 -0
- package/dist/cdn/I4VWHCEV.js +4 -0
- package/dist/cdn/{LYJ4UH2R.js → I5KPSSMS.js} +2 -2
- package/dist/cdn/{QEP5NFEU.js → I5OZYAAG.js} +2 -2
- package/dist/cdn/{FKYZEDOJ.js → I656AJFF.js} +2 -2
- package/dist/cdn/{A3762FET.js → I7DVVSQ5.js} +2 -2
- package/dist/cdn/{YTHR4NZ6.js → IAEK5W65.js} +2 -2
- package/dist/cdn/{AYNMHQEJ.js → IDCRXCZH.js} +2 -2
- package/dist/cdn/IRAFVG6N.js +4 -0
- package/dist/cdn/IT3NFXVO.js +4 -0
- package/dist/cdn/{PL6UYYNH.js → IUZBJNIT.js} +2 -2
- package/dist/cdn/IUZRROGZ.js +4 -0
- package/dist/cdn/J3ZLMJL7.js +4 -0
- package/dist/cdn/{OXFFB6Y3.js → J5IGACIV.js} +2 -2
- package/dist/cdn/{X6KL6BYF.js → J5JIUE4E.js} +2 -2
- package/dist/cdn/{UU6DUHJ7.js → J75FAWOX.js} +1 -1
- package/dist/cdn/JC3Y3H2J.js +4 -0
- package/dist/cdn/{D4LXLZZW.js → JC6BPG6L.js} +2 -2
- package/dist/cdn/JD3UYAHR.js +4 -0
- package/dist/cdn/{WLZJRN6C.js → JD6SZBTI.js} +1 -1
- package/dist/cdn/JNHWTLF5.js +4 -0
- package/dist/cdn/{H37YYHYW.js → K4HH7Q7F.js} +2 -2
- package/dist/cdn/KHN4WS5O.js +4 -0
- package/dist/cdn/{T25TCQNP.js → KWO4P6X3.js} +2 -2
- package/dist/cdn/L2S6UPIL.js +4 -0
- package/dist/cdn/LG3E3FEI.js +4 -0
- package/dist/cdn/LG6IQO74.js +4 -0
- package/dist/cdn/LGRVJOKM.js +4 -0
- package/dist/cdn/LHKVE7QW.js +4 -0
- package/dist/cdn/LMHRSVIK.js +4 -0
- package/dist/cdn/{IPSS2ZMH.js → LTRRBRH6.js} +2 -2
- package/dist/cdn/{IHZK6TIX.js → LUPWZHEN.js} +2 -2
- package/dist/cdn/LXMJA6SN.js +4 -0
- package/dist/cdn/{Y4JZGJBR.js → MEK3PSMR.js} +2 -2
- package/dist/cdn/MGSBWHU6.js +4 -0
- package/dist/cdn/{NQG5ZLHV.js → MIWATNX7.js} +2 -2
- package/dist/cdn/{7UZQHGLP.js → MPGBF2CR.js} +2 -2
- package/dist/cdn/MROF6ZLY.js +4 -0
- package/dist/cdn/{L7F3QWKO.js → MW27JFII.js} +2 -2
- package/dist/cdn/MYHT3FNL.js +4 -0
- package/dist/cdn/{36DL5HXP.js → N4IBOVID.js} +2 -2
- package/dist/cdn/{V4QJNRPL.js → NB6FYZSP.js} +1 -1
- package/dist/cdn/{SUC4EKIE.js → NGRN6PRP.js} +2 -2
- package/dist/cdn/NIVNICTN.js +4 -0
- package/dist/cdn/NUWJO552.js +4 -0
- package/dist/cdn/{MY5DKMMJ.js → NVQTDJG4.js} +2 -2
- package/dist/cdn/{HYX7CRNH.js → OCLQXJGF.js} +2 -2
- package/dist/cdn/{HDI3Z2HD.js → OF5TKTLJ.js} +2 -2
- package/dist/cdn/OISWBYPZ.js +4 -0
- package/dist/cdn/OLIVWOUG.js +4 -0
- package/dist/cdn/OLTPA66L.js +4 -0
- package/dist/cdn/ONNIQKMO.js +4 -0
- package/dist/cdn/OP7UWDJC.js +4 -0
- package/dist/cdn/OQPWIH5D.js +4 -0
- package/dist/cdn/PCLAY3FC.js +4 -0
- package/dist/cdn/PDDWIQ7N.js +4 -0
- package/dist/cdn/PP47N6OQ.js +4 -0
- package/dist/cdn/PPG44XNA.js +4 -0
- package/dist/cdn/PSXK4TAG.js +4 -0
- package/dist/cdn/PZJX66WF.js +4 -0
- package/dist/cdn/Q5KRWXQZ.js +4 -0
- package/dist/cdn/Q7MP7GCA.js +4 -0
- package/dist/cdn/QUIRGW73.js +4 -0
- package/dist/cdn/QYWKUYX6.js +4 -0
- package/dist/cdn/{V2J3UBB6.js → R3XM3W55.js} +2 -2
- package/dist/cdn/{SLM4KEUZ.js → R4UWGEKU.js} +2 -2
- package/dist/cdn/{O7JOBF3W.js → RBQBAWXT.js} +2 -2
- package/dist/cdn/REGCZKJO.js +4 -0
- package/dist/cdn/{HQL6HUHP.js → RGDYDUVM.js} +2 -2
- package/dist/cdn/{24FW7BG5.js → RNHHSJBN.js} +2 -2
- package/dist/cdn/RXKG57HU.js +4 -0
- package/dist/cdn/{PAQHYLRL.js → RYEBGC2T.js} +2 -2
- package/dist/cdn/{PHBC5D77.js → S5SBZVDO.js} +2 -2
- package/dist/cdn/S6TGNN5K.js +4 -0
- package/dist/cdn/SBWVZPEI.js +4 -0
- package/dist/cdn/{JIWHI7EW.js → SCZ6FM7D.js} +2 -2
- package/dist/cdn/SGL4GRLW.js +4 -0
- package/dist/cdn/SKUATZL2.js +4 -0
- package/dist/cdn/{ALNZYXRY.js → SNEAUADR.js} +2 -2
- package/dist/cdn/{SK3UKEH4.js → SNFN2BKO.js} +2 -2
- package/dist/cdn/{J74HR7ZS.js → SQ5KXPKM.js} +2 -2
- package/dist/cdn/SSN4WU5P.js +4 -0
- package/dist/cdn/{USMO52IS.js → SZCYMTSH.js} +2 -2
- package/dist/cdn/{TG7X24CK.js → T36L76YW.js} +2 -2
- package/dist/cdn/{7PEEU67P.js → TEGTWZFB.js} +2 -2
- package/dist/cdn/TFZ4RUW2.js +4 -0
- package/dist/cdn/{LTI2QYVU.js → TGAFLU6F.js} +2 -2
- package/dist/cdn/{AQ2NPWC6.js → TI47WRKB.js} +2 -2
- package/dist/cdn/TJXNZQ6E.js +4 -0
- package/dist/cdn/{BL7YER2G.js → TNU7CJYU.js} +2 -2
- package/dist/cdn/U3Y4NEIU.js +4 -0
- package/dist/cdn/UA3NEZD2.js +4 -0
- package/dist/cdn/{XCUKO2A2.js → UHRRVA5A.js} +2 -2
- package/dist/cdn/{T352QWFP.js → UIEHONGS.js} +2 -2
- package/dist/cdn/{4SGPWL6P.js → UNJHMZ3F.js} +2 -2
- package/dist/cdn/UV6BXD7O.js +4 -0
- package/dist/cdn/V2HPTG5E.js +4 -0
- package/dist/cdn/V4GYQU7T.js +4 -0
- package/dist/cdn/VTBJGFMG.js +4 -0
- package/dist/cdn/{UDPPDKXD.js → VVG7FBHC.js} +2 -2
- package/dist/cdn/VWNSIY3Z.js +4 -0
- package/dist/cdn/VX7XHWH3.js +4 -0
- package/dist/cdn/W4OV7AC2.js +4 -0
- package/dist/cdn/W4RATWQC.js +4 -0
- package/dist/cdn/WFFXOIVG.js +4 -0
- package/dist/cdn/{JNRTXRIA.js → WOZWBFU3.js} +2 -2
- package/dist/cdn/{RQGY47DP.js → WSDNUWO4.js} +2 -2
- package/dist/cdn/{SSTOK5YE.js → WXL3L2FD.js} +2 -2
- package/dist/cdn/X2P5ZICY.js +4 -0
- package/dist/cdn/{FJHYJ3NL.js → XCXSBECM.js} +2 -2
- package/dist/cdn/XDXAENM3.js +4 -0
- package/dist/cdn/XGIGLVS7.js +5 -0
- package/dist/cdn/XJZXQDR2.js +4 -0
- package/dist/cdn/XOKCQ5UG.js +4 -0
- package/dist/cdn/Y3U2JDPE.js +4 -0
- package/dist/cdn/Y7H7Z7BU.js +4 -0
- package/dist/cdn/YRSPO3RH.js +4 -0
- package/dist/cdn/YSBP4YU4.js +4 -0
- package/dist/cdn/{NIQUPN4E.js → Z5MMZXMP.js} +2 -2
- package/dist/cdn/{QWNJRMAQ.js → ZI2HBMIO.js} +2 -2
- package/dist/cdn/ZQY6XVS2.js +4 -0
- package/dist/cdn/ZUOJPC77.js +4 -0
- package/dist/cdn/{4UP6FMTP.js → ZWSRYLIE.js} +2 -2
- package/dist/cdn/ZYOD4BBB.js +4 -0
- package/dist/cdn/{HHFFCMML.js → ZZ5AKBHE.js} +1 -1
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +16 -6
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +53 -54
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +116 -57
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +3 -3
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +14 -6
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -6
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.d.ts +10 -9
- package/dist/components/arcgis-expand/customElement.js +33 -39
- package/dist/components/arcgis-feature/customElement.d.ts +18 -22
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +26 -11
- package/dist/components/arcgis-features/customElement.js +7 -7
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +3 -3
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +18 -3
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +70 -4
- package/dist/components/arcgis-link-chart/customElement.js +20 -22
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +477 -61
- package/dist/components/arcgis-map/customElement.js +29 -31
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +6 -6
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -18
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -3
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +46 -6
- package/dist/components/arcgis-scene/customElement.js +27 -29
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +17 -19
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +4 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +16 -8
- package/dist/components/arcgis-sketch/customElement.js +15 -7
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +6 -4
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +4 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +2 -2
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +69 -25
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +5 -3
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +3 -3
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +2168 -1599
- package/dist/docs/docs.json +1986 -1346
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +208 -290
- package/dist/docs/web-types.json +619 -517
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -20
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +31 -18
- package/dist/types/preact.d.ts +33 -19
- package/dist/types/preact10.d.ts +35 -20
- package/dist/types/react.d.ts +35 -20
- package/dist/types/stencil.d.ts +31 -18
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/2AZHLSAM.js +0 -4
- package/dist/cdn/2QRPRZG7.js +0 -4
- package/dist/cdn/2TIHIEKF.js +0 -4
- package/dist/cdn/34BYMZKN.js +0 -4
- package/dist/cdn/34UFWCNP.js +0 -4
- package/dist/cdn/37KDGILU.js +0 -4
- package/dist/cdn/3R2IE2EP.js +0 -4
- package/dist/cdn/3TNLQA2F.js +0 -4
- package/dist/cdn/44N6D3WC.js +0 -4
- package/dist/cdn/4CPDJQ27.js +0 -4
- package/dist/cdn/53D5QJFX.js +0 -4
- package/dist/cdn/5UJK4YHX.js +0 -4
- package/dist/cdn/63KJYSZ6.js +0 -4
- package/dist/cdn/6G2XDWMZ.js +0 -4
- package/dist/cdn/6VRVCX3L.js +0 -4
- package/dist/cdn/7BGZFWPA.js +0 -4
- package/dist/cdn/7C2OVYAI.js +0 -4
- package/dist/cdn/7CTFDRQC.js +0 -4
- package/dist/cdn/7DC3PGD2.js +0 -4
- package/dist/cdn/7HSMTM2G.js +0 -4
- package/dist/cdn/7KIRVDDY.js +0 -4
- package/dist/cdn/AFYGKVBX.js +0 -4
- package/dist/cdn/AH3BVTCT.js +0 -4
- package/dist/cdn/ALENT5NF.js +0 -4
- package/dist/cdn/ATKMD43D.js +0 -5
- package/dist/cdn/BG77QJIW.js +0 -4
- package/dist/cdn/CKCTJ6CW.js +0 -4
- package/dist/cdn/CNLBDFHY.js +0 -4
- package/dist/cdn/CTZ7P2ON.js +0 -4
- package/dist/cdn/CV57WMBL.js +0 -9
- package/dist/cdn/CVMDCLGB.js +0 -4
- package/dist/cdn/DRLSZQDU.js +0 -4
- package/dist/cdn/DV2N434J.js +0 -4
- package/dist/cdn/EESASTEL.js +0 -4
- package/dist/cdn/EIB4B7NM.js +0 -4
- package/dist/cdn/EJ6NO5NK.js +0 -4
- package/dist/cdn/EQ5LPNFG.js +0 -4
- package/dist/cdn/ESWN44C2.js +0 -4
- package/dist/cdn/FGMLBVRU.js +0 -4
- package/dist/cdn/FMG27I4G.js +0 -4
- package/dist/cdn/G7HMCSFT.js +0 -4
- package/dist/cdn/GF6IWOJL.js +0 -4
- package/dist/cdn/GKKACUDU.js +0 -4
- package/dist/cdn/GNUO5PT5.js +0 -4
- package/dist/cdn/GO3GNQWU.js +0 -4
- package/dist/cdn/GTX63LFG.js +0 -4
- package/dist/cdn/IJ7RAUIP.js +0 -4
- package/dist/cdn/IXQV54AH.js +0 -4
- package/dist/cdn/IYKN5PO5.js +0 -4
- package/dist/cdn/J3J6R74M.js +0 -4
- package/dist/cdn/J775FRFE.js +0 -4
- package/dist/cdn/JCD5KEV5.js +0 -4
- package/dist/cdn/JO6R7FAD.js +0 -4
- package/dist/cdn/JULFSLDD.js +0 -4
- package/dist/cdn/KA2OECP3.js +0 -4
- package/dist/cdn/KQ3JBLDT.js +0 -4
- package/dist/cdn/KT3EUEKF.js +0 -4
- package/dist/cdn/L3AGPAN7.js +0 -4
- package/dist/cdn/LUBY2O7T.js +0 -4
- package/dist/cdn/LWWUKKLM.js +0 -4
- package/dist/cdn/MJIHMPZU.js +0 -4
- package/dist/cdn/MNLAUE2R.js +0 -4
- package/dist/cdn/MSCH74JK.js +0 -4
- package/dist/cdn/N3ZZQIYY.js +0 -4
- package/dist/cdn/NFNK7YME.js +0 -4
- package/dist/cdn/NNJWJUAD.js +0 -4
- package/dist/cdn/NXFS5VZC.js +0 -4
- package/dist/cdn/NYJOUGGN.js +0 -4
- package/dist/cdn/O7ICRTC5.js +0 -4
- package/dist/cdn/OH55X5ST.js +0 -4
- package/dist/cdn/OHXEZHUF.js +0 -4
- package/dist/cdn/OULH6KEN.js +0 -4
- package/dist/cdn/OXCYD67R.js +0 -4
- package/dist/cdn/P4GL7TQJ.js +0 -4
- package/dist/cdn/PK5EPYTE.js +0 -4
- package/dist/cdn/Q26RMW45.js +0 -4
- package/dist/cdn/Q7CX6235.js +0 -4
- package/dist/cdn/QMRZYMIJ.js +0 -4
- package/dist/cdn/QPXLDAZR.js +0 -4
- package/dist/cdn/QREJFC5Z.js +0 -4
- package/dist/cdn/QRPZEJLW.js +0 -4
- package/dist/cdn/QUFHIUYU.js +0 -4
- package/dist/cdn/R35F7LSR.js +0 -4
- package/dist/cdn/RAUOWG2P.js +0 -4
- package/dist/cdn/RBLUJIEM.js +0 -4
- package/dist/cdn/RD4WHUHX.js +0 -4
- package/dist/cdn/RPYAAT7A.js +0 -4
- package/dist/cdn/RQUX2H7R.js +0 -4
- package/dist/cdn/RXHQCPJY.js +0 -4
- package/dist/cdn/RYXSSH5D.js +0 -4
- package/dist/cdn/SBYAAEWD.js +0 -4
- package/dist/cdn/SSEBMECL.js +0 -4
- package/dist/cdn/SZABV557.js +0 -4
- package/dist/cdn/T6XWFHOM.js +0 -4
- package/dist/cdn/TF2524IM.js +0 -4
- package/dist/cdn/TUHJKFNY.js +0 -4
- package/dist/cdn/TWK4M5TM.js +0 -4
- package/dist/cdn/TWZ6WRUM.js +0 -4
- package/dist/cdn/U5HMRSJG.js +0 -4
- package/dist/cdn/UBXMRMPS.js +0 -4
- package/dist/cdn/V25AJNHD.js +0 -4
- package/dist/cdn/V3KSNGDN.js +0 -4
- package/dist/cdn/V54CMZHN.js +0 -4
- package/dist/cdn/V5SM3QEH.js +0 -4
- package/dist/cdn/VLS7CPMI.js +0 -4
- package/dist/cdn/VSIBQFUQ.js +0 -4
- package/dist/cdn/VWFDTLYA.js +0 -4
- package/dist/cdn/X74EKXT7.js +0 -4
- package/dist/cdn/XAPWGYND.js +0 -4
- package/dist/cdn/XCKB43CS.js +0 -4
- package/dist/cdn/YAJHM6HT.js +0 -4
- package/dist/cdn/Z25G3SCO.js +0 -4
- package/dist/cdn/Z4Z7YFNR.js +0 -4
- package/dist/cdn/ZKKZT5GI.js +0 -4
- package/dist/cdn/ZR4UXKJK.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-slider";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-label";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
3
4
|
import "@esri/calcite-components/components/calcite-input-time-zone";
|
|
4
5
|
import "@esri/calcite-components/components/calcite-button";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-input-date-picker";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-slider";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-label";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
3
4
|
import "@esri/calcite-components/components/calcite-input-time-zone";
|
|
4
5
|
import "@esri/calcite-components/components/calcite-button";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-input-date-picker";
|
package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
1
|
import { default as DirectLineMeasurementAnalysis } from '@arcgis/core/analysis/DirectLineMeasurementAnalysis.js';
|
|
3
2
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
3
|
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
5
|
-
import { MeasurementModeString, MeasurementState, MeasurementValue } from '../../support/measurementUtils';
|
|
4
|
+
import { Length, MeasurementModeString, MeasurementState, MeasurementValue, SystemOrLengthUnit } from '../../support/measurementUtils';
|
|
6
5
|
export interface Measurement {
|
|
7
6
|
readonly mode: MeasurementModeString;
|
|
8
|
-
readonly directDistance: MeasurementValue<
|
|
9
|
-
readonly horizontalDistance: MeasurementValue<
|
|
10
|
-
readonly verticalDistance: MeasurementValue<
|
|
7
|
+
readonly directDistance: MeasurementValue<Length>;
|
|
8
|
+
readonly horizontalDistance: MeasurementValue<Length>;
|
|
9
|
+
readonly verticalDistance: MeasurementValue<Length>;
|
|
11
10
|
}
|
|
12
11
|
export type State = "disabled" | "measured" | "measuring" | "ready";
|
|
13
12
|
export default class DirectLineMeasurement3DViewModel extends AnalysisViewModel<SceneView, DirectLineMeasurementAnalysis> {
|
|
@@ -21,16 +20,16 @@ export default class DirectLineMeasurement3DViewModel extends AnalysisViewModel<
|
|
|
21
20
|
/**
|
|
22
21
|
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
23
22
|
*/
|
|
24
|
-
get unitOptions():
|
|
25
|
-
set unitOptions(units:
|
|
23
|
+
get unitOptions(): SystemOrLengthUnit[];
|
|
24
|
+
set unitOptions(units: SystemOrLengthUnit[] | undefined);
|
|
26
25
|
private _userUnitOptions?;
|
|
27
26
|
/**
|
|
28
27
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
29
28
|
*/
|
|
30
|
-
get unit():
|
|
31
|
-
set unit(unit:
|
|
29
|
+
get unit(): SystemOrLengthUnit;
|
|
30
|
+
set unit(unit: SystemOrLengthUnit | undefined);
|
|
32
31
|
private _userUnit?;
|
|
33
|
-
get
|
|
32
|
+
private get _defaultUnit();
|
|
34
33
|
place(options?: {
|
|
35
34
|
signal?: AbortSignal;
|
|
36
35
|
}): Promise<void>;
|
|
@@ -61,7 +61,7 @@ declare const useViewModel: (component: LitElement & Pick<DirectLineMeasurement3
|
|
|
61
61
|
export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
62
62
|
/**
|
|
63
63
|
* The view associated with the component.
|
|
64
|
-
* > **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
|
|
64
|
+
* > **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 Direct Line Measurement 3D component will be associated with a map or scene component rather than using the `view` property.
|
|
65
65
|
*/
|
|
66
66
|
view?: __esri.SceneView | undefined;
|
|
67
67
|
/**
|
|
@@ -124,7 +124,7 @@ export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
124
124
|
icon?: HTMLCalciteIconElement["icon"];
|
|
125
125
|
/** The component's default label. */
|
|
126
126
|
label?: string;
|
|
127
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
127
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
128
128
|
position?: __esri.UIPosition;
|
|
129
129
|
/**
|
|
130
130
|
* 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.
|
|
@@ -140,7 +140,7 @@ export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
140
140
|
* * `measuring` - currently measuring
|
|
141
141
|
* * `measured` - measuring has finished
|
|
142
142
|
*/
|
|
143
|
-
readonly state: "ready" | "disabled" | "
|
|
143
|
+
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
144
144
|
/**
|
|
145
145
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
146
146
|
* [unitOptions](#unitOptions).
|
|
@@ -165,14 +165,4 @@ export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
165
165
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
166
166
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
167
167
|
}
|
|
168
|
-
/**
|
|
169
|
-
* The Directline Measurement 3D component calculates and displays the 3D distance between two points. It can be used in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component to measure the vertical, horizontal, and direct distance between two points.
|
|
170
|
-
*
|
|
171
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directline-measurement-3d/)
|
|
172
|
-
*
|
|
173
|
-
* @internal
|
|
174
|
-
* @deprecated
|
|
175
|
-
*/
|
|
176
|
-
export declare class DeprecatedArcgisDirectLineMeasurement3d extends ArcgisDirectLineMeasurement3d {
|
|
177
|
-
}
|
|
178
168
|
export {};
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { usePropertyChange as
|
|
5
|
-
import { u as
|
|
6
|
-
import { m as
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as h, html as _ } from "lit";
|
|
3
|
+
import { LitElement as w, createEvent as f, nothing as v, safeClassMap as b } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
6
|
+
import { m as D } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { g } from "../../chunks/globalCss.js";
|
|
8
|
-
import
|
|
9
|
-
import { isAboveGeodesicDistanceThreshold as
|
|
10
|
-
import { getDefaultUnitForView as
|
|
11
|
-
import { property as a, subclass as
|
|
8
|
+
import z from "@arcgis/core/analysis/DirectLineMeasurementAnalysis.js";
|
|
9
|
+
import { isAboveGeodesicDistanceThreshold as k } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
10
|
+
import { getDefaultUnitForView as M } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
|
+
import { property as a, subclass as O } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
12
|
import { watch as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
-
import { A as
|
|
13
|
+
import { A as U } from "../../chunks/AnalysisViewModel.js";
|
|
14
14
|
import { g as c, m as u } from "../../chunks/measurementUtils.js";
|
|
15
|
+
import { b as L } from "../../chunks/async-utils.js";
|
|
15
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
17
|
-
v5.0.0-next.
|
|
18
|
-
const V =
|
|
19
|
-
var C = Object.defineProperty,
|
|
20
|
-
for (var
|
|
21
|
-
(d = e[l]) && (
|
|
22
|
-
return
|
|
18
|
+
v5.0.0-next.30 */
|
|
19
|
+
const V = h`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{.esri-widget--panel{min-width:0}}`;
|
|
20
|
+
var C = Object.defineProperty, E = Object.getOwnPropertyDescriptor, n = (e, t, i, s) => {
|
|
21
|
+
for (var o = s > 1 ? void 0 : s ? E(t, i) : t, l = e.length - 1, d; l >= 0; l--)
|
|
22
|
+
(d = e[l]) && (o = (s ? d(t, i, o) : d(o)) || o);
|
|
23
|
+
return s && o && C(t, i, o), o;
|
|
23
24
|
};
|
|
24
|
-
let r = class extends
|
|
25
|
+
let r = class extends U {
|
|
25
26
|
constructor() {
|
|
26
27
|
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Direct Line Measurement 3D component is only supported in 3D views.";
|
|
27
28
|
}
|
|
@@ -65,10 +66,10 @@ let r = class extends L {
|
|
|
65
66
|
horizontalDistance: c(void 0),
|
|
66
67
|
verticalDistance: c(void 0)
|
|
67
68
|
};
|
|
68
|
-
const i = e?.directDistance,
|
|
69
|
+
const i = e?.directDistance, s = i != null && k(i);
|
|
69
70
|
return {
|
|
70
71
|
mode: t ?? "euclidean",
|
|
71
|
-
directDistance: c(
|
|
72
|
+
directDistance: c(s ? void 0 : i),
|
|
72
73
|
horizontalDistance: c(e?.horizontalDistance),
|
|
73
74
|
verticalDistance: c(e?.verticalDistance)
|
|
74
75
|
};
|
|
@@ -81,17 +82,17 @@ let r = class extends L {
|
|
|
81
82
|
this._userUnitOptions = e;
|
|
82
83
|
}
|
|
83
84
|
get unit() {
|
|
84
|
-
const e = this._userUnit, t = this.unitOptions;
|
|
85
|
+
const e = this._userUnit ?? this.analysis.unit, t = this.unitOptions;
|
|
85
86
|
if (e && t.includes(e))
|
|
86
87
|
return e;
|
|
87
|
-
const i = this.
|
|
88
|
+
const i = this._defaultUnit;
|
|
88
89
|
return i && t.includes(i) ? i : t[0];
|
|
89
90
|
}
|
|
90
91
|
set unit(e) {
|
|
91
92
|
this._userUnit = e;
|
|
92
93
|
}
|
|
93
|
-
get
|
|
94
|
-
return this.view ?
|
|
94
|
+
get _defaultUnit() {
|
|
95
|
+
return this.view ? M(this.view) : void 0;
|
|
95
96
|
}
|
|
96
97
|
async place(e) {
|
|
97
98
|
await this.analysisView?.place(e);
|
|
@@ -100,40 +101,40 @@ let r = class extends L {
|
|
|
100
101
|
this.analysis.startPoint = null, this.analysis.endPoint = null;
|
|
101
102
|
}
|
|
102
103
|
constructAnalysis() {
|
|
103
|
-
return new
|
|
104
|
+
return new z();
|
|
104
105
|
}
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
+
n([
|
|
107
108
|
a({ readOnly: !0 })
|
|
108
109
|
], r.prototype, "state", 1);
|
|
109
|
-
|
|
110
|
+
n([
|
|
110
111
|
a({ readOnly: !0 })
|
|
111
112
|
], r.prototype, "displayState", 1);
|
|
112
|
-
|
|
113
|
+
n([
|
|
113
114
|
a({ readOnly: !0 })
|
|
114
115
|
], r.prototype, "measurement", 1);
|
|
115
|
-
|
|
116
|
+
n([
|
|
116
117
|
a()
|
|
117
118
|
], r.prototype, "unitOptions", 1);
|
|
118
|
-
|
|
119
|
+
n([
|
|
119
120
|
a()
|
|
120
121
|
], r.prototype, "_userUnitOptions", 2);
|
|
121
|
-
|
|
122
|
+
n([
|
|
122
123
|
a()
|
|
123
124
|
], r.prototype, "unit", 1);
|
|
124
|
-
|
|
125
|
+
n([
|
|
125
126
|
a()
|
|
126
127
|
], r.prototype, "_userUnit", 2);
|
|
127
|
-
|
|
128
|
+
n([
|
|
128
129
|
a({ readOnly: !0 })
|
|
129
|
-
], r.prototype, "
|
|
130
|
-
r =
|
|
131
|
-
|
|
130
|
+
], r.prototype, "_defaultUnit", 1);
|
|
131
|
+
r = n([
|
|
132
|
+
O("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")
|
|
132
133
|
], r);
|
|
133
|
-
const
|
|
134
|
-
class
|
|
134
|
+
const P = "arcgis-direct-line-measurement-3d", A = { base: P }, j = D(r);
|
|
135
|
+
class S extends w {
|
|
135
136
|
constructor() {
|
|
136
|
-
super(...arguments), this.viewModel = j(this), this.messages =
|
|
137
|
+
super(...arguments), this.viewModel = j(this), this.messages = y({ name: "directline-measurement-3d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-line", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = x()("analysis", "state"), this.arcgisReady = f();
|
|
137
138
|
}
|
|
138
139
|
static {
|
|
139
140
|
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
@@ -148,15 +149,15 @@ class m extends f {
|
|
|
148
149
|
await this.manager.destroy();
|
|
149
150
|
}
|
|
150
151
|
async start() {
|
|
151
|
-
|
|
152
|
+
L(this.viewModel.start());
|
|
152
153
|
}
|
|
153
154
|
render() {
|
|
154
|
-
const { messages: t, unit: i, unitOptions:
|
|
155
|
-
return
|
|
156
|
-
[
|
|
155
|
+
const { messages: t, unit: i, unitOptions: s, viewModel: o } = this, { measurement: l, state: d } = o;
|
|
156
|
+
return _`<div aria-label=${t.componentLabel ?? v} class=${b({
|
|
157
|
+
[A.base]: !0,
|
|
157
158
|
[g.widget]: !0,
|
|
158
159
|
[g.panel]: !0
|
|
159
|
-
})} role=presentation><arcgis-measurement-content .state=${
|
|
160
|
+
})} role=presentation><arcgis-measurement-content .state=${o.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
160
161
|
{
|
|
161
162
|
title: t.direct,
|
|
162
163
|
measurement: l.directDistance
|
|
@@ -169,21 +170,12 @@ class m extends f {
|
|
|
169
170
|
title: t.vertical,
|
|
170
171
|
measurement: l.verticalDistance
|
|
171
172
|
}
|
|
172
|
-
]}><arcgis-unit-select slot=settings .options=${
|
|
173
|
-
this.unit =
|
|
174
|
-
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d === "disabled"} @click=${
|
|
175
|
-
this.viewModel.start({ clear: !0 });
|
|
176
|
-
}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
173
|
+
]}><arcgis-unit-select slot=settings .options=${s} .selectLabel=${t.unit} .value=${i} @arcgisUnitSelectChange=${(p) => {
|
|
174
|
+
this.unit = p.detail;
|
|
175
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d === "disabled"} @click=${this.start}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
177
176
|
}
|
|
178
177
|
}
|
|
179
|
-
|
|
180
|
-
constructor() {
|
|
181
|
-
super(), console.warn('arcgis-directline-measurement-3d - this component is deprecated. Use the "arcgis-direct-line-measurement-3d" component instead.');
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
p("arcgis-direct-line-measurement-3d", m);
|
|
185
|
-
p("arcgis-directline-measurement-3d", S);
|
|
178
|
+
m("arcgis-direct-line-measurement-3d", S);
|
|
186
179
|
export {
|
|
187
|
-
|
|
188
|
-
S as DeprecatedArcgisDirectLineMeasurement3d
|
|
180
|
+
S as ArcgisDirectLineMeasurement3d
|
|
189
181
|
};
|
|
@@ -24,7 +24,7 @@ declare const useDirectionalPadViewModel: (component: LitElement & Pick<Directio
|
|
|
24
24
|
export declare class ArcgisDirectionalPad extends LitElement {
|
|
25
25
|
/**
|
|
26
26
|
* The view associated with the component.
|
|
27
|
-
* > **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
|
|
27
|
+
* > **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 Directional Pad component will be associated with a map or scene component rather than using the `view` property.
|
|
28
28
|
*/
|
|
29
29
|
view?: __esri.MapView | nullish;
|
|
30
30
|
/**
|
|
@@ -67,7 +67,7 @@ export declare class ArcgisDirectionalPad extends LitElement {
|
|
|
67
67
|
* _**Note**: Individual message keys may change between releases._
|
|
68
68
|
*/
|
|
69
69
|
messageOverrides?: typeof this.messages._overrides;
|
|
70
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
70
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
71
71
|
position?: __esri.UIPosition;
|
|
72
72
|
/**
|
|
73
73
|
* 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.
|
|
@@ -13,7 +13,7 @@ import { g as y } from "../../chunks/component-utils.js";
|
|
|
13
13
|
import { g as h } from "../../chunks/globalCss.js";
|
|
14
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
15
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
16
|
-
v5.0.0-next.
|
|
16
|
+
v5.0.0-next.30 */
|
|
17
17
|
const u = [-45, 0, 45, -90, 90, -135, 180, 135], M = {
|
|
18
18
|
0: { label: "north", iconName: "chevron-up" },
|
|
19
19
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
@@ -32,7 +32,7 @@ const u = [-45, 0, 45, -90, 90, -135, 180, 135], M = {
|
|
|
32
32
|
rotationSliderContainer: `${a}__rotation-slider-container`,
|
|
33
33
|
rotationReset: `${a}__rotation-reset-button`,
|
|
34
34
|
error: `${a}__error`
|
|
35
|
-
}, S = m`:host{
|
|
35
|
+
}, S = m`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`;
|
|
36
36
|
function B(c) {
|
|
37
37
|
const { x: t, y: e, width: i, height: r } = c.getBoundingClientRect();
|
|
38
38
|
return { x: t + i / 2, y: e + r / 2 };
|
|
@@ -7,7 +7,7 @@ import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
|
7
7
|
import { PropertyValues } from 'lit';
|
|
8
8
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
9
9
|
|
|
10
|
-
declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "
|
|
10
|
+
declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "label" | "viewModel" | "icon" | "unit" | "layer" | "headingLevel" | "apiKey" | "goToOverride" | "maxStops" | "searchProperties"> & {
|
|
11
11
|
state?: unknown;
|
|
12
12
|
viewModel?: __esri.DirectionsViewModel | undefined;
|
|
13
13
|
closed?: boolean;
|
|
@@ -38,7 +38,7 @@ declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "ic
|
|
|
38
38
|
export declare class ArcgisDirections extends LitElement {
|
|
39
39
|
/**
|
|
40
40
|
* The view associated with the component.
|
|
41
|
-
* > **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
|
|
41
|
+
* > **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 Directions component will be associated with a map or scene component rather than using the `view` property.
|
|
42
42
|
*/
|
|
43
43
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
44
44
|
/**
|
|
@@ -113,7 +113,7 @@ export declare class ArcgisDirections extends LitElement {
|
|
|
113
113
|
* @default 50
|
|
114
114
|
*/
|
|
115
115
|
maxStops: number;
|
|
116
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
116
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
117
117
|
position?: __esri.UIPosition;
|
|
118
118
|
/**
|
|
119
119
|
* 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.
|
|
@@ -9,7 +9,7 @@ import { d as p } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as h } from "lit";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.30 */
|
|
13
13
|
const m = h`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}:host{display:flex}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directios calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`, f = g(n), t = "map-components:arcgis-directions";
|
|
14
14
|
class _ extends l {
|
|
15
15
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { default as DistanceMeasurement2D } from '@arcgis/core/widgets/DistanceM
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useDistanceMeasurement2dWidget: (component: LitElement & Pick<DistanceMeasurement2D, "
|
|
8
|
+
declare const useDistanceMeasurement2dWidget: (component: LitElement & Pick<DistanceMeasurement2D, "label" | "viewModel" | "icon" | "snappingOptions" | "unit" | "unitOptions"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.DistanceMeasurement2DViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -36,7 +36,7 @@ declare const useDistanceMeasurement2dWidget: (component: LitElement & Pick<Dist
|
|
|
36
36
|
export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
37
37
|
/**
|
|
38
38
|
* The view associated with the component.
|
|
39
|
-
* > **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
|
|
39
|
+
* > **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 Distance Measurement 2D component will be associated with a map or scene component rather than using the `view` property.
|
|
40
40
|
*/
|
|
41
41
|
view?: __esri.MapView | nullish;
|
|
42
42
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
63
63
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#label)
|
|
64
64
|
*/
|
|
65
65
|
label: string;
|
|
66
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
66
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
67
67
|
position?: __esri.UIPosition;
|
|
68
68
|
/**
|
|
69
69
|
* 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.
|
|
@@ -82,7 +82,7 @@ export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
82
82
|
*
|
|
83
83
|
* @default "disabled"
|
|
84
84
|
*/
|
|
85
|
-
readonly state: "ready" | "disabled" | "
|
|
85
|
+
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
86
86
|
/**
|
|
87
87
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
88
88
|
*
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as a } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.30 */
|
|
10
10
|
const s = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}`, c = n(t);
|
|
11
11
|
class d extends r {
|
|
12
12
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { default as Editor } from '@arcgis/core/widgets/Editor.js';
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useEditorWidget: (component: LitElement & Pick<Editor, "
|
|
8
|
+
declare const useEditorWidget: (component: LitElement & Pick<Editor, "label" | "viewModel" | "icon" | "snappingOptions" | "headingLevel" | "labelOptions" | "layerInfos" | "supportingWidgetDefaults" | "tooltipOptions"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.EditorViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -36,7 +36,7 @@ declare const useEditorWidget: (component: LitElement & Pick<Editor, "icon" | "l
|
|
|
36
36
|
export declare class ArcgisEditor extends LitElement {
|
|
37
37
|
/**
|
|
38
38
|
* The view associated with the component.
|
|
39
|
-
* > **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
|
|
39
|
+
* > **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 Editor component will be associated with a map or scene component rather than using the `view` property.
|
|
40
40
|
*/
|
|
41
41
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
42
42
|
/**
|
|
@@ -103,7 +103,7 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
103
103
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#layerInfos)
|
|
104
104
|
*/
|
|
105
105
|
layerInfos: nullish | __esri.EditorLayerInfo[];
|
|
106
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
106
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
107
107
|
position?: __esri.UIPosition;
|
|
108
108
|
/**
|
|
109
109
|
* 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.
|
|
@@ -120,7 +120,7 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
120
120
|
*/
|
|
121
121
|
snappingOptions: __esri.SnappingOptions;
|
|
122
122
|
/** The current state of the component. */
|
|
123
|
-
readonly state: "ready" | "disabled" | "add-association-create-association" | "add-association-select-feature" | "add-association-select-layer" | "adding-attachment" | "awaiting-feature-creation-info" | "awaiting-feature-to-create" | "awaiting-feature-to-update" | "awaiting-update-feature-candidate" | "creating-features" | "drawing-splitter-geometry" | "editing-attributes" | "editing-attachment" | "editing-existing-feature" | "editing-features" | "reviewing-features" | "viewing-selection-list";
|
|
123
|
+
readonly state: "ready" | "disabled" | "add-association-create-association" | "add-association-select-feature" | "add-association-select-layer" | "adding-attachment" | "awaiting-feature-creation-info" | "awaiting-feature-to-create" | "awaiting-feature-to-update" | "awaiting-update-feature-candidate" | "choosing-key-feature" | "creating-features" | "drawing-splitter-geometry" | "editing-attributes" | "editing-attachment" | "editing-existing-feature" | "editing-features" | "reviewing-features" | "viewing-selection-list";
|
|
124
124
|
/**
|
|
125
125
|
* This property allows customization of supporting Editor widgets and their default behavior.
|
|
126
126
|
*
|
|
@@ -148,9 +148,17 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
148
148
|
}>;
|
|
149
149
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
150
150
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
151
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* Fires when a user starts drawing a feature, is actively drawing a feature, and completes drawing a feature.
|
|
153
|
+
*
|
|
154
|
+
* @since 4.34
|
|
155
|
+
*/
|
|
152
156
|
readonly arcgisSketchCreate: TargetedEvent<this, __esri.EditorSketchCreateEvent>;
|
|
153
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* Fires when a user starts updating a feature's geometry, is actively updating a feature's geometry, and completes updating a feature's geometry.
|
|
159
|
+
*
|
|
160
|
+
* @since 4.34
|
|
161
|
+
*/
|
|
154
162
|
readonly arcgisSketchUpdate: TargetedEvent<this, __esri.EditorSketchUpdateEvent>;
|
|
155
163
|
}
|
|
156
164
|
export {};
|