UNPKG

tplus-api

Version:

tplus api invoke

1 lines 838 B
{"version":3,"sources":["tplus-api/../src/components/UIConfirm.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,SAAS;IAE1B,MAAM,CAAC,WAAW,EAAC,CAAC,OAAO,EAAC,MAAM,EAAC,SAAS,EAAC,MAAI,GAAG,KAAG,GAAG,CAAC;IAE3D,MAAM,CAAC,YAAY,CAAC,WAAW,EAAC,CAAC,OAAO,EAAC,MAAM,EAAC,SAAS,EAAC,MAAI,GAAG,KAAG,GAAG;IAMvE,MAAM,CAAC,IAAI,CAAC,OAAO,EAAC,MAAM,EAAC,SAAS,KAAA;CAIvC","file":"UIConfirm.d.ts","sourcesContent":["export default class UIConfirm{\n\n static showConfirm:(message:string,postEvent:()=>any)=>any;\n\n static registerImpl(showConfirm:(message:string,postEvent:()=>any)=>any){\n if(typeof showConfirm === 'function'){\n UIConfirm.showConfirm = showConfirm;\n }\n }\n\n static show(message:string,postEvent){\n UIConfirm.showConfirm && UIConfirm.showConfirm(message,postEvent);\n }\n\n}\n"]}