@arcgis/map-components 5.1.0-next.123 → 5.1.0-next.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{RH4PIMHF.js → APG5BPBC.js} +1 -1
- package/dist/cdn/GMOWIPQL.js +2 -0
- package/dist/cdn/V4FMJCXV.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +20 -20
- package/dist/components/arcgis-features/customElement.d.ts +4 -17
- package/dist/components/arcgis-link-chart/customElement.d.ts +24 -0
- package/dist/components/arcgis-map/customElement.d.ts +24 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
- package/dist/components/arcgis-popup/customElement.d.ts +13 -20
- package/dist/components/arcgis-scene/customElement.d.ts +24 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-scale-range/customElement.js +65 -31
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -10
- 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/package.json +4 -4
- package/dist/cdn/4IQZ7YKM.js +0 -2
- package/dist/cdn/WFL2WTJK.js +0 -2
|
@@ -15,13 +15,13 @@ import { property as l, subclass as $ } from "@arcgis/core/core/accessorSupport/
|
|
|
15
15
|
import { watch as S } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
16
|
import { A as U } from "../../chunks/AnalysisViewModel.js";
|
|
17
17
|
import { g as L, a as C, b as d, r as E, d as m, c as P } from "../../chunks/measurementUtils.js";
|
|
18
|
-
const A = w`.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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{width:300px}`;
|
|
18
|
+
const A = w`.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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{width:var(--arcgis-internal-panel-width, 300px)}.root{min-width:var(--arcgis-internal-panel-min-width);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}`;
|
|
19
19
|
var j = Object.defineProperty, B = Object.getOwnPropertyDescriptor, a = (t, e, r, o) => {
|
|
20
|
-
for (var i = o > 1 ? void 0 : o ? B(e, r) : e,
|
|
21
|
-
(c = t[
|
|
20
|
+
for (var i = o > 1 ? void 0 : o ? B(e, r) : e, s = t.length - 1, c; s >= 0; s--)
|
|
21
|
+
(c = t[s]) && (i = (o ? c(e, r, i) : c(i)) || i);
|
|
22
22
|
return o && i && j(e, r, i), i;
|
|
23
23
|
};
|
|
24
|
-
let
|
|
24
|
+
let n = class extends U {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Direct Line Measurement 3D component is only supported in 3D views.";
|
|
27
27
|
}
|
|
@@ -41,8 +41,8 @@ let s = class extends U {
|
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
get state() {
|
|
44
|
-
const { analysis: t, disabled: e, operationState: r, ready: o, supported: i } = this, { valid:
|
|
45
|
-
return L({ supported: i, disabled: e, ready: o, operationState: r, valid:
|
|
44
|
+
const { analysis: t, disabled: e, operationState: r, ready: o, supported: i } = this, { valid: s } = t;
|
|
45
|
+
return L({ supported: i, disabled: e, ready: o, operationState: r, valid: s });
|
|
46
46
|
}
|
|
47
47
|
get displayState() {
|
|
48
48
|
return C(this.state, !!this.analysis.startPoint);
|
|
@@ -88,29 +88,29 @@ let s = class extends U {
|
|
|
88
88
|
};
|
|
89
89
|
a([
|
|
90
90
|
l({ readOnly: !0 })
|
|
91
|
-
],
|
|
91
|
+
], n.prototype, "state", 1);
|
|
92
92
|
a([
|
|
93
93
|
l({ readOnly: !0 })
|
|
94
|
-
],
|
|
94
|
+
], n.prototype, "displayState", 1);
|
|
95
95
|
a([
|
|
96
96
|
l({ readOnly: !0 })
|
|
97
|
-
],
|
|
97
|
+
], n.prototype, "measurement", 1);
|
|
98
98
|
a([
|
|
99
99
|
l()
|
|
100
|
-
],
|
|
100
|
+
], n.prototype, "unitOptions", 1);
|
|
101
101
|
a([
|
|
102
102
|
l()
|
|
103
|
-
],
|
|
103
|
+
], n.prototype, "_userUnitOptions", 2);
|
|
104
104
|
a([
|
|
105
105
|
l()
|
|
106
|
-
],
|
|
106
|
+
], n.prototype, "unit", 1);
|
|
107
107
|
a([
|
|
108
108
|
l()
|
|
109
|
-
],
|
|
110
|
-
|
|
109
|
+
], n.prototype, "_userUnit", 2);
|
|
110
|
+
n = a([
|
|
111
111
|
$("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")
|
|
112
|
-
],
|
|
113
|
-
const T = k(
|
|
112
|
+
], n);
|
|
113
|
+
const T = k(n);
|
|
114
114
|
class Z extends f {
|
|
115
115
|
constructor() {
|
|
116
116
|
super(...arguments), this.viewModel = T(this), this.messages = D({ name: "directline-measurement-3d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-line", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
|
|
@@ -131,19 +131,19 @@ class Z extends f {
|
|
|
131
131
|
M(this.viewModel.start());
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
const { messages: e, unit: r, unitOptions: o, viewModel: i } = this, { measurement:
|
|
134
|
+
const { messages: e, unit: r, unitOptions: o, viewModel: i } = this, { measurement: s, state: c } = i;
|
|
135
135
|
return g`<div aria-label=${e.componentLabel ?? b} class=${x(z("root", p.widget, p.panel))} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
|
|
136
136
|
{
|
|
137
137
|
title: e.direct,
|
|
138
|
-
measurement:
|
|
138
|
+
measurement: s.directDistance
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
title: e.horizontal,
|
|
142
|
-
measurement:
|
|
142
|
+
measurement: s.horizontalDistance
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
title: e.vertical,
|
|
146
|
-
measurement:
|
|
146
|
+
measurement: s.verticalDistance
|
|
147
147
|
}
|
|
148
148
|
]}>${u({ hidden: this.hideUnitSelect, children: g`<arcgis-unit-select slot=settings .options=${o} .selectLabel=${e.unit} .value=${r} @arcgisUnitSelectChange=${(h) => {
|
|
149
149
|
this.unit = h.detail;
|
|
@@ -493,6 +493,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
493
493
|
* no pending promises, the value is `null`. When the pending promises are
|
|
494
494
|
* resolved they are removed from this array and the features they return
|
|
495
495
|
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
|
|
496
|
+
*
|
|
497
|
+
* @deprecated since 5.1.
|
|
496
498
|
*/
|
|
497
499
|
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
498
500
|
/**
|
|
@@ -576,7 +578,6 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
576
578
|
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
|
|
577
579
|
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
|
|
578
580
|
* Alternatively, set the [timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#timeZone) property.
|
|
579
|
-
* - Using the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures) method or the `fetchFeatures` option in the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open) method.
|
|
580
581
|
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
581
582
|
*
|
|
582
583
|
* @since 4.34
|
|
@@ -599,25 +600,11 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
599
600
|
/**
|
|
600
601
|
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the location based on the input event's screen coordinates.
|
|
601
602
|
*
|
|
603
|
+
* @deprecated since 5.1. Use the `fetchPopupFeatures` method on the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#fetchPopupFeatures), or [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#fetchPopupFeatures) component to fetch features based on a screen location.
|
|
602
604
|
* @param screenPoint
|
|
603
605
|
* @param options
|
|
606
|
+
* @deprecated
|
|
604
607
|
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open)
|
|
605
|
-
* @example
|
|
606
|
-
* ```js
|
|
607
|
-
* const viewElement = document.querySelector("arcgis-map");
|
|
608
|
-
* // Get viewElement's click event
|
|
609
|
-
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", async (event)=>{
|
|
610
|
-
* // Call fetchFeatures on the component and pass in the click event detail
|
|
611
|
-
* await component.fetchFeatures(event.detail);
|
|
612
|
-
* });
|
|
613
|
-
* // Watch for changes to the features property and open the component when features are available.
|
|
614
|
-
* reactiveUtils.watch(
|
|
615
|
-
* () => component.features,
|
|
616
|
-
* () => {
|
|
617
|
-
* component.open = component.features ? true : false;
|
|
618
|
-
* },
|
|
619
|
-
* );
|
|
620
|
-
* ```
|
|
621
608
|
*/
|
|
622
609
|
fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
|
|
623
610
|
/**
|
|
@@ -736,6 +736,30 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
736
736
|
* @param hitTarget
|
|
737
737
|
* @param options
|
|
738
738
|
* @since 5.1
|
|
739
|
+
* @example
|
|
740
|
+
* ```js
|
|
741
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
742
|
+
* // Get viewElement's click event
|
|
743
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
744
|
+
* const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
|
|
745
|
+
* pointerType: event.detail.pointerType
|
|
746
|
+
* });
|
|
747
|
+
* // Access the features returned from the generator
|
|
748
|
+
* for await (const feature of generator) {
|
|
749
|
+
* console.log(feature);
|
|
750
|
+
* }
|
|
751
|
+
* });
|
|
752
|
+
* ```
|
|
753
|
+
* @example
|
|
754
|
+
* ```js
|
|
755
|
+
* // Wait for all the features to be available
|
|
756
|
+
* view.on("click", async (event) => {
|
|
757
|
+
* const generator = view.fetchPopupFeatures(event.screenPoint, {
|
|
758
|
+
* pointerType: event.pointerType
|
|
759
|
+
* });
|
|
760
|
+
*
|
|
761
|
+
* const features = await Array.fromAsync(generator);
|
|
762
|
+
* });
|
|
739
763
|
*/
|
|
740
764
|
fetchPopupFeatures(hitTarget: ScreenPoint | ScreenRect, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
|
|
741
765
|
/**
|
|
@@ -917,6 +917,30 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
917
917
|
* @param hitTarget
|
|
918
918
|
* @param options
|
|
919
919
|
* @since 5.1
|
|
920
|
+
* @example
|
|
921
|
+
* ```js
|
|
922
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
923
|
+
* // Get viewElement's click event
|
|
924
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
925
|
+
* const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
|
|
926
|
+
* pointerType: event.detail.pointerType
|
|
927
|
+
* });
|
|
928
|
+
* // Access the features returned from the generator
|
|
929
|
+
* for await (const feature of generator) {
|
|
930
|
+
* console.log(feature);
|
|
931
|
+
* }
|
|
932
|
+
* });
|
|
933
|
+
* ```
|
|
934
|
+
* @example
|
|
935
|
+
* ```js
|
|
936
|
+
* // Wait for all the features to be available
|
|
937
|
+
* view.on("click", async (event) => {
|
|
938
|
+
* const generator = view.fetchPopupFeatures(event.screenPoint, {
|
|
939
|
+
* pointerType: event.pointerType
|
|
940
|
+
* });
|
|
941
|
+
*
|
|
942
|
+
* const features = await Array.fromAsync(generator);
|
|
943
|
+
* });
|
|
920
944
|
*/
|
|
921
945
|
fetchPopupFeatures(hitTarget: ScreenPoint | ScreenRect, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
|
|
922
946
|
/**
|
|
@@ -9,11 +9,11 @@ import { m as g } from "../../chunks/useWidget.js";
|
|
|
9
9
|
import { css as c } from "lit";
|
|
10
10
|
import { s as m } from "../../chunks/esri-main.js";
|
|
11
11
|
import { u as v } from "../../chunks/useLayerById.js";
|
|
12
|
-
const h = c`:host{--esri-oriented-imagery-viewer-min-width: var(--arcgis-oriented-imagery-viewer-min-width, 288px);--esri-oriented-imagery-viewer-min-height: var(--arcgis-oriented-imagery-viewer-min-height, 348px)}.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`, w = g(n), y = "map-components:arcgis-oriented-imagery-viewer";
|
|
12
|
+
const h = c`:host{--esri-oriented-imagery-viewer-min-width: var(--arcgis-oriented-imagery-viewer-min-width, 288px);--esri-oriented-imagery-viewer-min-height: var(--arcgis-oriented-imagery-viewer-min-height, 348px)}.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer--notice{margin-block:auto}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`, y = g(n), w = "map-components:arcgis-oriented-imagery-viewer";
|
|
13
13
|
class p extends s {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.widget =
|
|
16
|
-
e && (e.type === "oriented-imagery" ? this.layer = e : l("warn", this, `${
|
|
15
|
+
super(...arguments), this.widget = y(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.dataCaptureEnabled = this.widget.dataCaptureEnabled, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.hideHeader = this.widget.visibleElements.header, this.hideMenu = this.widget.visibleElements.menu, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.imageOverlaysOpened = this.widget.imageOverlaysOpened, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapLayerId = v(this, (e) => {
|
|
16
|
+
e && (e.type === "oriented-imagery" ? this.layer = e : l("warn", this, `${w} - layer with id ${this.mapLayerId} is not a valid Oriented Imagery Layer`));
|
|
17
17
|
}), this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.preloadMedia = this.widget.preloadMedia, this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = a()("imageGalleryEnabled", "layer"), this.arcgisReady = d();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
@@ -35,7 +35,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
35
35
|
*
|
|
36
36
|
* The Popup component can also be opened manually at a specific location using the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) property.
|
|
37
37
|
* To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true` and add the Popup component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) using the `popup` slot.
|
|
38
|
-
* Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open
|
|
38
|
+
* Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open.
|
|
39
39
|
*
|
|
40
40
|
* Example of opening the popup at a clicked location with custom content:
|
|
41
41
|
*
|
|
@@ -59,7 +59,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
59
59
|
* </script>
|
|
60
60
|
* ```
|
|
61
61
|
*
|
|
62
|
-
* Alternatively, you can call the [
|
|
62
|
+
* Alternatively, you can call the [arcgis-map.fetchPopupFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
|
|
63
63
|
* ```html
|
|
64
64
|
* <!-- Set popup-disabled and popup-component-enabled attributes -->
|
|
65
65
|
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
@@ -71,7 +71,12 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
71
71
|
* const popupComponent = document.querySelector("arcgis-popup");
|
|
72
72
|
* // Listen for clicks on the view and populate the popup with features at that location.
|
|
73
73
|
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
74
|
-
*
|
|
74
|
+
* const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
|
|
75
|
+
* pointerType: event.detail.pointerType,
|
|
76
|
+
* });
|
|
77
|
+
*
|
|
78
|
+
* const features = await Array.fromAsync(generator);
|
|
79
|
+
* popupComponent.features = features;
|
|
75
80
|
* });
|
|
76
81
|
* // Open the popup when the features property changes.
|
|
77
82
|
* reactiveUtils.watch(
|
|
@@ -426,7 +431,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
426
431
|
accessor label: string | undefined;
|
|
427
432
|
/**
|
|
428
433
|
* Point used to position the popup. This is automatically set when viewing the
|
|
429
|
-
* popup by selecting a feature
|
|
434
|
+
* popup by selecting a feature. If using the Popup to display content not related
|
|
430
435
|
* to features in the map, such as the results from a task, then you must set this
|
|
431
436
|
* property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) the popup.
|
|
432
437
|
*
|
|
@@ -505,6 +510,8 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
505
510
|
* no pending promises, the value is `null`. When the pending promises are
|
|
506
511
|
* resolved they are removed from this array and the features they return
|
|
507
512
|
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) array.
|
|
513
|
+
*
|
|
514
|
+
* @deprecated since 5.1.
|
|
508
515
|
*/
|
|
509
516
|
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
510
517
|
/**
|
|
@@ -570,25 +577,11 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
570
577
|
/**
|
|
571
578
|
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) based on the input event's screen coordinates.
|
|
572
579
|
*
|
|
580
|
+
* @deprecated since 5.1. Use the `fetchPopupFeatures` method on the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#fetchPopupFeatures), or [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#fetchPopupFeatures) component to fetch features based on a screen location.
|
|
573
581
|
* @param screenPoint
|
|
574
582
|
* @param options
|
|
583
|
+
* @deprecated
|
|
575
584
|
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open)
|
|
576
|
-
* @example
|
|
577
|
-
* ```js
|
|
578
|
-
* const viewElement = document.querySelector("arcgis-map");
|
|
579
|
-
* // Get viewElement's click event
|
|
580
|
-
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", async (event)=>{
|
|
581
|
-
* // Call fetchFeatures on the component and pass in the click event detail
|
|
582
|
-
* await component.fetchFeatures(event.detail);
|
|
583
|
-
* });
|
|
584
|
-
* // Watch for changes to the features property and open the component when features are available.
|
|
585
|
-
* reactiveUtils.watch(
|
|
586
|
-
* () => component.features,
|
|
587
|
-
* () => {
|
|
588
|
-
* component.open = component.features ? true : false;
|
|
589
|
-
* },
|
|
590
|
-
* );
|
|
591
|
-
* ```
|
|
592
585
|
*/
|
|
593
586
|
fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
|
|
594
587
|
/**
|
|
@@ -900,6 +900,30 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
900
900
|
* @param hitTarget
|
|
901
901
|
* @param options
|
|
902
902
|
* @since 5.1
|
|
903
|
+
* @example
|
|
904
|
+
* ```js
|
|
905
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
906
|
+
* // Get viewElement's click event
|
|
907
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
908
|
+
* const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
|
|
909
|
+
* pointerType: event.detail.pointerType
|
|
910
|
+
* });
|
|
911
|
+
* // Access the features returned from the generator
|
|
912
|
+
* for await (const feature of generator) {
|
|
913
|
+
* console.log(feature);
|
|
914
|
+
* }
|
|
915
|
+
* });
|
|
916
|
+
* ```
|
|
917
|
+
* @example
|
|
918
|
+
* ```js
|
|
919
|
+
* // Wait for all the features to be available
|
|
920
|
+
* view.on("click", async (event) => {
|
|
921
|
+
* const generator = view.fetchPopupFeatures(event.screenPoint, {
|
|
922
|
+
* pointerType: event.pointerType
|
|
923
|
+
* });
|
|
924
|
+
*
|
|
925
|
+
* const features = await Array.fromAsync(generator);
|
|
926
|
+
* });
|
|
903
927
|
*/
|
|
904
928
|
fetchPopupFeatures(hitTarget: ScreenPoint | ScreenRect, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
|
|
905
929
|
/**
|
|
@@ -113,10 +113,10 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
113
113
|
* numBins: 30,
|
|
114
114
|
* });
|
|
115
115
|
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
116
|
+
* slider.histogramConfig = {
|
|
117
|
+
* bins: histogramResult.bins
|
|
118
|
+
* };
|
|
119
|
+
* ```
|
|
120
120
|
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
121
121
|
*/
|
|
122
122
|
accessor histogramConfig: HistogramConfig | null | undefined;
|
|
@@ -167,7 +167,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
167
167
|
* }
|
|
168
168
|
* return value.toFixed(0);
|
|
169
169
|
* };
|
|
170
|
-
*
|
|
170
|
+
* ```
|
|
171
171
|
*/
|
|
172
172
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
173
173
|
/**
|
|
@@ -212,7 +212,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
212
212
|
* slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
|
|
213
213
|
* return (type === "value") ? value.toFixed(0) : value.toString();
|
|
214
214
|
* };
|
|
215
|
-
*
|
|
215
|
+
* ```
|
|
216
216
|
*/
|
|
217
217
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
218
218
|
/**
|
|
@@ -336,12 +336,12 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
336
336
|
* min: 10,
|
|
337
337
|
* max: 25
|
|
338
338
|
* };
|
|
339
|
-
*
|
|
339
|
+
* ```
|
|
340
340
|
* @example
|
|
341
341
|
* ```js
|
|
342
342
|
* // disables zooming on the slider
|
|
343
343
|
* slider.zoomOptions = null;
|
|
344
|
-
*
|
|
344
|
+
* ```
|
|
345
345
|
* @example
|
|
346
346
|
* ```js
|
|
347
347
|
* // zooms the slider so thumbs can only be moved to positions above
|
|
@@ -349,7 +349,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
349
349
|
* slider.zoomOptions = {
|
|
350
350
|
* min: 10
|
|
351
351
|
* };
|
|
352
|
-
*
|
|
352
|
+
* ```
|
|
353
353
|
* @example
|
|
354
354
|
* ```js
|
|
355
355
|
* // zooms the slider so thumbs can only be moved to positions below
|
|
@@ -357,7 +357,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
357
357
|
* slider.zoomOptions = {
|
|
358
358
|
* max: 25
|
|
359
359
|
* };
|
|
360
|
-
*
|
|
360
|
+
* ```
|
|
361
361
|
*/
|
|
362
362
|
accessor zoomOptions: ZoomOptions | null | undefined;
|
|
363
363
|
/** Permanently destroy the component. */
|
|
@@ -128,10 +128,10 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
128
128
|
* numBins: 30,
|
|
129
129
|
* });
|
|
130
130
|
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
131
|
+
* slider.histogramConfig = {
|
|
132
|
+
* bins: histogramResult.bins
|
|
133
|
+
* };
|
|
134
|
+
* ```
|
|
135
135
|
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
136
136
|
*/
|
|
137
137
|
accessor histogramConfig: HistogramConfig | null | undefined;
|
|
@@ -182,7 +182,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
182
182
|
* }
|
|
183
183
|
* return value.toFixed(0);
|
|
184
184
|
* };
|
|
185
|
-
*
|
|
185
|
+
* ```
|
|
186
186
|
*/
|
|
187
187
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
188
188
|
/**
|
|
@@ -227,7 +227,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
227
227
|
* slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
|
|
228
228
|
* return (type === "value") ? value.toFixed(0) : value.toString();
|
|
229
229
|
* };
|
|
230
|
-
*
|
|
230
|
+
* ```
|
|
231
231
|
*/
|
|
232
232
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
233
233
|
/**
|
|
@@ -121,10 +121,10 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
121
121
|
* numBins: 30,
|
|
122
122
|
* });
|
|
123
123
|
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
124
|
+
* slider.histogramConfig = {
|
|
125
|
+
* bins: histogramResult.bins
|
|
126
|
+
* };
|
|
127
|
+
* ```
|
|
128
128
|
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
129
129
|
*/
|
|
130
130
|
accessor histogramConfig: HistogramConfig | null | undefined;
|
|
@@ -175,7 +175,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
175
175
|
* }
|
|
176
176
|
* return value.toFixed(0);
|
|
177
177
|
* };
|
|
178
|
-
*
|
|
178
|
+
* ```
|
|
179
179
|
*/
|
|
180
180
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
181
181
|
/**
|
|
@@ -220,7 +220,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
220
220
|
* slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
|
|
221
221
|
* return (type === "value") ? value.toFixed(0) : value.toString();
|
|
222
222
|
* };
|
|
223
|
-
*
|
|
223
|
+
* ```
|
|
224
224
|
*/
|
|
225
225
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
226
226
|
/**
|
|
@@ -127,10 +127,10 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
127
127
|
* numBins: 30,
|
|
128
128
|
* });
|
|
129
129
|
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
130
|
+
* slider.histogramConfig = {
|
|
131
|
+
* bins: histogramResult.bins
|
|
132
|
+
* };
|
|
133
|
+
* ```
|
|
134
134
|
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
135
135
|
*/
|
|
136
136
|
accessor histogramConfig: HistogramConfig | null | undefined;
|
|
@@ -181,7 +181,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
181
181
|
* }
|
|
182
182
|
* return value.toFixed(0);
|
|
183
183
|
* };
|
|
184
|
-
*
|
|
184
|
+
* ```
|
|
185
185
|
*/
|
|
186
186
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
187
187
|
/**
|
|
@@ -226,7 +226,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
226
226
|
* slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
|
|
227
227
|
* return (type === "value") ? value.toFixed(0) : value.toString();
|
|
228
228
|
* };
|
|
229
|
-
*
|
|
229
|
+
* ```
|
|
230
230
|
*/
|
|
231
231
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
232
232
|
/**
|
|
@@ -332,12 +332,12 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
332
332
|
* min: 10,
|
|
333
333
|
* max: 25
|
|
334
334
|
* };
|
|
335
|
-
*
|
|
335
|
+
* ```
|
|
336
336
|
* @example
|
|
337
337
|
* ```js
|
|
338
338
|
* // disables zooming on the slider
|
|
339
339
|
* slider.zoomOptions = null;
|
|
340
|
-
*
|
|
340
|
+
* ```
|
|
341
341
|
* @example
|
|
342
342
|
* ```js
|
|
343
343
|
* // zooms the slider so thumbs can only be moved to positions above
|
|
@@ -345,7 +345,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
345
345
|
* slider.zoomOptions = {
|
|
346
346
|
* min: 10
|
|
347
347
|
* };
|
|
348
|
-
*
|
|
348
|
+
* ```
|
|
349
349
|
* @example
|
|
350
350
|
* ```js
|
|
351
351
|
* // zooms the slider so thumbs can only be moved to positions below
|
|
@@ -353,7 +353,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
353
353
|
* slider.zoomOptions = {
|
|
354
354
|
* max: 25
|
|
355
355
|
* };
|
|
356
|
-
*
|
|
356
|
+
* ```
|
|
357
357
|
*/
|
|
358
358
|
accessor zoomOptions: ZoomOptions | null | undefined;
|
|
359
359
|
/** Permanently destroy the component. */
|