/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import t from"../../../core/Collection.js";import{subclass as r}from"../../../core/accessorSupport/decorators.js";import{LayerView2D as a}from"./LayerView2D.js";import s from"../../layers/CatalogDynamicGroupLayerView.js";let i=class extends(a(s)){constructor(){super(...arguments),this.unsupportedItemTypes=["Scene Service"],this.layerViews=new t}attach(){this.addAttachHandles([this.layerViews.on("after-changes",()=>this._updateStageChildren()),this.enableLayerUpdates()])}detach(){this.container.removeAllChildren()}update(e){this.updateLayers()}viewChange(){}moveEnd(){this.requestUpdate()}_updateStageChildren(){this.container.removeAllChildren(),this.layerViews.forEach((e,t)=>this.container.addChildAt(e.container,t))}};i=e([r("esri.views.2d.layers.CatalogDynamicGroupLayerView2D")],i);const o=i;export{o as default};
