Iniit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
var Bizgaze;
|
||||
(function (Bizgaze) {
|
||||
let Apps;
|
||||
(function (Apps) {
|
||||
let CRM;
|
||||
(function (CRM) {
|
||||
let Companies;
|
||||
(function (Companies) {
|
||||
let Components;
|
||||
(function (Components) {
|
||||
class RefreshBranchTypes extends Unibase.Platform.Core.BaseComponent {
|
||||
init() {
|
||||
var instance = this;
|
||||
instance.fileCacheHelper.loadJsFile('apps/crm/companies/managers/companymanager.js', function () {
|
||||
Bizgaze.Apps.CRM.Companies.Managers.CompanyManager.Instance().refreshBranchTypes().then(function (response) {
|
||||
MessageHelper.Instance().showSuccess(response, '');
|
||||
});
|
||||
});
|
||||
}
|
||||
static Instance() {
|
||||
if (this._instance === undefined)
|
||||
this._instance = new RefreshBranchTypes();
|
||||
return this._instance;
|
||||
}
|
||||
}
|
||||
Components.RefreshBranchTypes = RefreshBranchTypes;
|
||||
})(Components = Companies.Components || (Companies.Components = {}));
|
||||
})(Companies = CRM.Companies || (CRM.Companies = {}));
|
||||
})(CRM = Apps.CRM || (Apps.CRM = {}));
|
||||
})(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
|
||||
})(Bizgaze || (Bizgaze = {}));
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"refreshbranchtypes.js","sourceRoot":"","sources":["refreshbranchtypes.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CA2BhB;AA3BD,WAAU,OAAO;IACb,IAAiB,IAAI,CAyBpB;IAzBD,WAAiB,IAAI;QACjB,IAAiB,GAAG,CAuBnB;QAvBD,WAAiB,GAAG;YAChB,IAAiB,SAAS,CAqBzB;YArBD,WAAiB,SAAS;gBACtB,IAAiB,UAAU,CAmB1B;gBAnBD,WAAiB,UAAU;oBACvB,MAAa,kBAAmB,SAAQ,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa;wBAEvE,IAAI;4BACA,IAAI,QAAQ,GAAG,IAAI,CAAC;4BACpB,QAAQ,CAAC,eAAe,CAAC,UAAU,CAAC,+CAA+C,EAAE;gCACjF,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,kBAAkB,EAAE,CAAC,IAAI,CAAC,UAAU,QAAQ;oCACtG,aAAa,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;gCACvD,CAAC,CAAC,CAAC;4BACP,CAAC,CAAC,CAAC;wBACP,CAAC;wBAGD,MAAM,CAAC,QAAQ;4BACX,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS;gCAC5B,IAAI,CAAC,SAAS,GAAG,IAAI,kBAAkB,EAAE,CAAC;4BAC9C,OAAO,IAAI,CAAC,SAAS,CAAC;wBAC1B,CAAC;qBACJ;oBAjBY,6BAAkB,qBAiB9B,CAAA;gBACL,CAAC,EAnBgB,UAAU,GAAV,oBAAU,KAAV,oBAAU,QAmB1B;YACL,CAAC,EArBgB,SAAS,GAAT,aAAS,KAAT,aAAS,QAqBzB;QACL,CAAC,EAvBgB,GAAG,GAAH,QAAG,KAAH,QAAG,QAuBnB;IACL,CAAC,EAzBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAyBpB;AACL,CAAC,EA3BS,OAAO,KAAP,OAAO,QA2BhB"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
var Bizgaze;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){let i;(function(t){class i extends Unibase.Platform.Core.BaseComponent{init(){var t=this;t.fileCacheHelper.loadJsFile("apps/crm/companies/managers/companymanager.js",function(){n.Apps.CRM.Companies.Managers.CompanyManager.Instance().refreshBranchTypes().then(function(n){MessageHelper.Instance().showSuccess(n,"")})})}static Instance(){return this._instance===undefined&&(this._instance=new i),this._instance}}t.RefreshBranchTypes=i})(i=t.Components||(t.Components={}))})(i=t.Companies||(t.Companies={}))})(i=t.CRM||(t.CRM={}))})(t=n.Apps||(n.Apps={}))})(Bizgaze||(Bizgaze={}));
|
||||
Reference in New Issue
Block a user