/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import has from"../../../core/has.js";import{watch as r,initial as i}from"../../../core/reactiveUtils.js";import{subclass as t}from"../../../core/accessorSupport/decorators.js";import s from"./FeatureLayerView2D.js";let a=class extends s{initialize(){this.addHandles([r(()=>this.view.scale,()=>this._update(),i)],"constructor")}isUpdating(){const e=this.layer.sublayers.some(e=>null!=e.renderer),r=this._commandsQueue.updateTracking.updating,i=null!=this._updatingRequiredPromise,t=!this._workerProxy,s=this.dataUpdating,a=e&&(r||i||t||s);return has("esri-2d-log-updating")&&console.log(`Updating FLV2D: ${a}\n  -> hasRenderer ${e}\n  -> hasPendingCommand ${r}\n  -> updatingRequiredFields ${i}\n  -> updatingProxy ${t}\n  -> updatingPipeline ${s}\n`),a}};a=e([t("esri.views.2d.layers.SubtypeGroupLayerView2D")],a);const o=a;export{o as default};
