@arcgis/map-components 5.0.10 → 5.0.12
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/{K42GGHFW.js → 24QECPZF.js} +1 -1
- package/dist/cdn/{H2WPK23B.js → 2C4AKJ6C.js} +1 -1
- package/dist/cdn/{IQI6KCQH.js → 2JZZ7W2Z.js} +1 -1
- package/dist/cdn/{KXW5VKYX.js → 2OKMRP4E.js} +1 -1
- package/dist/cdn/{XTTUQ2RA.js → 2YRDYOK7.js} +1 -1
- package/dist/cdn/{QEFULS3X.js → 36BHPMAX.js} +1 -1
- package/dist/cdn/{IVLODVOE.js → 3CARTNXL.js} +1 -1
- package/dist/cdn/{TMXXSKKH.js → 3JWEYJQ3.js} +1 -1
- package/dist/cdn/{ED3L6FYZ.js → 3L5JO7SA.js} +1 -1
- package/dist/cdn/{3GVKFZWQ.js → 3SNF5ZML.js} +1 -1
- package/dist/cdn/{UIII7DGV.js → 3UH4N4UP.js} +1 -1
- package/dist/cdn/{XFS62KN4.js → 4CR4N46B.js} +1 -1
- package/dist/cdn/{4DS724NP.js → 4UQZ3QYM.js} +1 -1
- package/dist/cdn/{G53QNLVP.js → 4VP6GQ2A.js} +1 -1
- package/dist/cdn/{R3IRIYO5.js → 4VRQYVVF.js} +1 -1
- package/dist/cdn/4VXRCUIR.js +2 -0
- package/dist/cdn/{AVFJRQFL.js → 53NLWLOK.js} +1 -1
- package/dist/cdn/{3PY5Y64M.js → 5MGE6RKY.js} +1 -1
- package/dist/cdn/{FMKDJBHO.js → 63LZ2ABP.js} +1 -1
- package/dist/cdn/{W3JGBX2V.js → 66D4W3NE.js} +1 -1
- package/dist/cdn/{Q5O3TAIF.js → 6AHDEWJS.js} +1 -1
- package/dist/cdn/{OSIIOSSS.js → 6WYBPZZF.js} +1 -1
- package/dist/cdn/{YSPMYODD.js → 756YKTLT.js} +1 -1
- package/dist/cdn/{VHCWNQVT.js → 76UAWT7T.js} +1 -1
- package/dist/cdn/{VDKAGGLJ.js → 7MYAQ27V.js} +1 -1
- package/dist/cdn/{5RH2Q2XJ.js → 7OXRDF4E.js} +1 -1
- package/dist/cdn/{7UM3MUX2.js → 7SXN75DR.js} +1 -1
- package/dist/cdn/{6EWHBACJ.js → 7WV2KGFI.js} +1 -1
- package/dist/cdn/{AWQ5JJQ2.js → A25DQJO2.js} +1 -1
- package/dist/cdn/{TMY6KO4C.js → AEVXZNFE.js} +1 -1
- package/dist/cdn/{2DXXZCIQ.js → ANC4XKM7.js} +1 -1
- package/dist/cdn/{FQERYING.js → AQ4RUGBN.js} +1 -1
- package/dist/cdn/{H7WGDHML.js → AV3JZPVF.js} +1 -1
- package/dist/cdn/{ZHVC4UBZ.js → AW6OCXXO.js} +1 -1
- package/dist/cdn/{ZI7LN2XU.js → AXKH454C.js} +1 -1
- package/dist/cdn/{WNUQWTS5.js → B6H2JZ5L.js} +1 -1
- package/dist/cdn/{6QVNN73N.js → BGROYXFG.js} +1 -1
- package/dist/cdn/{3WARW7XG.js → BIEIAVBU.js} +1 -1
- package/dist/cdn/{EJESLMSS.js → BOU3WL2N.js} +1 -1
- package/dist/cdn/{3643BBK6.js → BSAE7TJM.js} +1 -1
- package/dist/cdn/{UJC6SFYK.js → BW3SD2UX.js} +1 -1
- package/dist/cdn/{73ADD2ST.js → BXN4VTU6.js} +1 -1
- package/dist/cdn/{EN5UJU7M.js → CEZN3IZC.js} +1 -1
- package/dist/cdn/{5R3MYPZN.js → CJGADATA.js} +1 -1
- package/dist/cdn/{VQT7BSXU.js → CNORJKAN.js} +1 -1
- package/dist/cdn/{EKVMZYRA.js → CRG2WEJC.js} +1 -1
- package/dist/cdn/{HE2EMIPI.js → CWSH6ABD.js} +1 -1
- package/dist/cdn/{BHM5WW5A.js → D2FHJKEM.js} +1 -1
- package/dist/cdn/{RUOVJOLE.js → D4TOQNCU.js} +1 -1
- package/dist/cdn/{WOEZ7IZP.js → DBNKQMIS.js} +1 -1
- package/dist/cdn/{7BL4R6UO.js → DDEQXTIN.js} +1 -1
- package/dist/cdn/{JZLBVTTJ.js → DJHSLZYG.js} +1 -1
- package/dist/cdn/{W2BFLHN5.js → DJR4NP75.js} +1 -1
- package/dist/cdn/{MCGJBF6G.js → DORW2LWD.js} +1 -1
- package/dist/cdn/{444XIRZM.js → DWP6WO64.js} +1 -1
- package/dist/cdn/{VBIZIGF3.js → E4G2DFST.js} +1 -1
- package/dist/cdn/{3ZOV6BXY.js → E6CHHNGI.js} +1 -1
- package/dist/cdn/{FAXGMRG4.js → ECGOLYRC.js} +1 -1
- package/dist/cdn/{YVIMCR3P.js → EFZGV7BB.js} +1 -1
- package/dist/cdn/{QNFTWF3H.js → EGTZGR5Q.js} +1 -1
- package/dist/cdn/{ZWFVPETR.js → EHDRWNU7.js} +1 -1
- package/dist/cdn/{NJUXKUDJ.js → EK626V7O.js} +1 -1
- package/dist/cdn/{FBRFXPYT.js → ENERCE5V.js} +1 -1
- package/dist/cdn/{74OHXSLR.js → EOWJMICO.js} +1 -1
- package/dist/cdn/{RT4IDHHI.js → F5CEJR6E.js} +1 -1
- package/dist/cdn/{O62ODZW4.js → FIXHAXNJ.js} +1 -1
- package/dist/cdn/{54IVMNFB.js → FLB7IDTC.js} +1 -1
- package/dist/cdn/{AXRMZ7U6.js → FOEI4BIF.js} +1 -1
- package/dist/cdn/{GLGLU47Q.js → FOJTY2PN.js} +1 -1
- package/dist/cdn/{6O2ZQG6K.js → FTFAVGGG.js} +1 -1
- package/dist/cdn/{RWOVJDSP.js → FUWVQHGU.js} +1 -1
- package/dist/cdn/{HIP6RFN2.js → GIUWHWKP.js} +1 -1
- package/dist/cdn/{KM32PCCD.js → H7BST4WE.js} +1 -1
- package/dist/cdn/{3Q7XL7W7.js → HICD6KZN.js} +1 -1
- package/dist/cdn/{RZMAT6ZB.js → HKOW6E75.js} +1 -1
- package/dist/cdn/{TCLV7Q7J.js → HO5EHD4Q.js} +1 -1
- package/dist/cdn/{EB57QKAY.js → HZJGNPS5.js} +1 -1
- package/dist/cdn/{Q76ESOVF.js → IIJWWPTR.js} +1 -1
- package/dist/cdn/{OZS77YEK.js → IJA6A5XJ.js} +1 -1
- package/dist/cdn/{HMJE37EF.js → IL67G5ES.js} +1 -1
- package/dist/cdn/{XV5BKEEX.js → ILYRBART.js} +1 -1
- package/dist/cdn/{R4CKGCKN.js → IMLRL4TT.js} +1 -1
- package/dist/cdn/{JJNMGYIF.js → IUCRZBTS.js} +1 -1
- package/dist/cdn/{26UCEAP3.js → IVSF6LF7.js} +1 -1
- package/dist/cdn/{G73P2REW.js → IWNGWICC.js} +1 -1
- package/dist/cdn/{PEZSSXWS.js → IWVL7BCD.js} +1 -1
- package/dist/cdn/{B4U3EWER.js → IYGLH3HC.js} +1 -1
- package/dist/cdn/{FPYYHVUG.js → JAYBYVK2.js} +1 -1
- package/dist/cdn/{ZGXLR24C.js → JF5MSIDO.js} +1 -1
- package/dist/cdn/{REPV7Y3Z.js → JI5SELO3.js} +1 -1
- package/dist/cdn/{NDOU6XUL.js → JJWNJVF7.js} +1 -1
- package/dist/cdn/{CKYQURFS.js → JO35XI2Q.js} +1 -1
- package/dist/cdn/{ET47SHS3.js → JXR3Z5BL.js} +1 -1
- package/dist/cdn/{KCSDUZEW.js → JZNC5RPG.js} +1 -1
- package/dist/cdn/{MIX2NW3K.js → JZV4ZA33.js} +1 -1
- package/dist/cdn/{5DWOHF4O.js → K2GJXS6M.js} +1 -1
- package/dist/cdn/{BU3L3NMX.js → KBZRZ7FE.js} +1 -1
- package/dist/cdn/{A2JM7YOI.js → KHX3QKLY.js} +1 -1
- package/dist/cdn/{YA6XYOU6.js → KN6CIPIL.js} +1 -1
- package/dist/cdn/{Y7E4JKAI.js → KQ3ANL7Q.js} +1 -1
- package/dist/cdn/{FMALIUO4.js → L23UMDH7.js} +1 -1
- package/dist/cdn/{JTWSHWNO.js → L2IA7REJ.js} +1 -1
- package/dist/cdn/{URLJ4O3R.js → LFLO3K7S.js} +1 -1
- package/dist/cdn/{2SVYHHVN.js → LFR4RHG7.js} +1 -1
- package/dist/cdn/{CZQ5NDPB.js → LLRGKMAO.js} +1 -1
- package/dist/cdn/{6PR5ZAGE.js → LPBCWFSL.js} +1 -1
- package/dist/cdn/{4FTAIGTM.js → LQSPOOBC.js} +1 -1
- package/dist/cdn/{VOC4AMMN.js → LUXON2DK.js} +1 -1
- package/dist/cdn/LYE4XH2C.js +2 -0
- package/dist/cdn/{XAXPEQ52.js → MD37AP6L.js} +1 -1
- package/dist/cdn/{BUL44EC3.js → ME2YSIDJ.js} +1 -1
- package/dist/cdn/{JTWYBRTA.js → MF7A7FP3.js} +1 -1
- package/dist/cdn/{XGBC6MSH.js → MLCDAZXG.js} +1 -1
- package/dist/cdn/{A67UIGNH.js → MSDJ4J72.js} +1 -1
- package/dist/cdn/{B65SDLV4.js → MWXBO253.js} +1 -1
- package/dist/cdn/{EWEYUKDY.js → NJCBI53B.js} +1 -1
- package/dist/cdn/{OMFGZXZL.js → NPXFM5C6.js} +1 -1
- package/dist/cdn/{ERBWWZQA.js → NZ72I4MD.js} +1 -1
- package/dist/cdn/{S75CBWY7.js → OHKNM542.js} +1 -1
- package/dist/cdn/{NQRQEZLD.js → OKSG5RMW.js} +1 -1
- package/dist/cdn/{U2E3O2S4.js → OMIQDJ4B.js} +1 -1
- package/dist/cdn/{YXT4NNLG.js → ONPKLGB5.js} +1 -1
- package/dist/cdn/{WJ5C5UAU.js → OQ3OTXA5.js} +1 -1
- package/dist/cdn/{POD3MFGZ.js → OUKZCCGH.js} +1 -1
- package/dist/cdn/{FTLFLDIB.js → OUVF5KOE.js} +1 -1
- package/dist/cdn/{CRZ4HTQ7.js → P25JZU6K.js} +1 -1
- package/dist/cdn/{GGQGE7ZF.js → P3NIJQGI.js} +1 -1
- package/dist/cdn/{VKQ2KPFK.js → P5PUNRR5.js} +1 -1
- package/dist/cdn/{IJ5E43JT.js → PA7TTVHW.js} +1 -1
- package/dist/cdn/{IPUTUWHD.js → PAOKXCI3.js} +1 -1
- package/dist/cdn/{OXWTHPY6.js → PCZXZD67.js} +1 -1
- package/dist/cdn/{FLJEHVGP.js → PIJRH7XZ.js} +1 -1
- package/dist/cdn/{KTFH4OMN.js → PRMAAVYM.js} +1 -1
- package/dist/cdn/{7W7KIY47.js → PZXLONQZ.js} +1 -1
- package/dist/cdn/{H7QIL2RM.js → Q3CQJDJU.js} +1 -1
- package/dist/cdn/{PLZPYBQR.js → Q3SGD4CQ.js} +1 -1
- package/dist/cdn/{7LO5AUFO.js → QAZXZZRD.js} +1 -1
- package/dist/cdn/{ULULSU27.js → QC3JHUEY.js} +1 -1
- package/dist/cdn/{57JWHCAH.js → QC6JD4Q6.js} +1 -1
- package/dist/cdn/{FWBUBKS7.js → QR5755FP.js} +1 -1
- package/dist/cdn/{QIJP3J5Z.js → QRKLM35H.js} +1 -1
- package/dist/cdn/{MKIJ4OO6.js → QVQ5SS5C.js} +1 -1
- package/dist/cdn/{PWV6D2SL.js → R2SCOXNL.js} +1 -1
- package/dist/cdn/{5XL57S3R.js → RAVQH7SL.js} +1 -1
- package/dist/cdn/{K6GXXW3D.js → RHQDTTLQ.js} +1 -1
- package/dist/cdn/{OHQWZMXB.js → S6F2DL6Z.js} +1 -1
- package/dist/cdn/{BLTDBKUR.js → SGIYN2YV.js} +1 -1
- package/dist/cdn/{ZTQHMZWL.js → SKOJF2MZ.js} +1 -1
- package/dist/cdn/{5GAZ5576.js → T4ZMD4RZ.js} +1 -1
- package/dist/cdn/{XQOKECHI.js → TFKJ4ASO.js} +1 -1
- package/dist/cdn/{VNNHQTF5.js → TG6IUKL5.js} +1 -1
- package/dist/cdn/{OIRQX4K4.js → TKKFH4ZK.js} +1 -1
- package/dist/cdn/{N7JNITFB.js → TRQCIDIC.js} +1 -1
- package/dist/cdn/{X562IF4C.js → TUNDHODB.js} +1 -1
- package/dist/cdn/{FQGSB7BH.js → UEOHVILO.js} +1 -1
- package/dist/cdn/UGAQS53P.js +2 -0
- package/dist/cdn/{NM6TCMXU.js → UIHJBUN3.js} +1 -1
- package/dist/cdn/{KYPWKQTO.js → ULND5A5Z.js} +1 -1
- package/dist/cdn/{SLZSHM5D.js → UNPMMZ4E.js} +1 -1
- package/dist/cdn/{Y5XRMGH4.js → V767TMLL.js} +1 -1
- package/dist/cdn/{O75XVQT5.js → VH6J6GS2.js} +1 -1
- package/dist/cdn/{HCVJLZP6.js → VHMRV5D6.js} +1 -1
- package/dist/cdn/{5F2P2HHQ.js → VJAO4YEW.js} +1 -1
- package/dist/cdn/{ISKWJGGD.js → W4IAXXGY.js} +1 -1
- package/dist/cdn/{IUT2VFA4.js → W4X4JIJC.js} +1 -1
- package/dist/cdn/{RMKR32JP.js → WASSAAX3.js} +1 -1
- package/dist/cdn/{P7P7J36T.js → WFTLB3TR.js} +1 -1
- package/dist/cdn/{IRVSV5KJ.js → WGN2LL7W.js} +1 -1
- package/dist/cdn/{5QQGD5IE.js → WIMZORMK.js} +1 -1
- package/dist/cdn/{34YLSNWS.js → WVHSQJ33.js} +1 -1
- package/dist/cdn/{FIBOLFW6.js → X3KE7ZGS.js} +1 -1
- package/dist/cdn/{A7DUC33A.js → XE3GCIXB.js} +1 -1
- package/dist/cdn/{SUC5V273.js → XEL7P6GL.js} +1 -1
- package/dist/cdn/{U67IMY5G.js → XFTWLHQY.js} +1 -1
- package/dist/cdn/{JXDYG2IQ.js → Y47MW44T.js} +1 -1
- package/dist/cdn/{CXOB4PZV.js → YDQZZV3P.js} +1 -1
- package/dist/cdn/{MTX42FRB.js → YW6R6MDN.js} +1 -1
- package/dist/cdn/{G52VTWWT.js → YXDLDSVH.js} +1 -1
- package/dist/cdn/{2CD26SYH.js → YYQT3KUC.js} +1 -1
- package/dist/cdn/{DMKJ6K6T.js → Z5PMRNPB.js} +1 -1
- package/dist/cdn/{C6AF4MSP.js → ZGBQZPFM.js} +1 -1
- package/dist/cdn/{CX6UPSNM.js → ZHRHCMJQ.js} +1 -1
- package/dist/cdn/{7HU5L4UW.js → ZSONBH36.js} +1 -1
- package/dist/cdn/{SQ4TM5PR.js → ZXEFQS3E.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +36 -2
- package/dist/components/arcgis-editor/customElement.js +22 -13
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-paste/customElement.js +33 -20
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +5 -5
- 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 +1 -1
- package/package.json +4 -4
- package/dist/cdn/6NP6SP7N.js +0 -2
- package/dist/cdn/JR6VM7VT.js +0 -2
- package/dist/cdn/Q3G44O4X.js +0 -2
|
@@ -43,7 +43,7 @@ function Ee(e, t, i, a, s, o) {
|
|
|
43
43
|
const g = o.objectIdField ?? "";
|
|
44
44
|
return e.forEach((m) => {
|
|
45
45
|
if (m.name !== g && !h.includes(m.name) && !p.includes(m.name) && !s.includes(m.name) && m.type !== "global-id" && (u === "" || u !== m.name)) {
|
|
46
|
-
const f =
|
|
46
|
+
const f = Ge(m, t);
|
|
47
47
|
f.match && f.targetField && (l[f.targetField?.name] = i[m.name]);
|
|
48
48
|
}
|
|
49
49
|
}), l;
|
|
@@ -68,7 +68,7 @@ function Te(e, t) {
|
|
|
68
68
|
return !1;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Ge(e, t) {
|
|
72
72
|
const i = { match: !1, sourceField: null, targetField: null };
|
|
73
73
|
for (const a of t)
|
|
74
74
|
if (Te(e, a)) {
|
|
@@ -82,7 +82,7 @@ async function se(e, t, i, a) {
|
|
|
82
82
|
let s = !0;
|
|
83
83
|
const o = { hasAsyncArcadeExpressions: !1 }, l = e.items.filter((h) => h.type === "add");
|
|
84
84
|
for (const h of l) {
|
|
85
|
-
const p = h.graphic.clone(), u =
|
|
85
|
+
const p = h.graphic.clone(), u = Oe(
|
|
86
86
|
h.graphic,
|
|
87
87
|
h.layer
|
|
88
88
|
);
|
|
@@ -109,7 +109,7 @@ async function se(e, t, i, a) {
|
|
|
109
109
|
}
|
|
110
110
|
return s;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Oe(e, t) {
|
|
113
113
|
if (t.type === "feature" || t.type === "subtype-sublayer")
|
|
114
114
|
return t;
|
|
115
115
|
const i = t.findSublayerForFeature(e);
|
|
@@ -416,7 +416,7 @@ A([
|
|
|
416
416
|
v = A([
|
|
417
417
|
C("components.paste.commands.PasteCommand")
|
|
418
418
|
], v);
|
|
419
|
-
var Be = Object.defineProperty, je = Object.getOwnPropertyDescriptor,
|
|
419
|
+
var Be = Object.defineProperty, je = Object.getOwnPropertyDescriptor, G = (e, t, i, a) => {
|
|
420
420
|
for (var s = a > 1 ? void 0 : a ? je(t, i) : t, o = e.length - 1, l; o >= 0; o--)
|
|
421
421
|
(l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
|
|
422
422
|
return a && s && Be(t, i, s), s;
|
|
@@ -533,25 +533,25 @@ let F = class extends v {
|
|
|
533
533
|
return e.pasteAppendTitle;
|
|
534
534
|
}
|
|
535
535
|
};
|
|
536
|
-
|
|
536
|
+
G([
|
|
537
537
|
r()
|
|
538
538
|
], F.prototype, "id", 1);
|
|
539
|
-
|
|
539
|
+
G([
|
|
540
540
|
r()
|
|
541
541
|
], F.prototype, "icon", 1);
|
|
542
|
-
|
|
542
|
+
G([
|
|
543
543
|
r()
|
|
544
544
|
], F.prototype, "immediate", 1);
|
|
545
|
-
|
|
545
|
+
G([
|
|
546
546
|
r()
|
|
547
547
|
], F.prototype, "mustShowOnCommandPage", 1);
|
|
548
|
-
|
|
548
|
+
G([
|
|
549
549
|
r()
|
|
550
550
|
], F.prototype, "commandEnabled", 1);
|
|
551
|
-
F =
|
|
551
|
+
F = G([
|
|
552
552
|
C("components.paste.commands.PasteAppendCommand")
|
|
553
553
|
], F);
|
|
554
|
-
var We = Object.defineProperty, Re = Object.getOwnPropertyDescriptor,
|
|
554
|
+
var We = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
|
|
555
555
|
for (var s = a > 1 ? void 0 : a ? Re(t, i) : t, o = e.length - 1, l; o >= 0; o--)
|
|
556
556
|
(l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
|
|
557
557
|
return a && s && We(t, i, s), s;
|
|
@@ -669,22 +669,22 @@ let _ = class extends v {
|
|
|
669
669
|
return e.pasteSubtractTitle;
|
|
670
670
|
}
|
|
671
671
|
};
|
|
672
|
-
|
|
672
|
+
O([
|
|
673
673
|
r()
|
|
674
674
|
], _.prototype, "id", 1);
|
|
675
|
-
|
|
675
|
+
O([
|
|
676
676
|
r()
|
|
677
677
|
], _.prototype, "icon", 1);
|
|
678
|
-
|
|
678
|
+
O([
|
|
679
679
|
r()
|
|
680
680
|
], _.prototype, "immediate", 1);
|
|
681
|
-
|
|
681
|
+
O([
|
|
682
682
|
r()
|
|
683
683
|
], _.prototype, "mustShowOnCommandPage", 1);
|
|
684
|
-
|
|
684
|
+
O([
|
|
685
685
|
r()
|
|
686
686
|
], _.prototype, "commandEnabled", 1);
|
|
687
|
-
_ =
|
|
687
|
+
_ = O([
|
|
688
688
|
C("components.paste.commands.PasteSubtractCommand")
|
|
689
689
|
], _);
|
|
690
690
|
var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
|
|
@@ -1636,6 +1636,19 @@ class st extends he {
|
|
|
1636
1636
|
_updateBauViewModelFields(t) {
|
|
1637
1637
|
this.viewModel.bauActiveFeatureIndex = t.activeFeatureIndex, this.viewModel.bauInvalidFeatures = t.invalidFeatures, this.viewModel.bauFormValid = t.valid, this.viewModel.bauFormUpdating = t.updating, this.viewModel.bauHasTooManyComplexFeatures = t.hasTooManyComplexFeatures, this.viewModel.bauHasTooManyFeatures = t.hasTooManyFeatures;
|
|
1638
1638
|
}
|
|
1639
|
+
_copyAcrossValidMultiFormFieldValues() {
|
|
1640
|
+
try {
|
|
1641
|
+
if (this._bauForm.value?.status !== "loaded")
|
|
1642
|
+
return;
|
|
1643
|
+
const t = this._bauForm.value;
|
|
1644
|
+
let i = 0;
|
|
1645
|
+
for (const a of this.viewModel.bauFeatures?.toArray() ?? []) {
|
|
1646
|
+
const s = this.viewModel.bauOriginalGraphics[i];
|
|
1647
|
+
this.viewModel.formFeatureValuesChanged(s, t.getValues(a)), i++;
|
|
1648
|
+
}
|
|
1649
|
+
} catch {
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1639
1652
|
_handleClickAway(t) {
|
|
1640
1653
|
if (!this._showFloatingChoice || !this._floatingChoiceContainer.value)
|
|
1641
1654
|
return;
|
|
@@ -1807,7 +1820,7 @@ class st extends he {
|
|
|
1807
1820
|
this._bauForm.value?.goToFirstError();
|
|
1808
1821
|
return;
|
|
1809
1822
|
}
|
|
1810
|
-
this.viewModel.lastPasteError = void 0, this.viewModel.runPasteFormCommand({
|
|
1823
|
+
this._copyAcrossValidMultiFormFieldValues(), this.viewModel.lastPasteError = void 0, this.viewModel.runPasteFormCommand({
|
|
1811
1824
|
closeAfterApply: () => {
|
|
1812
1825
|
this._handleCloseAfterApply();
|
|
1813
1826
|
},
|
|
@@ -1837,7 +1850,7 @@ class st extends he {
|
|
|
1837
1850
|
}}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!o || a || !i} @click=${() => {
|
|
1838
1851
|
this.viewModel.nextActiveFeature();
|
|
1839
1852
|
}}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${me(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .view=${this.view} .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${(p) => {
|
|
1840
|
-
this._updateBauViewModelFields(p.target);
|
|
1853
|
+
this._updateBauViewModelFields(p.target), p.detail.name === "status" && p.target.status === "loaded" && this._copyAcrossValidMultiFormFieldValues();
|
|
1841
1854
|
}} @arcgisValueChange=${(p) => {
|
|
1842
1855
|
let u = 0;
|
|
1843
1856
|
for (const g of this.viewModel.bauFeatures?.toArray() ?? []) {
|
|
@@ -10,14 +10,14 @@ import { log as u, composeMissingPropertyMessage as m, composeEmptyPropertyMessa
|
|
|
10
10
|
import { css as L, html as r } from "lit";
|
|
11
11
|
import { u as C } from "../../chunks/useT9n.js";
|
|
12
12
|
import { h as y } from "../../chunks/feature-utils.js";
|
|
13
|
-
import { createRef as
|
|
14
|
-
const
|
|
13
|
+
import { createRef as T, ref as g } from "lit/directives/ref.js";
|
|
14
|
+
const R = L`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, p = {
|
|
15
15
|
dirtyAreasDiscovered: -2147208511,
|
|
16
16
|
noValidControllers: -2147208935
|
|
17
17
|
};
|
|
18
18
|
class E extends F {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = C({ blocking: !0 }), this._elementsWithoutLayer = [], this._popoverRef =
|
|
20
|
+
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = C({ blocking: !0 }), this._elementsWithoutLayer = [], this._popoverRef = T(), this._featuresFromSelectedLayer = [], this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._compareByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
|
|
21
21
|
const a = e[0].feature.layer, s = t[0].feature.layer, c = a?.title ?? "", l = s?.title ?? "";
|
|
22
22
|
return c.localeCompare(l, void 0, { numeric: !0 });
|
|
23
23
|
}, this._queryFeaturesOnLayer = async ([e, t]) => {
|
|
@@ -56,7 +56,7 @@ class E extends F {
|
|
|
56
56
|
this.properties = { _aggregatedGeometryDisabled: 16, aggregatedGeometryGraphicsColor: 0, hideActionBar: 5, hideFeatureResults: 5, featuresFromSelectedLayer: 32, isElementsSelected: 5, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedFeature: 0, selectedLayer: 0, state: 1, traceConfigTitle: 1, traceError: 0, traceResult: 0, traceResultFeatures: 0, utilityNetwork: 0, view: 0, autoDestroyDisabled: 5 };
|
|
57
57
|
}
|
|
58
58
|
static {
|
|
59
|
-
this.styles =
|
|
59
|
+
this.styles = R;
|
|
60
60
|
}
|
|
61
61
|
get featuresFromSelectedLayer() {
|
|
62
62
|
return this._featuresFromSelectedLayer.map(({ feature: e }) => e);
|
|
@@ -186,7 +186,7 @@ class E extends F {
|
|
|
186
186
|
return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
187
187
|
}
|
|
188
188
|
_renderFunctionsResults(e) {
|
|
189
|
-
return r`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter((t) => t.networkAttributeName != null && t.result != null).map((t) => r`<calcite-table-row><calcite-table-cell>${t.networkAttributeName}</calcite-table-cell><calcite-table-cell>${t.result}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
189
|
+
return r`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter((t) => t.networkAttributeName != null && t.result != null && t.functionType != null).map((t) => r`<calcite-table-row><calcite-table-cell>${`${t.networkAttributeName} ${t.functionType}`}</calcite-table-cell><calcite-table-cell>${t.result}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
190
190
|
}
|
|
191
191
|
_renderLayerList() {
|
|
192
192
|
const e = Array.from(this._layerIdToFeatures.entries()), t = Array.from(this._subtypeCodeToFeatures.entries()), s = e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);
|