@das-fed/ui 6.4.0-hot.23 → 6.4.0-hot.25

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 (90) hide show
  1. package/package.json +7 -7
  2. package/packages/business-components/device-panel/index.js +37397 -37395
  3. package/packages/business-components/device-panel/index.js.gz +0 -0
  4. package/packages/business-components/device-panel/style.css +1 -1
  5. package/packages/business-components/device-panel/style.css.gz +0 -0
  6. package/packages/business-components/export-button/index.js +60 -60
  7. package/packages/business-components/export-button/index.js.gz +0 -0
  8. package/packages/business-components/export-button/style.css +1 -1
  9. package/packages/business-components/import-button/hooks/file.d.ts +1 -0
  10. package/packages/business-components/import-button/hooks/useImport.d.ts +1 -0
  11. package/packages/business-components/import-button/index.js +239 -235
  12. package/packages/business-components/import-button/index.js.gz +0 -0
  13. package/packages/business-components/import-button/style.css +1 -1
  14. package/packages/business-components/model-table-dialog/index.js +37 -37
  15. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  16. package/packages/business-components/model-table-dialog/style.css +1 -1
  17. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  18. package/packages/business-components/process-configuration/index.js +176 -176
  19. package/packages/business-components/process-configuration/index.js.gz +0 -0
  20. package/packages/business-components/process-configuration/style.css +1 -1
  21. package/packages/business-components/process-configuration/style.css.gz +0 -0
  22. package/packages/business-components/process-log/index.js +252 -252
  23. package/packages/business-components/process-log/index.js.gz +0 -0
  24. package/packages/business-components/process-log/style.css +1 -1
  25. package/packages/business-components/process-log/style.css.gz +0 -0
  26. package/packages/business-components/urgent-panel/index.js +1319 -1322
  27. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  28. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/urgentMonitorPanel.vue.d.ts +8 -3
  29. package/packages/business-components/urgent-panel/style.css +1 -1
  30. package/packages/business-components/urgent-panel/style.css.gz +0 -0
  31. package/packages/business-components/user-org-dialog/index.js +3 -3
  32. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  33. package/packages/business-components/user-org-dialog/style.css +1 -1
  34. package/packages/business-components/user-org-dialog/style.css.gz +0 -0
  35. package/packages/business-components/video-dialog/index.js +301 -273
  36. package/packages/business-components/video-dialog/index.js.gz +0 -0
  37. package/packages/business-components/video-dialog/style.css +1 -1
  38. package/packages/business-components/video-dialog/style.css.gz +0 -0
  39. package/packages/components/calendar/index.js +56 -56
  40. package/packages/components/calendar/index.js.gz +0 -0
  41. package/packages/components/color-picker/index.js +41 -41
  42. package/packages/components/color-picker/index.js.gz +0 -0
  43. package/packages/components/color-picker/style.css +1 -1
  44. package/packages/components/color-picker/style.css.gz +0 -0
  45. package/packages/components/date-picker/index.js +444 -444
  46. package/packages/components/date-picker/index.js.gz +0 -0
  47. package/packages/components/date-picker/style.css +1 -1
  48. package/packages/components/date-picker/style.css.gz +0 -0
  49. package/packages/components/dimple-layout/index.js +2299 -2293
  50. package/packages/components/dimple-layout/index.js.gz +0 -0
  51. package/packages/components/dropdown/index.js +26 -25
  52. package/packages/components/dropdown/index.js.gz +0 -0
  53. package/packages/components/input/index.js +73 -73
  54. package/packages/components/input/index.js.gz +0 -0
  55. package/packages/components/input/style.css +1 -1
  56. package/packages/components/input/style.css.gz +0 -0
  57. package/packages/components/loading/index.js +66 -65
  58. package/packages/components/loading/index.js.gz +0 -0
  59. package/packages/components/map/index.js +358 -355
  60. package/packages/components/map/index.js.gz +0 -0
  61. package/packages/components/map/src/hooks/use-map.d.ts +1 -2
  62. package/packages/components/map/style.css +1 -1
  63. package/packages/components/message/index.js +20 -19
  64. package/packages/components/message/index.js.gz +0 -0
  65. package/packages/components/notification/index.js +22 -21
  66. package/packages/components/notification/index.js.gz +0 -0
  67. package/packages/components/progress/index.js +80 -80
  68. package/packages/components/progress/index.js.gz +0 -0
  69. package/packages/components/progress/style.css +1 -1
  70. package/packages/components/progress/style.css.gz +0 -0
  71. package/packages/components/select/index.js +102 -102
  72. package/packages/components/select/index.js.gz +0 -0
  73. package/packages/components/select/style.css +1 -1
  74. package/packages/components/select/style.css.gz +0 -0
  75. package/packages/components/spin/index.js +31 -30
  76. package/packages/components/spin/index.js.gz +0 -0
  77. package/packages/components/table/index.js +2419 -2418
  78. package/packages/components/table/index.js.gz +0 -0
  79. package/packages/components/table/style.css +1 -1
  80. package/packages/components/table/style.css.gz +0 -0
  81. package/packages/components/tooltip/index.js +23 -22
  82. package/packages/components/tooltip/index.js.gz +0 -0
  83. package/packages/components/tree/index.js +1428 -1427
  84. package/packages/components/tree/index.js.gz +0 -0
  85. package/packages/components/tree/src/App.vue.d.ts +9 -11
  86. package/packages/components/tree-select/index.js +274 -274
  87. package/packages/components/tree-select/index.js.gz +0 -0
  88. package/packages/components/virtual-tree/index.js +64 -64
  89. package/packages/components/virtual-tree/index.js.gz +0 -0
  90. package/packages/components/virtual-tree/src/App.vue.d.ts +4 -12
@@ -1,6 +1,7 @@
1
1
  import '@das-fed/ui/packages/components/loading/style.css';
2
2
  import { inject as D, ref as I, computed as x, unref as Z, openBlock as N, createElementBlock as V, createStaticVNode as R, createElementVNode as z, reactive as M, defineComponent as Q, h as _, Transition as W, withCtx as X, withDirectives as ee, createVNode as te, vShow as ne, createApp as oe, toRefs as se, nextTick as j, isRef as ae } from "vue";
3
3
  import { setThemeRule as re } from "@das-fed/web/packages/theme/index";
4
+ import { t as ce } from "@das-fed/web/packages/i18n/index";
4
5
  /**
5
6
  * @vue/shared v3.5.11
6
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -11,22 +12,22 @@ process.env.NODE_ENV !== "production" && Object.freeze([]);
11
12
  const K = (t) => typeof t == "string", F = (t) => t !== null && typeof t == "object", G = (t) => {
12
13
  const e = /* @__PURE__ */ Object.create(null);
13
14
  return (n) => e[n] || (e[n] = t(n));
14
- }, ce = /-(\w)/g, le = G(
15
- (t) => t.replace(ce, (e, n) => n ? n.toUpperCase() : "")
16
- ), ie = /\B([A-Z])/g, de = G(
17
- (t) => t.replace(ie, "-$1").toLowerCase()
18
- ), ue = (t) => typeof t == "number";
15
+ }, le = /-(\w)/g, ie = G(
16
+ (t) => t.replace(le, (e, n) => n ? n.toUpperCase() : "")
17
+ ), de = /\B([A-Z])/g, ue = G(
18
+ (t) => t.replace(de, "-$1").toLowerCase()
19
+ ), ve = (t) => typeof t == "number";
19
20
  var B;
20
21
  const A = typeof window < "u";
21
22
  A && ((B = window == null ? void 0 : window.navigator) != null && B.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
22
23
  const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
23
24
  !t || !e.trim() || t.classList.add(...q(e));
24
- }, $ = (t, e) => {
25
+ }, C = (t, e) => {
25
26
  !t || !e.trim() || t.classList.remove(...q(e));
26
27
  }, b = (t, e) => {
27
28
  var o;
28
29
  if (!A || !t || !e) return "";
29
- let n = le(e);
30
+ let n = ie(e);
30
31
  n === "float" && (n = "cssFloat");
31
32
  try {
32
33
  const c = t.style[n];
@@ -36,26 +37,26 @@ const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
36
37
  } catch {
37
38
  return t.style[n];
38
39
  }
39
- }, L = "das", ve = "is-", m = (t, e, n, o, c) => {
40
+ }, L = "das", me = "is-", f = (t, e, n, o, c) => {
40
41
  let a = `${t}-${e}`;
41
42
  return n && (a += `-${n}`), o && (a += `__${o}`), c && (a += `--${c}`), a;
42
- }, fe = Symbol("namespaceContextKey"), me = (t) => {
43
+ }, fe = Symbol("namespaceContextKey"), ge = (t) => {
43
44
  const e = t || D(fe, I(L));
44
45
  return x(() => Z(e) || L);
45
- }, ge = (t, e) => {
46
- const n = me(e);
46
+ }, pe = (t, e) => {
47
+ const n = ge(e);
47
48
  return {
48
49
  namespace: n,
49
- b: (s = "") => m(n.value, t, s, "", ""),
50
- e: (s) => s ? m(n.value, t, "", s, "") : "",
51
- m: (s) => s ? m(n.value, t, "", "", s) : "",
52
- be: (s, r) => s && r ? m(n.value, t, s, r, "") : "",
53
- em: (s, r) => s && r ? m(n.value, t, "", s, r) : "",
54
- bm: (s, r) => s && r ? m(n.value, t, s, "", r) : "",
55
- bem: (s, r, i) => s && r && i ? m(n.value, t, s, r, i) : "",
50
+ b: (s = "") => f(n.value, t, s, "", ""),
51
+ e: (s) => s ? f(n.value, t, "", s, "") : "",
52
+ m: (s) => s ? f(n.value, t, "", "", s) : "",
53
+ be: (s, r) => s && r ? f(n.value, t, s, r, "") : "",
54
+ em: (s, r) => s && r ? f(n.value, t, "", s, r) : "",
55
+ bm: (s, r) => s && r ? f(n.value, t, s, "", r) : "",
56
+ bem: (s, r, i) => s && r && i ? f(n.value, t, s, r, i) : "",
56
57
  is: (s, ...r) => {
57
58
  const i = r.length >= 1 ? r[0] : !0;
58
- return s && i ? `${ve}${s}` : "";
59
+ return s && i ? `${me}${s}` : "";
59
60
  },
60
61
  // css
61
62
  cssVar: (s) => {
@@ -73,10 +74,10 @@ const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
73
74
  },
74
75
  cssVarBlockName: (s) => `--${n.value}-${t}-${s}`
75
76
  };
76
- }, S = I(0), U = 2e3, pe = Symbol("zIndexContextKey"), ye = (t) => {
77
- const e = t || D(pe, void 0), n = x(() => {
77
+ }, S = I(0), U = 2e3, ye = Symbol("zIndexContextKey"), be = (t) => {
78
+ const e = t || D(ye, void 0), n = x(() => {
78
79
  const a = Z(e);
79
- return ue(a) ? a : U;
80
+ return ve(a) ? a : U;
80
81
  }), o = x(() => n.value + S.value);
81
82
  return {
82
83
  initialZIndex: n,
@@ -84,11 +85,11 @@ const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
84
85
  nextZIndex: () => (S.value++, o.value)
85
86
  };
86
87
  };
87
- function be(t) {
88
- const e = ge(
88
+ function xe(t) {
89
+ const e = pe(
89
90
  t,
90
91
  x(() => L)
91
- ), n = ye(
92
+ ), n = be(
92
93
  x(() => U)
93
94
  );
94
95
  return {
@@ -101,15 +102,15 @@ const k = (t, e) => {
101
102
  for (const [o, c] of e)
102
103
  n[o] = c;
103
104
  return n;
104
- }, xe = {}, _e = { class: "das-loading-container das-loading-page" };
105
+ }, _e = {}, $e = { class: "das-loading-container das-loading-page" };
105
106
  function Ce(t, e) {
106
- return N(), V("div", _e, e[0] || (e[0] = [
107
+ return N(), V("div", $e, e[0] || (e[0] = [
107
108
  R('<div class="das-loading-dot-loading" data-v-8440951a><i class="das-loading-dot-item" data-v-8440951a></i><i class="das-loading-dot-item" data-v-8440951a></i><i class="das-loading-dot-item" data-v-8440951a></i><i class="das-loading-dot-item" data-v-8440951a></i></div>', 1)
108
109
  ]));
109
110
  }
110
- const O = /* @__PURE__ */ k(xe, [["render", Ce], ["__scopeId", "data-v-8440951a"]]), $e = {}, Ie = { class: "das-loading-container das-loading-component" };
111
- function he(t, e) {
112
- return N(), V("div", Ie, e[0] || (e[0] = [
111
+ const O = /* @__PURE__ */ k(_e, [["render", Ce], ["__scopeId", "data-v-8440951a"]]), Ie = {}, he = { class: "das-loading-container das-loading-component" };
112
+ function Le(t, e) {
113
+ return N(), V("div", he, e[0] || (e[0] = [
113
114
  z(
114
115
  "div",
115
116
  { class: "das-loading-dot-loading" },
@@ -121,14 +122,14 @@ function he(t, e) {
121
122
  )
122
123
  ]));
123
124
  }
124
- const Le = /* @__PURE__ */ k($e, [["render", he], ["__scopeId", "data-v-b8cb162d"]]), we = {}, Ne = { class: "das-loading-container das-loading-containerload" };
125
- function Ve(t, e) {
126
- return N(), V("div", Ne, e[0] || (e[0] = [
125
+ const we = /* @__PURE__ */ k(Ie, [["render", Le], ["__scopeId", "data-v-b8cb162d"]]), Ne = {}, Ve = { class: "das-loading-container das-loading-containerload" };
126
+ function Ae(t, e) {
127
+ return N(), V("div", Ve, e[0] || (e[0] = [
127
128
  R('<div class="das-loading-dot-loading" data-v-58e751e4><i class="das-loading-dot-item" data-v-58e751e4></i><i class="das-loading-dot-item" data-v-58e751e4></i><i class="das-loading-dot-item" data-v-58e751e4></i><i class="das-loading-dot-item" data-v-58e751e4></i></div>', 1)
128
129
  ]));
129
130
  }
130
- const Ae = /* @__PURE__ */ k(we, [["render", Ve], ["__scopeId", "data-v-58e751e4"]]);
131
- function ke(t) {
131
+ const ke = /* @__PURE__ */ k(Ne, [["render", Ae], ["__scopeId", "data-v-58e751e4"]]);
132
+ function ze(t) {
132
133
  let e;
133
134
  const n = I(!1), o = M({
134
135
  ...t,
@@ -140,16 +141,16 @@ function ke(t) {
140
141
  o.text = l;
141
142
  }
142
143
  function a() {
143
- const l = o.parent, f = p.ns;
144
+ const l = o.parent, m = p.ns;
144
145
  if (!l.vLoadingAddClassList) {
145
146
  let v = l.getAttribute("loading-number");
146
- v = Number.parseInt(v) - 1, v ? l.setAttribute("loading-number", v.toString()) : ($(l, f.bm("parent", "relative")), l.removeAttribute("loading-number")), $(l, f.bm("parent", "hidden"));
147
+ v = Number.parseInt(v) - 1, v ? l.setAttribute("loading-number", v.toString()) : (C(l, m.bm("parent", "relative")), l.removeAttribute("loading-number")), C(l, m.bm("parent", "hidden"));
147
148
  }
148
149
  u(), h.unmount();
149
150
  }
150
151
  function u() {
151
- var l, f;
152
- (f = (l = p.$el) == null ? void 0 : l.parentNode) == null || f.removeChild(p.$el);
152
+ var l, m;
153
+ (m = (l = p.$el) == null ? void 0 : l.parentNode) == null || m.removeChild(p.$el);
153
154
  }
154
155
  function y() {
155
156
  var l;
@@ -162,15 +163,15 @@ function ke(t) {
162
163
  }
163
164
  const g = Q({
164
165
  name: "DasLoading",
165
- setup(l, { expose: f }) {
166
- const { ns: v, zIndex: s } = be("loading");
167
- return f({
166
+ setup(l, { expose: m }) {
167
+ const { ns: v, zIndex: s } = xe("loading");
168
+ return m({
168
169
  ns: v,
169
170
  zIndex: s
170
171
  }), () => {
171
172
  let r = o.spinner || o.svg || O;
172
173
  const i = o.type;
173
- i == "page" && (r = O), i == "container" && (r = Ae), i == "component" && (r = Le);
174
+ i == "page" && (r = O), i == "container" && (r = ke), i == "component" && (r = we);
174
175
  const H = _(r), J = o.text ? _("p", { class: v.b("text") }, [o.text]) : void 0;
175
176
  return _(
176
177
  W,
@@ -223,23 +224,23 @@ function ke(t) {
223
224
  }
224
225
  };
225
226
  }
226
- let C;
227
+ let $;
227
228
  const Y = function(t = {}) {
228
229
  if (!A) return;
229
- const e = ze(t);
230
- if (e.fullscreen && C)
231
- return C;
232
- const n = ke({
230
+ const e = Be(t);
231
+ if (e.fullscreen && $)
232
+ return $;
233
+ const n = ze({
233
234
  ...e,
234
235
  closed: () => {
235
236
  var c;
236
- (c = e.closed) == null || c.call(e), e.fullscreen && (C = void 0);
237
+ (c = e.closed) == null || c.call(e), e.fullscreen && ($ = void 0);
237
238
  }
238
239
  });
239
- Be(e, e.parent, n), T(e, e.parent, n), e.parent.vLoadingAddClassList = () => T(e, e.parent, n);
240
+ Ee(e, e.parent, n), T(e, e.parent, n), e.parent.vLoadingAddClassList = () => T(e, e.parent, n);
240
241
  let o = e.parent.getAttribute("loading-number");
241
- return o ? o = `${Number.parseInt(o) + 1}` : o = "1", e.parent.setAttribute("loading-number", o), e.parent.appendChild(n.$el), j(() => n.visible.value = e.visible), e.fullscreen && (C = n), n;
242
- }, ze = (t) => {
242
+ return o ? o = `${Number.parseInt(o) + 1}` : o = "1", e.parent.setAttribute("loading-number", o), e.parent.appendChild(n.$el), j(() => n.visible.value = e.visible), e.fullscreen && ($ = n), n;
243
+ }, Be = (t) => {
243
244
  let e;
244
245
  return K(t.target) ? e = document.querySelector(t.target) ?? document.body : e = t.target || document.body, {
245
246
  parent: e === document.body || t.body ? document.body : e,
@@ -255,7 +256,7 @@ const Y = function(t = {}) {
255
256
  visible: t.visible ?? !0,
256
257
  target: e
257
258
  };
258
- }, Be = async (t, e, n) => {
259
+ }, Ee = async (t, e, n) => {
259
260
  const { nextZIndex: o } = n.vm.zIndex || n.vm._.exposed.zIndex, c = {};
260
261
  if (t.fullscreen)
261
262
  n.originalPosition.value = b(document.body, "position"), n.originalOverflow.value = b(document.body, "overflow"), c.zIndex = o();
@@ -273,13 +274,13 @@ const Y = function(t = {}) {
273
274
  n.$el.style[a] = u;
274
275
  }, T = (t, e, n) => {
275
276
  const o = n.vm.ns || n.vm._.exposed.ns;
276
- ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? $(e, o.bm("parent", "relative")) : E(e, o.bm("parent", "relative")), t.fullscreen && t.lock ? E(e, o.bm("parent", "hidden")) : $(e, o.bm("parent", "hidden"));
277
+ ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? C(e, o.bm("parent", "relative")) : E(e, o.bm("parent", "relative")), t.fullscreen && t.lock ? E(e, o.bm("parent", "hidden")) : C(e, o.bm("parent", "hidden"));
277
278
  }, w = Symbol("DasLoading"), P = (t, e) => {
278
279
  const n = e.instance, o = (d) => F(e.value) ? e.value[d] : void 0, c = (d) => {
279
280
  const g = K(d) && (n == null ? void 0 : n[d]) || d;
280
281
  return g && I(g);
281
282
  }, a = (d) => c(
282
- o(d) || t.getAttribute(`das-loading-${de(d)}`)
283
+ o(d) || t.getAttribute(`das-loading-${ue(d)}`)
283
284
  ), u = o("fullscreen") ?? e.modifiers.fullscreen, y = {
284
285
  type: a("type"),
285
286
  text: a("text"),
@@ -297,22 +298,22 @@ const Y = function(t = {}) {
297
298
  options: y,
298
299
  instance: Y(y)
299
300
  };
300
- }, Ee = (t, e) => {
301
+ }, Se = (t, e) => {
301
302
  for (const n of Object.keys(e))
302
303
  ae(e[n]) && (e[n].value = t[n]);
303
- }, Pe = {
304
+ }, Ze = {
304
305
  mounted(t, e) {
305
306
  e.value && P(t, e);
306
307
  },
307
308
  updated(t, e) {
308
309
  const n = t[w];
309
- e.oldValue !== e.value && (e.value && !e.oldValue ? P(t, e) : e.value && e.oldValue ? F(e.value) && Ee(e.value, n.options) : n == null || n.instance.close());
310
+ e.oldValue !== e.value && (e.value && !e.oldValue ? P(t, e) : e.value && e.oldValue ? F(e.value) && Se(e.value, n.options) : n == null || n.instance.close());
310
311
  },
311
312
  unmounted(t) {
312
313
  var e;
313
314
  (e = t[w]) == null || e.instance.close();
314
315
  }
315
- }, Se = {
316
+ }, Oe = {
316
317
  "--das-ui-loading-logo-1-color": "#2486ee",
317
318
  "--das-ui-loading-logo-2-color": "#02ccfe",
318
319
  "--das-ui-loading-logo-3-color": "#05c8c7",
@@ -320,12 +321,12 @@ const Y = function(t = {}) {
320
321
  "--das-ui-loading-logo-5-color": "#5582f3",
321
322
  "--das-ui-loading-logo-6-color": "#ebebeb"
322
323
  };
323
- re(Se);
324
- const De = {
324
+ re(Oe);
325
+ const Re = {
325
326
  service: Y
326
- }, Ze = { name: "loading 加载" };
327
+ }, je = { name: `loading ${ce("加载")}` };
327
328
  export {
328
- De as DasLoading,
329
- Ze as default,
330
- Pe as vDasLoading
329
+ Re as DasLoading,
330
+ je as default,
331
+ Ze as vDasLoading
331
332
  };