@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.24 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{_ as o}from"../../../../chunks/tslib.es6.js";import t from"../../../../core/Accessor.js";import{property as e}from"../../../../core/accessorSupport/decorators/property.js";import{cast as s}from"../../../../core/accessorSupport/decorators/cast.js";import"../../../../core/has.js";import"../../../../core/RandomLCG.js";import{subclass as r}from"../../../../core/accessorSupport/decorators/subclass.js";var p;let c=p=class extends t{constructor(o){super(o),this.autoCloseMenu=!1,this.items=null,this.label=null,this.open=!1,this.selected=!1,this.selectionEnabled=!1,this.clickFunction=null}castItems(o){return o?o.map((o=>o instanceof p?o:new p(o))):null}};o([e()],c.prototype,"autoCloseMenu",void 0),o([e()],c.prototype,"items",void 0),o([s("items")],c.prototype,"castItems",null),o([e()],c.prototype,"label",void 0),o([e()],c.prototype,"open",void 0),o([e()],c.prototype,"selected",void 0),o([e()],c.prototype,"selectionEnabled",void 0),o([e()],c.prototype,"clickFunction",void 0),c=p=o([r("esri.widgets.FeatureTable.Grid.support.ButtonMenuItem")],c);const i=c;export{i as default};