@appscode/ui-builder
Version:
## Motivation
1 lines • 898 B
JavaScript
;var e=require("./wrapper-944ca3a6.js");require("./es.array.concat-5462e385.js");var t=require("./stickyContent-fa0d230c.js"),r={props:{contextObject:{type:Object,default:function(){return{}}}},computed:e.e({},e.m({functions:"wizard/functions"})),methods:{performFuncCall:function(r,n){var c=this;return t._(t.r.mark((function a(){var o,s,u,i,f;return t.r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,o=r.split("|"),s=o.shift(),u=e.j(o),void 0!==(i=e.h(c.functions,s))){t.next=9;break}throw new Error('function "'.concat(s,'" not declared in your functions.js file'));case 9:return t.next=11,i.apply(void 0,[e.e(e.e({},c.contextObject),{},{itemCtx:n})].concat(e.j(u)));case 11:return f=t.sent,t.abrupt("return",f);case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(0),console.log(t.t0);case 18:case"end":return t.stop()}}),a,null,[[0,15]])})))()}}};exports.f=r;