/*
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 t from"../../../core/Collection.js";import{subclass as r}from"../../../core/accessorSupport/decorators.js";import{LayerView2DMixin as a}from"./LayerView2D.js";import{CatalogDynamicGroupLayerViewMixin as s}from"../../layers/CatalogDynamicGroupLayerView.js";import i from"../../layers/LayerView.js";let o=class extends(s(a(i))){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))}};o=e([r("esri.views.2d.layers.CatalogDynamicGroupLayerView2D")],o);const n=o;export{n as default};
