@pisell/lowcode-renderer 1.0.39 → 1.0.40

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.
@@ -1,4 +1,4 @@
1
- import { isMobile, isIos, isAndroid, EscPosPrinter, ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, columnWidthWithAlignment, preparing, formatAmount } from "@pisell/utils";
1
+ import { isMobile, isIos, isAndroid, EscPosPrinter, ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, columnWidthWithAlignment, preparing, formatAmount, webPrint } from "@pisell/utils";
2
2
  import { getTimezone } from "./others";
3
3
  import api from "../api";
4
4
  var printerApi = {
@@ -17,7 +17,8 @@ var appHelper = {
17
17
  isAndroid: isAndroid,
18
18
  getTimezone: getTimezone,
19
19
  printerApi: printerApi,
20
- formatAmount: formatAmount
20
+ formatAmount: formatAmount,
21
+ webPrint: webPrint
21
22
  }
22
23
  };
23
24
  export default appHelper;
@@ -51,7 +51,8 @@ var appHelper = {
51
51
  isAndroid: import_utils.isAndroid,
52
52
  getTimezone: import_others.getTimezone,
53
53
  printerApi,
54
- formatAmount: import_utils.formatAmount
54
+ formatAmount: import_utils.formatAmount,
55
+ webPrint: import_utils.webPrint
55
56
  }
56
57
  };
57
58
  var appHelper_default = appHelper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/lowcode-renderer",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "sideEffects": false,
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",
@@ -18,7 +18,7 @@
18
18
  "@alifd/next": "^1.25.44",
19
19
  "lodash-es": "^4.17.21",
20
20
  "dayjs": "^1.11.9",
21
- "@pisell/utils": "1.0.20"
21
+ "@pisell/utils": "1.0.21"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": ">=16.9.0",