@arcgis/map-components 5.2.0-next.0 → 5.2.0-next.1

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 (45) hide show
  1. package/dist/cdn/{J23UDIAN.js → 43Q3TUPX.js} +1 -1
  2. package/dist/cdn/{NLHFLEWT.js → 6NEHIRSM.js} +1 -1
  3. package/dist/cdn/72IUGDSR.js +2 -0
  4. package/dist/cdn/BDDXZ4ML.js +2 -0
  5. package/dist/cdn/{YMUQ7JSB.js → CWWTUOR7.js} +1 -1
  6. package/dist/cdn/EWYSBOXF.js +2 -0
  7. package/dist/cdn/GVOCIBLC.js +2 -0
  8. package/dist/cdn/{WTGXVWSL.js → IAPVYBIO.js} +1 -1
  9. package/dist/cdn/{IGXBF2RY.js → J6G5UUNA.js} +1 -1
  10. package/dist/cdn/{25DYY7HH.js → NEXYYXWU.js} +1 -1
  11. package/dist/cdn/{NGGYUKKX.js → PRZ7EKB7.js} +1 -1
  12. package/dist/cdn/{AKNID6WJ.js → QZPKGHKG.js} +1 -1
  13. package/dist/cdn/{OFUAKDTE.js → X4COPBRD.js} +1 -1
  14. package/dist/cdn/index.js +1 -1
  15. package/dist/chunks/esri-main.js +2 -2
  16. package/dist/chunks/slots.js +1 -1
  17. package/dist/chunks/useLayerById.js +5 -5
  18. package/dist/components/arcgis-directions/customElement.d.ts +5 -5
  19. package/dist/components/arcgis-directions/customElement.js +3 -3
  20. package/dist/components/arcgis-feature/customElement.d.ts +4 -1
  21. package/dist/components/arcgis-feature-next/customElement.d.ts +27 -65
  22. package/dist/components/arcgis-feature-table/customElement.d.ts +27 -20
  23. package/dist/components/arcgis-feature-table/customElement.js +36 -30
  24. package/dist/components/arcgis-features/customElement.d.ts +10 -11
  25. package/dist/components/arcgis-features-next/customElement.d.ts +59 -126
  26. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  27. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +12 -12
  28. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +23 -20
  29. package/dist/components/arcgis-popup/customElement.d.ts +5 -9
  30. package/dist/components/arcgis-search/customElement.d.ts +7 -0
  31. package/dist/components/arcgis-search/customElement.js +33 -33
  32. package/dist/docs/api.json +1 -1
  33. package/dist/docs/docs.json +1 -1
  34. package/dist/docs/vscode.html-custom-data.json +1 -1
  35. package/dist/docs/web-types.json +1 -1
  36. package/dist/loader.js +4 -4
  37. package/dist/types/lumina.d.ts +6 -6
  38. package/dist/types/preact.d.ts +6 -6
  39. package/dist/types/react.d.ts +6 -6
  40. package/dist/types/stencil.d.ts +6 -6
  41. package/package.json +4 -4
  42. package/dist/cdn/274IEJH2.js +0 -2
  43. package/dist/cdn/IHDWD72J.js +0 -2
  44. package/dist/cdn/M4CPJTHZ.js +0 -2
  45. package/dist/cdn/UZ3CMTNE.js +0 -2
@@ -13,12 +13,12 @@ import { u as f } from "../../chunks/useLayerById.js";
13
13
  const u = m`.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-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}:host{display:flex}.esri-directions{display:flex;flex:1 1 auto;overflow:hidden}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directions calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-information-container{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background-color:var(--calcite-color-surface-1);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:transparent;padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex;calcite-icon{color:var(--calcite-action-text-color)}}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`, v = p(c), t = "map-components:arcgis-directions";
14
14
  class _ extends l {
15
15
  constructor() {
16
- super(...arguments), this.widget = v(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.goToOverride = this.widget.goToOverride, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hidePrintButton = this.widget.visibleElements.printButton, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.layerId = f(this, (e) => {
17
- e && (e.type === "route" ? this.layer = e : g("warn", this, `${t} - layer with id ${this.layerId} is not a valid RouteLayer`));
16
+ super(...arguments), this.widget = v(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.goToOverride = this.widget.goToOverride, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hidePrintButton = this.widget.visibleElements.printButton, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.mapLayerId = f(this, (e) => {
17
+ e && (e.type === "route" ? this.layer = e : g("warn", this, `${t} - layer with id ${this.mapLayerId} is not a valid RouteLayer`));
18
18
  }), this.maxStops = this.widget.maxStops, this.searchProperties = this.widget.searchProperties, this.state = this.viewModel.state, this.unit = this.widget.unit, this.useDefaultRouteLayer = !1, this.arcgisPropertyChange = s()("lastRoute", "state"), this.arcgisReady = d();
19
19
  }
20
20
  static {
21
- this.properties = { view: 0, apiKey: 1, autoDestroyDisabled: 5, autoSolveOnEditActive: 5, goToOverride: 0, headingLevel: 9, hideLayerDetails: 5, hidePrintButton: 5, hideSaveAsButton: 5, hideSaveButton: 5, icon: 1, label: 1, lastRoute: 32, layer: 0, layerId: 1, maxStops: 9, referenceElement: 1, routeLayerItemId: 1, searchProperties: 0, state: 32, unit: 1, useDefaultRouteLayer: 5 };
21
+ this.properties = { view: 0, apiKey: 1, autoDestroyDisabled: 5, autoSolveOnEditActive: 5, goToOverride: 0, headingLevel: 9, hideLayerDetails: 5, hidePrintButton: 5, hideSaveAsButton: 5, hideSaveButton: 5, icon: 1, label: 1, lastRoute: 32, layer: 0, mapLayerId: 1, maxStops: 9, referenceElement: 1, routeLayerItemId: 1, searchProperties: 0, state: 32, unit: 1, useDefaultRouteLayer: 5 };
22
22
  }
23
23
  static {
24
24
  this.styles = u;
@@ -13,13 +13,16 @@ import type { State } from "@arcgis/core/widgets/Feature/types.js";
13
13
  /**
14
14
  * The Feature component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
15
15
  * This component is useful in instances where you want to display information about a feature but without
16
- * the use of a [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/).
16
+ * the use of an [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/).
17
17
  *
18
18
  * If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), or [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
19
19
  *
20
20
  * When Arcade expressions that use `$map` or [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) are defined in any popup template content or as expression elements,
21
21
  * the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#map) and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#spatialReference) properties need to be defined in the Feature component.
22
22
  *
23
+ * > [!WARNING]
24
+ * > In version 6.0, the implementation of [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) will be updated under the hood to that of [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/), and deprecated properties on this component will be removed. We encourage using the [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/) component and providing feedback.
25
+ *
23
26
  * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
24
27
  * @see [Arcade - expression language](https://developers.arcgis.com/javascript/latest/arcade/)
25
28
  * @since 4.28
@@ -1,5 +1,4 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Feature from "@arcgis/core/popup/Feature.js";
3
2
  import type Graphic from "@arcgis/core/Graphic.js";
4
3
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
5
4
  import type Map from "@arcgis/core/Map.js";
@@ -11,17 +10,21 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
11
10
  import type { State } from "@arcgis/core/popup/types.js";
12
11
 
13
12
  /**
14
- * The Feature component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
15
- * This component is useful in instances where you want to display information about a feature but without
16
- * the use of a [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/).
13
+ * > [!WARNING]
14
+ * > The Feature (next) component is the successor to the Feature component, provided to you early for testing and feedback. In version 6.0, the implementation of [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) will be updated under the hood to that of [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/), and this component will be removed. To update at version 6.0, simply remove `-next` from the component name.
17
15
  *
18
- * If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), or [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
16
+ * The Feature (next) component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
17
+ * This component is useful in instances where you want to display information about a graphic but without
18
+ * the use of an [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/).
19
+ *
20
+ * To show a graphic's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related records](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), aggregate feature browser ([clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate) or [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate)), etc., then use the [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/) component.
19
21
  *
20
22
  * When Arcade expressions that use `$map` or [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) are defined in any popup template content or as expression elements,
21
- * the [arcgis-feature.map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#map) and [arcgis-feature.spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#spatialReference) properties need to be defined in the Feature component.
23
+ * the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#map) and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#spatialReference) properties need to be defined in the Feature (next) component.
22
24
  *
23
25
  * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
24
26
  * @see [Arcade - expression language](https://developers.arcgis.com/javascript/latest/arcade/)
27
+ * @beta
25
28
  * @since 5.1
26
29
  */
27
30
  export abstract class ArcgisFeatureNext extends LitElement {
@@ -36,28 +39,15 @@ export abstract class ArcgisFeatureNext extends LitElement {
36
39
  */
37
40
  accessor autoDestroyDisabled: boolean;
38
41
  /**
39
- * Disables chart animation within the component.
42
+ * Indicates whether to disable chart animation in the component.
40
43
  *
41
44
  * @default false
42
- * @since 5.1
43
45
  */
44
46
  accessor chartAnimationDisabled: boolean;
45
47
  /**
46
- * Enables automatic creation of a popup template for layers that have popups enabled but no
47
- * popupTemplate defined. Automatic popup templates are supported for layers that
48
- * support the `createPopupTemplate()` method. (Supported for
49
- * [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
50
- * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/),
51
- * [SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/),
52
- * [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
53
- * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer/)
54
- * [PointCloudLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/PointCloudLayer/),
55
- * [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/), and
56
- * [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer/)).
48
+ * Enables automatic creation of a popup template for layers that have popups enabled but no popupTemplate defined. Automatic popup templates are supported for layers that support the `createPopupTemplate` method.
57
49
  *
58
- * **Note:**
59
- * Starting with version 5.1, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat)
60
- * rather than `long-month-day-year` in the default [popup](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) created by setting the `defaultPopupTemplateEnabled` property to `true`.
50
+ * **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat) rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) created by setting the `defaultPopupTemplateEnabled` property to `true`.
61
51
  * For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
62
52
  *
63
53
  * @default false
@@ -94,90 +84,71 @@ export abstract class ArcgisFeatureNext extends LitElement {
94
84
  */
95
85
  accessor graphic: Graphic | null | undefined;
96
86
  /**
97
- * The title for the feature. This can be disabled by setting the [arcgis-feature.hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading) property to `true`.
87
+ * The title for the feature. This can be disabled by setting the [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#hideHeading) property to `true`.
98
88
  *
99
89
  * @default null
100
- * @since 5.1
101
- * @see [arcgis-feature.headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#headingLevel)
102
- * @see [arcgis-feature.hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading)
90
+ * @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#headingLevel)
91
+ * @see [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#hideHeading)
103
92
  */
104
93
  get heading(): string;
105
94
  /**
106
- * Indicates the heading level to use for the [arcgis-feature.heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading) of the component.
107
- * By default, the title is rendered
108
- * as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the component's placement
109
- * in your app, you may need to adjust this heading for proper semantics. This is
110
- * important for meeting accessibility standards.
95
+ * Indicates the heading level to use for the headings in the component.
111
96
  *
112
97
  * @default 2
113
- * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
114
- * @example
115
- * ```
116
- * // feature title will render as an <h3>
117
- * feature.headingLevel = 3;
118
- * ```
119
98
  */
120
99
  accessor headingLevel: HeadingLevel;
121
100
  /**
122
- * This property provides the ability to hide or show [attachments content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) within the component.
101
+ * Indicates whether to hide [attachments content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) within the component.
123
102
  *
124
103
  * @default false
125
- * @since 5.1
126
104
  */
127
105
  accessor hideAttachmentsContent: boolean;
128
106
  /**
129
- * This property provides the ability to hide or show content within the component.
107
+ * Indicates whether to hide the component's content.
130
108
  *
131
109
  * @default false
132
- * @since 5.1
133
110
  */
134
111
  accessor hideContent: boolean;
135
112
  /**
136
- * This property provides the ability to hide or show [custom content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) within the component.
113
+ * Indicates whether to hide [custom content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) within the component.
137
114
  *
138
115
  * @default false
139
- * @since 5.1
140
116
  */
141
117
  accessor hideCustomContent: boolean;
142
118
  /**
143
- * This property provides the ability to hide or show [expression content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) within the component.
119
+ * Indicates whether to hide [expression content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) within the component.
144
120
  *
145
121
  * @default false
146
- * @since 5.1
147
122
  */
148
123
  accessor hideExpressionContent: boolean;
149
124
  /**
150
- * This property provides the ability to hide or show [fields content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) within the component.
125
+ * Indicates whether to hide [fields content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) within the component.
151
126
  *
152
127
  * @default false
153
- * @since 5.1
154
128
  */
155
129
  accessor hideFieldsContent: boolean;
156
130
  /**
157
- * This property provides the ability to hide or show the component's [arcgis-feature.heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading).
131
+ * Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#heading).
158
132
  *
159
133
  * @default false
160
- * @since 5.1
161
134
  */
162
135
  accessor hideHeading: boolean;
163
136
  /**
164
- * This property provides the ability to hide or show the last edited info within the component.
137
+ * Indicates whether to hide the last edited info in the component.
165
138
  *
166
139
  * @default false
167
140
  */
168
141
  accessor hideLastEditedInfo: boolean;
169
142
  /**
170
- * This property provides the ability to hide or show [media content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) within the component.
143
+ * Indicates whether to hide [media content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) within the component.
171
144
  *
172
145
  * @default false
173
- * @since 5.1
174
146
  */
175
147
  accessor hideMediaContent: boolean;
176
148
  /**
177
- * This property provides the ability to hide or show [text content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) within the component.
149
+ * Indicates whether to hide [text content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) within the component.
178
150
  *
179
151
  * @default false
180
- * @since 5.1
181
152
  */
182
153
  accessor hideTextContent: boolean;
183
154
  /**
@@ -211,13 +182,13 @@ export abstract class ArcgisFeatureNext extends LitElement {
211
182
  */
212
183
  accessor location: Point | null | undefined;
213
184
  /**
214
- * A map is required when the input [arcgis-feature.graphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
185
+ * A map is required when the input [graphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
215
186
  *
216
187
  * @default null
217
188
  * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
218
189
  * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
219
190
  * @example
220
- * ```
191
+ * ```js
221
192
  * // The building footprints represent the buildings that intersect a clicked parcel
222
193
  * let buildingFootprints = Intersects($feature, FeatureSetByName($map, "Building Footprints"));
223
194
  * ```
@@ -227,8 +198,6 @@ export abstract class ArcgisFeatureNext extends LitElement {
227
198
  * Replace localized message strings with your own strings.
228
199
  *
229
200
  * _**Note**: Individual message keys may change between releases._
230
- *
231
- * @since 5.1
232
201
  */
233
202
  accessor messageOverrides: {
234
203
  componentLabel?: string | undefined;
@@ -357,14 +326,12 @@ export abstract class ArcgisFeatureNext extends LitElement {
357
326
  * This property provides the ability to hide or show [relationship content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) within the component.
358
327
  *
359
328
  * @default false
360
- * @since 5.1
361
329
  */
362
330
  accessor showRelationshipContent: boolean;
363
331
  /**
364
332
  * This property provides the ability to hide or show [utility network content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) within the component.
365
333
  *
366
334
  * @default false
367
- * @since 5.1
368
335
  */
369
336
  accessor showUtilityNetworkContent: boolean;
370
337
  /**
@@ -380,7 +347,6 @@ export abstract class ArcgisFeatureNext extends LitElement {
380
347
  * The current state of the component.
381
348
  *
382
349
  * @default "disabled"
383
- * @since 5.1
384
350
  */
385
351
  get state(): State;
386
352
  /**
@@ -392,8 +358,6 @@ export abstract class ArcgisFeatureNext extends LitElement {
392
358
  * - `system`: Dates and times will be displayed in the timezone of the device or browser.
393
359
  * - `unknown`: Dates and time are not adjusted for any timezone.
394
360
  * - Specified IANA timezone: Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
395
- *
396
- * @since 5.1
397
361
  */
398
362
  accessor timeZone: string;
399
363
  /**
@@ -401,8 +365,6 @@ export abstract class ArcgisFeatureNext extends LitElement {
401
365
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-feature-next component will be associated with a map or scene component rather than using the `view` property.
402
366
  */
403
367
  accessor view: MapViewOrSceneView | null | undefined;
404
- /** @since 5.1 */
405
- accessor viewModel: Feature;
406
368
  /** Permanently destroy the component. */
407
369
  destroy(): Promise<void>;
408
370
  /**
@@ -578,37 +578,23 @@ export abstract class ArcgisFeatureTable extends LitElement {
578
578
  * > For an [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer/) to work with FeatureTable, it must have a mosaic dataset.
579
579
  *
580
580
  * > [!WARNING]
581
- * > Use `layer`, `layerUrl`, `layerId`, and `layerItemId` independently; only one should be set at a time.
581
+ * > Use `layer`, `layerUrl`, `mapLayerId`, and `layerItemId` independently; only one should be set at a time.
582
582
  *
583
583
  * @see [pageSize](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/#pageSize)
584
584
  */
585
585
  accessor layer: FeatureTableSupportedLayer | null | undefined;
586
586
  /**
587
- * The layer ID of a layer in the associated map.
588
- * When set, the component will attempt to find and use the layer with the provided ID from the map.
589
- *
590
- * > [!WARNING]
591
- * > Use `layer`, `layerUrl`, `layerId`, and `layerItemId` independently; only one should be set at a time.
587
+ * The layer ID of a layer in the service.
588
+ * Use with `layerUrl` when the service contains multiple layers and you want to specify which layer to use.
592
589
  *
593
590
  * @since 5.1
594
- * @example
595
- * ```html
596
- * <arcgis-map id="my-map" item-id="56cb159275394410a2a928be9c6f5c2a"></arcgis-map>
597
- * <!-- configure the feature table to use a layer from the map by setting the layerId property -->
598
- * <arcgis-feature-table
599
- * layer-id="1841c01f604-layer-5"
600
- * reference-element="my-map"
601
- * sync-view-selection
602
- * filter-by-view-extent
603
- * ></arcgis-feature-table>
604
- * ```
605
591
  */
606
- accessor layerId: string | undefined;
592
+ accessor layerId: number | undefined;
607
593
  /**
608
594
  * The portal item ID of a layer.
609
595
  *
610
596
  * > [!WARNING]
611
- * > Use `layer`, `layerUrl`, `layerId`, and `layerItemId` independently; only one should be set at a time.
597
+ * > Use `layer`, `layerUrl`, `mapLayerId`, and `layerItemId` independently; only one should be set at a time.
612
598
  */
613
599
  accessor layerItemId: string | undefined;
614
600
  /**
@@ -622,7 +608,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
622
608
  * The URL to a layer's REST endpoint.
623
609
  *
624
610
  * > [!WARNING]
625
- * > Use `layer`, `layerUrl`, `layerId`, and `layerItemId` independently; only one should be set at a time.
611
+ * > Use `layer`, `layerUrl`, `mapLayerId`, and `layerItemId` independently; only one should be set at a time.
626
612
  */
627
613
  accessor layerUrl: string | undefined;
628
614
  /**
@@ -632,6 +618,27 @@ export abstract class ArcgisFeatureTable extends LitElement {
632
618
  * @see [Sample - FeatureTable with row highlighting](https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-row-highlights/)
633
619
  */
634
620
  get layerView(): LayerView | null | undefined;
621
+ /**
622
+ * The layer ID of a layer in the associated map.
623
+ * When set, the component will attempt to find and use the layer with the provided ID from the map.
624
+ *
625
+ * > [!WARNING]
626
+ * > Use `layer`, `layerUrl`, `mapLayerId`, and `layerItemId` independently; only one should be set at a time.
627
+ *
628
+ * @since 5.1
629
+ * @example
630
+ * ```html
631
+ * <arcgis-map id="my-map" item-id="56cb159275394410a2a928be9c6f5c2a"></arcgis-map>
632
+ * <!-- configure the feature table to use a layer from the map by setting the mapLayerId property -->
633
+ * <arcgis-feature-table
634
+ * map-layer-id="1841c01f604-layer-5"
635
+ * reference-element="my-map"
636
+ * sync-view-selection
637
+ * filter-by-view-extent
638
+ * ></arcgis-feature-table>
639
+ * ```
640
+ */
641
+ accessor mapLayerId: string | undefined;
635
642
  /**
636
643
  * This property is applicable when working with layers that contain a large number of features, as it provides the ability to limit the displayed total feature count. If [paginationEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/#paginationEnabled) is `true`, and `maxSize` is greater than the current value of [pageSize](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/#pageSize), multiple pages usually display. If `maxSize` is less than [pageSize](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/#pageSize), a single page shows the total number of features limited to `maxSize`.
637
644
  *