@arcgis/map-components 6.0.0-next.5 → 6.0.0-next.7

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.
Files changed (36) hide show
  1. package/dist/cdn/43ETXXS2.js +2 -0
  2. package/dist/cdn/{WSHG4LV7.js → PPVXOP43.js} +1 -1
  3. package/dist/cdn/Q3B3NI7P.js +2 -0
  4. package/dist/cdn/{M6YVO33A.js → YYQRUMEZ.js} +1 -1
  5. package/dist/cdn/index.js +1 -1
  6. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
  7. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
  8. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  9. package/dist/components/arcgis-basemap-gallery/customElement.js +10 -10
  10. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
  11. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
  12. package/dist/components/arcgis-editor/customElement.d.ts +8 -5
  13. package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
  14. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
  15. package/dist/components/arcgis-exploratory-analysis/customElement.js +51 -51
  16. package/dist/components/arcgis-feature-fields/customElement.js +20 -20
  17. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
  18. package/dist/components/arcgis-link-chart/customElement.d.ts +4 -2
  19. package/dist/components/arcgis-map/customElement.d.ts +4 -2
  20. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  21. package/dist/components/arcgis-scene/customElement.d.ts +4 -2
  22. package/dist/components/arcgis-sketch/customElement.d.ts +18 -7
  23. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  24. package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
  25. package/dist/docs/api.json +1 -1
  26. package/dist/docs/docs.json +1 -1
  27. package/dist/docs/vscode.html-custom-data.json +1 -1
  28. package/dist/docs/web-types.json +1 -1
  29. package/dist/loader.js +1 -1
  30. package/dist/types/lumina.d.ts +1 -1
  31. package/dist/types/preact.d.ts +1 -1
  32. package/dist/types/react.d.ts +1 -1
  33. package/dist/types/stencil.d.ts +1 -1
  34. package/package.json +6 -6
  35. package/dist/cdn/FDJGQHUA.js +0 -2
  36. package/dist/cdn/LU22VNJ7.js +0 -2
@@ -3,17 +3,17 @@ import { c as f } from "../../chunks/runtime.js";
3
3
  import { css as u, html as s } from "lit";
4
4
  import { classes as w } from "@arcgis/toolkit/dom";
5
5
  import { watch as v, when as b } from "@arcgis/core/core/reactiveUtils.js";
6
- import _ from "@arcgis/core/basemaps/BasemapCollection.js";
6
+ import _ from "@arcgis/core/basemapGallery/BasemapGalleryModel.js";
7
7
  import { LitElement as x, createEvent as y, nothing as d, safeClassMap as p, safeStyleMap as k } from "@arcgis/lumina";
8
8
  import { useDirection as z, usePropertyChange as M } from "@arcgis/lumina/controllers";
9
9
  import { u as $ } from "../../chunks/useT9n.js";
10
- import { m as C } from "../../chunks/useViewModel.js";
11
- import { H as B } from "../../chunks/heading.js";
10
+ import { m as B } from "../../chunks/useViewModel.js";
11
+ import { H as C } from "../../chunks/heading.js";
12
12
  import { g as l } from "../../chunks/globalCss.js";
13
13
  import { i as L, a as E } from "../../chunks/keyboard-utils.js";
14
- const R = u`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.root{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.root .loader:before,.root .loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.root .loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.root .loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.root{width:280px;max-height:80vh}.ui-corner calcite-panel>.root.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.root,.view-width-greater-than-large .ui-corner>.root{width:450px}@container (width<=200px) or (width>=350px){.root .item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`, D = C(_);
15
- function I(o) {
16
- return o.type === "2d" && "view2dType" in o && o.view2dType === "linkchart" && "inGeographicLayout" in o && o.inGeographicLayout === !1;
14
+ const R = u`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.root{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.root .loader:before,.root .loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.root .loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.root .loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.root{width:280px;max-height:80vh}.ui-corner calcite-panel>.root.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.root,.view-width-greater-than-large .ui-corner>.root{width:450px}@container (width<=200px) or (width>=350px){.root .item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`, D = B(_);
15
+ function I(a) {
16
+ return a.type === "2d" && "view2dType" in a && a.view2dType === "linkchart" && "inGeographicLayout" in a && a.inGeographicLayout === !1;
17
17
  }
18
18
  const c = {
19
19
  // Below this width, items are displayed as a single column and the thumbnail is placed above the title.
@@ -71,16 +71,16 @@ class Y extends x {
71
71
  if (!L(i))
72
72
  return;
73
73
  e.preventDefault();
74
- const { items: t, activeBasemapIndex: r } = this.viewModel, a = E(i, this._direction) ? this._getRoundRobinIndex(Math.max(r - 1, -1), t.length) : this._getRoundRobinIndex(r + 1, t.length), n = t.at(a);
74
+ const { items: t, activeBasemapIndex: r } = this.viewModel, o = E(i, this._direction) ? this._getRoundRobinIndex(Math.max(r - 1, -1), t.length) : this._getRoundRobinIndex(r + 1, t.length), n = t.at(o);
75
75
  n?.state === "ready" && (this.viewModel.activeBasemap = n.basemap);
76
76
  }
77
77
  render() {
78
78
  const e = this.source.state === "loading", i = this.disabled || this.state === "disabled", t = this.viewModel.items, r = {
79
79
  "source-loading": e,
80
80
  [l.disabled]: i
81
- }, a = this._width;
82
- r["layout-grid"] = a >= c.wide || a <= c.small, r["narrow-items"] = a < c.default;
83
- const n = e ? s`<div class="loader"></div>` : null, g = e ? null : t.length > 0 ? s`<div aria-disabled=${this.disabled ?? d} aria-label=${this.label ?? d} class="item-container" @keydown=${this._handleKeyDown} role=radiogroup>${t.map((m, h) => s`<arcgis-basemap-gallery-item .disabled=${i} .item=${m} .itemIndex=${h} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-basemap-gallery-item>`)}</div>` : s`<div class=${p(l.empty)}>${B({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
81
+ }, o = this._width;
82
+ r["layout-grid"] = o >= c.wide || o <= c.small, r["narrow-items"] = o < c.default;
83
+ const n = e ? s`<div class="loader"></div>` : null, g = e ? null : t.length > 0 ? s`<div aria-disabled=${this.disabled ?? d} aria-label=${this.label ?? d} class="item-container" @keydown=${this._handleKeyDown} role=radiogroup>${t.map((m, h) => s`<arcgis-basemap-gallery-item .disabled=${i} .item=${m} .itemIndex=${h} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-basemap-gallery-item>`)}</div>` : s`<div class=${p(l.empty)}>${C({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
84
84
  return s`<div class=${p(w("root", l.widget, l.panel, r))} style=${k({
85
85
  "--esri-basemap-gallery-small": `${c.small}px`
86
86
  })}>${[n, g]}</div>`;
@@ -144,7 +144,9 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
144
144
  */
145
145
  accessor autoDestroyDisabled: boolean;
146
146
  /**
147
- * If true, all unit-reset buttons will be hidden. Unit selection dropdowns remain available, but users cannot reset units to their defaults using the UI.
147
+ * If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
148
+ *
149
+ * Resetting a unit clears the corresponding overrides on the component and its analysis. The component then uses the corresponding value from [ViewOptions.displayUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits), or [ViewOptions.inputUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits) for input units, when that option is set and its resolved unit is included in the component's available units. Otherwise, it uses its default unit if available, or the first available unit.
148
150
  *
149
151
  * @default false
150
152
  * @since 5.2
@@ -257,15 +259,18 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
257
259
  *
258
260
  * When no unit is explicitly set on the component or its analysis, this property uses the length unit configured in the view through
259
261
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
262
+ * If that option is unset or unavailable in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions),
263
+ * the component uses its default unit if available, or the first available unit.
260
264
  * This property overrides the distance unit on this component's analysis without changing the units configured in the view.
265
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
261
266
  */
262
267
  accessor unit: SystemOrLengthUnit;
263
268
  /**
264
269
  * List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
265
270
  * By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
266
- * If the unit inherited from the view through
271
+ * When neither the component nor its analysis has an explicit unit, the unit inherited from
267
272
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
268
- * is not listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions), the component checks whether its default unit is listed there.
273
+ * is used if listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions). Otherwise, the component checks whether its default unit is listed there.
269
274
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
270
275
  * [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions).
271
276
  */
@@ -107,7 +107,9 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
107
107
  */
108
108
  accessor autoDestroyDisabled: boolean;
109
109
  /**
110
- * If true, all unit-reset buttons will be hidden. Unit selection dropdowns remain available, but users cannot reset units to their defaults using the UI.
110
+ * If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
111
+ *
112
+ * Resetting a unit clears the corresponding overrides on the component and its analysis. The component then uses the corresponding value from [ViewOptions.displayUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits), or [ViewOptions.inputUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits) for input units, when that option is set and its resolved unit is included in the component's available units. Otherwise, it uses its default unit if available, or the first available unit.
111
113
  *
112
114
  * @default false
113
115
  * @since 5.2
@@ -235,15 +237,18 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
235
237
  *
236
238
  * When no unit is explicitly set on the component or its analysis, this property uses the length unit configured in the view through
237
239
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
240
+ * If that option is unset or unavailable in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions),
241
+ * the component uses its default unit if available, or the first available unit.
238
242
  * This property overrides the distance unit on this component's analysis without changing the units configured in the view.
243
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
239
244
  */
240
245
  accessor unit: SystemOrLengthUnit;
241
246
  /**
242
247
  * List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
243
248
  * By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
244
- * If the unit inherited from the view through
249
+ * When neither the component nor its analysis has an explicit unit, the unit inherited from
245
250
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
246
- * is not listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions), the component checks whether its default unit is listed there.
251
+ * is used if listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions). Otherwise, the component checks whether its default unit is listed there.
247
252
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
248
253
  * [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-distance-measurement-2d/#unitOptions).
249
254
  */
@@ -107,7 +107,7 @@ export abstract class ArcgisEditor extends LitElement {
107
107
  */
108
108
  accessor hideSelectionToolbar: boolean;
109
109
  /**
110
- * Indicates whether to hide the settings menu. This menu contains the snapping and tooltips settings.
110
+ * Indicates whether to hide the Settings menu. This menu contains snapping and tooltip options.
111
111
  *
112
112
  * @default false
113
113
  * @since 5.0
@@ -334,6 +334,7 @@ export abstract class ArcgisEditor extends LitElement {
334
334
  /**
335
335
  * The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/) for editing. Supports self snapping and feature snapping. Starting with version 4.23, the [SnappingControls](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SnappingControls/) UI is automatically integrated into the Editor component.
336
336
  * Modify the `snappingOptions` if modifications are needed from what is provided in the default UI.
337
+ * These options are preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
337
338
  *
338
339
  * @since 4.19
339
340
  * @see [Sample - Editor widget with configurations](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-configurable/)
@@ -381,6 +382,7 @@ export abstract class ArcgisEditor extends LitElement {
381
382
  accessor syncViewSelection: boolean;
382
383
  /**
383
384
  * Options to configure the tooltip shown next to the cursor when creating or updating graphics.
385
+ * These options are preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
384
386
  *
385
387
  * @since 4.24
386
388
  */
@@ -405,13 +407,14 @@ export abstract class ArcgisEditor extends LitElement {
405
407
  */
406
408
  accessor useLegacyCreateTools: boolean;
407
409
  /**
408
- * Indicates whether the component uses the snapping, tooltip, display-unit, and input-unit options configured through [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
410
+ * If true, the component uses snapping, tooltips, display units, and input units from [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
409
411
  *
410
- * When `true`, snapping and tooltip options are inherited from the view. Options specified through [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#snappingOptions) and [tooltipOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#tooltipOptions) are preserved but ignored. When `false`, those options are used instead.
412
+ * When this property is `true`:
411
413
  *
412
- * While this property is `true`, snapping controls and the tooltip toggle are hidden from the component's settings menu because these options are inherited from the view.
414
+ * - Snapping and tooltip options are inherited from the view. The component's [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#snappingOptions) and [tooltipOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#tooltipOptions) are preserved but ignored.
415
+ * - Snapping controls and the tooltip toggle are hidden from the component's Settings menu.
413
416
  *
414
- * Explicit unit overrides take precedence over the units inherited from the view for the corresponding measurement type, such as length or area, without changing the units configured in the view. Setting an explicit unit to `null` or `undefined` restores inheritance for that measurement type.
417
+ * When `false`, the component uses its own snapping, tooltip, and unit options instead.
415
418
  *
416
419
  * Label [options](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#labelOptions) and [direction mode](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ValueOptions/#directionMode) are not inherited from the view.
417
420
  *
@@ -253,17 +253,20 @@ export abstract class ArcgisElevationProfile extends LitElement {
253
253
  *
254
254
  * When no distance unit is explicitly set on the component or its analysis, this property uses the length unit configured in the view through
255
255
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
256
+ * If that option is unset or unavailable in [distanceUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#distanceUnitOptions),
257
+ * the component uses its default unit if available, or the first available unit.
256
258
  * This property overrides the distance unit on this component's analysis without changing the units configured in the view.
259
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
257
260
  *
258
261
  * @since 5.0
259
262
  */
260
263
  accessor distanceUnit: SystemOrLengthUnit | undefined;
261
264
  /**
262
- * List of available units unit systems (imperial, metric) and specific units (e.g. feet, kilometers) for displaying
265
+ * List of available unit systems (imperial, metric) and specific units (e.g. feet, kilometers) for displaying
263
266
  * the distance values. These are the options displayed in the distance unit dropdown in the settings popover.
264
- * If the unit inherited from the view through
267
+ * When neither the component nor its analysis has an explicit distance unit, the unit inherited from
265
268
  * [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
266
- * is not listed in [distanceUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#distanceUnitOptions), the component checks whether its default unit is listed there.
269
+ * is used if listed in [distanceUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#distanceUnitOptions). Otherwise, the component checks whether its default unit is listed there.
267
270
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
268
271
  * [distanceUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#distanceUnitOptions).
269
272
  *
@@ -294,17 +297,20 @@ export abstract class ArcgisElevationProfile extends LitElement {
294
297
  *
295
298
  * When no elevation unit is explicitly set on the component or its analysis, this property uses the vertical length unit configured in the view through
296
299
  * [view.options.displayUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits).
300
+ * If that option is unset or unavailable in [elevationUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#elevationUnitOptions),
301
+ * the component uses its default unit if available, or the first available unit.
297
302
  * This property overrides the elevation unit on this component's analysis without changing the units configured in the view.
303
+ * The reset button clears both overrides and resumes this inheritance and fallback behavior.
298
304
  *
299
305
  * @since 5.0
300
306
  */
301
307
  accessor elevationUnit: SystemOrLengthUnit | undefined;
302
308
  /**
303
- * List of available units unit systems (imperial, metric) and specific units (e.g. feet, kilometers) for displaying
309
+ * List of available unit systems (imperial, metric) and specific units (e.g. feet, kilometers) for displaying
304
310
  * the elevation values. These are the options displayed in the elevation unit dropdown in the settings popover.
305
- * If the unit inherited from the view through
311
+ * When neither the component nor its analysis has an explicit elevation unit, the unit inherited from
306
312
  * [view.options.displayUnits.verticalLength](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
307
- * is not listed in [elevationUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#elevationUnitOptions), the component checks whether its default unit is listed there.
313
+ * is used if listed in [elevationUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#elevationUnitOptions). Otherwise, the component checks whether its default unit is listed there.
308
314
  * If it is, the component uses that default. If neither unit is listed, it uses the first entry in
309
315
  * [elevationUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/#elevationUnitOptions).
310
316
  *
@@ -374,7 +380,9 @@ export abstract class ArcgisElevationProfile extends LitElement {
374
380
  */
375
381
  accessor hideLegend: boolean;
376
382
  /**
377
- * If true, all unit-reset buttons will be hidden. Unit selection dropdowns remain available, but users cannot reset units to their defaults using the UI.
383
+ * If true, hides all unit-reset buttons. Unit-selection dropdowns remain available.
384
+ *
385
+ * Resetting a unit clears the corresponding overrides on the component and its analysis. The component then uses the corresponding value from [ViewOptions.displayUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits), or [ViewOptions.inputUnits](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#inputUnits) for input units, when that option is set and its resolved unit is included in the component's available units. Otherwise, it uses its default unit if available, or the first available unit.
378
386
  *
379
387
  * @default false
380
388
  * @since 5.2
@@ -152,6 +152,13 @@ export abstract class ArcgisExploratoryAnalysis extends LitElement {
152
152
  * ```
153
153
  */
154
154
  accessor preserveAnalysisOnChange: boolean;
155
+ /**
156
+ * Specifies whether an analysis tool must remain active after it is selected.
157
+ * When enabled, selecting the active tool again does not collapse the component.
158
+ *
159
+ * @default false
160
+ */
161
+ accessor requireActiveAnalysis: boolean;
155
162
  /**
156
163
  * This property provides the ability to show or hide the close button. When the close button is shown, the `ESC` key can be used to close the component via keyboard when the focus is within the component.
157
164
  *
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as u } from "../../chunks/runtime.js";
3
- import { css as y, html as r } from "lit";
2
+ import { c as m } from "../../chunks/runtime.js";
3
+ import { css as y, html as o } from "lit";
4
4
  import { watch as v } from "@arcgis/core/core/reactiveUtils.js";
5
5
  import { LitElement as g, createEvent as h, nothing as d } from "@arcgis/lumina";
6
6
  import { usePropertyChange as p } from "@arcgis/lumina/controllers";
7
- import { getSlotAssignedElements as f } from "@arcgis/toolkit/dom/slots";
8
- import { u as A } from "../../chunks/useT9n.js";
9
- import { r as m } from "../../chunks/maybe.js";
7
+ import { getSlotAssignedElements as A } from "@arcgis/toolkit/dom/slots";
8
+ import { u as f } from "../../chunks/useT9n.js";
9
+ import { r as u } from "../../chunks/maybe.js";
10
10
  const b = y`:host{--arcgis-internal-exploratory-analysis-width: fit-content;display:flex;justify-content:flex-end;width:var(--arcgis-internal-exploratory-analysis-width)}:host(:is([data-content-open],[show-heading])){--arcgis-internal-exploratory-analysis-width: var(--arcgis-internal-panel-width, 300px);calcite-panel{min-width:var(--arcgis-internal-panel-width, 300px)}calcite-action-bar{width:100%}}calcite-panel{flex:none}calcite-action-bar{width:fit-content}.selection-notice-container{padding:var(--calcite-spacing-md)}.selection-notice-list{margin-block:0;padding-inline-start:var(--calcite-spacing-lg)}.measurement-content{--arcgis-internal-padding: var(--calcite-space-md) var(--calcite-space-none);margin-block-end:var(--calcite-space-none)}.measurement-content,slot::slotted(*){width:100%}.footer{display:grid;grid-template-columns:1fr 2fr;gap:var(--calcite-spacing-md);width:100%}`, w = [
11
11
  "arcgis-area-measurement-2d",
12
12
  "arcgis-area-measurement-3d",
@@ -15,48 +15,48 @@ const b = y`:host{--arcgis-internal-exploratory-analysis-width: fit-content;disp
15
15
  "arcgis-elevation-profile",
16
16
  "arcgis-volume-measurement"
17
17
  ];
18
- function C(o) {
19
- return o?.state === "measuring" || o?.state === "creating" || o?.state === "selecting";
18
+ function C(r) {
19
+ return r?.state === "measuring" || r?.state === "creating" || r?.state === "selecting";
20
20
  }
21
21
  const _ = w.join(",");
22
22
  class $ extends g {
23
23
  constructor() {
24
- super(), this._messages = A({ blocking: !0 }), this.#i = !1, this.#t = /* @__PURE__ */ new WeakMap(), this._activeAnalysisHasInput = !1, this._measurements = [], this.autoDestroyDisabled = !1, this.autoStartDisabled = !1, this.closed = !1, this.icon = "measure", this.preserveAnalysisOnChange = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showHeading = !1, this.arcgisClose = h(), this.arcgisPropertyChange = p()("activeAnalysis"), this.arcgisReady = h(), this.listen("arcgisPropertyChange", this.#r.bind(this)), this.listen("arcgisReady", this.#r.bind(this));
24
+ super(), this._messages = f({ blocking: !0 }), this.#i = !1, this.#e = /* @__PURE__ */ new WeakMap(), this._activeAnalysisHasInput = !1, this._measurements = [], this.autoDestroyDisabled = !1, this.autoStartDisabled = !1, this.closed = !1, this.icon = "measure", this.preserveAnalysisOnChange = !1, this.requireActiveAnalysis = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showHeading = !1, this.arcgisClose = h(), this.arcgisPropertyChange = p()("activeAnalysis"), this.arcgisReady = h(), this.listen("arcgisPropertyChange", this.#o.bind(this)), this.listen("arcgisReady", this.#o.bind(this));
25
25
  }
26
26
  static {
27
- this.properties = { _activeAnalysisHasInput: 16, _activeAnalysisState: 16, _measurements: 16, activeAnalysis: 1, autoDestroyDisabled: 5, autoStartDisabled: 5, closed: 5, icon: 1, messageOverrides: 0, preserveAnalysisOnChange: 5, showCloseButton: 5, showCollapseButton: 5, showHeading: 7 };
27
+ this.properties = { _activeAnalysisHasInput: 16, _activeAnalysisState: 16, _measurements: 16, activeAnalysis: 1, autoDestroyDisabled: 5, autoStartDisabled: 5, closed: 5, icon: 1, messageOverrides: 0, preserveAnalysisOnChange: 5, requireActiveAnalysis: 5, showCloseButton: 5, showCollapseButton: 5, showHeading: 7 };
28
28
  }
29
29
  static {
30
30
  this.styles = b;
31
31
  }
32
32
  #a;
33
33
  #i;
34
- #t;
35
34
  #e;
35
+ #t;
36
36
  #n;
37
37
  #s;
38
38
  get activeAnalysis() {
39
39
  return this.#a;
40
40
  }
41
- set activeAnalysis(e) {
42
- this.#e = typeof e == "string" ? e : void 0, this.#c(typeof e == "string" ? this._measurements.find((s) => s.localName === e) : e ?? void 0);
41
+ set activeAnalysis(t) {
42
+ this.#t = typeof t == "string" ? t : void 0, this.#c(typeof t == "string" ? this._measurements.find((s) => s.localName === t) : t ?? void 0);
43
43
  }
44
44
  async destroy() {
45
45
  await this.manager.destroy();
46
46
  }
47
47
  load() {
48
- this.manager.onLifecycle(() => (this.#o(), () => {
49
- this.#s = m(this.#s), this.#n = void 0;
48
+ this.manager.onLifecycle(() => (this.#r(), () => {
49
+ this.#s = u(this.#s), this.#n = void 0;
50
50
  }));
51
51
  }
52
52
  async #l() {
53
53
  await this.activeAnalysis?.clear();
54
54
  }
55
- #m() {
55
+ #u() {
56
56
  this.closed = !0, this.arcgisClose.emit(), this.autoDestroyDisabled || this.destroy();
57
57
  }
58
- async #u({ target: e }) {
59
- const s = Number(e.selectedActions.at(0)?.dataset.measurementIndex), i = this._measurements[s], a = this.activeAnalysis;
58
+ async #m({ target: t }) {
59
+ const s = Number(t.selectedActions.at(0)?.dataset.measurementIndex), i = this._measurements[s], a = this.activeAnalysis;
60
60
  if (i) {
61
61
  if (i !== a && (!this.preserveAnalysisOnChange || C(a)) && await this.#l(), this.#h(i), this.autoStartDisabled || i.interactionDisabled || this.preserveAnalysisOnChange && i.analysis?.valid)
62
62
  return;
@@ -64,65 +64,65 @@ class $ extends g {
64
64
  } else
65
65
  await this.#l(), this.#h(void 0);
66
66
  }
67
- #r() {
68
- this._activeAnalysisState = this.activeAnalysis ? this.activeAnalysis.state ?? "disabled" : void 0, this.#o(), this.#d(), this.requestUpdate();
67
+ #o() {
68
+ this._activeAnalysisState = this.activeAnalysis ? this.activeAnalysis.state ?? "disabled" : void 0, this.#r(), this.#d(), this.requestUpdate();
69
69
  }
70
- #y({ currentTarget: e }) {
71
- const s = f(e, _), i = this._measurements.filter((t) => !s.includes(t));
72
- for (const t of i) {
73
- const l = this.#t.get(t);
74
- t.hidden = l?.hidden ?? !1, t.hideStartButton = l?.hideStartButton ?? !1, "hideClearButton" in t && (t.hideClearButton = l?.hideClearButton ?? !1), "hideHeader" in t && (t.hideHeader = l?.hideHeader ?? !1), this.#t.delete(t);
70
+ #y({ currentTarget: t }) {
71
+ const s = A(t, _), i = this._measurements.filter((e) => !s.includes(e));
72
+ for (const e of i) {
73
+ const l = this.#e.get(e);
74
+ e.hidden = l?.hidden ?? !1, e.hideStartButton = l?.hideStartButton ?? !1, "hideClearButton" in e && (e.hideClearButton = l?.hideClearButton ?? !1), "hideHeader" in e && (e.hideHeader = l?.hideHeader ?? !1), this.#e.delete(e);
75
75
  }
76
- for (const t of s)
77
- this.#t.has(t) || (this.#t.set(t, {
78
- hidden: t.hidden,
79
- hideClearButton: "hideClearButton" in t ? t.hideClearButton : void 0,
80
- hideStartButton: t.hideStartButton,
81
- hideHeader: "hideHeader" in t ? t.hideHeader : void 0
82
- }), t.componentOnReady().then(() => {
83
- this.isConnected && t.isConnected && this._measurements.includes(t) && this.requestUpdate();
84
- })), t.hideStartButton = !0, "hideClearButton" in t && (t.hideClearButton = !0), "hideHeader" in t && (t.hideHeader = !0);
76
+ for (const e of s)
77
+ this.#e.has(e) || (this.#e.set(e, {
78
+ hidden: e.hidden,
79
+ hideClearButton: "hideClearButton" in e ? e.hideClearButton : void 0,
80
+ hideStartButton: e.hideStartButton,
81
+ hideHeader: "hideHeader" in e ? e.hideHeader : void 0
82
+ }), e.componentOnReady().then(() => {
83
+ this.isConnected && e.isConnected && this._measurements.includes(e) && this.requestUpdate();
84
+ })), e.hideStartButton = !0, "hideClearButton" in e && (e.hideClearButton = !0), "hideHeader" in e && (e.hideHeader = !0);
85
85
  this._measurements = s;
86
86
  let a;
87
- this.#e && (a = s.find((t) => t.localName === this.#e));
87
+ this.#t && (a = s.find((e) => e.localName === this.#t));
88
88
  let c;
89
- !this.#e && s.length === 1 && (c = s[0]);
89
+ !this.#t && s.length === 1 && (c = s[0]);
90
90
  let n;
91
- this.#e ? n = a : this.#i && s.length > 1 ? n = void 0 : this.activeAnalysis && s.includes(this.activeAnalysis) ? n = this.activeAnalysis : n = c, this.#c(n), this.#i = !!c;
91
+ this.#t ? n = a : this.#i && s.length > 1 ? n = void 0 : this.activeAnalysis && s.includes(this.activeAnalysis) ? n = this.activeAnalysis : n = c, this.#c(n), this.#i = !!c;
92
92
  }
93
- #h(e) {
94
- this.#e = void 0, this.#i = !1, this.#c(e);
93
+ #h(t) {
94
+ this.#t = void 0, this.#i = !1, this.#c(t);
95
95
  }
96
- #c(e) {
96
+ #c(t) {
97
97
  const s = this.#a;
98
- this.#a = e, this.el.toggleAttribute("data-content-open", !!e), this.requestUpdate("activeAnalysis", s), this.#v();
98
+ this.#a = t, this.el.toggleAttribute("data-content-open", !!t), this.requestUpdate("activeAnalysis", s), this.#v();
99
99
  }
100
100
  #v() {
101
- this._activeAnalysisState = this.activeAnalysis ? this.activeAnalysis.state ?? "disabled" : void 0, this.#o(), this.#d();
101
+ this._activeAnalysisState = this.activeAnalysis ? this.activeAnalysis.state ?? "disabled" : void 0, this.#r(), this.#d();
102
102
  }
103
103
  #d() {
104
- for (const e of this._measurements)
105
- e.hidden = e !== this.activeAnalysis || (this.#t.get(e)?.hidden ?? !1) || e === this.activeAnalysis && this._activeAnalysisState === "ready";
104
+ for (const t of this._measurements)
105
+ t.hidden = t !== this.activeAnalysis || (this.#e.get(t)?.hidden ?? !1) || t === this.activeAnalysis && this._activeAnalysisState === "ready";
106
106
  }
107
107
  async #g() {
108
108
  await this.activeAnalysis?.start();
109
109
  }
110
- #o() {
111
- const e = this.activeAnalysis?.analysis;
112
- if (!(e === this.#n && (e == null || this.#s))) {
113
- if (this.#s = m(this.#s), this.#n = e, !e) {
110
+ #r() {
111
+ const t = this.activeAnalysis?.analysis;
112
+ if (!(t === this.#n && (t == null || this.#s))) {
113
+ if (this.#s = u(this.#s), this.#n = t, !t) {
114
114
  this._activeAnalysisHasInput = !1;
115
115
  return;
116
116
  }
117
- this.#s = v(() => e.valid, (s) => this._activeAnalysisHasInput = s, { initial: !0, sync: !0 });
117
+ this.#s = v(() => t.valid, (s) => this._activeAnalysisHasInput = s, { initial: !0, sync: !0 });
118
118
  }
119
119
  }
120
120
  render() {
121
- const { showCloseButton: e, showCollapseButton: s, showHeading: i } = this, a = this._activeAnalysisState === "disabled", c = this._measurements.length > 1, n = this.activeAnalysis?.label || this._messages.componentLabel;
122
- return r`<calcite-panel .closed=${this.closed} .heading=${i ? this._messages.componentLabel : void 0} .collapsible=${s} .closable=${e} @calcitePanelClose=${this.#m}><div .hidden=${!c}><calcite-action-bar expand-toggle-disabled layout=horizontal .overflowMode=${!i && !this.activeAnalysis ? "none" : "collapse"}><calcite-action-group .label=${this._messages.toolbarLabel} @calciteActionGroupChange=${this.#u} selection-mode=single>${this._measurements.map((t, l) => r`<calcite-action .active=${t === this.activeAnalysis} data-measurement-index=${l ?? d} .icon=${t.icon} .label=${t.label} .text=${t.label ?? ""} title=${t.label ?? d}></calcite-action>`)}</calcite-action-group></calcite-action-bar></div><div class="measurement-container" .hidden=${!this.activeAnalysis || a}><calcite-block class="measurement-content" .expanded=${this.isConnected && !!this.activeAnalysis && !a} .heading=${n}><slot @slotchange=${this.#y.bind(this)}></slot></calcite-block></div>${this.activeAnalysis ? r`<div class="footer" slot=footer><calcite-button appearance=transparent .disabled=${!this._activeAnalysisHasInput} kind=danger @click=${this.#l} width=full>${this._messages.clear}</calcite-button><calcite-button .disabled=${this.activeAnalysis.interactionDisabled || this._activeAnalysisState !== "ready" && !this._activeAnalysisHasInput} @click=${this.#g} width=full>${this.activeAnalysis?.matches("arcgis-elevation-profile") ? this._messages.newProfile : this._messages.newMeasurement}</calcite-button></div>` : null}</calcite-panel>`;
121
+ const { showCloseButton: t, showCollapseButton: s, showHeading: i } = this, a = this._activeAnalysisState === "disabled", c = this._measurements.length > 1, n = this.activeAnalysis?.label || this._messages.componentLabel;
122
+ return o`<calcite-panel .closed=${this.closed} .heading=${i ? this._messages.componentLabel : void 0} .collapsible=${s} .closable=${t} @calcitePanelClose=${this.#u}><div .hidden=${!c}><calcite-action-bar expand-toggle-disabled layout=horizontal .overflowMode=${!i && !this.activeAnalysis ? "none" : "collapse"}><calcite-action-group .label=${this._messages.toolbarLabel} @calciteActionGroupChange=${this.#m} .selectionMode=${this.requireActiveAnalysis ? "single-persist" : "single"}>${this._measurements.map((e, l) => o`<calcite-action .active=${e === this.activeAnalysis} data-measurement-index=${l ?? d} .icon=${e.icon} .label=${e.label} .text=${e.label ?? ""} title=${e.label ?? d}></calcite-action>`)}</calcite-action-group></calcite-action-bar></div><div class="measurement-container" .hidden=${!this.activeAnalysis || a}><calcite-block class="measurement-content" .expanded=${this.isConnected && !!this.activeAnalysis && !a} .heading=${n}><slot @slotchange=${this.#y.bind(this)}></slot></calcite-block></div>${this.activeAnalysis ? o`<div class="footer" slot=footer><calcite-button appearance=transparent .disabled=${!this._activeAnalysisHasInput} kind=danger @click=${this.#l} width=full>${this._messages.clear}</calcite-button><calcite-button .disabled=${this.activeAnalysis.interactionDisabled || this._activeAnalysisState !== "ready" && !this._activeAnalysisHasInput} @click=${this.#g} width=full>${this.activeAnalysis?.matches("arcgis-elevation-profile") ? this._messages.newProfile : this._messages.newMeasurement}</calcite-button></div>` : null}</calcite-panel>`;
123
123
  }
124
124
  }
125
- u("arcgis-exploratory-analysis", $);
125
+ m("arcgis-exploratory-analysis", $);
126
126
  export {
127
127
  $ as ArcgisExploratoryAnalysis
128
128
  };
@@ -1,9 +1,9 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as b } from "../../chunks/runtime.js";
3
- import { css as h, html as p } from "lit";
3
+ import { css as u, html as p } from "lit";
4
4
  import { renderingSanitizer as c } from "@arcgis/core/applications/Components/sanitizerUtils.js";
5
5
  import { LitElement as f } from "@arcgis/lumina";
6
- import { addLtrMark as u } from "@arcgis/toolkit/string";
6
+ import { addLtrMark as h } from "@arcgis/toolkit/string";
7
7
  import { j as v, k as $, l as w } from "../../chunks/feature-utils.js";
8
8
  import { replace as m } from "@arcgis/core/applications/Components/stringUtils.js";
9
9
  const I = [
@@ -79,10 +79,10 @@ const I = [
79
79
  }
80
80
  ];
81
81
  function F(d, t) {
82
- const e = I.find((l) => l.pattern.test(t));
82
+ const e = I.find((n) => n.pattern.test(t));
83
83
  if (!e)
84
84
  return t;
85
- const i = t.match(e.pattern)?.[2], a = m(
85
+ const i = t.match(e.pattern)?.[2], r = m(
86
86
  m(e.label, {
87
87
  messages: d,
88
88
  hierPart: i
@@ -90,10 +90,10 @@ function F(d, t) {
90
90
  {
91
91
  appName: e.appName
92
92
  }
93
- ), o = e.target ? ` target="${e.target}"` : "", r = e.target === "_blank" ? ' rel="noreferrer"' : "";
94
- return c.sanitizeUrl(new URL(t, window.location.origin === "null" ? void 0 : window.location.origin).toString()).replace(e.pattern, `<a${o} href="$1"${r}>${a}</a>`);
93
+ ), o = e.target ? ` target="${e.target}"` : "", a = e.target === "_blank" ? ' rel="noreferrer"' : "";
94
+ return c.sanitizeUrl(new URL(t, window.location.origin === "null" ? void 0 : window.location.origin).toString()).replace(e.pattern, `<a${o} href="$1"${a}>${r}</a>`);
95
95
  }
96
- const k = h`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr{background-color:var(--arcgis-table-row-background-color, var(--calcite-color-foreground-1))}.table tr:nth-child(odd){background-color:var(--arcgis-table-row-alt-background-color, var(--calcite-color-foreground-2))}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
96
+ const k = u`.table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.table tr{background-color:var(--arcgis-table-row-background-color, var(--calcite-color-foreground-1))}.table tr:nth-child(odd){background-color:var(--arcgis-table-row-alt-background-color, var(--calcite-color-foreground-2))}.table tr a{color:var(--calcite-color-text-link)}.table tr a:hover,.table tr a:focus{color:var(--calcite-color-brand-hover)}.table tr td,.table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.table tr td{width:50%}`;
97
97
  class N extends f {
98
98
  constructor() {
99
99
  super(...arguments), this.headingLevel = 2;
@@ -105,29 +105,29 @@ class N extends f {
105
105
  this.styles = k;
106
106
  }
107
107
  get formattedFieldInfos() {
108
- const { expressionInfos: t, fieldInfos: e, layer: s, graphic: i, isContentFieldInfos: a } = this, o = [];
109
- return e?.forEach((r) => {
110
- if (!("visible" in r ? r.visible : !0))
108
+ const { expressionInfos: t, fieldInfos: e, layer: s, graphic: i, isContentFieldInfos: r } = this, o = [];
109
+ return e?.forEach((a) => {
110
+ if (!("visible" in a ? a.visible : !0))
111
111
  return;
112
- const n = r.clone();
113
- n.label = v({ fieldInfo: n, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: a });
114
- const g = $({ fieldInfo: r, graphic: i, layer: s });
115
- g && (n.fieldFormat = w({
112
+ const l = a.clone();
113
+ l.label = v({ fieldInfo: l, expressionInfos: t, layer: s, graphic: i, isContentFieldInfos: r });
114
+ const g = $({ fieldInfo: a, graphic: i, layer: s });
115
+ g && (l.fieldFormat = w({
116
116
  configurableFieldsContainer: g,
117
- fieldInfo: n,
118
- isContentFieldInfos: a
119
- })), o.push(n);
117
+ fieldInfo: l,
118
+ isContentFieldInfos: r
119
+ })), o.push(l);
120
120
  }), o;
121
121
  }
122
122
  render() {
123
123
  return p`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderFields()}</div>`;
124
124
  }
125
125
  _renderFieldInfo(t) {
126
- const { values: e } = this, s = t.fieldName || "", i = t.label || s, a = e ? e[s] == null ? "" : e[s] : "", o = t?.fieldFormat?.type === "date-time", r = {
126
+ const { values: e } = this, s = t.fieldName || "", i = t.label || s, r = e ? e[s] == null ? "" : e[s] : "", o = t?.fieldFormat?.type === "date-time", a = {
127
127
  openInApp: this.messages?.openInApp ?? "",
128
128
  view: this.messages?.view ?? ""
129
- }, l = typeof a == "number" && !o ? u(`${a}`) : typeof a == "string" ? F(r, a) : `${a}`;
130
- return p`<tr><th .innerHTML=${c.sanitize(i) ?? ""}></th><td .innerHTML=${c.sanitize(l) ?? ""}></td></tr>`;
129
+ }, n = typeof r == "number" && !o ? h(`${r}`) : typeof r == "string" ? F(a, r) : `${r}`;
130
+ return !i && !n ? null : p`<tr><th .innerHTML=${c.sanitize(i) ?? ""}></th><td .innerHTML=${c.sanitize(n) ?? ""}></td></tr>`;
131
131
  }
132
132
  _renderFields() {
133
133
  const { formattedFieldInfos: t } = this;
@@ -24,6 +24,9 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
24
24
  * and subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/).
25
25
  * Both the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.
26
26
  *
27
+ * Snapping, tooltips, display units, and input units are inherited from
28
+ * [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
29
+ *
27
30
  * **Known limitation**
28
31
  *
29
32
  * Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
@@ -491,8 +491,10 @@ export abstract class ArcgisLinkChart extends LitElement {
491
491
  */
492
492
  accessor navigation: Navigation;
493
493
  /**
494
- * Configures snapping, tooltips, and measurement units for supported components and analyses configured to inherit these options from the view.
495
- * See [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/) for details.
494
+ * Configures snapping, tooltips, display units, and input units for supported components, view models, and analyses.
495
+ * See [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/) for supported options, exceptions, and opt-in requirements.
496
+ *
497
+ * These options are not saved in a WebMap or WebScene.
496
498
  *
497
499
  * @since 5.2
498
500
  * @beta