@web-utils/component 2.0.1 → 2.0.3

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.
Files changed (102) hide show
  1. package/dist/chunks/{7af3ceb1.js → 3a79781b.js} +3 -3
  2. package/dist/chunks/{df803484.js → 41a066be.js} +0 -0
  3. package/dist/chunks/{163eed3b.js → 5a78e0db.js} +0 -0
  4. package/dist/chunks/{6499de3a.js → 5d4282fb.js} +0 -0
  5. package/dist/chunks/{a73fe8ee.js → 61ad06b2.js} +0 -0
  6. package/dist/chunks/{86bcadec.js → 76680a03.js} +2 -2
  7. package/dist/chunks/{8bbde9bf.js → 8c0142e0.js} +0 -0
  8. package/dist/chunks/{90bd3d52.js → 97652d86.js} +5 -5
  9. package/dist/chunks/{92404ceb.js → b4acd3a6.js} +3 -3
  10. package/dist/chunks/{2bd4e340.js → f71045fc.js} +0 -0
  11. package/dist/components/address-input/index.js +2 -2
  12. package/dist/components/aside-menu/index.js +1 -1
  13. package/dist/components/awesome-button/index.js +1 -1
  14. package/dist/components/capsule-tab/index.js +1 -1
  15. package/dist/components/chunk-file-uploader/index.js +2 -2
  16. package/dist/components/chunk-file-uploader-button/index.js +2 -2
  17. package/dist/components/chunk-file-uploader-drop/index.js +2 -2
  18. package/dist/components/chunk-file-uploader-file/index.js +3 -3
  19. package/dist/components/chunk-file-uploader-files/index.js +2 -2
  20. package/dist/components/chunk-file-uploader-list/index.js +2 -2
  21. package/dist/components/chunk-file-uploader-un-support/index.js +2 -2
  22. package/dist/components/code-mirror-editor/index.js +1 -1
  23. package/dist/components/color-picker/index.js +1 -1
  24. package/dist/components/confirm-button/index.js +3 -3
  25. package/dist/components/confirmable/index.js +2 -2
  26. package/dist/components/context-menu/index.js +1 -1
  27. package/dist/components/custom-scrollbar/index.js +2 -3
  28. package/dist/components/data-table-picker/index.js +5 -5
  29. package/dist/components/dynamic-table/index.js +6 -6
  30. package/dist/components/e-charts/index.js +1 -1
  31. package/dist/components/editable-progress/index.js +1 -1
  32. package/dist/components/editable-tree/index.js +192 -192
  33. package/dist/components/egd-collapse/index.js +1 -1
  34. package/dist/components/egd-collapse-item/index.js +1 -1
  35. package/dist/components/element-dialog/index.js +4 -4
  36. package/dist/components/empty-view/index.js +2 -2
  37. package/dist/components/error-view/index.js +2 -2
  38. package/dist/components/flex-column/index.js +2 -2
  39. package/dist/components/flex-item/index.js +2 -2
  40. package/dist/components/flex-row/index.js +2 -2
  41. package/dist/components/flex-scroller/index.js +1 -1
  42. package/dist/components/form-button/index.js +2 -2
  43. package/dist/components/form-cascader/index.js +4 -4
  44. package/dist/components/form-checkbox-group/index.js +13 -13
  45. package/dist/components/form-date-picker/index.js +9 -9
  46. package/dist/components/form-holder/index.js +3 -3
  47. package/dist/components/form-input/index.js +3 -3
  48. package/dist/components/form-input-email/index.js +4 -4
  49. package/dist/components/form-input-id-card/index.js +4 -4
  50. package/dist/components/form-input-number/index.js +4 -4
  51. package/dist/components/form-input-phone-number/index.js +4 -4
  52. package/dist/components/form-input-time/index.js +6 -6
  53. package/dist/components/form-item/index.js +4 -5
  54. package/dist/components/form-item-config-provider/index.js +1 -1
  55. package/dist/components/form-item-group/index.js +2 -2
  56. package/dist/components/form-radio-group/index.js +13 -13
  57. package/dist/components/form-select/index.js +14 -14
  58. package/dist/components/form-switch/index.js +3 -3
  59. package/dist/components/form-textarea/index.js +3 -3
  60. package/dist/components/form-view/index.js +7 -7
  61. package/dist/components/guide-steps/index.js +1 -1
  62. package/dist/components/icon-card/index.js +1 -1
  63. package/dist/components/iframe-window/index.js +3 -3
  64. package/dist/components/input-number/index.js +2 -2
  65. package/dist/components/input-number-range/index.js +2 -2
  66. package/dist/components/keep-view-alive/index.js +1 -1
  67. package/dist/components/loading-view/index.js +2 -2
  68. package/dist/components/nav-bar/index.js +2 -2
  69. package/dist/components/not-implement/index.js +2 -2
  70. package/dist/components/page/index.js +1 -1
  71. package/dist/components/page-header/index.js +2 -2
  72. package/dist/components/page-index/index.js +4 -4
  73. package/dist/components/page-index-top/index.js +3 -3
  74. package/dist/components/page-skeleton/index.js +1 -1
  75. package/dist/components/page-skeleton-new/index.js +4 -4
  76. package/dist/components/pageable-table/index.js +8 -8
  77. package/dist/components/pageable-view/index.js +5 -5
  78. package/dist/components/photo-swipe/index.js +5 -5
  79. package/dist/components/resize-observer/index.js +2 -2
  80. package/dist/components/search-popover/index.js +6 -6
  81. package/dist/components/sign-panel/index.js +11 -11
  82. package/dist/components/split-pane/index.js +1 -1
  83. package/dist/components/stateful/index.js +1 -1
  84. package/dist/components/static-pageable-table/index.js +2 -2
  85. package/dist/components/swiper/index.js +1 -1
  86. package/dist/components/tab/index.js +2 -2
  87. package/dist/components/tab-item/index.js +2 -2
  88. package/dist/components/table-column/index.js +1 -1
  89. package/dist/components/table-view/index.js +12 -12
  90. package/dist/components/tag-render/index.js +3 -3
  91. package/dist/components/tinymce-editor/index.js +3 -3
  92. package/dist/components/tinymce-wrapper/index.js +393 -393
  93. package/dist/components/toolbar/index.js +40 -40
  94. package/dist/components/toolbar-button/index.js +1 -1
  95. package/dist/components/trigger/index.js +1 -1
  96. package/dist/components/vue-tags-input/index.js +3 -3
  97. package/dist/components/watermark/index.js +2 -2
  98. package/dist/components/x-dialog/index.js +6 -6
  99. package/dist/index.css +0 -63
  100. package/dist/index.es.js +606 -608
  101. package/package.json +22 -22
  102. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- import { n as c } from "../../chunks/6499de3a.js";
1
+ import { n as c } from "../../chunks/5d4282fb.js";
2
2
  var a = function() {
3
3
  var t = this, e = t.$createElement, n = t._self._c || e;
4
4
  return n("div", {
@@ -1,5 +1,5 @@
1
1
  import { dialog as o } from "@web-utils/core/dist/mixin/index";
2
- import { n as i } from "../../chunks/6499de3a.js";
2
+ import { n as i } from "../../chunks/5d4282fb.js";
3
3
  var s = function() {
4
4
  var e = this, t = e.$createElement, l = e._self._c || t;
5
5
  return l("ElDialog", {
@@ -35,7 +35,7 @@ var s = function() {
35
35
  type: "text",
36
36
  icon: e.fullScreen ? "el-icon-copy-document" : "el-icon-full-screen",
37
37
  size: "medium",
38
- title: e.fullScreen ? "\u8FD8\u539F" : "\u6700\u5927\u5316"
38
+ title: e.fullScreen ? "还原" : "最大化"
39
39
  },
40
40
  on: {
41
41
  click: e.toggleFullScreen
@@ -69,7 +69,7 @@ const c = {
69
69
  props: {
70
70
  title: {
71
71
  type: String,
72
- default: "iframe\u7A97\u53E3"
72
+ default: "iframe窗口"
73
73
  },
74
74
  url: {
75
75
  type: String,
@@ -1,7 +1,7 @@
1
1
  import u from "element-ui/src/mixins/focus";
2
2
  import o from "element-ui/src/directives/repeat-click";
3
- import { i as a } from "../../chunks/df803484.js";
4
- import { n as l } from "../../chunks/6499de3a.js";
3
+ import { i as a } from "../../chunks/41a066be.js";
4
+ import { n as l } from "../../chunks/5d4282fb.js";
5
5
  var c = function() {
6
6
  var e = this, t = e.$createElement, n = e._self._c || t;
7
7
  return n("div", {
@@ -1,5 +1,5 @@
1
1
  import { isNotEmpty as i } from "@web-utils/core";
2
- import { n as o } from "../../chunks/6499de3a.js";
2
+ import { n as o } from "../../chunks/5d4282fb.js";
3
3
  var r = function() {
4
4
  var t = this, e = t.$createElement, n = t._self._c || e;
5
5
  return n("div", {
@@ -61,7 +61,7 @@ const u = {
61
61
  disabled: Boolean,
62
62
  separator: {
63
63
  type: String,
64
- default: "\u81F3"
64
+ default: ""
65
65
  },
66
66
  controls: {
67
67
  type: Boolean,
@@ -1,4 +1,4 @@
1
- import { n as _ } from "../../chunks/6499de3a.js";
1
+ import { n as _ } from "../../chunks/5d4282fb.js";
2
2
  const C = Object.prototype.toString;
3
3
  function d(e) {
4
4
  return e != null;
@@ -1,4 +1,4 @@
1
- import { n as o } from "../../chunks/6499de3a.js";
1
+ import { n as o } from "../../chunks/5d4282fb.js";
2
2
  var s = function() {
3
3
  var t = this, e = t.$createElement, n = t._self._c || e;
4
4
  return n("div", {
@@ -23,7 +23,7 @@ const l = {
23
23
  props: {
24
24
  loadingTips: {
25
25
  type: String,
26
- default: "\u52A0\u8F7D\u4E2D..."
26
+ default: "加载中..."
27
27
  },
28
28
  fontSize: {
29
29
  type: String,
@@ -1,4 +1,4 @@
1
- import { n as a } from "../../chunks/6499de3a.js";
1
+ import { n as a } from "../../chunks/5d4282fb.js";
2
2
  var r = function() {
3
3
  var t = this, e = t.$createElement, n = t._self._c || e;
4
4
  return n("div", {
@@ -11,7 +11,7 @@ var r = function() {
11
11
  on: {
12
12
  click: t.goBack
13
13
  }
14
- }, [t._v(" \u8FD4\u56DE ")]) : t._e(), t.$slots.right ? n("div", {
14
+ }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? n("div", {
15
15
  staticClass: "flex-item flex-row-column vertical-center"
16
16
  }, [t._t("right")], 2) : t._e()], 1);
17
17
  }, s = [];
@@ -1,4 +1,4 @@
1
- import { n as r } from "../../chunks/6499de3a.js";
1
+ import { n as r } from "../../chunks/5d4282fb.js";
2
2
  var s = function() {
3
3
  var e = this, t = e.$createElement;
4
4
  return e._self._c, e._m(0);
@@ -8,7 +8,7 @@ var s = function() {
8
8
  staticClass: "not-implement"
9
9
  }, [n("div", [n("i", {
10
10
  staticClass: "fa fa-wrench"
11
- }), e._v(" \u5EFA\u8BBE\u4E2D... ")])]);
11
+ }), e._v(" 建设中... ")])]);
12
12
  }];
13
13
  const a = {
14
14
  name: "NotImplement"
@@ -1,4 +1,4 @@
1
- import { n as o } from "../../chunks/6499de3a.js";
1
+ import { n as o } from "../../chunks/5d4282fb.js";
2
2
  var l = function() {
3
3
  var e = this, t = e.$createElement, a = e._self._c || t;
4
4
  return a("div", {
@@ -1,4 +1,4 @@
1
- import { n as a } from "../../chunks/6499de3a.js";
1
+ import { n as a } from "../../chunks/5d4282fb.js";
2
2
  var r = function() {
3
3
  var e = this, t = e.$createElement, n = e._self._c || t;
4
4
  return n("div", {
@@ -26,7 +26,7 @@ const s = {
26
26
  props: {
27
27
  title: {
28
28
  type: String,
29
- default: "\u6807\u9898"
29
+ default: "标题"
30
30
  },
31
31
  alignEnd: {
32
32
  type: Boolean,
@@ -1,5 +1,5 @@
1
1
  import { treeToArray as d, findFirstMatchNode as n } from "@web-utils/core";
2
- import { n as o } from "../../chunks/6499de3a.js";
2
+ import { n as o } from "../../chunks/5d4282fb.js";
3
3
  var l = function() {
4
4
  var t = this, a = t.$createElement, e = t._self._c || a;
5
5
  return e("div", {
@@ -24,7 +24,7 @@ var l = function() {
24
24
  "default-expand-all": "",
25
25
  props: t.defaultProps,
26
26
  "highlight-current": "",
27
- "empty-text": "\u8BF7\u914D\u7F6E\u83DC\u5355\uFF01",
27
+ "empty-text": "请配置菜单!",
28
28
  "default-expanded-keys": t.currentTreeKey,
29
29
  "node-key": "key"
30
30
  },
@@ -75,11 +75,11 @@ const h = {
75
75
  },
76
76
  tips: {
77
77
  type: String,
78
- default: "\u8BF7\u6DFB\u52A0\u9875\u9762\u5185\u5BB9\uFF01"
78
+ default: "请添加页面内容!"
79
79
  },
80
80
  sectionTitle: {
81
81
  type: String,
82
- default: "\u529F\u80FD\u5BFC\u822A"
82
+ default: "功能导航"
83
83
  },
84
84
  schema: {
85
85
  type: String,
@@ -1,5 +1,5 @@
1
1
  import { treeToArray as u, findFirstMatchNode as s } from "@web-utils/core";
2
- import { n as o } from "../../chunks/6499de3a.js";
2
+ import { n as o } from "../../chunks/5d4282fb.js";
3
3
  var c = function() {
4
4
  var t = this, e = t.$createElement, a = t._self._c || e;
5
5
  return t.menus && t.menus.length ? a("PageSkeleton", {
@@ -45,7 +45,7 @@ var c = function() {
45
45
  })];
46
46
  })], 2) : a("EmptyView", {
47
47
  attrs: {
48
- "empty-tips": "\u6682\u65E0\u6743\u9650\uFF01"
48
+ "empty-tips": "暂无权限!"
49
49
  }
50
50
  });
51
51
  }, l = [];
@@ -58,7 +58,7 @@ const p = {
58
58
  },
59
59
  tips: {
60
60
  type: String,
61
- default: "\u8BF7\u6DFB\u52A0\u9875\u9762\u5185\u5BB9\uFF01"
61
+ default: "请添加页面内容!"
62
62
  },
63
63
  schema: {
64
64
  type: String,
@@ -1,4 +1,4 @@
1
- import { n as o } from "../../chunks/6499de3a.js";
1
+ import { n as o } from "../../chunks/5d4282fb.js";
2
2
  var a = function() {
3
3
  var e = this, t = e.$createElement, n = e._self._c || t;
4
4
  return n("Page", {
@@ -1,4 +1,4 @@
1
- import { n as a } from "../../chunks/6499de3a.js";
1
+ import { n as a } from "../../chunks/5d4282fb.js";
2
2
  var s = function() {
3
3
  var e = this, l = e.$createElement, t = e._self._c || l;
4
4
  return t("Page", {
@@ -24,7 +24,7 @@ var s = function() {
24
24
  "border-right": "1px solid #eee"
25
25
  }
26
26
  }, [e._t("sidebar-content", function() {
27
- return [e._v(" \u4FA7\u680F\u5185\u5BB9 ")];
27
+ return [e._v(" 侧栏内容 ")];
28
28
  })], 2)]), t("div", {
29
29
  staticClass: "page-skeleton-new-right",
30
30
  style: {
@@ -49,7 +49,7 @@ var s = function() {
49
49
  "content-scroll": e.contentScroll
50
50
  }, e.contentClass]
51
51
  }, [e._t("default", function() {
52
- return [e._v("\u5185\u5BB9")];
52
+ return [e._v("内容")];
53
53
  })], 2)])]);
54
54
  }, i = [];
55
55
  const r = {
@@ -57,7 +57,7 @@ const r = {
57
57
  props: {
58
58
  title: {
59
59
  type: String,
60
- default: "\u9875\u9762\u6807\u9898"
60
+ default: "页面标题"
61
61
  },
62
62
  flexColumn: Boolean,
63
63
  flexRow: Boolean,
@@ -1,6 +1,6 @@
1
1
  import { cloneDeep as n, merge as c, hasOwn as g } from "@web-utils/core";
2
- import { f as d, d as f, e as b } from "../../chunks/2bd4e340.js";
3
- import { n as m } from "../../chunks/6499de3a.js";
2
+ import { f as d, d as f, e as b } from "../../chunks/f71045fc.js";
3
+ import { n as m } from "../../chunks/5d4282fb.js";
4
4
  var y = function() {
5
5
  var e = this, t = e.$createElement, a = e._self._c || t;
6
6
  return a("div", {
@@ -32,7 +32,7 @@ var y = function() {
32
32
  staticClass: "pageable-table-loading"
33
33
  }, [a("i", {
34
34
  staticClass: "table-status-icon el-icon-loading"
35
- }), e._v(" \u52A0\u8F7D\u4E2D...")])] : e.tableStatus === e.TABLE_STATUS.error ? [a("ElButton", {
35
+ }), e._v(" 加载中...")])] : e.tableStatus === e.TABLE_STATUS.error ? [a("ElButton", {
36
36
  staticClass: "pageable-table-error",
37
37
  attrs: {
38
38
  icon: "table-status-icon fa fa-frown-o"
@@ -40,7 +40,7 @@ var y = function() {
40
40
  on: {
41
41
  click: e.refresh
42
42
  }
43
- }, [e._v(" \u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5\uFF01 ")])] : [e._v(" \u6682\u65E0\u6570\u636E ")]];
43
+ }, [e._v(" 加载失败,点击重试! ")])] : [e._v(" 暂无数据 ")]];
44
44
  })];
45
45
  },
46
46
  proxy: !0
@@ -93,7 +93,7 @@ var y = function() {
93
93
  key: "order",
94
94
  attrs: {
95
95
  type: "index",
96
- label: "\u5E8F\u53F7",
96
+ label: "序号",
97
97
  width: e.indexWidth,
98
98
  align: "center"
99
99
  },
@@ -111,7 +111,7 @@ var y = function() {
111
111
  }, "TableColumn", s, !1));
112
112
  }) : a("TableColumn", {
113
113
  attrs: {
114
- label: "\u70B9\u51FB\u8868\u683C\u884C\u590D\u5236\u6A21\u677F"
114
+ label: "点击表格行复制模板"
115
115
  },
116
116
  scopedSlots: e._u([{
117
117
  key: "default",
@@ -385,8 +385,8 @@ const r = {
385
385
  }
386
386
  } else {
387
387
  this.$notify.warning({
388
- title: "\u5F00\u53D1\u63D0\u793A\uFF01",
389
- message: "PageableTable \u8BF7\u63D0\u4F9B url(String) \u6216 api(Function) \u5C5E\u6027"
388
+ title: "开发提示!",
389
+ message: "PageableTable 请提供 url(String) api(Function) 属性"
390
390
  });
391
391
  return;
392
392
  }
@@ -1,6 +1,6 @@
1
1
  import { cloneDeep as n, merge as p, hasOwn as u } from "@web-utils/core";
2
- import { f as h, d as f, e as m } from "../../chunks/2bd4e340.js";
3
- import { n as b } from "../../chunks/6499de3a.js";
2
+ import { f as h, d as f, e as m } from "../../chunks/f71045fc.js";
3
+ import { n as b } from "../../chunks/5d4282fb.js";
4
4
  var y = function() {
5
5
  var e = this, t = e.$createElement, s = e._self._c || t;
6
6
  return s("div", {
@@ -23,7 +23,7 @@ var y = function() {
23
23
  }],
24
24
  staticClass: "flex-item-relative",
25
25
  attrs: {
26
- "element-loading-text": "\u52A0\u8F7D\u4E2D...",
26
+ "element-loading-text": "加载中...",
27
27
  "element-loading-background": "#fff"
28
28
  }
29
29
  }, [s("div", {
@@ -284,8 +284,8 @@ const a = {
284
284
  }
285
285
  } else {
286
286
  this.$notify.warning({
287
- title: "\u5F00\u53D1\u63D0\u793A\uFF01",
288
- message: "PageableTable \u8BF7\u63D0\u4F9B url(String) \u6216 api(Function) \u5C5E\u6027"
287
+ title: "开发提示!",
288
+ message: "PageableTable 请提供 url(String) api(Function) 属性"
289
289
  });
290
290
  return;
291
291
  }
@@ -2,7 +2,7 @@ import "photoswipe/dist/photoswipe.css";
2
2
  import "photoswipe/dist/default-skin/default-skin.css";
3
3
  import f from "photoswipe";
4
4
  import p from "photoswipe/dist/photoswipe-ui-default";
5
- import { n as u } from "../../chunks/6499de3a.js";
5
+ import { n as u } from "../../chunks/5d4282fb.js";
6
6
  function d(t, r, A, a) {
7
7
  const e = new f(t, r, A, {
8
8
  getThumbBoundsFn: function(s) {
@@ -106,17 +106,17 @@ var w = function() {
106
106
  }), A("button", {
107
107
  staticClass: "pswp__button pswp__button--close",
108
108
  attrs: {
109
- title: "\u5173\u95ED (Esc)"
109
+ title: "关闭 (Esc)"
110
110
  }
111
111
  }), A("button", {
112
112
  staticClass: "pswp__button pswp__button--fs",
113
113
  attrs: {
114
- title: "\u5207\u6362\u5168\u5C4F"
114
+ title: "切换全屏"
115
115
  }
116
116
  }), A("button", {
117
117
  staticClass: "pswp__button pswp__button--zoom",
118
118
  attrs: {
119
- title: "\u653E\u5927/\u7F29\u5C0F"
119
+ title: "放大/缩小"
120
120
  }
121
121
  }), A("div", {
122
122
  staticClass: "pswp__preloader"
@@ -152,7 +152,7 @@ var w = function() {
152
152
  href: "%url%",
153
153
  target: "_blank"
154
154
  }
155
- }, [t._v("\u56FE\u7247")]), t._v(" \u65E0\u6CD5\u52A0\u8F7D\uFF01")]);
155
+ }, [t._v("图片")]), t._v(" 无法加载!")]);
156
156
  }];
157
157
  const h = {
158
158
  name: "PhotoSwipe",
@@ -1,5 +1,5 @@
1
- import { g as o } from "../../chunks/2bd4e340.js";
2
- import { n as h } from "../../chunks/6499de3a.js";
1
+ import { g as o } from "../../chunks/f71045fc.js";
2
+ import { n as h } from "../../chunks/5d4282fb.js";
3
3
  var a = function() {
4
4
  var e = this, t = e.$createElement, r = e._self._c || t;
5
5
  return r("div", {
@@ -1,6 +1,6 @@
1
1
  import { copy, isInContainer } from "@web-utils/core";
2
2
  import ClickOutside from "element-ui/lib/utils/clickoutside";
3
- import { n as normalizeComponent } from "../../chunks/6499de3a.js";
3
+ import { n as normalizeComponent } from "../../chunks/5d4282fb.js";
4
4
  var render = function() {
5
5
  var t = this, r = t.$createElement, e = t._self._c || r;
6
6
  return e("div", {
@@ -30,7 +30,7 @@ var render = function() {
30
30
  ref: "searchInput",
31
31
  staticClass: "search-input",
32
32
  attrs: {
33
- placeholder: t.currentItem ? t.currentItem.name : "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22 ..."
33
+ placeholder: t.currentItem ? t.currentItem.name : "输入关键字搜索 ..."
34
34
  },
35
35
  domProps: {
36
36
  value: t.keyword
@@ -149,7 +149,7 @@ var render = function() {
149
149
  }
150
150
  }, [t._v("Result: " + t._s(t.evalResult))]), e("p", {
151
151
  staticClass: "url"
152
- }, [t._v("\u70B9\u51FB\u6216\u8FD9\u6309 Enter \u952E\u590D\u5236")])]), e("div", {
152
+ }, [t._v("点击或这按 Enter 键复制")])]), e("div", {
153
153
  staticClass: "search-icon search-action"
154
154
  }, [e("svg", {
155
155
  staticClass: "action",
@@ -208,7 +208,7 @@ var render = function() {
208
208
  "font-size": "12px",
209
209
  "margin-right": "20px"
210
210
  }
211
- }, [t._v("\u9009\u62E9")]), e("span", {
211
+ }, [t._v("选择")]), e("span", {
212
212
  staticClass: "keyboard-key"
213
213
  }, [e("svg", {
214
214
  attrs: {
@@ -251,7 +251,7 @@ var render = function() {
251
251
  "font-size": "12px",
252
252
  "margin-right": "20px"
253
253
  }
254
- }, [t._v("\u5207\u6362")]), e("span", {
254
+ }, [t._v("切换")]), e("span", {
255
255
  staticClass: "keyboard-key"
256
256
  }, [e("svg", {
257
257
  attrs: {
@@ -274,7 +274,7 @@ var render = function() {
274
274
  staticStyle: {
275
275
  "font-size": "12px"
276
276
  }
277
- }, [t._v("\u5173\u95ED")])])]);
277
+ }, [t._v("关闭")])])]);
278
278
  }, staticRenderFns = [function() {
279
279
  var t = this, r = t.$createElement, e = t._self._c || r;
280
280
  return e("div", {
@@ -1,4 +1,4 @@
1
- import { n } from "../../chunks/6499de3a.js";
1
+ import { n } from "../../chunks/5d4282fb.js";
2
2
  var o = function() {
3
3
  var t = this, e = t.$createElement, i = t._self._c || e;
4
4
  return i("div", {
@@ -46,7 +46,7 @@ var o = function() {
46
46
  return s.stopPropagation(), t.up.apply(null, arguments);
47
47
  }
48
48
  }
49
- }, [t._v("\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u624B\u5199\u7B7E\u540D ")])]), i("div", {
49
+ }, [t._v("当前浏览器不支持手写签名 ")])]), i("div", {
50
50
  staticClass: "sign-tool-bar"
51
51
  }, [i("div", {
52
52
  staticClass: "sign-button flex-item",
@@ -58,7 +58,7 @@ var o = function() {
58
58
  }
59
59
  }, [i("i", {
60
60
  staticClass: "fa fa-trash"
61
- }), t._v(" \u6E05\u9664 ")]), i("div", {
61
+ }), t._v(" 清除 ")]), i("div", {
62
62
  staticClass: "sign-button flex-item",
63
63
  staticStyle: {
64
64
  color: "red"
@@ -68,7 +68,7 @@ var o = function() {
68
68
  }
69
69
  }, [i("i", {
70
70
  staticClass: "fa fa-close"
71
- }), t._v(" \u53D6\u6D88 ")]), i("div", {
71
+ }), t._v(" 取消 ")]), i("div", {
72
72
  staticClass: "sign-button flex-item",
73
73
  staticStyle: {
74
74
  color: "orange"
@@ -78,7 +78,7 @@ var o = function() {
78
78
  }
79
79
  }, [i("i", {
80
80
  staticClass: "fa fa-repeat"
81
- }), t._v(" \u64A4\u9500 ")]), i("div", {
81
+ }), t._v(" 撤销 ")]), i("div", {
82
82
  staticClass: "sign-button flex-item",
83
83
  staticStyle: {
84
84
  color: "green"
@@ -88,7 +88,7 @@ var o = function() {
88
88
  }
89
89
  }, [i("i", {
90
90
  staticClass: "fa fa-check"
91
- }), t._v(" \u786E\u5B9A ")])])]), i("div", {
91
+ }), t._v(" 确定 ")])])]), i("div", {
92
92
  directives: [{
93
93
  name: "show",
94
94
  rawName: "v-show",
@@ -106,14 +106,14 @@ var o = function() {
106
106
  staticClass: "sign-image",
107
107
  attrs: {
108
108
  src: t.value,
109
- alt: "\u7B7E\u540D"
109
+ alt: "签名"
110
110
  }
111
111
  }) : t._e(), t.value ? t._e() : i("p", {
112
112
  staticClass: "sign-tips",
113
113
  style: {
114
114
  color: !t.value && t.disabled ? "red" : ""
115
115
  }
116
- }, [t._v(" " + t._s(t.disabled ? "\u672A\u7B7E\u540D" : "\u70B9\u51FB\u8FDB\u884C\u7B7E\u540D") + " ")]), t.disabled ? t._e() : i("i", {
116
+ }, [t._v(" " + t._s(t.disabled ? "未签名" : "点击进行签名") + " ")]), t.disabled ? t._e() : i("i", {
117
117
  staticClass: "el-icon-edit-outline sign-edit-icon"
118
118
  })])]);
119
119
  }, l = [];
@@ -134,7 +134,7 @@ const c = {
134
134
  },
135
135
  text: {
136
136
  type: String,
137
- default: "\u7B7E\u540D\u533A"
137
+ default: "签名区"
138
138
  },
139
139
  fontSize: {
140
140
  type: Number,
@@ -156,7 +156,7 @@ const c = {
156
156
  methods: {
157
157
  init() {
158
158
  if (this.stack = [], this.canvas = this.$refs.canvas, !this.canvas.getContext) {
159
- alert("\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u624B\u5199\u7B7E\u540D");
159
+ alert("当前浏览器不支持手写签名");
160
160
  return;
161
161
  }
162
162
  this.canvasInit();
@@ -176,7 +176,7 @@ const c = {
176
176
  this.ctx = this.canvas.getContext("2d"), this.ctx.lineCap = "round", this.ctx.lineWidth = this.lineWidth, this.ctx.clearRect(0, 0, this.width, this.height), this.blank = this.canvas.toDataURL("image/png");
177
177
  },
178
178
  drawWaterMark() {
179
- this.ctx.font = `${this.fontSize}px bold \u9ED1\u4F53`, this.ctx.fillStyle = "#eee", this.ctx.textAlign = "center", this.ctx.shadowBlur = 1, this.ctx.textBaseline = "middle", this.ctx.fillText(this.text, this.width / 2, this.height / 2);
179
+ this.ctx.font = `${this.fontSize}px bold 黑体`, this.ctx.fillStyle = "#eee", this.ctx.textAlign = "center", this.ctx.shadowBlur = 1, this.ctx.textBaseline = "middle", this.ctx.fillText(this.text, this.width / 2, this.height / 2);
180
180
  },
181
181
  down(t) {
182
182
  this.position(), this.startLine(t.clientX, t.clientY, t), this.target = t.target, this.target.addEventListener("mousemove", this.move), window.addEventListener("mouseup", this.up);
@@ -1,4 +1,4 @@
1
- import { n as h } from "../../chunks/6499de3a.js";
1
+ import { n as h } from "../../chunks/5d4282fb.js";
2
2
  function l(t, e) {
3
3
  for (let s = 0; s < e.length; s++)
4
4
  if (t === e[s])
@@ -1,4 +1,4 @@
1
- import { n as A } from "../../chunks/6499de3a.js";
1
+ import { n as A } from "../../chunks/5d4282fb.js";
2
2
  const v = {
3
3
  name: "Stateful",
4
4
  functional: !0,
@@ -1,5 +1,5 @@
1
1
  import { chunk as n } from "lodash";
2
- import { n as i } from "../../chunks/6499de3a.js";
2
+ import { n as i } from "../../chunks/5d4282fb.js";
3
3
  var o = function() {
4
4
  var e = this, t = e.$createElement, a = e._self._c || t;
5
5
  return a("div", {
@@ -10,7 +10,7 @@ var o = function() {
10
10
  data: e.records
11
11
  }
12
12
  }, "ElTable", e.$attrs, !1), e.$listeners), [e._t("default", function() {
13
- return [e._v("\u8BF7\u6DFB\u52A0\u8868\u683C\u5217")];
13
+ return [e._v("请添加表格列")];
14
14
  })], 2), a("ElPagination", {
15
15
  attrs: {
16
16
  "current-page": e.page.page,
@@ -1,5 +1,5 @@
1
1
  import { getEleWidth as a } from "@web-utils/core";
2
- import { n as o } from "../../chunks/6499de3a.js";
2
+ import { n as o } from "../../chunks/5d4282fb.js";
3
3
  var h = function() {
4
4
  var t = this, e = t.$createElement, s = t._self._c || e;
5
5
  return s("div", {
@@ -1,5 +1,5 @@
1
- import { p as a } from "../../chunks/8bbde9bf.js";
2
- import { n as s } from "../../chunks/6499de3a.js";
1
+ import { p as a } from "../../chunks/8c0142e0.js";
2
+ import { n as s } from "../../chunks/5d4282fb.js";
3
3
  var o = function() {
4
4
  var t = this, r = t.$createElement, e = t._self._c || r;
5
5
  return e("div", {
@@ -1,5 +1,5 @@
1
- import { c as n } from "../../chunks/8bbde9bf.js";
2
- import { n as l } from "../../chunks/6499de3a.js";
1
+ import { c as n } from "../../chunks/8c0142e0.js";
2
+ import { n as l } from "../../chunks/5d4282fb.js";
3
3
  var o = function() {
4
4
  var e = this, t = e.$createElement, a = e._self._c || t;
5
5
  return a("div", {
@@ -1,4 +1,4 @@
1
- import { n as o } from "../../chunks/6499de3a.js";
1
+ import { n as o } from "../../chunks/5d4282fb.js";
2
2
  const i = {
3
3
  props: {
4
4
  type: {