import { r as registerInstance, h, H as Host } from './index-ecdfb761.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}";

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

export { DvnFieldDisplayCellRichContent as dvn_field_display_cell_rich_content };
