@arcgis/map-components 5.0.7 → 5.0.8
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/{7NEMEVJJ.js → 2BKO4X64.js} +1 -1
- package/dist/cdn/{ILLJPATH.js → 2ERUSYFG.js} +1 -1
- package/dist/cdn/{O2BQYNH6.js → 2KLBPWCO.js} +1 -1
- package/dist/cdn/{ERRAWU7E.js → 2PSYTKRG.js} +1 -1
- package/dist/cdn/{XERAD2KY.js → 2WZ3RMR7.js} +1 -1
- package/dist/cdn/{EFAOYXYX.js → 32Q5BYKS.js} +1 -1
- package/dist/cdn/{NZMI7J3C.js → 33YWYJ4B.js} +1 -1
- package/dist/cdn/{BXHXV662.js → 3AJGQWWJ.js} +1 -1
- package/dist/cdn/{RLRWO6KO.js → 3MNBJANP.js} +1 -1
- package/dist/cdn/{FISA6CI5.js → 3QMAQRDF.js} +1 -1
- package/dist/cdn/{UVPTTSAK.js → 3UQI2KLK.js} +1 -1
- package/dist/cdn/{BED2H544.js → 3XA7FNHU.js} +1 -1
- package/dist/cdn/{6O4LPB6L.js → 43SFYWBA.js} +1 -1
- package/dist/cdn/{Z37E2RJH.js → 452XJTUD.js} +1 -1
- package/dist/cdn/{ULNQNRPI.js → 4HIKXNLJ.js} +1 -1
- package/dist/cdn/{NVUYQESV.js → 4K34BUTQ.js} +1 -1
- package/dist/cdn/{A4PW74TW.js → 4MJ6RR6C.js} +1 -1
- package/dist/cdn/{RDZVDEAZ.js → 4QL2L5HG.js} +1 -1
- package/dist/cdn/{UPFBAZK5.js → 4QLSHCCH.js} +1 -1
- package/dist/cdn/{S22G2XOT.js → 4VANT2H2.js} +1 -1
- package/dist/cdn/{2FXARGPS.js → 4Y5ZV64K.js} +1 -1
- package/dist/cdn/{3M5UFIEE.js → 5226JY7U.js} +1 -1
- package/dist/cdn/{7KRGSOZ3.js → 57QXQ42V.js} +1 -1
- package/dist/cdn/{JA76AUK2.js → 5HY425PW.js} +1 -1
- package/dist/cdn/{CLGW7DEF.js → 62PPRW5H.js} +1 -1
- package/dist/cdn/{DFQRNPYS.js → 64DLLWCT.js} +1 -1
- package/dist/cdn/{QDM2SBOB.js → 65GHL7AK.js} +1 -1
- package/dist/cdn/{BWXHLMC2.js → 6FKMR33M.js} +1 -1
- package/dist/cdn/{TUADI3PU.js → 6KELW6YE.js} +1 -1
- package/dist/cdn/{YESGJWW7.js → 6Z5BZD4S.js} +1 -1
- package/dist/cdn/{B373IKEJ.js → 7BSE4Y2A.js} +1 -1
- package/dist/cdn/{5AP2DWEC.js → 7SBVVOP3.js} +1 -1
- package/dist/cdn/7TXQADKX.js +2 -0
- package/dist/cdn/{GRVEMZST.js → 7VUB7AFJ.js} +1 -1
- package/dist/cdn/{PO4IXXZO.js → A3ZA5MCJ.js} +1 -1
- package/dist/cdn/{TJBJRZPF.js → A5GHD7L7.js} +1 -1
- package/dist/cdn/{UEUDILMX.js → AGBHCVRA.js} +1 -1
- package/dist/cdn/{ZSEMNLLS.js → AJAD4RUP.js} +1 -1
- package/dist/cdn/{W552SVC5.js → AKBJKSH3.js} +1 -1
- package/dist/cdn/{VQP7GKXZ.js → ARB7ESUF.js} +1 -1
- package/dist/cdn/{LVR27TES.js → AWIUYN3W.js} +1 -1
- package/dist/cdn/{2OH7UV7K.js → AXFOWKQN.js} +1 -1
- package/dist/cdn/{VVEC67KF.js → AYFGP5ZN.js} +1 -1
- package/dist/cdn/{343XMMBE.js → BC5B7PGD.js} +1 -1
- package/dist/cdn/{KHVD6KQW.js → BGCXNQ5U.js} +1 -1
- package/dist/cdn/{K5SF7YJH.js → BLRU43VQ.js} +1 -1
- package/dist/cdn/{WMQ4EJ4X.js → BNQQ7JMQ.js} +1 -1
- package/dist/cdn/{5LAKSUES.js → BWSEQK6S.js} +1 -1
- package/dist/cdn/{XSDJBJCI.js → BXEQ2GR7.js} +1 -1
- package/dist/cdn/{BLMHLFEM.js → BXMF7CDZ.js} +1 -1
- package/dist/cdn/{7WU3UNUO.js → C4OFSKWZ.js} +1 -1
- package/dist/cdn/{KXW7MXVV.js → CQ4OP5KR.js} +1 -1
- package/dist/cdn/{OEXF3UP6.js → CVVCPCHQ.js} +1 -1
- package/dist/cdn/{5H3PNWWJ.js → CWMCSQSK.js} +1 -1
- package/dist/cdn/{WZH57XJM.js → CWTYBVDX.js} +1 -1
- package/dist/cdn/{5ZBMDRAE.js → DAXUZZYI.js} +1 -1
- package/dist/cdn/{KNZKCSOA.js → DGBQDSJV.js} +1 -1
- package/dist/cdn/{2JQF5LVF.js → DJ3SEHH7.js} +1 -1
- package/dist/cdn/{DXGGAQ6O.js → DLCRIX3F.js} +1 -1
- package/dist/cdn/{AA4AFWMY.js → DZXBV52D.js} +1 -1
- package/dist/cdn/{7YTCC5AG.js → E4NS5EP3.js} +1 -1
- package/dist/cdn/{LUJNFSIX.js → E52S65JA.js} +1 -1
- package/dist/cdn/{VA7IMWYJ.js → EZNR44ZZ.js} +1 -1
- package/dist/cdn/{DEUFRQAL.js → F3QMZQEN.js} +1 -1
- package/dist/cdn/{7IKCCOOZ.js → FDCGR4B4.js} +1 -1
- package/dist/cdn/{EVBZD6PQ.js → FKAXOX2G.js} +1 -1
- package/dist/cdn/{TS2KNYK2.js → FRQBH455.js} +1 -1
- package/dist/cdn/{PIQ6X2DV.js → FWLGMF7U.js} +1 -1
- package/dist/cdn/{GHJPLHYF.js → G5CFCDWX.js} +1 -1
- package/dist/cdn/{I5XBORGZ.js → G6Z2GTC7.js} +1 -1
- package/dist/cdn/{KZAFUY2M.js → GCJHT65W.js} +1 -1
- package/dist/cdn/{EQSKBN2K.js → GEEP3X2Y.js} +1 -1
- package/dist/cdn/{32OJSWU4.js → GHNGYP3W.js} +1 -1
- package/dist/cdn/{EHQM3QME.js → GNF5NJB7.js} +1 -1
- package/dist/cdn/{6TW3TH3F.js → GYOEIXYM.js} +1 -1
- package/dist/cdn/{OHRKDYQP.js → H5ZGEYHN.js} +1 -1
- package/dist/cdn/{Z4LZIRG5.js → H6NJXUN6.js} +1 -1
- package/dist/cdn/{GTNTTWHY.js → HC3MHWTP.js} +1 -1
- package/dist/cdn/{JTHDHDFV.js → HEUVUMO7.js} +1 -1
- package/dist/cdn/{P3JB5WBB.js → HM67OIIC.js} +1 -1
- package/dist/cdn/{JE2GQS3N.js → HX5VKOH7.js} +1 -1
- package/dist/cdn/{UFETIEJX.js → I2JJUUZQ.js} +1 -1
- package/dist/cdn/{VXWIWALW.js → I3EZXW2U.js} +1 -1
- package/dist/cdn/{D6UZ4UT4.js → IB2J54RM.js} +1 -1
- package/dist/cdn/{R57GBQHA.js → IE2YLVLQ.js} +1 -1
- package/dist/cdn/{EMHIKGTD.js → IENGLEJA.js} +1 -1
- package/dist/cdn/{W4VZJMRA.js → IPMDK4MT.js} +1 -1
- package/dist/cdn/{F6O3VLJL.js → IPN4LJ7V.js} +1 -1
- package/dist/cdn/{T5QX3VTK.js → J3TV3V5W.js} +1 -1
- package/dist/cdn/{UNY3OYJL.js → JADRITCD.js} +1 -1
- package/dist/cdn/{4VQ35AFF.js → JQA7633S.js} +1 -1
- package/dist/cdn/{GB4E5URE.js → JTB4D5Y2.js} +1 -1
- package/dist/cdn/{U7VLLQDO.js → JW4IYKZW.js} +1 -1
- package/dist/cdn/{LBVOBV74.js → JY37VVM4.js} +1 -1
- package/dist/cdn/{MBCRKKH7.js → K6KI46YC.js} +1 -1
- package/dist/cdn/{ZSMJPZPF.js → KBXRLSRQ.js} +1 -1
- package/dist/cdn/{B3WCIKC7.js → KH3CK4NM.js} +1 -1
- package/dist/cdn/{ZEA6VLCU.js → KLUJHBJX.js} +1 -1
- package/dist/cdn/{KNI2N2OE.js → KS2NA752.js} +1 -1
- package/dist/cdn/{GWH5Z5JM.js → L4TUBH7W.js} +1 -1
- package/dist/cdn/{NFZMYCHM.js → L7U7JQYH.js} +1 -1
- package/dist/cdn/{SUVF7BKT.js → LDESQMMT.js} +1 -1
- package/dist/cdn/{53T63PTP.js → LFH2LJU7.js} +1 -1
- package/dist/cdn/{LCEVRYGY.js → LGKCESB4.js} +1 -1
- package/dist/cdn/{JTL6JSMF.js → LNKGOWH7.js} +1 -1
- package/dist/cdn/{YZ3OIRPH.js → LNKIDH5D.js} +1 -1
- package/dist/cdn/{KQNENWKG.js → LTDNG7YS.js} +1 -1
- package/dist/cdn/{HCRH3JZS.js → LU6GBARZ.js} +1 -1
- package/dist/cdn/{4HF27VJZ.js → M2M7DHX2.js} +1 -1
- package/dist/cdn/{RQRVOXT4.js → M2MYLPEX.js} +1 -1
- package/dist/cdn/MI2C6GGG.js +2 -0
- package/dist/cdn/MPTRSZMX.js +2 -0
- package/dist/cdn/{ZXOIPWKI.js → MRRD3ZPK.js} +1 -1
- package/dist/cdn/{VPBINWBI.js → MS7JRJ6R.js} +1 -1
- package/dist/cdn/{XW3SDFSJ.js → MYPHE7JL.js} +1 -1
- package/dist/cdn/{QIXCAWTA.js → N46RUHPV.js} +1 -1
- package/dist/cdn/{VG5QA56K.js → N4RWJWIQ.js} +1 -1
- package/dist/cdn/{ALCV7USW.js → NIIMT3SS.js} +1 -1
- package/dist/cdn/{VGMNRVQO.js → NJBN5VJA.js} +1 -1
- package/dist/cdn/{JGHCUMHU.js → NQ7AJXP5.js} +1 -1
- package/dist/cdn/{XQUFFAVE.js → NXMSFJ7A.js} +1 -1
- package/dist/cdn/{HZ7HCUI7.js → NZEXJWD3.js} +1 -1
- package/dist/cdn/{4QYOXNR7.js → O2756ASS.js} +1 -1
- package/dist/cdn/{7QQKMJPU.js → O2CHOEOT.js} +1 -1
- package/dist/cdn/{XAK5PGRF.js → OEEM2YOU.js} +1 -1
- package/dist/cdn/{VG4IR6U7.js → OIPOVOS7.js} +1 -1
- package/dist/cdn/{57TOHZCV.js → OIXQVXVX.js} +1 -1
- package/dist/cdn/{4ODQ7RZW.js → OJS2HGOV.js} +1 -1
- package/dist/cdn/{LN6UH2PS.js → OMUYJPC3.js} +1 -1
- package/dist/cdn/{O4GUUBUC.js → P6WTQUAO.js} +1 -1
- package/dist/cdn/{A7JT5TOB.js → PAIWJPLK.js} +1 -1
- package/dist/cdn/{KHJ5I2PT.js → PF2QXZ63.js} +1 -1
- package/dist/cdn/{46BGNUPO.js → PTX37QR4.js} +1 -1
- package/dist/cdn/{MVN5REQH.js → QDB572U4.js} +1 -1
- package/dist/cdn/{3MRNZYFC.js → QDM5XPXZ.js} +1 -1
- package/dist/cdn/{62A7J3S7.js → QITFIJJH.js} +1 -1
- package/dist/cdn/{Y6NFUACE.js → QIVD6SID.js} +1 -1
- package/dist/cdn/{HYIJVFBU.js → QK23OZPY.js} +1 -1
- package/dist/cdn/{772KVFAU.js → QLKVY23N.js} +1 -1
- package/dist/cdn/{Y7NACMSX.js → QOYZ3JEZ.js} +1 -1
- package/dist/cdn/QT5JEHEL.js +2 -0
- package/dist/cdn/{RWDQTF77.js → QUMXEH6O.js} +1 -1
- package/dist/cdn/{2PRTG4BU.js → R4BFR6CR.js} +1 -1
- package/dist/cdn/{SQOEXIRY.js → RL3YYALU.js} +1 -1
- package/dist/cdn/{OEV5YUSX.js → RLGD7QFK.js} +1 -1
- package/dist/cdn/{MYKITD46.js → RMXIPB4F.js} +1 -1
- package/dist/cdn/{UPQAP5NB.js → RS7XEIXD.js} +1 -1
- package/dist/cdn/{Q2GT7UBT.js → RUNR4PHJ.js} +1 -1
- package/dist/cdn/{FX37ZZMI.js → SKTGMQNL.js} +1 -1
- package/dist/cdn/{OIGWQHT5.js → SQ2BHLMX.js} +1 -1
- package/dist/cdn/{VNRYB6YW.js → SUKF2DNP.js} +1 -1
- package/dist/cdn/{3HJKBID2.js → THWXFLFI.js} +1 -1
- package/dist/cdn/{COEMJ5OB.js → TM62FNIH.js} +1 -1
- package/dist/cdn/{CWAXHT5Q.js → TPGQZBGS.js} +1 -1
- package/dist/cdn/{YSJPVS5A.js → TX2C55A4.js} +1 -1
- package/dist/cdn/{IT3XIGMY.js → U2AWOURC.js} +1 -1
- package/dist/cdn/{EVFK6AMJ.js → UPEU3R2L.js} +1 -1
- package/dist/cdn/{XW6XB654.js → UPJWDEDA.js} +1 -1
- package/dist/cdn/{2YLEEWRD.js → UPP7IN72.js} +1 -1
- package/dist/cdn/{F7R5YKHA.js → UQN4KPNM.js} +1 -1
- package/dist/cdn/{TJQOWSFH.js → V5KZVJFN.js} +1 -1
- package/dist/cdn/V64WJLLP.js +2 -0
- package/dist/cdn/{OZBNYWU5.js → V7B4YUMV.js} +1 -1
- package/dist/cdn/{BHUY2MZ4.js → VF3Q4EFN.js} +1 -1
- package/dist/cdn/{BTH6ICYS.js → VF5OXNNE.js} +1 -1
- package/dist/cdn/{MAHJNLQC.js → VRQRANLV.js} +1 -1
- package/dist/cdn/{RU4GEDSF.js → VUEBCRTT.js} +1 -1
- package/dist/cdn/{KRA6QOT6.js → W5ABTJHB.js} +1 -1
- package/dist/cdn/{DSOPKYLA.js → WB6NANDC.js} +1 -1
- package/dist/cdn/{652DKGDP.js → WCBA3F5G.js} +1 -1
- package/dist/cdn/{JX4IFVUU.js → WH46XXVN.js} +1 -1
- package/dist/cdn/{BVVHEV3V.js → WUDIJWPW.js} +1 -1
- package/dist/cdn/{XINADPUJ.js → X2MXOMPH.js} +1 -1
- package/dist/cdn/{JAY6K5KC.js → XFRWBORH.js} +1 -1
- package/dist/cdn/{5S576S4D.js → Y6QLR3JD.js} +1 -1
- package/dist/cdn/{ZGWAFQXH.js → YCCZLRZB.js} +1 -1
- package/dist/cdn/{26SY6GIW.js → YK2NREJU.js} +1 -1
- package/dist/cdn/{NC3XVYVP.js → YLCINN3O.js} +1 -1
- package/dist/cdn/{4KVF46EC.js → YRRD6IOX.js} +1 -1
- package/dist/cdn/{LHZSABUF.js → ZAXHNBK4.js} +1 -1
- package/dist/cdn/{6K4NWP3O.js → ZCZAVJTC.js} +1 -1
- package/dist/cdn/{FIHXIVM5.js → ZDMBWQNI.js} +1 -1
- package/dist/cdn/{NT4VPWMH.js → ZLYS2U4C.js} +1 -1
- package/dist/cdn/{ELE6YHIX.js → ZRR7SK7S.js} +1 -1
- package/dist/cdn/{VT42KE7G.js → ZZDZPOW3.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/layer-utils.js +23 -19
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +14 -14
- package/dist/components/arcgis-map/customElement.d.ts +14 -14
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +11 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/cdn/7KIPPN5I.js +0 -2
- package/dist/cdn/CPZNU54J.js +0 -2
- package/dist/cdn/ECRSRZLK.js +0 -2
- package/dist/cdn/IKIJU2MC.js +0 -2
- package/dist/cdn/MATFNQVX.js +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
function a(e,
|
|
2
|
+
function a(e, t) {
|
|
3
3
|
if (!e.map)
|
|
4
4
|
return;
|
|
5
|
-
const { map:
|
|
6
|
-
|
|
5
|
+
const { map: n } = e;
|
|
6
|
+
n.layers.includes(t) || (n.add(t), n.reorder(t, n.layers.length - 1));
|
|
7
7
|
}
|
|
8
8
|
function o(e) {
|
|
9
9
|
return e != null && typeof e == "object" && "type" in e && e.type === "feature";
|
|
@@ -14,36 +14,40 @@ function s(e) {
|
|
|
14
14
|
function f(e) {
|
|
15
15
|
return e != null && typeof e == "object" && "type" in e && e.type === "graphics";
|
|
16
16
|
}
|
|
17
|
+
function p(e) {
|
|
18
|
+
return e?.type === "subtype-sublayer";
|
|
19
|
+
}
|
|
17
20
|
function c(e) {
|
|
18
21
|
return o(e) && s(e);
|
|
19
22
|
}
|
|
20
|
-
function
|
|
21
|
-
const
|
|
23
|
+
function d(e, t) {
|
|
24
|
+
const n = t?.type === "subtype-sublayer" ? t.parent : t;
|
|
22
25
|
return e.allLayerViews.find((r) => {
|
|
23
|
-
const
|
|
24
|
-
return
|
|
26
|
+
const u = r.layer;
|
|
27
|
+
return u === n || "sublayers" in u && u.sublayers != null && u.sublayers.includes(n);
|
|
25
28
|
});
|
|
26
29
|
}
|
|
27
|
-
function
|
|
28
|
-
const
|
|
29
|
-
return
|
|
30
|
+
function i(e) {
|
|
31
|
+
const t = e?.type;
|
|
32
|
+
return t === "binning" || t === "cluster";
|
|
30
33
|
}
|
|
31
|
-
function
|
|
34
|
+
function y(e, t) {
|
|
32
35
|
if (!c(e))
|
|
33
36
|
return;
|
|
34
|
-
const
|
|
35
|
-
if (
|
|
36
|
-
if (
|
|
37
|
-
const
|
|
38
|
-
return
|
|
37
|
+
const n = t?.graphic, r = e.featureReduction;
|
|
38
|
+
if (n) {
|
|
39
|
+
if (n.isAggregate) {
|
|
40
|
+
const u = n.origin;
|
|
41
|
+
return u && "featureReductionProvider" in u && r ? i(r) ? r : null : void 0;
|
|
39
42
|
}
|
|
40
43
|
return e;
|
|
41
44
|
}
|
|
42
|
-
return
|
|
45
|
+
return t?.checkFeatureReduction && r ? i(r) ? r : null : e;
|
|
43
46
|
}
|
|
44
47
|
export {
|
|
45
48
|
a,
|
|
46
|
-
p as
|
|
47
|
-
d as
|
|
49
|
+
p as b,
|
|
50
|
+
d as f,
|
|
51
|
+
y as g,
|
|
48
52
|
f as i
|
|
49
53
|
};
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -3,7 +3,7 @@ import "../cdn/main.css";
|
|
|
3
3
|
import { css as t } from "lit";
|
|
4
4
|
import { makeRuntime as r } from "@arcgis/lumina";
|
|
5
5
|
import { trackAccess as i, createObservable as a, createTrackingTarget as s, runTracked as n } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
6
|
-
const o = t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`, e = r({ defaultAssetPath: "https://js.arcgis.com/5.0.
|
|
6
|
+
const o = t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`, e = r({ defaultAssetPath: "https://js.arcgis.com/5.0.8/map-components/", hydratedAttribute: "hydrated", commonStyles: o }), { customElement: l, getAssetPath: m, setAssetPath: d } = e;
|
|
7
7
|
e.t = i;
|
|
8
8
|
e.o = a;
|
|
9
9
|
e.c = s;
|
|
@@ -185,12 +185,13 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
185
185
|
get center(): LinkChartView["center"];
|
|
186
186
|
set center(value: LinkChartView["center"] | null | undefined | number[] | string);
|
|
187
187
|
/**
|
|
188
|
-
* Specifies constraints to scale, zoom, and rotation that may be applied to the
|
|
188
|
+
* Specifies constraints to scale, zoom, and rotation that may be applied to the Link Chart.
|
|
189
189
|
*
|
|
190
|
+
* @see [MapViewConstraints](https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/)
|
|
190
191
|
* @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
|
|
191
192
|
* @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
|
|
192
193
|
* @example
|
|
193
|
-
* view.constraints = {
|
|
194
|
+
* view.constraints = new MapViewConstraints({
|
|
194
195
|
* geometry: { // Constrain lateral movement to Lower Manhattan
|
|
195
196
|
* type: "extent",
|
|
196
197
|
* xmin: -74.020,
|
|
@@ -201,9 +202,9 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
201
202
|
* minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000
|
|
202
203
|
* maxScale: 0, // User can overzoom tiles
|
|
203
204
|
* rotationEnabled: false // Disables map rotation
|
|
204
|
-
* };
|
|
205
|
+
* });
|
|
205
206
|
* @example
|
|
206
|
-
* // This snippet shows how to set the
|
|
207
|
+
* // This snippet shows how to set the Link Chart scale 1:1 while generating additional LODs for the constraints.
|
|
207
208
|
* const spatialReference = new SpatialReference({
|
|
208
209
|
* wkid: 2154
|
|
209
210
|
* });
|
|
@@ -220,17 +221,16 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
220
221
|
* });
|
|
221
222
|
* const lods = tileInfo.lods;
|
|
222
223
|
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* scale: 1,
|
|
227
|
-
* center,
|
|
228
|
-
* spatialReference,
|
|
229
|
-
* constraints: {
|
|
230
|
-
* lods: lods,
|
|
231
|
-
* snapToZoom: false
|
|
232
|
-
* }
|
|
224
|
+
* const constraints = new MapViewConstraints({
|
|
225
|
+
* snapToZoom: false,
|
|
226
|
+
* lods
|
|
233
227
|
* });
|
|
228
|
+
*
|
|
229
|
+
* const arcgisLinkChart = document.querySelector("arcgis-link-chart");
|
|
230
|
+
* arcgisLinkChart.spatialReference = spatialReference;
|
|
231
|
+
* arcgisLinkChart.center = center;
|
|
232
|
+
* arcgisLinkChart.scale = 1;
|
|
233
|
+
* arcgisLinkChart.constraints = constraints;
|
|
234
234
|
*/
|
|
235
235
|
accessor constraints: MapViewConstraints;
|
|
236
236
|
/**
|
|
@@ -297,12 +297,13 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
297
297
|
get center(): MapView["center"];
|
|
298
298
|
set center(value: MapView["center"] | null | undefined | number[] | string);
|
|
299
299
|
/**
|
|
300
|
-
* Specifies constraints to scale, zoom, and rotation that may be applied to the
|
|
300
|
+
* Specifies constraints to scale, zoom, and rotation that may be applied to the Map.
|
|
301
301
|
*
|
|
302
|
+
* @see [MapViewConstraints](https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/)
|
|
302
303
|
* @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
|
|
303
304
|
* @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
|
|
304
305
|
* @example
|
|
305
|
-
* view.constraints = {
|
|
306
|
+
* view.constraints = new MapViewConstraints({
|
|
306
307
|
* geometry: { // Constrain lateral movement to Lower Manhattan
|
|
307
308
|
* type: "extent",
|
|
308
309
|
* xmin: -74.020,
|
|
@@ -313,9 +314,9 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
313
314
|
* minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000
|
|
314
315
|
* maxScale: 0, // User can overzoom tiles
|
|
315
316
|
* rotationEnabled: false // Disables map rotation
|
|
316
|
-
* };
|
|
317
|
+
* });
|
|
317
318
|
* @example
|
|
318
|
-
* // This snippet shows how to set the
|
|
319
|
+
* // This snippet shows how to set the Map scale 1:1 while generating additional LODs for the constraints.
|
|
319
320
|
* const spatialReference = new SpatialReference({
|
|
320
321
|
* wkid: 2154
|
|
321
322
|
* });
|
|
@@ -332,17 +333,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
332
333
|
* });
|
|
333
334
|
* const lods = tileInfo.lods;
|
|
334
335
|
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
* scale: 1,
|
|
339
|
-
* center,
|
|
340
|
-
* spatialReference,
|
|
341
|
-
* constraints: {
|
|
342
|
-
* lods: lods,
|
|
343
|
-
* snapToZoom: false
|
|
344
|
-
* }
|
|
336
|
+
* const constraints = new MapViewConstraints({
|
|
337
|
+
* snapToZoom: false,
|
|
338
|
+
* lods
|
|
345
339
|
* });
|
|
340
|
+
*
|
|
341
|
+
* const arcgisMap = document.querySelector("arcgis-map");
|
|
342
|
+
* arcgisMap.spatialReference = spatialReference;
|
|
343
|
+
* arcgisMap.center = center;
|
|
344
|
+
* arcgisMap.scale = 1;
|
|
345
|
+
* arcgisMap.constraints = constraints;
|
|
346
346
|
*/
|
|
347
347
|
accessor constraints: MapViewConstraints;
|
|
348
348
|
/**
|
|
@@ -263,7 +263,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
263
263
|
* Defines the color to be used within the slider's track. The renderer assigned to the layer can be used to
|
|
264
264
|
* match the `trackFillColor` to the current layer symbology.
|
|
265
265
|
*
|
|
266
|
-
* @see [Color](https://developers.arcgis.com/javascript/latest/references/core/
|
|
266
|
+
* @see [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)
|
|
267
267
|
* @example
|
|
268
268
|
* ```js
|
|
269
269
|
* opacitySlider.sliderStyle = {
|
|
@@ -12,8 +12,9 @@ import b from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
|
12
12
|
import { LitElement as x, createEvent as w } from "@arcgis/lumina";
|
|
13
13
|
import { log as l } from "@arcgis/toolkit/log";
|
|
14
14
|
import { u as I } from "../../chunks/useT9n.js";
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
import { b as C } from "../../chunks/layer-utils.js";
|
|
16
|
+
const F = L`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{justify-content:center;display:grid}.clear-button{--calcite-button-border-color: transparent}`;
|
|
17
|
+
class G extends x {
|
|
17
18
|
constructor() {
|
|
18
19
|
super(...arguments), this.messages = I({ blocking: !0 }), this.isSelectWaiting = !1, this.traceLocationType = "starting-point", this.spatialTolerance = 0.05, this.autoDestroyDisabled = !1, this.arcgisTraceLocationChange = w(), this.arcgisTraceLocationSelectEnd = w(), this.arcgisTraceLocationSelectStart = w();
|
|
19
20
|
}
|
|
@@ -21,7 +22,7 @@ class F extends x {
|
|
|
21
22
|
this.properties = { isSelectWaiting: 16, beforeTraceLocationSelectStart: 0, afterHitTest: 0, view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, spatialTolerance: 9, autoDestroyDisabled: 5, utilityNetwork: 0 };
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
|
-
this.styles =
|
|
25
|
+
this.styles = F;
|
|
25
26
|
}
|
|
26
27
|
async destroy() {
|
|
27
28
|
this._resetAfterSketch(!1), await this.manager.destroy();
|
|
@@ -173,20 +174,20 @@ class F extends x {
|
|
|
173
174
|
}
|
|
174
175
|
};
|
|
175
176
|
} else if (!n) {
|
|
176
|
-
const i = this._edgeSourceLayerIds.includes(
|
|
177
|
+
const i = C(e.layer) ? e.layer.parent : e.layer, c = i && this._edgeSourceLayerIds.includes(i.layerId), u = a?.getTerminalConfiguration(e), h = u ? u.terminals[0].id : c ? -1 : 1, d = c ? 0.5 : -1;
|
|
177
178
|
return {
|
|
178
179
|
traceLocation: new m({
|
|
179
180
|
type: r,
|
|
180
181
|
isFilterBarrier: !1,
|
|
181
182
|
globalId: s,
|
|
182
|
-
terminalId:
|
|
183
|
-
percentAlong:
|
|
183
|
+
terminalId: h,
|
|
184
|
+
percentAlong: d
|
|
184
185
|
}),
|
|
185
186
|
flagProperties: {
|
|
186
187
|
title: o,
|
|
187
188
|
expanded: !1,
|
|
188
|
-
terminalConfiguration:
|
|
189
|
-
selectedTerminals:
|
|
189
|
+
terminalConfiguration: u ?? void 0,
|
|
190
|
+
selectedTerminals: u ? /* @__PURE__ */ new Set([h]) : void 0
|
|
190
191
|
},
|
|
191
192
|
spatialProperties: {
|
|
192
193
|
mapPoint: t
|
|
@@ -289,7 +290,7 @@ class F extends x {
|
|
|
289
290
|
return p`<div class="root">${this.renderAddLocationBlock()}</div>`;
|
|
290
291
|
}
|
|
291
292
|
}
|
|
292
|
-
T("arcgis-utility-network-trace-location",
|
|
293
|
+
T("arcgis-utility-network-trace-location", G);
|
|
293
294
|
export {
|
|
294
|
-
|
|
295
|
+
G as ArcgisUtilityNetworkTraceLocation
|
|
295
296
|
};
|