@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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { html as a } from "lit";
|
|
2
|
+
import { when as c, watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
|
+
import { GenericController as u, useDirection as h, makeGenericController as n } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { getSlotAssignedElements as f } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { a as d } from "./slots.js";
|
|
6
|
+
import { createEvent as l } from "@arcgis/lumina";
|
|
7
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
+
v5.0.0-next.30 */
|
|
10
|
+
class R extends u {
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region Lifecycle
|
|
13
|
+
constructor(o) {
|
|
14
|
+
super(o), this.direction = h(), this.component.listen("arcgisViewClick", (r) => {
|
|
15
|
+
this._handleOpenPopup(r.detail);
|
|
16
|
+
}), this.component.listenOn(globalThis, "unhandledrejection", (r) => {
|
|
17
|
+
if (r.reason?.name === "webgl:required") {
|
|
18
|
+
const { name: e } = r.reason;
|
|
19
|
+
this.webGLError = { name: e };
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region Private Methods
|
|
25
|
+
hostLifecycle() {
|
|
26
|
+
return c(() => this.component.view.popup?.visible, () => {
|
|
27
|
+
this.popupRef?.visible && (this.popupRef.visible = !1);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
openPopup(o) {
|
|
31
|
+
this.popupRef ? this.popupRef.open(o) : this.component.view.openPopup(o);
|
|
32
|
+
}
|
|
33
|
+
closePopup() {
|
|
34
|
+
this.popupRef ? this.popupRef.visible = !1 : this.component.view.closePopup();
|
|
35
|
+
}
|
|
36
|
+
async _handleOpenPopup(o) {
|
|
37
|
+
if (this.popupRef && !this.component.popupDisabled) {
|
|
38
|
+
o.stopPropagation();
|
|
39
|
+
const { location: r, promises: e } = await this.popupRef?.handleViewClick(o);
|
|
40
|
+
e?.length && (this.component.view.closePopup(), this.popupRef?.open({ location: r, promises: e }));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
_handlePopupSlotChange(o) {
|
|
44
|
+
const r = f(o.target, "arcgis-popup");
|
|
45
|
+
!this.popupRef && r.length ? this.popupRef = r[0] : r.length || (this.popupRef = void 0);
|
|
46
|
+
}
|
|
47
|
+
_webGLErrorAlert() {
|
|
48
|
+
return this.webGLError ? a`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>` : null;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region Rendering
|
|
52
|
+
render() {
|
|
53
|
+
return d(this.direction, (o) => this._handlePopupSlotChange(o), this._webGLErrorAlert());
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const L = n((t, o) => {
|
|
57
|
+
const r = l();
|
|
58
|
+
return o.onLifecycle(
|
|
59
|
+
() => p(
|
|
60
|
+
() => {
|
|
61
|
+
const { map: e } = t;
|
|
62
|
+
if (!e || e.destroyed)
|
|
63
|
+
return [];
|
|
64
|
+
const i = [];
|
|
65
|
+
return e.loadError && i.push(e), e.basemap?.loadError && i.push(e.basemap), e.ground.loadError && i.push(e.ground), [...e.allLayers, ...e.allTables].forEach((s) => {
|
|
66
|
+
s.loadError && i.push(s);
|
|
67
|
+
}), i;
|
|
68
|
+
},
|
|
69
|
+
(e) => {
|
|
70
|
+
e.length && (t.loadErrorSources = e, r.emit());
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
), r;
|
|
74
|
+
}), y = n(
|
|
75
|
+
(t, o) => {
|
|
76
|
+
const r = l();
|
|
77
|
+
return o.onLifecycle(
|
|
78
|
+
() => p(
|
|
79
|
+
() => t.view?.readyState,
|
|
80
|
+
(e) => {
|
|
81
|
+
(e === "map-content-error" || e === "rendering-error") && r.emit();
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
), r;
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
export {
|
|
88
|
+
R as U,
|
|
89
|
+
y as a,
|
|
90
|
+
L as u
|
|
91
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toFunction as i, Controller as n } from "@arcgis/lumina/controllers";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.30 */
|
|
5
5
|
class o {
|
|
6
6
|
constructor() {
|
|
7
7
|
this._groups = /* @__PURE__ */ new Map();
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { g as t } from "./runtime.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.30 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
package/dist/chunks/useView.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as t } from "./component-utils.js";
|
|
|
3
3
|
import * as r from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.30 */
|
|
7
7
|
const p = (o) => l(o);
|
|
8
8
|
class c extends s {
|
|
9
9
|
#e;
|
|
@@ -5,7 +5,7 @@ import { V as m } from "./useView.js";
|
|
|
5
5
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.30 */
|
|
9
9
|
const v = (t, o) => (e) => a(e, t);
|
|
10
10
|
class r extends i {
|
|
11
11
|
#o = void 0;
|
package/dist/chunks/useWidget.js
CHANGED
|
@@ -5,7 +5,7 @@ import { V as g } from "./useView.js";
|
|
|
5
5
|
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.30 */
|
|
9
9
|
const I = (d, e) => (t) => C(t, d);
|
|
10
10
|
class p extends b {
|
|
11
11
|
#o = /* @__PURE__ */ new Map();
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { formatNumber as r } from "@arcgis/core/intl.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
5
|
-
const
|
|
4
|
+
v5.0.0-next.30 */
|
|
5
|
+
const p = /* @__PURE__ */ new Map([
|
|
6
6
|
["a3-landscape", "a3-landscape"],
|
|
7
7
|
["a3-portrait", "a3-portrait"],
|
|
8
8
|
["a4-landscape", "a4-landscape"],
|
|
@@ -12,10 +12,6 @@ const s = /* @__PURE__ */ new Map([
|
|
|
12
12
|
["tabloid-ansi-b-landscape", "ansi-b-landscape"],
|
|
13
13
|
["tabloid-ansi-b-portrait", "ansi-b-portrait"]
|
|
14
14
|
]), u = /^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;
|
|
15
|
-
function d(a) {
|
|
16
|
-
const t = a?.closest("[dir]");
|
|
17
|
-
return t !== null && t instanceof HTMLElement && t.dir === "rtl" || document.dir === "rtl";
|
|
18
|
-
}
|
|
19
15
|
function f(a) {
|
|
20
16
|
if (!a)
|
|
21
17
|
return;
|
|
@@ -25,12 +21,12 @@ function f(a) {
|
|
|
25
21
|
const [e, n] = t.pageSize;
|
|
26
22
|
return `${r(e)} × ${r(n)} ${a.pageUnits}`;
|
|
27
23
|
}
|
|
28
|
-
function
|
|
29
|
-
const { label: e, layout: n, layoutItem:
|
|
30
|
-
return
|
|
24
|
+
function d(a, t) {
|
|
25
|
+
const { label: e, layout: n, layoutItem: i, type: o } = a;
|
|
26
|
+
return o === "print-service-template" && t[n] ? t[n] : (e ?? n ?? i?.id)?.replaceAll("_", " ") ?? t.untitled;
|
|
31
27
|
}
|
|
32
28
|
function g(a) {
|
|
33
|
-
return
|
|
29
|
+
return p.get(a);
|
|
34
30
|
}
|
|
35
31
|
const b = /* @__PURE__ */ new Map([
|
|
36
32
|
["AIX", "aix"],
|
|
@@ -43,16 +39,15 @@ const b = /* @__PURE__ */ new Map([
|
|
|
43
39
|
["SVG", "svg"],
|
|
44
40
|
["SVGZ", "svgz"],
|
|
45
41
|
["TIFF", "tiff"]
|
|
46
|
-
]),
|
|
47
|
-
function
|
|
48
|
-
return a?.toLowerCase() ===
|
|
42
|
+
]), s = "map-only";
|
|
43
|
+
function m(a) {
|
|
44
|
+
return a?.toLowerCase() === s;
|
|
49
45
|
}
|
|
50
46
|
export {
|
|
51
|
-
|
|
47
|
+
d as a,
|
|
52
48
|
g as b,
|
|
53
|
-
d as c,
|
|
54
49
|
b as f,
|
|
55
50
|
f as g,
|
|
56
|
-
|
|
51
|
+
m as i,
|
|
57
52
|
u as r
|
|
58
53
|
};
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -2,7 +2,7 @@ import { substitute as o, formatNumber as l } from "@arcgis/core/intl.js";
|
|
|
2
2
|
import { stripHTML as s } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.30 */
|
|
6
6
|
function d(r, t) {
|
|
7
7
|
return t;
|
|
8
8
|
}
|
|
@@ -7,7 +7,7 @@ import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
|
7
7
|
|
|
8
8
|
declare const useAreaMeasurement2dWidget: (component: LitElement & Pick<AreaMeasurement2D & {
|
|
9
9
|
viewModel: __esri.Accessor;
|
|
10
|
-
}, "
|
|
10
|
+
}, "label" | "viewModel" | "icon" | "snappingOptions" | "unit" | "unitOptions"> & {
|
|
11
11
|
state?: unknown;
|
|
12
12
|
viewModel?: (__esri.AreaMeasurement2DViewModel & __esri.Accessor) | undefined;
|
|
13
13
|
closed?: boolean;
|
|
@@ -40,7 +40,7 @@ declare const useAreaMeasurement2dWidget: (component: LitElement & Pick<AreaMeas
|
|
|
40
40
|
export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
41
41
|
/**
|
|
42
42
|
* The view associated with the component.
|
|
43
|
-
* > **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
|
|
43
|
+
* > **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 Area Measurement 2D component will be associated with a map or scene component rather than using the `view` property.
|
|
44
44
|
*/
|
|
45
45
|
view?: __esri.MapView | nullish;
|
|
46
46
|
/**
|
|
@@ -67,7 +67,7 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
67
67
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#label)
|
|
68
68
|
*/
|
|
69
69
|
label: string;
|
|
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.
|
|
@@ -86,7 +86,7 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
86
86
|
*
|
|
87
87
|
* @default "disabled"
|
|
88
88
|
*/
|
|
89
|
-
readonly state: "ready" | "disabled" | "
|
|
89
|
+
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
90
90
|
/**
|
|
91
91
|
* Unit system (imperial, metric) or specific unit used for displaying the area values.
|
|
92
92
|
*
|
|
@@ -6,7 +6,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } 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 = n`.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 = a(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
|
|
12
12
|
i
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
1
|
import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.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 { Area, Length, MeasurementModeString, MeasurementState, MeasurementValue, SystemOrAreaUnit } from '../../support/measurementUtils';
|
|
6
5
|
export interface Measurement {
|
|
7
6
|
readonly mode: MeasurementModeString;
|
|
8
|
-
readonly area: MeasurementValue<
|
|
9
|
-
readonly perimeter: MeasurementValue<
|
|
7
|
+
readonly area: MeasurementValue<Area>;
|
|
8
|
+
readonly perimeter: MeasurementValue<Length>;
|
|
10
9
|
}
|
|
11
10
|
export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> {
|
|
12
11
|
initialize(): void;
|
|
@@ -19,16 +18,16 @@ export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneV
|
|
|
19
18
|
/**
|
|
20
19
|
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
21
20
|
*/
|
|
22
|
-
get unitOptions():
|
|
23
|
-
set unitOptions(units:
|
|
21
|
+
get unitOptions(): SystemOrAreaUnit[];
|
|
22
|
+
set unitOptions(units: SystemOrAreaUnit[] | undefined);
|
|
24
23
|
private _userUnitOptions?;
|
|
25
24
|
/**
|
|
26
25
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
27
26
|
*/
|
|
28
|
-
get unit():
|
|
29
|
-
set unit(unit:
|
|
27
|
+
get unit(): SystemOrAreaUnit;
|
|
28
|
+
set unit(unit: SystemOrAreaUnit | undefined);
|
|
30
29
|
private _userUnit?;
|
|
31
|
-
get
|
|
30
|
+
private get _defaultUnit();
|
|
32
31
|
place(options?: {
|
|
33
32
|
signal?: AbortSignal;
|
|
34
33
|
}): Promise<void>;
|
|
@@ -61,7 +61,7 @@ declare const useViewModel: (component: LitElement & Pick<AreaMeasurement3dViewM
|
|
|
61
61
|
export declare class ArcgisAreaMeasurement3d 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 Area 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 ArcgisAreaMeasurement3d 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 ArcgisAreaMeasurement3d 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 area values. Possible values are listed in
|
|
146
146
|
* [unitOptions](#unitOptions).
|
|
@@ -5,23 +5,24 @@ import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
|
5
5
|
import { u as y } from "../../chunks/useT9n.js";
|
|
6
6
|
import { m as k } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { g as c } from "../../chunks/globalCss.js";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import z from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
9
|
+
import { hasValidAreaResult as M } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
10
|
+
import { getDefaultUnitForView as O } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
|
+
import { property as n, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
11
12
|
import { watch as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
-
import { A } from "../../chunks/AnalysisViewModel.js";
|
|
13
|
+
import { A as U } from "../../chunks/AnalysisViewModel.js";
|
|
13
14
|
import { g, a as u } from "../../chunks/measurementUtils.js";
|
|
14
|
-
import {
|
|
15
|
+
import { b as V } 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
|
|
19
|
-
var
|
|
20
|
-
for (var o = s > 1 ? void 0 : s ?
|
|
18
|
+
v5.0.0-next.30 */
|
|
19
|
+
const C = 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 D = Object.defineProperty, E = Object.getOwnPropertyDescriptor, a = (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--)
|
|
21
22
|
(d = e[l]) && (o = (s ? d(t, i, o) : d(o)) || o);
|
|
22
|
-
return s && o &&
|
|
23
|
+
return s && o && D(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 Area Measurement 3D component is only supported in 3D views.";
|
|
27
28
|
}
|
|
@@ -57,7 +58,7 @@ let r = class extends A {
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
get measurement() {
|
|
60
|
-
const { analysisView: e } = this, t = e?.result, i = t?.mode ?? "euclidean", s = e != null &&
|
|
61
|
+
const { analysisView: e } = this, t = e?.result, i = t?.mode ?? "euclidean", s = e != null && M(e);
|
|
61
62
|
return {
|
|
62
63
|
mode: i,
|
|
63
64
|
area: g(t?.area, s),
|
|
@@ -72,17 +73,17 @@ let r = class extends A {
|
|
|
72
73
|
this._userUnitOptions = e;
|
|
73
74
|
}
|
|
74
75
|
get unit() {
|
|
75
|
-
const e = this._userUnit, t = this.unitOptions;
|
|
76
|
+
const e = this._userUnit ?? this.analysis.unit, t = this.unitOptions;
|
|
76
77
|
if (e && t.includes(e))
|
|
77
78
|
return e;
|
|
78
|
-
const i = this.
|
|
79
|
+
const i = this._defaultUnit;
|
|
79
80
|
return i && t.includes(i) ? i : t[0];
|
|
80
81
|
}
|
|
81
82
|
set unit(e) {
|
|
82
83
|
this._userUnit = e;
|
|
83
84
|
}
|
|
84
|
-
get
|
|
85
|
-
return this.view ?
|
|
85
|
+
get _defaultUnit() {
|
|
86
|
+
return this.view ? O(this.view) : void 0;
|
|
86
87
|
}
|
|
87
88
|
async place(e) {
|
|
88
89
|
await this.analysisView?.place(e);
|
|
@@ -91,7 +92,7 @@ let r = class extends A {
|
|
|
91
92
|
this.analysis.geometry = null;
|
|
92
93
|
}
|
|
93
94
|
constructAnalysis() {
|
|
94
|
-
return new
|
|
95
|
+
return new z();
|
|
95
96
|
}
|
|
96
97
|
};
|
|
97
98
|
a([
|
|
@@ -116,21 +117,21 @@ a([
|
|
|
116
117
|
n()
|
|
117
118
|
], r.prototype, "_userUnit", 2);
|
|
118
119
|
a([
|
|
119
|
-
n(
|
|
120
|
-
], r.prototype, "
|
|
120
|
+
n()
|
|
121
|
+
], r.prototype, "_defaultUnit", 1);
|
|
121
122
|
r = a([
|
|
122
|
-
|
|
123
|
+
A("components.area-measurement-3d.AreaMeasurement3dViewModel")
|
|
123
124
|
], r);
|
|
124
|
-
const
|
|
125
|
-
class
|
|
125
|
+
const j = "arcgis-area-measurement-3d", L = { base: j }, P = k(r);
|
|
126
|
+
class S extends w {
|
|
126
127
|
constructor() {
|
|
127
|
-
super(...arguments), this.viewModel =
|
|
128
|
+
super(...arguments), this.viewModel = P(this), this.messages = y({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = x()("analysis", "state"), this.arcgisReady = f();
|
|
128
129
|
}
|
|
129
130
|
static {
|
|
130
131
|
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
131
132
|
}
|
|
132
133
|
static {
|
|
133
|
-
this.styles =
|
|
134
|
+
this.styles = C;
|
|
134
135
|
}
|
|
135
136
|
async clear() {
|
|
136
137
|
this.viewModel.clear();
|
|
@@ -139,12 +140,12 @@ class P extends w {
|
|
|
139
140
|
await this.manager.destroy();
|
|
140
141
|
}
|
|
141
142
|
async start() {
|
|
142
|
-
this.viewModel.start();
|
|
143
|
+
V(this.viewModel.start());
|
|
143
144
|
}
|
|
144
145
|
render() {
|
|
145
146
|
const { messages: t, unit: i, unitOptions: s, viewModel: o } = this, { measurement: l, state: d } = o;
|
|
146
147
|
return _`<div aria-label=${t.componentLabel ?? v} class=${b({
|
|
147
|
-
[
|
|
148
|
+
[L.base]: !0,
|
|
148
149
|
[c.widget]: !0,
|
|
149
150
|
[c.panel]: !0
|
|
150
151
|
})} role=presentation><arcgis-measurement-content .state=${o.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
@@ -158,12 +159,10 @@ class P extends w {
|
|
|
158
159
|
}
|
|
159
160
|
]}><arcgis-unit-select slot=settings .options=${s} .selectLabel=${t.unit} .value=${i} @arcgisUnitSelectChange=${(p) => {
|
|
160
161
|
this.unit = p.detail;
|
|
161
|
-
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d === "disabled"} @click=${
|
|
162
|
-
this.viewModel.start({ clear: !0 });
|
|
163
|
-
}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
162
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d === "disabled"} @click=${this.start}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
164
163
|
}
|
|
165
164
|
}
|
|
166
|
-
m("arcgis-area-measurement-3d",
|
|
165
|
+
m("arcgis-area-measurement-3d", S);
|
|
167
166
|
export {
|
|
168
|
-
|
|
167
|
+
S as ArcgisAreaMeasurement3d
|
|
169
168
|
};
|
|
@@ -5,7 +5,7 @@ import { default as Attachments } from '@arcgis/core/widgets/Attachments.js';
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useAttachmentsWidget: (component: LitElement & Pick<Attachments, "
|
|
8
|
+
declare const useAttachmentsWidget: (component: LitElement & Pick<Attachments, "label" | "viewModel" | "icon" | "graphic" | "capabilities" | "attachmentKeywords" | "attachmentTypes" | "displayType"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.AttachmentsViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -59,7 +59,7 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
59
59
|
*
|
|
60
60
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html#graphic)
|
|
61
61
|
*/
|
|
62
|
-
graphic:
|
|
62
|
+
graphic: __esri.Graphic | nullish;
|
|
63
63
|
/** @default false */
|
|
64
64
|
hideAddButton: boolean | undefined;
|
|
65
65
|
/** @default false */
|
|
@@ -90,7 +90,7 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
90
90
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#label)
|
|
91
91
|
*/
|
|
92
92
|
label: string | nullish;
|
|
93
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
93
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
94
94
|
position?: __esri.UIPosition;
|
|
95
95
|
/**
|
|
96
96
|
* 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.
|
|
@@ -123,13 +123,13 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
123
123
|
*
|
|
124
124
|
* @default null
|
|
125
125
|
*/
|
|
126
|
-
attachmentKeywords: string[]
|
|
126
|
+
attachmentKeywords: nullish | string[];
|
|
127
127
|
/**
|
|
128
128
|
* An array of strings representing MIME types.
|
|
129
129
|
*
|
|
130
130
|
* @default null
|
|
131
131
|
*/
|
|
132
|
-
attachmentTypes: string[]
|
|
132
|
+
attachmentTypes: nullish | string[];
|
|
133
133
|
/** Permanently destroy the component. */
|
|
134
134
|
destroy(): Promise<void>;
|
|
135
135
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|