/* Compiled from: rsx/theme/components/_archived/unfinished/empty_state.jqhtml */ (function() { 'use strict'; const template_Empty_State = { _jqhtml_version: '2.2.185', name: 'Empty_State', tag: 'div', defaultAttributes: {"class": "text-center py-5"}, render: function render(data, args, content, jqhtml) { let _output = []; const _cid = this._cid; const that = this; _output.push(" ");_output.push({tag: ["div", {"class": "mb-3 text-muted", "style": "font-size: 3rem;"}, false]}); _output.push(" "); _output.push({comp: ["Icon", {"data-name": this.args.icon || 'inbox'}]}); _output.push(" "); _output.push(""); _output.push({tag: ["h5", {"class": "text-muted"}, false]}); (() => { const result = this.args.title || 'No items found' ; if (Array.isArray(result)) { if (result.length === 2 && Array.isArray(result[0])) { _output.push(...result[0]); } else { _output.push(...result); } } else { _output.push(jqhtml.escape_html(result)); } })(); _output.push(""); _output.push(" ");_output.push({tag: ["p", {"class": "text-muted"}, false]}); (() => { const result = this.args.message || 'Get started by creating a new item.' ; if (Array.isArray(result)) { if (result.length === 2 && Array.isArray(result[0])) { _output.push(...result[0]); } else { _output.push(...result); } } else { _output.push(jqhtml.escape_html(result)); } })(); _output.push("

"); _output.push(" "); if (this.args.action_label) { _output.push(" "); _output.push({comp: ["Button_Primary", {}, function(Button_Primary) { let _output = []; (() => { const result = this.args.action_label ; if (Array.isArray(result)) { if (result.length === 2 && Array.isArray(result[0])) { _output.push(...result[0]); } else { _output.push(...result); } } else { _output.push(jqhtml.escape_html(result)); } })(); return [_output, this]; }.bind(this)]}); _output.push(" "); } _output.push(" "); return [_output, this]; }, dependencies: [] }; // Self-register with jqhtml runtime // Must use window.jqhtml since we're in bundle scope if (!window.jqhtml) { throw new Error('FATAL: window.jqhtml is not defined. The jqhtml runtime must be loaded before registering templates.'); } // Auto-register following standard jqhtml pattern window.jqhtml.register_template(template_Empty_State); })(); //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVtcHR5X3N0YXRlLmpxaHRtbCJdLCJzb3VyY2VzQ29udGVudCI6WyI8RGVmaW5lOkVtcHR5X1N0YXRlIGNsYXNzPVwidGV4dC1jZW50ZXIgcHktNVwiPlxuICA8ZGl2IGNsYXNzPVwibWItMyB0ZXh0LW11dGVkXCIgc3R5bGU9XCJmb250LXNpemU6IDNyZW07XCI+XG4gICAgPEljb24gJG5hbWU9KHRoaXMuYXJncy5pY29uIHx8ICdpbmJveCcpIC8+XG4gIDwvZGl2PlxuICA8aDUgY2xhc3M9XCJ0ZXh0LW11dGVkXCI+PCU9IHRoaXMuYXJncy50aXRsZSB8fCAnTm8gaXRlbXMgZm91bmQnICU+PC9oNT5cbiAgPHAgY2xhc3M9XCJ0ZXh0LW11dGVkXCI+PCU9IHRoaXMuYXJncy5tZXNzYWdlIHx8ICdHZXQgc3RhcnRlZCBieSBjcmVhdGluZyBhIG5ldyBpdGVtLicgJT48L3A+XG4gIDwlIGlmICh0aGlzLmFyZ3MuYWN0aW9uX2xhYmVsKSB7ICU+XG4gICAgPEJ1dHRvbl9QcmltYXJ5PjwlPSB0aGlzLmFyZ3MuYWN0aW9uX2xhYmVsICU+PC9CdXR0b25fUHJpbWFyeT5cbiAgPCUgfSAlPlxuPC9EZWZpbmU6RW1wdHlfU3RhdGU+XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBIiwibmFtZXMiOltdfQ==