@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
25 lines (19 loc) • 1.05 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-cdb0df7a.js');
const preserveDataCss = ":host{display:inline;unicode-bidi:isolate;white-space-collapse:preserve-spaces}:host([hidden]){display:none !important}";
const UtrechtPreserveDataStyle0 = preserveDataCss;
const PreserveData = class {
constructor(hostRef) {
index.registerInstance(this, hostRef);
this.dateTime = undefined;
this.value = undefined;
}
render() {
const { dateTime, value } = this;
return (index.h(index.Host, { key: '0af80ca8f8d5649a10e1ad32f93e55f8b826f251', translate: "no" }, typeof dateTime !== 'undefined' ? (index.h("time", { dateTime: dateTime }, index.h("slot", null))) : typeof value !== 'undefined' ? (index.h("data", { value: value }, index.h("slot", null))) : (index.h("slot", null))));
}
};
PreserveData.style = UtrechtPreserveDataStyle0;
exports.utrecht_preserve_data = PreserveData;
//# sourceMappingURL=utrecht-preserve-data.cjs.entry.js.map