@arcgis/map-components 5.1.0-next.24 → 5.1.0-next.26
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/README.md +1 -1
- package/dist/cdn/23TQHX3R.js +2 -0
- package/dist/cdn/3RWP2MFY.js +2 -0
- package/dist/cdn/3YF5ELCV.js +2 -0
- package/dist/cdn/46PYSV4C.js +2 -0
- package/dist/cdn/4Q2WOBXH.js +2 -0
- package/dist/cdn/5FZ74RGF.js +2 -0
- package/dist/cdn/5HUNDZSE.js +2 -0
- package/dist/cdn/5JHCBJB4.js +2 -0
- package/dist/cdn/5YQWN4HC.js +2 -0
- package/dist/cdn/5YYDQKYB.js +2 -0
- package/dist/cdn/667Y5WZS.js +2 -0
- package/dist/cdn/7BPH252S.js +2 -0
- package/dist/cdn/{3RSXFSGK.js → 7D64YYLS.js} +1 -1
- package/dist/cdn/7E3PHG6R.js +2 -0
- package/dist/cdn/7OJESD5U.js +2 -0
- package/dist/cdn/7W7RNWBM.js +2 -0
- package/dist/cdn/{GKOPDCDG.js → AEQFRO7B.js} +1 -1
- package/dist/cdn/AGWQDLNI.js +2 -0
- package/dist/cdn/APV3AYJF.js +2 -0
- package/dist/cdn/BQUMWB3P.js +2 -0
- package/dist/cdn/BSZYRTSR.js +2 -0
- package/dist/cdn/C3D6DL63.js +2 -0
- package/dist/cdn/C5QG2S6I.js +2 -0
- package/dist/cdn/CB36GREW.js +2 -0
- package/dist/cdn/CYHPOGKU.js +2 -0
- package/dist/cdn/DS6FJ2ZR.js +2 -0
- package/dist/cdn/{HQUOPZBH.js → EAV2N3XM.js} +1 -1
- package/dist/cdn/EV3HXCIH.js +2 -0
- package/dist/cdn/EXSFSEK3.js +2 -0
- package/dist/cdn/FGPK4XM4.js +2 -0
- package/dist/cdn/FHVJILOP.js +2 -0
- package/dist/cdn/FKLSUEE4.js +2 -0
- package/dist/cdn/{BRPKDHOU.js → FOZBLOPX.js} +1 -1
- package/dist/cdn/FXW2QMCP.js +2 -0
- package/dist/cdn/G44PNNZ4.js +2 -0
- package/dist/cdn/HCWAOP6D.js +2 -0
- package/dist/cdn/IIGVQFLD.js +2 -0
- package/dist/cdn/ISVOJLBX.js +2 -0
- package/dist/cdn/ITX6LJ6O.js +2 -0
- package/dist/cdn/IWN6U37Z.js +2 -0
- package/dist/cdn/{YJNIIDPI.js → JEG2YAUH.js} +1 -1
- package/dist/cdn/JPC5EARH.js +2 -0
- package/dist/cdn/JYFXOUAR.js +2 -0
- package/dist/cdn/KC37LMMM.js +2 -0
- package/dist/cdn/LGCAKLVB.js +2 -0
- package/dist/cdn/LQA4IF5M.js +2 -0
- package/dist/cdn/M6NRIDED.js +2 -0
- package/dist/cdn/MIK35PDX.js +2 -0
- package/dist/cdn/MSGBVT7B.js +2 -0
- package/dist/cdn/MYJWBY4N.js +2 -0
- package/dist/cdn/{V5BOOLLA.js → N2VUYFEK.js} +1 -1
- package/dist/cdn/N7SXGVEK.js +2 -0
- package/dist/cdn/NBS2JRKZ.js +2 -0
- package/dist/cdn/NCUVQ62D.js +2 -0
- package/dist/cdn/NVPDQFVK.js +2 -0
- package/dist/cdn/O3GU57ZF.js +2 -0
- package/dist/cdn/O5TDDX7K.js +2 -0
- package/dist/cdn/OPPTQDUJ.js +2 -0
- package/dist/cdn/PAFLJ4T6.js +2 -0
- package/dist/cdn/PEIVXKOI.js +2 -0
- package/dist/cdn/{ESZY2QZH.js → PJ3PYFJ4.js} +1 -1
- package/dist/cdn/PX7OQ23D.js +2 -0
- package/dist/cdn/QJPNEXAO.js +2 -0
- package/dist/cdn/R3UMLKV7.js +2 -0
- package/dist/cdn/S2L4RRRK.js +2 -0
- package/dist/cdn/S5XIZMAX.js +2 -0
- package/dist/cdn/SRSSON6V.js +2 -0
- package/dist/cdn/SUUWINLA.js +2 -0
- package/dist/cdn/T6LJGCEK.js +2 -0
- package/dist/cdn/TJXR3SIG.js +2 -0
- package/dist/cdn/UENUQ4KE.js +2 -0
- package/dist/cdn/UIQHTGAK.js +2 -0
- package/dist/cdn/VRC4A6UI.js +2 -0
- package/dist/cdn/VW43RPYP.js +2 -0
- package/dist/cdn/WMSKSUGI.js +2 -0
- package/dist/cdn/WQZ44Y3Z.js +2 -0
- package/dist/cdn/X7YUOD3X.js +2 -0
- package/dist/cdn/XE7L75G7.js +2 -0
- package/dist/cdn/XEKVZSQD.js +2 -0
- package/dist/cdn/{2RKX3O6H.js → XILIHQ2Y.js} +1 -1
- package/dist/cdn/XL5VSTUT.js +2 -0
- package/dist/cdn/XLAV73BO.js +2 -0
- package/dist/cdn/YIABICX7.js +2 -0
- package/dist/cdn/YP2LBGBB.js +2 -0
- package/dist/cdn/Z7KZKGZH.js +2 -0
- package/dist/cdn/ZENXKKZU.js +2 -0
- package/dist/cdn/ZKB2DJMQ.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/component-utils.js +85 -72
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +4 -0
- package/dist/components/arcgis-popup/customElement.d.ts +20 -5
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +4 -9
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +50 -55
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +6 -5
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +9 -5
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +24 -29
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cdn/2AMO7WB5.js +0 -2
- package/dist/cdn/2CY2GEUS.js +0 -2
- package/dist/cdn/2O3GSMYO.js +0 -2
- package/dist/cdn/2UL6OUOC.js +0 -2
- package/dist/cdn/2YYHB6D7.js +0 -2
- package/dist/cdn/3JTQG6AU.js +0 -2
- package/dist/cdn/3TJ5YLAW.js +0 -2
- package/dist/cdn/44JRNJOB.js +0 -2
- package/dist/cdn/4KJRNLCZ.js +0 -2
- package/dist/cdn/4MRMJJJZ.js +0 -2
- package/dist/cdn/4NUDGWVZ.js +0 -2
- package/dist/cdn/5P4ZXOSS.js +0 -2
- package/dist/cdn/5P7XB77F.js +0 -2
- package/dist/cdn/67ZXVGEU.js +0 -2
- package/dist/cdn/6ZSGEDK7.js +0 -2
- package/dist/cdn/7ZYSP2AT.js +0 -2
- package/dist/cdn/ABMOMJDO.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/C4AU67NH.js +0 -2
- package/dist/cdn/C5KBHBXX.js +0 -2
- package/dist/cdn/CC4JKJPW.js +0 -2
- package/dist/cdn/DD6UEDWN.js +0 -2
- package/dist/cdn/DUO5PAMD.js +0 -2
- package/dist/cdn/E4343BW3.js +0 -2
- package/dist/cdn/ED5CYJC6.js +0 -2
- package/dist/cdn/EGDKKW7Q.js +0 -2
- package/dist/cdn/EIO6SGJ3.js +0 -2
- package/dist/cdn/ENZQ6Y22.js +0 -2
- package/dist/cdn/EVDM2TIL.js +0 -2
- package/dist/cdn/FC7RJ3XK.js +0 -2
- package/dist/cdn/FNCCPCRJ.js +0 -2
- package/dist/cdn/FXI46X2L.js +0 -2
- package/dist/cdn/GBXKK7G4.js +0 -2
- package/dist/cdn/GCJAHIZP.js +0 -2
- package/dist/cdn/HDRNAOAG.js +0 -2
- package/dist/cdn/HHNEB2V6.js +0 -2
- package/dist/cdn/HM73YF33.js +0 -2
- package/dist/cdn/I3KSXOBY.js +0 -2
- package/dist/cdn/IK76CMXS.js +0 -2
- package/dist/cdn/JG7CGJPQ.js +0 -2
- package/dist/cdn/JXCCWIB5.js +0 -2
- package/dist/cdn/K52DBZTR.js +0 -2
- package/dist/cdn/KF5H6WSN.js +0 -2
- package/dist/cdn/KRYDA75T.js +0 -2
- package/dist/cdn/KXZL7HY2.js +0 -2
- package/dist/cdn/KZFVZ6QO.js +0 -2
- package/dist/cdn/LJA64EHJ.js +0 -2
- package/dist/cdn/M6XGXRKN.js +0 -2
- package/dist/cdn/MIEDJBHH.js +0 -2
- package/dist/cdn/MIJJYNPG.js +0 -2
- package/dist/cdn/MJE27LYY.js +0 -2
- package/dist/cdn/MP7MAMMJ.js +0 -2
- package/dist/cdn/MQ6OLZF4.js +0 -2
- package/dist/cdn/NDHM6VQU.js +0 -2
- package/dist/cdn/NPSWZFC7.js +0 -2
- package/dist/cdn/NT6JFAN7.js +0 -2
- package/dist/cdn/O3AKG7RB.js +0 -2
- package/dist/cdn/O6Y2DK4Q.js +0 -2
- package/dist/cdn/O7OV2RVX.js +0 -2
- package/dist/cdn/OCZSLOXR.js +0 -2
- package/dist/cdn/ON7UPOVK.js +0 -2
- package/dist/cdn/OPFT2XCU.js +0 -2
- package/dist/cdn/ORBSNP77.js +0 -2
- package/dist/cdn/OZ7PUJES.js +0 -2
- package/dist/cdn/PAZ2MP34.js +0 -2
- package/dist/cdn/PZ2HPQXA.js +0 -2
- package/dist/cdn/Q76HLTWI.js +0 -2
- package/dist/cdn/QAZOMVRQ.js +0 -2
- package/dist/cdn/RMJZ72G4.js +0 -2
- package/dist/cdn/TUUPWOUO.js +0 -2
- package/dist/cdn/U7GWRKZK.js +0 -2
- package/dist/cdn/VNZL7BB6.js +0 -2
- package/dist/cdn/W4E5UX5P.js +0 -2
- package/dist/cdn/XIDPHDPL.js +0 -2
- package/dist/cdn/XXS4JDK5.js +0 -2
- package/dist/cdn/YWWQDQG7.js +0 -2
- package/dist/cdn/ZJCOEA35.js +0 -2
- package/dist/cdn/ZNA2A32J.js +0 -2
- package/dist/cdn/ZZRUC7EN.js +0 -2
|
@@ -8,7 +8,7 @@ import { LitElement as n, createEvent as c } from "@arcgis/lumina";
|
|
|
8
8
|
import { m as d } from "../../chunks/useWidget.js";
|
|
9
9
|
import { css as p } from "lit";
|
|
10
10
|
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
-
const h = p`.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)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.root{user-select:none;display:flex;flex-flow:column wrap;padding:var(--arcgis-internal-padding);overflow-y:auto;width:100%;.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}calcite-block>.esri-grid-controls{background:0 0;padding:0}.esri-grid-controls{-webkit-user-select:none;user-select:none;padding:var(--arcgis-internal-padding);flex-flow:column wrap;display:flex;calcite-label.esri-labeled-switch__label{margin-block-end:var(--calcite-spacing-sm, .5rem)}}.esri-grid-controls__switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1)}.esri-grid-controls__container{gap:var(--calcite-spacing-sm);flex-direction:column;flex:auto;display:flex}.esri-grid-controls__tilegroup{column-gap:var(--calcite-spacing-md);align-items:start;display:flex}.esri-grid-controls__tile__content{row-gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2);flex-direction:column;align-items:center;display:flex}.esri-grid-controls__tile__content calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}.esri-grid-controls__tile{position:relative}.esri-grid-controls__tile:focus-within{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.esri-grid-controls__tile--disabled{opacity:var(--calcite-opacity-disabled)}.esri-grid-controls__tile input[type=radio]{appearance:none;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;position:absolute;inset:0}.esri-grid-controls__tile input[type=radio]:checked+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}.esri-grid-controls__tile input[type=radio]+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid transparent}.esri-grid-controls__numeric-inputs__container{gap:var(--calcite-spacing-sm);grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.esri-grid-controls__inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}:host{--response-toolbar-vert-width: 0;--response-toolbar-vert-height: 100%;--response-toolbar-horiz-width: 100%;--response-toolbar-horiz-height: 0}.esri-responsive-toolbar__ruler{opacity:0;pointer-events:none;position:absolute}.esri-responsive-toolbar__ruler--bar{visibility:hidden;height:0;display:block;position:absolute;top:0;left:0;right:0}.esri-responsive-toolbar__ruler--bar--vertical,.esri-responsive-toolbar__ruler--pad--vertical{width:var(--response-toolbar-vert-width);height:var(--response-toolbar-vert-height)}.esri-responsive-toolbar__ruler--pad--horizontal{width:var(--response-toolbar-horiz-width);height:var(--response-toolbar-horiz-height)}.esri-responsive-toolbar__bar>div{display:contents}.esri-responsive-toolbar__bar--horizontal{min-width:100%}.esri-responsive-toolbar__bar--vertical{min-height:100%}.esri-responsive-toolbar__pad{width:min-content;display:contents}.esri-responsive-toolbar__pad>div{display:contents}.esri-responsive-toolbar__ruler--pad--vertical{width:0;height:min(100vh - 120px,100cqh - 120px)}.esri-responsive-toolbar__ruler--pad--horizontal{width:min(100vw - 60px,100cqw - 60px);height:0}.esri-split-button--split-part--vertical--s{max-height:16px}.esri-split-button--split-part--vertical--m{max-height:24px}.esri-split-button--split-part--vertical--l{max-height:40px}.esri-split-button--split-part--horizontal--s,.esri-split-button--split-part--horizontal--m{max-width:16px}.esri-split-button--split-part--horizontal--l{max-width:24px}.esri-snapping-controls__toggle-block{min-width:100%;margin:0}.esri-snapping-controls__layer-list-block{border-bottom:none;min-width:225px}.esri-snapping-controls__layer-list-block[open]{margin-block:0}.esri-snapping-controls__layer-list{overflow:auto}.esri-snapping-controls__layer-list__filter{margin-bottom:10px}.esri-snapping-controls__layer-list__button{margin-bottom:6px}.esri-snapping-controls__layer-list__item calcite-accordion-item calcite-icon,.esri-snapping-controls__layer-list__item calcite-action calcite-icon{margin-inline-start:0}.esri-snapping-controls__layer-list__item calcite-icon{color:var(--calcite-color-brand);margin-inline-start:var(--calcite-list-item-spacing-indent)}.esri-snapping-controls{flex-flow:column wrap;display:flex}.esri-snapping-controls__container{flex-direction:column;flex:auto;display:flex}.esri-snapping-controls__container :only-child{border-block-end:none}.esri-snapping-controls__panel{width:320px}.esri-snapping-controls__item{border:1px solid #adadad4d;cursor:pointer;background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-border-1);border-radius:2px;justify-content:space-between;margin:3px 0;padding:3px;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px #adadad4d}.esri-snapping-controls__item-action-icon{flex:0 0 16px;width:16px;height:16px;margin-top:.1em;font-size:var(--calcite-font-size-md);display:inline-block}.esri-snapping-controls__action-toggle{opacity:1;cursor:pointer;border:1px solid var(--calcite-color-border-1);flex-flow:row-reverse;justify-content:space-between;align-items:flex-start;width:100%;margin:0;padding:6px 15px;font-size:var(--calcite-font-size-sm);transition:opacity .25s ease-in-out .25s,background-color .25s ease-in-out;display:flex}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-title{margin-left:0}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);border-radius:16px;flex:0 0 28px;width:16px;height:16px;padding:0;transition:background-color .125s ease-in-out;position:relative;overflow:hidden;box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon:before{content:"";background-color:var(--calcite-color-foreground-2);border-radius:100%;width:12px;height:12px;margin:2px;transition:background-color .125s ease-in-out,left .125s ease-in-out;display:block;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #242424}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon:before{background-color:var(--calcite-color-foreground-3);left:12px}.esri-snapping-controls__nested-container{flex-direction:column;gap:6px;display:flex}.esri-snapping-controls__nested-container:not(:empty){padding-top:6px;padding-inline-start:1em}.esri-labeled-switch__label{--calcite-label-margin-bottom: 0}.esri-labeled-switch__label-content{text-wrap:balance;flex:1;align-items:center;gap:7px;display:flex}.esri-labeled-switch__label-content>div{flex-grow:1}.esri-labeled-switch__icon{margin-top:-1px}.esri-labeled-switch__icon_info{color:var(--calcite-color-status-info)}.esri-labeled-switch__icon_warning{color:var(--calcite-color-status-warning)}.esri-labeled-switch__tooltip{text-wrap:wrap}:host{display:flex;max-width:100%;justify-content:flex-end;pointer-events:none;--sketch-pad-flex-flow: wrap;--sketch-view-height-offset: 63px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 49px}:host([scale="s"]){--sketch-view-height-offset: 47px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 33px}:host([scale="l"]){--sketch-view-height-offset: 79px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 65px}div:has(>.esri-sketch){display:contents}.esri-sketch{-webkit-user-select:none;user-select:none;pointer-events:none;display:flex}.esri-sketch-pad{gap:var(--arcgis-internal-sketch-gap, var(--calcite-spacing-sm));flex-flow:var(--sketch-pad-flex-flow);justify-content:var(--arcgis-internal-sketch-justify-content, flex-start)}.esri-sketch-pad:dir(rtl){flex-flow:row-reverse wrap}.esri-sketch-pad.esri-sketch--vertical{flex-flow:var(--sketch-pad-flex-flow, column wrap);justify-content:flex-start;--sketch-view-height-offset: 30px;--sketch-view-margin-offset: 15px}.esri-sketch-pad.esri-sketch--vertical:dir(rtl){flex-flow:var(--sketch-pad-flex-flow, column wrap-reverse)}.esri-sketch-pad.esri-sketch--vertical .esri-selection-toolbar__container{flex-direction:column}.esri-sketch>*{pointer-events:initial;display:flex}.esri-sketch-bar{flex-direction:column;gap:0;margin:0;flex-basis:100%}.esri-sketch-bar.esri-sketch--vertical{flex-flow:row}.esri-sketch__popover-wrapper{inline-size:max-content;min-inline-size:300px;max-height:calc(100cqh - (var(--sketch-view-height-offset, 90px)) - var(--sketch-view-margin-offset, 15px) - var(--sketch-popover-header-offset, 1000px));-webkit-user-select:none;user-select:none;max-inline-size:400px;overflow-y:auto}.esri-sketch__popover-wrapper .esri-sketch-tooltip-controls:not(:only-child) calcite-block{border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.esri-sketch__selection-count-chip--horizontal{margin-block:var(--calcite-spacing-xxs);margin-inline:var(--calcite-spacing-xs);align-self:center}.esri-sketch__selection-count-chip--vertical{margin-block:calc(var(--calcite-spacing-md) * var(--sketch-chip-margin-scale-factor, 1));scale:var(--sketch-chip-rescale, 1);align-self:center;margin-inline:0}.esri-sketch__selection-count-chip--vertical--s{--sketch-chip-rescale: .8;--sketch-chip-margin-scale-factor: .5}.esri-sketch--vertical{max-height:min(100vh - 120px,100cqh - 120px)}.esri-expand__popover-content .esri-sketch{gap:0}.esri-sketch-tooltip-controls{flex-flow:column wrap;min-width:100%;display:flex}.esri-sketch-tooltip-controls__block{border-block-end:none;margin:0}.esri-sketch-tooltip-controls__block-content{flex-direction:column;gap:6px;display:flex}.esri-sketch-tooltip-controls__radio-button-label-wrapper{align-items:center;gap:2px;display:flex}.esri-sketch-tooltip-controls calcite-label:last-child{--calcite-label-margin-bottom: 0}`, b = d(l);
|
|
11
|
+
const h = p`.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)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.root{user-select:none;display:flex;flex-flow:column wrap;padding:var(--arcgis-internal-padding);overflow-y:auto;width:100%;.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}calcite-block>.esri-grid-controls{background:0 0;padding:0}.esri-grid-controls{-webkit-user-select:none;user-select:none;padding:var(--arcgis-internal-padding);flex-flow:column wrap;display:flex;calcite-label.esri-labeled-switch__label{margin-block-end:var(--calcite-spacing-sm, .5rem)}}.esri-grid-controls__switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1)}.esri-grid-controls__container{gap:var(--calcite-spacing-sm);flex-direction:column;flex:auto;display:flex}.esri-grid-controls__tilegroup{column-gap:var(--calcite-spacing-md);align-items:start;display:flex}.esri-grid-controls__tile__content{row-gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2);flex-direction:column;align-items:center;display:flex}.esri-grid-controls__tile__content calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}.esri-grid-controls__tile{position:relative}.esri-grid-controls__tile:focus-within{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.esri-grid-controls__tile--disabled{opacity:var(--calcite-opacity-disabled)}.esri-grid-controls__tile input[type=radio]{appearance:none;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;position:absolute;inset:0}.esri-grid-controls__tile input[type=radio]:checked+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}.esri-grid-controls__tile input[type=radio]+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid transparent}.esri-grid-controls__numeric-inputs__container{gap:var(--calcite-spacing-sm);grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.esri-grid-controls__inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}:host{--response-toolbar-vert-width: 0;--response-toolbar-vert-height: 100%;--response-toolbar-horiz-width: 100%;--response-toolbar-horiz-height: 0}.esri-responsive-toolbar__ruler{opacity:0;pointer-events:none;position:absolute}.esri-responsive-toolbar__ruler--bar{visibility:hidden;height:0;display:block;position:absolute;top:0;left:0;right:0}.esri-responsive-toolbar__ruler--bar--vertical,.esri-responsive-toolbar__ruler--pad--vertical{width:var(--response-toolbar-vert-width);height:var(--response-toolbar-vert-height)}.esri-responsive-toolbar__ruler--pad--horizontal{width:var(--response-toolbar-horiz-width);height:var(--response-toolbar-horiz-height)}.esri-responsive-toolbar__bar>div{display:contents}.esri-responsive-toolbar__bar--horizontal{min-width:100%}.esri-responsive-toolbar__bar--vertical{min-height:100%}.esri-responsive-toolbar__pad{width:min-content;display:contents}.esri-responsive-toolbar__pad>div{display:contents}.esri-responsive-toolbar__ruler--pad--vertical{width:0;height:min(100vh - 120px,100cqh - 120px)}.esri-responsive-toolbar__ruler--pad--horizontal{width:min(100vw - 60px,100cqw - 60px);height:0}.esri-split-button--split-part--vertical--s{--calcite-size-sm: 16px;max-height:16px}.esri-split-button--split-part--vertical--m{--calcite-size-md: 24px;max-height:24px}.esri-split-button--split-part--vertical--l{--calcite-size-l: 40px;max-height:40px}.esri-split-button--split-part--horizontal--s,.esri-split-button--split-part--horizontal--m{max-width:16px}.esri-split-button--split-part--horizontal--l{max-width:24px}.esri-snapping-controls__toggle-block{min-width:100%;margin:0}.esri-snapping-controls__layer-list-block{border-bottom:none;min-width:225px}.esri-snapping-controls__layer-list-block[open]{margin-block:0}.esri-snapping-controls__layer-list{overflow:auto}.esri-snapping-controls__layer-list__filter{margin-bottom:10px}.esri-snapping-controls__layer-list__button{margin-bottom:6px}.esri-snapping-controls__layer-list__item calcite-accordion-item calcite-icon,.esri-snapping-controls__layer-list__item calcite-action calcite-icon{margin-inline-start:0}.esri-snapping-controls__layer-list__item calcite-icon{color:var(--calcite-color-brand);margin-inline-start:var(--calcite-list-item-spacing-indent)}.esri-snapping-controls{flex-flow:column wrap;display:flex}.esri-snapping-controls__container{flex-direction:column;flex:auto;display:flex}.esri-snapping-controls__container :only-child{border-block-end:none}.esri-snapping-controls__panel{width:320px}.esri-snapping-controls__item{border:1px solid #adadad4d;cursor:pointer;background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-border-1);border-radius:2px;justify-content:space-between;margin:3px 0;padding:3px;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px #adadad4d}.esri-snapping-controls__item-action-icon{flex:0 0 16px;width:16px;height:16px;margin-top:.1em;font-size:var(--calcite-font-size-md);display:inline-block}.esri-snapping-controls__action-toggle{opacity:1;cursor:pointer;border:1px solid var(--calcite-color-border-1);flex-flow:row-reverse;justify-content:space-between;align-items:flex-start;width:100%;margin:0;padding:6px 15px;font-size:var(--calcite-font-size-sm);transition:opacity .25s ease-in-out .25s,background-color .25s ease-in-out;display:flex}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-title{margin-left:0}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);border-radius:16px;flex:0 0 28px;width:16px;height:16px;padding:0;transition:background-color .125s ease-in-out;position:relative;overflow:hidden;box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon:before{content:"";background-color:var(--calcite-color-foreground-2);border-radius:100%;width:12px;height:12px;margin:2px;transition:background-color .125s ease-in-out,left .125s ease-in-out;display:block;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #242424}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon:before{background-color:var(--calcite-color-foreground-3);left:12px}.esri-snapping-controls__nested-container{flex-direction:column;gap:6px;display:flex}.esri-snapping-controls__nested-container:not(:empty){padding-top:6px;padding-inline-start:1em}.esri-labeled-switch__label{--calcite-label-margin-bottom: 0}.esri-labeled-switch__label-content{text-wrap:balance;flex:1;align-items:center;gap:7px;display:flex}.esri-labeled-switch__label-content>div{flex-grow:1}.esri-labeled-switch__icon{margin-top:-1px}.esri-labeled-switch__icon_info{color:var(--calcite-color-status-info)}.esri-labeled-switch__icon_warning{color:var(--calcite-color-status-warning)}.esri-labeled-switch__tooltip{text-wrap:wrap}:host{display:flex;max-width:100%;justify-content:flex-end;pointer-events:none;--sketch-pad-flex-flow: wrap;--sketch-view-height-offset: 63px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 49px}:host([scale="s"]){--sketch-view-height-offset: 47px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 33px}:host([scale="l"]){--sketch-view-height-offset: 79px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 65px}div:has(>.esri-sketch){display:contents}.esri-sketch{-webkit-user-select:none;user-select:none;pointer-events:none;display:flex}.esri-sketch-pad{gap:var(--arcgis-internal-sketch-gap, var(--calcite-spacing-sm));flex-flow:var(--sketch-pad-flex-flow);justify-content:var(--arcgis-internal-sketch-justify-content, flex-start)}.esri-sketch-pad:dir(rtl){flex-flow:row-reverse wrap}.esri-sketch-pad.esri-sketch--vertical{flex-flow:var(--sketch-pad-flex-flow, column wrap);justify-content:flex-start;--sketch-view-height-offset: 30px;--sketch-view-margin-offset: 15px}.esri-sketch-pad.esri-sketch--vertical:dir(rtl){flex-flow:var(--sketch-pad-flex-flow, column wrap-reverse)}.esri-sketch-pad.esri-sketch--vertical .esri-selection-toolbar__container{flex-direction:column}.esri-sketch>*{pointer-events:initial;display:flex}.esri-sketch-bar{flex-direction:column;gap:0;margin:0;flex-basis:100%}.esri-sketch-bar.esri-sketch--vertical{flex-flow:row}.esri-sketch__popover-wrapper{inline-size:max-content;min-inline-size:300px;max-height:calc(100cqh - (var(--sketch-view-height-offset, 90px)) - var(--sketch-view-margin-offset, 15px) - var(--sketch-popover-header-offset, 1000px));-webkit-user-select:none;user-select:none;max-inline-size:400px;overflow-y:auto}.esri-sketch__popover-wrapper .esri-sketch-tooltip-controls:not(:only-child) calcite-block{border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.esri-sketch__selection-count-chip--horizontal{margin-block:var(--calcite-spacing-xxs);margin-inline:var(--calcite-spacing-xs);align-self:center}.esri-sketch__selection-count-chip--vertical{margin-block:calc(var(--calcite-spacing-md) * var(--sketch-chip-margin-scale-factor, 1));scale:var(--sketch-chip-rescale, 1);align-self:center;margin-inline:0}.esri-sketch__selection-count-chip--vertical--s{--sketch-chip-rescale: .8;--sketch-chip-margin-scale-factor: .5}.esri-sketch--vertical{max-height:min(100vh - 120px,100cqh - 120px)}.esri-expand__popover-content .esri-sketch{gap:0}.esri-sketch-tooltip-controls{flex-flow:column wrap;min-width:100%;display:flex}.esri-sketch-tooltip-controls__block{border-block-end:none;margin:0}.esri-sketch-tooltip-controls__block-content{flex-direction:column;gap:6px;display:flex}.esri-sketch-tooltip-controls__radio-button-label-wrapper{align-items:center;gap:2px;display:flex}.esri-sketch-tooltip-controls calcite-label:last-child{--calcite-label-margin-bottom: 0}`, b = d(l);
|
|
12
12
|
class m extends n {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(), this._visualScale = "m", this.widget = b(this), this.viewModel = this.widget.viewModel, this._defaultGraphicsLayer = null, this.view = this.widget.view, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsMultipoint = this.widget.visibleElements.createTools.multipoint, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideSelectionCountLabel = this.widget.visibleElements.selectionCountLabel, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.showCreateToolsFreehandPolygon = this.widget.visibleElements.createTools.freehandPolygon, this.showCreateToolsFreehandPolyline = this.widget.visibleElements.createTools.freehandPolyline, this.showCreateToolsText = this.widget.visibleElements.createTools.text, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = this.widget.toolbarKind, this.tooltipOptions = this.widget.tooltipOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = o(() => this.widget, "create"), this.arcgisDelete = o(() => this.widget, "delete"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = c(), this.arcgisRedo = o(() => this.widget, "redo"), this.arcgisUndo = o(() => this.widget, "undo"), this.arcgisUpdate = o(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
|
|
@@ -8,9 +8,9 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
8
8
|
/**
|
|
9
9
|
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
10
10
|
*
|
|
11
|
-
* This sub-component renders the aggregated geometry from a `TraceResult` on a view
|
|
12
|
-
*
|
|
13
|
-
* toggle which
|
|
11
|
+
* This sub-component renders the aggregated geometry from a `TraceResult` on a view.
|
|
12
|
+
* The component does not project the geometry on the client.
|
|
13
|
+
* This sub-component also renders a "Show graphics" toggle which shows or hides the aggregated geometry graphics.
|
|
14
14
|
*
|
|
15
15
|
* The user can specify a color to render the aggregated geometry graphics in.
|
|
16
16
|
*
|
|
@@ -54,8 +54,6 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
54
54
|
accessor graphicsColor: Color;
|
|
55
55
|
/** @default false */
|
|
56
56
|
accessor hideGraphics: boolean;
|
|
57
|
-
/** @default "ready" */
|
|
58
|
-
accessor state: State;
|
|
59
57
|
/** @required */
|
|
60
58
|
accessor view: MapView | undefined;
|
|
61
59
|
/** Permanently destroy the component. */
|
|
@@ -64,7 +62,4 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
64
62
|
readonly "@eventTypes": {
|
|
65
63
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkAggregatedGeometry["arcgisHideGraphicsChange"]["detail"];
|
|
66
64
|
};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export type State = "loading" | "ready";
|
|
65
|
+
}
|
|
@@ -1,111 +1,106 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import d from "@arcgis/core/Graphic.js";
|
|
3
|
+
import p from "@arcgis/core/Color.js";
|
|
4
|
+
import l from "@arcgis/core/Graphic.js";
|
|
6
5
|
import g from "@arcgis/core/layers/GraphicsLayer.js";
|
|
7
6
|
import y from "@arcgis/core/symbols/SimpleFillSymbol.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { LitElement as
|
|
11
|
-
import { log as
|
|
12
|
-
import { css as
|
|
13
|
-
import { u as
|
|
14
|
-
import { i as
|
|
15
|
-
const
|
|
16
|
-
class
|
|
7
|
+
import n from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
8
|
+
import d from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
9
|
+
import { LitElement as w, createEvent as _, nothing as f } from "@arcgis/lumina";
|
|
10
|
+
import { log as s, composeMissingPropertyMessage as a } from "@arcgis/toolkit/log";
|
|
11
|
+
import { css as G, html as u } from "lit";
|
|
12
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
13
|
+
import { i as v, a as o } from "../../chunks/layer-utils.js";
|
|
14
|
+
const b = G`.loader-container{display:flex;justify-content:center;padding-bottom:var(--calcite-spacing-md)}`, h = 12;
|
|
15
|
+
class S extends w {
|
|
17
16
|
constructor() {
|
|
18
|
-
super(...arguments), this._graphicsLayerName =
|
|
19
|
-
const
|
|
20
|
-
this.
|
|
17
|
+
super(...arguments), this._graphicsLayerName = "arcgis-utility-network-aggregated-geometry-graphics", this._messages = L({ blocking: !0 }), this._graphics = [], this._addAggregatedGeometryToView = () => {
|
|
18
|
+
const e = this.geometry, { line: i, multipoint: r, polygon: c } = e;
|
|
19
|
+
this._graphics = [i, r, c].filter((t) => t != null).map((t) => this._makeGraphicFromGeometry(t)), this._graphicsLayer.addMany(this._graphics);
|
|
21
20
|
}, this._createGraphicsLayer = () => {
|
|
22
|
-
const
|
|
23
|
-
if (
|
|
24
|
-
this._graphicsLayer =
|
|
21
|
+
const e = this.view.map, i = this._graphicsLayerName, r = e.findLayerById(i);
|
|
22
|
+
if (r && v(r)) {
|
|
23
|
+
this._graphicsLayer = r;
|
|
25
24
|
return;
|
|
26
25
|
}
|
|
27
26
|
this._graphicsLayer = new g({
|
|
28
|
-
id:
|
|
27
|
+
id: i,
|
|
29
28
|
listMode: "hide",
|
|
30
|
-
title:
|
|
31
|
-
}),
|
|
32
|
-
}, this.hideGraphics = !1, this.graphicsColor = new
|
|
29
|
+
title: i
|
|
30
|
+
}), o(this.view, this._graphicsLayer);
|
|
31
|
+
}, this.hideGraphics = !1, this.graphicsColor = new p([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.arcgisHideGraphicsChange = _();
|
|
33
32
|
}
|
|
34
33
|
static {
|
|
35
|
-
this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0,
|
|
34
|
+
this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0, view: 0, autoDestroyDisabled: 5 };
|
|
36
35
|
}
|
|
37
36
|
static {
|
|
38
|
-
this.styles =
|
|
37
|
+
this.styles = b;
|
|
39
38
|
}
|
|
40
39
|
async destroy() {
|
|
41
40
|
this.view?.map && this._graphicsLayer && this.view.map.remove(this._graphicsLayer), await this.manager.destroy();
|
|
42
41
|
}
|
|
43
42
|
connectedCallback() {
|
|
44
|
-
super.connectedCallback(), this.view && this._graphicsLayer &&
|
|
43
|
+
super.connectedCallback(), this.view && this._graphicsLayer && o(this.view, this._graphicsLayer);
|
|
45
44
|
}
|
|
46
45
|
load() {
|
|
47
|
-
!this.geometry || !this.view?.map || this.
|
|
46
|
+
!this.geometry || !this.view?.map || this._createGraphicsLayer();
|
|
48
47
|
}
|
|
49
|
-
willUpdate(
|
|
50
|
-
if (
|
|
51
|
-
const
|
|
52
|
-
|
|
48
|
+
willUpdate(e) {
|
|
49
|
+
if (e.has("graphicsColor") && this._updateGraphicSymbols(), e.has("geometry") && (this._graphicsLayer?.removeAll(), this._addAggregatedGeometryToView()), e.has("view")) {
|
|
50
|
+
const i = e.get("view");
|
|
51
|
+
i?.map && this._graphicsLayer && (i.map.remove(this._graphicsLayer), this._createGraphicsLayer(), this._addAggregatedGeometryToView());
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
loaded() {
|
|
56
|
-
this.geometry ||
|
|
55
|
+
this.geometry || s("error", this, a("geometry")), this.view ? this.view.map || s("error", this, a("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : s("error", this, a("view"));
|
|
57
56
|
}
|
|
58
57
|
_handleShowGraphicsChange() {
|
|
59
|
-
this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this.
|
|
58
|
+
this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this._graphics), this.arcgisHideGraphicsChange.emit(this.hideGraphics);
|
|
60
59
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
_makeGraphicFromGeometry(i) {
|
|
65
|
-
const e = s.execute(i, this.view.spatialReference);
|
|
66
|
-
return new d({
|
|
60
|
+
_makeGraphicFromGeometry(e) {
|
|
61
|
+
return new l({
|
|
67
62
|
geometry: e,
|
|
68
|
-
symbol: this._makeSymbolForGeometry(
|
|
63
|
+
symbol: this._makeSymbolForGeometry(e)
|
|
69
64
|
});
|
|
70
65
|
}
|
|
71
|
-
_makeSymbolForGeometry(
|
|
72
|
-
const
|
|
73
|
-
switch (
|
|
66
|
+
_makeSymbolForGeometry(e) {
|
|
67
|
+
const i = this.graphicsColor;
|
|
68
|
+
switch (e.type) {
|
|
74
69
|
case "multipoint":
|
|
75
|
-
return new
|
|
76
|
-
color:
|
|
70
|
+
return new d({
|
|
71
|
+
color: i,
|
|
77
72
|
size: h,
|
|
78
73
|
outline: {
|
|
79
|
-
color:
|
|
74
|
+
color: i,
|
|
80
75
|
width: 0
|
|
81
76
|
}
|
|
82
77
|
});
|
|
83
78
|
case "polygon":
|
|
84
79
|
return new y({
|
|
85
|
-
color:
|
|
80
|
+
color: i,
|
|
86
81
|
outline: {
|
|
87
|
-
color:
|
|
82
|
+
color: i,
|
|
88
83
|
width: h
|
|
89
84
|
}
|
|
90
85
|
});
|
|
91
86
|
case "polyline":
|
|
92
|
-
return new
|
|
93
|
-
color:
|
|
87
|
+
return new n({
|
|
88
|
+
color: i,
|
|
94
89
|
width: h
|
|
95
90
|
});
|
|
96
91
|
}
|
|
97
92
|
}
|
|
98
93
|
_updateGraphicSymbols() {
|
|
99
|
-
this._graphicsLayer?.graphics.forEach((
|
|
100
|
-
const
|
|
101
|
-
|
|
94
|
+
this._graphicsLayer?.graphics.forEach((e) => {
|
|
95
|
+
const i = e.geometry;
|
|
96
|
+
e.symbol = this._makeSymbolForGeometry(i);
|
|
102
97
|
});
|
|
103
98
|
}
|
|
104
99
|
render() {
|
|
105
|
-
return
|
|
100
|
+
return u`<calcite-switch .checked=${!this.hideGraphics} .label=${this._messages.labels.showGraphicsToggle} label-text-end=${this._messages.showGraphics ?? f} @calciteSwitchChange=${this._handleShowGraphicsChange}></calcite-switch>`;
|
|
106
101
|
}
|
|
107
102
|
}
|
|
108
|
-
m("arcgis-utility-network-aggregated-geometry",
|
|
103
|
+
m("arcgis-utility-network-aggregated-geometry", S);
|
|
109
104
|
export {
|
|
110
|
-
|
|
105
|
+
S as ArcgisUtilityNetworkAggregatedGeometry
|
|
111
106
|
};
|
|
@@ -8,12 +8,12 @@ import "@arcgis/core/core/Error.js";
|
|
|
8
8
|
import b from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
|
|
9
9
|
import { LitElement as v, createEvent as l } from "@arcgis/lumina";
|
|
10
10
|
import { log as u } from "@arcgis/toolkit/log";
|
|
11
|
-
import { u as
|
|
12
|
-
import { m as
|
|
13
|
-
const T = f`: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%)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}#no-starting-points-panel{flex:none;height:fit-content;--calcite-panel-background-color: var(--calcite-color-foreground-1)}#no-starting-points-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}`, R =
|
|
11
|
+
import { u as w } from "../../chunks/useT9n.js";
|
|
12
|
+
import { m as _ } from "../../chunks/useViewModel.js";
|
|
13
|
+
const T = f`: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%)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}#no-starting-points-panel{flex:none;height:fit-content;--calcite-panel-background-color: var(--calcite-color-foreground-1)}#no-starting-points-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}`, R = _(b);
|
|
14
14
|
class $ extends v {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._messages =
|
|
16
|
+
super(...arguments), this._messages = w({ blocking: !0 }), this._viewModel = R(this), this._highlightHandles = [], this._handleRunTraceButtonClick = () => {
|
|
17
17
|
const t = this._traceInputsElement?.traceLocations?.some((a) => a.type === "starting-point");
|
|
18
18
|
if (this.traceError = void 0, !this._isSubnetworkNameTraceSelected && !t) {
|
|
19
19
|
this.showNoStartingPointsWarning = !0;
|
|
@@ -104,7 +104,8 @@ class $ extends v {
|
|
|
104
104
|
traceType: e.traceType,
|
|
105
105
|
traceConfiguration: t,
|
|
106
106
|
traceLocations: a ?? [],
|
|
107
|
-
resultTypes: e.resultTypes
|
|
107
|
+
resultTypes: e.resultTypes,
|
|
108
|
+
outSpatialReference: this.view?.spatialReference
|
|
108
109
|
}), this.disableHighlightFeatureResults || this._highlightResults();
|
|
109
110
|
} catch (n) {
|
|
110
111
|
const i = n, s = i.details ? { detail: i.details } : void 0;
|
|
@@ -14,12 +14,12 @@ import y from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSourc
|
|
|
14
14
|
import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
15
15
|
import { LitElement as v, createEvent as d } from "@arcgis/lumina";
|
|
16
16
|
import { usePropertyChange as E } from "@arcgis/lumina/controllers";
|
|
17
|
-
import { log as u, composeMissingPropertyMessage as F, composeEmptyPropertyMessage as
|
|
18
|
-
import { css as
|
|
17
|
+
import { log as u, composeMissingPropertyMessage as F, composeEmptyPropertyMessage as I } from "@arcgis/toolkit/log";
|
|
18
|
+
import { css as P, html as s } from "lit";
|
|
19
19
|
import { u as U } from "../../chunks/useT9n.js";
|
|
20
20
|
import { h as w } from "../../chunks/feature-utils.js";
|
|
21
21
|
import { a as A, i as b } from "../../chunks/layer-utils.js";
|
|
22
|
-
const D =
|
|
22
|
+
const D = P`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-select,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md) 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}`, p = `utility-network-trace-inputs-sketch-${Date.now()}`, n = `utility-network-trace-inputs-flags-${Date.now()}`, M = 20;
|
|
23
23
|
class B extends v {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = U({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new l(), this._barriers = new l(), this._stoppingPoints = new l(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
@@ -68,6 +68,10 @@ class B extends v {
|
|
|
68
68
|
const e = this.selectedNamedTraceConfiguration?.traceType;
|
|
69
69
|
return e === "path" || e === "circuit";
|
|
70
70
|
}
|
|
71
|
+
get _subnetworkLayerIds() {
|
|
72
|
+
const e = this.selectedUtilityNetwork?.dataElement?.domainNetworks;
|
|
73
|
+
return e ? e.map((t) => t.subnetworkLayerId).filter((t) => t != null && t > -1) : [];
|
|
74
|
+
}
|
|
71
75
|
get unTraceConfiguration() {
|
|
72
76
|
return this._unTraceConfiguration;
|
|
73
77
|
}
|
|
@@ -212,12 +216,12 @@ class B extends v {
|
|
|
212
216
|
}
|
|
213
217
|
_filterUnLayers() {
|
|
214
218
|
const { selectedUtilityNetwork: e } = this;
|
|
215
|
-
this._unLayers = new l(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
219
|
+
this._unLayers = new l(this._allLayers.filter((t) => e?.isUtilityLayer(t) && !this._subnetworkLayerIds.includes(t.layerId))), this._setSnappingOption();
|
|
216
220
|
}
|
|
217
221
|
_handleUtilityNetworksChange() {
|
|
218
222
|
const { utilityNetworks: e } = this;
|
|
219
223
|
if (!e || e.length === 0) {
|
|
220
|
-
this._state = "error", u("error", this,
|
|
224
|
+
this._state = "error", u("error", this, I("utilityNetworks"));
|
|
221
225
|
return;
|
|
222
226
|
}
|
|
223
227
|
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { queryAllJSON as
|
|
4
|
-
import
|
|
2
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
+
import { queryAllJSON as b } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
+
import v from "@arcgis/core/Color.js";
|
|
5
5
|
import "@arcgis/core/core/Error.js";
|
|
6
|
-
import * as m from "@arcgis/core/geometry/operators/shapePreservingProjectOperator.js";
|
|
7
6
|
import "@arcgis/core/Graphic.js";
|
|
8
|
-
import
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { log as h, composeMissingPropertyMessage as
|
|
11
|
-
import { css as
|
|
12
|
-
import { u as
|
|
7
|
+
import $ from "@arcgis/core/rest/support/FeatureSet.js";
|
|
8
|
+
import { LitElement as F, createEvent as d } from "@arcgis/lumina";
|
|
9
|
+
import { log as h, composeMissingPropertyMessage as m, composeEmptyPropertyMessage as w } from "@arcgis/toolkit/log";
|
|
10
|
+
import { css as L, html as r } from "lit";
|
|
11
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
13
12
|
import { h as y } from "../../chunks/feature-utils.js";
|
|
14
|
-
import { createRef as
|
|
15
|
-
const
|
|
13
|
+
import { createRef as R, ref as g } from "lit/directives/ref.js";
|
|
14
|
+
const T = L`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, p = {
|
|
16
15
|
dirtyAreasDiscovered: -2147208511,
|
|
17
16
|
noValidControllers: -2147208935
|
|
18
17
|
};
|
|
19
|
-
class
|
|
18
|
+
class E extends F {
|
|
20
19
|
constructor() {
|
|
21
|
-
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages =
|
|
20
|
+
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = C({ blocking: !0 }), this._elementsWithoutLayer = [], this._popoverRef = R(), this._featuresFromSelectedLayer = [], this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._compareByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
|
|
22
21
|
const a = e[0].feature.layer, s = t[0].feature.layer, c = a?.title ?? "", l = s?.title ?? "";
|
|
23
22
|
return c.localeCompare(l, void 0, { numeric: !0 });
|
|
24
23
|
}, this._queryFeaturesOnLayer = async ([e, t]) => {
|
|
@@ -29,12 +28,12 @@ class G extends w {
|
|
|
29
28
|
}
|
|
30
29
|
const l = s.createQuery();
|
|
31
30
|
l.gdbVersion = this.utilityNetwork?.gdbVersion, l.objectIds = c.map((i) => i.objectId), l.outFields = ["*"];
|
|
32
|
-
const { features: n } =
|
|
31
|
+
const { features: n } = $.fromJSON(await b(s, l)), o = await Promise.all(n.map(async (i) => {
|
|
33
32
|
i.layer = s.type === "subtype-group" ? s.findSublayerForFeature(i) : s, i.origin = i.layer;
|
|
34
33
|
const u = i.layer;
|
|
35
34
|
if (i.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (i.popupTemplate = u.createPopupTemplate()), u && "getFeatureTitle" in u) {
|
|
36
|
-
const
|
|
37
|
-
return { feature: i, label:
|
|
35
|
+
const _ = await u.getFeatureTitle(i) || y(i);
|
|
36
|
+
return { feature: i, label: _ };
|
|
38
37
|
}
|
|
39
38
|
return { feature: i, label: y(i) };
|
|
40
39
|
}));
|
|
@@ -43,7 +42,7 @@ class G extends w {
|
|
|
43
42
|
e && (this._aggregatedGeometryComponentElement = e);
|
|
44
43
|
}, this._featuresRefChange = (e) => {
|
|
45
44
|
e && (this._featuresComponentElement = e);
|
|
46
|
-
}, this._aggregatedGeometryDisabled = !1, this.aggregatedGeometryGraphicsColor = new
|
|
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 = d(), this.arcgisHideGraphicsChange = d(), this.arcgisSelectedLayerChange = d(), this.arcgisSelectedResultTypeChange = d(), this.arcgisTraceResultFeaturesReady = d(), this._renderLayerListItem = ([, e]) => {
|
|
47
46
|
if (!e.length)
|
|
48
47
|
return null;
|
|
49
48
|
const t = e[0].feature.layer, a = t?.title || this._messages.unknown;
|
|
@@ -57,7 +56,7 @@ class G extends w {
|
|
|
57
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 };
|
|
58
57
|
}
|
|
59
58
|
static {
|
|
60
|
-
this.styles =
|
|
59
|
+
this.styles = T;
|
|
61
60
|
}
|
|
62
61
|
get featuresFromSelectedLayer() {
|
|
63
62
|
return this._featuresFromSelectedLayer.map(({ feature: e }) => e);
|
|
@@ -72,7 +71,7 @@ class G extends w {
|
|
|
72
71
|
this._layerIdToFeatures.clear(), this._subtypeCodeToFeatures.clear(), this._sourceIdToElements.clear(), this._aggregatedGeometryComponentElement?.destroy(), this._featuresComponentElement?.destroy(), await this.manager.destroy();
|
|
73
72
|
}
|
|
74
73
|
load() {
|
|
75
|
-
this.traceResult && (this._setSourceIdToElements(), this._loadDependencies().then(() => this._queryTraceResultsFeatures()).
|
|
74
|
+
this.traceResult && (this._setSourceIdToElements(), this._loadDependencies().then(() => this._queryTraceResultsFeatures()).finally(() => {
|
|
76
75
|
this.arcgisTraceResultFeaturesReady.emit(), this.state = "ready";
|
|
77
76
|
}));
|
|
78
77
|
}
|
|
@@ -80,7 +79,7 @@ class G extends w {
|
|
|
80
79
|
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1, this.traceResult || (this.traceResultFeatures = [], this._elementsWithoutLayer = [])), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
81
80
|
}
|
|
82
81
|
loaded() {
|
|
83
|
-
this.utilityNetwork || h("warn", this,
|
|
82
|
+
this.utilityNetwork || h("warn", this, m("utilityNetwork")), this.layers.length === 0 && h("warn", this, w("layers")), this.view || h("warn", this, m("view"));
|
|
84
83
|
}
|
|
85
84
|
disconnectedCallback() {
|
|
86
85
|
super.disconnectedCallback(), this._layerIdToLayer.clear();
|
|
@@ -114,10 +113,6 @@ class G extends w {
|
|
|
114
113
|
const a = this._unLayers.filter((s) => !s.loaded).map((s) => s.load());
|
|
115
114
|
a.length > 0 && (this.state = "loading", await Promise.allSettled(a));
|
|
116
115
|
}
|
|
117
|
-
async _loadProjectOperator() {
|
|
118
|
-
const { aggregatedGeometry: e } = this.traceResult;
|
|
119
|
-
e && !m.isLoaded() && await m.load();
|
|
120
|
-
}
|
|
121
116
|
async _queryTraceResultsFeatures() {
|
|
122
117
|
const e = Array.from(this._sourceIdToElements.entries());
|
|
123
118
|
if (!e.length)
|
|
@@ -175,7 +170,7 @@ class G extends w {
|
|
|
175
170
|
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s != null ? this._renderAggregatedGeometry(s) : null}${s != null && !t.length ? this._renderNoSelectableResults() : null}${t.length > 0 ? this.hideFeatureResults ? this._renderFeaturesAreHidden() : this._renderElementsResults() : null}${a.length > 0 ? this._renderFunctionsResults(a) : null}</calcite-panel>`;
|
|
176
171
|
}
|
|
177
172
|
_renderAggregatedGeometry(e) {
|
|
178
|
-
return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange}
|
|
173
|
+
return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} auto-destroy-disabled ${g(this._aggregateGeometryRefChange)}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()} .disabled=${this._aggregatedGeometryDisabled}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable ${g(this._popoverRef)}><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${(t) => {
|
|
179
174
|
const a = t.target.value;
|
|
180
175
|
this.arcgisAggregatedGeometryGraphicsColorChange.emit(a);
|
|
181
176
|
}} .disabled=${this._aggregatedGeometryDisabled}></calcite-color-picker></calcite-popover></div>`;
|
|
@@ -211,10 +206,10 @@ class G extends w {
|
|
|
211
206
|
_renderErrorLanding(e) {
|
|
212
207
|
let t = e.message;
|
|
213
208
|
switch (e.details?.raw?.extendedCode) {
|
|
214
|
-
case
|
|
209
|
+
case p.dirtyAreasDiscovered:
|
|
215
210
|
t = this._messages.traceErrors.dirtyAreasDiscovered;
|
|
216
211
|
break;
|
|
217
|
-
case
|
|
212
|
+
case p.noValidControllers:
|
|
218
213
|
t = this._messages.traceErrors.noValidControllers;
|
|
219
214
|
break;
|
|
220
215
|
}
|
|
@@ -227,7 +222,7 @@ class G extends w {
|
|
|
227
222
|
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`;
|
|
228
223
|
}
|
|
229
224
|
}
|
|
230
|
-
|
|
225
|
+
f("arcgis-utility-network-trace-results", E);
|
|
231
226
|
export {
|
|
232
|
-
|
|
227
|
+
E as ArcgisUtilityNetworkTraceResults
|
|
233
228
|
};
|