@pmcretail/mapper-library 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/pmcretail-mapper-library.umd.js +164 -92
- package/bundles/pmcretail-mapper-library.umd.js.map +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js.map +1 -1
- package/esm2015/lib/RJ-mapper.class.js +101 -85
- package/esm2015/lib/mapper-library.model.js +3 -1
- package/esm5/lib/RJ-mapper.class.js +163 -93
- package/esm5/lib/mapper-library.model.js +3 -1
- package/fesm2015/pmcretail-mapper-library.js +102 -84
- package/fesm2015/pmcretail-mapper-library.js.map +1 -1
- package/fesm5/pmcretail-mapper-library.js +164 -92
- package/fesm5/pmcretail-mapper-library.js.map +1 -1
- package/lib/RJ-mapper.class.d.ts +4 -2
- package/lib/mapper-library.model.d.ts +1 -0
- package/package.json +1 -1
- package/pmcretail-mapper-library.metadata.json +1 -1
package/lib/RJ-mapper.class.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare class RJMapperBuilderClass {
|
|
|
23
23
|
private branchId;
|
|
24
24
|
private createdAt;
|
|
25
25
|
private updatedAt;
|
|
26
|
+
private salesPersonName;
|
|
26
27
|
private rjObject;
|
|
27
28
|
constructor(transactionDoc?: TransactionDocument);
|
|
28
29
|
getPosbasketInfo(): this;
|
|
@@ -38,8 +39,10 @@ export declare class RJMapperBuilderClass {
|
|
|
38
39
|
initilizeItemCount(): void;
|
|
39
40
|
build(): any;
|
|
40
41
|
getDescription(element: any): any;
|
|
42
|
+
getMMGROUPID(attributes: any): any;
|
|
41
43
|
setDeviceInfo(id: any): this;
|
|
42
44
|
removeDecimal(value: number): number;
|
|
45
|
+
addDecimal(value: number): number;
|
|
43
46
|
setTransactionNumber(value: any): this;
|
|
44
47
|
setManifestVersion(value: any): this;
|
|
45
48
|
setDatabaseSchemaVersion(value: any): this;
|
|
@@ -57,6 +60,7 @@ export declare class RJMapperBuilderClass {
|
|
|
57
60
|
setBasketCountryID(value: any): this;
|
|
58
61
|
setBasketCurrencyID(value: any): this;
|
|
59
62
|
setBranchID(value: any): this;
|
|
63
|
+
setSalesPersonName(value: any): this;
|
|
60
64
|
generateId(date: any): string;
|
|
61
65
|
generateTimezoneoffset(date: any): number;
|
|
62
66
|
generateKeyword(): string;
|
|
@@ -69,8 +73,6 @@ export declare class RJMapperBuilderClass {
|
|
|
69
73
|
getOriginalTax(element: TProduct, VAT: any): number;
|
|
70
74
|
convertToString(value: any): any;
|
|
71
75
|
generateDynamicStockLookUp(): string;
|
|
72
|
-
getAttributes(): any;
|
|
73
|
-
getCaregories(element: any): string;
|
|
74
76
|
getDate(date: string): string;
|
|
75
77
|
getTransactionPromotion(transactionPromotion: any): void;
|
|
76
78
|
getQuantity(element: any): any;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"MapperLibraryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-mapper-library","template":"\n <p>\n mapper-library works!\n </p>\n ","styles":[]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"MapperLibraryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"MapperLibraryComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"MapperLibraryComponent"}]}]}],"members":{}},"RJMapperBuilderClass":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"getPosbasketInfo":[{"__symbolic":"method"}],"getheaderInfo":[{"__symbolic":"method"}],"rjMapper":[{"__symbolic":"method"}],"getBasketDiscount":[{"__symbolic":"method"}],"getModifierItem":[{"__symbolic":"method"}],"getTrailerInfo":[{"__symbolic":"method"}],"getTenderInfo":[{"__symbolic":"method"}],"getNumber":[{"__symbolic":"method"}],"setLineNumberForProducts":[{"__symbolic":"method"}],"generateLineNumber":[{"__symbolic":"method"}],"initilizeItemCount":[{"__symbolic":"method"}],"build":[{"__symbolic":"method"}],"getDescription":[{"__symbolic":"method"}],"setDeviceInfo":[{"__symbolic":"method"}],"removeDecimal":[{"__symbolic":"method"}],"setTransactionNumber":[{"__symbolic":"method"}],"setManifestVersion":[{"__symbolic":"method"}],"setDatabaseSchemaVersion":[{"__symbolic":"method"}],"setBasketType":[{"__symbolic":"method"}],"setTradingRegionID":[{"__symbolic":"method"}],"setCompanyID":[{"__symbolic":"method"}],"setTaxMethodID":[{"__symbolic":"method"}],"setMajorVersion":[{"__symbolic":"method"}],"setMinorVersion":[{"__symbolic":"method"}],"setXMLSchemaVersion":[{"__symbolic":"method"}],"setExternalState":[{"__symbolic":"method"}],"setCashierID":[{"__symbolic":"method"}],"setTerminalNumber":[{"__symbolic":"method"}],"setBasketLanguageID":[{"__symbolic":"method"}],"setBasketCountryID":[{"__symbolic":"method"}],"setBasketCurrencyID":[{"__symbolic":"method"}],"setBranchID":[{"__symbolic":"method"}],"
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"MapperLibraryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-mapper-library","template":"\n <p>\n mapper-library works!\n </p>\n ","styles":[]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"MapperLibraryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"MapperLibraryComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"MapperLibraryComponent"}]}]}],"members":{}},"RJMapperBuilderClass":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"getPosbasketInfo":[{"__symbolic":"method"}],"getheaderInfo":[{"__symbolic":"method"}],"rjMapper":[{"__symbolic":"method"}],"getBasketDiscount":[{"__symbolic":"method"}],"getModifierItem":[{"__symbolic":"method"}],"getTrailerInfo":[{"__symbolic":"method"}],"getTenderInfo":[{"__symbolic":"method"}],"getNumber":[{"__symbolic":"method"}],"setLineNumberForProducts":[{"__symbolic":"method"}],"generateLineNumber":[{"__symbolic":"method"}],"initilizeItemCount":[{"__symbolic":"method"}],"build":[{"__symbolic":"method"}],"getDescription":[{"__symbolic":"method"}],"getMMGROUPID":[{"__symbolic":"method"}],"setDeviceInfo":[{"__symbolic":"method"}],"removeDecimal":[{"__symbolic":"method"}],"addDecimal":[{"__symbolic":"method"}],"setTransactionNumber":[{"__symbolic":"method"}],"setManifestVersion":[{"__symbolic":"method"}],"setDatabaseSchemaVersion":[{"__symbolic":"method"}],"setBasketType":[{"__symbolic":"method"}],"setTradingRegionID":[{"__symbolic":"method"}],"setCompanyID":[{"__symbolic":"method"}],"setTaxMethodID":[{"__symbolic":"method"}],"setMajorVersion":[{"__symbolic":"method"}],"setMinorVersion":[{"__symbolic":"method"}],"setXMLSchemaVersion":[{"__symbolic":"method"}],"setExternalState":[{"__symbolic":"method"}],"setCashierID":[{"__symbolic":"method"}],"setTerminalNumber":[{"__symbolic":"method"}],"setBasketLanguageID":[{"__symbolic":"method"}],"setBasketCountryID":[{"__symbolic":"method"}],"setBasketCurrencyID":[{"__symbolic":"method"}],"setBranchID":[{"__symbolic":"method"}],"setSalesPersonName":[{"__symbolic":"method"}],"generateId":[{"__symbolic":"method"}],"generateTimezoneoffset":[{"__symbolic":"method"}],"generateKeyword":[{"__symbolic":"method"}],"getState":[{"__symbolic":"method"}],"returnProduct":[{"__symbolic":"method"}],"addProduct":[{"__symbolic":"method"}],"getSaving":[{"__symbolic":"method"}],"getLineNumber":[{"__symbolic":"method"}],"getDiscountedValue":[{"__symbolic":"method"}],"getOriginalTax":[{"__symbolic":"method"}],"convertToString":[{"__symbolic":"method"}],"generateDynamicStockLookUp":[{"__symbolic":"method"}],"getDate":[{"__symbolic":"method"}],"getTransactionPromotion":[{"__symbolic":"method"}],"getQuantity":[{"__symbolic":"method"}]}},"WebReturnMapperBuilderClass":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"WebReturnMapper":[{"__symbolic":"method"}],"deviceId":[{"__symbolic":"method"}],"terminalId":[{"__symbolic":"method"}],"orgCode":[{"__symbolic":"method"}],"storeId":[{"__symbolic":"method"}],"storeNodeId":[{"__symbolic":"method"}],"storeNodeStructure":[{"__symbolic":"method"}],"docId":[{"__symbolic":"method"}],"updateUserID":[{"__symbolic":"method"}],"updateUserName":[{"__symbolic":"method"}],"build":[{"__symbolic":"method"}],"getText":[{"__symbolic":"method"}],"getUTCDateTime":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"interface"}},"origins":{"MapperLibraryComponent":"./lib/mapper-library.component","MapperLibraryModule":"./lib/mapper-library.module","RJMapperBuilderClass":"./lib/RJ-mapper.class","WebReturnMapperBuilderClass":"./lib/WebReturn-mapper.class","ɵa":"./lib/mapper-library.model"},"importAs":"@pmcretail/mapper-library"}
|