'use strict';

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

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

const dvnFieldDisplayCellRichContentCss = "dvn-field-display-cell-rich-content{display:block;padding:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}dvn-field-display-cell-rich-content.with-value{cursor:pointer}";

let DvnFieldDisplayCellRichContent = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    return (index.h(index.Host, { class: {
        'with-value': !!this.value,
      } }, this.value && 'Click to view'));
  }
};
DvnFieldDisplayCellRichContent.style = dvnFieldDisplayCellRichContentCss;

exports.dvn_field_display_cell_rich_content = DvnFieldDisplayCellRichContent;
