/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as e}from"tslib";import s from"../../core/Collection.js";import{createAbortError as i}from"../../core/promiseUtils.js";import{property as t}from"../../core/accessorSupport/decorators/property.js";import r from"./LayerView.js";class n extends r{constructor(){super(...arguments),this.layer=null}get interactive(){return this.analysisView?.interactive??!1}set interactive(e){null!=this.analysisView&&(this.analysisView.interactive=e)}get results(){return this.analysisView?.results??new s}get selectedDimension(){return this.analysisView?.selectedDimension}set selectedDimension(e){null!=this.analysisView&&(this.analysisView.selectedDimension=e)}async createLengthDimensions(e){await(this.analysisView?.createLengthDimensions(e))}place(e){if(null!=this.analysisView)return this.analysisView.place(e);throw i()}}e([t()],n.prototype,"layer",void 0),e([t()],n.prototype,"interactive",null),e([t({readOnly:!0})],n.prototype,"results",null),e([t()],n.prototype,"selectedDimension",null);export{n as default};
