@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 } from "../../chunks/6499de3a.js";
1
+ import { n } from "../../chunks/5d4282fb.js";
2
2
  var i = function() {
3
3
  var e = this, t = e.$createElement, s = e._self._c || t;
4
4
  return s("div", {
@@ -1,6 +1,6 @@
1
1
  import a from "element-ui/src/mixins/emitter";
2
2
  import { generateId as n } from "element-ui/src/utils/util";
3
- import { n as c } from "../../chunks/6499de3a.js";
3
+ import { n as c } from "../../chunks/5d4282fb.js";
4
4
  var o = function() {
5
5
  var e = this, s = e.$createElement, t = e._self._c || s;
6
6
  return t("div", {
@@ -1,6 +1,6 @@
1
1
  import { Dialog as s } from "element-ui";
2
2
  import { dialogDrag as a } from "@web-utils/core/dist/directives/index";
3
- import { n } from "../../chunks/6499de3a.js";
3
+ import { n } from "../../chunks/5d4282fb.js";
4
4
  var r = function() {
5
5
  var e = this, l = e.$createElement, t = e._self._c || l;
6
6
  return t("Transition", {
@@ -61,7 +61,7 @@ var r = function() {
61
61
  type: "text",
62
62
  icon: e.fullScreen ? "el-icon-copy-document" : "el-icon-full-screen",
63
63
  size: "medium",
64
- title: e.fullScreen ? "\u8FD8\u539F" : "\u6700\u5927\u5316"
64
+ title: e.fullScreen ? "还原" : "最大化"
65
65
  },
66
66
  on: {
67
67
  click: e.toggleFullScreen
@@ -71,7 +71,7 @@ var r = function() {
71
71
  attrs: {
72
72
  "aria-label": "Close",
73
73
  type: "text",
74
- title: "\u5173\u95ED",
74
+ title: "关闭",
75
75
  icon: "el-icon-close",
76
76
  size: "medium"
77
77
  },
@@ -201,7 +201,7 @@ const u = {
201
201
  return !!((l = (e = this.$scopedSlots).footer) != null && l.call(e));
202
202
  },
203
203
  handleWrapperClick() {
204
- !this.closeOnClickModal || this.handleClose();
204
+ this.closeOnClickModal && this.handleClose();
205
205
  },
206
206
  handleClose() {
207
207
  typeof this.beforeClose == "function" ? this.beforeClose(this.hide) : this.hide();
@@ -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 r = {
23
23
  props: {
24
24
  emptyTips: {
25
25
  type: String,
26
- default: "\u6682\u65E0\u6570\u636E"
26
+ default: "暂无数据"
27
27
  },
28
28
  fontSize: {
29
29
  type: String,
@@ -1,4 +1,4 @@
1
- import { n as i } from "../../chunks/6499de3a.js";
1
+ import { n as i } from "../../chunks/5d4282fb.js";
2
2
  var o = function() {
3
3
  var e = this, t = e.$createElement, r = e._self._c || t;
4
4
  return r("div", {
@@ -23,7 +23,7 @@ const a = {
23
23
  props: {
24
24
  errorTips: {
25
25
  type: String,
26
- default: "\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"
26
+ default: "加载失败,请重试"
27
27
  },
28
28
  fontSize: {
29
29
  type: String,
@@ -1,5 +1,5 @@
1
- import { h as s } from "../../chunks/2bd4e340.js";
2
- import { n as a } from "../../chunks/6499de3a.js";
1
+ import { h as s } from "../../chunks/f71045fc.js";
2
+ import { n as a } from "../../chunks/5d4282fb.js";
3
3
  const c = {
4
4
  name: "FlexColumn",
5
5
  functional: !0,
@@ -1,5 +1,5 @@
1
- import { h as f } from "../../chunks/2bd4e340.js";
2
- import { n as s } from "../../chunks/6499de3a.js";
1
+ import { h as f } from "../../chunks/f71045fc.js";
2
+ import { n as s } from "../../chunks/5d4282fb.js";
3
3
  const r = {
4
4
  name: "FlexItem",
5
5
  functional: !0,
@@ -1,5 +1,5 @@
1
- import { h as s } from "../../chunks/2bd4e340.js";
2
- import { n as a } from "../../chunks/6499de3a.js";
1
+ import { h as s } from "../../chunks/f71045fc.js";
2
+ import { n as a } from "../../chunks/5d4282fb.js";
3
3
  const c = {
4
4
  name: "FlexRow",
5
5
  functional: !0,
@@ -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 r = function() {
3
3
  var e = this, l = e.$createElement, n = e._self._c || l;
4
4
  return n("div", {
@@ -1,5 +1,5 @@
1
- import { c as r } from "../../chunks/7af3ceb1.js";
2
- import { n as o } from "../../chunks/6499de3a.js";
1
+ import { c as r } from "../../chunks/3a79781b.js";
2
+ import { n as o } from "../../chunks/5d4282fb.js";
3
3
  const i = {
4
4
  name: "Confirmable",
5
5
  mixins: [r]
@@ -1,9 +1,9 @@
1
- import { f as s } from "../../chunks/86bcadec.js";
2
- import { f as a } from "../../chunks/a73fe8ee.js";
1
+ import { f as s } from "../../chunks/76680a03.js";
2
+ import { f as a } from "../../chunks/61ad06b2.js";
3
3
  import { Cascader as i } from "element-ui";
4
- import { i as u, n as p } from "../../chunks/2bd4e340.js";
4
+ import { i as u, n as p } from "../../chunks/f71045fc.js";
5
5
  import { findTreeChildren as c, cloneDeep as d, setParent as m } from "@web-utils/core";
6
- import { n as f } from "../../chunks/6499de3a.js";
6
+ import { n as f } from "../../chunks/5d4282fb.js";
7
7
  var h = function() {
8
8
  var e = this, t = e.$createElement, r = e._self._c || t;
9
9
  return r("FormItem", e._b({
@@ -1,8 +1,8 @@
1
- import { f as n } from "../../chunks/86bcadec.js";
2
- import { f as s } from "../../chunks/a73fe8ee.js";
3
- import { i as a, n as u } from "../../chunks/2bd4e340.js";
1
+ import { f as n } from "../../chunks/76680a03.js";
2
+ import { f as s } from "../../chunks/61ad06b2.js";
3
+ import { i as a, n as u } from "../../chunks/f71045fc.js";
4
4
  import { CheckboxGroup as p } from "element-ui";
5
- import { n as h } from "../../chunks/6499de3a.js";
5
+ import { n as h } from "../../chunks/5d4282fb.js";
6
6
  var c = function() {
7
7
  var e = this, r = e.$createElement, o = e._self._c || r;
8
8
  return o("FormItem", e._b({
@@ -128,7 +128,7 @@ const m = Object.keys(p.props).filter((e) => !["value", "placeholder", "disabled
128
128
  },
129
129
  computed: {
130
130
  prefix() {
131
- return "\u8BF7\u9009\u62E9";
131
+ return "请选择";
132
132
  },
133
133
  labelKey() {
134
134
  return this.classic ? "label" : this.labelProp;
@@ -142,21 +142,21 @@ const m = Object.keys(p.props).filter((e) => !["value", "placeholder", "disabled
142
142
  innerOptions() {
143
143
  return this.gender ? [
144
144
  {
145
- [this.labelKey]: "\u7537",
146
- [this.valueKey]: "\u7537"
145
+ [this.labelKey]: "",
146
+ [this.valueKey]: ""
147
147
  },
148
148
  {
149
- [this.labelKey]: "\u5973",
150
- [this.valueKey]: "\u5973"
149
+ [this.labelKey]: "",
150
+ [this.valueKey]: ""
151
151
  }
152
152
  ] : this.confirm ? [
153
153
  {
154
- [this.labelKey]: "\u662F",
155
- [this.valueKey]: "\u662F"
154
+ [this.labelKey]: "",
155
+ [this.valueKey]: ""
156
156
  },
157
157
  {
158
- [this.labelKey]: "\u5426",
159
- [this.valueKey]: "\u5426"
158
+ [this.labelKey]: "",
159
+ [this.valueKey]: ""
160
160
  }
161
161
  ] : this.options;
162
162
  },
@@ -1,8 +1,8 @@
1
- import { f as o } from "../../chunks/86bcadec.js";
2
- import { f as l } from "../../chunks/a73fe8ee.js";
1
+ import { f as o } from "../../chunks/76680a03.js";
2
+ import { f as l } from "../../chunks/61ad06b2.js";
3
3
  import { toDate as n } from "@web-utils/core";
4
- import { i as m, n as u } from "../../chunks/2bd4e340.js";
5
- import { n as p } from "../../chunks/6499de3a.js";
4
+ import { i as m, n as u } from "../../chunks/f71045fc.js";
5
+ import { n as p } from "../../chunks/5d4282fb.js";
6
6
  var h = function() {
7
7
  var e = this, t = e.$createElement, r = e._self._c || t;
8
8
  return r("FormItem", e._b({
@@ -103,7 +103,7 @@ const f = ["type", "timeArrowControl", "size", "format", "valueFormat", "readonl
103
103
  },
104
104
  computed: {
105
105
  prefix() {
106
- return "\u8BF7\u9009\u62E9";
106
+ return "请选择";
107
107
  },
108
108
  mini() {
109
109
  if (this.miniDate) {
@@ -134,7 +134,7 @@ const f = ["type", "timeArrowControl", "size", "format", "valueFormat", "readonl
134
134
  return this.value;
135
135
  },
136
136
  fat() {
137
- return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy \u7B2C WW \u5468" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm" : "yyyy-MM-dd";
137
+ return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy WW " : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm" : "yyyy-MM-dd";
138
138
  },
139
139
  inputProps() {
140
140
  return m({
@@ -142,9 +142,9 @@ const f = ["type", "timeArrowControl", "size", "format", "valueFormat", "readonl
142
142
  ...this.$props,
143
143
  valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
144
144
  format: this.format || this.fat,
145
- rangeSeparator: this.rangeSeparator || "\u81F3",
146
- startPlaceholder: this.startPlaceholder || "\u5F00\u59CB\u65E5\u671F",
147
- endPlaceholder: this.endPlaceholder || "\u7ED3\u675F\u65E5\u671F"
145
+ rangeSeparator: this.rangeSeparator || "",
146
+ startPlaceholder: this.startPlaceholder || "开始日期",
147
+ endPlaceholder: this.endPlaceholder || "结束日期"
148
148
  }, f);
149
149
  },
150
150
  range() {
@@ -1,6 +1,6 @@
1
1
  import { warning as l } from "@web-utils/core";
2
- import { j as a } from "../../chunks/2bd4e340.js";
3
- import { n as s } from "../../chunks/6499de3a.js";
2
+ import { j as a } from "../../chunks/f71045fc.js";
3
+ import { n as s } from "../../chunks/5d4282fb.js";
4
4
  var o = function() {
5
5
  var e = this, r = e.$createElement, i = e._self._c || r;
6
6
  return i("ElForm", e._g(e._b({
@@ -53,7 +53,7 @@ const d = {
53
53
  }
54
54
  },
55
55
  created() {
56
- this.required || l.call(a(this, (e) => ["FormView", "FormHolder"].includes(e.$options.name)), "\u4E00\u822C\u60C5\u51B5\u4E0B\u4E0D\u5EFA\u8BAE\u8BBE\u7F6E required=false,\u56E0\u4E3A required \u8BBE\u7F6E\u4E3A false \u540E\u5FC5\u586B\u5B57\u6BB5\u8981\u81EA\u884C\u7EF4\u62A4,\u5728\u5904\u7406\u8868\u683C\u65F6\u4F1A\u6BD4\u8F83\u590D\u6742,\u8BF7\u81EA\u884C\u6743\u8861\u5229\u5F0A");
56
+ this.required || l.call(a(this, (e) => ["FormView", "FormHolder"].includes(e.$options.name)), "一般情况下不建议设置 required=false,因为 required 设置为 false 后必填字段要自行维护,在处理表格时会比较复杂,请自行权衡利弊");
57
57
  },
58
58
  methods: {
59
59
  clearValidate(e) {
@@ -1,7 +1,7 @@
1
- import { f as l } from "../../chunks/86bcadec.js";
1
+ import { f as l } from "../../chunks/76680a03.js";
2
2
  import { Input as u } from "element-ui";
3
- import { i as a, n as i } from "../../chunks/2bd4e340.js";
4
- import { n as p } from "../../chunks/6499de3a.js";
3
+ import { i as a, n as i } from "../../chunks/f71045fc.js";
4
+ import { n as p } from "../../chunks/5d4282fb.js";
5
5
  var m = function() {
6
6
  var e = this, t = e.$createElement, r = e._self._c || t;
7
7
  return r("FormItem", e._b({
@@ -1,7 +1,7 @@
1
- import { f as s } from "../../chunks/86bcadec.js";
1
+ import { f as s } from "../../chunks/76680a03.js";
2
2
  import { Input as a } from "element-ui";
3
- import { i as u, n as i } from "../../chunks/2bd4e340.js";
4
- import { n as p } from "../../chunks/6499de3a.js";
3
+ import { i as u, n as i } from "../../chunks/f71045fc.js";
4
+ import { n as p } from "../../chunks/5d4282fb.js";
5
5
  const m = (e, r, t) => r && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(r) ? t(new Error("invalid")) : t();
6
6
  var c = function() {
7
7
  var e = this, r = e.$createElement, t = e._self._c || r;
@@ -70,7 +70,7 @@ const f = Object.keys(a.props).filter((e) => !["value", "placeholder", "disabled
70
70
  getRules() {
71
71
  return [{
72
72
  validator: m,
73
- message: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\uFF01"
73
+ message: "请输入正确的邮箱!"
74
74
  }];
75
75
  }
76
76
  }
@@ -1,8 +1,8 @@
1
- import { f as a } from "../../chunks/86bcadec.js";
1
+ import { f as a } from "../../chunks/76680a03.js";
2
2
  import { validateIdCard as s } from "@web-utils/core";
3
3
  import { Input as i } from "element-ui";
4
- import { i as u, n as p } from "../../chunks/2bd4e340.js";
5
- import { n as m } from "../../chunks/6499de3a.js";
4
+ import { i as u, n as p } from "../../chunks/f71045fc.js";
5
+ import { n as m } from "../../chunks/5d4282fb.js";
6
6
  var d = function() {
7
7
  var r = this, e = r.$createElement, t = r._self._c || e;
8
8
  return t("FormItem", r._b({
@@ -77,7 +77,7 @@ const _ = Object.keys(i.props).filter((r) => !["value", "placeholder", "disabled
77
77
  getRules() {
78
78
  return [{
79
79
  validator: s,
80
- message: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801\uFF01"
80
+ message: "请输入正确的身份证号码!"
81
81
  }];
82
82
  }
83
83
  }
@@ -1,7 +1,7 @@
1
- import { f as i } from "../../chunks/86bcadec.js";
2
- import { i as s, n as p } from "../../chunks/2bd4e340.js";
3
- import { i as l } from "../../chunks/df803484.js";
4
- import { n as a } from "../../chunks/6499de3a.js";
1
+ import { f as i } from "../../chunks/76680a03.js";
2
+ import { i as s, n as p } from "../../chunks/f71045fc.js";
3
+ import { i as l } from "../../chunks/41a066be.js";
4
+ import { n as a } from "../../chunks/5d4282fb.js";
5
5
  var m = function() {
6
6
  var e = this, r = e.$createElement, n = e._self._c || r;
7
7
  return n("FormItem", e._b({
@@ -1,8 +1,8 @@
1
- import { f as s } from "../../chunks/86bcadec.js";
1
+ import { f as s } from "../../chunks/76680a03.js";
2
2
  import { validatePhoneNum as u } from "@web-utils/core";
3
- import { i as a, n as i } from "../../chunks/2bd4e340.js";
3
+ import { i as a, n as i } from "../../chunks/f71045fc.js";
4
4
  import { Input as p } from "element-ui";
5
- import { n as m } from "../../chunks/6499de3a.js";
5
+ import { n as m } from "../../chunks/5d4282fb.js";
6
6
  var c = function() {
7
7
  var e = this, t = e.$createElement, r = e._self._c || t;
8
8
  return r("FormItem", e._b({
@@ -68,7 +68,7 @@ const f = Object.keys(p.props).filter((e) => !["value", "placeholder", "disabled
68
68
  getRules() {
69
69
  return [{
70
70
  validator: u,
71
- message: "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801\uFF01"
71
+ message: "请输入正确的手机号码!"
72
72
  }];
73
73
  },
74
74
  emitInput(e) {
@@ -1,7 +1,7 @@
1
- import { f as i } from "../../chunks/86bcadec.js";
1
+ import { f as i } from "../../chunks/76680a03.js";
2
2
  import { TimePicker as l } from "element-ui";
3
- import { i as s, n as u } from "../../chunks/2bd4e340.js";
4
- import { n as m } from "../../chunks/6499de3a.js";
3
+ import { i as s, n as u } from "../../chunks/f71045fc.js";
4
+ import { n as m } from "../../chunks/5d4282fb.js";
5
5
  var p = function() {
6
6
  var e = this, t = e.$createElement, n = e._self._c || t;
7
7
  return n("FormItem", e._b({
@@ -28,8 +28,8 @@ var p = function() {
28
28
  maxTime: e.maxTime,
29
29
  selectableRange: e.selectableRange
30
30
  },
31
- "start-placeholder": "\u5F00\u59CB\u65F6\u95F4",
32
- "end-placeholder": "\u7ED3\u675F\u65F6\u95F4",
31
+ "start-placeholder": "开始时间",
32
+ "end-placeholder": "结束时间",
33
33
  placeholder: e.computePlaceholder
34
34
  },
35
35
  on: {
@@ -95,7 +95,7 @@ const f = Object.keys(l.props).filter((e) => !["value", "placeholder", "disabled
95
95
  },
96
96
  computed: {
97
97
  prefix() {
98
- return "\u8BF7\u9009\u62E9";
98
+ return "请选择";
99
99
  },
100
100
  inputProps() {
101
101
  return s({ ...u(this.$attrs), ...this.$props }, f);
@@ -1,6 +1,6 @@
1
- import { f as E } from "../../chunks/92404ceb.js";
1
+ import { f as E } from "../../chunks/b4acd3a6.js";
2
2
  import { hasOwn as _ } from "@web-utils/core";
3
- import { n as W } from "../../chunks/6499de3a.js";
3
+ import { n as W } from "../../chunks/5d4282fb.js";
4
4
  const j = {
5
5
  name: "FormItem",
6
6
  mixins: [E],
@@ -14,11 +14,10 @@ const j = {
14
14
  },
15
15
  computed: {
16
16
  gutter() {
17
- var r;
18
17
  let e = this.$parent;
19
18
  for (; e && e.$options.componentName !== "ElRow"; )
20
19
  e = e.$parent;
21
- return (r = e == null ? void 0 : e.gutter) != null ? r : 0;
20
+ return (e == null ? void 0 : e.gutter) ?? 0;
22
21
  }
23
22
  },
24
23
  methods: {
@@ -46,7 +45,7 @@ const j = {
46
45
  let i = u, d = s, p = s, h = g, w = F;
47
46
  f && (_(f, "block") && (h = f.block), _(f, "wrapCol") && (w = f.wrapCol));
48
47
  const $ = h && q && w ? `calc( 50% - ${this.gutter / 2}px)` : "";
49
- return k || (n == null ? void 0 : n.disabled) ? (i = [], o && !o.required && !((I = o.requiredFields) != null && I.includes(l)) && (p = !1)) : (o && !o.required && !((C = o.requiredFields) != null && C.includes(l)) && (d = !1), d && !(i != null && i.length) && l ? i = [y()] : d || (p = !1, i && (i = i.filter((R) => !R.required)))), x ? e("ElFormItem", {
48
+ return k || n != null && n.disabled ? (i = [], o && !o.required && !((I = o.requiredFields) != null && I.includes(l)) && (p = !1)) : (o && !o.required && !((C = o.requiredFields) != null && C.includes(l)) && (d = !1), d && !(i != null && i.length) && l ? i = [y()] : d || (p = !1, i && (i = i.filter((R) => !R.required)))), x ? e("ElFormItem", {
50
49
  style: {
51
50
  width: $
52
51
  },
@@ -1,4 +1,4 @@
1
- import { n as r } from "../../chunks/6499de3a.js";
1
+ import { n as r } from "../../chunks/5d4282fb.js";
2
2
  const n = {
3
3
  name: "FormItemConfigProvider",
4
4
  provide() {
@@ -1,5 +1,5 @@
1
1
  import { isFunction as m } from "@web-utils/core";
2
- import { n as u } from "../../chunks/6499de3a.js";
2
+ import { n as u } from "../../chunks/5d4282fb.js";
3
3
  const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], c = ["$emit", "validate", "clearValidate"], p = {
4
4
  name: "FormItemGroup",
5
5
  inject: {
@@ -102,7 +102,7 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
102
102
  }) : e("EmptyView", {
103
103
  attrs: {
104
104
  "font-size": "14px",
105
- "empty-tips": "\u6682\u65E0\u4FE1\u606F"
105
+ "empty-tips": "暂无信息"
106
106
  }
107
107
  });
108
108
  },
@@ -1,8 +1,8 @@
1
- import { f as n } from "../../chunks/86bcadec.js";
2
- import { f as s } from "../../chunks/a73fe8ee.js";
1
+ import { f as n } from "../../chunks/76680a03.js";
2
+ import { f as s } from "../../chunks/61ad06b2.js";
3
3
  import { RadioGroup as a } from "element-ui";
4
- import { i as u, n as p } from "../../chunks/2bd4e340.js";
5
- import { n as c } from "../../chunks/6499de3a.js";
4
+ import { i as u, n as p } from "../../chunks/f71045fc.js";
5
+ import { n as c } from "../../chunks/5d4282fb.js";
6
6
  var f = function() {
7
7
  var e = this, o = e.$createElement, r = e._self._c || o;
8
8
  return r("FormItem", e._b({
@@ -106,7 +106,7 @@ const d = Object.keys(a.props).filter((e) => !["value", "placeholder", "disabled
106
106
  },
107
107
  computed: {
108
108
  prefix() {
109
- return "\u8BF7\u9009\u62E9";
109
+ return "请选择";
110
110
  },
111
111
  inputProps() {
112
112
  return u({ ...p(this.$attrs), ...this.$props }, d);
@@ -120,21 +120,21 @@ const d = Object.keys(a.props).filter((e) => !["value", "placeholder", "disabled
120
120
  innerOptions() {
121
121
  return this.gender ? [
122
122
  {
123
- [this.labelKey]: "\u7537",
124
- [this.valueKey]: this.chinese ? "\u7537" : this.typing ? 1 : "1"
123
+ [this.labelKey]: "",
124
+ [this.valueKey]: this.chinese ? "" : this.typing ? 1 : "1"
125
125
  },
126
126
  {
127
- [this.labelKey]: "\u5973",
128
- [this.valueKey]: this.chinese ? "\u5973" : this.typing ? 2 : "2"
127
+ [this.labelKey]: "",
128
+ [this.valueKey]: this.chinese ? "" : this.typing ? 2 : "2"
129
129
  }
130
130
  ] : this.confirm ? [
131
131
  {
132
- [this.labelKey]: "\u662F",
133
- [this.valueKey]: this.chinese ? "\u662F" : this.english ? "Y" : this.typing ? 1 : "1"
132
+ [this.labelKey]: "",
133
+ [this.valueKey]: this.chinese ? "" : this.english ? "Y" : this.typing ? 1 : "1"
134
134
  },
135
135
  {
136
- [this.labelKey]: "\u5426",
137
- [this.valueKey]: this.chinese ? "\u5426" : this.english ? "N" : this.typing ? 0 : "0"
136
+ [this.labelKey]: "",
137
+ [this.valueKey]: this.chinese ? "" : this.english ? "N" : this.typing ? 0 : "0"
138
138
  }
139
139
  ] : this.options;
140
140
  }
@@ -1,8 +1,8 @@
1
- import { f as s } from "../../chunks/86bcadec.js";
2
- import { f as o } from "../../chunks/a73fe8ee.js";
1
+ import { f as s } from "../../chunks/76680a03.js";
2
+ import { f as o } from "../../chunks/61ad06b2.js";
3
3
  import { Select as a } from "element-ui";
4
- import { i as u, n as p } from "../../chunks/2bd4e340.js";
5
- import { n as c } from "../../chunks/6499de3a.js";
4
+ import { i as u, n as p } from "../../chunks/f71045fc.js";
5
+ import { n as c } from "../../chunks/5d4282fb.js";
6
6
  var h = function() {
7
7
  var e = this, l = e.$createElement, t = e._self._c || l;
8
8
  return t("FormItem", e._b({
@@ -93,7 +93,7 @@ const m = Object.keys(a.props).filter((e) => !["value", "placeholder", "disabled
93
93
  },
94
94
  computed: {
95
95
  prefix() {
96
- return "\u8BF7\u9009\u62E9";
96
+ return "请选择";
97
97
  },
98
98
  labelKey() {
99
99
  return this.classic ? "label" : this.labelProp;
@@ -107,23 +107,23 @@ const m = Object.keys(a.props).filter((e) => !["value", "placeholder", "disabled
107
107
  innerOptions() {
108
108
  return this.gender ? [
109
109
  {
110
- [this.labelKey]: "\u7537",
111
- [this.valueKey]: this.chinese ? "\u7537" : this.typing ? 1 : "1"
110
+ [this.labelKey]: "",
111
+ [this.valueKey]: this.chinese ? "" : this.typing ? 1 : "1"
112
112
  },
113
113
  {
114
- [this.labelKey]: "\u5973",
115
- [this.valueKey]: this.chinese ? "\u5973" : this.typing ? 2 : "2"
114
+ [this.labelKey]: "",
115
+ [this.valueKey]: this.chinese ? "" : this.typing ? 2 : "2"
116
116
  }
117
117
  ] : this.confirm ? [
118
118
  {
119
- [this.labelKey]: "\u662F",
120
- [this.valueKey]: this.chinese ? "\u662F" : this.english ? "Y" : this.typing ? 1 : "1"
119
+ [this.labelKey]: "",
120
+ [this.valueKey]: this.chinese ? "" : this.english ? "Y" : this.typing ? 1 : "1"
121
121
  },
122
122
  {
123
- [this.labelKey]: "\u5426",
124
- [this.valueKey]: this.chinese ? "\u5426" : this.english ? "N" : this.typing ? 0 : "0"
123
+ [this.labelKey]: "",
124
+ [this.valueKey]: this.chinese ? "" : this.english ? "N" : this.typing ? 0 : "0"
125
125
  }
126
- ] : this.all ? [{ [this.valueKey]: "", [this.labelKey]: "\u5168\u90E8" }, ...this.options] : this.options;
126
+ ] : this.all ? [{ [this.valueKey]: "", [this.labelKey]: "全部" }, ...this.options] : this.options;
127
127
  }
128
128
  },
129
129
  methods: {
@@ -1,7 +1,7 @@
1
- import { f as i } from "../../chunks/86bcadec.js";
1
+ import { f as i } from "../../chunks/76680a03.js";
2
2
  import { Switch as s } from "element-ui";
3
- import { i as u, n as a } from "../../chunks/2bd4e340.js";
4
- import { n as p } from "../../chunks/6499de3a.js";
3
+ import { i as u, n as a } from "../../chunks/f71045fc.js";
4
+ import { n as p } from "../../chunks/5d4282fb.js";
5
5
  var c = function() {
6
6
  var e = this, t = e.$createElement, r = e._self._c || t;
7
7
  return r("FormItem", e._b({
@@ -1,7 +1,7 @@
1
- import { f as s } from "../../chunks/86bcadec.js";
2
- import { i, n as a } from "../../chunks/2bd4e340.js";
1
+ import { f as s } from "../../chunks/76680a03.js";
2
+ import { i, n as a } from "../../chunks/f71045fc.js";
3
3
  import { Input as u } from "element-ui";
4
- import { n as p } from "../../chunks/6499de3a.js";
4
+ import { n as p } from "../../chunks/5d4282fb.js";
5
5
  var m = function() {
6
6
  var e = this, t = e.$createElement, o = e._self._c || t;
7
7
  return o("FormItem", e._b({
@@ -1,5 +1,5 @@
1
1
  import { hasOwn as a, merge as m, toStringArray as h, animate as p, isInContainer as b } from "@web-utils/core";
2
- import { n as v } from "../../chunks/6499de3a.js";
2
+ import { n as v } from "../../chunks/5d4282fb.js";
3
3
  var _ = function() {
4
4
  var t = this, e = t.$createElement, o = t._self._c || e;
5
5
  return o("div", {
@@ -67,7 +67,7 @@ var _ = function() {
67
67
  }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
68
68
  return [o("EmptyView", {
69
69
  attrs: {
70
- "empty-tips": "\u8BF7\u6DFB\u52A0\u8868\u5355\u5185\u5BB9"
70
+ "empty-tips": "请添加表单内容"
71
71
  }
72
72
  })];
73
73
  }), t.footerBarButtons.length ? o("Toolbar", t._g(t._b({
@@ -108,7 +108,7 @@ var _ = function() {
108
108
  }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
109
109
  return [o("EmptyView", {
110
110
  attrs: {
111
- "empty-tips": "\u8BF7\u6DFB\u52A0\u8868\u5355\u5185\u5BB9"
111
+ "empty-tips": "请添加表单内容"
112
112
  }
113
113
  })];
114
114
  }), t.footerBarButtons.length ? o("Toolbar", t._g(t._b({
@@ -149,7 +149,7 @@ var _ = function() {
149
149
  staticClass: "form-content"
150
150
  }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? o("FormItemGroup", {
151
151
  attrs: {
152
- "block-title": "\u6D41\u7A0B\u65E5\u5FD7"
152
+ "block-title": "流程日志"
153
153
  }
154
154
  }, [o("FlowLog", {
155
155
  staticClass: "flow-log",
@@ -166,7 +166,7 @@ var _ = function() {
166
166
  staticClass: "form-nav"
167
167
  }, [o("div", {
168
168
  staticClass: "form-nav-header"
169
- }, [t._v(" \u8868\u5355\u5BFC\u822A ")]), o("ul", {
169
+ }, [t._v(" 表单导航 ")]), o("ul", {
170
170
  staticClass: "form-nav-list"
171
171
  }, t._l(t.groups, function(r, s) {
172
172
  return o("li", {
@@ -299,13 +299,13 @@ const u = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
299
299
  !this.toolbarListeners.edit && a(this.$parent, "disabled") && (this.$parent.disabled = !1);
300
300
  },
301
301
  async navItemClick(t, e) {
302
- !this.showNav || (await this.$nextTick(), this.activeFormItemGroup(t, e), t.expand || t.open());
302
+ this.showNav && (await this.$nextTick(), this.activeFormItemGroup(t, e), t.expand || t.open());
303
303
  },
304
304
  activeFormItemGroup(t, e) {
305
305
  this.$refs.formScroller.scrollTop = t.$el.offsetTop - 10, p(t.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = e;
306
306
  },
307
307
  async tryActive() {
308
- if (!!this.showNav) {
308
+ if (this.showNav) {
309
309
  for (let t = 0; t < this.groups.length; t++)
310
310
  if (b(this.groups[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
311
311
  this.activeIndex = t;
@@ -1,4 +1,4 @@
1
- import { n as i } from "../../chunks/6499de3a.js";
1
+ import { n as i } from "../../chunks/5d4282fb.js";
2
2
  var n = function() {
3
3
  var t = this, e = t.$createElement, a = t._self._c || e;
4
4
  return a("ElSteps", {