@arcgis/map-components 5.2.0-next.11 → 5.2.0-next.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/cdn/4BGPI3L3.js +2 -0
  2. package/dist/cdn/{GTOGU3CL.js → 5D3ZCD2V.js} +1 -1
  3. package/dist/cdn/{HNGHLDNZ.js → 5Z6MDFHN.js} +1 -1
  4. package/dist/cdn/64S26ZIP.js +2 -0
  5. package/dist/cdn/IJZYN6XT.js +2 -0
  6. package/dist/cdn/{3QWDXECJ.js → K6O7QOW4.js} +1 -1
  7. package/dist/cdn/MCIDCKIS.js +2 -0
  8. package/dist/cdn/O3S3JGUF.js +2 -0
  9. package/dist/cdn/QQPVIXFY.js +2 -0
  10. package/dist/cdn/R66ZOECE.js +2 -0
  11. package/dist/cdn/TPZUKUI7.js +2 -0
  12. package/dist/cdn/UCPXN4Y5.js +2 -0
  13. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  14. package/dist/cdn/index.js +1 -1
  15. package/dist/components/arcgis-daylight/customElement.js +32 -23
  16. package/dist/components/arcgis-features/customElement.d.ts +15 -0
  17. package/dist/components/arcgis-features/customElement.js +33 -33
  18. package/dist/components/arcgis-features-next/customElement.d.ts +14 -0
  19. package/dist/components/arcgis-features-next/customElement.js +15 -12
  20. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  21. package/dist/components/arcgis-layer-list-next/customElement.d.ts +2 -15
  22. package/dist/components/arcgis-layer-list-next/customElement.js +97 -77
  23. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +71 -72
  24. package/dist/components/arcgis-layer-list-next/types.d.ts +18 -0
  25. package/dist/components/arcgis-map/customElement.d.ts +126 -105
  26. package/dist/components/arcgis-multi-feature-form/customElement.js +14 -14
  27. package/dist/components/arcgis-print/customElement.d.ts +3 -0
  28. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +74 -0
  29. package/dist/components/arcgis-print-datum-transformation-input/index.js +3 -0
  30. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +14 -11
  31. package/dist/components/arcgis-print-layout-advanced-options/index.js +1 -0
  32. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  33. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -5
  34. package/dist/components/arcgis-slider-scale-range/customElement.js +69 -56
  35. package/dist/docs/api.json +1 -1
  36. package/dist/docs/docs.json +1 -1
  37. package/dist/docs/vscode.html-custom-data.json +1 -1
  38. package/dist/docs/web-types.json +1 -1
  39. package/dist/loader.js +3 -2
  40. package/dist/types/lumina.d.ts +2 -2
  41. package/dist/types/preact.d.ts +2 -2
  42. package/dist/types/react.d.ts +2 -2
  43. package/dist/types/stencil.d.ts +2 -2
  44. package/package.json +4 -4
  45. package/dist/cdn/AGOMMJPB.js +0 -2
  46. package/dist/cdn/CTHUSEAE.js +0 -2
  47. package/dist/cdn/DNZU7DTQ.js +0 -2
  48. package/dist/cdn/EVMYQ43N.js +0 -2
  49. package/dist/cdn/IKSY73X2.js +0 -2
  50. package/dist/cdn/JE5LMTIW.js +0 -2
  51. package/dist/cdn/OUYGGJ47.js +0 -2
  52. package/dist/cdn/VNP4GF74.js +0 -2
@@ -1,38 +1,38 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as A } from "../../chunks/runtime.js";
3
- import { css as z, html as d } from "lit";
2
+ import { c as P } from "../../chunks/runtime.js";
3
+ import { css as F, html as d } from "lit";
4
4
  import { keyed as w } from "lit/directives/keyed.js";
5
- import D from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
6
- import { classes as P } from "@arcgis/toolkit/dom";
7
- import { generateGuid as O } from "@arcgis/toolkit/string";
5
+ import { repeat as D } from "lit/directives/repeat.js";
6
+ import O from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
7
+ import { classes as R } from "@arcgis/toolkit/dom";
8
+ import { generateGuid as B } from "@arcgis/toolkit/string";
8
9
  import { createRef as y, ref as x } from "lit/directives/ref.js";
9
- import { repeat as $ } from "lit/directives/repeat.js";
10
- import { u as R } from "../../chunks/useT9n.js";
11
- import { m as B } from "../../chunks/useViewModel.js";
12
- import { g as I } from "../../chunks/globalCss.js";
13
- import { c as f } from "../../chunks/layer-list-item-indicator.js";
14
- import { g as p, a as C, m as S, b as N, r as U, s as G, c as j, d as Y, e as H } from "../../chunks/layer-list-utils.js";
10
+ import { u as S } from "../../chunks/useT9n.js";
11
+ import { m as U } from "../../chunks/useViewModel.js";
12
+ import { g as L } from "../../chunks/globalCss.js";
13
+ import { c as u } from "../../chunks/layer-list-item-indicator.js";
14
+ import { g as p, a as C, m as N, b as G, r as j, s as Y, c as H, d as V, e as Z } from "../../chunks/layer-list-utils.js";
15
15
  import g from "@arcgis/core/core/Collection.js";
16
- import { on as E, watch as V } from "@arcgis/core/core/reactiveUtils.js";
17
- import { LitElement as Z, createEvent as q, renderElement as T, safeClassMap as L, nothing as M } from "@arcgis/lumina";
18
- import { usePropertyChange as J } from "@arcgis/lumina/controllers";
19
- import { reEmitEvent as K } from "@arcgis/lumina/controllers/accessor";
16
+ import { on as $, watch as q } from "@arcgis/core/core/reactiveUtils.js";
17
+ import { LitElement as J, createEvent as K, renderElement as E, safeClassMap as I, nothing as T } from "@arcgis/lumina";
18
+ import { usePropertyChange as Q } from "@arcgis/lumina/controllers";
19
+ import { reEmitEvent as W } from "@arcgis/lumina/controllers/accessor";
20
20
  import "@arcgis/toolkit/function";
21
- import { u as Q } from "../../chunks/useCloseEvent.js";
22
- import { ArcgisLayerListItem as W } from "./layer-list-item/customElement.js";
23
- const X = z`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{width:100%;--arcgis-internal-layer-list-item-scroller-max-height: var(--arcgis-internal-panel-height-md)}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:14px}.item__filter-container--sticky{z-index:1;position:sticky;top:0}.item__group{margin-top:var(--calcite-spacing-md)}.item__scroller{overflow-y:auto;z-index:0;position:relative}.item__scroller--enabled{max-height:var(--arcgis-internal-layer-list-item-scroller-max-height)}.item__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.item__list-item{cursor:pointer;min-height:var(--calcite-spacing-xxxl)}.item__list-item[class^=esri-icon-],.item__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.item__list-item--disabled{cursor:default}.item__list-item-icon{justify-content:center;align-items:center;min-width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);display:flex}.item__list-item-icon span{line-height:0}.arcgis-thumbnail-preview{background-position:50%;width:22px;height:22px}.item__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.content-bottom{margin:var(--calcite-spacing-md) 15px}.content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md)}.message{margin:var(--calcite-spacing-md) 15px}.visible-icon{visibility:hidden}.item:hover>.visible-toggle>.visible-icon,.item:focus>.visible-toggle>.visible-icon,.item:focus-within>.visible-toggle>.visible-icon{visibility:visible}`, ee = z`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}.status-indicator{margin-inline:0}`, F = "nested", te = B(D);
24
- class ie extends Z {
21
+ import { u as X } from "../../chunks/useCloseEvent.js";
22
+ import { ArcgisLayerListItem as ee } from "./layer-list-item/customElement.js";
23
+ const te = 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}:host{width:100%;--arcgis-internal-layer-list-item-scroller-max-height: var(--arcgis-internal-panel-height-md)}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:14px}.item__filter-container--sticky{z-index:1;position:sticky;top:0}.item__group{margin-top:var(--calcite-spacing-md)}.item__scroller{overflow-y:auto;z-index:0;position:relative}.item__scroller--enabled{max-height:var(--arcgis-internal-layer-list-item-scroller-max-height)}.item__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.item__list-item{cursor:pointer;min-height:var(--calcite-spacing-xxxl)}.item__list-item[class^=esri-icon-],.item__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.item__list-item--disabled{cursor:default}.item__list-item-icon{justify-content:center;align-items:center;min-width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);display:flex}.item__list-item-icon span{line-height:0}.arcgis-thumbnail-preview{background-position:50%;width:22px;height:22px}.item__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.content-bottom{margin:var(--calcite-spacing-md) 15px}.content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md)}.message{margin:var(--calcite-spacing-md) 15px}.visible-icon{visibility:hidden}.item:hover>.visible-toggle>.visible-icon,.item:focus>.visible-toggle>.visible-icon,.item:focus-within>.visible-toggle>.visible-icon{visibility:visible}`, ie = F`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}.status-indicator{margin-inline:0}`, M = "nested", re = U(O);
24
+ class oe extends J {
25
25
  constructor() {
26
- super(...arguments), this._lastDragDetail = null, this._rootListRef = y(), this._layerFlowItemRef = y(), this._panelFlowItemRef = y(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${O()}`, this._openedLayersController = null, this.messages = R(), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, r) => {
27
- const o = r === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, a = p(e, this.operationalItems);
26
+ super(...arguments), this._lastDragDetail = null, this._rootListRef = y(), this._layerFlowItemRef = y(), this._panelFlowItemRef = y(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${B()}`, this._openedLayersController = null, this.messages = S(), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, o) => {
27
+ const r = o === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, a = p(e, this.operationalItems);
28
28
  if (!a?.sortable)
29
29
  return !1;
30
- const s = p(t, this.operationalItems), n = C(t), l = p(i, this.operationalItems), h = C(i), _ = !!n && !!h && n === h, u = {
30
+ const s = this._resolveListContainer(t), n = this._resolveListContainer(i), l = this._getContainerItem(s), h = C(s), m = this._getContainerItem(n), f = C(n), v = !!h && !!f && h === f, _ = {
31
31
  selected: a,
32
- from: s,
33
- to: l
34
- }, v = t.group, m = i.group, b = s?.layer?.type ?? "", c = l?.layer?.type ?? "", k = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
35
- return v && m && typeof o == "function" ? o(u) : _ && !k.has(b) && !k.has(c) && a?.layer?.type !== "sublayer";
32
+ from: l,
33
+ to: m
34
+ }, b = s?.group, c = n?.group, z = l?.layer?.type ?? "", A = m?.layer?.type ?? "", k = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
35
+ return b && c && typeof r == "function" ? r(_) : v && !k.has(z) && !k.has(A) && a?.layer?.type !== "sublayer";
36
36
  }, this._onCatalogOpen = (e) => {
37
37
  this.openedLayers.push(e.layer?.parent);
38
38
  }, this._onTablesOpen = (e) => {
@@ -44,21 +44,21 @@ class ie extends Z {
44
44
  }, this._setActiveItem = (e) => {
45
45
  if (this.visibilityAppearance !== "default")
46
46
  return;
47
- const t = Array.from(e.composedPath()).find((r) => r.classList?.contains(f.item)), i = p(t, this.operationalItems);
47
+ const t = Array.from(e.composedPath()).find((o) => o.classList?.contains(u.item)), i = p(t, this.operationalItems);
48
48
  this._activeItem = i;
49
- }, this.viewModel = te(this), this.arcgisClose = Q(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
49
+ }, this.viewModel = re(this), this.arcgisClose = X(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
50
50
  t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
51
51
  }, this._onSelectedDragItemLayerUidChange = (e) => {
52
52
  this._selectedDragItemLayerUid = e;
53
53
  }, this._onTriggerAction = (e, t) => {
54
54
  this.triggerAction(e, t);
55
- }, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new g(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new g(), this.tileOptions = null, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.closed = !1, this.icon = "layers", this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.layerTablesAvailable = new g(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.minDragEnabledItems = S, this.minFilterItems = N, this.openedLayers = new g(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new g(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideCatalogLayerList = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = J()("state"), this.arcgisReady = q(), this.arcgisTriggerAction = K(() => this.viewModel, "trigger-action");
55
+ }, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new g(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new g(), this.tileOptions = null, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.closed = !1, this.icon = "layers", this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.layerTablesAvailable = new g(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.minDragEnabledItems = N, this.minFilterItems = G, this.openedLayers = new g(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new g(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideCatalogLayerList = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = Q()("state"), this.arcgisReady = K(), this.arcgisTriggerAction = W(() => this.viewModel, "trigger-action");
56
56
  }
57
57
  static {
58
58
  this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16, view: 0, autoDestroyDisabled: 5, closed: 5, referenceElement: 1, icon: 1, catalogLayerList: 32, catalogOptions: 0, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, knowledgeGraphOptions: 0, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, selectedItems: 0, selectionMode: 1, tableList: 32, visibilityAppearance: 1, hideCatalogLayerList: 5, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryLayerIndicators: 5, messageOverrides: 0, label: 1, state: 32 };
59
59
  }
60
60
  static {
61
- this.styles = [ee, X];
61
+ this.styles = [ie, te];
62
62
  }
63
63
  get _totalItems() {
64
64
  return this.viewModel.operationalItems.flatten((e) => e.children.filter((t) => t.layer?.type !== "catalog-dynamic-group")).length;
@@ -90,32 +90,44 @@ class ie extends Z {
90
90
  }
91
91
  loaded() {
92
92
  this.manager.onLifecycle(() => [
93
- E(() => this.openedLayers, "change", () => {
93
+ $(() => this.openedLayers, "change", () => {
94
94
  this._handleOpenedLayersChange();
95
95
  }, { initial: !0 }),
96
- E(() => this.viewModel.operationalItems, "change", () => U(this.selectedItems), { initial: !0 }),
97
- V(() => [this.filterPredicate, this._rootListRef.value], () => G(this._rootListRef.value, this.filterPredicate, this.operationalItems))
96
+ $(() => this.viewModel.operationalItems, "change", () => j(this.selectedItems), { initial: !0 }),
97
+ q(() => [this.filterPredicate, this._rootListRef.value], () => Y(this._rootListRef.value, this.filterPredicate, this.operationalItems))
98
98
  ]);
99
99
  }
100
100
  triggerAction(e, t) {
101
101
  return this.viewModel.triggerAction(e, t);
102
102
  }
103
+ _resolveListContainer(e) {
104
+ if (!e)
105
+ return null;
106
+ if (e.matches("calcite-list"))
107
+ return e;
108
+ const t = e.closest("calcite-list[data-item]");
109
+ return t || (this._rootListRef.value?.contains(e) ? this._rootListRef.value : null);
110
+ }
111
+ _getContainerItem(e) {
112
+ const t = e?.getAttribute("data-item");
113
+ return t ? this.operationalItems.find((i) => i.uid === t) ?? null : null;
114
+ }
103
115
  async _createFlowList(e, t) {
104
- const { _layerListMap: i } = this, r = i.get(e);
105
- if (r)
106
- return r;
107
- const o = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
108
- return t.aborted || i.set(e, o), o;
116
+ const { _layerListMap: i } = this, o = i.get(e);
117
+ if (o)
118
+ return o;
119
+ const r = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
120
+ return t.aborted || i.set(e, r), r;
109
121
  }
110
122
  async _handleOpenedLayersChange() {
111
123
  const { _layerListMap: e, openedLayers: t, openedLayerLists: i } = this;
112
124
  this._openedLayersController?.abort();
113
- const r = new AbortController(), { signal: o } = r;
114
- this._openedLayersController = r, e.forEach((n, l) => {
125
+ const o = new AbortController(), { signal: r } = o;
126
+ this._openedLayersController = o, e.forEach((n, l) => {
115
127
  t.includes(l) || (n?.destroy?.(), e.delete(l));
116
128
  });
117
- const a = await Promise.all(t.map((n) => this._createFlowList(n, o)));
118
- if (o.aborted)
129
+ const a = await Promise.all(t.map((n) => this._createFlowList(n, r)));
130
+ if (r.aborted)
119
131
  return;
120
132
  i.removeAll(), i.addMany(a);
121
133
  const s = i.at(-1);
@@ -125,8 +137,8 @@ class ie extends Z {
125
137
  this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
126
138
  }
127
139
  async _createCatalogLayerList(e) {
128
- const { headingLevel: t, catalogOptions: i, filterPlaceholder: r, listItemCreatedFunction: o, minFilterItems: a, selectionMode: s, visibilityAppearance: n } = this;
129
- return T(d`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder ?? r} .listItemCreatedFunction=${i?.listItemCreatedFunction ?? o} .minFilterItems=${i?.minFilterItems ?? a} .selectionMode=${i?.selectionMode ?? s} .visibilityAppearance=${i?.visibilityAppearance ?? n} .showErrors=${i?.visibleElements?.errors ?? this.showErrors} .showFilter=${i?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(l) => l.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`);
140
+ const { headingLevel: t, catalogOptions: i, filterPlaceholder: o, listItemCreatedFunction: r, minFilterItems: a, selectionMode: s, visibilityAppearance: n } = this;
141
+ return E(d`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder ?? o} .listItemCreatedFunction=${i?.listItemCreatedFunction ?? r} .minFilterItems=${i?.minFilterItems ?? a} .selectionMode=${i?.selectionMode ?? s} .visibilityAppearance=${i?.visibilityAppearance ?? n} .showErrors=${i?.visibleElements?.errors ?? this.showErrors} .showFilter=${i?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(l) => l.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`);
130
142
  }
131
143
  _getTableListParams(e) {
132
144
  switch (e.type) {
@@ -147,60 +159,68 @@ class ie extends Z {
147
159
  }
148
160
  }
149
161
  async _createTableList(e) {
150
- const { headingLevel: t, selectionMode: i, dragEnabled: r } = this, o = this._getTableListParams(e);
151
- return T(d`<arcgis-table-list .headingLevel=${o?.headingLevel ?? t} .selectionMode=${o?.selectionMode ?? i} .dragEnabled=${o?.dragEnabled ?? r} .collapsed=${o?.collapsed} .filterPlaceholder=${o?.filterPlaceholder} .filterText=${o?.filterText} .icon=${o?.icon ?? void 0} .label=${o?.label ?? void 0} .listItemCreatedFunction=${o?.listItemCreatedFunction} .tables=${o?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(a) => a.stopPropagation()}></arcgis-table-list>`);
162
+ const { headingLevel: t, selectionMode: i, dragEnabled: o } = this, r = this._getTableListParams(e);
163
+ return E(d`<arcgis-table-list .headingLevel=${r?.headingLevel ?? t} .selectionMode=${r?.selectionMode ?? i} .dragEnabled=${r?.dragEnabled ?? o} .collapsed=${r?.collapsed} .filterPlaceholder=${r?.filterPlaceholder} .filterText=${r?.filterText} .icon=${r?.icon ?? void 0} .label=${r?.label ?? void 0} .listItemCreatedFunction=${r?.listItemCreatedFunction} .tables=${r?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(a) => a.stopPropagation()}></arcgis-table-list>`);
152
164
  }
153
165
  _handlePanelFlowItemBack(e) {
154
166
  e.open = !1;
155
167
  }
156
- _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: i, newIndex: r }) {
157
- const o = p(i, this.operationalItems), a = p(e, this.operationalItems), s = p(t, this.operationalItems);
158
- r == null || !o || !a || !s || this.viewModel.moveListItem(o, s, a, r);
168
+ _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: i, newIndex: o }) {
169
+ const r = this._resolveListContainer(e), a = this._resolveListContainer(t), s = p(i, this.operationalItems), n = this._getContainerItem(r), l = this._getContainerItem(a);
170
+ o == null || !s || this.viewModel.moveListItem(s, l, n, o);
159
171
  }
160
172
  _onCalciteListDragEnd(e) {
161
- const { fromEl: t, dragEl: i, oldIndex: r } = e;
162
- r == null || !t || !i || t.insertBefore(i, t.children[r]);
173
+ const { fromEl: t, toEl: i, dragEl: o, oldIndex: r } = e;
174
+ if (t !== i) {
175
+ o.remove();
176
+ return;
177
+ }
178
+ r == null || !t || !o || t.insertBefore(o, t.children[r]);
163
179
  }
164
180
  _onCalciteListOrderChange(e) {
165
- const { _lastDragDetail: t } = this, { toEl: i, fromEl: r, dragEl: o, newIndex: a } = e, s = t?.newIndex === a && t?.dragEl === o && t?.toEl === i && t?.fromEl === r;
166
- if (!(!r || !i || s)) {
167
- if (this._lastDragDetail = e, this._selectedDragItemLayerUid = o.value, r === i) {
181
+ const { _lastDragDetail: t } = this, { dragEl: i, newIndex: o } = e, r = this._resolveListContainer(e.fromEl), a = this._resolveListContainer(e.toEl), s = t?.newIndex === o && t?.dragEl === i && t?.toEl === a && t?.fromEl === r;
182
+ if (!(!r || !a || s)) {
183
+ if (this._lastDragDetail = {
184
+ ...e,
185
+ fromEl: r,
186
+ toEl: a
187
+ }, this._selectedDragItemLayerUid = i.value, r === a) {
168
188
  const n = Array.from(r.children).filter((l) => l?.matches("calcite-list-item")).map((l) => l.value.layer?.uid ?? "");
169
189
  this._sortLayers(r, n);
170
190
  return;
171
191
  }
172
192
  this._moveLayerFromChildList({
173
- toEl: i,
193
+ toEl: a,
174
194
  fromEl: r,
175
- dragEl: o,
176
- newIndex: a
195
+ dragEl: i,
196
+ newIndex: o
177
197
  });
178
198
  }
179
199
  }
180
200
  _sortLayers(e, t) {
181
201
  if (e)
182
202
  if (e === this._rootListRef.value)
183
- j(this.el.view?.map?.layers, t);
203
+ H(this.el.view?.map?.layers, t);
184
204
  else {
185
205
  const i = p(e, this.operationalItems);
186
206
  if (!i)
187
207
  return;
188
- Y(i, t);
208
+ V(i, t);
189
209
  }
190
210
  }
191
211
  _handleCalciteListChange(e) {
192
212
  const { selectionMode: t, selectedItems: i } = this;
193
213
  if (t === "none")
194
214
  return;
195
- const o = e.target.selectedItems.map((a) => p(a, this.operationalItems)).filter(Boolean);
196
- i.removeAll(), i.addMany(o);
215
+ const r = e.target.selectedItems.map((a) => p(a, this.operationalItems)).filter(Boolean);
216
+ i.removeAll(), i.addMany(r);
197
217
  }
198
218
  render() {
199
219
  const { _visibleItems: e, state: t } = this, i = {
200
- [I.hidden]: t === "loading",
201
- [I.disabled]: t === "disabled"
220
+ [L.hidden]: t === "loading",
221
+ [L.disabled]: t === "disabled"
202
222
  };
203
- return d`<div class=${L(P(I.widget, i))}>${e?.length ? [this._renderItemTooltips(), this._renderItems()] : this._renderNoItems()}</div>`;
223
+ return d`<div class=${I(R(L.widget, i))}>${e?.length ? [this._renderItemTooltips(), this._renderItems()] : this._renderNoItems()}</div>`;
204
224
  }
205
225
  _renderItemTooltip(e) {
206
226
  const { _tooltipReferenceMap: t, messages: i } = this;
@@ -219,36 +239,36 @@ class ie extends Z {
219
239
  return d`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
220
240
  }
221
241
  _renderNoItems() {
222
- return d`<div class=${L(f.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
242
+ return d`<div class=${I(u.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
223
243
  }
224
244
  _renderLayerFlowItem(e, t) {
225
- const { messages: i, openedLayers: r } = this, o = e.title || this.messages.untitledLayer;
226
- return w(e?.uid ?? o, d`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? M} .description=${o} .heading=${i[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(a) => {
227
- a.preventDefault(), r.pop(), r.at(-1) && this._layerFlowItemRef.value?.setFocus();
245
+ const { messages: i, openedLayers: o } = this, r = e.title || this.messages.untitledLayer;
246
+ return w(e?.uid ?? r, d`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? T} .description=${r} .heading=${i[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(a) => {
247
+ a.preventDefault(), o.pop(), o.at(-1) && this._layerFlowItemRef.value?.setFocus();
228
248
  }} ${x(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
229
249
  }
230
250
  _renderPanelFlowItems() {
231
251
  const { _openedPanelItems: e, openedLayers: t } = this;
232
- return $(e.toArray(), (r) => r.uid, (r, o) => {
233
- const { panel: a, title: s } = r, n = () => this._handlePanelFlowItemBack(a);
234
- return d`<calcite-flow-item .description=${s} .heading=${a.title} .headingLevel=${this.headingLevel} .selected=${!t.length && o === e.length - 1} @calciteFlowItemBack=${(l) => {
252
+ return D(e.toArray(), (o) => o.uid, (o, r) => {
253
+ const { panel: a, title: s } = o, n = () => this._handlePanelFlowItemBack(a);
254
+ return d`<calcite-flow-item .description=${s} .heading=${a.title} .headingLevel=${this.headingLevel} .selected=${!t.length && r === e.length - 1} @calciteFlowItemBack=${(l) => {
235
255
  l.preventDefault(), n();
236
- }} ${x(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${r} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${n} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
256
+ }} ${x(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${o} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${n} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
237
257
  });
238
258
  }
239
259
  _renderItems() {
240
- const { collapsed: e, _visibleItems: t, _openedPanelItems: i, _filterEnabled: r, _rootGroupUid: o, showCloseButton: a, showCollapseButton: s, showHeading: n, _dragEnabled: l, selectionMode: h, filterText: _, openedLayers: u, filterPlaceholder: v, messages: m } = this, b = [
241
- d`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${s} .heading=${n ? m.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !i.length} @calciteFlowItemClose=${() => this.closed = !1}><calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${o ?? M} .displayMode=${F} .dragEnabled=${l} .filterEnabled=${r} .filterPlaceholder=${v} .filterProps=${H} .filterText=${r ? _ : ""} .group=${o} .label=${m.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${h} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => this.filterText = c.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${x(this._rootListRef)}>${$(t?.toArray() ?? [], (c) => c.uid, (c) => this._renderItem(c))}${t?.length && r ? d`<div class=${L(f.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list></calcite-flow-item>`,
260
+ const { collapsed: e, _visibleItems: t, _openedPanelItems: i, _filterEnabled: o, _rootGroupUid: r, showCloseButton: a, showCollapseButton: s, showHeading: n, _dragEnabled: l, selectionMode: h, filterText: m, openedLayers: f, filterPlaceholder: v, messages: _ } = this, b = [
261
+ d`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${s} .heading=${n ? _.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!f.length && !i.length} @calciteFlowItemClose=${() => this.closed = !1}><calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${r ?? T} .displayMode=${M} .dragEnabled=${l} .filterEnabled=${o} .filterPlaceholder=${v} .filterProps=${Z} .filterText=${o ? m : ""} .group=${r} .label=${_.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${h} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => this.filterText = c.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${x(this._rootListRef)}>${t?.toArray().map((c) => this._renderItem(c)) ?? []}${t?.length && o ? d`<div class=${I(u.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list></calcite-flow-item>`,
242
262
  this._renderPanelFlowItems(),
243
263
  this._renderedOpenLayerFlowItems
244
264
  ];
245
265
  return this.closed ? null : w("root-flow", d`<calcite-flow>${b}</calcite-flow>`);
246
266
  }
247
267
  _renderItem(e, t, i) {
248
- return w(e.uid, W({ activeItem: this._activeItem, canMove: this._canMove, css: f, displayMode: F, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
268
+ return w(e.uid, ee({ activeItem: this._activeItem, canMove: this._canMove, css: u, displayMode: M, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
249
269
  }
250
270
  }
251
- A("arcgis-layer-list-next", ie);
271
+ P("arcgis-layer-list-next", oe);
252
272
  export {
253
- ie as ArcgisLayerListNext
273
+ oe as ArcgisLayerListNext
254
274
  };