import 'bulma/bulma.sass'; function styleInject(css, ref) { if ( ref === void 0 ) ref = {}; var insertAt = ref.insertAt; if (!css || typeof document === 'undefined') { return; } var head = document.head || document.getElementsByTagName('head')[0]; var style = document.createElement('style'); style.type = 'text/css'; if (insertAt === 'top') { if (head.firstChild) { head.insertBefore(style, head.firstChild); } else { head.appendChild(style); } } else { head.appendChild(style); } if (style.styleSheet) { style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } } var css_248z = ".panelRoot{background-color:#f0f0f0;display:flex;flex-direction:column;height:100%;position:relative;width:100%}"; styleInject(css_248z); var PostSet = /** @class */ (function () { function PostSet(divId, options) { // 尝试获取 DOM 元素并赋值给成员变量 var elem = document.getElementById(divId); this.divElement = elem; this.options = options; this.divElement.style.position = 'relative'; } PostSet.prototype.generate_init_panel = function () { var panelRoot = document.createElement('div'); panelRoot.className = 'panelRoot'; }; PostSet.prototype.getDivElement = function () { return this.divElement; }; PostSet.prototype.getOptions = function () { return this.options; }; PostSet.prototype.setOptions = function (options) { this.options = options; }; PostSet.prototype.setDivElement = function (divId) { var elem = document.getElementById(divId); this.divElement = elem; }; PostSet.prototype.getBaseUrl = function () { return this.options.baseurl; }; PostSet.prototype.setBaseUrl = function (baseurl) { this.options.baseurl = baseurl; }; PostSet.prototype.generate_const_baseurl = function () { this.generate_const_baseurl(this.options.baseUrl); }; PostSet.prototype.generate_const_baseurl = function (baseUrl) { }; PostSet.prototype.generate_dynamic_baseurl = function () { this.generate_dynamic_baseurl(this.options.baseUrl); }; PostSet.prototype.generate_dynamic_baseurl = function (baseUrl) { }; return PostSet; }()); var exports = { PostSet: PostSet }; export { exports as default }; //# sourceMappingURL=post.esm.js.map