@das-fed/upf-ui 6.4.0-dev.273 → 6.4.0-dev.275

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.
@@ -745,6 +745,9 @@ export default {
745
745
  "符号": "",
746
746
  "修改密码成功": "",
747
747
  "数据趋势": "",
748
+ "近": "",
749
+ "最多支持选择": "",
750
+ "个属性": "",
748
751
  "引用": "",
749
752
  "篇资料作为参考": "",
750
753
  "思考中": "",
@@ -763,9 +766,6 @@ export default {
763
766
  "预订会议室": "",
764
767
  "请把你的任务交给我吧": "",
765
768
  "回答中": "",
766
- "近": "",
767
- "最多支持选择": "",
768
- "个属性": "",
769
769
  "解锁": "",
770
770
  "锁住": "",
771
771
  };
@@ -732,6 +732,9 @@ export default {
732
732
  "符号": "符号",
733
733
  "修改密码成功": "修改密码成功",
734
734
  "数据趋势": "数据趋势",
735
+ "近": "近",
736
+ "最多支持选择": "最多支持选择",
737
+ "个属性": "个属性",
735
738
  "引用": "引用",
736
739
  "篇资料作为参考": "篇资料作为参考",
737
740
  "思考中": "思考中",
@@ -750,9 +753,6 @@ export default {
750
753
  "预订会议室": "预订会议室",
751
754
  "请把你的任务交给我吧": "请把你的任务交给我吧",
752
755
  "回答中": "回答中",
753
- "近": "近",
754
- "最多支持选择": "最多支持选择",
755
- "个属性": "个属性",
756
756
  "解锁": "解锁",
757
757
  "锁住": "锁住",
758
758
  };
@@ -731,6 +731,9 @@ export default {
731
731
  "符号": "",
732
732
  "修改密码成功": "",
733
733
  "数据趋势": "",
734
+ "近": "",
735
+ "最多支持选择": "",
736
+ "个属性": "",
734
737
  "引用": "",
735
738
  "篇资料作为参考": "",
736
739
  "思考中": "",
@@ -749,9 +752,6 @@ export default {
749
752
  "预订会议室": "",
750
753
  "请把你的任务交给我吧": "",
751
754
  "回答中": "",
752
- "近": "",
753
- "最多支持选择": "",
754
- "个属性": "",
755
755
  "解锁": "",
756
756
  "锁住": "",
757
757
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/upf-ui",
3
- "version": "6.4.0-dev.273",
3
+ "version": "6.4.0-dev.275",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -55,8 +55,8 @@
55
55
  "vue-tsc": "^2.0.29"
56
56
  },
57
57
  "dependencies": {
58
- "@das-fed/upf-cli": "6.4.0-dev.273",
59
- "@das-fed/upf-utils": "6.4.0-dev.273",
58
+ "@das-fed/upf-cli": "6.4.0-dev.275",
59
+ "@das-fed/upf-utils": "6.4.0-dev.275",
60
60
  "@types/markdown-it": "^14.1.2",
61
61
  "@wangeditor-next/editor": "5.6.31",
62
62
  "@wangeditor-next/editor-for-vue": "5.1.14",
@@ -1,9 +1,9 @@
1
1
  import { setI18nRule as f, t as l } from "@das-fed/upf-web/packages/i18n/index";
2
2
  import { withInstall as m } from "@das-fed/upf-utils/with-install/index";
3
- import { openBlock as e, createElementBlock as o, createStaticVNode as p, createElementVNode as c, defineComponent as u, useAttrs as _, computed as v, h as i, normalizeClass as $, createVNode as C, unref as g, mergeProps as y, withCtx as z, renderSlot as S } from "vue";
4
- import { Spin as x } from "ant-design-vue";
3
+ import { openBlock as e, createElementBlock as o, createStaticVNode as p, createElementVNode as c, defineComponent as u, useAttrs as _, normalizeClass as v, createVNode as $, unref as g, mergeProps as C, withCtx as y, renderSlot as z, h as i } from "vue";
4
+ import { Spin as S } from "ant-design-vue";
5
5
  import "ant-design-vue/es/spin/style/css";
6
- import { DasIconLoad as h } from "@das-fed/upf-ui/packages/icons/load/index";
6
+ import { DasIconLoad as x } from "@das-fed/upf-ui/packages/icons/load/index";
7
7
  import "@das-fed/upf-ui/packages/global/theme"
8
8
  import '@das-fed/upf-ui/packages/components/spin/style.css';
9
9
  ;
@@ -12,15 +12,15 @@ const r = (s, t) => {
12
12
  for (const [d, n] of t)
13
13
  a[d] = n;
14
14
  return a;
15
- }, I = {}, L = { class: "das-spin-container das-spin-page" };
16
- function k(s, t) {
17
- return e(), o("div", L, [...t[0] || (t[0] = [
15
+ }, I = {}, h = { class: "das-spin-container das-spin-page" };
16
+ function L(s, t) {
17
+ return e(), o("div", h, [...t[0] || (t[0] = [
18
18
  p('<div class="das-spin-dot-spin" data-v-323f37a9><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i><i class="das-spin-dot-item" data-v-323f37a9></i></div>', 1)
19
19
  ])]);
20
20
  }
21
- const N = /* @__PURE__ */ r(I, [["render", k], ["__scopeId", "data-v-323f37a9"]]), w = {}, B = { class: "das-spin-container das-spin-component" };
22
- function V(s, t) {
23
- return e(), o("div", B, [...t[0] || (t[0] = [
21
+ const k = /* @__PURE__ */ r(I, [["render", L], ["__scopeId", "data-v-323f37a9"]]), N = {}, w = { class: "das-spin-container das-spin-component" };
22
+ function B(s, t) {
23
+ return e(), o("div", w, [...t[0] || (t[0] = [
24
24
  c(
25
25
  "div",
26
26
  { class: "das-spin-dot-spin" },
@@ -32,13 +32,13 @@ function V(s, t) {
32
32
  )
33
33
  ])]);
34
34
  }
35
- const D = /* @__PURE__ */ r(w, [["render", V], ["__scopeId", "data-v-f47a1ae6"]]), E = {}, O = { class: "das-spin-container das-spin-containerload" };
36
- function P(s, t) {
37
- return e(), o("div", O, [...t[0] || (t[0] = [
35
+ const V = /* @__PURE__ */ r(N, [["render", B], ["__scopeId", "data-v-f47a1ae6"]]), D = {}, E = { class: "das-spin-container das-spin-containerload" };
36
+ function O(s, t) {
37
+ return e(), o("div", E, [...t[0] || (t[0] = [
38
38
  p('<div class="das-spin-dot-spin" data-v-f7548f22><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i><i class="das-spin-dot-item" data-v-f7548f22></i></div>', 1)
39
39
  ])]);
40
40
  }
41
- const b = /* @__PURE__ */ r(E, [["render", P], ["__scopeId", "data-v-f7548f22"]]), A = /* @__PURE__ */ u({
41
+ const P = /* @__PURE__ */ r(D, [["render", O], ["__scopeId", "data-v-f7548f22"]]), b = /* @__PURE__ */ u({
42
42
  __name: "index",
43
43
  props: {
44
44
  type: { default: "page" },
@@ -48,28 +48,30 @@ const b = /* @__PURE__ */ r(E, [["render", P], ["__scopeId", "data-v-f7548f22"]]
48
48
  full: { type: Boolean, default: !0 }
49
49
  },
50
50
  setup(s) {
51
- const t = s, a = _(), d = v(() => {
51
+ const t = s, a = _(), d = () => {
52
52
  if (a.indicator) return a.indicator;
53
- if (t.type == "page") return i(N);
54
- if (t.type == "container") return i(b);
55
- if (t.type == "component") return i(D);
53
+ if (t.type == "page") return i(k);
54
+ if (t.type == "container") return i(P);
55
+ if (t.type == "component") return i(V);
56
56
  if (t.type == "load")
57
- return i(h, {
57
+ return i(x, {
58
58
  iconColor: t.iconColor,
59
59
  customSize: t.customSize
60
60
  });
61
- });
62
- return (n, R) => (e(), o(
61
+ };
62
+ return (n, M) => (e(), o(
63
63
  "div",
64
64
  {
65
- class: $({ "das-spin-container": !0, full: s.full })
65
+ class: v({ "das-spin-container": !0, full: s.full })
66
66
  },
67
67
  [
68
- C(g(x), y({
68
+ $(g(S), C({
69
69
  class: `das-slef-spin ${s.size} ${s.type} `
70
- }, n.$attrs, { indicator: d.value }), {
71
- default: z(() => [
72
- S(n.$slots, "default")
70
+ }, n.$attrs, {
71
+ indicator: d()
72
+ }), {
73
+ default: y(() => [
74
+ z(n.$slots, "default")
73
75
  ]),
74
76
  _: 3
75
77
  /* FORWARDED */
@@ -79,10 +81,10 @@ const b = /* @__PURE__ */ r(E, [["render", P], ["__scopeId", "data-v-f7548f22"]]
79
81
  /* CLASS */
80
82
  ));
81
83
  }
82
- }), M = { 加载中: { "zh-CN": "加载中", en: "Loading", "zh-MO": "加載中", _appCode: "framework" } };
83
- f(M);
84
- const Q = m(A), T = { name: `Spin ${l("加载中")}` };
84
+ }), A = { 加载中: { "zh-CN": "加载中", en: "Loading", "zh-MO": "加載中", _appCode: "framework" } };
85
+ f(A);
86
+ const K = m(b), Q = { name: `Spin ${l("加载中")}` };
85
87
  export {
86
- Q as DasSpin,
87
- T as default
88
+ K as DasSpin,
89
+ Q as default
88
90
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, openBlock as i, createElementBlock as l, createElementVNode as h, renderSlot as g, createTextVNode as H, toDisplayString as B, createStaticVNode as A, useAttrs as P, computed as u, h as y, normalizeClass as J, createVNode as w, unref as T, mergeProps as K, withCtx as _, createBlock as z, ref as p, watch as C, onMounted as W, onBeforeUnmount as U, normalizeStyle as j, Fragment as E, createCommentVNode as D, createSlots as q, nextTick as G } from "vue";
1
+ import { defineComponent as x, openBlock as i, createElementBlock as l, createElementVNode as h, renderSlot as g, createTextVNode as H, toDisplayString as B, createStaticVNode as A, useAttrs as P, normalizeClass as J, createVNode as w, unref as I, mergeProps as K, withCtx as _, h as y, createBlock as z, ref as u, computed as m, watch as C, onMounted as W, onBeforeUnmount as U, normalizeStyle as j, Fragment as E, createCommentVNode as D, createSlots as q, nextTick as G } from "vue";
2
2
  import { withInstall as Q } from "@das-fed/upf-utils/with-install/index";
3
3
  import { ElTreeV2 as X } from "element-plus";
4
4
  import "element-plus/es/components/tree-v2/style/css";
@@ -71,7 +71,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
71
71
  full: { type: Boolean, default: !0 }
72
72
  },
73
73
  setup(a) {
74
- const t = a, d = P(), c = u(() => {
74
+ const t = a, d = P(), c = () => {
75
75
  if (d.indicator) return d.indicator;
76
76
  if (t.type == "page") return y(fe);
77
77
  if (t.type == "container") return y(ge);
@@ -81,16 +81,18 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
81
81
  iconColor: t.iconColor,
82
82
  customSize: t.customSize
83
83
  });
84
- });
84
+ };
85
85
  return (f, e) => (i(), l(
86
86
  "div",
87
87
  {
88
88
  class: J({ "das-spin-container": !0, full: a.full })
89
89
  },
90
90
  [
91
- w(T(ee), K({
91
+ w(I(ee), K({
92
92
  class: `das-slef-spin ${a.size} ${a.type} `
93
- }, f.$attrs, { indicator: c.value }), {
93
+ }, f.$attrs, {
94
+ indicator: c()
95
+ }), {
94
96
  default: _(() => [
95
97
  g(f.$slots, "default")
96
98
  ]),
@@ -105,7 +107,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
105
107
  }), $e = /* @__PURE__ */ x({
106
108
  __name: "expand-icon",
107
109
  setup(a) {
108
- return (t, d) => (i(), z(T(ae), {
110
+ return (t, d) => (i(), z(I(ae), {
109
111
  class: "das-tree__expand-icon",
110
112
  size: "medium"
111
113
  }));
@@ -128,7 +130,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
128
130
  filterMethod: {}
129
131
  },
130
132
  setup(a, { expose: t }) {
131
- const d = p(), c = p(), f = p(0), e = a, I = u(() => e.emptyText || Y("暂无数据")), r = u(() => ({ label: "name", children: "children", disabled: "disabled", ...e.props, value: e.nodeKey })), L = u(() => e != null && e.height ? e.height + "px" : "100%"), O = u(() => e != null && e.height ? e.height : f.value), R = (n, o) => o[r.value.label].toLowerCase().includes(n.toLowerCase()), V = u(() => (e == null ? void 0 : e.filterMethod) ?? R), S = () => {
133
+ const d = u(), c = u(), f = u(0), e = a, T = m(() => e.emptyText || Y("暂无数据")), r = m(() => ({ label: "name", children: "children", disabled: "disabled", ...e.props, value: e.nodeKey })), L = m(() => e != null && e.height ? e.height + "px" : "100%"), O = m(() => e != null && e.height ? e.height : f.value), R = (n, o) => o[r.value.label].toLowerCase().includes(n.toLowerCase()), V = m(() => (e == null ? void 0 : e.filterMethod) ?? R), S = () => {
132
134
  if (e.data && e.data.length) {
133
135
  const o = N(e.data, r.value.children, !1).filter((s) => s[r.value.children] && s[r.value.children].length).map((s) => s[e.nodeKey]);
134
136
  G(() => {
@@ -147,11 +149,11 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
147
149
  () => e.data,
148
150
  (n, o) => {
149
151
  if (!e.defaultExpandAll) return;
150
- const s = n && n.length ? n : [], m = o && o.length ? o : [], M = N(s).map((k) => k[e.nodeKey]), F = N(m).map((k) => k[e.nodeKey]);
151
- m.length && JSON.stringify(M) === JSON.stringify(F) || S();
152
+ const s = n && n.length ? n : [], p = o && o.length ? o : [], M = N(s).map((k) => k[e.nodeKey]), F = N(p).map((k) => k[e.nodeKey]);
153
+ p.length && JSON.stringify(M) === JSON.stringify(F) || S();
152
154
  }
153
155
  );
154
- const $ = p(!1);
156
+ const $ = u(!1);
155
157
  C(
156
158
  () => e.data,
157
159
  (n) => {
@@ -165,7 +167,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
165
167
  },
166
168
  { immediate: !0, deep: !0 }
167
169
  );
168
- const b = p();
170
+ const b = u();
169
171
  return W(() => {
170
172
  b.value = ne(
171
173
  (n) => {
@@ -186,7 +188,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
186
188
  style: j({ height: L.value })
187
189
  },
188
190
  [
189
- a.data && a.data.length ? (i(), z(T(X), K({
191
+ a.data && a.data.length ? (i(), z(I(X), K({
190
192
  key: 0,
191
193
  ref_key: "treeRef",
192
194
  ref: c,
@@ -200,17 +202,17 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
200
202
  "item-size": 32,
201
203
  "default-expand-all": "",
202
204
  "filter-method": V.value,
203
- "empty-text": I.value
205
+ "empty-text": T.value
204
206
  }, n.$attrs), {
205
- default: _(({ node: s, data: m }) => [
207
+ default: _(({ node: s, data: p }) => [
206
208
  g(n.$slots, "default", {
207
209
  node: s,
208
- data: m
210
+ data: p
209
211
  }, () => [
210
212
  h(
211
213
  "div",
212
214
  Ce,
213
- B(m[r.value.label]),
215
+ B(p[r.value.label]),
214
216
  1
215
217
  /* TEXT */
216
218
  )
@@ -249,7 +251,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
249
251
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
250
252
  )) : (i(), z(de, {
251
253
  key: 0,
252
- "empty-text": I.value
254
+ "empty-text": T.value
253
255
  }, q({
254
256
  _: 2
255
257
  /* DYNAMIC */
@@ -273,7 +275,7 @@ const ge = /* @__PURE__ */ v(ve, [["render", _e], ["__scopeId", "data-v-f7548f22
273
275
  }
274
276
  }), ze = { 暂无数据: { "zh-CN": "暂无数据", en: "No Data", "zh-MO": "暫無數據", _appCode: "framework" } };
275
277
  Z(ze);
276
- const Re = Q(Ne), Ve = () => p(null), Me = { title: "virtual-tree 虚拟树" };
278
+ const Re = Q(Ne), Ve = () => u(null), Me = { title: "virtual-tree 虚拟树" };
277
279
  export {
278
280
  Re as DasVirtualTree,
279
281
  Ve as DasVirtualTreeRef,