@arcgis/map-components 5.2.0-next.1 → 5.2.0-next.2
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/24UHFJSD.js +2 -0
- package/dist/cdn/2MJTTQRU.js +2 -0
- package/dist/cdn/{BDDXZ4ML.js → A7P3DUN2.js} +1 -1
- package/dist/cdn/AEV7DYPK.js +2 -0
- package/dist/cdn/{CZ3FVANK.js → AOC4VUP6.js} +1 -1
- package/dist/cdn/{IAPVYBIO.js → JBRTOHPW.js} +1 -1
- package/dist/cdn/JBWWGDI5.js +2 -0
- package/dist/cdn/L5DJYP26.js +2 -0
- package/dist/cdn/P2YOSZ4V.js +2 -0
- package/dist/cdn/PYZZBY6S.js +2 -0
- package/dist/cdn/RL5PFJGE.js +2 -0
- package/dist/cdn/S37FED24.js +2 -0
- package/dist/cdn/THRRGHTM.js +2 -0
- package/dist/cdn/ZF7CLHYV.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +60 -111
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
- package/dist/components/arcgis-daylight/customElement.js +98 -112
- package/dist/components/arcgis-feature-table/customElement.d.ts +8 -0
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -0
- package/dist/components/arcgis-features-next/customElement.js +69 -63
- package/dist/components/arcgis-features-next/index.js +1 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -3
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-map/customElement.d.ts +10 -3
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
- package/dist/components/arcgis-popup/customElement.d.ts +2 -0
- package/dist/components/arcgis-popup/customElement.js +9 -9
- package/dist/components/arcgis-scene/customElement.d.ts +10 -3
- package/dist/components/arcgis-scene/customElement.js +24 -24
- package/dist/components/arcgis-search/customElement.js +6 -6
- package/dist/components/arcgis-video/customElement.d.ts +15 -2
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
- package/dist/components/arcgis-video-player/customElement.js +14 -11
- package/dist/components/arcgis-video-player-controls-group/customElement.js +19 -17
- package/dist/components/arcgis-video-player-settings/customElement.js +20 -18
- package/dist/components/arcgis-video-player-settings/index.js +1 -0
- 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 +8 -8
- package/dist/types/lumina.d.ts +4 -4
- package/dist/types/preact.d.ts +4 -4
- package/dist/types/react.d.ts +4 -4
- package/dist/types/stencil.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/4XR7RDUC.js +0 -2
- package/dist/cdn/6NEHIRSM.js +0 -2
- package/dist/cdn/7LPXFLXF.js +0 -2
- package/dist/cdn/CPQQEWKH.js +0 -2
- package/dist/cdn/CWWTUOR7.js +0 -2
- package/dist/cdn/J6G5UUNA.js +0 -2
- package/dist/cdn/NEXYYXWU.js +0 -2
- package/dist/cdn/QZPKGHKG.js +0 -2
- package/dist/cdn/TFLKRVDZ.js +0 -2
- package/dist/cdn/X4COPBRD.js +0 -2
- package/dist/cdn/ZCULSTYU.js +0 -2
|
@@ -15,12 +15,12 @@ import { u as w } from "../../chunks/useLayerById.js";
|
|
|
15
15
|
const f = _`.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{min-width:300px;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;width:100%;height:100%}.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{gap:var(--calcite-spacing-sm);margin:0 var(--calcite-spacing-md);align-items:center;display:flex}.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);overflow:visible}.esri-grid vaadin-grid[reordering]::part(cell):after{content:normal}.esri-grid vaadin-grid[reordering]::part(frozen-cell),.esri-grid vaadin-grid[reordering]::part(frozen-to-end-cell),.esri-grid vaadin-grid[reordering]::part(reorder-allowed-cell){filter:brightness(.9) contrast(1.1)}.esri-grid vaadin-grid::part(empty-state){border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);color:var(--calcite-color-text-1)}.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 vaadin-grid-sorter[direction]::part(indicators),.esri-grid vaadin-grid-sorter[direction]::part(order){color:var(--calcite-color-text-1)}.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}.esri-feature-table .esri-editor__prompt--danger{border-top:solid 3px var(--calcite-color-status-danger);background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);flex-flow:column;max-height:85%;padding-block:var(--calcite-spacing-md);padding-inline:15px;animation:.25s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header{color:var(--calcite-color-status-danger);flex:none;align-items:center;gap:7px;margin-bottom:var(--calcite-spacing-md);display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header__heading{color:var(--calcite-color-text-1);margin:0 3px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__message{word-break:break-word;color:inherit;flex:auto;padding:0 0 12px;font-weight:var(--calcite-font-weight-normal);overflow:hidden auto}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__divider{color:inherit;border-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 12px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__actions{flex-direction:row;display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__half-width-button{width:50%}`, v = u(d);
|
|
16
16
|
class x extends h {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this.widget = v(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.closed = this.widget.closed, this.collapsed = this.widget.collapsed, 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.filterByViewExtent = this.widget.filterByViewExtent, 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.hideColumnVisibilityMenu = this.widget.visibleElements.columnVisibilityMenu, this.hideColumnVisibilityMenuItemsFilter = this.widget.visibleElements.columnVisibilityMenuItems.filter, this.hideColumnVisibilityMenuItemsHeader = this.widget.visibleElements.columnVisibilityMenuItems.header, this.hideColumnVisibilityMenuItemsToggleAll = this.widget.visibleElements.columnVisibilityMenuItems.toggleAll, 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.mapLayerId = w(this, (e) => {
|
|
18
|
+
super(...arguments), this.widget = v(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.closed = this.widget.closed, this.collapsed = this.widget.collapsed, 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.filterByLayerScaleRange = this.widget.filterByLayerScaleRange, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterByViewExtent = this.widget.filterByViewExtent, 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.hideColumnVisibilityMenu = this.widget.visibleElements.columnVisibilityMenu, this.hideColumnVisibilityMenuItemsFilter = this.widget.visibleElements.columnVisibilityMenuItems.filter, this.hideColumnVisibilityMenuItemsHeader = this.widget.visibleElements.columnVisibilityMenuItems.header, this.hideColumnVisibilityMenuItemsToggleAll = this.widget.visibleElements.columnVisibilityMenuItems.toggleAll, 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.mapLayerId = w(this, (e) => {
|
|
19
19
|
e && (this.layer = e);
|
|
20
20
|
}), 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.showCollapse = this.widget.visibleElements.collapse, this.showClose = this.widget.visibleElements.close, this.showLayerDropdown = this.widget.visibleElements.layerDropdown, this.size = this.widget.size, 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.arcgisCellDblClick = t(() => this.widget, "cell-dblclick"), 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 = g()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = o(), this.arcgisSelectionChange = o();
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
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, closed: 5, collapsed: 5, columnPerformanceModeDisabled: 5, columnReorderingDisabled: 5, columns: 32, definitionExpression: 1, description: 1, disabled: 7, editingEnabled: 5, effectiveSize: 40, fieldColumns: 32, filterBySelectionEnabled: 5, filterByViewExtent: 5, filterGeometry: 0, groupColumns: 32, hasContingentValues: 36, hasInvalidPendingEdits: 36, hasPendingEdits: 36, hiddenFields: 0, hideColumnDescriptions: 5, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideColumnVisibilityMenu: 5, hideColumnVisibilityMenuItemsFilter: 5, hideColumnVisibilityMenuItemsHeader: 5, hideColumnVisibilityMenuItemsToggleAll: 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, mapLayerId: 1, layerItemId: 1, layerUrl: 1, layerId: 9, 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, showCollapse: 5, showClose: 5, showLayerDropdown: 5, size: 40, 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 };
|
|
23
|
+
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, closed: 5, collapsed: 5, columnPerformanceModeDisabled: 5, columnReorderingDisabled: 5, columns: 32, definitionExpression: 1, description: 1, disabled: 7, editingEnabled: 5, effectiveSize: 40, fieldColumns: 32, filterByLayerScaleRange: 5, filterBySelectionEnabled: 5, filterByViewExtent: 5, filterGeometry: 0, groupColumns: 32, hasContingentValues: 36, hasInvalidPendingEdits: 36, hasPendingEdits: 36, hiddenFields: 0, hideColumnDescriptions: 5, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideColumnVisibilityMenu: 5, hideColumnVisibilityMenuItemsFilter: 5, hideColumnVisibilityMenuItemsHeader: 5, hideColumnVisibilityMenuItemsToggleAll: 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, mapLayerId: 1, layerItemId: 1, layerUrl: 1, layerId: 9, 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, showCollapse: 5, showClose: 5, showLayerDropdown: 5, size: 40, 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 };
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
26
|
this.styles = f;
|
|
@@ -159,6 +159,8 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
159
159
|
* @default 20
|
|
160
160
|
*/
|
|
161
161
|
accessor featuresPerPage: number;
|
|
162
|
+
/** @default false */
|
|
163
|
+
accessor focusTrapEnabled: boolean;
|
|
162
164
|
/**
|
|
163
165
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
164
166
|
*
|
|
@@ -3,31 +3,31 @@ import { c as B } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as R, html as o } from "lit";
|
|
4
4
|
import { keyed as T } from "lit/directives/keyed.js";
|
|
5
5
|
import O from "@arcgis/core/support/actions/ActionButton.js";
|
|
6
|
-
import
|
|
6
|
+
import E from "@arcgis/core/core/Collection.js";
|
|
7
7
|
import H from "@arcgis/core/popup/Features.js";
|
|
8
8
|
import { LitElement as P, createEvent as A, renderElement as z, nothing as p, safeClassMap as I } from "@arcgis/lumina";
|
|
9
|
-
import { usePropertyChange as Z, bypassReadOnly as
|
|
10
|
-
import { slotChangeHasContent as
|
|
11
|
-
import { createRef as
|
|
12
|
-
import { g as
|
|
9
|
+
import { usePropertyChange as Z, bypassReadOnly as k } from "@arcgis/lumina/controllers";
|
|
10
|
+
import { slotChangeHasContent as D, classes as x } from "@arcgis/toolkit/dom";
|
|
11
|
+
import { createRef as m, ref as f } from "lit/directives/ref.js";
|
|
12
|
+
import { g as S } from "../../chunks/feature-utils.js";
|
|
13
13
|
import { initializeProjection as V } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
14
14
|
import { t as U, z as j } from "../../chunks/action-utils.js";
|
|
15
|
-
import { m as
|
|
16
|
-
import { renderingSanitizer as
|
|
15
|
+
import { m as q } from "../../chunks/useViewModel.js";
|
|
16
|
+
import { renderingSanitizer as b } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
17
17
|
import { stripHTML as y } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
18
18
|
import { substitute as g, formatNumber as C } from "@arcgis/core/intl.js";
|
|
19
|
-
import { u as
|
|
20
|
-
import { watch as
|
|
21
|
-
import { a as
|
|
22
|
-
const
|
|
23
|
-
function W(
|
|
24
|
-
return
|
|
19
|
+
import { u as G } from "../../chunks/useT9n.js";
|
|
20
|
+
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
21
|
+
import { a as N } from "../../chunks/maybe.js";
|
|
22
|
+
const K = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}`;
|
|
23
|
+
function W(F) {
|
|
24
|
+
return F?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
25
25
|
}
|
|
26
|
-
function X(
|
|
27
|
-
if (!(!
|
|
28
|
-
return
|
|
26
|
+
function X(F) {
|
|
27
|
+
if (!(!F || !("featureReduction" in F)))
|
|
28
|
+
return F.featureReduction?.type;
|
|
29
29
|
}
|
|
30
|
-
const J =
|
|
30
|
+
const J = q(H);
|
|
31
31
|
class Q extends P {
|
|
32
32
|
constructor() {
|
|
33
33
|
super(...arguments), this._zoomToFeature = new O({
|
|
@@ -38,15 +38,15 @@ class Q extends P {
|
|
|
38
38
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
39
39
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
40
40
|
root: window.document
|
|
41
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode =
|
|
42
|
-
this._openRelatedFeatureAbortController =
|
|
43
|
-
}, this._openRelatedFeatureAbortController = null, this.flowItems = new
|
|
41
|
+
}), this._featureMenuIntersectionObserverNode = null, this._focusTrapNode = m(), this._rootFlowItemNode = m(), this._featureMenuViewportNode = m(), this._actionBarMenuNode = m(), this._flowContainerNode = m(), this._aggregatedFeaturesComponent = m(), this.messages = G(), this._selectedFeatureComponent = m(), this._cancelOpenRelatedFeature = () => {
|
|
42
|
+
this._openRelatedFeatureAbortController = N(this._openRelatedFeatureAbortController);
|
|
43
|
+
}, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this.viewModel = J(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.focusTrapEnabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new E(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = Z()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = A(), this.arcgisClose = A(), this.arcgisTriggerAction = A();
|
|
44
44
|
}
|
|
45
45
|
static {
|
|
46
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureItemAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
46
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, focusTrapEnabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureItemAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
47
47
|
}
|
|
48
48
|
static {
|
|
49
|
-
this.styles =
|
|
49
|
+
this.styles = K;
|
|
50
50
|
}
|
|
51
51
|
get _hideActionText() {
|
|
52
52
|
if (!this.responsiveActionsEnabled)
|
|
@@ -109,23 +109,24 @@ class Q extends P {
|
|
|
109
109
|
}
|
|
110
110
|
loaded() {
|
|
111
111
|
this.manager.onLifecycle(() => [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
112
|
+
c(() => this.viewModel?.active, () => this._toggleFocusTrap()),
|
|
113
|
+
c(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
|
|
114
|
+
c(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
|
|
115
|
+
c(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
|
|
116
|
+
c(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
|
|
117
|
+
c(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
|
|
118
|
+
c(() => this.viewModel?.featureItems, () => this._featureMenuViewportScrollTop()),
|
|
119
|
+
c(() => this.flowItems.length, () => this._syncSelectedDrillInFeature()),
|
|
120
|
+
c(() => [this.flowItems?.length, this.featureMenuOpen], () => {
|
|
120
121
|
this.setFocus();
|
|
121
122
|
}),
|
|
122
|
-
|
|
123
|
+
c(() => this.viewModel.aggregatedFeaturesEnabled, (e) => {
|
|
123
124
|
e || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._removeFlowItems());
|
|
124
125
|
}),
|
|
125
|
-
|
|
126
|
+
c(() => this.referenceElement, (e, t) => {
|
|
126
127
|
this._removeSpinner(t), this._createSpinner();
|
|
127
128
|
}, { initial: !0 }),
|
|
128
|
-
|
|
129
|
+
c(() => [
|
|
129
130
|
this.hideSpinner,
|
|
130
131
|
this.viewModel?.view,
|
|
131
132
|
this.viewModel?.location,
|
|
@@ -136,10 +137,15 @@ class Q extends P {
|
|
|
136
137
|
}
|
|
137
138
|
updated() {
|
|
138
139
|
const e = this._selectedFeatureComponent.value ?? void 0;
|
|
139
|
-
this.selectedFeatureComponent !== e &&
|
|
140
|
+
this.selectedFeatureComponent !== e && k(() => this.selectedFeatureComponent = e);
|
|
141
|
+
}
|
|
142
|
+
_toggleFocusTrap() {
|
|
143
|
+
requestAnimationFrame(() => {
|
|
144
|
+
this.viewModel.active ? this._focusTrapNode.value?.activate() : this._focusTrapNode.value?.deactivate();
|
|
145
|
+
});
|
|
140
146
|
}
|
|
141
147
|
_cancelFetchingFeatures() {
|
|
142
|
-
this._fetchFeaturesController =
|
|
148
|
+
this._fetchFeaturesController = N(this._fetchFeaturesController);
|
|
143
149
|
}
|
|
144
150
|
_handleClose() {
|
|
145
151
|
this.close(), this.arcgisClose.emit();
|
|
@@ -150,7 +156,7 @@ class Q extends P {
|
|
|
150
156
|
const i = a?.graphic;
|
|
151
157
|
if (!i)
|
|
152
158
|
return;
|
|
153
|
-
const s =
|
|
159
|
+
const s = S(i), n = W(s) ? s : null;
|
|
154
160
|
let r = t.get(n);
|
|
155
161
|
r || (r = [], t.set(n, r)), r.push(a);
|
|
156
162
|
}), t;
|
|
@@ -236,7 +242,7 @@ class Q extends P {
|
|
|
236
242
|
}
|
|
237
243
|
_viewScaleChange() {
|
|
238
244
|
const { selectedFeature: e } = this;
|
|
239
|
-
!e?.isAggregate || X(
|
|
245
|
+
!e?.isAggregate || X(S(e)) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
|
|
240
246
|
}
|
|
241
247
|
_viewChange() {
|
|
242
248
|
this.viewModel.clear(), this.open = !1, this._aggregatedFeatureCount = 0, this._removeFlowItems();
|
|
@@ -250,7 +256,7 @@ class Q extends P {
|
|
|
250
256
|
}
|
|
251
257
|
_syncSelectedDrillInFeature() {
|
|
252
258
|
const e = this.flowItems.getItemAt(this.flowItems.length - 1);
|
|
253
|
-
|
|
259
|
+
k(() => this.selectedDrillInFeature = e?.graphic ?? void 0);
|
|
254
260
|
}
|
|
255
261
|
_removeFlowItems() {
|
|
256
262
|
this.viewModel.aggregatedFeaturesEnabled = !1, this.flowItems?.destroyAll();
|
|
@@ -274,10 +280,10 @@ class Q extends P {
|
|
|
274
280
|
return !this.hideHeading && e ? e : "";
|
|
275
281
|
}
|
|
276
282
|
_handleActionsStartSlotChange(e) {
|
|
277
|
-
this._hasActionsStartSlotContent =
|
|
283
|
+
this._hasActionsStartSlotContent = D(e);
|
|
278
284
|
}
|
|
279
285
|
_handleActionsEndSlotChange(e) {
|
|
280
|
-
this._hasActionsEndSlotContent =
|
|
286
|
+
this._hasActionsEndSlotContent = D(e);
|
|
281
287
|
}
|
|
282
288
|
_removeSpinner(e) {
|
|
283
289
|
e?.manager?.component?.extraContent?.remove(this._spinnerEl), this._spinnerEl = void 0;
|
|
@@ -287,7 +293,7 @@ class Q extends P {
|
|
|
287
293
|
e && (this._removeSpinner(e), this._spinnerEl = z(o`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel.open && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
288
294
|
}
|
|
289
295
|
render() {
|
|
290
|
-
return o`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
296
|
+
return o`<div class="root" @keydown=${this._onMainKeydown}><calcite-focus-trap .focusTrapDisabled=${!this.focusTrapEnabled} ${f(this._focusTrapNode)}>${this._renderHeader()}${this._renderContentContainer()}</calcite-focus-trap></div>`;
|
|
291
297
|
}
|
|
292
298
|
_renderFeatureNavigation() {
|
|
293
299
|
return [
|
|
@@ -321,7 +327,7 @@ class Q extends P {
|
|
|
321
327
|
}
|
|
322
328
|
_renderFeatureMenuItem(e, t) {
|
|
323
329
|
const { initialDisplayMode: a } = this, { selectedFeatureItem: i } = this.viewModel, s = e === i;
|
|
324
|
-
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(t)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(t)} .selected=${s} @calciteListItemSelect=${() => this._selectFeature(t)}><span .innerHTML=${(
|
|
330
|
+
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(t)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(t)} .selected=${s} @calciteListItemSelect=${() => this._selectFeature(t)}><span .innerHTML=${(b.sanitize(e.heading) || this.messages.untitled) ?? ""} slot=content></span>${a === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
325
331
|
}
|
|
326
332
|
_renderFeatureMenu() {
|
|
327
333
|
const { messages: e, viewModel: t } = this, a = this._groupResultsByLayer(), i = /* @__PURE__ */ new Map();
|
|
@@ -331,8 +337,8 @@ class Q extends P {
|
|
|
331
337
|
const r = a.get(n)?.map((l) => {
|
|
332
338
|
const h = i.get(l);
|
|
333
339
|
return h == null ? null : this._renderFeatureMenuItem(l, h);
|
|
334
|
-
}),
|
|
335
|
-
return !this.hideFeatureListLayerTitle &&
|
|
340
|
+
}), d = n ? n.title ?? this.messages.untitled : null;
|
|
341
|
+
return !this.hideFeatureListLayerTitle && d !== null ? T(n ?? "map-graphics", o`<calcite-list-item-group .heading=${d}>${r}</calcite-list-item-group>`) : r;
|
|
336
342
|
})}</calcite-list>` : null;
|
|
337
343
|
}
|
|
338
344
|
_renderHeaderAction(e) {
|
|
@@ -343,43 +349,43 @@ class Q extends P {
|
|
|
343
349
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
344
350
|
}
|
|
345
351
|
_renderContentFeature(e) {
|
|
346
|
-
const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature:
|
|
347
|
-
if (r === "list" && !
|
|
352
|
+
const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature: d, hideHeading: l } = this, { active: h, selectedFeatureItem: v, content: _ } = this.viewModel, u = this._getHeading();
|
|
353
|
+
if (r === "list" && !d)
|
|
348
354
|
return null;
|
|
349
|
-
const w =
|
|
355
|
+
const w = v ? !v.content : !_;
|
|
350
356
|
return o`<calcite-flow-item class=${I(x({
|
|
351
357
|
"content-feature": !0,
|
|
352
358
|
"flow-item-collapsed": i
|
|
353
|
-
}))} .closable=${!a} .closed=${!h} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!l && u ? y(u) : void 0} ${
|
|
359
|
+
}))} .closable=${!a} .closed=${!h} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!l && u ? y(u) : void 0} ${f(this._rootFlowItemNode)}>${!l && u ? o`<div slot=heading><div .innerHTML=${b.sanitize(u ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${I(x("container", "content-container", {
|
|
354
360
|
"content-hidden": w
|
|
355
361
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
356
362
|
}
|
|
357
363
|
_renderFeatureMenuContainer() {
|
|
358
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled:
|
|
364
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled: d, _isCollapsed: l, featureNavigationTop: h, headingLevel: v } = this, { active: _, featureItems: u, pendingPromisesCount: w } = e, $ = a ?? i.selectFeature;
|
|
359
365
|
if (s === "feature" && !n)
|
|
360
366
|
return null;
|
|
361
|
-
const
|
|
367
|
+
const M = !r;
|
|
362
368
|
return o`<calcite-flow-item class=${I(x({
|
|
363
369
|
"flow-item-collapsed": l
|
|
364
|
-
}))} .closable=${s === "list" && !t} .closed=${!
|
|
370
|
+
}))} .closable=${s === "list" && !t} .closed=${!_} .collapsed=${s === "list" && l} .collapseDirection=${h ? "down" : "up"} .collapsible=${s === "list" && d} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} .description=${this.hideFeatureMenuHeading ? void 0 : g(i.total ?? "", {
|
|
365
371
|
total: u.length
|
|
366
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${
|
|
367
|
-
|
|
368
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${
|
|
372
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${v} .loading=${e.waitingForContents} .selected=${M} @calciteFlowItemBack=${(L) => {
|
|
373
|
+
L.preventDefault(), this._handleFeatureMenuBack();
|
|
374
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${f(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${w > 0 ? o`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${M ? this._renderFeatureMenu() : null}</div><div class="feature-menu-observer" ${f(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
369
375
|
}
|
|
370
376
|
_renderFlowItem(e, t) {
|
|
371
|
-
const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this,
|
|
377
|
+
const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this, d = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = d && !s, h = e.flowType === "feature-association", v = a.returnToInitialFeature ?? "", _ = a?.selectFeature, u = this._getActionTitle(this._zoomToFeature), w = !this.hideActionBar && h && d, $ = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? o`<div class="footer" slot=footer>${this._renderPagination(() => {
|
|
372
378
|
this._aggregatedFeaturesComponent.value?.previous();
|
|
373
379
|
}, () => {
|
|
374
380
|
this._aggregatedFeaturesComponent.value?.next();
|
|
375
381
|
})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
|
|
376
|
-
return o`<calcite-flow-item .closable=${!i} .closed=${!n} class="flow-item-drill-in" .description=${y(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${r ? void 0 : y(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(
|
|
377
|
-
|
|
378
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${
|
|
382
|
+
return o`<calcite-flow-item .closable=${!i} .closed=${!n} class="flow-item-drill-in" .description=${y(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${r ? void 0 : y(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(M) => {
|
|
383
|
+
M.preventDefault(), this._handleDrillInBackClick();
|
|
384
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${b.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${b.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${v ?? ""} title=${v ?? "" ?? p}></calcite-action>${l ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${_ ?? ""} title=${_ ?? p}></calcite-action>` : null}${w ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${this._zoomToFeature.disabled} .icon=${this._zoomToFeature.icon ?? void 0} .loading=${this._zoomToFeature.active} scale=s text-enabled .text=${u} title=${u ?? p} @click=${() => j(this.viewModel, this._zoomToFeature, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div>${$}</calcite-flow-item>`;
|
|
379
385
|
}
|
|
380
386
|
_renderContentContainer() {
|
|
381
|
-
const e = this.flowItems?.toArray(), t = e.length > 0, a = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, i = a && e.length === 0, s = e.length === 0 && this._featureFlowItemSelected && !a, n = e?.map((l, h) => this._renderFlowItem(l, this._featureFlowItemSelected && h === e.length - 1)), r = this._renderBrowseAggregateContainer(!!i),
|
|
382
|
-
return o`<calcite-flow ${
|
|
387
|
+
const e = this.flowItems?.toArray(), t = e.length > 0, a = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, i = a && e.length === 0, s = e.length === 0 && this._featureFlowItemSelected && !a, n = e?.map((l, h) => this._renderFlowItem(l, this._featureFlowItemSelected && h === e.length - 1)), r = this._renderBrowseAggregateContainer(!!i), d = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(s)] : [this._renderContentFeature(s), this._renderFeatureMenuContainer()];
|
|
388
|
+
return o`<calcite-flow ${f(this._flowContainerNode)}>${d}${r}${n}</calcite-flow>`;
|
|
383
389
|
}
|
|
384
390
|
_renderBrowseAggregateContainer(e) {
|
|
385
391
|
const { hideCloseButton: t, active: a, messages: i } = this, { selectedFeature: s } = this.viewModel;
|
|
@@ -387,11 +393,11 @@ class Q extends P {
|
|
|
387
393
|
total: this._aggregatedFeatureCount
|
|
388
394
|
}) : ""} .heading=${i.aggregatedFeatures} @calciteFlowItemBack=${(r) => {
|
|
389
395
|
r.preventDefault(), this.viewModel.aggregatedFeaturesEnabled = !1;
|
|
390
|
-
}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .feature=${s ?? void 0} .flowItems=${this.flowItems} .map=${this.map ?? void 0} .messages=${i} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${
|
|
396
|
+
}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .feature=${s ?? void 0} .flowItems=${this.flowItems} .map=${this.map ?? void 0} .messages=${i} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${f(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${() => this.viewModel.aggregatedFeaturesEnabled = !1} slot=footer-start scale=s width=full>${i.back}</calcite-button></calcite-flow-item>` : null;
|
|
391
397
|
}
|
|
392
398
|
_renderActionBar() {
|
|
393
399
|
const e = this.viewModel.selectedFeatureItem?.isFeatureFromTable, t = this.viewModel.allActions.toArray(), a = e && !this.location ? t.filter((s) => s.id !== this._zoomToFeature.id) : t, i = !!a.length || this._hasActionsStartSlotContent || this._hasActionsEndSlotContent;
|
|
394
|
-
return !this._isCollapsed && !this.hideActionBar && i ? o`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${
|
|
400
|
+
return !this._isCollapsed && !this.hideActionBar && i ? o`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${f(this._actionBarMenuNode)}>${this._renderActions(a)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>` : null;
|
|
395
401
|
}
|
|
396
402
|
_renderActions(e) {
|
|
397
403
|
return e.map((t) => {
|
|
@@ -401,7 +407,7 @@ class Q extends P {
|
|
|
401
407
|
}
|
|
402
408
|
_renderContent() {
|
|
403
409
|
const { content: e, selectedFeatureItem: t } = this.viewModel;
|
|
404
|
-
return t ? o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${
|
|
410
|
+
return t ? o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${f(this._selectedFeatureComponent)}></arcgis-feature-next>` : typeof e == "string" ? T(e, o`<div .innerHTML=${b.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
405
411
|
}
|
|
406
412
|
}
|
|
407
413
|
B("arcgis-features-next", Q);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "../arcgis-spinner/index.js";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-focus-trap";
|
|
2
3
|
import "@esri/calcite-components/components/calcite-action";
|
|
3
4
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
4
5
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
@@ -7,12 +7,12 @@ import type Analysis from "@arcgis/core/analysis/Analysis.js";
|
|
|
7
7
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
8
8
|
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
9
9
|
import type Basemap from "@arcgis/core/Basemap.js";
|
|
10
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
10
11
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
11
12
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
12
13
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
13
14
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
14
15
|
import type Error from "@arcgis/core/core/Error.js";
|
|
15
|
-
import type Graphic from "@arcgis/core/Graphic.js";
|
|
16
16
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
17
17
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
18
18
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
@@ -28,7 +28,7 @@ import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, Po
|
|
|
28
28
|
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
29
29
|
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
30
30
|
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
31
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
31
|
+
import type { FetchPopupFeaturesOptions, ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
32
32
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
33
33
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
34
34
|
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
@@ -730,7 +730,14 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
730
730
|
closePopup(): Promise<void>;
|
|
731
731
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
732
732
|
destroy(): Promise<void>;
|
|
733
|
-
|
|
733
|
+
/**
|
|
734
|
+
* Use this method to query for features at a given screen location. These features come from origins (layers and sublayers) configured with a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [FeatureLayer.popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled) set. One example could be a custom side panel that displays feature-specific information based on an end user's click location. This method allows a developer to control how the input location is handled, and then subsequently, what to do with the results.
|
|
735
|
+
*
|
|
736
|
+
* @param screenPoint
|
|
737
|
+
* @param options
|
|
738
|
+
* @since 5.1
|
|
739
|
+
*/
|
|
740
|
+
fetchPopupFeatures(screenPoint: ScreenPoint, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
|
|
734
741
|
/**
|
|
735
742
|
* Sets the view to a given target.
|
|
736
743
|
*
|
|
@@ -10,14 +10,14 @@ import { s as I } from "../../chunks/esri-main.js";
|
|
|
10
10
|
import { s as E } from "../../chunks/slots.js";
|
|
11
11
|
import { C as u } from "../../chunks/resources.js";
|
|
12
12
|
import { p as L, i as k } from "../../chunks/component-utils.js";
|
|
13
|
-
import { U as M,
|
|
14
|
-
import { fetchKnowledgeGraph as
|
|
13
|
+
import { U as M, u as R, a as U } from "../../chunks/useArcgisViewReadyError.js";
|
|
14
|
+
import { fetchKnowledgeGraph as D } from "@arcgis/core/rest/knowledgeGraphService.js";
|
|
15
15
|
import x from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
|
|
16
16
|
import { t as d } from "../../chunks/async-utils.js";
|
|
17
17
|
import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
|
|
18
18
|
import { html as y } from "lit";
|
|
19
19
|
import Q from "@arcgis/core/layers/LinkChartLayer.js";
|
|
20
|
-
const
|
|
20
|
+
const P = f(
|
|
21
21
|
b,
|
|
22
22
|
/**
|
|
23
23
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -28,10 +28,10 @@ const z = f(
|
|
|
28
28
|
* in an externalized package.
|
|
29
29
|
*/
|
|
30
30
|
{}
|
|
31
|
-
),
|
|
32
|
-
class
|
|
31
|
+
), z = f(_, {});
|
|
32
|
+
class Z extends V {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this.
|
|
34
|
+
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._activeLoadAbortController = null, this.arcgisLoadError = R(this), this.arcgisViewReadyError = U(this), this._map = P(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.slotGroupRefs = this._uiController.slotGroupRefs, 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 = {
|
|
35
35
|
components: []
|
|
36
36
|
};
|
|
37
37
|
}
|
|
@@ -129,8 +129,8 @@ class F extends V {
|
|
|
129
129
|
async closePopup() {
|
|
130
130
|
this._uiController.closePopup();
|
|
131
131
|
}
|
|
132
|
-
async
|
|
133
|
-
this.
|
|
132
|
+
async fetchPopupFeatures(i, t) {
|
|
133
|
+
return this.view.fetchPopupFeatures(i, t);
|
|
134
134
|
}
|
|
135
135
|
async destroy() {
|
|
136
136
|
await this.manager.destroy();
|
|
@@ -236,7 +236,7 @@ class F extends V {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
const s = {
|
|
239
|
-
fetchKnowledgeGraph: async (r) => await
|
|
239
|
+
fetchKnowledgeGraph: async (r) => await D(r),
|
|
240
240
|
WebLinkChart: b,
|
|
241
241
|
LinkChartLayer: Q,
|
|
242
242
|
setMap: (r, i) => {
|
|
@@ -253,8 +253,8 @@ const s = {
|
|
|
253
253
|
},
|
|
254
254
|
reCreateAccessor: A
|
|
255
255
|
};
|
|
256
|
-
C("arcgis-link-chart",
|
|
256
|
+
C("arcgis-link-chart", Z);
|
|
257
257
|
export {
|
|
258
|
-
|
|
258
|
+
Z as ArcgisLinkChart,
|
|
259
259
|
s as exportsForTests
|
|
260
260
|
};
|