zartui 3.1.46 → 3.1.48
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/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/media-picker/MediaPicker.mjs +3 -1
- package/es/media-picker/type.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/media-picker/MediaPicker.js +3 -1
- package/lib/media-picker/type.d.ts +1 -0
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +4 -2
- package/lib/zartui.es.js +4 -2
- package/lib/zartui.js +6 -8
- package/lib/zartui.min.js +1 -1
- package/package.json +27 -27
package/lib/zartui.cjs.js
CHANGED
|
@@ -14017,6 +14017,7 @@ var stdin_default$C = vue.defineComponent({
|
|
|
14017
14017
|
fileName: f.name,
|
|
14018
14018
|
originalName: f.name,
|
|
14019
14019
|
originalSize: f.size,
|
|
14020
|
+
originalFile: f,
|
|
14020
14021
|
deletable: true,
|
|
14021
14022
|
message: ""
|
|
14022
14023
|
};
|
|
@@ -14039,8 +14040,9 @@ var stdin_default$C = vue.defineComponent({
|
|
|
14039
14040
|
message: "",
|
|
14040
14041
|
originalName: file.name,
|
|
14041
14042
|
// 原始名称
|
|
14042
|
-
originalSize: file.size
|
|
14043
|
+
originalSize: file.size,
|
|
14043
14044
|
// 原始大小
|
|
14045
|
+
originalFile: file
|
|
14044
14046
|
};
|
|
14045
14047
|
return media;
|
|
14046
14048
|
});
|
|
@@ -20930,7 +20932,7 @@ const Lazyload = {
|
|
|
20930
20932
|
});
|
|
20931
20933
|
}
|
|
20932
20934
|
};
|
|
20933
|
-
const version = "3.1.
|
|
20935
|
+
const version = "3.1.48";
|
|
20934
20936
|
function install(app) {
|
|
20935
20937
|
const components = [
|
|
20936
20938
|
ActionSheet,
|
package/lib/zartui.es.js
CHANGED
|
@@ -14015,6 +14015,7 @@ var stdin_default$C = defineComponent({
|
|
|
14015
14015
|
fileName: f.name,
|
|
14016
14016
|
originalName: f.name,
|
|
14017
14017
|
originalSize: f.size,
|
|
14018
|
+
originalFile: f,
|
|
14018
14019
|
deletable: true,
|
|
14019
14020
|
message: ""
|
|
14020
14021
|
};
|
|
@@ -14037,8 +14038,9 @@ var stdin_default$C = defineComponent({
|
|
|
14037
14038
|
message: "",
|
|
14038
14039
|
originalName: file.name,
|
|
14039
14040
|
// 原始名称
|
|
14040
|
-
originalSize: file.size
|
|
14041
|
+
originalSize: file.size,
|
|
14041
14042
|
// 原始大小
|
|
14043
|
+
originalFile: file
|
|
14042
14044
|
};
|
|
14043
14045
|
return media;
|
|
14044
14046
|
});
|
|
@@ -20928,7 +20930,7 @@ const Lazyload = {
|
|
|
20928
20930
|
});
|
|
20929
20931
|
}
|
|
20930
20932
|
};
|
|
20931
|
-
const version = "3.1.
|
|
20933
|
+
const version = "3.1.48";
|
|
20932
20934
|
function install(app) {
|
|
20933
20935
|
const components = [
|
|
20934
20936
|
ActionSheet,
|
package/lib/zartui.js
CHANGED
|
@@ -15106,7 +15106,7 @@
|
|
|
15106
15106
|
const tile = buildTile(canvas, watermark);
|
|
15107
15107
|
if (tile) {
|
|
15108
15108
|
tiles.push(tile);
|
|
15109
|
-
totalHeight += tile.size.height +
|
|
15109
|
+
totalHeight += tile.size.height + tile.style.paddingTop + tile.style.paddingBottom;
|
|
15110
15110
|
}
|
|
15111
15111
|
}
|
|
15112
15112
|
if (totalHeight <= 0) {
|
|
@@ -15116,19 +15116,15 @@
|
|
|
15116
15116
|
}
|
|
15117
15117
|
const contentPadding = getCanvasScale(canvas, CONTENT_PADDING);
|
|
15118
15118
|
let baseOrigin = new Point(contentPadding, contentPadding);
|
|
15119
|
-
let titlePadding = 0;
|
|
15120
15119
|
if (groupPosition === "center") {
|
|
15121
15120
|
baseOrigin = new Point(
|
|
15122
15121
|
contentPadding,
|
|
15123
15122
|
Math.round((canvas.height - totalHeight) / 2)
|
|
15124
15123
|
);
|
|
15125
15124
|
} else if (groupPosition === "bottom") {
|
|
15126
|
-
tiles.forEach((item) => {
|
|
15127
|
-
titlePadding += item.style.paddingTop + item.style.paddingBottom;
|
|
15128
|
-
});
|
|
15129
15125
|
baseOrigin = new Point(
|
|
15130
15126
|
contentPadding,
|
|
15131
|
-
canvas.height - totalHeight - contentPadding
|
|
15127
|
+
canvas.height - totalHeight - contentPadding
|
|
15132
15128
|
);
|
|
15133
15129
|
} else if (groupPosition === "top") {
|
|
15134
15130
|
baseOrigin = new Point(contentPadding, contentPadding);
|
|
@@ -15797,6 +15793,7 @@
|
|
|
15797
15793
|
fileName: f.name,
|
|
15798
15794
|
originalName: f.name,
|
|
15799
15795
|
originalSize: f.size,
|
|
15796
|
+
originalFile: f,
|
|
15800
15797
|
deletable: true,
|
|
15801
15798
|
message: ""
|
|
15802
15799
|
};
|
|
@@ -15819,8 +15816,9 @@
|
|
|
15819
15816
|
message: "",
|
|
15820
15817
|
originalName: file.name,
|
|
15821
15818
|
// 原始名称
|
|
15822
|
-
originalSize: file.size
|
|
15819
|
+
originalSize: file.size,
|
|
15823
15820
|
// 原始大小
|
|
15821
|
+
originalFile: file
|
|
15824
15822
|
};
|
|
15825
15823
|
return media;
|
|
15826
15824
|
});
|
|
@@ -24994,7 +24992,7 @@
|
|
|
24994
24992
|
});
|
|
24995
24993
|
}
|
|
24996
24994
|
};
|
|
24997
|
-
const version = "3.1.
|
|
24995
|
+
const version = "3.1.48";
|
|
24998
24996
|
function install(app) {
|
|
24999
24997
|
const components = [
|
|
25000
24998
|
ActionSheet,
|