@arcgis/map-components 5.0.7 → 5.0.9
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/{XQUFFAVE.js → 2GDXTIBA.js} +1 -1
- package/dist/cdn/{6TW3TH3F.js → 2NDFWUCM.js} +1 -1
- package/dist/cdn/{YZ3OIRPH.js → 2VFUNOJO.js} +1 -1
- package/dist/cdn/{ULNQNRPI.js → 3356KWA6.js} +1 -1
- package/dist/cdn/{LHZSABUF.js → 3AUCP5C4.js} +1 -1
- package/dist/cdn/{IT3XIGMY.js → 3C7TU26D.js} +1 -1
- package/dist/cdn/{VG4IR6U7.js → 46XXSXOH.js} +1 -1
- package/dist/cdn/{CWAXHT5Q.js → 4DXJDSVY.js} +1 -1
- package/dist/cdn/{KRA6QOT6.js → 4F6BUPI4.js} +1 -1
- package/dist/cdn/{57TOHZCV.js → 4K7LYUJT.js} +1 -1
- package/dist/cdn/{UEUDILMX.js → 4LKAHK66.js} +1 -1
- package/dist/cdn/{DSOPKYLA.js → 4MU7442G.js} +1 -1
- package/dist/cdn/{GRVEMZST.js → 4N3A7GAX.js} +1 -1
- package/dist/cdn/{W4VZJMRA.js → 4RVAIH7D.js} +1 -1
- package/dist/cdn/{6O4LPB6L.js → 56EDKDTA.js} +1 -1
- package/dist/cdn/{JGHCUMHU.js → 5AMDPFRT.js} +1 -1
- package/dist/cdn/{62A7J3S7.js → 5D3OPFO6.js} +1 -1
- package/dist/cdn/{U7VLLQDO.js → 5NNCHNZL.js} +1 -1
- package/dist/cdn/{4QYOXNR7.js → 63PV4O2C.js} +1 -1
- package/dist/cdn/{MVN5REQH.js → 656A5BJR.js} +1 -1
- package/dist/cdn/{XERAD2KY.js → 67MVWL3M.js} +1 -1
- package/dist/cdn/6AEBTGQW.js +2 -0
- package/dist/cdn/{YESGJWW7.js → 6EXCNT6F.js} +1 -1
- package/dist/cdn/{UPQAP5NB.js → 6FZOIAHV.js} +1 -1
- package/dist/cdn/{KHVD6KQW.js → 6PEKCA6M.js} +1 -1
- package/dist/cdn/{DEUFRQAL.js → 6S5FGC2T.js} +1 -1
- package/dist/cdn/{Z4LZIRG5.js → 6XA4QYJD.js} +1 -1
- package/dist/cdn/{HYIJVFBU.js → 6ZCI374D.js} +1 -1
- package/dist/cdn/{4HF27VJZ.js → 75RW2J4E.js} +1 -1
- package/dist/cdn/{UFETIEJX.js → 76UNLRRT.js} +1 -1
- package/dist/cdn/{BVVHEV3V.js → 7LUSV2BU.js} +1 -1
- package/dist/cdn/{VXWIWALW.js → 7OYKJVUA.js} +1 -1
- package/dist/cdn/{3MRNZYFC.js → 7PC6HJRZ.js} +1 -1
- package/dist/cdn/7TXQADKX.js +2 -0
- package/dist/cdn/{XAK5PGRF.js → 7YPGUOXF.js} +1 -1
- package/dist/cdn/{7NEMEVJJ.js → A4HJGXJA.js} +1 -1
- package/dist/cdn/{AA4AFWMY.js → A6HGLWAQ.js} +1 -1
- package/dist/cdn/{LVR27TES.js → ADBVVI6T.js} +1 -1
- package/dist/cdn/{KHJ5I2PT.js → AJYPWDQ4.js} +1 -1
- package/dist/cdn/{O2BQYNH6.js → AKJTI3CB.js} +1 -1
- package/dist/cdn/{2YLEEWRD.js → AUNGDJFX.js} +1 -1
- package/dist/cdn/{GWH5Z5JM.js → AUQ6QBNN.js} +1 -1
- package/dist/cdn/{KNZKCSOA.js → B2IKRFCZ.js} +1 -1
- package/dist/cdn/{XINADPUJ.js → BCJACM5B.js} +1 -1
- package/dist/cdn/{ZSEMNLLS.js → BK2BEM7X.js} +1 -1
- package/dist/cdn/{EQSKBN2K.js → BL36LEOA.js} +1 -1
- package/dist/cdn/{MYKITD46.js → CHG6QQTJ.js} +1 -1
- package/dist/cdn/{ZSMJPZPF.js → CHWPXOTK.js} +1 -1
- package/dist/cdn/{A7JT5TOB.js → COPEBB4O.js} +1 -1
- package/dist/cdn/{UPFBAZK5.js → COQ2XJC2.js} +1 -1
- package/dist/cdn/{7IKCCOOZ.js → CP66DHOB.js} +1 -1
- package/dist/cdn/{NC3XVYVP.js → CRAVU4NQ.js} +1 -1
- package/dist/cdn/{VG5QA56K.js → D54LG5AH.js} +1 -1
- package/dist/cdn/{BTH6ICYS.js → DILQ5ZHW.js} +1 -1
- package/dist/cdn/{JA76AUK2.js → DMNCKH5P.js} +1 -1
- package/dist/cdn/{QDM2SBOB.js → DSCMKLP7.js} +1 -1
- package/dist/cdn/{ALCV7USW.js → DUDKIKOL.js} +1 -1
- package/dist/cdn/{K5SF7YJH.js → DZZBM4W2.js} +1 -1
- package/dist/cdn/{FIHXIVM5.js → E2ZRNLQ4.js} +1 -1
- package/dist/cdn/{KNI2N2OE.js → EJ423JFJ.js} +1 -1
- package/dist/cdn/{OEV5YUSX.js → EO3XOH62.js} +1 -1
- package/dist/cdn/{P3JB5WBB.js → EOTTDTPX.js} +1 -1
- package/dist/cdn/{VVEC67KF.js → EVVN2KOH.js} +1 -1
- package/dist/cdn/{ZXOIPWKI.js → EY5PJQ6D.js} +1 -1
- package/dist/cdn/{UNY3OYJL.js → F6VAE5XF.js} +1 -1
- package/dist/cdn/{NT4VPWMH.js → FCJDMEDA.js} +1 -1
- package/dist/cdn/{4KVF46EC.js → FDPOIISH.js} +1 -1
- package/dist/cdn/{VT42KE7G.js → FDZNQS6O.js} +1 -1
- package/dist/cdn/{BHUY2MZ4.js → FE2KPAWA.js} +1 -1
- package/dist/cdn/{KZAFUY2M.js → FMHE26OT.js} +1 -1
- package/dist/cdn/{EVFK6AMJ.js → FXK3JLXK.js} +1 -1
- package/dist/cdn/FYLODZUU.js +2 -0
- package/dist/cdn/{WZH57XJM.js → GDCXXLVQ.js} +1 -1
- package/dist/cdn/{JTHDHDFV.js → GWEYUTSQ.js} +1 -1
- package/dist/cdn/{LUJNFSIX.js → H44Z6WVT.js} +1 -1
- package/dist/cdn/{LCEVRYGY.js → HKN2NLWX.js} +1 -1
- package/dist/cdn/{UVPTTSAK.js → I7PBCEJQ.js} +1 -1
- package/dist/cdn/{3HJKBID2.js → IK576APM.js} +1 -1
- package/dist/cdn/{XW3SDFSJ.js → IKFSAA63.js} +1 -1
- package/dist/cdn/{YSJPVS5A.js → IQHLFXSQ.js} +1 -1
- package/dist/cdn/{VA7IMWYJ.js → J4XXGRHT.js} +1 -1
- package/dist/cdn/{W552SVC5.js → J6JGY46E.js} +1 -1
- package/dist/cdn/JCG55RIS.js +2 -0
- package/dist/cdn/{OIGWQHT5.js → JETFYEYK.js} +1 -1
- package/dist/cdn/{7WU3UNUO.js → JJPWMN6Z.js} +1 -1
- package/dist/cdn/{COEMJ5OB.js → JM2ZIXRR.js} +1 -1
- package/dist/cdn/{BWXHLMC2.js → K5FPQVY5.js} +1 -1
- package/dist/cdn/{4VQ35AFF.js → K6DPHLBT.js} +1 -1
- package/dist/cdn/{VNRYB6YW.js → KFIGHMHD.js} +1 -1
- package/dist/cdn/{BLMHLFEM.js → KGTP6M3K.js} +1 -1
- package/dist/cdn/{2JQF5LVF.js → KI5YLSI2.js} +1 -1
- package/dist/cdn/{OHRKDYQP.js → KJX5KQ6U.js} +1 -1
- package/dist/cdn/{S22G2XOT.js → KMWORGPV.js} +1 -1
- package/dist/cdn/{RDZVDEAZ.js → KNDCEBLE.js} +1 -1
- package/dist/cdn/{RU4GEDSF.js → KNEWXQBW.js} +1 -1
- package/dist/cdn/{I5XBORGZ.js → KS24TV5L.js} +1 -1
- package/dist/cdn/{3M5UFIEE.js → KX4GEWMJ.js} +1 -1
- package/dist/cdn/{BXHXV662.js → LIH5E6WA.js} +1 -1
- package/dist/cdn/{VQP7GKXZ.js → LUFXLPUS.js} +1 -1
- package/dist/cdn/{SUVF7BKT.js → LXD7K2NB.js} +1 -1
- package/dist/cdn/{5AP2DWEC.js → M4UKU7FG.js} +1 -1
- package/dist/cdn/{B3WCIKC7.js → MAN4QOFV.js} +1 -1
- package/dist/cdn/{CLGW7DEF.js → MDZFW3DQ.js} +1 -1
- package/dist/cdn/{7QQKMJPU.js → MI4TZ44E.js} +1 -1
- package/dist/cdn/{MAHJNLQC.js → MI5PGDZC.js} +1 -1
- package/dist/cdn/{FISA6CI5.js → MJDVSEKM.js} +1 -1
- package/dist/cdn/{DXGGAQ6O.js → MYEVEM6U.js} +1 -1
- package/dist/cdn/{F6O3VLJL.js → N2FBHLJW.js} +1 -1
- package/dist/cdn/{652DKGDP.js → N52FS26S.js} +1 -1
- package/dist/cdn/{ERRAWU7E.js → N7MAQR2P.js} +1 -1
- package/dist/cdn/{7YTCC5AG.js → NBZNGH27.js} +1 -1
- package/dist/cdn/{XSDJBJCI.js → NFKPGOKJ.js} +1 -1
- package/dist/cdn/{D6UZ4UT4.js → NI75EV4N.js} +1 -1
- package/dist/cdn/NPSSILOD.js +2 -0
- package/dist/cdn/{32OJSWU4.js → NXJOQCT6.js} +1 -1
- package/dist/cdn/{OEXF3UP6.js → O2OBJLFG.js} +1 -1
- package/dist/cdn/{5H3PNWWJ.js → O7IUDRS5.js} +1 -1
- package/dist/cdn/{EHQM3QME.js → OBNKAQHP.js} +1 -1
- package/dist/cdn/{JE2GQS3N.js → OCRVPZE6.js} +1 -1
- package/dist/cdn/{HZ7HCUI7.js → OI4OVNDW.js} +1 -1
- package/dist/cdn/{5ZBMDRAE.js → OL26TQG5.js} +1 -1
- package/dist/cdn/{EVBZD6PQ.js → OTFAWIH3.js} +1 -1
- package/dist/cdn/P3NP6ZB4.js +2 -0
- package/dist/cdn/{A4PW74TW.js → PAQQTN4Z.js} +1 -1
- package/dist/cdn/{26SY6GIW.js → PHJQSUIR.js} +1 -1
- package/dist/cdn/{2PRTG4BU.js → PKGONXXZ.js} +1 -1
- package/dist/cdn/{ELE6YHIX.js → PY26YT2O.js} +1 -1
- package/dist/cdn/{NFZMYCHM.js → QB4MVNYO.js} +1 -1
- package/dist/cdn/{6K4NWP3O.js → QGXVLS4I.js} +1 -1
- package/dist/cdn/{PO4IXXZO.js → QMAKTYHO.js} +1 -1
- package/dist/cdn/{O4GUUBUC.js → QWI55OUT.js} +1 -1
- package/dist/cdn/{WMQ4EJ4X.js → QXUAF4H2.js} +1 -1
- package/dist/cdn/{2OH7UV7K.js → REEE7ZD4.js} +1 -1
- package/dist/cdn/{HCRH3JZS.js → RFKTE5Y3.js} +1 -1
- package/dist/cdn/{FX37ZZMI.js → RJDETA6V.js} +1 -1
- package/dist/cdn/{JTL6JSMF.js → RL5ZSVTJ.js} +1 -1
- package/dist/cdn/{ZEA6VLCU.js → ROPP7UII.js} +1 -1
- package/dist/cdn/{RLRWO6KO.js → RVT4UILR.js} +1 -1
- package/dist/cdn/{Q2GT7UBT.js → S2VFUIM4.js} +1 -1
- package/dist/cdn/{772KVFAU.js → SEEERDMZ.js} +1 -1
- package/dist/cdn/{NVUYQESV.js → SIDLBPTD.js} +1 -1
- package/dist/cdn/{5S576S4D.js → TAZBTURG.js} +1 -1
- package/dist/cdn/TN2GQ6BU.js +2 -0
- package/dist/cdn/{VGMNRVQO.js → TPAIGYVQ.js} +1 -1
- package/dist/cdn/{SQOEXIRY.js → TY5ULV6U.js} +1 -1
- package/dist/cdn/{ZGWAFQXH.js → U4PSPA3N.js} +1 -1
- package/dist/cdn/{R57GBQHA.js → UFTCAB4S.js} +1 -1
- package/dist/cdn/UMD2QW7I.js +2 -0
- package/dist/cdn/{DFQRNPYS.js → UVHWOUPS.js} +1 -1
- package/dist/cdn/{OZBNYWU5.js → UXJ4HHI6.js} +1 -1
- package/dist/cdn/{F7R5YKHA.js → UZC7SU6P.js} +1 -1
- package/dist/cdn/{ILLJPATH.js → VBTL45PR.js} +1 -1
- package/dist/cdn/{7KRGSOZ3.js → VJAL4VSI.js} +1 -1
- package/dist/cdn/{LN6UH2PS.js → VNBEWPPA.js} +1 -1
- package/dist/cdn/{MBCRKKH7.js → VOF2BB42.js} +1 -1
- package/dist/cdn/{GB4E5URE.js → VQHABEOI.js} +1 -1
- package/dist/cdn/{KXW7MXVV.js → VQUGOVVC.js} +1 -1
- package/dist/cdn/{EFAOYXYX.js → VTY7CHHC.js} +1 -1
- package/dist/cdn/{TUADI3PU.js → W6PVXTJA.js} +1 -1
- package/dist/cdn/{5LAKSUES.js → WCSTDXKE.js} +1 -1
- package/dist/cdn/{46BGNUPO.js → WEFDSI5P.js} +1 -1
- package/dist/cdn/{JAY6K5KC.js → WQYJCP25.js} +1 -1
- package/dist/cdn/{LBVOBV74.js → X6GXBS3S.js} +1 -1
- package/dist/cdn/{4ODQ7RZW.js → XCO7R5FI.js} +1 -1
- package/dist/cdn/{2FXARGPS.js → XCQ7IZP7.js} +1 -1
- package/dist/cdn/{PIQ6X2DV.js → XGQ3KD67.js} +1 -1
- package/dist/cdn/{TJBJRZPF.js → XJSJ2OBF.js} +1 -1
- package/dist/cdn/{GHJPLHYF.js → XNHSEGEV.js} +1 -1
- package/dist/cdn/{RWDQTF77.js → XQZERL7P.js} +1 -1
- package/dist/cdn/{GTNTTWHY.js → XWIF2VCQ.js} +1 -1
- package/dist/cdn/{TS2KNYK2.js → XXYVU3ZY.js} +1 -1
- package/dist/cdn/{VPBINWBI.js → Y7W7LIQ5.js} +1 -1
- package/dist/cdn/{JX4IFVUU.js → YJQMZWR2.js} +1 -1
- package/dist/cdn/{TJQOWSFH.js → YKB6JXOW.js} +1 -1
- package/dist/cdn/{XW6XB654.js → YM4JSHPE.js} +1 -1
- package/dist/cdn/{Z37E2RJH.js → YWFYF2NQ.js} +1 -1
- package/dist/cdn/{B373IKEJ.js → YXB32YEG.js} +1 -1
- package/dist/cdn/{Y6NFUACE.js → Z523JA3N.js} +1 -1
- package/dist/cdn/{BED2H544.js → Z5QI4JII.js} +1 -1
- package/dist/cdn/{QIXCAWTA.js → ZAUN6QZE.js} +1 -1
- package/dist/cdn/{NZMI7J3C.js → ZBOE7CQG.js} +1 -1
- package/dist/cdn/ZJ7NFO4E.js +2 -0
- package/dist/cdn/{EMHIKGTD.js → ZLW34P3M.js} +1 -1
- package/dist/cdn/{RQRVOXT4.js → ZNNRV54H.js} +1 -1
- package/dist/cdn/{Y7NACMSX.js → ZWK7PABD.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-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +5 -5
- 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-analysis/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +11 -10
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +3 -3
- 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 +3 -3
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +4 -4
- package/dist/cdn/343XMMBE.js +0 -2
- package/dist/cdn/53T63PTP.js +0 -2
- 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/KQNENWKG.js +0 -2
- package/dist/cdn/MATFNQVX.js +0 -2
- package/dist/cdn/T5QX3VTK.js +0 -2
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { c as D } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as E, html as o } from "lit";
|
|
4
4
|
import { keyed as _ } from "lit/directives/keyed.js";
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
5
|
+
import B from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
7
7
|
import { classes as b } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { m as R } from "../../chunks/useViewModel.js";
|
|
@@ -37,14 +37,14 @@ const m = z.clone();
|
|
|
37
37
|
function W(c) {
|
|
38
38
|
return c?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
39
39
|
}
|
|
40
|
-
const X = R(
|
|
40
|
+
const X = R(B);
|
|
41
41
|
class q extends P {
|
|
42
42
|
constructor() {
|
|
43
43
|
super(...arguments), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
|
|
44
44
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
45
45
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
46
46
|
root: window.document
|
|
47
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = M(), this._featureMenuViewportNode = M(), this._actionBarMenuNode = M(), this._flowContainerNode = M(), this.messages =
|
|
47
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = M(), this._featureMenuViewportNode = M(), this._actionBarMenuNode = M(), this._flowContainerNode = M(), this.messages = O(), this._selectedFeatureComponent = M(), this._cancelOpenRelatedFeature = () => {
|
|
48
48
|
const { _openRelatedFeatureAbortController: e } = this;
|
|
49
49
|
e && e.abort(), this._openRelatedFeatureAbortController = null;
|
|
50
50
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.visible, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
@@ -375,7 +375,7 @@ class q extends P {
|
|
|
375
375
|
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${I > 0 ? o`<calcite-loader class="loader" inline .label=${n.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${n.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
376
376
|
}
|
|
377
377
|
_renderFlowItem(e, t) {
|
|
378
|
-
const { messages: i, hideCloseButton: n, active: s } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m), g = l && a;
|
|
378
|
+
const { messages: i, hideCloseButton: n, active: s } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m), g = !this.hideActionBar && l && a;
|
|
379
379
|
return o`<calcite-flow-item .closable=${!n} .closed=${!s} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(w) => {
|
|
380
380
|
w.preventDefault(), this._handleDrillInBackClick();
|
|
381
381
|
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${g ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
@@ -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 = {
|
|
@@ -173,6 +173,15 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
173
173
|
* ```
|
|
174
174
|
*/
|
|
175
175
|
accessor disableHighlightFeatureResults: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Indicates whether to hide the action bar that holds the feature's
|
|
178
|
+
* [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions)
|
|
179
|
+
* when selecting trace locations and viewing trace result features.
|
|
180
|
+
*
|
|
181
|
+
* @default false
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
accessor hideActionBar: boolean;
|
|
176
185
|
/**
|
|
177
186
|
* Whether to hide feature results in the results tab.
|
|
178
187
|
*
|
|
@@ -24,10 +24,10 @@ class $ extends v {
|
|
|
24
24
|
e && (this._traceInputsElement = e);
|
|
25
25
|
}, this._handleTraceResultsRefChange = (e) => {
|
|
26
26
|
e && (this._traceResultsElement = e);
|
|
27
|
-
}, this.activeTab = "input", this.showNoStartingPointsWarning = !1, this.mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new g([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideFeatureResults = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisHideGraphicsChange = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceResultFeaturesReady = l(), this.arcgisTraceResultClear = l(), this.arcgisReady = l();
|
|
27
|
+
}, this.activeTab = "input", this.showNoStartingPointsWarning = !1, this.mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new g([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideFeatureResults = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisHideGraphicsChange = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceResultFeaturesReady = l(), this.arcgisTraceResultClear = l(), this.arcgisReady = l();
|
|
28
28
|
}
|
|
29
29
|
static {
|
|
30
|
-
this.properties = { activeTab: 16, traceError: 16, traceResult: 16, showNoStartingPointsWarning: 16, mode: 16, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideFeatureResults: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
30
|
+
this.properties = { activeTab: 16, traceError: 16, traceResult: 16, showNoStartingPointsWarning: 16, mode: 16, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideFeatureResults: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
33
|
this.styles = T;
|
|
@@ -140,7 +140,7 @@ class $ extends v {
|
|
|
140
140
|
return r`<calcite-panel id=no-starting-points-panel><calcite-notice id=no-starting-points-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this.showNoStartingPointsWarning = !1}><div slot=title>${this._messages.errors.noStartingPointsTitle}</div><div slot=message>${this._messages.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
|
|
141
141
|
}
|
|
142
142
|
renderResultsTab() {
|
|
143
|
-
return h(`${this.el.id}__results-tab-item`, r`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? r`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : r`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceResultsRefChange)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
|
|
143
|
+
return h(`${this.el.id}__results-tab-item`, r`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? r`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : r`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .hideActionBar=${this.hideActionBar} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceResultsRefChange)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
|
|
144
144
|
}
|
|
145
145
|
renderResultsFooter() {
|
|
146
146
|
const { mode: e, state: t } = this;
|
|
@@ -152,7 +152,7 @@ class $ extends v {
|
|
|
152
152
|
}} .disabled=${!i} slot=footer>${s > 0 && !this.hideFeatureResults && t !== "executing" ? this._messages.buttons.clearResultsCustom.replace("{number}", s.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
|
|
153
153
|
}
|
|
154
154
|
renderInputTab() {
|
|
155
|
-
return h(`${this.el.id}__inputs-tab-item`, r`<calcite-tab .selected=${this.activeTab === "input"}><div class="inputs-tab-container">${this.showNoStartingPointsWarning && this.mode === "default" ? this.renderNoStartingPointsWarning() : null}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .referenceElement=${this.referenceElement} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
|
|
155
|
+
return h(`${this.el.id}__inputs-tab-item`, r`<calcite-tab .selected=${this.activeTab === "input"}><div class="inputs-tab-container">${this.showNoStartingPointsWarning && this.mode === "default" ? this.renderNoStartingPointsWarning() : null}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .referenceElement=${this.referenceElement} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} .hideActionBar=${this.hideActionBar} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
|
|
156
156
|
e.stopPropagation(), e.detail.name === "mode" && (this.mode = e.target.mode);
|
|
157
157
|
}} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceInputsRefChange)}></arcgis-utility-network-trace-inputs></div></calcite-tab>`);
|
|
158
158
|
}
|
|
@@ -120,6 +120,11 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
|
120
120
|
* @internal
|
|
121
121
|
*/
|
|
122
122
|
accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* @default false
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
accessor hideActionBar: boolean;
|
|
123
128
|
/** @default "default" */
|
|
124
129
|
accessor mode: UtilityNetworkTraceAnalysisDisplayMode;
|
|
125
130
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
@@ -36,13 +36,13 @@ class B extends v {
|
|
|
36
36
|
e && (this._traceLocationStoppingElement = e);
|
|
37
37
|
}, this._featuresComponentRefChange = (e) => {
|
|
38
38
|
e && (this._featuresComponentElement = e);
|
|
39
|
-
}, this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.mode = "default", this.arcgisPropertyChange = E()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = d(), this.arcgisTraceInputsChange = d(), this.arcgisTraceLocationSelectEnd = d(), this.arcgisTraceLocationSelectStart = d(), this.arcgisUtilityNetworkChange = d(), this.renderFeatureListItem = (e) => {
|
|
39
|
+
}, this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.mode = "default", this.arcgisPropertyChange = E()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = d(), this.arcgisTraceInputsChange = d(), this.arcgisTraceLocationSelectEnd = d(), this.arcgisTraceLocationSelectStart = d(), this.arcgisUtilityNetworkChange = d(), this.renderFeatureListItem = (e) => {
|
|
40
40
|
const { feature: t, label: i } = e;
|
|
41
41
|
return s`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this._handleFeatureSelectChange(t)}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
static {
|
|
45
|
-
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, _selectedFeature: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, unTraceConfiguration: 32, referenceElement: 1, mode: 3, traceLocations: 32 };
|
|
45
|
+
this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, _selectedFeature: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, hideActionBar: 5, unTraceConfiguration: 32, referenceElement: 1, mode: 3, traceLocations: 32 };
|
|
46
46
|
}
|
|
47
47
|
static {
|
|
48
48
|
this.styles = D;
|
|
@@ -357,7 +357,7 @@ class B extends v {
|
|
|
357
357
|
}
|
|
358
358
|
renderSelectedFeature() {
|
|
359
359
|
const { _selectedFeature: e } = this;
|
|
360
|
-
return e ? s`<arcgis-features .referenceElement=${this.referenceElement} .features=${[e]} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} open @arcgisClose=${() => this._handleFeaturesClose()} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._featuresComponentRefChange)}></arcgis-features>` : (this.mode = "default", null);
|
|
360
|
+
return e ? s`<arcgis-features .referenceElement=${this.referenceElement} .features=${[e]} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .hideActionBar=${this.hideActionBar} open @arcgisClose=${() => this._handleFeaturesClose()} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._featuresComponentRefChange)}></arcgis-features>` : (this.mode = "default", null);
|
|
361
361
|
}
|
|
362
362
|
renderAddSpatialFooter() {
|
|
363
363
|
const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = T(t.warnings.exceededDisplayLimit, {
|
|
@@ -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
|
};
|
|
@@ -98,6 +98,11 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
98
98
|
*/
|
|
99
99
|
accessor autoDestroyDisabled: boolean;
|
|
100
100
|
get featuresFromSelectedLayer(): Graphic[];
|
|
101
|
+
/**
|
|
102
|
+
* @default false
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
accessor hideActionBar: boolean;
|
|
101
106
|
/** @default false */
|
|
102
107
|
accessor hideFeatureResults: boolean;
|
|
103
108
|
/** @default false */
|
|
@@ -42,7 +42,7 @@ class E extends F {
|
|
|
42
42
|
e && (this._aggregatedGeometryComponentElement = e);
|
|
43
43
|
}, this._featuresRefChange = (e) => {
|
|
44
44
|
e && (this._featuresComponentElement = e);
|
|
45
|
-
}, this._aggregatedGeometryDisabled = !1, this.aggregatedGeometryGraphicsColor = new v([255, 255, 0, 0.6]), this.hideFeatureResults = !1, this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.traceResultFeatures = [], this.autoDestroyDisabled = !1, this.arcgisAggregatedGeometryGraphicsColorChange = n(), this.arcgisHideGraphicsChange = n(), this.arcgisSelectedLayerChange = n(), this.arcgisSelectedResultTypeChange = n(), this.arcgisTraceResultFeaturesReady = n(), this._renderLayerListItem = ([, e]) => {
|
|
45
|
+
}, this._aggregatedGeometryDisabled = !1, this.aggregatedGeometryGraphicsColor = new v([255, 255, 0, 0.6]), this.hideActionBar = !1, this.hideFeatureResults = !1, this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.traceResultFeatures = [], this.autoDestroyDisabled = !1, this.arcgisAggregatedGeometryGraphicsColorChange = n(), this.arcgisHideGraphicsChange = n(), this.arcgisSelectedLayerChange = n(), this.arcgisSelectedResultTypeChange = n(), this.arcgisTraceResultFeaturesReady = n(), this._renderLayerListItem = ([, e]) => {
|
|
46
46
|
if (!e.length)
|
|
47
47
|
return null;
|
|
48
48
|
const t = e[0].feature.layer, a = t?.title || this._messages.unknown;
|
|
@@ -53,7 +53,7 @@ class E extends F {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
static {
|
|
56
|
-
this.properties = { _aggregatedGeometryDisabled: 16, aggregatedGeometryGraphicsColor: 0, 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 };
|
|
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
59
|
this.styles = T;
|
|
@@ -156,7 +156,7 @@ class E extends F {
|
|
|
156
156
|
if (this.state === "loading")
|
|
157
157
|
return this._renderGettingResults();
|
|
158
158
|
if (this.selectedFeature)
|
|
159
|
-
return r`<arcgis-features .referenceElement=${this.referenceElement} .features=${[this.selectedFeature]} .view=${this.view} open .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} @arcgisClose=${() => this.selectedFeature = void 0} .autoDestroyDisabled=${this.autoDestroyDisabled} ${g(this._featuresRefChange)}></arcgis-features>`;
|
|
159
|
+
return r`<arcgis-features .referenceElement=${this.referenceElement} .features=${[this.selectedFeature]} .view=${this.view} open .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .hideActionBar=${this.hideActionBar} @arcgisClose=${() => this.selectedFeature = void 0} .autoDestroyDisabled=${this.autoDestroyDisabled} ${g(this._featuresRefChange)}></arcgis-features>`;
|
|
160
160
|
const l = a.length > 0 && !s.length && !c;
|
|
161
161
|
return this.hideFeatureResults && l ? this._renderFeaturesAreHiddenLanding() : r`<calcite-flow>${l ? null : r`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(t)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}", this.numResults.toString())} .selected=${(l || this.isElementsSelected) && !this.selectedLayer} @calciteFlowItemBack=${() => this.isElementsSelected = !1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title ?? void 0} .description=${this._messages.headings.totalFeatures.replace("{number}", this._featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${() => this.selectedLayer = void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`;
|
|
162
162
|
}
|