/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { EventElement } from "../elements/index.js";
import { Model } from "./Model.js";
import { ValueModel } from "./ValueModel.js";
class EventModel extends ValueModel {
  tag = EventElement.Tag;
  constructor(definition) {
    super(definition);
  }
  get fabricSensitive() {
    return this.effectiveAccess.fabricSensitive;
  }
  get requiredFields() {
    return { ...super.requiredFields, id: this.id };
  }
  static {
    Model.types[EventElement.Tag] = this;
  }
  static Tag = EventElement.Tag;
}
export {
  EventModel
};
//# sourceMappingURL=EventModel.js.map
