import{__decorate as e}from"tslib";import{InvalidOperationError as r}from"../InvalidOperationError.js";import{applyJsonToSublayer as t,sublayerToJson as s}from"../json/SublayerJson.js";import{serializable as i}from"../support/Serializable.js";import{SublayerExtension as n,SublayerSchema as o}from"./_SublayerExtension.js";import{PopupTemplateFeatureSettings as a}from"./support/PopupTemplateFeatureSettings.js";const p="This schema property is read-only.";export class BuildingSublayerExtension extends n{get sublayer(){return super.sublayer}get layerExtension(){return super.layerExtension}constructor(e){super({sublayer:{},...e})}async _applySublayerProperties(e,r){return t(e,r)}_serializeSublayer(e){return s(e)}_capabilities(){return{...super._capabilities(),supportsStandardizedQueries:!0}}_createSchema(){return new u(this)}_createFeatureSettings(){return new l(this)}}let u=class extends o{get primaryKeyField(){return this._getSetting("primaryKeyField")}set primaryKeyField(e){throw new r(p)}get geometryType(){return this._getSetting("geometryType")}set geometryType(e){throw new r(p)}};u=e([i],u);export{u as BuildingSublayerSchema};let l=class extends a{};l=e([i],l);export{l as BuildingSublayerFeatureSettings};