yh-hiprint 2.3.3 → 2.3.5

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.
@@ -38,7 +38,7 @@ function _typeof (obj) {
38
38
  // js颜色选择
39
39
  import "./plugins/jquery.minicolors.js";
40
40
  // 条形码
41
- import JsBarcode from "jsbarcode";
41
+ import JsBarcode from "./jsbarcode/JsBarcode.js";
42
42
  // 二维码
43
43
  import "./plugins/qrcode.js";
44
44
  // 水印
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yh-hiprint",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "description": "Hiprint for Vue3 by NoahLiu in ForceCon in Hunan Changesha",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/scale.js CHANGED
@@ -1,6 +1,5 @@
1
- import $ from "jquery";
2
1
  export default (function () {
3
- function t() {
2
+ function t () {
4
3
  // json模板 options 对应键值 key
5
4
  this.name = "scale";
6
5
  }
@@ -17,7 +16,7 @@ export default (function () {
17
16
  (t.prototype.createTarget = function (t, i, e) {
18
17
  // t: 元素对象,i: 元素options, e: 元素printElementType
19
18
  return (
20
- (this.target = $(
19
+ (this.target = hiprintJQuery(
21
20
  '<div class="hiprint-option-item">\n <div class="hiprint-option-item-label">\n 缩放\n </div>\n <div class="hiprint-option-item-field">\n <input type="number" value="1" step="0.1" min="0.1" max="3" class="auto-submit"/>\n </div>\n </div>'
22
21
  )),
23
22
  this.target