yh-hiprint 2.3.3 → 2.3.6
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/libs/hiprint.bundle.js +1 -1
- package/libs/jsbarcode/JsBarcode.js +0 -18
- package/package.json +1 -1
- package/scale.js +2 -3
package/libs/hiprint.bundle.js
CHANGED
|
@@ -1,38 +1,20 @@
|
|
|
1
|
-
var hiprintJQuery = require("../jquery.js");
|
|
2
1
|
var _barcodes = require('./barcodes/');
|
|
3
|
-
|
|
4
2
|
var _barcodes2 = _interopRequireDefault(_barcodes);
|
|
5
|
-
|
|
6
3
|
var _merge = require('./help/merge.js');
|
|
7
|
-
|
|
8
4
|
var _merge2 = _interopRequireDefault(_merge);
|
|
9
|
-
|
|
10
5
|
var _linearizeEncodings = require('./help/linearizeEncodings.js');
|
|
11
|
-
|
|
12
6
|
var _linearizeEncodings2 = _interopRequireDefault(_linearizeEncodings);
|
|
13
|
-
|
|
14
7
|
var _fixOptions = require('./help/fixOptions.js');
|
|
15
|
-
|
|
16
8
|
var _fixOptions2 = _interopRequireDefault(_fixOptions);
|
|
17
|
-
|
|
18
9
|
var _getRenderProperties = require('./help/getRenderProperties.js');
|
|
19
|
-
|
|
20
10
|
var _getRenderProperties2 = _interopRequireDefault(_getRenderProperties);
|
|
21
|
-
|
|
22
11
|
var _optionsFromStrings = require('./help/optionsFromStrings.js');
|
|
23
|
-
|
|
24
12
|
var _optionsFromStrings2 = _interopRequireDefault(_optionsFromStrings);
|
|
25
|
-
|
|
26
13
|
var _ErrorHandler = require('./exceptions/ErrorHandler.js');
|
|
27
|
-
|
|
28
14
|
var _ErrorHandler2 = _interopRequireDefault(_ErrorHandler);
|
|
29
|
-
|
|
30
15
|
var _exceptions = require('./exceptions/exceptions.js');
|
|
31
|
-
|
|
32
16
|
var _defaults = require('./options/defaults.js');
|
|
33
|
-
|
|
34
17
|
var _defaults2 = _interopRequireDefault(_defaults);
|
|
35
|
-
|
|
36
18
|
function _interopRequireDefault (obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
19
|
|
|
38
20
|
// The protype of the object returned from the JsBarcode() call
|
package/package.json
CHANGED
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
|