@arcgis/map-components 5.1.0-next.12 → 5.1.0-next.14
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/{7JQZBAFA.js → 255MJSL7.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
- package/dist/cdn/{EGN3YTD6.js → 2ID4LW4Y.js} +1 -1
- package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
- package/dist/cdn/2XOP6ODR.js +2 -0
- package/dist/cdn/{NRBM3YR6.js → 2XULQGZU.js} +1 -1
- package/dist/cdn/{KY2UAUNI.js → 2YBN6D3R.js} +1 -1
- package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
- package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
- package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
- package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
- package/dist/cdn/{U4QW6VHU.js → 4723UCGJ.js} +1 -1
- package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
- package/dist/cdn/{FYTMMPPG.js → 4GMSBMTS.js} +1 -1
- package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
- package/dist/cdn/4S2ZIUO2.js +2 -0
- package/dist/cdn/{ZURN5EZI.js → 4WDHTN24.js} +1 -1
- package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
- package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
- package/dist/cdn/5IXIFOQE.js +2 -0
- package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
- package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
- package/dist/cdn/6PXPLFFB.js +2 -0
- package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
- package/dist/cdn/6YZHULFG.js +2 -0
- package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
- package/dist/cdn/{UNX4CKAF.js → 7D3Z55D3.js} +1 -1
- package/dist/cdn/{RRXH4CSV.js → 7SCKZLOG.js} +1 -1
- package/dist/cdn/7SIDRD63.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
- package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
- package/dist/cdn/{F4HWT5H3.js → ANLNLB7F.js} +1 -1
- package/dist/cdn/{A44ZCOCX.js → ATG3WC6M.js} +1 -1
- package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
- package/dist/cdn/{BUOIT34V.js → B4IPMHN5.js} +1 -1
- package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
- package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
- package/dist/cdn/{XMSGTOUV.js → BOM3XB6A.js} +1 -1
- package/dist/cdn/BQRJK2MF.js +2 -0
- package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
- package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
- package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
- package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
- package/dist/cdn/C4FXVPMR.js +2 -0
- package/dist/cdn/{HH6BDERO.js → CJX4GSEZ.js} +1 -1
- package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
- package/dist/cdn/COSZXJ2Q.js +2 -0
- package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
- package/dist/cdn/CWODI2VY.js +2 -0
- package/dist/cdn/{A2JO7DWO.js → DDYVX52H.js} +1 -1
- package/dist/cdn/{2MTWUJIA.js → DEJGWX76.js} +1 -1
- package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
- package/dist/cdn/{FB6YQKF2.js → DMGQRIIZ.js} +1 -1
- package/dist/cdn/E44RUDE7.js +2 -0
- package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
- package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
- package/dist/cdn/EQPJBPD5.js +2 -0
- package/dist/cdn/{KHM3S4Q6.js → F2JFRFTT.js} +1 -1
- package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
- package/dist/cdn/{2NOL7QIE.js → FNJ3HMEN.js} +1 -1
- package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
- package/dist/cdn/{AEYZDEAH.js → FUXY5EKO.js} +1 -1
- package/dist/cdn/{OD5DHUHZ.js → FZDIAVC4.js} +1 -1
- package/dist/cdn/{VNOZYJLP.js → G7QZJNAC.js} +1 -1
- package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
- package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
- package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
- package/dist/cdn/GJPX2JLE.js +2 -0
- package/dist/cdn/HDL76VD5.js +2 -0
- package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
- package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
- package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
- package/dist/cdn/{5ITF7Q7U.js → I4SD3GKU.js} +1 -1
- package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
- package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
- package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
- package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
- package/dist/cdn/{SZ5MNKOW.js → IVHQAQZW.js} +1 -1
- package/dist/cdn/{6F6VOBIA.js → IX5YLGNO.js} +1 -1
- package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
- package/dist/cdn/JSD5CN5Q.js +2 -0
- package/dist/cdn/{ZD5FJHIQ.js → JSISELHB.js} +1 -1
- package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
- package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
- package/dist/cdn/{NZAO2BVV.js → L6E647YW.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
- package/dist/cdn/LB32PLWG.js +2 -0
- package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
- package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
- package/dist/cdn/{R4V6HGJH.js → LYJM7ALP.js} +1 -1
- package/dist/cdn/{OCEXQCFT.js → MIGWB3PK.js} +1 -1
- package/dist/cdn/{RUB6EORR.js → MIXNJBCA.js} +1 -1
- package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
- package/dist/cdn/{NSGDR7V5.js → MSWQUZSG.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
- package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
- package/dist/cdn/{XE5UPQ5E.js → NKO7ZJZN.js} +1 -1
- package/dist/cdn/{UHFSSX2G.js → NLRKDVIJ.js} +1 -1
- package/dist/cdn/{LZQCXN6A.js → NPEA453T.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
- package/dist/cdn/{VU3SJK5Z.js → NWWJHV2L.js} +1 -1
- package/dist/cdn/{YA6FUJR2.js → O2BAIE3M.js} +1 -1
- package/dist/cdn/{A7JPWYKR.js → OJCZ3DV5.js} +1 -1
- package/dist/cdn/{TP6I2LJO.js → OKXFUFPW.js} +1 -1
- package/dist/cdn/{M65HMJZA.js → PJHO2DXQ.js} +1 -1
- package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
- package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
- package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
- package/dist/cdn/{MDCB7SO4.js → QEXDU6P7.js} +1 -1
- package/dist/cdn/{TJG4UE24.js → QHSQUBMZ.js} +1 -1
- package/dist/cdn/QUXORNHT.js +2 -0
- package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
- package/dist/cdn/{ZM2YXU7Y.js → RMGBO7V2.js} +1 -1
- package/dist/cdn/{CVBNRF34.js → S726H24O.js} +1 -1
- package/dist/cdn/{XXZ3CKTX.js → SKUQ3U6A.js} +1 -1
- package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
- package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
- package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
- package/dist/cdn/{5LBJB4MP.js → TK4IQ72L.js} +1 -1
- package/dist/cdn/TKFT2JL7.js +2 -0
- package/dist/cdn/TKK5PRP5.js +2 -0
- package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
- package/dist/cdn/{GY5226CJ.js → UNY32K3R.js} +1 -1
- package/dist/cdn/US7LKUHP.js +2 -0
- package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
- package/dist/cdn/VYAUH7PN.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
- package/dist/cdn/{HB3W3CO5.js → WCIXC6UR.js} +1 -1
- package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
- package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
- package/dist/cdn/{PISCYSA5.js → X35NN2TZ.js} +1 -1
- package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
- package/dist/cdn/{QXUY4FOY.js → X5NCN674.js} +1 -1
- package/dist/cdn/{63P5VYGP.js → XLB7XDRF.js} +1 -1
- package/dist/cdn/{C24SOTLL.js → Y4JTATJ2.js} +1 -1
- package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
- package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/measurementUtils.js +3 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +62 -74
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +52 -64
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +59 -71
- package/dist/components/arcgis-directions/customElement.d.ts +21 -5
- package/dist/components/arcgis-directions/customElement.js +5 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +58 -70
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-feature/customElement.js +6 -6
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +72 -24
- package/dist/components/arcgis-feature-table/customElement.js +28 -13
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +60 -60
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
- package/dist/components/arcgis-features/customElement.js +25 -31
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +3 -3
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-link-chart/customElement.d.ts +15 -17
- package/dist/components/arcgis-link-chart/customElement.js +10 -15
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +16 -18
- package/dist/components/arcgis-map/customElement.js +1 -6
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +7 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- package/dist/components/arcgis-popup/customElement.js +106 -99
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +16 -7
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +21 -23
- package/dist/components/arcgis-scene/customElement.js +8 -13
- package/dist/components/arcgis-search/customElement.d.ts +10 -12
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +14 -2
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +74 -14
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +17 -14
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +39 -26
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-volume-measurement/customElement.js +84 -84
- package/dist/components/types.d.ts +8 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +13 -13
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/package.json +4 -4
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/6CGPJGIB.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/CTSWZC3O.js +0 -2
- package/dist/cdn/CWJ5OA5A.js +0 -2
- package/dist/cdn/D73JFV2R.js +0 -2
- package/dist/cdn/DINM6JDS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EM7YCHTU.js +0 -2
- package/dist/cdn/HE6QV4XG.js +0 -2
- package/dist/cdn/IDDSHZVB.js +0 -2
- package/dist/cdn/JRPIJ24K.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/LHEP4QSS.js +0 -2
- package/dist/cdn/LIEE5WCD.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/N3BD4UQD.js +0 -2
- package/dist/cdn/QJOQNSYB.js +0 -2
- package/dist/cdn/S6G6XXTM.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/Z4F6DHBB.js +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as $, html as s } from "lit";
|
|
4
|
-
import { LitElement as u, safeClassMap as
|
|
5
|
-
import { classes as
|
|
6
|
-
import { b as
|
|
7
|
-
const L = $`.layer-table{display:
|
|
4
|
+
import { LitElement as u, safeClassMap as n, nothing as c, safeStyleMap as w } from "@arcgis/lumina";
|
|
5
|
+
import { classes as g } from "@arcgis/toolkit/dom";
|
|
6
|
+
import { b as E, s as p, i as f, c as d, g as y } from "../../chunks/utils.js";
|
|
7
|
+
const L = $`.layer-table{display:table;margin-bottom:var(--calcite-spacing-md);width:100%}.layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.layer-row{display:table-row}.layer-cell{padding:var(--calcite-spacing-xxs) 0;vertical-align:middle;word-break:break-word;display:table-cell}.layer-cell-info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.imagery-layer-info-stretched{padding:0 2px;vertical-align:top}.layer-cell-symbols{text-align:center}.symbol{display:flex;justify-content:center}`;
|
|
8
8
|
class x extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { cssEffectFilter: 1, layer: 0, legendElement: 0, messages: 0 };
|
|
@@ -13,10 +13,8 @@ class x extends u {
|
|
|
13
13
|
this.styles = L;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
const e = this._renderLegendElement(), a =
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
return s`<section class=${c(d("layer-table", i))}>${l}${e}</section>`;
|
|
16
|
+
const e = this._renderLegendElement(), a = E(this.legendElement, this.messages), i = a ? s`<div class="layer-caption">${a}</div>` : null;
|
|
17
|
+
return s`<section class="layer-table">${i}${e}</section>`;
|
|
20
18
|
}
|
|
21
19
|
_renderLegendElement() {
|
|
22
20
|
switch (this.legendElement.type) {
|
|
@@ -44,38 +42,38 @@ class x extends u {
|
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
_renderSymbolTable(e) {
|
|
47
|
-
const a = e.infos.map((
|
|
45
|
+
const a = e.infos.map((i) => this._renderElementInfo(i, e.legendType)).filter(Boolean);
|
|
48
46
|
return a.length ? s`<div class="layer-body">${a}</div>` : null;
|
|
49
47
|
}
|
|
50
48
|
_renderElementInfo(e, a) {
|
|
51
|
-
const { layer:
|
|
49
|
+
const { layer: i } = this, l = "label" in e ? e.label : null;
|
|
52
50
|
if ("type" in e && e.type)
|
|
53
|
-
return e ? s`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${
|
|
51
|
+
return e ? s`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${i} .legendElement=${e} .messages=${this.messages}></arcgis-legend-classic-element>` : null;
|
|
54
52
|
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
55
53
|
return null;
|
|
56
|
-
const r =
|
|
54
|
+
const r = f(i, a), t = {
|
|
57
55
|
"imagery-layer-info-stretched": r
|
|
58
56
|
};
|
|
59
|
-
return s`<div class="layer-row"><div class=${
|
|
57
|
+
return s`<div class="layer-row"><div class=${n(g("layer-cell", "layer-cell-symbols", {
|
|
60
58
|
"imagery-layer-info-stretched": r
|
|
61
|
-
}))}>${this._renderPreview(e, r)}</div><div class=${
|
|
59
|
+
}))}>${this._renderPreview(e, r)}</div><div class=${n(g("layer-cell", "layer-cell-info", t))}>${d(this.messages, l, !1) || ""}</div></div>`;
|
|
62
60
|
}
|
|
63
61
|
_renderPreview(e, a) {
|
|
64
|
-
const { layer:
|
|
62
|
+
const { layer: i } = this;
|
|
65
63
|
if ("preview" in e && e.preview) {
|
|
66
|
-
const { preview:
|
|
67
|
-
return p(
|
|
64
|
+
const { preview: l } = e, r = "previewAriaLabel" in e ? e.previewAriaLabel : null, t = "label" in e ? d(this.messages, e.label, !1) : null;
|
|
65
|
+
return p(l, y(this.messages, r || t)), s`<div class="symbol">${l}</div>`;
|
|
68
66
|
}
|
|
69
|
-
return "src" in e && e.src ? this._renderImage(e,
|
|
67
|
+
return "src" in e && e.src ? this._renderImage(e, i, a) : null;
|
|
70
68
|
}
|
|
71
|
-
_renderImage(e, a,
|
|
72
|
-
const { previewAriaLabel:
|
|
73
|
-
"imagery-layer-stretched-image":
|
|
74
|
-
symbol: !
|
|
69
|
+
_renderImage(e, a, i) {
|
|
70
|
+
const { previewAriaLabel: l, src: r, opacity: t } = e, o = d(this.messages, e.label, !1), h = {
|
|
71
|
+
"imagery-layer-stretched-image": i,
|
|
72
|
+
symbol: !i
|
|
75
73
|
}, b = {
|
|
76
74
|
opacity: `${t ?? a.opacity}`
|
|
77
|
-
},
|
|
78
|
-
return s`<img alt=${
|
|
75
|
+
}, m = y(this.messages, l || o);
|
|
76
|
+
return s`<img alt=${m ?? c} .ariaLabel=${m} class=${n(g(h))} height=${e.height ?? void 0 ?? c} src=${r ?? c} style=${w(b)} width=${e.width ?? void 0 ?? c}>`;
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
v("arcgis-legend-classic-element", x);
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
3
3
|
import type WebLinkChart from "@arcgis/core/WebLinkChart.js";
|
|
4
|
-
import type LayerView from "@arcgis/core/views/layers/LayerView";
|
|
5
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
6
|
-
import type Analysis from "@arcgis/core/analysis/Analysis";
|
|
7
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
8
|
-
import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
9
|
-
import type Basemap from "@arcgis/core/Basemap";
|
|
10
|
-
import type LayerView2 from "@arcgis/core/views/layers/LayerView.js";
|
|
4
|
+
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
5
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
6
|
+
import type Analysis from "@arcgis/core/analysis/Analysis.js";
|
|
7
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
8
|
+
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
9
|
+
import type Basemap from "@arcgis/core/Basemap.js";
|
|
11
10
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
12
|
-
import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
|
|
13
11
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
14
12
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
15
13
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
@@ -25,11 +23,11 @@ import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
|
25
23
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
26
24
|
import type { LoadErrorSource } from "../types.js";
|
|
27
25
|
import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
28
|
-
import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types";
|
|
29
|
-
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types";
|
|
30
|
-
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types";
|
|
31
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
32
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
|
|
26
|
+
import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
27
|
+
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
28
|
+
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
29
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
30
|
+
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
33
31
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
34
32
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
35
33
|
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
@@ -63,7 +61,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
63
61
|
*
|
|
64
62
|
* @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
65
63
|
*/
|
|
66
|
-
get allLayerViews(): ReadonlyCollection<
|
|
64
|
+
get allLayerViews(): ReadonlyCollection<LayerView>;
|
|
67
65
|
/**
|
|
68
66
|
* A collection of analyses associated with the view.
|
|
69
67
|
*
|
|
@@ -75,7 +73,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
75
73
|
* // Removes an analysis from the View
|
|
76
74
|
* view.analyses.remove(elevationProfileAnalysis);
|
|
77
75
|
*/
|
|
78
|
-
accessor analyses: Collection<
|
|
76
|
+
accessor analyses: Collection<Analysis>;
|
|
79
77
|
/**
|
|
80
78
|
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
81
79
|
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
|
|
@@ -161,7 +159,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
161
159
|
*/
|
|
162
160
|
accessor basemap: Basemap | string | undefined;
|
|
163
161
|
/** Represents the view for a single basemap after it has been added to the link chart. */
|
|
164
|
-
accessor basemapView: BasemapView<
|
|
162
|
+
accessor basemapView: BasemapView<LayerView>;
|
|
165
163
|
/**
|
|
166
164
|
* Indicates if the view component can zoom in.
|
|
167
165
|
*
|
|
@@ -367,7 +365,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
367
365
|
*
|
|
368
366
|
* @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
369
367
|
*/
|
|
370
|
-
get layerViews(): Collection<
|
|
368
|
+
get layerViews(): Collection<LayerView>;
|
|
371
369
|
/**
|
|
372
370
|
* An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
|
|
373
371
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
|
-
import { watch as
|
|
3
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import _ from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
6
|
import { LitElement as V, createEvent as p, safeClassMap as c } from "@arcgis/lumina";
|
|
@@ -164,19 +164,14 @@ class P extends V {
|
|
|
164
164
|
loaded() {
|
|
165
165
|
const i = this;
|
|
166
166
|
i.el.childElem = this._mapRef.value, this.view.container ??= i.el.childElem, s.setLocalPublicMap(this, this._map), this.manager.onLifecycle(() => [
|
|
167
|
-
|
|
167
|
+
n(() => this.map, (t) => {
|
|
168
168
|
t && s.setLocalPrivateMap(this, t);
|
|
169
169
|
}, { initial: !0, sync: !0 }),
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
n(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
171
|
+
n(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
|
|
172
|
+
n(() => this.view.attributionHeight, (t) => {
|
|
173
173
|
this._uiController.handleAttributionHeightChange(t);
|
|
174
|
-
}, { initial: !0 })
|
|
175
|
-
// Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
|
|
176
|
-
// Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
|
|
177
|
-
h(() => this.view.ready, () => {
|
|
178
|
-
this.view.notifyChange("attributionHeight");
|
|
179
|
-
})
|
|
174
|
+
}, { initial: !0 })
|
|
180
175
|
]);
|
|
181
176
|
}
|
|
182
177
|
willUpdate(i) {
|
|
@@ -192,14 +187,14 @@ class P extends V {
|
|
|
192
187
|
if (this._serviceUrl && !this._baseCypherQuery) {
|
|
193
188
|
const a = t();
|
|
194
189
|
s.fetchKnowledgeGraph(this._serviceUrl).then((l) => {
|
|
195
|
-
const
|
|
190
|
+
const h = new s.WebLinkChart(), o = new s.LinkChartLayer({
|
|
196
191
|
url: l.url
|
|
197
192
|
});
|
|
198
193
|
o.load({
|
|
199
194
|
signal: a?.signal
|
|
200
195
|
});
|
|
201
196
|
try {
|
|
202
|
-
d(a.signal),
|
|
197
|
+
d(a.signal), h.add(o), this._setLinkChartAndZoom(h);
|
|
203
198
|
} catch (w) {
|
|
204
199
|
if (!g(w))
|
|
205
200
|
throw w;
|
|
@@ -212,9 +207,9 @@ class P extends V {
|
|
|
212
207
|
openCypherQuery: this._baseCypherQuery
|
|
213
208
|
}), void 0, {
|
|
214
209
|
signal: a?.signal
|
|
215
|
-
}).then(async (
|
|
210
|
+
}).then(async (h) => {
|
|
216
211
|
try {
|
|
217
|
-
d(a.signal), this._setLinkChartAndZoom(
|
|
212
|
+
d(a.signal), this._setLinkChartAndZoom(h);
|
|
218
213
|
} catch (o) {
|
|
219
214
|
if (!g(o))
|
|
220
215
|
throw o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type LinkChartView from "@arcgis/core/views/LinkChartView";
|
|
2
|
+
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
3
3
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
5
|
-
import type Analysis from "@arcgis/core/analysis/Analysis";
|
|
6
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
7
|
-
import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
8
|
-
import type Ground from "@arcgis/core/Ground";
|
|
9
|
-
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings";
|
|
10
|
-
import type Basemap from "@arcgis/core/Basemap";
|
|
4
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
5
|
+
import type Analysis from "@arcgis/core/analysis/Analysis.js";
|
|
6
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
7
|
+
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
8
|
+
import type Ground from "@arcgis/core/Ground.js";
|
|
9
|
+
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
|
|
10
|
+
import type Basemap from "@arcgis/core/Basemap.js";
|
|
11
|
+
import type Map from "@arcgis/core/Map.js";
|
|
11
12
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
12
|
-
import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
|
|
13
13
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
14
14
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
15
15
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
@@ -18,7 +18,6 @@ import type Graphic from "@arcgis/core/Graphic.js";
|
|
|
18
18
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
19
19
|
import type IPSInfo from "@arcgis/core/webdoc/IPSInfo.js";
|
|
20
20
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
21
|
-
import type Map2 from "@arcgis/core/Map.js";
|
|
22
21
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
23
22
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
24
23
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
@@ -28,15 +27,14 @@ import type Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
|
28
27
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
29
28
|
import type { LoadErrorSource } from "../types.js";
|
|
30
29
|
import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
31
|
-
import type { LayerView2DFor } from "@arcgis/core/views/2d/types";
|
|
32
|
-
import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, ClickEvent } from "@arcgis/core/views/input/types";
|
|
33
|
-
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types";
|
|
34
|
-
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types";
|
|
35
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
36
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
|
|
30
|
+
import type { LayerView2DFor, ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
31
|
+
import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
32
|
+
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
33
|
+
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
34
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
35
|
+
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
37
36
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
38
37
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
39
|
-
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
40
38
|
|
|
41
39
|
/**
|
|
42
40
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
@@ -145,7 +143,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
145
143
|
* // Removes an analysis from the View
|
|
146
144
|
* view.analyses.remove(elevationProfileAnalysis);
|
|
147
145
|
*/
|
|
148
|
-
accessor analyses: Collection<
|
|
146
|
+
accessor analyses: Collection<Analysis>;
|
|
149
147
|
/**
|
|
150
148
|
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
151
149
|
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
|
|
@@ -565,7 +563,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
565
563
|
*/
|
|
566
564
|
get magnifier(): Magnifier;
|
|
567
565
|
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) object to display in the view. */
|
|
568
|
-
accessor map:
|
|
566
|
+
accessor map: Map | null | undefined;
|
|
569
567
|
/**
|
|
570
568
|
* Indication whether the view is being navigated (for example when panning).
|
|
571
569
|
*
|
|
@@ -164,12 +164,7 @@ class R extends m {
|
|
|
164
164
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
|
|
165
165
|
s(() => this.view.attributionHeight, (t) => {
|
|
166
166
|
this._uiController.handleAttributionHeightChange(t);
|
|
167
|
-
}, { initial: !0 })
|
|
168
|
-
// Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
|
|
169
|
-
// Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
|
|
170
|
-
s(() => this.view.ready, () => {
|
|
171
|
-
this.view.notifyChange("attributionHeight");
|
|
172
|
-
})
|
|
167
|
+
}, { initial: !0 })
|
|
173
168
|
]);
|
|
174
169
|
}
|
|
175
170
|
renderMain() {
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
3
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
6
|
-
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
7
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
7
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
9
|
-
import type { ValueChangeEvent } from "@arcgis/core/widgets/BatchAttributeForm/types";
|
|
8
|
+
import type { ValueChangeEvent, BatchAttributeFormState } from "@arcgis/core/widgets/BatchAttributeForm/types.js";
|
|
10
9
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
11
|
-
import type { SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel";
|
|
12
|
-
import type { UIPosition } from "@arcgis/core/views/ui/types";
|
|
10
|
+
import type { SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
|
|
11
|
+
import type { UIPosition } from "@arcgis/core/views/ui/types.js";
|
|
13
12
|
import type { EditType } from "@arcgis/core/widgets/support/forms/types.js";
|
|
14
13
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
15
|
-
import type { BatchAttributeFormState } from "@arcgis/core/widgets/BatchAttributeForm/types.js";
|
|
16
14
|
|
|
17
15
|
/**
|
|
18
16
|
* The Multi Feature Form component provides a Feature Form which works with
|
|
@@ -36,7 +34,7 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
|
|
|
36
34
|
/** @default false */
|
|
37
35
|
accessor disabled: boolean;
|
|
38
36
|
accessor editType: EditType;
|
|
39
|
-
accessor features: Collection<
|
|
37
|
+
accessor features: Collection<Graphic>;
|
|
40
38
|
accessor groupDisplay: "all" | "sequential";
|
|
41
39
|
/** @default false */
|
|
42
40
|
accessor hasTooManyComplexFeatures: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
5
|
import type { NavigationToggleState } from "./types.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
3
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
4
|
-
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer";
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
|
+
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
5
5
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
6
6
|
|
|
7
7
|
/** @internal */
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
3
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
6
6
|
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
7
7
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
8
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
9
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
10
|
-
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
|
|
11
|
-
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem";
|
|
12
|
-
import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel";
|
|
8
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
9
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
10
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
11
|
+
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem.js";
|
|
12
|
+
import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
|
|
13
13
|
import type { EsriClipboard, ClipboardItem as EsriClipboardItem } from "@arcgis/core/applications/Components/clipboard.js";
|
|
14
14
|
import type { ApplySet, ApplySetLayerEditResult, ApplySetServiceEditResult } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
15
15
|
import type { ClipboardMove } from "./ClipboardMove.js";
|
|
16
|
-
import type { ResourceHandle } from "@arcgis/core/core/Handles";
|
|
16
|
+
import type { ResourceHandle } from "@arcgis/core/core/Handles.js";
|
|
17
17
|
import type { PasteCommand, PasteApplyError, PasteCommandApplyParameters } from "./commands/PasteCommand.js";
|
|
18
18
|
import type { CustomPasteCommand } from "./commands/PasteCustomCommand.js";
|
|
19
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type PasteViewModel from "../PasteViewModel.js";
|
|
3
3
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
5
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
4
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
5
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
6
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
7
7
|
import type { ApplySet } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
8
|
-
import type { GeometryUnion } from "@arcgis/core/geometry/types";
|
|
8
|
+
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
|
|
9
9
|
|
|
10
10
|
export interface PasteCommandProperties extends Partial<Pick<PasteCommand, "viewModel">> {}
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
1
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
2
2
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
3
|
-
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard";
|
|
3
|
+
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The definition of a custom paste operation.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
6
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
6
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { SupportedPasteCommand, ActiveFlowPage } from "./PasteViewModel.js";
|
|
9
9
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|