// Compiled from: Client_Label.jqhtml
(function() {
'use strict';
const template_Client_Label = {
_jqhtml_version: '2.2.185',
name: 'Client_Label',
tag: 'span',
defaultAttributes: {"class": "Widget"},
render: function render(data, args, content, jqhtml) { let _output = []; const _cid = this._cid; const that = this;
_output.push(" ");
_output.push({tag: ["i", {"class": "bi bi-building"}, false]}); _output.push("");
_output.push(" "); if (this.data.loading) {
_output.push(" "); (() => { const result = this.args.placeholder || '------' ; 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(" "); } else if (this.data.client) {
_output.push(" "); (() => { const result = this.data.client.name ; 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(" cadfdsa ");
} else {
_output.push(" ");_output.push({tag: ["span", {"class": "text-muted"}, false]}); _output.push("Unknown Client"); _output.push("");
_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_Client_Label);
})();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNsaWVudF9sYWJlbC5qcWh0bWwiXSwic291cmNlc0NvbnRlbnQiOlsiPCEtLVxuRGlzcGxheXMgYSBjbGllbnQgbmFtZS5cbkxvYWRzIGNsaWVudCBkYXRhIHZpYSBBamF4IGFuZCBzaG93cyB0aGUgbmFtZSBvbmNlIGxvYWRlZC5cblxuJGNsaWVudF9pZCAtIENsaWVudCBJRCB0byBkaXNwbGF5XG4kcGxhY2Vob2xkZXIgLSBUZXh0IHRvIHNob3cgd2hpbGUgbG9hZGluZyAoZ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