import { BlockAnnotation, BlockAnnotationTypeEnum } from './block-annotation.abstract';
/**
 * List annotation
 */
export class ListAnnotation extends BlockAnnotation {
  constructor() {
    super(...arguments);
    this.type = BlockAnnotationTypeEnum.LIST;
  }
  /**
   * Get the default standalone styles for a list block.
   *
   * @returns {AnnotationStyle} The default styles.
   */
  static getDefaultStyles() {
    return {
      paddingLeft: '8px',
      marginLeft: '16px',
    };
  }
  /**
   * @inheritDoc
   */
  renderStyle(options) {
    if (!(options === null || options === void 0 ? void 0 : options.standalone))
      return null;
    return ListAnnotation.getDefaultStyles();
  }
  /**
   * @inheritDoc
   */
  renderClass(options) {
    if (options === null || options === void 0 ? void 0 : options.standalone)
      return null;
    return 'v-rte--list';
  }
  /**
   * @inheritDoc
   */
  clone() {
    return new ListAnnotation();
  }
  /**
   * @inheritDoc
   */
  toJSON() {
    return undefined;
  }
}
