@das-fed/ui 6.4.0-test.20 → 6.4.0-test.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/ui",
3
- "version": "6.4.0-test.20",
3
+ "version": "6.4.0-test.21",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -26,7 +26,7 @@
26
26
  "@antv/x6-plugin-snapline": "^2.1.7",
27
27
  "@antv/x6-plugin-transform": "^2.1.8",
28
28
  "@antv/x6-vue-shape": "^2.1.2",
29
- "@das-fed/cli": "6.4.0-test.20",
29
+ "@das-fed/cli": "6.4.0-test.21",
30
30
  "@element-plus/icons-vue": "^2.3.1",
31
31
  "@types/lodash": "^4.14.194",
32
32
  "@types/lodash-es": "^4.17.9",
@@ -56,9 +56,9 @@
56
56
  "vue-tsc": "^2.0.29"
57
57
  },
58
58
  "dependencies": {
59
- "@das-fed/ui": "6.4.0-test.20",
60
- "@das-fed/utils": "6.4.0-test.20",
61
- "@das-fed/web": "6.4.0-test.20",
59
+ "@das-fed/ui": "6.4.0-test.21",
60
+ "@das-fed/utils": "6.4.0-test.21",
61
+ "@das-fed/web": "6.4.0-test.21",
62
62
  "@wangeditor/editor": "^5.1.23",
63
63
  "@wangeditor/editor-for-vue": "^5.1.12",
64
64
  "@wangeditor/plugin-upload-attachment": "^1.1.0",
@@ -1,13 +1,13 @@
1
1
  import '@das-fed/ui/packages/components/cascader/style.css';
2
- import { defineComponent as be, useCssVars as ye, ref as l, useAttrs as ge, computed as i, watch as I, watchEffect as xe, openBlock as d, createElementBlock as p, normalizeClass as Ve, normalizeStyle as g, createVNode as R, unref as v, withCtx as T, withDirectives as G, mergeProps as Te, isRef as Ce, renderSlot as J, normalizeProps as ke, guardReactiveProps as we, createTextVNode as K, toDisplayString as C, Fragment as Q, createElementVNode as H, createBlock as ze, Teleport as Be, createCommentVNode as X, nextTick as Y } from "vue";
2
+ import { defineComponent as be, useCssVars as ye, ref as l, useAttrs as ge, computed as i, watch as I, watchEffect as xe, openBlock as d, createElementBlock as p, normalizeClass as Ve, normalizeStyle as g, createVNode as R, unref as v, withCtx as T, withDirectives as J, mergeProps as Te, isRef as Ce, renderSlot as K, normalizeProps as ke, guardReactiveProps as we, createTextVNode as Q, toDisplayString as C, Fragment as X, createElementVNode as H, createBlock as ze, Teleport as Be, createCommentVNode as Y, nextTick as ee } from "vue";
3
3
  import { withInstall as Me } from "@das-fed/utils/with-install/index";
4
4
  import { ElCascader as Fe } from "element-plus";
5
5
  import "element-plus/es/components/cascader/style/css";
6
6
  import { vHoverInside as He } from "@das-fed/utils/directive/hoverInside/index";
7
- import { getVarValue as ee, getVar as ae, setThemeRule as _e } from "@das-fed/web/packages/theme/index";
7
+ import { getVarValue as ae, getVar as oe, setThemeRule as _e } from "@das-fed/web/packages/theme/index";
8
8
  import { t as Ee, setI18nRule as De } from "@das-fed/web/packages/i18n/index";
9
9
  import { vScrollbar as Se } from "@das-fed/ui/packages/components/scrollbar/index";
10
- import { DasTooltip as oe } from "@das-fed/ui/packages/components/tooltip/index";
10
+ import { DasTooltip as te } from "@das-fed/ui/packages/components/tooltip/index";
11
11
  import { calcTextWidth as Pe } from "@das-fed/utils/common-tools";
12
12
  import { useModelValue as Le } from "@das-fed/utils/vue";
13
13
  const Ie = { style: { maxheight: "200px" } }, Re = {
@@ -40,18 +40,18 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
40
40
  emits: ["update:model-value", "change"],
41
41
  setup(k, { expose: _, emit: w }) {
42
42
  ye((e) => ({
43
- "4e9c6907": pe.value,
44
- "6b21be06": ve.value,
45
- b88d06fa: P.value
43
+ efddac7c: pe.value,
44
+ "604514ab": ve.value,
45
+ "2618b704": P.value
46
46
  }));
47
- const a = k, t = Le(a, "modelValue"), te = l(null), W = w, le = ge(), f = l(null), x = l(null), $ = l(null), z = l(), E = l(!1), B = i(() => a.isView ? a.noSetDefaultVal ? " " : "-" : a.placeholder ?? " "), m = l(0), h = l(0), n = l(!1), re = i(() => (Array.isArray(t.value) ? t.value.length : t.value) ? z.value : B.value), M = i(() => {
47
+ const a = k, t = Le(a, "modelValue"), le = l(null), W = w, re = ge(), f = l(null), x = l(null), $ = l(null), z = l(), E = l(!1), B = i(() => a.isView ? a.noSetDefaultVal ? " " : "-" : a.placeholder ?? " "), m = l(0), h = l(0), n = l(!1), se = i(() => (Array.isArray(t.value) ? t.value.length : t.value) ? z.value : B.value), M = i(() => {
48
48
  var e;
49
49
  return x.value ? (e = x.value) == null ? void 0 : e.querySelector(".el-input__inner") : null;
50
50
  }), A = () => {
51
51
  const e = a.size === "table" ? 12 : 14;
52
52
  return Pe(B.value, e);
53
- }, se = () => {
54
- Y(() => {
53
+ }, N = () => {
54
+ ee(() => {
55
55
  var e, o;
56
56
  if (M.value) {
57
57
  m.value = ((e = M.value) == null ? void 0 : e.offsetWidth) ?? 0;
@@ -72,7 +72,7 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
72
72
  }
73
73
  }, 200);
74
74
  }
75
- ), I(() => [B.value, t.value], se);
75
+ ), I(() => [B.value, t.value], N);
76
76
  const b = l();
77
77
  I(
78
78
  () => {
@@ -99,7 +99,7 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
99
99
  padding: "4px 8px",
100
100
  "box-sizing": "border-box",
101
101
  "z-index": a.errorModelZIndex,
102
- "background-color": ee("--das-ui-color-overlay-error").value
102
+ "background-color": ae("--das-ui-color-overlay-error").value
103
103
  })), ue = i(() => ({
104
104
  ...S.value,
105
105
  width: D.value + "px",
@@ -109,37 +109,37 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
109
109
  left: V.value.x + "px"
110
110
  })), F = l({
111
111
  display: "block",
112
- color: ee("--das-ui-cascader-overlay-error-color").value,
112
+ color: ae("--das-ui-cascader-overlay-error-color").value,
113
113
  "white-space": "break-spaces"
114
114
  }), ie = () => {
115
- var Z, j;
115
+ var j, q;
116
116
  const e = () => {
117
117
  var u = document.createElement("div");
118
- for (let [L, U] of Object.entries({
118
+ for (let [L, G] of Object.entries({
119
119
  ...S.value,
120
120
  ...F.value,
121
121
  width: D.value + "px"
122
122
  }))
123
- u.style[L] = U;
123
+ u.style[L] = G;
124
124
  u.textContent = a.errorLabel, document.body.appendChild(u);
125
- const q = u.offsetHeight;
126
- return document.body.removeChild(u), q;
125
+ const U = u.offsetHeight;
126
+ return document.body.removeChild(u), U;
127
127
  }, o = () => {
128
128
  const u = document.documentElement.clientHeight, L = document.documentElement.scrollHeight - u;
129
129
  return u - L;
130
130
  };
131
- D.value = (Z = x.value) == null ? void 0 : Z.clientWidth;
132
- const { top: r = 0, left: s = 0, height: y = 0 } = ((j = x.value) == null ? void 0 : j.getBoundingClientRect()) ?? {}, c = o(), O = e();
133
- r + y + O >= c ? V.value.y = r - O : V.value.y = r + y, V.value.x = s;
131
+ D.value = (j = x.value) == null ? void 0 : j.clientWidth;
132
+ const { top: r = 0, left: s = 0, height: y = 0 } = ((q = x.value) == null ? void 0 : q.getBoundingClientRect()) ?? {}, c = o(), Z = e();
133
+ r + y + Z >= c ? V.value.y = r - Z : V.value.y = r + y, V.value.x = s;
134
134
  }, de = () => {
135
- m.value === h.value || h.value - m.value < 1 ? n.value = !1 : (n.value = !0, b.value && clearTimeout(b.value)), ie(), E.value = !0;
135
+ N(), m.value === h.value || h.value - m.value < 1 ? n.value = !1 : (n.value = !0, b.value && clearTimeout(b.value)), ie(), E.value = !0;
136
136
  }, ne = () => {
137
137
  b.value = setTimeout(() => {
138
138
  n.value = !1;
139
139
  }, 200), E.value = !1;
140
140
  }, ce = (e, o) => {
141
141
  e ? de() : ne();
142
- }, pe = i(() => a.width ? a.width : "230px"), ve = i(() => a.height ? a.height : "auto"), N = i(() => ({
142
+ }, pe = i(() => a.width ? a.width : "230px"), ve = i(() => a.height ? a.height : "auto"), O = i(() => ({
143
143
  width: typeof a.width == "number" ? a.width + "px" : a.width
144
144
  })), P = l("-10px");
145
145
  xe(() => {
@@ -154,7 +154,7 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
154
154
  }, me = (e, o) => {
155
155
  W("update:model-value", e), W("change", e);
156
156
  }, he = (e) => {
157
- Y(() => {
157
+ ee(() => {
158
158
  var r, s;
159
159
  const o = (s = (r = f.value) == null ? void 0 : r.popperPaneRef) == null ? void 0 : s.attributes["data-popper-placement"].value;
160
160
  o && o.indexOf("top") > -1 ? P.value = "10px" : P.value = "-10px";
@@ -169,21 +169,21 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
169
169
  a.error ? "is-error" : "",
170
170
  a.size
171
171
  ]]),
172
- style: g(N.value)
172
+ style: g(O.value)
173
173
  }, [
174
- R(v(oe), {
174
+ R(v(te), {
175
175
  ref_key: "inputTooltipRef",
176
176
  ref: $,
177
177
  placement: "top",
178
178
  trigger: "hover",
179
179
  visible: n.value,
180
180
  disabled: !e.isTooltip,
181
- content: re.value
181
+ content: se.value
182
182
  }, {
183
183
  default: T(() => {
184
184
  var r;
185
185
  return [
186
- G((d(), p("div", {
186
+ J((d(), p("div", {
187
187
  ref_key: "$cascaderBox",
188
188
  ref: x
189
189
  }, [
@@ -192,7 +192,7 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
192
192
  ref: f,
193
193
  modelValue: v(t),
194
194
  "onUpdate:modelValue": o[0] || (o[0] = (s) => Ce(t) ? t.value = s : null)
195
- }, v(le), {
195
+ }, v(re), {
196
196
  props: a.props,
197
197
  size: a.size === "table" || a.size === "medium" ? "default" : a.size,
198
198
  disabled: a.disabled || a.isView,
@@ -200,18 +200,18 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
200
200
  collapseTags: a.collapseTags,
201
201
  separator: a.separator,
202
202
  "popper-class": (r = a.props) != null && r.multiple ? "das-ui-cascader-popper-box das-popper-multiple" : "das-ui-cascader-popper-box das-popper-simple",
203
- style: N.value,
203
+ style: O.value,
204
204
  onVisibleChange: he,
205
205
  onChange: me
206
206
  }), {
207
207
  default: T(({ node: s, data: y }) => [
208
- J(e.$slots, "default", ke(we({ node: s, data: y })), () => [
209
- R(v(oe), { placement: "top" }, {
208
+ K(e.$slots, "default", ke(we({ node: s, data: y })), () => [
209
+ R(v(te), { placement: "top" }, {
210
210
  content: T(() => {
211
211
  var c;
212
212
  return [
213
- G((d(), p("div", Ie, [
214
- K(C(y[((c = a.props) == null ? void 0 : c.label) || "label"]), 1)
213
+ J((d(), p("div", Ie, [
214
+ Q(C(y[((c = a.props) == null ? void 0 : c.label) || "label"]), 1)
215
215
  ])), [
216
216
  [v(Se)]
217
217
  ])
@@ -220,7 +220,7 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
220
220
  default: T(() => {
221
221
  var c;
222
222
  return [
223
- K(" " + C(y[((c = a.props) == null ? void 0 : c.label) || "label"]), 1)
223
+ Q(" " + C(y[((c = a.props) == null ? void 0 : c.label) || "label"]), 1)
224
224
  ];
225
225
  }),
226
226
  _: 2
@@ -228,7 +228,7 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
228
228
  ], !0)
229
229
  ]),
230
230
  empty: T(() => [
231
- J(e.$slots, "empty", {}, void 0, !0)
231
+ K(e.$slots, "empty", {}, void 0, !0)
232
232
  ]),
233
233
  _: 3
234
234
  }, 16, ["modelValue", "props", "size", "disabled", "placeholder", "collapseTags", "separator", "popper-class", "style"])
@@ -239,19 +239,19 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
239
239
  }),
240
240
  _: 3
241
241
  }, 8, ["visible", "disabled", "content"]),
242
- e.error && e.errorLabel ? (d(), p(Q, { key: 0 }, [
242
+ e.error && e.errorLabel ? (d(), p(X, { key: 0 }, [
243
243
  e.errorMode === "default" ? (d(), p("div", Re, [
244
244
  H("span", {
245
245
  style: g(F.value)
246
246
  }, C(e.errorLabel), 5)
247
- ])) : e.errorMode === "overlay" && E.value ? (d(), p(Q, { key: 1 }, [
247
+ ])) : e.errorMode === "overlay" && E.value ? (d(), p(X, { key: 1 }, [
248
248
  e.teleported ? (d(), ze(Be, {
249
249
  key: 0,
250
250
  to: "body"
251
251
  }, [
252
252
  H("div", {
253
253
  ref_key: "$errorModel",
254
- ref: te,
254
+ ref: le,
255
255
  style: g(ue.value)
256
256
  }, [
257
257
  H("span", {
@@ -267,8 +267,8 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
267
267
  style: g(F.value)
268
268
  }, C(e.errorLabel), 5)
269
269
  ], 4))
270
- ], 64)) : X("", !0)
271
- ], 64)) : X("", !0)
270
+ ], 64)) : Y("", !0)
271
+ ], 64)) : Y("", !0)
272
272
  ], 6));
273
273
  }
274
274
  }), Ae = (k, _) => {
@@ -276,14 +276,14 @@ const Ie = { style: { maxheight: "200px" } }, Re = {
276
276
  for (const [a, t] of _)
277
277
  w[a] = t;
278
278
  return w;
279
- }, Ne = /* @__PURE__ */ Ae($e, [["__scopeId", "data-v-6246c482"]]), Oe = { 请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" } }, Ze = {
279
+ }, Ne = /* @__PURE__ */ Ae($e, [["__scopeId", "data-v-76d8b59a"]]), Oe = { 请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" } }, Ze = {
280
280
  "--das-ui-cascader-color-primary": "#5582F3",
281
281
  // 主题色
282
- "--das-ui-cascader-color-text": ae("--das-ui-color-normal"),
282
+ "--das-ui-cascader-color-text": oe("--das-ui-color-normal"),
283
283
  // 常规字体色
284
284
  "--das-ui-cascader-color-border": "#d9d9d9",
285
285
  // 边框基础色
286
- "--das-ui-cascader-color-underline": ae("--das-ui-color-help"),
286
+ "--das-ui-cascader-color-underline": oe("--das-ui-color-help"),
287
287
  // 下划线基础色
288
288
  "--das-ui-cascader-color-error": "#FB2323",
289
289
  // 错误边框色
@@ -1 +1 @@
1
- .das-ui-cascader[data-v-6246c482]{display:inline-block;position:relative}.das-ui-cascader .das-cascader-error-label-content[data-v-6246c482]{width:var(--4e9c6907);font-size:12px}.das-ui-cascader .das-cascader-error-label-content .label[data-v-6246c482]{display:block;color:var(--das-ui-cascader-overlay-error-color);white-space:break-spaces}.das-ui-cascader .das-cascader-overlay-error-label-content[data-v-6246c482]{position:absolute;top:100%;left:0;width:var(--4e9c6907)}.das-ui-cascader[data-v-6246c482] .el-cascader .el-input{height:var(--6b21be06)}.das-ui-cascader[data-v-6246c482] .el-cascader>.el-input input{height:28px;font-size:var(--das-ui-cascader-font-size-middle)}.das-ui-cascader[data-v-6246c482] .el-cascader.el-cascader--small>.el-input input{height:auto;font-size:var(--das-ui-cascader-font-size-small)}.das-ui-cascader[data-v-6246c482] .el-cascader .el-input__inner{color:var(--das-ui-cascader-color-text)}.das-ui-cascader[data-v-6246c482] .el-cascader .el-input.is-disabled,.das-ui-cascader[data-v-6246c482] .el-cascader .el-input.is-disabled .el-input__inner{cursor:no-drop}.das-ui-cascader[data-v-6246c482] .el-cascader .icon-arrow-down{color:#666}.das-ui-cascader[data-v-6246c482] .el-cascader:hover .icon-arrow-down{color:var(--das-ui-cascader-color-primary)}.das-ui-cascader[data-v-6246c482] .el-cascader .icon-circle-close{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685934237687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2634'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20128c212.064%200%20384%20171.936%20384%20384s-171.936%20384-384%20384S128%20724.064%20128%20512%20299.936%20128%20512%20128z%20m-140.384%20198.72a32%2032%200%200%200-42.24%202.656l-2.656%203.008a32%2032%200%200%200%202.656%2042.24L466.72%20512l-137.344%20137.376a32%2032%200%200%200%2045.248%2045.248L512%20557.28l137.376%20137.344%203.008%202.656a32%2032%200%200%200%2042.24-2.656l2.656-3.008a32%2032%200%200%200-2.656-42.24L557.28%20512l137.344-137.376a32%2032%200%200%200-45.248-45.248L512%20466.72l-137.376-137.344z'%20fill='%23d9d9d9'%20fill-opacity='1'%20p-id='2635'%3e%3c/path%3e%3c/svg%3e");background-size:cover;width:16px;height:16px}.das-ui-cascader[data-v-6246c482] .el-cascader .icon-circle-close:hover{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685934237687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2634'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20128c212.064%200%20384%20171.936%20384%20384s-171.936%20384-384%20384S128%20724.064%20128%20512%20299.936%20128%20512%20128z%20m-140.384%20198.72a32%2032%200%200%200-42.24%202.656l-2.656%203.008a32%2032%200%200%200%202.656%2042.24L466.72%20512l-137.344%20137.376a32%2032%200%200%200%2045.248%2045.248L512%20557.28l137.376%20137.344%203.008%202.656a32%2032%200%200%200%2042.24-2.656l2.656-3.008a32%2032%200%200%200-2.656-42.24L557.28%20512l137.344-137.376a32%2032%200%200%200-45.248-45.248L512%20466.72l-137.376-137.344z'%20fill='%23999999'%20fill-opacity='1'%20p-id='2635'%3e%3c/path%3e%3c/svg%3e")}.das-ui-cascader[data-v-6246c482] .el-cascader .icon-circle-close svg{display:none}.das-ui-cascader.table[data-v-6246c482] .el-cascader>.el-input input{font-size:var(--das-ui-cascader-font-size-table)}.das-ui-cascader.readonly[data-v-6246c482] .el-cascader .el-input__wrapper{background-color:transparent}.das-ui-cascader.readonly[data-v-6246c482] .el-cascader .el-input__wrapper .el-input__inner{color:var(--das-ui-cascader-color-text);-webkit-text-fill-color:var(--das-ui-cascader-color-text)}.das-ui-cascader.readonly[data-v-6246c482] .el-cascader .el-input__wrapper .el-input__suffix{display:none}.das-ui-cascader.bordered[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 0 0 1px var(--das-ui-cascader-color-border) inset}.das-ui-cascader.bordered[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-primary) inset}.das-ui-cascader.bordered.is-error[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 0 0 1px var(--das-ui-cascader-color-error) inset}.das-ui-cascader.bordered.is-error[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-error) inset}.das-ui-cascader.bordered.readonly[data-v-6246c482] .el-cascader .el-input .el-input__wrapper,.das-ui-cascader.bordered.readonly[data-v-6246c482] .el-cascader .el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper{padding:1px 0;border-radius:0;box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-underline) inset}.das-ui-cascader.underline[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-primary) inset}.das-ui-cascader.underline[data-v-6246c482] .el-cascader>.el-input.is-disabled .el-input__wrapper{background-color:transparent;box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline[data-v-6246c482] .el-cascader>.el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline.is-error[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-error) inset}.das-ui-cascader.underline.is-error[data-v-6246c482] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-error) inset}.das-ui-cascader.underline.readonly[data-v-6246c482] .el-cascader .el-input .el-input__wrapper,.das-ui-cascader.underline.readonly[data-v-6246c482] .el-cascader .el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader .das-cascader-label-content[data-v-6246c482]{font-size:12px}.das-ui-cascader .das-cascader-label-content .das-cascader-error-label[data-v-6246c482]{display:block;color:var(--das-ui-cascader-color-error)}.das-ui-cascader-popper-box.el-popper{transform:translateY(var(--b88d06fa))}.das-ui-cascader-popper-box .el-popper__arrow{display:none}.das-ui-cascader-popper-box .el-cascader-menu{width:var(--das-ui-cascader-menu-min-width);color:var(--das-ui-cascader-color-text)}.das-ui-cascader-popper-box .el-cascader-node{padding-left:12px;padding-right:20px;height:var(--das-ui-cascader-menu-node-height);line-height:var(--das-ui-cascader-menu-node-height)}.das-ui-cascader-popper-box .el-cascader-node:not(.is-disabled):focus{background:var(--das-ui-cascader-menu-color-active-bg)}.das-ui-cascader-popper-box .el-cascader-node:not(.is-disabled):hover{background:var(--das-ui-cascader-menu-color-hover-bg)}.das-ui-cascader-popper-box .el-cascader-node__label{padding-left:0}.das-ui-cascader-popper-box .el-cascader-node>.el-checkbox,.das-ui-cascader-popper-box .el-cascader-node>.el-radio{margin-right:5px}.das-ui-cascader-popper-box .el-checkbox__inner{border-color:var(--das-ui-cascader-menu-checkbox-border-color)}.das-ui-cascader-popper-box .el-checkbox__input.is-checked .el-checkbox__inner{border-color:var(--das-ui-cascader-color-primary);background-color:var(--das-ui-cascader-color-primary)}.das-ui-cascader-popper-box .el-checkbox__input.is-indeterminate .el-checkbox__inner{border-color:var(--das-ui-cascader-menu-checkbox-border-color);background-color:#fff}.das-ui-cascader-popper-box .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--das-ui-cascader-color-primary);top:0;height:12px}.das-ui-cascader-popper-box .el-cascader-node__prefix{display:none}.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.in-active-path,.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.is-active,.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.is-selectable.in-checked-path,.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.in-active-path,.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.is-selectable.in-checked-path{color:var(--das-ui-cascader-color-primary);background-color:#f2f6ff;font-weight:400}.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.is-active{color:#212121;font-weight:400}
1
+ .das-ui-cascader[data-v-76d8b59a]{display:inline-block;position:relative}.das-ui-cascader .das-cascader-error-label-content[data-v-76d8b59a]{width:var(--efddac7c);font-size:12px}.das-ui-cascader .das-cascader-error-label-content .label[data-v-76d8b59a]{display:block;color:var(--das-ui-cascader-overlay-error-color);white-space:break-spaces}.das-ui-cascader .das-cascader-overlay-error-label-content[data-v-76d8b59a]{position:absolute;top:100%;left:0;width:var(--efddac7c)}.das-ui-cascader[data-v-76d8b59a] .el-cascader .el-input{height:var(--604514ab)}.das-ui-cascader[data-v-76d8b59a] .el-cascader>.el-input input{height:28px;font-size:var(--das-ui-cascader-font-size-middle)}.das-ui-cascader[data-v-76d8b59a] .el-cascader.el-cascader--small>.el-input input{height:auto;font-size:var(--das-ui-cascader-font-size-small)}.das-ui-cascader[data-v-76d8b59a] .el-cascader .el-input__inner{color:var(--das-ui-cascader-color-text)}.das-ui-cascader[data-v-76d8b59a] .el-cascader .el-input.is-disabled,.das-ui-cascader[data-v-76d8b59a] .el-cascader .el-input.is-disabled .el-input__inner{cursor:no-drop}.das-ui-cascader[data-v-76d8b59a] .el-cascader .icon-arrow-down{color:#666}.das-ui-cascader[data-v-76d8b59a] .el-cascader:hover .icon-arrow-down{color:var(--das-ui-cascader-color-primary)}.das-ui-cascader[data-v-76d8b59a] .el-cascader .icon-circle-close{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685934237687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2634'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20128c212.064%200%20384%20171.936%20384%20384s-171.936%20384-384%20384S128%20724.064%20128%20512%20299.936%20128%20512%20128z%20m-140.384%20198.72a32%2032%200%200%200-42.24%202.656l-2.656%203.008a32%2032%200%200%200%202.656%2042.24L466.72%20512l-137.344%20137.376a32%2032%200%200%200%2045.248%2045.248L512%20557.28l137.376%20137.344%203.008%202.656a32%2032%200%200%200%2042.24-2.656l2.656-3.008a32%2032%200%200%200-2.656-42.24L557.28%20512l137.344-137.376a32%2032%200%200%200-45.248-45.248L512%20466.72l-137.376-137.344z'%20fill='%23d9d9d9'%20fill-opacity='1'%20p-id='2635'%3e%3c/path%3e%3c/svg%3e");background-size:cover;width:16px;height:16px}.das-ui-cascader[data-v-76d8b59a] .el-cascader .icon-circle-close:hover{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685934237687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2634'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20128c212.064%200%20384%20171.936%20384%20384s-171.936%20384-384%20384S128%20724.064%20128%20512%20299.936%20128%20512%20128z%20m-140.384%20198.72a32%2032%200%200%200-42.24%202.656l-2.656%203.008a32%2032%200%200%200%202.656%2042.24L466.72%20512l-137.344%20137.376a32%2032%200%200%200%2045.248%2045.248L512%20557.28l137.376%20137.344%203.008%202.656a32%2032%200%200%200%2042.24-2.656l2.656-3.008a32%2032%200%200%200-2.656-42.24L557.28%20512l137.344-137.376a32%2032%200%200%200-45.248-45.248L512%20466.72l-137.376-137.344z'%20fill='%23999999'%20fill-opacity='1'%20p-id='2635'%3e%3c/path%3e%3c/svg%3e")}.das-ui-cascader[data-v-76d8b59a] .el-cascader .icon-circle-close svg{display:none}.das-ui-cascader.table[data-v-76d8b59a] .el-cascader>.el-input input{font-size:var(--das-ui-cascader-font-size-table)}.das-ui-cascader.readonly[data-v-76d8b59a] .el-cascader .el-input__wrapper{background-color:transparent}.das-ui-cascader.readonly[data-v-76d8b59a] .el-cascader .el-input__wrapper .el-input__inner{color:var(--das-ui-cascader-color-text);-webkit-text-fill-color:var(--das-ui-cascader-color-text)}.das-ui-cascader.readonly[data-v-76d8b59a] .el-cascader .el-input__wrapper .el-input__suffix{display:none}.das-ui-cascader.bordered[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 0 0 1px var(--das-ui-cascader-color-border) inset}.das-ui-cascader.bordered[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-primary) inset}.das-ui-cascader.bordered.is-error[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 0 0 1px var(--das-ui-cascader-color-error) inset}.das-ui-cascader.bordered.is-error[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-error) inset}.das-ui-cascader.bordered.readonly[data-v-76d8b59a] .el-cascader .el-input .el-input__wrapper,.das-ui-cascader.bordered.readonly[data-v-76d8b59a] .el-cascader .el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper{padding:1px 0;border-radius:0;box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-underline) inset}.das-ui-cascader.underline[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-primary) inset}.das-ui-cascader.underline[data-v-76d8b59a] .el-cascader>.el-input.is-disabled .el-input__wrapper{background-color:transparent;box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline[data-v-76d8b59a] .el-cascader>.el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline.is-error[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-error) inset}.das-ui-cascader.underline.is-error[data-v-76d8b59a] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-error) inset}.das-ui-cascader.underline.readonly[data-v-76d8b59a] .el-cascader .el-input .el-input__wrapper,.das-ui-cascader.underline.readonly[data-v-76d8b59a] .el-cascader .el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader .das-cascader-label-content[data-v-76d8b59a]{font-size:12px}.das-ui-cascader .das-cascader-label-content .das-cascader-error-label[data-v-76d8b59a]{display:block;color:var(--das-ui-cascader-color-error)}.das-ui-cascader-popper-box.el-popper{transform:translateY(var(--2618b704))}.das-ui-cascader-popper-box .el-popper__arrow{display:none}.das-ui-cascader-popper-box .el-cascader-menu{width:var(--das-ui-cascader-menu-min-width);color:var(--das-ui-cascader-color-text)}.das-ui-cascader-popper-box .el-cascader-node{padding-left:12px;padding-right:20px;height:var(--das-ui-cascader-menu-node-height);line-height:var(--das-ui-cascader-menu-node-height)}.das-ui-cascader-popper-box .el-cascader-node:not(.is-disabled):focus{background:var(--das-ui-cascader-menu-color-active-bg)}.das-ui-cascader-popper-box .el-cascader-node:not(.is-disabled):hover{background:var(--das-ui-cascader-menu-color-hover-bg)}.das-ui-cascader-popper-box .el-cascader-node__label{padding-left:0}.das-ui-cascader-popper-box .el-cascader-node>.el-checkbox,.das-ui-cascader-popper-box .el-cascader-node>.el-radio{margin-right:5px}.das-ui-cascader-popper-box .el-checkbox__inner{border-color:var(--das-ui-cascader-menu-checkbox-border-color)}.das-ui-cascader-popper-box .el-checkbox__input.is-checked .el-checkbox__inner{border-color:var(--das-ui-cascader-color-primary);background-color:var(--das-ui-cascader-color-primary)}.das-ui-cascader-popper-box .el-checkbox__input.is-indeterminate .el-checkbox__inner{border-color:var(--das-ui-cascader-menu-checkbox-border-color);background-color:#fff}.das-ui-cascader-popper-box .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--das-ui-cascader-color-primary);top:0;height:12px}.das-ui-cascader-popper-box .el-cascader-node__prefix{display:none}.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.in-active-path,.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.is-active,.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.is-selectable.in-checked-path,.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.in-active-path,.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.is-selectable.in-checked-path{color:var(--das-ui-cascader-color-primary);background-color:#f2f6ff;font-weight:400}.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.is-active{color:#212121;font-weight:400}
@@ -1,29 +1,29 @@
1
1
  import '@das-fed/ui/packages/components/input/style.css';
2
- import { withInstall as J } from "@das-fed/utils/with-install/index";
3
- import { getVarValue as K, setThemeRule as Q } from "@das-fed/web/packages/theme/index";
4
- import { defineComponent as X, computed as n, ref as r, watch as y, nextTick as I, openBlock as d, createElementBlock as v, normalizeStyle as Y, normalizeClass as M, createVNode as V, unref as S, withCtx as h, mergeProps as _, createSlots as ee, renderSlot as B, toDisplayString as R, createCommentVNode as b, Fragment as te, createBlock as oe } from "vue";
2
+ import { withInstall as K } from "@das-fed/utils/with-install/index";
3
+ import { getVarValue as Q, setThemeRule as X } from "@das-fed/web/packages/theme/index";
4
+ import { defineComponent as Y, computed as n, ref as r, watch as y, nextTick as M, openBlock as d, createElementBlock as v, normalizeStyle as _, normalizeClass as V, createVNode as R, unref as S, withCtx as h, mergeProps as ee, createSlots as te, renderSlot as B, toDisplayString as D, createCommentVNode as b, Fragment as oe, createBlock as le } from "vue";
5
5
  import "element-plus/es/components/input/style/css";
6
- import { ElInput as le } from "element-plus";
7
- import { t as ae, setI18nRule as re } from "@das-fed/web/packages/i18n/index";
8
- import { DasTooltip as se } from "@das-fed/ui/packages/components/tooltip/index";
9
- import { DasErrorOverlayModel as ie } from "@das-fed/ui/packages/components/error-overlay-model/index";
10
- import { calcTextWidth as ue } from "@das-fed/utils/common-tools";
11
- const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-content", "revert", "unset", "-webkit-fill-available"], de = (l) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(l), fe = (l) => {
6
+ import { ElInput as ae } from "element-plus";
7
+ import { t as re, setI18nRule as se } from "@das-fed/web/packages/i18n/index";
8
+ import { DasTooltip as ie } from "@das-fed/ui/packages/components/tooltip/index";
9
+ import { DasErrorOverlayModel as ue } from "@das-fed/ui/packages/components/error-overlay-model/index";
10
+ import { calcTextWidth as ne } from "@das-fed/utils/common-tools";
11
+ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-content", "revert", "unset", "-webkit-fill-available"], fe = (l) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(l), pe = (l) => {
12
12
  if (l)
13
- return typeof l == "string" && de(l) || typeof l == "string" && ne.includes(l) ? l : l + "px";
14
- }, pe = {
13
+ return typeof l == "string" && fe(l) || typeof l == "string" && de.includes(l) ? l : l + "px";
14
+ }, ce = {
15
15
  key: 0,
16
16
  class: "das-input-label-content"
17
- }, ce = {
17
+ }, me = {
18
18
  key: 0,
19
19
  class: "das-input-success-label"
20
- }, me = {
20
+ }, ve = {
21
21
  key: 0,
22
22
  class: "das-input-label-content"
23
- }, ve = ["title"], be = {
23
+ }, be = ["title"], ye = {
24
24
  inheritAttrs: !1
25
- }, ye = /* @__PURE__ */ X({
26
- ...be,
25
+ }, he = /* @__PURE__ */ Y({
26
+ ...ye,
27
27
  __name: "index",
28
28
  props: {
29
29
  modelValue: { default: "" },
@@ -53,16 +53,16 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
53
53
  },
54
54
  emits: ["update:modelValue", "change"],
55
55
  setup(l, { expose: g, emit: T }) {
56
- const o = l, f = n(() => o.placeholder || ae("请输入")), D = n(() => `width:${fe(o.width)}`), N = n(() => {
56
+ const o = l, f = n(() => o.placeholder || re("请输入")), N = n(() => `width:${pe(o.width)}`), F = n(() => {
57
57
  const e = Number(o.maxLength) ? Number(o.maxLength) : !1, t = Number(o.maxlength) ? Number(o.maxlength) : !1;
58
58
  return e || t && t || !1;
59
59
  }), w = T, i = n({
60
60
  get: () => o.modelValue,
61
61
  set: (e) => w("update:modelValue", e)
62
- }), F = r(o.isTitle), u = r(!1), O = n(() => i.value ? i.value : f.value), L = r(), s = r(), x = r(!1), P = n(() => o.type === "textarea" ? o.showWordLimit : o.showTextWordLimit), U = n(() => o.isView || o.disabled), A = n(() => U.value ? o.noSetDefaultVal ? "" : "-" : f.value ?? ""), k = r(!1), p = r(0);
62
+ }), O = r(o.isTitle), u = r(!1), P = n(() => i.value ? i.value : f.value), L = r(), s = r(), x = r(!1), U = n(() => o.type === "textarea" ? o.showWordLimit : o.showTextWordLimit), A = n(() => o.isView || o.disabled), j = n(() => A.value ? o.noSetDefaultVal ? "" : "-" : f.value ?? ""), k = r(!1), p = r(0);
63
63
  r({
64
64
  display: "block",
65
- color: K("--das-ui-input-error-color").value,
65
+ color: Q("--das-ui-input-error-color").value,
66
66
  "white-space": "break-spaces"
67
67
  }), y(
68
68
  () => {
@@ -70,57 +70,57 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
70
70
  return (e = s.value) == null ? void 0 : e.textarea;
71
71
  },
72
72
  (e) => {
73
- I(() => {
73
+ M(() => {
74
74
  var t;
75
75
  e && (e != null && e.nextSibling) && ((t = e.nextSibling) != null && t.style) && (e.nextSibling.style.display = "none");
76
76
  });
77
77
  }
78
78
  );
79
- const j = (e) => {
79
+ const Z = (e) => {
80
80
  let t = e + "";
81
81
  o.type !== "textarea" && o.filterSpace && (t = t.trim()), i.value = t, w("change", t);
82
- }, Z = () => {
82
+ }, q = () => {
83
83
  var t;
84
84
  o.borderType === "bottom" && (k.value = !0);
85
85
  const e = (t = s.value) == null ? void 0 : t.textarea;
86
86
  e && e.nextSibling && e.nextSibling.style && (e.nextSibling.style.display = "block");
87
- }, q = () => {
87
+ }, G = () => {
88
88
  var t;
89
89
  o.borderType === "bottom" && (k.value = !1);
90
90
  const e = (t = s.value) == null ? void 0 : t.textarea;
91
91
  e && e.nextSibling && e.nextSibling.style && (e.nextSibling.style.display = "none");
92
92
  }, z = () => {
93
93
  const e = o.size === "table" ? 12 : 14;
94
- return ue(f.value, e);
94
+ return ne(f.value, e);
95
95
  };
96
96
  y(
97
97
  () => s.value,
98
98
  (e) => {
99
99
  setTimeout(() => {
100
- var a, C;
100
+ var a, I;
101
101
  const t = e;
102
- t && (p.value = ((a = t == null ? void 0 : t.ref) == null ? void 0 : a.offsetWidth) ?? 0, c.value = i.value ? (C = t == null ? void 0 : t.ref) == null ? void 0 : C.scrollWidth : z());
102
+ t && (p.value = ((a = t == null ? void 0 : t.ref) == null ? void 0 : a.offsetWidth) ?? 0, c.value = i.value ? (I = t == null ? void 0 : t.ref) == null ? void 0 : I.scrollWidth : z());
103
103
  }, 200);
104
104
  }
105
105
  );
106
- const c = r(0);
107
- y(() => [i.value, f.value], () => {
108
- I(() => {
106
+ const c = r(0), W = () => {
107
+ M(() => {
109
108
  var e, t, a;
110
109
  (e = s.value) != null && e.ref && (p.value = (t = s.value) == null ? void 0 : t.ref.offsetWidth, c.value = i.value ? (a = s.value) == null ? void 0 : a.ref.scrollWidth : z(), (p.value === c.value || c.value - p.value < 1) && (u.value = !1));
111
110
  });
112
- });
113
- const E = r(), m = r(), G = () => {
114
- p.value === c.value || c.value - p.value < 1 ? u.value = !1 : (u.value = !0, m && clearTimeout(m.value), E && clearTimeout(E.value)), o.errorMode === "overlay" && (x.value = !0);
115
- }, H = () => {
111
+ };
112
+ y(() => [i.value, f.value], W);
113
+ const E = r(), m = r(), H = () => {
114
+ W(), p.value === c.value || c.value - p.value < 1 ? u.value = !1 : (u.value = !0, m && clearTimeout(m.value), E && clearTimeout(E.value)), o.errorMode === "overlay" && (x.value = !0);
115
+ }, J = () => {
116
116
  m.value = setTimeout(() => {
117
117
  u.value = !1;
118
118
  }, 200), E.value = setTimeout(() => {
119
119
  x.value = !1;
120
120
  }, 200);
121
- }, W = () => {
122
- u.value = !0, m.value && clearTimeout(m.value);
123
121
  }, $ = () => {
122
+ u.value = !0, m.value && clearTimeout(m.value);
123
+ }, C = () => {
124
124
  m.value = setTimeout(() => {
125
125
  u.value = !1;
126
126
  }, 200);
@@ -131,7 +131,7 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
131
131
  return (e = L.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
132
132
  },
133
133
  (e) => {
134
- e && (e.addEventListener("mouseenter", W), e.addEventListener("mouseleave", $));
134
+ e && (e.addEventListener("mouseenter", $), e.addEventListener("mouseleave", C));
135
135
  }
136
136
  ), y(
137
137
  () => u.value,
@@ -139,38 +139,38 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
139
139
  var t;
140
140
  if (!e) {
141
141
  const a = (t = L.value) == null ? void 0 : t.$tooltipRef.popperRef.contentRef;
142
- a && (a.removeEventListener("mouseenter", W), a.removeEventListener("mouseleave", $));
142
+ a && (a.removeEventListener("mouseenter", $), a.removeEventListener("mouseleave", C));
143
143
  }
144
144
  }
145
145
  ), g({
146
146
  $refInput: s
147
147
  }), (e, t) => (d(), v("div", {
148
- style: Y(D.value),
149
- class: M([
148
+ style: _(N.value),
149
+ class: V([
150
150
  "das-ui-input",
151
151
  { "only-border-bottom": e.borderType === "bottom" },
152
152
  { "das-input-normal-size": e.size === "default" },
153
153
  { "das-input-table-size": e.size === "table" }
154
154
  ])
155
155
  }, [
156
- V(S(se), {
156
+ R(S(ie), {
157
157
  ref_key: "inputTooltipRef",
158
158
  ref: L,
159
159
  effect: "light",
160
160
  placement: "top",
161
161
  manual: !0,
162
162
  visible: u.value,
163
- disabled: !F.value,
164
- content: O.value
163
+ disabled: !O.value,
164
+ content: P.value
165
165
  }, {
166
166
  default: h(() => [
167
- V(S(le), _({
167
+ R(S(ae), ee({
168
168
  ref_key: "$refInput",
169
169
  ref: s
170
170
  }, e.$attrs, {
171
171
  modelValue: i.value,
172
172
  "onUpdate:modelValue": t[0] || (t[0] = (a) => i.value = a),
173
- placeholder: A.value,
173
+ placeholder: j.value,
174
174
  disabled: e.disabled,
175
175
  readonly: e.isView,
176
176
  type: o.type,
@@ -181,14 +181,14 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
181
181
  { "input-focus-color": k.value }
182
182
  ],
183
183
  autosize: o.autosize,
184
- showWordLimit: P.value,
185
- maxlength: N.value,
186
- onChange: j,
187
- onFocus: Z,
188
- onBlur: q,
189
- onMouseenter: G,
190
- onMouseleave: H
191
- }), ee({ _: 2 }, [
184
+ showWordLimit: U.value,
185
+ maxlength: F.value,
186
+ onChange: Z,
187
+ onFocus: q,
188
+ onBlur: G,
189
+ onMouseenter: H,
190
+ onMouseleave: J
191
+ }), te({ _: 2 }, [
192
192
  e.$slots.prepend ? {
193
193
  name: "prepend",
194
194
  fn: h(() => [
@@ -221,18 +221,18 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
221
221
  ]),
222
222
  _: 3
223
223
  }, 8, ["visible", "disabled", "content"]),
224
- e.success && e.successLabel ? (d(), v("div", pe, [
225
- e.success ? (d(), v("span", ce, R(e.successLabel), 1)) : b("", !0)
224
+ e.success && e.successLabel ? (d(), v("div", ce, [
225
+ e.success ? (d(), v("span", me, D(e.successLabel), 1)) : b("", !0)
226
226
  ])) : b("", !0),
227
- e.error && e.errorLabel ? (d(), v(te, { key: 1 }, [
228
- e.errorMode === "default" ? (d(), v("div", me, [
227
+ e.error && e.errorLabel ? (d(), v(oe, { key: 1 }, [
228
+ e.errorMode === "default" ? (d(), v("div", ve, [
229
229
  e.error ? (d(), v("span", {
230
230
  key: 0,
231
- class: M(["das-input-error-label", { "error-label-overflow": e.isErrorTitle }]),
231
+ class: V(["das-input-error-label", { "error-label-overflow": e.isErrorTitle }]),
232
232
  title: e.isErrorTitle ? e.errorLabel : ""
233
- }, R(e.errorLabel), 11, ve)) : b("", !0)
233
+ }, D(e.errorLabel), 11, be)) : b("", !0)
234
234
  ])) : b("", !0),
235
- x.value && e.errorMode === "overlay" ? (d(), oe(S(ie), {
235
+ x.value && e.errorMode === "overlay" ? (d(), le(S(ue), {
236
236
  key: 1,
237
237
  errorLabel: e.errorLabel,
238
238
  getEl: () => s.value.$el
@@ -240,12 +240,12 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
240
240
  ], 64)) : b("", !0)
241
241
  ], 6));
242
242
  }
243
- }), he = (l, g) => {
243
+ }), ge = (l, g) => {
244
244
  const T = l.__vccOpts || l;
245
245
  for (const [o, f] of g)
246
246
  T[o] = f;
247
247
  return T;
248
- }, ge = /* @__PURE__ */ he(ye, [["__scopeId", "data-v-0904a914"]]), Te = {
248
+ }, Te = /* @__PURE__ */ ge(he, [["__scopeId", "data-v-60806e9d"]]), Be = {
249
249
  "--das-ui-input-default-text-color": "#212121",
250
250
  "--das-ui-input-default-placeholder-text-color": "#B2B2B2",
251
251
  "--das-ui-input-full-border-color": "#D9D9D9",
@@ -262,14 +262,14 @@ const ne = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
262
262
  "--das-ui-input-only-bottom-view-border-color": "#E5E5E5",
263
263
  "--das-ui-input-success-color": "#1BA854",
264
264
  "--das-ui-input-error-color": "#FB2323"
265
- }, Be = {
265
+ }, Le = {
266
266
  共: { "zh-CN": "共", en: "Total", _appCode: "framework" },
267
267
  项: { "zh-CN": "项", en: "Item", _appCode: "framework" },
268
268
  请输入: { "zh-CN": "请输入", en: "Please enter", _appCode: "framework" }
269
269
  };
270
- re(Be);
271
- Q(Te);
272
- const Ie = J(ge);
270
+ se(Le);
271
+ X(Be);
272
+ const Ie = K(Te);
273
273
  export {
274
274
  Ie as DasInput,
275
275
  Ie as default