zartui 3.2.0 → 3.2.1

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 CHANGED
@@ -83,4 +83,4 @@ declare namespace _default {
83
83
  }
84
84
  export default _default;
85
85
  export function install(app: any): void;
86
- export const version: "3.2.0";
86
+ export const version: "3.2.1";
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.2.0";
79
+ const version = "3.2.1";
80
80
  function install(app) {
81
81
  const components = [
82
82
  ActionSheet,
@@ -42,6 +42,7 @@ import { file2DataURL, getFileUniqueCode, getUniqueFileName, isAudioType, isImag
42
42
  import { showImagePreview } from "../image-preview/index.mjs";
43
43
  import { ImageProcessor, checkWatermarkConfigSupported, CompressOptions, ResizeOptions } from "@egova-mobile/app-media-utils";
44
44
  import { wxUploadImage } from "./util/wx-util.mjs";
45
+ import { useExpose } from "../composables/use-expose.mjs";
45
46
  const [name, bem] = createNamespace("media-picker");
46
47
  const FILE_SIZE_LIMIT = 100;
47
48
  const mediaPickerProps = {
@@ -769,6 +770,9 @@ var stdin_default = defineComponent({
769
770
  actionVisible.value = false;
770
771
  action.func && action.func();
771
772
  };
773
+ useExpose({
774
+ mediaPick
775
+ });
772
776
  return () => {
773
777
  const title = props.showTitle && _createVNode("div", {
774
778
  "class": bem("title")
package/lib/index.d.ts CHANGED
@@ -83,4 +83,4 @@ declare namespace _default {
83
83
  }
84
84
  export default _default;
85
85
  export function install(app: any): void;
86
- export const version: "3.2.0";
86
+ export const version: "3.2.1";
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.2.0";
183
+ const version = "3.2.1";
184
184
  function install(app) {
185
185
  const components = [
186
186
  import_action_sheet.ActionSheet,
@@ -74,6 +74,7 @@ var import_media_util = require("./util/media-util");
74
74
  var import_image_preview = require("../image-preview");
75
75
  var import_app_media_utils = require("@egova-mobile/app-media-utils");
76
76
  var import_wx_util = require("./util/wx-util");
77
+ var import_use_expose = require("../composables/use-expose");
77
78
  const [name, bem] = (0, import_utils.createNamespace)("media-picker");
78
79
  const FILE_SIZE_LIMIT = 100;
79
80
  const mediaPickerProps = {
@@ -801,6 +802,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
801
802
  actionVisible.value = false;
802
803
  action.func && action.func();
803
804
  };
805
+ (0, import_use_expose.useExpose)({
806
+ mediaPick
807
+ });
804
808
  return () => {
805
809
  const title = props.showTitle && (0, import_vue.createVNode)("div", {
806
810
  "class": bem("title")
package/lib/zartui.cjs.js CHANGED
@@ -14478,6 +14478,9 @@ var stdin_default$B = vue.defineComponent({
14478
14478
  actionVisible.value = false;
14479
14479
  action.func && action.func();
14480
14480
  };
14481
+ useExpose({
14482
+ mediaPick
14483
+ });
14481
14484
  return () => {
14482
14485
  const title = props.showTitle && vue.createVNode("div", {
14483
14486
  "class": bem$t("title")
@@ -20616,7 +20619,7 @@ const Lazyload = {
20616
20619
  });
20617
20620
  }
20618
20621
  };
20619
- const version = "3.2.0";
20622
+ const version = "3.2.1";
20620
20623
  function install(app) {
20621
20624
  const components = [
20622
20625
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -14476,6 +14476,9 @@ var stdin_default$B = defineComponent({
14476
14476
  actionVisible.value = false;
14477
14477
  action.func && action.func();
14478
14478
  };
14479
+ useExpose({
14480
+ mediaPick
14481
+ });
14479
14482
  return () => {
14480
14483
  const title = props.showTitle && createVNode("div", {
14481
14484
  "class": bem$t("title")
@@ -20614,7 +20617,7 @@ const Lazyload = {
20614
20617
  });
20615
20618
  }
20616
20619
  };
20617
- const version = "3.2.0";
20620
+ const version = "3.2.1";
20618
20621
  function install(app) {
20619
20622
  const components = [
20620
20623
  ActionSheet,
package/lib/zartui.js CHANGED
@@ -16254,6 +16254,9 @@
16254
16254
  actionVisible.value = false;
16255
16255
  action.func && action.func();
16256
16256
  };
16257
+ useExpose({
16258
+ mediaPick
16259
+ });
16257
16260
  return () => {
16258
16261
  const title = props.showTitle && vue.createVNode("div", {
16259
16262
  "class": bem$t("title")
@@ -24676,7 +24679,7 @@
24676
24679
  });
24677
24680
  }
24678
24681
  };
24679
- const version = "3.2.0";
24682
+ const version = "3.2.1";
24680
24683
  function install(app) {
24681
24684
  const components = [
24682
24685
  ActionSheet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zartui",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "面向政务场景的移动端组件库",
5
5
  "main": "lib/zartui.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -29,10 +29,10 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@floating-ui/vue": "^0.2.1",
32
- "@zartui/date-utils": "^0.0.5",
33
32
  "@egova-mobile/app-media-utils": "^0.0.3",
34
- "@zartui/use": "^1.4.8",
35
- "@zartui/popperjs": "^1.3.1"
33
+ "@zartui/popperjs": "^1.3.1",
34
+ "@zartui/date-utils": "^0.0.5",
35
+ "@zartui/use": "^1.4.8"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "vue": "^3.0.0",