TextContent.js 813 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 e}from"../../core/accessorSupport/decorators/property.js";import"../../core/arrayUtils.js";import"../../core/accessorSupport/ensureType.js";import{subclass as r}from"../../core/accessorSupport/decorators/subclass.js";import o from"./Content.js";var s;let p=s=class extends o{constructor(t){super(t),this.text=null,this.type="text"}clone(){return new s({text:this.text})}};t([e({type:String,json:{write:!0}})],p.prototype,"text",void 0),t([e({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=s=t([r("esri.popup.content.TextContent")],p);const c=p;export{c as default};