'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-1141a245.js');

const DvnFieldDisplayCellRawData = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    let value = this.value || '-';
    let content = JSON.stringify(value, null, 2);
    if (this.field.trimStringQuotes && content.startsWith('"')) {
      content = content.replace(/"/g, '');
    }
    return (index.h(index.Host, { class: "d-block" }, index.h("dvn-highlighted-code", { leaned: true, condensed: true, textToCopy: content }, content)));
  }
};

exports.dvn_field_display_cell_raw_data = DvnFieldDisplayCellRawData;
