@arcgis/map-components 5.1.0-next.20 → 5.1.0-next.21
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/{6PXPLFFB.js → 45DIIV4Z.js} +1 -1
- package/dist/cdn/5LIIGBMB.js +2 -0
- package/dist/cdn/{4WDHTN24.js → 6QW2EUPX.js} +1 -1
- package/dist/cdn/DY3ERISU.js +2 -0
- package/dist/cdn/EQ4FEO75.js +2 -0
- package/dist/cdn/{6747ZUJC.js → GZ3XKDIF.js} +1 -1
- package/dist/cdn/IW7IOW5D.js +2 -0
- package/dist/cdn/JXUAJ4MS.js +2 -0
- package/dist/cdn/OSIWX2OH.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -0
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-table/customElement.js +19 -18
- package/dist/components/arcgis-link-chart/customElement.d.ts +8 -0
- package/dist/components/arcgis-link-chart/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +8 -0
- package/dist/components/arcgis-map/customElement.js +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +8 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +8 -0
- package/dist/components/arcgis-scene/customElement.js +11 -11
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +4 -4
- package/dist/cdn/2XULQGZU.js +0 -2
- package/dist/cdn/2YBN6D3R.js +0 -2
- package/dist/cdn/BXW4T5YR.js +0 -2
- package/dist/cdn/DMGQRIIZ.js +0 -2
- package/dist/cdn/QUVAWUWJ.js +0 -2
- package/dist/cdn/WCIXC6UR.js +0 -2
|
@@ -12,6 +12,7 @@ import type AttachmentsViewOptions from "@arcgis/core/widgets/FeatureTable/suppo
|
|
|
12
12
|
import type FieldColumn from "@arcgis/core/widgets/FeatureTable/FieldColumn.js";
|
|
13
13
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
14
14
|
import type Relationship from "@arcgis/core/layers/support/Relationship.js";
|
|
15
|
+
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
15
16
|
import type TableTemplate from "@arcgis/core/widgets/FeatureTable/support/TableTemplate.js";
|
|
16
17
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
17
18
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
@@ -785,6 +786,14 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
785
786
|
* });
|
|
786
787
|
*/
|
|
787
788
|
accessor rowHighlightIds: Collection<ObjectId>;
|
|
789
|
+
/**
|
|
790
|
+
* Use this property to supply a custom [SelectionManager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/) that overrides the default selection manager.
|
|
791
|
+
* This is useful when applications want to share selection sets between components, without relying on the view's selection manager. This property is ignored if [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-table/#syncViewSelection) is `true`.
|
|
792
|
+
*
|
|
793
|
+
* @since 5.0
|
|
794
|
+
* @beta
|
|
795
|
+
*/
|
|
796
|
+
accessor selectionManager: SelectionManager | null | undefined;
|
|
788
797
|
/**
|
|
789
798
|
* Indicates whether to display the feature table's layer switch drop down menu.
|
|
790
799
|
*
|
|
@@ -855,6 +864,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
855
864
|
*
|
|
856
865
|
* @default false
|
|
857
866
|
* @since 5.0
|
|
867
|
+
* @beta
|
|
858
868
|
*/
|
|
859
869
|
accessor syncViewSelection: boolean;
|
|
860
870
|
/**
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
3
|
+
import { on as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
4
|
import r from "@arcgis/core/layers/Layer.js";
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
5
|
+
import c from "@arcgis/core/widgets/FeatureTable.js";
|
|
6
|
+
import { LitElement as d, createEvent as a } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as h } from "@arcgis/lumina/controllers";
|
|
7
8
|
import { reEmitEvent as t } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
-
import { unsafeGetCalciteModeName as
|
|
9
|
-
import { m
|
|
10
|
-
import { d as
|
|
11
|
-
import { css as
|
|
9
|
+
import { unsafeGetCalciteModeName as g } from "@arcgis/toolkit/dom";
|
|
10
|
+
import { m } from "../../chunks/useWidget.js";
|
|
11
|
+
import { d as u, g as p } from "../../chunks/component-utils.js";
|
|
12
|
+
import { css as b } from "lit";
|
|
12
13
|
import { rethrowError as o } from "@arcgis/toolkit/log";
|
|
13
|
-
const b = p`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-spacing-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--calcite-color-foreground-1);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-spacing-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-spacing-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-spacing-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--calcite-color-foreground-1);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--calcite-color-background);padding:var(--calcite-spacing-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-spacing-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-spacing-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details caclite-action{--calcite-action-text-color: var(--calcite-color-brand);position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-spacing-md);word-break:break-all}.esri-feature-table__attachments-view__icon{margin-bottom:var(--calcite-spacing-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{padding:var(--calcite-spacing-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-spacing-md);word-wrap:break-word;color:var(--calcite-color-text-1)}.esri-feature-table__attachments-view__information__label{color:var(--calcite-color-text-3);font-weight:var(--calcite-font-weight-normal)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-spacing-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--calcite-color-text-3);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover calcite-list{max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all}.esri-feature-table__footer__message{margin:0 var(--calcite-spacing-md)}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{align-items:center;display:flex}.esri-attachments-column__button,.esri-column__show-related-records-button{--calcite-offset-invert-focus: 2}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-spacing-xxl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-spacing-xxxl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-spacing-xxl);max-height:var(--calcite-spacing-xxl);vertical-align:middle;margin-inline-end:var(--calcite-spacing-xxs);display:inline-flex}.esri-grid{background-color:var(--calcite-color-foreground-1);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-spacing-xxs) var(--calcite-spacing-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-foreground-3);line-height:28px;color:var(--calcite-color-text-1)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--calcite-color-foreground-2)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--calcite-color-text-3);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--calcite-color-background)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-foreground-3)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--calcite-color-foreground-1));&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--calcite-color-foreground-1));font-weight:var(--calcite-font-weight-bold);&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:color-mix(in sRGB,var(--calcite-color-brand) 10%,var(--calcite-color-foreground-1))}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:color-mix(in sRGB,var(--calcite-color-brand) 20%,var(--calcite-color-foreground-1))}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--calcite-color-brand)}.esri-grid .esri-grid__content{background-color:inherit;width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--calcite-color-text-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--calcite-color-text-highlight)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-normal);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{height:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--calcite-color-text-1);flex-grow:1;align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--calcite-color-foreground-1)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}`, _ = g(s);
|
|
14
|
-
class
|
|
14
|
+
const _ = b`.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-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-spacing-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--calcite-color-foreground-1);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-spacing-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-spacing-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-spacing-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--calcite-color-foreground-1);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--calcite-color-background);padding:var(--calcite-spacing-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-spacing-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-spacing-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details caclite-action{--calcite-action-text-color: var(--calcite-color-brand);position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-spacing-md);word-break:break-all}.esri-feature-table__attachments-view__icon{margin-bottom:var(--calcite-spacing-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{padding:var(--calcite-spacing-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-spacing-md);word-wrap:break-word;color:var(--calcite-color-text-1)}.esri-feature-table__attachments-view__information__label{color:var(--calcite-color-text-3);font-weight:var(--calcite-font-weight-normal)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-spacing-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--calcite-color-text-3);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover calcite-list{max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all}.esri-feature-table__footer__message{margin:0 var(--calcite-spacing-md)}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{align-items:center;display:flex}.esri-attachments-column__button,.esri-column__show-related-records-button{--calcite-offset-invert-focus: 2}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-spacing-xxl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-spacing-xxxl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-spacing-xxl);max-height:var(--calcite-spacing-xxl);vertical-align:middle;margin-inline-end:var(--calcite-spacing-xxs);display:inline-flex}.esri-grid{background-color:var(--calcite-color-foreground-1);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-spacing-xxs) var(--calcite-spacing-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-foreground-3);line-height:28px;color:var(--calcite-color-text-1)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--calcite-color-foreground-2)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--calcite-color-text-3);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--calcite-color-background)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-foreground-3)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--calcite-color-foreground-1));&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--calcite-color-foreground-1));font-weight:var(--calcite-font-weight-bold);&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:color-mix(in sRGB,var(--calcite-color-brand) 10%,var(--calcite-color-foreground-1))}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:color-mix(in sRGB,var(--calcite-color-brand) 20%,var(--calcite-color-foreground-1))}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--calcite-color-brand)}.esri-grid .esri-grid__content{background-color:inherit;width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--calcite-color-text-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--calcite-color-text-highlight)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-normal);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{height:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--calcite-color-text-1);flex-grow:1;align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--calcite-color-foreground-1)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}`, w = m(c);
|
|
15
|
+
class f extends d {
|
|
15
16
|
constructor() {
|
|
16
|
-
super(...arguments), this.widget =
|
|
17
|
+
super(...arguments), this.widget = w(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.attachmentsColumns = this.widget.attachmentsColumns, this.attributeTableTemplate = this.widget.attributeTableTemplate, this.actionColumn = this.widget.actionColumn, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allColumns = this.widget.allColumns, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.allVisibleColumns = this.widget.allVisibleColumns, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.attachmentsViewOptions = this.widget.attachmentsViewOptions, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.autoSaveDisabled = this.widget.autoSaveEnabled, this.canAddRelatedFeature = this.widget.canAddRelatedFeature, this.columnPerformanceModeDisabled = this.widget.columnPerformanceModeEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.definitionExpression = this.widget.definitionExpression, this.description = this.widget.description, this.disabled = this.widget.disabled, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.fieldColumns = this.widget.fieldColumns, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterGeometry = this.widget.filterGeometry, this.groupColumns = this.widget.groupColumns, this.hasContingentValues = this.widget.hasContingentValues, this.hasInvalidPendingEdits = this.widget.hasInvalidPendingEdits, this.hasPendingEdits = this.widget.hasPendingEdits, this.hiddenFields = this.widget.hiddenFields, this.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideHeader = this.widget.visibleElements.header, this.hideLayerDropdownIcons = this.widget.visibleElements.layerDropdownIcons, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsToggleColumns = this.widget.visibleElements.menuItems.toggleColumns, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.initialSize = this.widget.initialSize, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.isSyncingAttachments = this.widget.isSyncingAttachments, this.label = this.widget.label, this.layer = this.widget.layer, this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.multipleSortPriority = this.widget.multipleSortPriority, this.navigationScale = this.widget.navigationScale, this.noDataMessage = this.widget.noDataMessage, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.relationship = this.widget.relationship, this.relationshipColumns = this.widget.relationshipColumns, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.selectionManager = this.widget.selectionManager, this.size = this.widget.size, this.showLayerDropdown = this.widget.visibleElements.layerDropdown, this.state = this.widget.state, this.supportsAddAttachments = this.widget.supportsAddAttachments, this.supportsAttachments = this.widget.supportsAttachments, this.supportsDeleteAttachments = this.widget.supportsDeleteAttachments, this.supportsResizeAttachments = this.widget.supportsResizeAttachments, this.supportsUpdateAttachments = this.widget.supportsUpdateAttachments, this.syncTemplateOnChangesDisabled = this.widget.syncTemplateOnChangesEnabled, this.syncViewSelection = this.widget.syncViewSelection, this.tableController = this.widget.tableController, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.tableTitle = this.widget.title, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.visibleColumns = this.widget.visibleColumns, this.arcgisCellClick = t(() => this.widget, "cell-click"), this.arcgisCellKeydown = t(() => this.widget, "cell-keydown"), this.arcgisCellPointerout = t(() => this.widget, "cell-pointerout"), this.arcgisCellPointerover = t(() => this.widget, "cell-pointerover"), this.arcgisColumnReorder = t(() => this.widget, "column-reorder"), this.arcgisPropertyChange = h()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = a(), this.arcgisSelectionChange = a();
|
|
17
18
|
}
|
|
18
19
|
static {
|
|
19
|
-
this.properties = { view: 0, attachmentsColumns: 32, attributeTableTemplate: 0, actionColumn: 32, actionColumnConfig: 0, activeFilters: 32, activeSortOrders: 32, allColumns: 32, allRelatedTablesVisible: 36, allVisibleColumns: 32, attachmentsEnabled: 5, attachmentsViewOptions: 0, autoDestroyDisabled: 5, autoRefreshDisabled: 5, autoSaveDisabled: 5, canAddRelatedFeature: 36, columnPerformanceModeDisabled: 5, columnReorderingDisabled: 5, columns: 32, definitionExpression: 1, description: 1, disabled: 7, editingEnabled: 5, effectiveSize: 40, fieldColumns: 32, filterBySelectionEnabled: 5, filterGeometry: 0, groupColumns: 32, hasContingentValues: 36, hasInvalidPendingEdits: 36, hasPendingEdits: 36, hiddenFields: 0, hideColumnDescriptions: 5, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideHeader: 5, hideLayerDropdownIcons: 5, hideMenu: 5, hideMenuItemsClearSelection: 5, hideMenuItemsDeleteSelection: 5, hideMenuItemsExportSelectionToCsv: 5, hideMenuItemsRefreshData: 5, hideMenuItemsSelectedRecordsShowAllToggle: 5, hideMenuItemsSelectedRecordsShowSelectedToggle: 5, hideMenuItemsToggleColumns: 5, hideMenuItemsZoomToSelection: 5, hideProgress: 5, hideSelectionColumn: 5, hideTooltips: 5, highlightDisabled: 5, highlightIds: 0, initialSize: 9, icon: 1, isQueryingOrSyncing: 36, isSyncingAttachments: 36, label: 1, layer: 0, layerItemId: 1, layerUrl: 1, layerView: 32, layers: 0, maxSize: 9, menuConfig: 0, multipleSelectionDisabled: 5, multipleSortEnabled: 5, multipleSortPriority: 1, navigationScale: 1, noDataMessage: 1, objectIds: 0, outFields: 0, pageCount: 40, pageIndex: 9, pageSize: 9, paginationEnabled: 5, referenceElement: 1, relatedRecordsEnabled: 5, relatedTable: 32, relatedTables: 0, relationship: 32, relationshipColumns: 32, returnGeometryEnabled: 5, returnMEnabled: 5, returnZEnabled: 5, rowHighlightIds: 0, size: 40, showLayerDropdown: 5, state: 32, supportsAddAttachments: 36, supportsAttachments: 36, supportsDeleteAttachments: 36, supportsResizeAttachments: 36, supportsUpdateAttachments: 36, syncTemplateOnChangesDisabled: 5, syncViewSelection: 5, tableController: 32, tableDisabled: 5, tableParent: 32, tableTemplate: 0, tableTitle: 1, timeExtent: 0, timeZone: 1, visibleColumns: 32 };
|
|
20
|
+
this.properties = { view: 0, attachmentsColumns: 32, attributeTableTemplate: 0, actionColumn: 32, actionColumnConfig: 0, activeFilters: 32, activeSortOrders: 32, allColumns: 32, allRelatedTablesVisible: 36, allVisibleColumns: 32, attachmentsEnabled: 5, attachmentsViewOptions: 0, autoDestroyDisabled: 5, autoRefreshDisabled: 5, autoSaveDisabled: 5, canAddRelatedFeature: 36, columnPerformanceModeDisabled: 5, columnReorderingDisabled: 5, columns: 32, definitionExpression: 1, description: 1, disabled: 7, editingEnabled: 5, effectiveSize: 40, fieldColumns: 32, filterBySelectionEnabled: 5, filterGeometry: 0, groupColumns: 32, hasContingentValues: 36, hasInvalidPendingEdits: 36, hasPendingEdits: 36, hiddenFields: 0, hideColumnDescriptions: 5, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideHeader: 5, hideLayerDropdownIcons: 5, hideMenu: 5, hideMenuItemsClearSelection: 5, hideMenuItemsDeleteSelection: 5, hideMenuItemsExportSelectionToCsv: 5, hideMenuItemsRefreshData: 5, hideMenuItemsSelectedRecordsShowAllToggle: 5, hideMenuItemsSelectedRecordsShowSelectedToggle: 5, hideMenuItemsToggleColumns: 5, hideMenuItemsZoomToSelection: 5, hideProgress: 5, hideSelectionColumn: 5, hideTooltips: 5, highlightDisabled: 5, highlightIds: 0, initialSize: 9, icon: 1, isQueryingOrSyncing: 36, isSyncingAttachments: 36, label: 1, layer: 0, layerItemId: 1, layerUrl: 1, layerView: 32, layers: 0, maxSize: 9, menuConfig: 0, multipleSelectionDisabled: 5, multipleSortEnabled: 5, multipleSortPriority: 1, navigationScale: 1, noDataMessage: 1, objectIds: 0, outFields: 0, pageCount: 40, pageIndex: 9, pageSize: 9, paginationEnabled: 5, referenceElement: 1, relatedRecordsEnabled: 5, relatedTable: 32, relatedTables: 0, relationship: 32, relationshipColumns: 32, returnGeometryEnabled: 5, returnMEnabled: 5, returnZEnabled: 5, rowHighlightIds: 0, selectionManager: 0, size: 40, showLayerDropdown: 5, state: 32, supportsAddAttachments: 36, supportsAttachments: 36, supportsDeleteAttachments: 36, supportsResizeAttachments: 36, supportsUpdateAttachments: 36, syncTemplateOnChangesDisabled: 5, syncViewSelection: 5, tableController: 32, tableDisabled: 5, tableParent: 32, tableTemplate: 0, tableTitle: 1, timeExtent: 0, timeZone: 1, visibleColumns: 32 };
|
|
20
21
|
}
|
|
21
22
|
static {
|
|
22
|
-
this.styles =
|
|
23
|
+
this.styles = _;
|
|
23
24
|
}
|
|
24
25
|
get tableDisabled() {
|
|
25
26
|
return this.widget.disabled;
|
|
@@ -100,10 +101,10 @@ class w extends c {
|
|
|
100
101
|
this.widget.zoomToSelection();
|
|
101
102
|
}
|
|
102
103
|
load() {
|
|
103
|
-
this.manager.onLifecycle(() => this.widget.highlightIds
|
|
104
|
+
this.manager.onLifecycle(() => s(() => this.widget.highlightIds, "change", this.arcgisSelectionChange.emit));
|
|
104
105
|
}
|
|
105
106
|
willUpdate(e) {
|
|
106
|
-
if (e.has("layerItemId") && (
|
|
107
|
+
if (e.has("layerItemId") && (u(this.layerItemId) ? this.layer = null : this.layerItemId && r.fromPortalItem({
|
|
107
108
|
portalItem: {
|
|
108
109
|
id: this.layerItemId
|
|
109
110
|
}
|
|
@@ -119,12 +120,12 @@ class w extends c {
|
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
loaded() {
|
|
122
|
-
|
|
123
|
-
const e =
|
|
123
|
+
p(this)?.classList.add("arcgis-feature-table");
|
|
124
|
+
const e = g(this.el);
|
|
124
125
|
this.setAttribute("calcite-mode", e);
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
n("arcgis-feature-table",
|
|
128
|
+
n("arcgis-feature-table", f);
|
|
128
129
|
export {
|
|
129
|
-
|
|
130
|
+
f as ArcgisFeatureTable
|
|
130
131
|
};
|
|
@@ -17,6 +17,7 @@ import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.j
|
|
|
17
17
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
18
18
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
19
19
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
20
|
+
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
20
21
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
21
22
|
import type Theme from "@arcgis/core/views/Theme.js";
|
|
22
23
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
@@ -537,6 +538,13 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
537
538
|
* the view, see this component's goTo() method.
|
|
538
539
|
*/
|
|
539
540
|
accessor scale: number;
|
|
541
|
+
/**
|
|
542
|
+
* The default [SelectionManager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/) for this view. Used to manage selections of features across layers.
|
|
543
|
+
*
|
|
544
|
+
* @since 5.0
|
|
545
|
+
* @beta
|
|
546
|
+
*/
|
|
547
|
+
get selectionManager(): SelectionManager;
|
|
540
548
|
/**
|
|
541
549
|
* The URL of the Knowledge Graph Service to load the link chart from.
|
|
542
550
|
*
|
|
@@ -3,13 +3,13 @@ import { c as C } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import _ from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
|
-
import { LitElement as V, createEvent as
|
|
6
|
+
import { LitElement as V, createEvent as c, safeClassMap as p } from "@arcgis/lumina";
|
|
7
7
|
import { reCreateAccessor as A, makeAccessorController as f, reEmitEvent as e } from "@arcgis/lumina/controllers/accessor";
|
|
8
8
|
import { createRef as v, ref as m } from "lit/directives/ref.js";
|
|
9
9
|
import { s as I } from "../../chunks/esri-main.js";
|
|
10
10
|
import { s as E, C as u } from "../../chunks/slots.js";
|
|
11
11
|
import { p as L, i as k } from "../../chunks/component-utils.js";
|
|
12
|
-
import { U, u as
|
|
12
|
+
import { U as M, u as U, a as D } from "../../chunks/useArcgisViewReadyError.js";
|
|
13
13
|
import { fetchKnowledgeGraph as R } from "@arcgis/core/rest/knowledgeGraphService.js";
|
|
14
14
|
import x from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
|
|
15
15
|
import { t as d } from "../../chunks/async-utils.js";
|
|
@@ -30,12 +30,12 @@ const z = f(
|
|
|
30
30
|
), Z = f(_, {});
|
|
31
31
|
class P extends V {
|
|
32
32
|
constructor() {
|
|
33
|
-
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new
|
|
33
|
+
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._activeLoadAbortController = null, this.arcgisLoadError = U(this), this.arcgisViewReadyError = D(this), this._map = z(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = Z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
34
34
|
components: []
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 36, viewpoint: 0, zoom: 9, loadErrorSources: 0 };
|
|
38
|
+
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, selectionManager: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 36, viewpoint: 0, zoom: 9, loadErrorSources: 0 };
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
41
|
this.styles = [I, E];
|
|
@@ -225,10 +225,10 @@ class P extends V {
|
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
renderMain() {
|
|
228
|
-
return y`<div class=${
|
|
228
|
+
return y`<div class=${p(u.base)} ${m(this._mapRef)}></div>`;
|
|
229
229
|
}
|
|
230
230
|
render() {
|
|
231
|
-
return y`${this.renderMain()}<section class=${
|
|
231
|
+
return y`${this.renderMain()}<section class=${p(u.containerUI)} ${m(this._containerRef)}>${this._uiController.render()}</section>`;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
const s = {
|
|
@@ -20,6 +20,7 @@ import type IPSInfo from "@arcgis/core/webdoc/IPSInfo.js";
|
|
|
20
20
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
21
21
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
22
22
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
23
|
+
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
23
24
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
24
25
|
import type Theme from "@arcgis/core/views/Theme.js";
|
|
25
26
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
@@ -727,6 +728,13 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
727
728
|
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
728
729
|
*/
|
|
729
730
|
accessor scale: number;
|
|
731
|
+
/**
|
|
732
|
+
* The default [SelectionManager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/) for this view. Used to manage selections of features across layers.
|
|
733
|
+
*
|
|
734
|
+
* @since 5.0
|
|
735
|
+
* @beta
|
|
736
|
+
*/
|
|
737
|
+
get selectionManager(): SelectionManager;
|
|
730
738
|
/**
|
|
731
739
|
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
732
740
|
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
@@ -26,12 +26,12 @@ const A = p(
|
|
|
26
26
|
), _ = p(l, {});
|
|
27
27
|
class R extends m {
|
|
28
28
|
constructor() {
|
|
29
|
-
super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new b(this), this.extraContent = new E(), this.arcgisLoadError = V(this), this.arcgisViewReadyError = C(this), this._map = A(this), this.view = _(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
29
|
+
super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new b(this), this.extraContent = new E(), this.arcgisLoadError = V(this), this.arcgisViewReadyError = C(this), this._map = A(this), this.view = _(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
30
30
|
components: []
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 36, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
34
|
+
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, selectionManager: 32, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 36, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
37
|
this.styles = [g, d];
|
|
@@ -132,6 +132,14 @@ export abstract class ArcgisOrientedImageryViewer extends LitElement {
|
|
|
132
132
|
*/
|
|
133
133
|
accessor navigationToolActive: boolean;
|
|
134
134
|
accessor orientedImageryLayerItemId: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* When true, loading an image via directional or sequential navigation caches all neighboring images associated with that image.
|
|
137
|
+
* Navigating to adjacent images then uses the cached assets, reducing load times and improving viewer performance.
|
|
138
|
+
*
|
|
139
|
+
* @default false
|
|
140
|
+
* @since 5.0
|
|
141
|
+
*/
|
|
142
|
+
accessor preloadMedia: boolean;
|
|
135
143
|
/**
|
|
136
144
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
137
145
|
*
|
|
@@ -10,10 +10,10 @@ import { s as c } from "../../chunks/esri-main.js";
|
|
|
10
10
|
const g = l`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--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%}`, m = d(a);
|
|
11
11
|
class v extends n {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = m(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.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.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = t()("imageGalleryEnabled", "layer"), this.arcgisReady = s();
|
|
13
|
+
super(...arguments), this.widget = m(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.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.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.preloadMedia = this.widget.preloadMedia, this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = t()("imageGalleryEnabled", "layer"), this.arcgisReady = s();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, currentCoverageVisible: 5, dataCaptureEnabled: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 36, imageOverlaysOpened: 5, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, referenceElement: 1, referencePoint: 32 };
|
|
16
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, currentCoverageVisible: 5, dataCaptureEnabled: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 36, imageOverlaysOpened: 5, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, preloadMedia: 5, referenceElement: 1, referencePoint: 32 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.styles = [c, g];
|
|
@@ -24,6 +24,7 @@ import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.j
|
|
|
24
24
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
25
25
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
26
26
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
27
|
+
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
27
28
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
28
29
|
import type Theme from "@arcgis/core/views/Theme.js";
|
|
29
30
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
@@ -728,6 +729,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
728
729
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#scale)
|
|
729
730
|
*/
|
|
730
731
|
accessor scale: number;
|
|
732
|
+
/**
|
|
733
|
+
* The default [SelectionManager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/) for this view. Used to manage selections of features across layers.
|
|
734
|
+
*
|
|
735
|
+
* @since 5.0
|
|
736
|
+
* @beta
|
|
737
|
+
*/
|
|
738
|
+
get selectionManager(): SelectionManager;
|
|
731
739
|
/**
|
|
732
740
|
* The [spatial reference](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/) of the view.
|
|
733
741
|
* This indicates the projected or geographic coordinate system used
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as a } from "lit";
|
|
4
|
-
import
|
|
4
|
+
import p from "@arcgis/core/Camera.js";
|
|
5
5
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import v from "@arcgis/core/geometry/Point.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import g from "@arcgis/core/views/SceneView.js";
|
|
8
|
+
import u from "@arcgis/core/WebScene.js";
|
|
9
9
|
import { LitElement as d, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
|
|
10
10
|
import { makeAccessorController as w, reEmitEvent as t, reCreateAccessor as y } from "@arcgis/lumina/controllers/accessor";
|
|
11
11
|
import { createRef as o, ref as h } from "lit/directives/ref.js";
|
|
@@ -13,15 +13,15 @@ import { U as f, u as b, a as V } from "../../chunks/useArcgisViewReadyError.js"
|
|
|
13
13
|
import { s as C } from "../../chunks/esri-main.js";
|
|
14
14
|
import { s as E, C as c } from "../../chunks/slots.js";
|
|
15
15
|
import { b as _, c as A, p as P, i as D } from "../../chunks/component-utils.js";
|
|
16
|
-
const I = w(
|
|
17
|
-
class
|
|
16
|
+
const I = w(u, {}), R = w(g, {});
|
|
17
|
+
class M extends d {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = I(this), this.view = R(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
19
|
+
super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = I(this), this.view = R(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
20
20
|
components: []
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, updating: 36, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
24
|
+
this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, updating: 36, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
27
|
this.styles = [C, E];
|
|
@@ -216,7 +216,7 @@ class k extends d {
|
|
|
216
216
|
i(this._cameraProperties);
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
|
-
const e = this.view.camera?.clone() ?? new
|
|
219
|
+
const e = this.view.camera?.clone() ?? new p();
|
|
220
220
|
i(e), this.camera = e;
|
|
221
221
|
}
|
|
222
222
|
renderMain() {
|
|
@@ -226,7 +226,7 @@ class k extends d {
|
|
|
226
226
|
return a`${this.renderMain()}<section class=${n(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
|
|
229
|
+
l("arcgis-scene", M);
|
|
230
230
|
export {
|
|
231
|
-
|
|
231
|
+
M as ArcgisScene
|
|
232
232
|
};
|
|
@@ -22,6 +22,9 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
|
|
|
22
22
|
* Supported trace types are: `connected`, `upstream`, `downstream`, `shortest-path`, `subnetwork`, `subnetwork-controller`, `loops`, and `isolation`.
|
|
23
23
|
*
|
|
24
24
|
* The component can display the following from a trace result: elements (as [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures)), aggregated geometries, and function results.
|
|
25
|
+
* If the trace result includes elements that originate from a [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/)
|
|
26
|
+
* that is not included in the map, the Results tab displays an `Unknown` layer with a count of those elements.
|
|
27
|
+
* The component's [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) property also does not include these elements.
|
|
25
28
|
*
|
|
26
29
|
* > [!WARNING]
|
|
27
30
|
* >
|
|
@@ -142,13 +142,13 @@ class $ extends v {
|
|
|
142
142
|
return h(`${this.el.id}__results-tab-item`, r`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? r`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : r`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceResultsRefChange)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
|
|
143
143
|
}
|
|
144
144
|
renderResultsFooter() {
|
|
145
|
-
const { mode: e } = this;
|
|
145
|
+
const { mode: e, state: t } = this;
|
|
146
146
|
if (e !== "default")
|
|
147
147
|
return null;
|
|
148
|
-
const { traceResult:
|
|
148
|
+
const { traceResult: a } = this, i = !!(a?.elements.length || a?.globalFunctionResults.length || a?.aggregatedGeometry) && this._traceResultsElement?.state === "ready";
|
|
149
149
|
return r`<calcite-button appearance=outline width=full @click=${() => {
|
|
150
150
|
this._switchTab("input"), this._clearTraceResult(), this.arcgisTraceResultClear.emit();
|
|
151
|
-
}} .disabled=${!
|
|
151
|
+
}} .disabled=${!i} slot=footer>${this.traceResultFeatures.length > 0 && !this.hideFeatureResults && t !== "executing" ? this._messages.buttons.clearResultsCustom.replace("{number}", this.traceResultFeatures.length.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
|
|
152
152
|
}
|
|
153
153
|
renderInputTab() {
|
|
154
154
|
return h(`${this.el.id}__inputs-tab-item`, r`<calcite-tab .selected=${this.activeTab === "input"}><div class="inputs-tab-container">${this.showNoStartingPointsWarning && this.mode === "default" ? this.renderNoStartingPointsWarning() : null}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .referenceElement=${this.referenceElement} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
|
|
@@ -151,7 +151,7 @@ class B extends v {
|
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
_setupSketchViewModel() {
|
|
154
|
-
this._createGraphicLayer(p), this._createGraphicLayer(c), this._sketchViewModel = this._initializeSketchViewModel();
|
|
154
|
+
this._createGraphicLayer(p), this._createGraphicLayer(c), this._sketchViewModel = this._initializeSketchViewModel(), this._setSnappingOption();
|
|
155
155
|
}
|
|
156
156
|
_clearSubnetworks() {
|
|
157
157
|
this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
|
|
@@ -74,7 +74,7 @@ class E extends F {
|
|
|
74
74
|
}));
|
|
75
75
|
}
|
|
76
76
|
willUpdate(e) {
|
|
77
|
-
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
77
|
+
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1, this.traceResult || (this.traceResultFeatures = [])), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
78
78
|
}
|
|
79
79
|
loaded() {
|
|
80
80
|
this.utilityNetwork || u("warn", this, m("utilityNetwork")), this.layers.length === 0 && u("warn", this, w("layers")), this.view || u("warn", this, m("view"));
|