BarChartMediaInfo.js 942 B

12345
  1. /*
  2. All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  3. See https://js.arcgis.com/4.25/esri/copyright.txt for details.
  4. */
  5. import{_ as t}from"../../chunks/tslib.es6.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import"../../core/arrayUtils.js";import"../../core/accessorSupport/ensureType.js";import{subclass as e}from"../../core/accessorSupport/decorators/subclass.js";import o from"./mixins/ChartMediaInfo.js";import{chartTypeKebabDict as s}from"./support/chartMediaInfoUtils.js";var a;let p=a=class extends o{constructor(t){super(t),this.type="bar-chart"}clone(){return new a({altText:this.altText,title:this.title,caption:this.caption,value:this.value?this.value.clone():null})}};t([r({type:["bar-chart"],readOnly:!0,json:{type:["barchart"],read:!1,write:s.write}})],p.prototype,"type",void 0),p=a=t([e("esri.popup.content.BarChartMediaInfo")],p);const i=p;export{i as default};