disguise-ui 0.2.9 → 0.3.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.
@@ -1,4 +1,4 @@
1
- import { t as e } from "./file-upload-1BQ7D3G-.js";
1
+ import { t as e } from "./file-upload-D7N0tsLF.js";
2
2
  // src/components/file-upload/index.ts
3
3
  var t = e;
4
4
  export { t as default };
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./modal-CHOpDVLd.js";
2
- import { n as t } from "./i18n-DejVnxC8.js";
2
+ import { n as t } from "./i18n-_x6RCAst.js";
3
3
  import { t as n } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
4
4
  import { t as r } from "./use-image-url-Bs5WMZ6L.js";
5
- import { n as i, t as ee } from "./use-multiple-file-upload-BYN5Ddr9.js";
5
+ import { n as i, t as ee } from "./use-multiple-file-upload-Cv2dfA07.js";
6
6
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as te, createVNode as d, defineComponent as f, h as p, normalizeClass as m, normalizeStyle as h, openBlock as g, ref as _, renderList as v, resolveComponent as ne, resolveDynamicComponent as y, toDisplayString as b, toRefs as re, unref as x, withCtx as S } from "vue";
7
7
  import { ElIcon as C, ElTooltip as w, ElUpload as ie } from "element-plus";
8
8
  import { Delete as T, Download as E, Upload as ae, View as D } from "@element-plus/icons-vue";
@@ -1,7 +1,9 @@
1
1
  import { a as e, c as t } from "./context-DqlD6qDJ.js";
2
2
  var n = {
3
3
  pleaseSelect: "Please select",
4
- close: "Close"
4
+ close: "Close",
5
+ cancel: "Cancel",
6
+ confirm: "Confirm"
5
7
  }, r = {
6
8
  components: {
7
9
  title: "Components",
@@ -200,6 +202,21 @@ var n = {
200
202
  remove: "Remove",
201
203
  typeNotAllowed: "Only {types} is supported",
202
204
  sizeLimitExceeded: "Image size cannot exceed {size}MB"
205
+ },
206
+ pictureUpload: {
207
+ cropTitle: "Crop image",
208
+ cropHint: "Drag the crop area and resize it from the corners",
209
+ resultSize: "Crop size",
210
+ aspectRatio: "Aspect ratio",
211
+ selectAspectRatio: "Crop ratio",
212
+ cropFailed: "Failed to crop the image",
213
+ readFailed: "Unable to read image dimensions",
214
+ widthExact: "Image width must be {width}px",
215
+ heightExact: "Image height must be {height}px",
216
+ widthMin: "Image width must be at least {width}px",
217
+ heightMin: "Image height must be at least {height}px",
218
+ widthMax: "Image width must not exceed {width}px",
219
+ heightMax: "Image height must not exceed {height}px"
203
220
  }
204
221
  }, i = {
205
222
  copy: "Copy",
@@ -222,7 +239,9 @@ var n = {
222
239
  selectField: "Select {field}"
223
240
  }, s = {
224
241
  pleaseSelect: "请选择",
225
- close: "关闭"
242
+ close: "关闭",
243
+ cancel: "取消",
244
+ confirm: "确定"
226
245
  }, c = {
227
246
  components: {
228
247
  title: "组件",
@@ -421,6 +440,21 @@ var n = {
421
440
  remove: "删除",
422
441
  typeNotAllowed: "仅支持 {types} 格式",
423
442
  sizeLimitExceeded: "图片大小不能超过 {size}MB"
443
+ },
444
+ pictureUpload: {
445
+ cropTitle: "裁剪图片",
446
+ cropHint: "拖动裁剪框调整区域,拖动四角调整大小",
447
+ resultSize: "裁剪尺寸",
448
+ aspectRatio: "宽高比",
449
+ selectAspectRatio: "裁剪比例",
450
+ cropFailed: "图片裁剪失败",
451
+ readFailed: "无法读取图片尺寸",
452
+ widthExact: "图片宽度必须为 {width}px",
453
+ heightExact: "图片高度必须为 {height}px",
454
+ widthMin: "图片宽度不能小于 {width}px",
455
+ heightMin: "图片高度不能小于 {height}px",
456
+ widthMax: "图片宽度不能大于 {width}px",
457
+ heightMax: "图片高度不能大于 {height}px"
424
458
  }
425
459
  }, l = {
426
460
  copy: "复制",