zartui 3.1.38 → 3.1.39
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 +4 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/media-picker/MediaPicker.js +4 -0
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +4 -1
- package/lib/zartui.es.js +4 -1
- package/lib/zartui.js +4 -1
- package/lib/zartui.min.js +1 -1
- package/package.json +7 -7
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -76,7 +76,7 @@ import { Timeline } from "./timeline/index.mjs";
|
|
|
76
76
|
import { Toast } from "./toast/index.mjs";
|
|
77
77
|
import { Uploader } from "./uploader/index.mjs";
|
|
78
78
|
import { Video } from "./video/index.mjs";
|
|
79
|
-
const version = "3.1.
|
|
79
|
+
const version = "3.1.39";
|
|
80
80
|
function install(app) {
|
|
81
81
|
const components = [
|
|
82
82
|
ActionSheet,
|
|
@@ -43,6 +43,7 @@ import { showImagePreview } from "../image-preview/index.mjs";
|
|
|
43
43
|
import { ImageProcessor, checkWatermarkConfigSupported, CompressOptions, ResizeOptions } from "@egova-mobile/app-media-utils";
|
|
44
44
|
import { isEmptyValue } from "../field/utils.mjs";
|
|
45
45
|
import { wxUploadImage } from "./util/wx-util.mjs";
|
|
46
|
+
import { useExpose } from "../composables/use-expose.mjs";
|
|
46
47
|
const [name, bem] = createNamespace("media-picker");
|
|
47
48
|
const FILE_SIZE_LIMIT = 100;
|
|
48
49
|
const mediaPickerProps = {
|
|
@@ -772,6 +773,9 @@ var stdin_default = defineComponent({
|
|
|
772
773
|
actionVisible.value = false;
|
|
773
774
|
action.func && action.func();
|
|
774
775
|
};
|
|
776
|
+
useExpose({
|
|
777
|
+
mediaPick
|
|
778
|
+
});
|
|
775
779
|
return () => {
|
|
776
780
|
const title = props.showTitle && _createVNode("div", {
|
|
777
781
|
"class": bem("title")
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -180,7 +180,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
|
|
|
180
180
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
|
181
181
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
182
182
|
__reExport(stdin_exports, require("./video"), module.exports);
|
|
183
|
-
const version = "3.1.
|
|
183
|
+
const version = "3.1.39";
|
|
184
184
|
function install(app) {
|
|
185
185
|
const components = [
|
|
186
186
|
import_action_sheet.ActionSheet,
|
|
@@ -75,6 +75,7 @@ var import_image_preview = require("../image-preview");
|
|
|
75
75
|
var import_app_media_utils = require("@egova-mobile/app-media-utils");
|
|
76
76
|
var import_utils2 = require("../field/utils");
|
|
77
77
|
var import_wx_util = require("./util/wx-util");
|
|
78
|
+
var import_use_expose = require("../composables/use-expose");
|
|
78
79
|
const [name, bem] = (0, import_utils.createNamespace)("media-picker");
|
|
79
80
|
const FILE_SIZE_LIMIT = 100;
|
|
80
81
|
const mediaPickerProps = {
|
|
@@ -804,6 +805,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
804
805
|
actionVisible.value = false;
|
|
805
806
|
action.func && action.func();
|
|
806
807
|
};
|
|
808
|
+
(0, import_use_expose.useExpose)({
|
|
809
|
+
mediaPick
|
|
810
|
+
});
|
|
807
811
|
return () => {
|
|
808
812
|
const title = props.showTitle && (0, import_vue.createVNode)("div", {
|
|
809
813
|
"class": bem("title")
|