@pisell/lowcode-renderer 1.0.32 → 1.0.33

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.
Files changed (43) hide show
  1. package/es/ReactRenderer/index.d.ts +0 -1
  2. package/es/Render/index.d.ts +0 -1
  3. package/es/api/index.d.ts +0 -1
  4. package/es/api/report/URL.d.ts +0 -1
  5. package/es/api/report/index.d.ts +0 -1
  6. package/es/api/utils/index.d.ts +0 -1
  7. package/es/appHelper/index.d.ts +0 -1
  8. package/es/appHelper/index.js +11 -2
  9. package/es/appHelper/others.d.ts +0 -1
  10. package/es/config/index.d.ts +0 -1
  11. package/es/index.d.ts +0 -1
  12. package/lib/ReactRenderer/index.d.ts +0 -1
  13. package/lib/Render/index.d.ts +0 -1
  14. package/lib/api/index.d.ts +0 -1
  15. package/lib/api/report/URL.d.ts +0 -1
  16. package/lib/api/report/index.d.ts +0 -1
  17. package/lib/api/utils/index.d.ts +0 -1
  18. package/lib/appHelper/index.d.ts +0 -1
  19. package/lib/appHelper/index.js +10 -1
  20. package/lib/appHelper/others.d.ts +0 -1
  21. package/lib/config/index.d.ts +0 -1
  22. package/lib/index.d.ts +0 -1
  23. package/package.json +1 -1
  24. package/es/ReactRenderer/index.d.ts.map +0 -1
  25. package/es/Render/index.d.ts.map +0 -1
  26. package/es/api/index.d.ts.map +0 -1
  27. package/es/api/report/URL.d.ts.map +0 -1
  28. package/es/api/report/index.d.ts.map +0 -1
  29. package/es/api/utils/index.d.ts.map +0 -1
  30. package/es/appHelper/index.d.ts.map +0 -1
  31. package/es/appHelper/others.d.ts.map +0 -1
  32. package/es/config/index.d.ts.map +0 -1
  33. package/es/index.d.ts.map +0 -1
  34. package/lib/ReactRenderer/index.d.ts.map +0 -1
  35. package/lib/Render/index.d.ts.map +0 -1
  36. package/lib/api/index.d.ts.map +0 -1
  37. package/lib/api/report/URL.d.ts.map +0 -1
  38. package/lib/api/report/index.d.ts.map +0 -1
  39. package/lib/api/utils/index.d.ts.map +0 -1
  40. package/lib/appHelper/index.d.ts.map +0 -1
  41. package/lib/appHelper/others.d.ts.map +0 -1
  42. package/lib/config/index.d.ts.map +0 -1
  43. package/lib/index.d.ts.map +0 -1
@@ -1,4 +1,3 @@
1
1
  import { types } from '@alilc/lowcode-renderer-core';
2
2
  declare const _default: types.IRenderComponent;
3
3
  export default _default;
4
- //# sourceMappingURL=index.d.ts.map
@@ -10,4 +10,3 @@ interface RenderProps {
10
10
  }
11
11
  declare const Render: (props: RenderProps) => JSX.Element | null;
12
12
  export default Render;
13
- //# sourceMappingURL=index.d.ts.map
package/es/api/index.d.ts CHANGED
@@ -5,4 +5,3 @@ declare const _default: {
5
5
  utils: {};
6
6
  };
7
7
  export default _default;
8
- //# sourceMappingURL=index.d.ts.map
@@ -35,4 +35,3 @@ declare const _default: {
35
35
  TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD: string;
36
36
  };
37
37
  export default _default;
38
- //# sourceMappingURL=URL.d.ts.map
@@ -3,4 +3,3 @@ declare const _default: {
3
3
  getReportList: (values: any, url: UrlItem) => Promise<any>;
4
4
  };
5
5
  export default _default;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: {};
2
2
  export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare const appHelper: any;
2
2
  export default appHelper;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,13 +1,22 @@
1
- import { isMobile, isIos, isAndroid } from "@pisell/utils";
1
+ import { isMobile, isIos, isAndroid, EscPosPrinter, ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, columnWidthWithAlignment, preparing } from "@pisell/utils";
2
2
  import { getTimezone } from "./others";
3
3
  import api from "../api";
4
+ var printerApi = {
5
+ EscPosPrinter: EscPosPrinter,
6
+ ALIGN_LEFT: ALIGN_LEFT,
7
+ ALIGN_CENTER: ALIGN_CENTER,
8
+ ALIGN_RIGHT: ALIGN_RIGHT,
9
+ columnWidthWithAlignment: columnWidthWithAlignment,
10
+ preparing: preparing
11
+ };
4
12
  var appHelper = {
5
13
  utils: {
6
14
  api: api,
7
15
  isMobile: isMobile,
8
16
  isIos: isIos,
9
17
  isAndroid: isAndroid,
10
- getTimezone: getTimezone
18
+ getTimezone: getTimezone,
19
+ printerApi: printerApi
11
20
  }
12
21
  };
13
22
  export default appHelper;
@@ -1,2 +1 @@
1
1
  export declare const getTimezone: () => number;
2
- //# sourceMappingURL=others.d.ts.map
@@ -11,4 +11,3 @@ declare let injectedConfig: InjectedConfigType;
11
11
  export declare const injectConfig: (context: InjectedConfigType) => void;
12
12
  declare const getShopConfig: () => ShopConfigType;
13
13
  export { injectedConfig, getShopConfig };
14
- //# sourceMappingURL=index.d.ts.map
package/es/index.d.ts CHANGED
@@ -2,4 +2,3 @@ import Render from "./Render";
2
2
  import { injectConfig } from "./config";
3
3
  export { injectConfig };
4
4
  export default Render;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { types } from '@alilc/lowcode-renderer-core';
2
2
  declare const _default: types.IRenderComponent;
3
3
  export default _default;
4
- //# sourceMappingURL=index.d.ts.map
@@ -10,4 +10,3 @@ interface RenderProps {
10
10
  }
11
11
  declare const Render: (props: RenderProps) => JSX.Element | null;
12
12
  export default Render;
13
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@ declare const _default: {
5
5
  utils: {};
6
6
  };
7
7
  export default _default;
8
- //# sourceMappingURL=index.d.ts.map
@@ -35,4 +35,3 @@ declare const _default: {
35
35
  TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD: string;
36
36
  };
37
37
  export default _default;
38
- //# sourceMappingURL=URL.d.ts.map
@@ -3,4 +3,3 @@ declare const _default: {
3
3
  getReportList: (values: any, url: UrlItem) => Promise<any>;
4
4
  };
5
5
  export default _default;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: {};
2
2
  export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare const appHelper: any;
2
2
  export default appHelper;
3
- //# sourceMappingURL=index.d.ts.map
@@ -35,13 +35,22 @@ module.exports = __toCommonJS(appHelper_exports);
35
35
  var import_utils = require("@pisell/utils");
36
36
  var import_others = require("./others");
37
37
  var import_api = __toESM(require("../api"));
38
+ var printerApi = {
39
+ EscPosPrinter: import_utils.EscPosPrinter,
40
+ ALIGN_LEFT: import_utils.ALIGN_LEFT,
41
+ ALIGN_CENTER: import_utils.ALIGN_CENTER,
42
+ ALIGN_RIGHT: import_utils.ALIGN_RIGHT,
43
+ columnWidthWithAlignment: import_utils.columnWidthWithAlignment,
44
+ preparing: import_utils.preparing
45
+ };
38
46
  var appHelper = {
39
47
  utils: {
40
48
  api: import_api.default,
41
49
  isMobile: import_utils.isMobile,
42
50
  isIos: import_utils.isIos,
43
51
  isAndroid: import_utils.isAndroid,
44
- getTimezone: import_others.getTimezone
52
+ getTimezone: import_others.getTimezone,
53
+ printerApi
45
54
  }
46
55
  };
47
56
  var appHelper_default = appHelper;
@@ -1,2 +1 @@
1
1
  export declare const getTimezone: () => number;
2
- //# sourceMappingURL=others.d.ts.map
@@ -11,4 +11,3 @@ declare let injectedConfig: InjectedConfigType;
11
11
  export declare const injectConfig: (context: InjectedConfigType) => void;
12
12
  declare const getShopConfig: () => ShopConfigType;
13
13
  export { injectedConfig, getShopConfig };
14
- //# sourceMappingURL=index.d.ts.map
package/lib/index.d.ts CHANGED
@@ -2,4 +2,3 @@ import Render from "./Render";
2
2
  import { injectConfig } from "./config";
3
3
  export { injectConfig };
4
4
  export default Render;
5
- //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/lowcode-renderer",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "sideEffects": false,
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAQL,KAAK,EACN,MAAM,8BAA8B,CAAC;;AA2DtC,wBAAyB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAI5E,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,MAAM,UAAW,WAAW,uBAwGjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;AAGA,wBAIE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"URL.d.ts","sourceRoot":"","sources":["URL.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,4BAA4B,yOAC+L,CAAC;AAGzO,eAAO,MAAM,6BAA6B,+OACoM,CAAC;AAG/O,eAAO,MAAM,iCAAiC,+OACgM,CAAC;AAG/O,eAAO,MAAM,6BAA6B,+OACoM,CAAC;AAG/O,eAAO,MAAM,sBAAsB,+OAC2M,CAAC;AAG/O,eAAO,MAAM,6BAA6B,+OACoM,CAAC;AAG/O,eAAO,MAAM,4BAA4B,+OACqM,CAAC;AAE/O,eAAO,MAAM,gBAAgB,+OACiN,CAAC;AAG/O,eAAO,MAAM,wBAAwB,+OACyM,CAAC;AAG/O,eAAO,MAAM,wBAAwB,+OACyM,CAAC;AAG/O,eAAO,MAAM,8BAA8B,+OACmM,CAAC;AAG/O,eAAO,MAAM,uCAAuC,+OAC0L,CAAC;AAG/O,eAAO,MAAM,4BAA4B,+OACqM,CAAC;AAG/O,eAAO,MAAM,wBAAwB,+OACyM,CAAC;AAG/O,eAAO,MAAM,+BAA+B,+OACkM,CAAC;AAG/O,eAAO,MAAM,uCAAuC,+OAC0L,CAAC;AAG/O,eAAO,MAAM,yCAAyC,+OACwL,CAAC;;;;;;;;;;;;;;;;;;;;AAE/O,wBAmBE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AASA,aAAK,OAAO,GACR,8BAA8B,GAC9B,+BAA+B,GAC/B,mCAAmC,GACnC,+BAA+B,GAC/B,wBAAwB,GACxB,+BAA+B,GAC/B,8BAA8B,GAC9B,kBAAkB,GAClB,0BAA0B,GAC1B,0BAA0B,GAC1B,gCAAgC,GAChC,yCAAyC,GACzC,8BAA8B,GAC9B,0BAA0B,GAC1B,iCAAiC,GACjC,yCAAyC,GACzC,2CAA2C,CAAC;;;;AAiFhD,wBAEE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,SAAS,EAAE,GAQhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"others.d.ts","sourceRoot":"","sources":["others.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,cAKvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,aAAK,kBAAkB,GAAG;IACxB,UAAU,EAAE,cAAc,GAAG,CAAC,MAAM,cAAc,CAAC,CAAC;IACpD,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,QAAA,IAAI,cAAc,EAAE,kBAA6C,CAAC;AAElE,eAAO,MAAM,YAAY,YAAa,kBAAkB,SAEvD,CAAC;AAEF,QAAA,MAAM,aAAa,sBAKlB,CAAC;AAGF,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
package/es/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAQL,KAAK,EACN,MAAM,8BAA8B,CAAC;;AA2DtC,wBAAyB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAI5E,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,MAAM,UAAW,WAAW,uBAwGjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;AAGA,wBAIE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"URL.d.ts","sourceRoot":"","sources":["URL.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,4BAA4B,yOAC+L,CAAC;AAGzO,eAAO,MAAM,6BAA6B,+OACoM,CAAC;AAG/O,eAAO,MAAM,iCAAiC,+OACgM,CAAC;AAG/O,eAAO,MAAM,6BAA6B,+OACoM,CAAC;AAG/O,eAAO,MAAM,sBAAsB,+OAC2M,CAAC;AAG/O,eAAO,MAAM,6BAA6B,+OACoM,CAAC;AAG/O,eAAO,MAAM,4BAA4B,+OACqM,CAAC;AAE/O,eAAO,MAAM,gBAAgB,+OACiN,CAAC;AAG/O,eAAO,MAAM,wBAAwB,+OACyM,CAAC;AAG/O,eAAO,MAAM,wBAAwB,+OACyM,CAAC;AAG/O,eAAO,MAAM,8BAA8B,+OACmM,CAAC;AAG/O,eAAO,MAAM,uCAAuC,+OAC0L,CAAC;AAG/O,eAAO,MAAM,4BAA4B,+OACqM,CAAC;AAG/O,eAAO,MAAM,wBAAwB,+OACyM,CAAC;AAG/O,eAAO,MAAM,+BAA+B,+OACkM,CAAC;AAG/O,eAAO,MAAM,uCAAuC,+OAC0L,CAAC;AAG/O,eAAO,MAAM,yCAAyC,+OACwL,CAAC;;;;;;;;;;;;;;;;;;;;AAE/O,wBAmBE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AASA,aAAK,OAAO,GACR,8BAA8B,GAC9B,+BAA+B,GAC/B,mCAAmC,GACnC,+BAA+B,GAC/B,wBAAwB,GACxB,+BAA+B,GAC/B,8BAA8B,GAC9B,kBAAkB,GAClB,0BAA0B,GAC1B,0BAA0B,GAC1B,gCAAgC,GAChC,yCAAyC,GACzC,8BAA8B,GAC9B,0BAA0B,GAC1B,iCAAiC,GACjC,yCAAyC,GACzC,2CAA2C,CAAC;;;;AAiFhD,wBAEE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,SAAS,EAAE,GAQhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"others.d.ts","sourceRoot":"","sources":["others.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,cAKvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,aAAK,kBAAkB,GAAG;IACxB,UAAU,EAAE,cAAc,GAAG,CAAC,MAAM,cAAc,CAAC,CAAC;IACpD,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,QAAA,IAAI,cAAc,EAAE,kBAA6C,CAAC;AAElE,eAAO,MAAM,YAAY,YAAa,kBAAkB,SAEvD,CAAC;AAEF,QAAA,MAAM,aAAa,sBAKlB,CAAC;AAGF,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,eAAe,MAAM,CAAC"}