Iniit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
var Bizgaze;
|
||||
(function (Bizgaze) {
|
||||
let Apps;
|
||||
(function (Apps) {
|
||||
let Transact;
|
||||
(function (Transact) {
|
||||
let Components;
|
||||
(function (Components) {
|
||||
let Inventory;
|
||||
(function (Inventory) {
|
||||
class InventoryType extends Unibase.Platform.Core.BaseComponent {
|
||||
jsFiles() {
|
||||
return [];
|
||||
}
|
||||
cssFiles() {
|
||||
return [];
|
||||
}
|
||||
html() {
|
||||
return "";
|
||||
}
|
||||
load() {
|
||||
}
|
||||
init() {
|
||||
var instance = this;
|
||||
instance.refreshInventoryTypes();
|
||||
}
|
||||
refreshInventoryTypes() {
|
||||
var instance = this;
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/inventory/itemmanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.ItemManager.Instance().refreshInventoryType().then(function (response) {
|
||||
MessageHelper.Instance().showSuccess(response.message, '');
|
||||
});
|
||||
});
|
||||
}
|
||||
static Instance() {
|
||||
if (this.instance === undefined) {
|
||||
this.instance = new InventoryType();
|
||||
}
|
||||
return this.instance;
|
||||
}
|
||||
}
|
||||
Inventory.InventoryType = InventoryType;
|
||||
})(Inventory = Components.Inventory || (Components.Inventory = {}));
|
||||
})(Components = Transact.Components || (Transact.Components = {}));
|
||||
})(Transact = Apps.Transact || (Apps.Transact = {}));
|
||||
})(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
|
||||
})(Bizgaze || (Bizgaze = {}));
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"inventorytype.js","sourceRoot":"","sources":["inventorytype.ts"],"names":[],"mappings":"AAIA,IAAU,OAAO,CA4ChB;AA5CD,WAAU,OAAO;IACb,IAAiB,IAAI,CA0CpB;IA1CD,WAAiB,IAAI;QACjB,IAAiB,QAAQ,CAwCxB;QAxCD,WAAiB,QAAQ;YACrB,IAAiB,UAAU,CAsC1B;YAtCD,WAAiB,UAAU;gBACvB,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AJ,YAAI,KAAJ,YAAI,QA0CpB;AACL,CAAC,EA5CS,OAAO,KAAP,OAAO,QA4ChB"}
|
||||
+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{jsFiles(){return[]}cssFiles(){return[]}html(){return""}load(){}init(){var n=this;n.refreshInventoryTypes()}refreshInventoryTypes(){var t=this;t.fileCacheHelper.loadJsFile("apps/transact/managers/inventory/itemmanager.js",function(){n.Apps.Transact.Managers.ItemManager.Instance().refreshInventoryType().then(function(n){MessageHelper.Instance().showSuccess(n.message,"")})})}static Instance(){return this.instance===undefined&&(this.instance=new i),this.instance}}t.InventoryType=i})(i=t.Inventory||(t.Inventory={}))})(i=t.Components||(t.Components={}))})(i=t.Transact||(t.Transact={}))})(t=n.Apps||(n.Apps={}))})(Bizgaze||(Bizgaze={}));
|
||||
Reference in New Issue
Block a user