@arcgis/map-components 5.2.0-next.96 → 5.2.0-next.98
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/{GIQDIWW4.js → 22VFTYTN.js} +1 -1
- package/dist/cdn/367Z3TKY.js +2 -0
- package/dist/cdn/{QTGJ2TIJ.js → 454H3MLO.js} +1 -1
- package/dist/cdn/{FRAZUJ7K.js → 4MSBOUHQ.js} +1 -1
- package/dist/cdn/{SK4OCYH7.js → 4YU2AF7S.js} +1 -1
- package/dist/cdn/5FWT3N7B.js +2 -0
- package/dist/cdn/6KYWLAYH.js +2 -0
- package/dist/cdn/6SEM26SM.js +2 -0
- package/dist/cdn/6ZE7BJTS.js +2 -0
- package/dist/cdn/72HH6FSN.js +2 -0
- package/dist/cdn/{LPB2JMJ5.js → 7F2DXC54.js} +1 -1
- package/dist/cdn/{Y56FOEA4.js → A3KD2UAY.js} +1 -1
- package/dist/cdn/{MXYWUI34.js → ASVNFERZ.js} +1 -1
- package/dist/cdn/{PWY44JI6.js → B4KOVXN3.js} +1 -1
- package/dist/cdn/{7TTSWTGP.js → BHENVS42.js} +1 -1
- package/dist/cdn/{VHHRBGXN.js → CJLML2XS.js} +1 -1
- package/dist/cdn/CKO4VE36.js +2 -0
- package/dist/cdn/{I3VQ46FA.js → EAQV7AZQ.js} +1 -1
- package/dist/cdn/{CEMBX25Q.js → EXIPQBCY.js} +1 -1
- package/dist/cdn/FCNNRX3Q.js +2 -0
- package/dist/cdn/FCVLHRLJ.js +2 -0
- package/dist/cdn/{3CHIGFZL.js → GLMK45AB.js} +1 -1
- package/dist/cdn/{S5XIZ2L4.js → HXNLIDLQ.js} +1 -1
- package/dist/cdn/{7ZZWKH2U.js → IPT3YBSG.js} +2 -2
- package/dist/cdn/{UAGCCYQB.js → IXDLJKJA.js} +1 -1
- package/dist/cdn/{B5FTF7WR.js → J624KHFL.js} +1 -1
- package/dist/cdn/{G2BLA5NQ.js → JAQYZZRT.js} +1 -1
- package/dist/cdn/{XAZNEI2W.js → LCG5BEEY.js} +1 -1
- package/dist/cdn/{VWV6XWSU.js → LW6SRLBI.js} +1 -1
- package/dist/cdn/{5SVULVBJ.js → MAILUSIQ.js} +1 -1
- package/dist/cdn/NRT2ZCWC.js +2 -0
- package/dist/cdn/{HOKDRJ4R.js → NSUQXUWH.js} +1 -1
- package/dist/cdn/{V42KBFW7.js → OCAPESF3.js} +1 -1
- package/dist/cdn/{F3JDX4A7.js → OMEJFPK7.js} +1 -1
- package/dist/cdn/{D6BWGR3Z.js → P5CQYFPA.js} +1 -1
- package/dist/cdn/R5GMCIAH.js +2 -0
- package/dist/cdn/{AKNAVXKD.js → RC7BSNQ3.js} +1 -1
- package/dist/cdn/SA4IYYIE.js +2 -0
- package/dist/cdn/{QD3GVN2C.js → SDY4E3WA.js} +1 -1
- package/dist/cdn/{CJ536VHT.js → SGU4TP7V.js} +1 -1
- package/dist/cdn/TDGEDT35.js +2 -0
- package/dist/cdn/{66PT52ED.js → TZEAPNBI.js} +1 -1
- package/dist/cdn/{CA5LXWO6.js → UOZG2EH7.js} +1 -1
- package/dist/cdn/{GMSIYMNC.js → UPJTKQR3.js} +1 -1
- package/dist/cdn/{2JLMOWRT.js → VULA5TJD.js} +1 -1
- package/dist/cdn/VZXCU47M.js +2 -0
- package/dist/cdn/{FRSROWP4.js → W6IFUQTQ.js} +1 -1
- package/dist/cdn/{SVJ7AEMP.js → WAFRMU5C.js} +1 -1
- package/dist/cdn/WLGR4IHZ.js +2 -0
- package/dist/cdn/{CX3OZJEH.js → WMK7RLBA.js} +1 -1
- package/dist/cdn/{4FVOBVTD.js → YEN7K65V.js} +2 -2
- package/dist/cdn/YVQJ4XD4.js +2 -0
- package/dist/cdn/{FZDURX2Y.js → YWOTHCBH.js} +1 -1
- package/dist/cdn/{N5VJ4SAX.js → ZCRUGROJ.js} +1 -1
- package/dist/cdn/{VT2IDAHB.js → ZUWNZX6G.js} +1 -1
- package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/layer-list-utils.js +23 -17
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/utils2.js +66 -50
- package/dist/chunks/utils3.js +50 -13
- package/dist/chunks/utils4.js +13 -45
- package/dist/chunks/utils5.js +51 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +21 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +16 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +6 -5
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +18 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +19 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +6 -6
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +20 -16
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +16 -0
- package/dist/components/arcgis-layer-list-next/customElement.js +49 -45
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +134 -10
- package/dist/components/arcgis-layer-list-next/types.d.ts +5 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +11 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -78
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +17 -25
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +37 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- 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 +7 -7
- package/dist/types/lumina.d.ts +9 -9
- package/dist/types/preact.d.ts +9 -9
- package/dist/types/react.d.ts +9 -9
- package/dist/types/stencil.d.ts +9 -9
- package/dist/utils/layer-list-utils.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cdn/376WTHOL.js +0 -2
- package/dist/cdn/4YFREAQ2.js +0 -2
- package/dist/cdn/ECXHREHJ.js +0 -2
- package/dist/cdn/FIIA3N5X.js +0 -2
- package/dist/cdn/HISWL3K3.js +0 -2
- package/dist/cdn/HPLMTKLF.js +0 -2
- package/dist/cdn/JKOIMKKL.js +0 -2
- package/dist/cdn/JOPAUFUX.js +0 -2
- package/dist/cdn/LDDAJOTV.js +0 -2
- package/dist/cdn/LMNH2RHA.js +0 -2
- package/dist/cdn/MBFY4GDJ.js +0 -2
- package/dist/cdn/PI55I5L7.js +0 -2
- package/dist/cdn/RCQKTBVC.js +0 -2
- package/dist/cdn/YDP5A3EP.js +0 -2
- package/dist/cdn/ZSDNX326.js +0 -2
- package/dist/chunks/layer-list-item.js +0 -181
- /package/dist/cdn/{WKBILCAY.js → 2ZG7S6GM.js} +0 -0
- /package/dist/cdn/{4WURS3DM.js → 3VWL4SN7.js} +0 -0
- /package/dist/cdn/{4GIRSQMC.js → 4F6FNH6V.js} +0 -0
- /package/dist/cdn/{KYWZUC6M.js → 4J6DMRVO.js} +0 -0
- /package/dist/cdn/{FVZJPOWC.js → 5OBSJYCP.js} +0 -0
- /package/dist/cdn/{5CB7FWG6.js → 657KH5W3.js} +0 -0
- /package/dist/cdn/{ESYSNSNH.js → 6B4ROFUM.js} +0 -0
- /package/dist/cdn/{RKXHWHFR.js → 6RT7GRX4.js} +0 -0
- /package/dist/cdn/{3ZXNGXHC.js → 7DI2ZSB3.js} +0 -0
- /package/dist/cdn/{4AEFZEGM.js → 7JKYXV7H.js} +0 -0
- /package/dist/cdn/{NDWLSQ4W.js → 7NO3F7GQ.js} +0 -0
- /package/dist/cdn/{4KYPBCNM.js → AA2HLLIM.js} +0 -0
- /package/dist/cdn/{BU5HRIOW.js → ADZF7IHV.js} +0 -0
- /package/dist/cdn/{B4RNNO6A.js → B6JLKBMG.js} +0 -0
- /package/dist/cdn/{ZOGRVFHK.js → D2FVI5JG.js} +0 -0
- /package/dist/cdn/{HW5YYDPC.js → D5LP3DJA.js} +0 -0
- /package/dist/cdn/{OJOQP2IU.js → DNQGXWL3.js} +0 -0
- /package/dist/cdn/{QU5PA5MZ.js → DSPV4EIK.js} +0 -0
- /package/dist/cdn/{FV7FUSTO.js → E3AEBH36.js} +0 -0
- /package/dist/cdn/{2EDZ2LNR.js → FRGVEQAZ.js} +0 -0
- /package/dist/cdn/{ZXEH6MEU.js → G7DHB4QN.js} +0 -0
- /package/dist/cdn/{MGILHYX4.js → GJAC7GKP.js} +0 -0
- /package/dist/cdn/{G42D353L.js → GLZMKGGW.js} +0 -0
- /package/dist/cdn/{WRKX7F2G.js → H3RDAWS7.js} +0 -0
- /package/dist/cdn/{YFM2SKWI.js → HDYBFSI5.js} +0 -0
- /package/dist/cdn/{NGQUETWM.js → HH4A44WX.js} +0 -0
- /package/dist/cdn/{5EU3QVP7.js → HRTVHZHG.js} +0 -0
- /package/dist/cdn/{7427KHVF.js → IU63DGNP.js} +0 -0
- /package/dist/cdn/{O3SPKYBG.js → J3KTKVLP.js} +0 -0
- /package/dist/cdn/{BV52G5DA.js → JHF7SGKM.js} +0 -0
- /package/dist/cdn/{GLKTAVV5.js → JU4MCJPU.js} +0 -0
- /package/dist/cdn/{77ZD2RFI.js → KVIE42LT.js} +0 -0
- /package/dist/cdn/{W2UZH6QI.js → LG3G4BFF.js} +0 -0
- /package/dist/cdn/{VDTRRLON.js → MDTNPISF.js} +0 -0
- /package/dist/cdn/{XYRTRBXU.js → OO4SKY7C.js} +0 -0
- /package/dist/cdn/{SNX6WY7J.js → OTTKYEPK.js} +0 -0
- /package/dist/cdn/{J4VKIBXE.js → QH4RNPEX.js} +0 -0
- /package/dist/cdn/{IHWFNEBS.js → QJBQ3JLC.js} +0 -0
- /package/dist/cdn/{KG3HVAZY.js → SE4NXMGA.js} +0 -0
- /package/dist/cdn/{AZWQWNTK.js → SOOVHYLT.js} +0 -0
- /package/dist/cdn/{KMNELKA3.js → T5QDEAAE.js} +0 -0
- /package/dist/cdn/{W2YB27M6.js → TKEBTPPA.js} +0 -0
- /package/dist/cdn/{6URW6H47.js → TTBQBEDS.js} +0 -0
- /package/dist/cdn/{BIKEUMV7.js → VFHHDNXC.js} +0 -0
- /package/dist/cdn/{QZHFPTSI.js → X2MAQDWV.js} +0 -0
- /package/dist/cdn/{LGNLLGA6.js → YWQU6EBN.js} +0 -0
|
@@ -7,7 +7,7 @@ import { classes as r } from "@arcgis/toolkit/dom";
|
|
|
7
7
|
import { H as w } from "../../chunks/heading.js";
|
|
8
8
|
import { g as f } from "../../chunks/globalCss.js";
|
|
9
9
|
import { a as _, g as v } from "../../chunks/titleUtils.js";
|
|
10
|
-
import { s as $, i as z, g as x } from "../../chunks/
|
|
10
|
+
import { s as $, i as z, g as x } from "../../chunks/utils3.js";
|
|
11
11
|
const C = k`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;height:100%;height:-moz-available;height:-webkit-fill-available;height:fill-available;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;
|
|
12
12
|
function F(m) {
|
|
13
13
|
return m ? m.r * 0.299 + m.g * 0.587 + m.b * 0.114 >= 127 : void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as P, html as X } from "lit";
|
|
4
4
|
import { LitElement as j, safeStyleMap as v, safeClassMap as Y } from "@arcgis/lumina";
|
|
5
|
-
import { s as k, g as I, p as R } from "../../chunks/
|
|
5
|
+
import { s as k, g as I, p as R } from "../../chunks/utils3.js";
|
|
6
6
|
const A = P`.size-ramp-container{display:flex;align-items:center;justify-content:center}.size-ramp-vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.size-ramp-label{margin:0 .5em;white-space:nowrap}.size-ramp-vertical-ramp{display:flex;flex-direction:column;align-items:center}.size-ramp-ramp{display:flex;flex-direction:row-reverse;align-items:center}.size-ramp-preview{display:flex}`, M = "#ddd";
|
|
7
7
|
function N(e) {
|
|
8
8
|
if (!e)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as s, html as l } from "lit";
|
|
4
4
|
import { LitElement as i, safeStyleMap as c, safeClassMap as o } from "@arcgis/lumina";
|
|
5
|
-
import { s as p, a as n } from "../../chunks/
|
|
5
|
+
import { s as p, a as n } from "../../chunks/utils3.js";
|
|
6
6
|
const m = s`.layer-row{display:flex}.layer-cell{padding:var(--calcite-space-2xs) 0;vertical-align:middle;word-break:break-word}.layer-cell-symbols{text-align:center}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.color-ramp{width:24px}.opacity-ramp{background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAG1pZjFhdmlmbWlhZgAAANZtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAImlsb2MAAAAAREAAAQABAAAAAAD6AAEAAAAAAAAAHgAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAVmlwcnAAAAA4aXBjbwAAAAxhdjFDgQAMAAAAABRpc3BlAAAAAAAAAAgAAAAIAAAAEHBpeGkAAAAAAwgICAAAABZpcG1hAAAAAAAAAAEAAQOBAgMAAAAmbWRhdBIACggYCL/kgIaDQjIQGAAAAEBAA1LuL7oS8L0QEA==)}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.layer-caption{display:table-caption;padding:var(--calcite-space-sm) 0}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`;
|
|
7
7
|
class d extends i {
|
|
8
8
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { css as f, html as s } from "lit";
|
|
|
4
4
|
import { LitElement as u, safeClassMap as m, nothing as o, safeStyleMap as $ } from "@arcgis/lumina";
|
|
5
5
|
import { classes as y } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { a as E, g as p } from "../../chunks/titleUtils.js";
|
|
7
|
-
import { s as h, i as L, g as b } from "../../chunks/
|
|
7
|
+
import { s as h, i as L, g as b } from "../../chunks/utils3.js";
|
|
8
8
|
const x = f`:host{contain:content}.layer-body:has(>arcgis-legend-classic-element){display:flex;flex-direction:column;gap:calc(var(--arcgis-internal-legend-layer-gap) / 2)}.layer-body arcgis-legend-classic-element{margin-inline-start:var(--arcgis-internal-legend-layer-padding)}.layer-table{display:table;width:100%}.layer-caption{display:table-caption;word-break:break-word;color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);padding-bottom:var(--calcite-space-sm)}.layer-row{display:table-row}.layer-body:has(>.layer-row+.layer-row)>.layer-row .layer-cell{padding-block:var(--calcite-space-2xs)}.layer-cell{vertical-align:middle;word-break:break-word;display:table-cell}.layer-cell-info{padding-inline-start:var(--calcite-space-xs);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.layer-cell-inline-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.imagery-layer-info-stretched{padding:0 2px;vertical-align:top}.layer-cell-symbols{text-align:center}.symbol{display:flex;justify-content:center}`;
|
|
9
9
|
class z extends u {
|
|
10
10
|
static {
|
|
@@ -4,7 +4,7 @@ import { css as n, html as i } from "lit";
|
|
|
4
4
|
import { LitElement as m, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
import { classes as l } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { g as o } from "../../chunks/titleUtils.js";
|
|
7
|
-
import { s as c, g as p } from "../../chunks/
|
|
7
|
+
import { s as c, g as p } from "../../chunks/utils3.js";
|
|
8
8
|
const d = n`.size-ramp-container{display:table}.size-ramp-row{display:table-row}.size-ramp-row:not(:last-child) .size-ramp-cell,.size-ramp-row:not(:last-child) .size-ramp-label{padding-bottom:var(--calcite-space-xs)}.size-ramp-cell{min-width:100px;vertical-align:middle;word-break:break-word;display:table-cell}.size-ramp-label{padding-inline-start:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.size-ramp-symbol-container{min-width:10px;text-align:center}.size-ramp-symbol{display:flex;justify-content:center}`;
|
|
9
9
|
class g extends m {
|
|
10
10
|
constructor() {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as W } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as X, html as v } from "lit";
|
|
4
4
|
import { LitElement as Y, safeStyleMap as b } from "@arcgis/lumina";
|
|
5
|
-
import { s as A, g as z, p as k } from "../../chunks/
|
|
5
|
+
import { s as A, g as z, p as k } from "../../chunks/utils3.js";
|
|
6
6
|
const C = X`.spike-ramp-container{display:flex;flex-direction:row;gap:var(--calcite-space-sm-plus)}.spike-ramp-preview-container{display:flex;position:relative;gap:var(--calcite-space-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding-inline-end:var(--calcite-space-xl)}.spike-ramp-preview{display:flex;gap:var(--calcite-space-sm-plus);align-items:end}.spike-ramp-symbol-preview{display:flex}.spike-ramp-lines{display:flex;position:absolute;bottom:0}.spike-ramp-labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.spike-ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.spike-ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`, I = "#ddd", e = window.devicePixelRatio;
|
|
7
7
|
function u(m) {
|
|
8
8
|
return m.infos.filter((r, o) => o % 2 === 0);
|
|
@@ -29,7 +29,7 @@ import W from "@arcgis/core/geometry/Point.js";
|
|
|
29
29
|
import { createSphere as Te } from "@arcgis/core/geometry/support/meshUtils.js";
|
|
30
30
|
import Se from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
31
31
|
import ze from "@arcgis/core/symbols/Font.js";
|
|
32
|
-
import { c as Ie, b as Pe, f as Le } from "../../chunks/
|
|
32
|
+
import { c as Ie, b as Pe, f as Le } from "../../chunks/utils4.js";
|
|
33
33
|
import Re from "@arcgis/core/symbols/TextSymbol.js";
|
|
34
34
|
import { log as Ae } from "@arcgis/toolkit/log";
|
|
35
35
|
const Fe = se`:host{height:100%;--arcgis-view-color-focus: none}`;
|
package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js
CHANGED
|
@@ -6,7 +6,7 @@ import { g as f } from "../../chunks/globalCss.js";
|
|
|
6
6
|
import { s as w, c as d, a as g } from "../../chunks/zoom.js";
|
|
7
7
|
import { u as O } from "../../chunks/useT9n.js";
|
|
8
8
|
import { u as V } from "../../chunks/useView.js";
|
|
9
|
-
import { m as s, f as i, a as n, b as p, c as y, d as m } from "../../chunks/
|
|
9
|
+
import { m as s, f as i, a as n, b as p, c as y, d as m } from "../../chunks/utils4.js";
|
|
10
10
|
import { clamp as z } from "@arcgis/toolkit/number";
|
|
11
11
|
class F extends l {
|
|
12
12
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { c as p } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { html as m } from "lit";
|
|
4
4
|
import { watch as o } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as h } from "@arcgis/lumina";
|
|
6
|
-
import { i as u } from "../../chunks/
|
|
6
|
+
import { i as u } from "../../chunks/utils5.js";
|
|
7
7
|
class d extends h {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._dpi = 1;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as p, html as o } from "lit";
|
|
4
4
|
import { LitElement as d } from "@arcgis/lumina";
|
|
5
|
-
import { r as m } from "../../chunks/
|
|
5
|
+
import { r as m } from "../../chunks/utils5.js";
|
|
6
6
|
const h = p`.export-button-container{display:flex;flex-direction:column;align-items:center;gap:.5rem}`;
|
|
7
7
|
class u extends d {
|
|
8
8
|
static {
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { html as i } from "lit";
|
|
4
4
|
import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as f } from "@arcgis/lumina";
|
|
6
|
-
import { f as n } from "../../chunks/
|
|
6
|
+
import { f as n } from "../../chunks/utils5.js";
|
|
7
7
|
class c extends f {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._formats = [];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as c, html as i } from "lit";
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
|
-
import { i as r } from "../../chunks/
|
|
5
|
+
import { i as r } from "../../chunks/utils5.js";
|
|
6
6
|
import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
const p = c`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
8
8
|
class h extends n {
|
|
@@ -3,7 +3,7 @@ import { c } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as o, html as a } from "lit";
|
|
4
4
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as r } from "@arcgis/lumina";
|
|
6
|
-
import { g as n, a as m, b as p } from "../../chunks/
|
|
6
|
+
import { g as n, a as m, b as p } from "../../chunks/utils5.js";
|
|
7
7
|
import { useDirection as d } from "@arcgis/lumina/controllers";
|
|
8
8
|
const h = o`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`;
|
|
9
9
|
class g extends r {
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as p, html as l } from "lit";
|
|
4
4
|
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as u, nothing as h } from "@arcgis/lumina";
|
|
6
|
-
import { i as o, r as g, a as v, g as f, b as T } from "../../chunks/
|
|
6
|
+
import { i as o, r as g, a as v, g as f, b as T } from "../../chunks/utils5.js";
|
|
7
7
|
const w = p`:host{overflow-y:hidden;display:flex;flex:1 0}.template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.template-select-flow-item-container .template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.template-select-flow-item-container .template-select-flow-item-content .template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;justify-content:space-between;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.template-button-container{padding:var(--calcite-spacing-md)}.template-done-button{width:100%}`;
|
|
8
8
|
class $ extends u {
|
|
9
9
|
static {
|
|
@@ -10,19 +10,19 @@ import { usePropertyChange as T } from "@arcgis/lumina/controllers";
|
|
|
10
10
|
import { reEmitEvent as D } from "@arcgis/lumina/controllers/accessor";
|
|
11
11
|
import { classes as P } from "@arcgis/toolkit/dom";
|
|
12
12
|
import { generateGuid as N } from "@arcgis/toolkit/string";
|
|
13
|
-
import { createRef as U, ref as
|
|
13
|
+
import { createRef as U, ref as x } from "lit/directives/ref.js";
|
|
14
14
|
import { html as o } from "lit";
|
|
15
|
-
import { u as
|
|
15
|
+
import { u as A } from "../../chunks/useT9n.js";
|
|
16
16
|
import { g as u } from "../../chunks/globalCss.js";
|
|
17
17
|
import { m as B, b as R, r as k, e as S } from "../../chunks/layer-list-utils.js";
|
|
18
|
-
import {
|
|
18
|
+
import { ArcgisLayerListItem as G } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
|
|
19
19
|
import { s as O, a as q } from "../../chunks/layer-list-next.js";
|
|
20
20
|
import { c as H } from "../../chunks/css.js";
|
|
21
21
|
import { m as V } from "../../chunks/useViewModel.js";
|
|
22
22
|
const w = H, y = "nested", j = V(L);
|
|
23
23
|
class z extends E {
|
|
24
24
|
constructor() {
|
|
25
|
-
super(...arguments), this._lastDragDetail = null, this._rootGroupUid = `table-${N()}`, this._rootListRef = U(), this._selectedDragItemLayerUid = null, this.messages =
|
|
25
|
+
super(...arguments), this._lastDragDetail = null, this._rootGroupUid = `table-${N()}`, this._rootListRef = U(), this._selectedDragItemLayerUid = null, this.messages = A(), this.viewModel = j(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, s) => {
|
|
26
26
|
const l = s === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, a = this._getItem(e);
|
|
27
27
|
if (!a || !("sortable" in a) || !a.sortable)
|
|
28
28
|
return !1;
|
|
@@ -166,7 +166,7 @@ class z extends E {
|
|
|
166
166
|
const { collapsed: e, _visibleItems: t, _filterEnabled: i, _rootGroupUid: s, showCloseButton: l, showCollapseButton: a, showHeading: h, _dragEnabled: d, selectionMode: n, filterText: m, filterPlaceholder: f, messages: g } = this, p = [
|
|
167
167
|
o`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${a} .heading=${h ? this.label ?? g.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!this._openedPanelItems.length} @calciteFlowItemClose=${() => this._handleFlowItemClose()}>${t?.length ? o`<calcite-list .canPull=${(r) => this._canMove(r, "pull")} .canPut=${(r) => this._canMove(r, "put")} data-layer-type=${s ?? F} .displayMode=${y} .dragEnabled=${d} .filterEnabled=${i} .filterPlaceholder=${f} .filterProps=${S} .filterText=${i ? m : ""} .group=${s} .label=${this.label ?? g.componentLabel} selection-appearance=border .selectionMode=${n} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(r) => this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${(r) => {
|
|
168
168
|
this.filterText = r.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
|
|
169
|
-
}} @calciteListOrderChange=${(r) => this._onCalciteListOrderChange(r.detail)} ${
|
|
169
|
+
}} @calciteListOrderChange=${(r) => this._onCalciteListOrderChange(r.detail)} ${x(this._rootListRef)}>${t.toArray().map((r) => this._renderItem(r))}${i && !this.hideNoFilterResultsNotice ? o`<div class=${b(w.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list>` : this._renderNoItems()}</calcite-flow-item>`,
|
|
170
170
|
this._renderPanelFlowItems()
|
|
171
171
|
];
|
|
172
172
|
return this.closed ? null : _("root-flow", o`<calcite-flow>${p}</calcite-flow>`);
|
package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts
CHANGED
|
@@ -71,7 +71,8 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometryResultItem extends L
|
|
|
71
71
|
/** The heading of the result item. */
|
|
72
72
|
accessor heading: string | undefined;
|
|
73
73
|
/**
|
|
74
|
-
* Whether
|
|
74
|
+
* Whether to hide the aggregated geometry [graphics](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry-result-item/#geometryGraphics)
|
|
75
|
+
* from the map when the trace result contains aggregated geometry results.
|
|
75
76
|
*
|
|
76
77
|
* @default false
|
|
77
78
|
*/
|
|
@@ -177,7 +177,7 @@ export abstract class ArcgisUtilityNetworkElementsResultItem extends LitElement
|
|
|
177
177
|
clearResult(): void;
|
|
178
178
|
/** Permanently destroy the component. */
|
|
179
179
|
destroy(): Promise<void>;
|
|
180
|
-
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "isFeaturesListShown" | "selectedResultFeature"; }>;
|
|
180
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "isFeaturesListShown" | "selectedResultFeature" | "state"; }>;
|
|
181
181
|
/** Fires when the component finishes querying all features for the trace result elements. */
|
|
182
182
|
readonly arcgisResultReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
183
183
|
/** Emitted when an action is triggered on the component. */
|
|
@@ -12,7 +12,7 @@ import { q as S, c as p, d as v } from "../../chunks/layer-utils.js";
|
|
|
12
12
|
const $ = E`arcgis-features-next{height:100%}.elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.features-hidden{margin:var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}`;
|
|
13
13
|
class A extends R {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this._messages = L({ blocking: !0 }), this.#l = !0, this.#e = [], this.#t = [], this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#r = /* @__PURE__ */ new Map(), this.#a = [], this._isFeaturesSelected = !1, this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.features = [], this.hideActionBar = !1, this.hideFeatureResults = !1, this.hidePlaceholder = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "loading", this.arcgisPropertyChange = b()("isFeaturesListShown", "selectedResultFeature"), this.arcgisTriggerAction = y(), this.arcgisResultReady = y();
|
|
15
|
+
super(...arguments), this._messages = L({ blocking: !0 }), this.#l = !0, this.#e = [], this.#t = [], this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#r = /* @__PURE__ */ new Map(), this.#a = [], this._isFeaturesSelected = !1, this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.features = [], this.hideActionBar = !1, this.hideFeatureResults = !1, this.hidePlaceholder = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "loading", this.arcgisPropertyChange = b()("isFeaturesListShown", "selectedResultFeature", "state"), this.arcgisTriggerAction = y(), this.arcgisResultReady = y();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.properties = { _featuresComponentElement: 16, _isFeaturesSelected: 16, actions: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, features: 32, heading: 1, hideActionBar: 5, hideFeatureResults: 5, hidePlaceholder: 5, includeDefaultActionsDisabled: 5, isFeaturesListShown: 32, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedResultFeature: 32, state: 1, traceResult: 0, utilityNetwork: 0, view: 0 };
|
|
@@ -255,6 +255,13 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
255
255
|
* ```
|
|
256
256
|
*/
|
|
257
257
|
accessor hideFeatureResults: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Whether to hide the aggregated geometry [graphics](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry-result-item/#geometryGraphics)
|
|
260
|
+
* from the map when the trace result contains aggregated geometry results.
|
|
261
|
+
*
|
|
262
|
+
* @default false
|
|
263
|
+
*/
|
|
264
|
+
accessor hideGraphics: boolean;
|
|
258
265
|
/**
|
|
259
266
|
* Whether to hide the placeholder string when feature results are hidden in the results tab.
|
|
260
267
|
*
|
|
@@ -349,6 +356,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
349
356
|
* Event payload contains a boolean representing whether the aggregated geometry graphics are hidden.
|
|
350
357
|
* If true, the aggregated geometry graphics are hidden on the view.
|
|
351
358
|
*
|
|
359
|
+
* @deprecated since 5.2. Use [@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis-next/#event-arcgisPropertyChange) instead.
|
|
352
360
|
* @example
|
|
353
361
|
* ```js
|
|
354
362
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis-next");
|
|
@@ -359,6 +367,8 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
359
367
|
* ```
|
|
360
368
|
*/
|
|
361
369
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
370
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
371
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "aggregatedGeometryGraphicsColor" | "hideGraphics"; }>;
|
|
362
372
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
363
373
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
364
374
|
/**
|
|
@@ -431,6 +441,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
431
441
|
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
|
|
432
442
|
readonly "@eventTypes": {
|
|
433
443
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkTraceAnalysisNext["arcgisHideGraphicsChange"]["detail"];
|
|
444
|
+
arcgisPropertyChange: ArcgisUtilityNetworkTraceAnalysisNext["arcgisPropertyChange"]["detail"];
|
|
434
445
|
arcgisReady: ArcgisUtilityNetworkTraceAnalysisNext["arcgisReady"]["detail"];
|
|
435
446
|
arcgisTraceLocationSelectEnd: ArcgisUtilityNetworkTraceAnalysisNext["arcgisTraceLocationSelectEnd"]["detail"];
|
|
436
447
|
arcgisTraceLocationSelectStart: ArcgisUtilityNetworkTraceAnalysisNext["arcgisTraceLocationSelectStart"]["detail"];
|
|
@@ -6,157 +6,155 @@ import { keyed as l } from "lit/directives/keyed.js";
|
|
|
6
6
|
import p from "@arcgis/core/Color.js";
|
|
7
7
|
import { when as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
8
|
import f from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
|
|
9
|
-
import { LitElement as y, createEvent as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
import { LitElement as y, createEvent as n } from "@arcgis/lumina";
|
|
10
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
11
|
+
import { log as w } from "@arcgis/toolkit/log";
|
|
12
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
13
|
+
import { m as T } from "../../chunks/useViewModel.js";
|
|
14
|
+
import { l as $ } from "../../chunks/async-utils.js";
|
|
15
|
+
const R = d`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}arcgis-utility-network-trace-inputs-next[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`, _ = T(f);
|
|
16
|
+
class x extends y {
|
|
16
17
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages =
|
|
18
|
+
super(...arguments), this._messages = v({ blocking: !0 }), this.#t = _(this), this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new p([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.state = this.#t.state, this.view = this.#t.view, this.arcgisHideGraphicsChange = n(), this.arcgisPropertyChange = b()("aggregatedGeometryGraphicsColor", "hideGraphics"), this.arcgisReady = n(), this.arcgisTriggerAction = n(), this.arcgisTraceLocationSelectEnd = n(), this.arcgisTraceLocationSelectStart = n(), this.arcgisTraceResultClear = n(), this.arcgisTraceResultFeaturesReady = n();
|
|
18
19
|
}
|
|
19
20
|
static {
|
|
20
|
-
this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _mode: 16, actions: 0, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
21
|
+
this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _mode: 16, actions: 0, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
21
22
|
}
|
|
22
23
|
static {
|
|
23
|
-
this.styles =
|
|
24
|
+
this.styles = R;
|
|
24
25
|
}
|
|
25
|
-
#e;
|
|
26
26
|
#t;
|
|
27
|
+
#e;
|
|
27
28
|
#i;
|
|
28
29
|
get #r() {
|
|
29
|
-
const { view:
|
|
30
|
-
return
|
|
30
|
+
const { view: e } = this;
|
|
31
|
+
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
31
32
|
}
|
|
32
33
|
#n;
|
|
33
34
|
get traceResultFeatures() {
|
|
34
35
|
return this.#i?.traceResultFeatures ?? [];
|
|
35
36
|
}
|
|
36
37
|
async destroy() {
|
|
37
|
-
await this.#i?.destroy(), await this.#
|
|
38
|
+
await this.#i?.destroy(), await this.#e?.destroy(), await this.manager.destroy();
|
|
38
39
|
}
|
|
39
40
|
load() {
|
|
40
41
|
this.manager.onLifecycle(() => [
|
|
41
|
-
m(() => !this.#
|
|
42
|
+
m(() => !this.#t.utilityNetwork, () => this.#a("input"))
|
|
42
43
|
]);
|
|
43
44
|
}
|
|
44
45
|
#s() {
|
|
45
46
|
this._traceResult = void 0, this.#i?.clearResults();
|
|
46
47
|
}
|
|
47
48
|
#o() {
|
|
48
|
-
if (!this.#
|
|
49
|
+
if (!this.#e)
|
|
49
50
|
return;
|
|
50
|
-
const { traceLocations:
|
|
51
|
-
this._traceError = void 0, this._showNoStartingPointsWarning = !a && !h || a && !
|
|
51
|
+
const { traceLocations: e, traceLocationFlagInfos: t, traceConfiguration: s, isSubnetworkNameTraceSelected: a } = this.#e, r = !!s?.subnetworkName, h = e?.some((o) => o.type === "starting-point"), g = t?.some((o) => !!o.flagProperties.terminalConfiguration && !o.flagProperties.selectedTerminals?.size) ?? !1;
|
|
52
|
+
this._traceError = void 0, this._showNoStartingPointsWarning = !a && !h || a && !r, this._showMissingTerminalWarning = g;
|
|
52
53
|
}
|
|
53
|
-
#a(
|
|
54
|
-
this._activeTab =
|
|
54
|
+
#a(e) {
|
|
55
|
+
this._activeTab = e;
|
|
55
56
|
}
|
|
56
|
-
#c(
|
|
57
|
-
const { _messages:
|
|
58
|
-
switch (
|
|
57
|
+
#c(e) {
|
|
58
|
+
const { _messages: t } = this;
|
|
59
|
+
switch (e) {
|
|
59
60
|
case "no-user-type-extension":
|
|
60
|
-
return
|
|
61
|
+
return t.errors.loadErrors.noUserTypeExtension;
|
|
61
62
|
case "no-utility-network":
|
|
62
|
-
return
|
|
63
|
+
return t.errors.loadErrors.noUtilityNetwork;
|
|
63
64
|
case "no-view":
|
|
64
|
-
return
|
|
65
|
+
return t.errors.loadErrors.noView;
|
|
65
66
|
case "sceneView-not-supported":
|
|
66
|
-
return
|
|
67
|
+
return t.errors.loadErrors.sceneViewNotSupported;
|
|
67
68
|
default:
|
|
68
|
-
return
|
|
69
|
+
return e;
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
async #l() {
|
|
72
|
-
const
|
|
73
|
-
if (!(
|
|
74
|
-
|
|
73
|
+
const e = this.#e?.selectedNamedTraceConfiguration, t = this.#e?.traceConfiguration;
|
|
74
|
+
if (!(e?.traceType && t)) {
|
|
75
|
+
w("error", this, "Trace configuration not found");
|
|
75
76
|
return;
|
|
76
77
|
}
|
|
77
|
-
const
|
|
78
|
+
const s = this.#e?.traceLocations;
|
|
78
79
|
try {
|
|
79
|
-
this._traceResult = await this.#
|
|
80
|
-
traceType:
|
|
81
|
-
traceConfiguration:
|
|
82
|
-
traceLocations:
|
|
83
|
-
resultTypes:
|
|
80
|
+
this._traceResult = await this.#t.executeTraceConfiguration({
|
|
81
|
+
traceType: e.traceType,
|
|
82
|
+
traceConfiguration: t,
|
|
83
|
+
traceLocations: s ?? [],
|
|
84
|
+
resultTypes: e.resultTypes,
|
|
84
85
|
outSpatialReference: this.view?.spatialReference
|
|
85
86
|
});
|
|
86
87
|
} catch (a) {
|
|
87
|
-
|
|
88
|
+
$(a, this, "Error while running trace"), this._traceError = a, this._traceResult = void 0;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
#h() {
|
|
91
92
|
this.#o(), !(this._showNoStartingPointsWarning || this._showMissingTerminalWarning) && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1, this.#s(), this.#a("results"), this.#l());
|
|
92
93
|
}
|
|
93
|
-
#g(
|
|
94
|
-
|
|
94
|
+
#g(e) {
|
|
95
|
+
e && (this.#e = e);
|
|
95
96
|
}
|
|
96
|
-
#u(
|
|
97
|
-
|
|
97
|
+
#u(e) {
|
|
98
|
+
e && (this.#i = e);
|
|
98
99
|
}
|
|
99
|
-
#d(
|
|
100
|
-
t
|
|
100
|
+
#d(e) {
|
|
101
|
+
const { detail: t, target: s } = e;
|
|
102
|
+
t.name === "aggregatedGeometryGraphicsColor" ? (e.stopPropagation(), this.aggregatedGeometryGraphicsColor = s[t.name]) : t.name === "hideGraphics" && (e.stopPropagation(), this.hideGraphics = s[t.name], this.arcgisHideGraphicsChange.emit(this.hideGraphics));
|
|
101
103
|
}
|
|
102
|
-
#p(
|
|
103
|
-
|
|
104
|
+
#p(e) {
|
|
105
|
+
e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented && e.preventDefault();
|
|
104
106
|
}
|
|
105
|
-
#m(
|
|
106
|
-
|
|
107
|
+
#m(e) {
|
|
108
|
+
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit();
|
|
107
109
|
}
|
|
108
|
-
#f(
|
|
109
|
-
|
|
110
|
+
#f(e) {
|
|
111
|
+
e.stopPropagation(), this.arcgisTraceResultFeaturesReady.emit();
|
|
110
112
|
}
|
|
111
|
-
#y(
|
|
112
|
-
|
|
113
|
+
#y(e) {
|
|
114
|
+
e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
|
|
113
115
|
}
|
|
114
|
-
#b(
|
|
115
|
-
|
|
116
|
-
this.aggregatedGeometryGraphicsColor = e;
|
|
116
|
+
#b() {
|
|
117
|
+
this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1;
|
|
117
118
|
}
|
|
118
119
|
#w() {
|
|
119
|
-
this.
|
|
120
|
+
this.#t.utilityNetwork = this.#e?.selectedUtilityNetwork;
|
|
120
121
|
}
|
|
121
122
|
#v() {
|
|
122
|
-
|
|
123
|
+
const { _messages: e } = this;
|
|
124
|
+
return i`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showMissingTerminalWarning = !1}><div slot=title>${e.errors.missingTerminalTitle}</div><div slot=message>${e.errors.missingTerminalBody}</div></calcite-notice></calcite-panel>`;
|
|
123
125
|
}
|
|
124
126
|
#T() {
|
|
125
|
-
const { _messages:
|
|
126
|
-
return i`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this.
|
|
127
|
+
const { _messages: e } = this;
|
|
128
|
+
return i`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showNoStartingPointsWarning = !1}><div slot=title>${e.errors.noStartingPointsTitle}</div><div slot=message>${e.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
|
|
127
129
|
}
|
|
128
130
|
#$() {
|
|
129
|
-
|
|
130
|
-
return i`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showNoStartingPointsWarning = !1}><div slot=title>${t.errors.noStartingPointsTitle}</div><div slot=message>${t.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
|
|
131
|
-
}
|
|
132
|
-
#_() {
|
|
133
|
-
return l(`${this.el.id}__results-tab-item`, i`<calcite-tab .selected=${this._activeTab === "results"}>${this.state === "executing" ? i`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : i`<arcgis-utility-network-trace-results-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#r} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .heading=${this.#n?.title} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#e.utilityNetwork ?? void 0} .view=${this.view ?? void 0} @arcgisAggregatedGeometryGraphicsColorChange=${this.#b} @arcgisHideGraphicsChange=${this.#d} @arcgisTraceResultFeaturesReady=${this.#f} @arcgisTriggerAction=${this.#y} ${c(this.#u)}></arcgis-utility-network-trace-results-next>`}</calcite-tab>`);
|
|
131
|
+
return l(`${this.el.id}__results-tab-item`, i`<calcite-tab .selected=${this._activeTab === "results"}>${this.state === "executing" ? i`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : i`<arcgis-utility-network-trace-results-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .heading=${this.#n?.title} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#r} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#t.utilityNetwork ?? void 0} .view=${this.view ?? void 0} @arcgisPropertyChange=${this.#d} @arcgisTraceResultFeaturesReady=${this.#f} @arcgisTriggerAction=${this.#y} ${c(this.#u)}></arcgis-utility-network-trace-results-next>`}</calcite-tab>`);
|
|
134
132
|
}
|
|
135
133
|
#R() {
|
|
136
|
-
const { _messages:
|
|
134
|
+
const { _messages: e, _traceResult: t } = this, a = !!(t?.elements.length || t?.globalFunctionResults.length || t?.aggregatedGeometry) && this.#i?.state === "ready", r = this.#i?.numFeatureResults ?? 0;
|
|
137
135
|
return i`<calcite-button appearance=outline width=full @click=${() => {
|
|
138
136
|
this.#a("input"), this.#s(), this.arcgisTraceResultClear.emit();
|
|
139
|
-
}} .disabled=${!a} slot=footer>${
|
|
137
|
+
}} .disabled=${!a} slot=footer>${r > 0 && !this.hideFeatureResults && this.state !== "executing" ? e.buttons.clearResultsCustom.replace("{number}", r.toString()) : e.buttons.clearResultsGeneric}</calcite-button>`;
|
|
140
138
|
}
|
|
141
|
-
#
|
|
142
|
-
const { _mode:
|
|
143
|
-
|
|
144
|
-
}} @arcgisSelectedNamedTraceConfigurationChange=${this.#
|
|
139
|
+
#_() {
|
|
140
|
+
const { _mode: e } = this, { loadError: t } = this.#t, a = (t === "no-user-type-extension" || t === "sceneView-not-supported" ? i`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#c(t)}</div></calcite-notice>` : void 0) ?? i`${this._showNoStartingPointsWarning && e === "default" && this.#T() || ""}${this._showMissingTerminalWarning && e === "default" && this.#v() || ""}<arcgis-utility-network-trace-inputs-next .autoDestroyDisabled=${this.autoDestroyDisabled} .hideActionBar=${this.hideActionBar} .referenceElement=${this.referenceElement} .view=${this.view ?? void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisPropertyChange=${(r) => {
|
|
141
|
+
r.stopPropagation(), r.detail.name === "mode" && (this._mode = r.target.mode);
|
|
142
|
+
}} @arcgisSelectedNamedTraceConfigurationChange=${this.#b} @arcgisTraceLocationSelectEnd=${this.#m} @arcgisTraceLocationSelectStart=${this.#p} @arcgisUtilityNetworkChange=${this.#w} ${c(this.#g)}></arcgis-utility-network-trace-inputs-next>`;
|
|
145
143
|
return l(`${this.el.id}__inputs-tab-item`, i`<calcite-tab .selected=${this._activeTab === "input"}><div class="inputs-tab-container">${a}</div></calcite-tab>`);
|
|
146
144
|
}
|
|
147
|
-
#
|
|
148
|
-
const { state:
|
|
145
|
+
#x() {
|
|
146
|
+
const { state: e } = this;
|
|
149
147
|
if (this._mode !== "default")
|
|
150
148
|
return null;
|
|
151
|
-
const
|
|
152
|
-
return i`<calcite-button appearance=solid width=full @click=${this.#h} slot=footer .disabled=${
|
|
149
|
+
const t = e === "disabled" || e === "loading" || !this.#e?.traceConfiguration;
|
|
150
|
+
return i`<calcite-button appearance=solid width=full @click=${this.#h} slot=footer .disabled=${t}>${this._messages.buttons.getResults}</calcite-button>`;
|
|
153
151
|
}
|
|
154
152
|
render() {
|
|
155
|
-
const { _activeTab:
|
|
156
|
-
return i`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this.#a("input")} .selected=${
|
|
153
|
+
const { _activeTab: e, state: t } = this;
|
|
154
|
+
return i`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this.#a("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this.#a("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#_()}${this.#$()}</calcite-tabs>${e === "input" ? this.#x() : null}${e === "results" ? this.#R() : null}</calcite-panel>`;
|
|
157
155
|
}
|
|
158
156
|
}
|
|
159
|
-
u("arcgis-utility-network-trace-analysis-next",
|
|
157
|
+
u("arcgis-utility-network-trace-analysis-next", x);
|
|
160
158
|
export {
|
|
161
|
-
|
|
159
|
+
x as ArcgisUtilityNetworkTraceAnalysisNext
|
|
162
160
|
};
|
|
@@ -117,6 +117,13 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
117
117
|
accessor hideActionBar: boolean;
|
|
118
118
|
/** @default false */
|
|
119
119
|
accessor hideFeatureResults: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Whether to hide the aggregated geometry [graphics](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry-result-item/#geometryGraphics)
|
|
122
|
+
* from the map when the trace result contains aggregated geometry results.
|
|
123
|
+
*
|
|
124
|
+
* @default false
|
|
125
|
+
*/
|
|
126
|
+
accessor hideGraphics: boolean;
|
|
120
127
|
/**
|
|
121
128
|
* Whether to hide the placeholder string when feature results are hidden.
|
|
122
129
|
*
|
|
@@ -194,14 +201,13 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
194
201
|
clearResults(): void;
|
|
195
202
|
/** Permanently destroy the component. */
|
|
196
203
|
destroy(): Promise<void>;
|
|
197
|
-
|
|
198
|
-
readonly
|
|
204
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
205
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "aggregatedGeometryGraphicsColor" | "hideGraphics" | "state" | "traceError"; }>;
|
|
199
206
|
readonly arcgisTraceResultFeaturesReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
200
207
|
/** Emitted when an action is triggered on the component. */
|
|
201
208
|
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
|
|
202
209
|
readonly "@eventTypes": {
|
|
203
|
-
|
|
204
|
-
arcgisHideGraphicsChange: ArcgisUtilityNetworkTraceResultsNext["arcgisHideGraphicsChange"]["detail"];
|
|
210
|
+
arcgisPropertyChange: ArcgisUtilityNetworkTraceResultsNext["arcgisPropertyChange"]["detail"];
|
|
205
211
|
arcgisTraceResultFeaturesReady: ArcgisUtilityNetworkTraceResultsNext["arcgisTraceResultFeaturesReady"]["detail"];
|
|
206
212
|
arcgisTriggerAction: ArcgisUtilityNetworkTraceResultsNext["arcgisTriggerAction"]["detail"];
|
|
207
213
|
};
|