@das-fed/upf-ui 6.4.0-dev.216 → 6.4.0-dev.217

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 (100) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-BgyMyjJo.js → index-BybM3Q9u.js} +700 -711
  3. package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
  4. package/packages/business-components/ai-panel/index-CgWRv2Ge.js +142 -0
  5. package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-Bw7rNZmA.js → index-CwdJKHy0.js} +9 -9
  7. package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.js +8773 -8873
  10. package/packages/business-components/device-panel/index.js.gz +0 -0
  11. package/packages/business-components/echarts/index.js +2049 -2056
  12. package/packages/business-components/echarts/index.js.gz +0 -0
  13. package/packages/business-components/process-configuration/index.js +50 -50
  14. package/packages/business-components/process-configuration/index.js.gz +0 -0
  15. package/packages/business-components/process-form/index.js +149 -149
  16. package/packages/business-components/process-form/index.js.gz +0 -0
  17. package/packages/business-components/process-search-form/index.js +60 -60
  18. package/packages/business-components/process-search-form/index.js.gz +0 -0
  19. package/packages/business-components/process-table/index.js +128 -130
  20. package/packages/business-components/process-table/index.js.gz +0 -0
  21. package/packages/business-components/urgent-panel/index.js +896 -904
  22. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  23. package/packages/business-components/user-org-dialog/index.js +246 -249
  24. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  25. package/packages/business-components/video-dialog/index.js +0 -1
  26. package/packages/business-components/video-dialog/index.js.gz +0 -0
  27. package/packages/components/autocomplete/index.js +6 -12
  28. package/packages/components/autocomplete/index.js.gz +0 -0
  29. package/packages/components/calendar/index.js +104 -104
  30. package/packages/components/calendar/index.js.gz +0 -0
  31. package/packages/components/cascader/index.js +27 -27
  32. package/packages/components/cascader/index.js.gz +0 -0
  33. package/packages/components/checkbox/index.js +54 -54
  34. package/packages/components/checkbox/index.js.gz +0 -0
  35. package/packages/components/date-picker/index.js +459 -459
  36. package/packages/components/date-picker/index.js.gz +0 -0
  37. package/packages/components/dimple-layout/index.js +61 -63
  38. package/packages/components/dimple-layout/index.js.gz +0 -0
  39. package/packages/components/dropdown/index.js +22 -23
  40. package/packages/components/dropdown/index.js.gz +0 -0
  41. package/packages/components/edit-table/index.js +223 -224
  42. package/packages/components/edit-table/index.js.gz +0 -0
  43. package/packages/components/error-overlay-model/index.js +42 -44
  44. package/packages/components/error-overlay-model/index.js.gz +0 -0
  45. package/packages/components/form-item/index.js +63 -67
  46. package/packages/components/form-item/index.js.gz +0 -0
  47. package/packages/components/image-viewer/index.js +32 -32
  48. package/packages/components/image-viewer/index.js.gz +0 -0
  49. package/packages/components/input/index.d.ts +4264 -0
  50. package/packages/components/input/index.js +51 -51
  51. package/packages/components/input/index.js.gz +0 -0
  52. package/packages/components/input/src/index.vue.d.ts +1432 -0
  53. package/packages/components/input-number/index.js +44 -44
  54. package/packages/components/input-number/index.js.gz +0 -0
  55. package/packages/components/live-player/index.js +832 -834
  56. package/packages/components/live-player/index.js.gz +0 -0
  57. package/packages/components/map/index.js +431 -437
  58. package/packages/components/map/index.js.gz +0 -0
  59. package/packages/components/menu-aside/index.js +1 -1
  60. package/packages/components/menu-aside/index.js.gz +0 -0
  61. package/packages/components/message/index.js +6 -6
  62. package/packages/components/message/index.js.gz +0 -0
  63. package/packages/components/radio-tabs/index.js +33 -33
  64. package/packages/components/radio-tabs/index.js.gz +0 -0
  65. package/packages/components/rich-editor/index.js +4556 -4586
  66. package/packages/components/rich-editor/index.js.gz +0 -0
  67. package/packages/components/scrollbar/index.js +135 -135
  68. package/packages/components/scrollbar/index.js.gz +0 -0
  69. package/packages/components/search/index.js +2 -2
  70. package/packages/components/search/index.js.gz +0 -0
  71. package/packages/components/select/index.js +92 -92
  72. package/packages/components/select/index.js.gz +0 -0
  73. package/packages/components/select-list/index.js +6 -10
  74. package/packages/components/select-list/index.js.gz +0 -0
  75. package/packages/components/special-range-picker-month/index.js +14 -16
  76. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  77. package/packages/components/special-range-picker-year/index.js +51 -53
  78. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  79. package/packages/components/spin/index.js +35 -35
  80. package/packages/components/spin/index.js.gz +0 -0
  81. package/packages/components/split-panel/index.js +101 -102
  82. package/packages/components/split-panel/index.js.gz +0 -0
  83. package/packages/components/table/index.js +599 -604
  84. package/packages/components/table/index.js.gz +0 -0
  85. package/packages/components/time-line/index.js +1 -1
  86. package/packages/components/time-line/index.js.gz +0 -0
  87. package/packages/components/tree/index.js +173 -182
  88. package/packages/components/tree/index.js.gz +0 -0
  89. package/packages/components/tree-select/index.js +81 -81
  90. package/packages/components/tree-select/index.js.gz +0 -0
  91. package/packages/components/tree-table/index.js +2 -2
  92. package/packages/components/tree-table/index.js.gz +0 -0
  93. package/packages/components/tree-v2/index.js +1208 -1240
  94. package/packages/components/tree-v2/index.js.gz +0 -0
  95. package/packages/components/virtual-tree/src/App.vue.d.ts +3974 -0
  96. package/packages/components/virtual-tree/src/type.d.ts +43 -0
  97. package/packages/business-components/ai-panel/index-B4pMosXu.js +0 -143
  98. package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
  99. package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
  100. package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
@@ -32,8 +32,8 @@ const G = () => ({ getDateTime: (o) => {
32
32
  isInNewRange: (p) => {
33
33
  if (!a.value.begin || !a.value.end || !d.value) return !1;
34
34
  const t = l(g(p)), f = l(d.value);
35
- let k = l(a.value.begin), S = l(a.value.end);
36
- return s.value === "begin" ? (f > k && (k = f), t <= S && t >= k) : (f < S && (S = f), t <= S && t >= k);
35
+ let k = l(a.value.begin), C = l(a.value.end);
36
+ return s.value === "begin" ? (f > k && (k = f), t <= C && t >= k) : (f < C && (C = f), t <= C && t >= k);
37
37
  },
38
38
  outBeginDate: (p) => {
39
39
  if (!a.value.begin) return !1;
@@ -86,10 +86,8 @@ const G = () => ({ getDateTime: (o) => {
86
86
  }), g = () => {
87
87
  var B, y, D;
88
88
  o.value = (B = s.value) == null ? void 0 : B.clientWidth;
89
- const { top: C = 0, left: E = 0 } = ((y = s.value) == null ? void 0 : y.getBoundingClientRect()) ?? {};
90
- console.log(C, E, "=============");
91
- const R = (D = s.value) == null ? void 0 : D.clientHeight;
92
- n.value.x = E, n.value.y = C + R;
89
+ const { top: S = 0, left: z = 0 } = ((y = s.value) == null ? void 0 : y.getBoundingClientRect()) ?? {}, R = (D = s.value) == null ? void 0 : D.clientHeight;
90
+ n.value.x = z, n.value.y = S + R;
93
91
  };
94
92
  return {
95
93
  $dasSpecialRangeMonthPicker: s,
@@ -125,9 +123,9 @@ const G = () => ({ getDateTime: (o) => {
125
123
  emits: ["update:modelValue", "change", "update:error", "show-popover"],
126
124
  setup(u, { emit: s }) {
127
125
  const r = u, o = s, n = h(!1), a = q(r, "modelValue"), d = h(["", ""]), l = q(r, "error"), g = h([]), m = h(void 0);
128
- let z = !0;
129
- const C = h(0), E = V(() => !r.disabled && !r.isView && a.value[0] && a.value[1]), R = (v, c) => {
130
- r.disabled || r.isView || (z = !1, n.value = !0, m.value = c, C.value = 0, d.value = [a.value[0], a.value[1]], o("show-popover"));
126
+ let E = !0;
127
+ const S = h(0), z = V(() => !r.disabled && !r.isView && a.value[0] && a.value[1]), R = (v, c) => {
128
+ r.disabled || r.isView || (E = !1, n.value = !0, m.value = c, S.value = 0, d.value = [a.value[0], a.value[1]], o("show-popover"));
131
129
  }, B = () => {
132
130
  m.value = void 0;
133
131
  const v = D.value;
@@ -138,11 +136,11 @@ const G = () => ({ getDateTime: (o) => {
138
136
  isInHoverRange: t,
139
137
  isInNewRange: f,
140
138
  outBeginDate: k,
141
- outEndDate: S,
139
+ outEndDate: C,
142
140
  clickData: J,
143
141
  mouseEnter: K,
144
142
  mouseLeave: F
145
- } = he(d, m, C, a, B), {
143
+ } = he(d, m, S, a, B), {
146
144
  $dasSpecialRangeMonthPicker: Q,
147
145
  isHoverInInput: _,
148
146
  errorModalBaseSyle: U,
@@ -152,8 +150,8 @@ const G = () => ({ getDateTime: (o) => {
152
150
  errorModallInputMouseLeave: T
153
151
  } = me(r), ee = () => {
154
152
  setTimeout(() => {
155
- if (!z) {
156
- z = !0;
153
+ if (!E) {
154
+ E = !0;
157
155
  return;
158
156
  }
159
157
  d.value = ["", ""], D.value = { begin: a.value[0], end: a.value[1] }, m.value = void 0, n.value = !1;
@@ -211,12 +209,12 @@ const G = () => ({ getDateTime: (o) => {
211
209
  style: { width: "16px" }
212
210
  }, [
213
211
  $(e(fe), {
214
- class: x(["icon-date", { "has-data": E.value }]),
212
+ class: x(["icon-date", { "has-data": z.value }]),
215
213
  size: "medium",
216
214
  "icon-color": e(Y)("--das-ui-color-normal")
217
215
  }, null, 8, ["class", "icon-color"]),
218
216
  $(e(be), {
219
- class: x(["icon-delete", { "has-data": E.value }]),
217
+ class: x(["icon-delete", { "has-data": z.value }]),
220
218
  size: "medium",
221
219
  "icon-color": e(Y)("--das-ui-special-range-picker-close-btn"),
222
220
  onClick: ae
@@ -238,7 +236,7 @@ const G = () => ({ getDateTime: (o) => {
238
236
  "new-range": e(f)(i),
239
237
  "range-start": e(y)(e(D).begin) === e(y)(i),
240
238
  "range-end": e(y)(e(D).end) === e(y)(i),
241
- "out-range": e(k)(i) || e(S)(i)
239
+ "out-range": e(k)(i) || e(C)(i)
242
240
  }]),
243
241
  onMouseenter: (re) => e(K)(i),
244
242
  onClick: (re) => e(J)(i)
@@ -15,63 +15,63 @@ import "@das-fed/upf-ui/packages/global/theme";
15
15
  const ne = () => ({ getDateTime: (t) => {
16
16
  const v = `2020/${t}`;
17
17
  return new Date(v).getTime();
18
- }, formatDateStr: (t) => t >= 10 ? t : "0" + t }), Ee = (k, f, r, t, v, l, w) => {
19
- const i = y({ begin: "", end: "" }), C = y(""), { getDateTime: h, formatDateStr: u } = ne();
18
+ }, formatDateStr: (t) => t >= 10 ? t : "0" + t }), Ee = (k, g, r, t, v, l, w) => {
19
+ const i = y({ begin: "", end: "" }), C = y(""), { getDateTime: f, formatDateStr: u } = ne();
20
20
  return {
21
21
  popClickData: i,
22
22
  isInRange: (o, s) => {
23
23
  if (!i.value.begin || !i.value.end) return !1;
24
24
  const m = {
25
25
  left: k.value,
26
- right: f.value
27
- }, n = h(`${u(m[s])}/${u(o)}`), D = h(i.value.begin), $ = h(i.value.end);
26
+ right: g.value
27
+ }, n = f(`${u(m[s])}/${u(o)}`), D = f(i.value.begin), $ = f(i.value.end);
28
28
  return n <= $ && n >= D;
29
29
  },
30
30
  isInHoverRange: (o, s) => {
31
31
  if (!r.value[0] || !r.value[1]) return !1;
32
32
  const m = {
33
33
  left: k.value,
34
- right: f.value
35
- }, n = h(`${u(m[s])}/${u(o)}`), D = h(r.value[0]), $ = h(r.value[1]);
34
+ right: g.value
35
+ }, n = f(`${u(m[s])}/${u(o)}`), D = f(r.value[0]), $ = f(r.value[1]);
36
36
  return n <= $ && n >= D;
37
37
  },
38
38
  isInNewRange: (o, s) => {
39
39
  if (!i.value.begin || !i.value.end || !C.value) return !1;
40
40
  const m = {
41
41
  left: k.value,
42
- right: f.value
43
- }, n = h(`${u(m[s])}/${u(o)}`), D = h(C.value);
44
- let $ = h(i.value.begin), z = h(i.value.end);
42
+ right: g.value
43
+ }, n = f(`${u(m[s])}/${u(o)}`), D = f(C.value);
44
+ let $ = f(i.value.begin), z = f(i.value.end);
45
45
  return t.value === "begin" ? (D > $ && ($ = D), n <= z && n >= $) : (D < z && (z = D), n <= z && n >= $);
46
46
  },
47
47
  outBeginDate: (o, s) => {
48
48
  if (!i.value.begin) return !1;
49
49
  const m = {
50
50
  left: k.value,
51
- right: f.value
52
- }, n = h(`${u(m[s])}/${u(o)}`), D = h(i.value.begin);
51
+ right: g.value
52
+ }, n = f(`${u(m[s])}/${u(o)}`), D = f(i.value.begin);
53
53
  return v.value === 1 && t.value === "end" && n < D;
54
54
  },
55
55
  outEndDate: (o, s) => {
56
56
  if (!i.value.end) return !1;
57
57
  const m = {
58
58
  left: k.value,
59
- right: f.value
60
- }, n = h(`${u(m[s])}/${u(o)}`), D = h(i.value.end);
59
+ right: g.value
60
+ }, n = f(`${u(m[s])}/${u(o)}`), D = f(i.value.end);
61
61
  return v.value === 1 && t.value === "begin" && n > D;
62
62
  },
63
63
  clickData: (o, s) => {
64
64
  v.value++;
65
65
  const m = {
66
66
  left: k.value,
67
- right: f.value
67
+ right: g.value
68
68
  }, n = `${u(m[s])}/${u(o)}`;
69
69
  t.value === "begin" ? i.value.begin = n : i.value.end = n, v.value === 1 ? t.value = t.value === "begin" ? "end" : "begin" : w();
70
70
  },
71
71
  mouseEnter: (o, s) => {
72
72
  const m = {
73
73
  left: k.value,
74
- right: f.value
74
+ right: g.value
75
75
  }, n = `${u(m[s])}/${u(o)}`;
76
76
  C.value = n, t.value === "begin" ? r.value[0] = n : r.value[1] = n;
77
77
  },
@@ -80,7 +80,7 @@ const ne = () => ({ getDateTime: (t) => {
80
80
  }
81
81
  };
82
82
  }, Se = (k) => {
83
- const f = y(), r = y(!1), t = y(0), v = y({
83
+ const g = y(), r = y(!1), t = y(0), v = y({
84
84
  x: 0,
85
85
  y: 0
86
86
  }), l = W(() => ({
@@ -106,14 +106,12 @@ const ne = () => ({ getDateTime: (t) => {
106
106
  // 'word-break': 'break-all',
107
107
  }), C = () => {
108
108
  var R, _, B;
109
- t.value = (R = f.value) == null ? void 0 : R.clientWidth;
110
- const { top: p = 0, left: b = 0 } = ((_ = f.value) == null ? void 0 : _.getBoundingClientRect()) ?? {};
111
- console.log(p, b, "=============");
112
- const M = (B = f.value) == null ? void 0 : B.clientHeight;
113
- v.value.x = b, v.value.y = p + M;
109
+ t.value = (R = g.value) == null ? void 0 : R.clientWidth;
110
+ const { top: h = 0, left: b = 0 } = ((_ = g.value) == null ? void 0 : _.getBoundingClientRect()) ?? {}, M = (B = g.value) == null ? void 0 : B.clientHeight;
111
+ v.value.x = b, v.value.y = h + M;
114
112
  };
115
113
  return {
116
- $dasSpecialRangeYearPicker: f,
114
+ $dasSpecialRangeYearPicker: g,
117
115
  isHoverInInput: r,
118
116
  errorModalBaseSyle: l,
119
117
  errorModelStyle: w,
@@ -144,22 +142,22 @@ const ne = () => ({ getDateTime: (t) => {
144
142
  errorModelZIndex: { default: 2e3 }
145
143
  },
146
144
  emits: ["update:modelValue", "update:error", "change", "show-popover"],
147
- setup(k, { emit: f }) {
148
- const r = k, t = f, v = y(!1), l = te(r, "modelValue"), w = y(["", ""]), i = te(r, "error"), C = y(0), h = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], u = y({}), p = y(1), b = y(2), M = y(void 0);
145
+ setup(k, { emit: g }) {
146
+ const r = k, t = g, v = y(!1), l = te(r, "modelValue"), w = y(["", ""]), i = te(r, "error"), C = y(0), f = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], u = y({}), h = y(1), b = y(2), M = y(void 0);
149
147
  let R = !0;
150
- const _ = y(0), B = W(() => !r.disabled && !r.isView && l.value[0] && l.value[1]), Y = (g, c) => {
148
+ const _ = y(0), B = W(() => !r.disabled && !r.isView && l.value[0] && l.value[1]), Y = (p, c) => {
151
149
  if (!(r.disabled || r.isView)) {
152
- if (R = !1, v.value = !0, M.value = c, _.value = 0, w.value = [l.value[0], l.value[1]], g) {
153
- const a = Number(g.split("/")[0]);
154
- c === "begin" ? (p.value = a < 12 ? a : 11, b.value = p.value + 1) : (b.value = a > 1 ? a : 2, p.value = b.value - 1);
150
+ if (R = !1, v.value = !0, M.value = c, _.value = 0, w.value = [l.value[0], l.value[1]], p) {
151
+ const a = Number(p.split("/")[0]);
152
+ c === "begin" ? (h.value = a < 12 ? a : 11, b.value = h.value + 1) : (b.value = a > 1 ? a : 2, h.value = b.value - 1);
155
153
  } else
156
- p.value = C.value < 12 ? C.value : 11, b.value = p.value + 1;
154
+ h.value = C.value < 12 ? C.value : 11, b.value = h.value + 1;
157
155
  t("show-popover");
158
156
  }
159
157
  }, Z = () => {
160
158
  M.value = void 0;
161
- const g = s.value;
162
- t("update:modelValue", [g.begin, g.end]), t("change", [g.begin, g.end]), t("update:error", !1), v.value = !1;
159
+ const p = s.value;
160
+ t("update:modelValue", [p.begin, p.end]), t("change", [p.begin, p.end]), t("update:error", !1), v.value = !1;
163
161
  }, { formatDateStr: o } = ne(), {
164
162
  popClickData: s,
165
163
  isInRange: m,
@@ -170,7 +168,7 @@ const ne = () => ({ getDateTime: (t) => {
170
168
  clickData: A,
171
169
  mouseEnter: j,
172
170
  mouseLeave: F
173
- } = Ee(p, b, w, M, _, l, Z), {
171
+ } = Ee(h, b, w, M, _, l, Z), {
174
172
  $dasSpecialRangeYearPicker: oe,
175
173
  isHoverInInput: q,
176
174
  errorModalBaseSyle: le,
@@ -179,9 +177,9 @@ const ne = () => ({ getDateTime: (t) => {
179
177
  errorModalInputMouseEnter: J,
180
178
  errorModallInputMouseLeave: K
181
179
  } = Se(r), ie = () => {
182
- p.value !== 1 && (p.value--, b.value--);
180
+ h.value !== 1 && (h.value--, b.value--);
183
181
  }, ue = () => {
184
- b.value !== 12 && (b.value++, p.value++);
182
+ b.value !== 12 && (b.value++, h.value++);
185
183
  }, ce = () => {
186
184
  setTimeout(() => {
187
185
  if (!R) {
@@ -192,18 +190,18 @@ const ne = () => ({ getDateTime: (t) => {
192
190
  }, 50);
193
191
  }, de = () => {
194
192
  t("update:modelValue", [null, null]), t("update:error", !1), t("change", [null, null]);
195
- }, ve = (g) => {
193
+ }, ve = (p) => {
196
194
  const c = (L) => Array.from({ length: L }, (Q, pe) => pe + 1), a = /* @__PURE__ */ new Date();
197
- C.value = a.getMonth() + 1, h.forEach((L, Q) => {
198
- g[Q + 1] = c(L);
195
+ C.value = a.getMonth() + 1, f.forEach((L, Q) => {
196
+ p[Q + 1] = c(L);
199
197
  }), s.value = { begin: l.value[0], end: l.value[1] };
200
198
  };
201
199
  return me(() => {
202
200
  ve(u.value);
203
- }), (g, c) => (I(), E("div", {
201
+ }), (p, c) => (I(), E("div", {
204
202
  ref_key: "$dasSpecialRangeYearPicker",
205
203
  ref: oe,
206
- style: P({ width: g.width, position: "relative" }),
204
+ style: P({ width: p.width, position: "relative" }),
207
205
  onMouseenter: c[4] || (c[4] = //@ts-ignore
208
206
  (...a) => e(J) && e(J)(...a)),
209
207
  onMouseleave: c[5] || (c[5] = //@ts-ignore
@@ -211,12 +209,12 @@ const ne = () => ({ getDateTime: (t) => {
211
209
  }, [
212
210
  d("div", {
213
211
  class: S(["das-ui-special-range-picker-year-container", [
214
- g.borderType,
212
+ p.borderType,
215
213
  r.disabled ? "disabled" : "",
216
214
  r.isView ? "readonly" : "",
217
215
  { active: M.value !== void 0 },
218
216
  e(i) ? "is-error" : "",
219
- g.size
217
+ p.size
220
218
  ]])
221
219
  }, [
222
220
  V(e(ye), {
@@ -266,7 +264,7 @@ const ne = () => ({ getDateTime: (t) => {
266
264
  d("div", Le, [
267
265
  d("div", _e, [
268
266
  d("div", {
269
- class: S(["turn-btn turn-left", { disabled: p.value === 1 }])
267
+ class: S(["turn-btn turn-left", { disabled: h.value === 1 }])
270
268
  }, [
271
269
  V(e(xe), {
272
270
  class: "turn-icon",
@@ -275,19 +273,19 @@ const ne = () => ({ getDateTime: (t) => {
275
273
  onClick: ie
276
274
  }, null, 8, ["icon-color"])
277
275
  ], 2),
278
- T(" " + x(p.value) + x(e(N)("das-special-range-picker-month").value), 1)
276
+ T(" " + x(h.value) + x(e(N)("das-special-range-picker-month").value), 1)
279
277
  ]),
280
278
  d("div", {
281
279
  class: "date-container-popover left-date-container",
282
280
  onMouseleave: c[2] || (c[2] = //@ts-ignore
283
281
  (...a) => e(F) && e(F)(...a))
284
282
  }, [
285
- (I(!0), E(O, null, ae(u.value[p.value], (a) => (I(), E("div", {
283
+ (I(!0), E(O, null, ae(u.value[h.value], (a) => (I(), E("div", {
286
284
  class: S(["item", {
287
285
  "in-range": e(m)(a, "left") || e(n)(a, "left"),
288
286
  "new-range": e(D)(a, "left"),
289
- "range-start": e(s).begin === `${e(o)(p.value)}/${e(o)(a)}`,
290
- "range-end": e(s).end === `${e(o)(p.value)}/${e(o)(a)}`,
287
+ "range-start": e(s).begin === `${e(o)(h.value)}/${e(o)(a)}`,
288
+ "range-end": e(s).end === `${e(o)(h.value)}/${e(o)(a)}`,
291
289
  "out-range": e($)(a, "left") || e(z)(a, "left")
292
290
  }]),
293
291
  onMouseenter: (L) => e(j)(a, "left"),
@@ -338,9 +336,9 @@ const ne = () => ({ getDateTime: (t) => {
338
336
  _: 1
339
337
  }, 8, ["visible"])
340
338
  ], 2),
341
- e(i) && g.errorLabel ? (I(), E(O, { key: 0 }, [
342
- g.errorMode === "default" ? ee((I(), E("div", Oe, [
343
- T(x(g.errorLabel), 1)
339
+ e(i) && p.errorLabel ? (I(), E(O, { key: 0 }, [
340
+ p.errorMode === "default" ? ee((I(), E("div", Oe, [
341
+ T(x(p.errorLabel), 1)
344
342
  ])), [
345
343
  [e(we)]
346
344
  ]) : e(q) ? (I(), E(O, { key: 1 }, [
@@ -353,7 +351,7 @@ const ne = () => ({ getDateTime: (t) => {
353
351
  }, [
354
352
  d("span", {
355
353
  style: P(e(G))
356
- }, x(g.errorLabel), 5)
354
+ }, x(p.errorLabel), 5)
357
355
  ], 4)
358
356
  ])) : (I(), E("div", {
359
357
  key: 1,
@@ -362,15 +360,15 @@ const ne = () => ({ getDateTime: (t) => {
362
360
  }, [
363
361
  d("span", {
364
362
  style: P(e(G))
365
- }, x(g.errorLabel), 5)
363
+ }, x(p.errorLabel), 5)
366
364
  ], 4))
367
365
  ], 64)) : re("", !0)
368
366
  ], 64)) : re("", !0)
369
367
  ], 36));
370
368
  }
371
- }), Te = (k, f) => {
369
+ }), Te = (k, g) => {
372
370
  const r = k.__vccOpts || k;
373
- for (const [t, v] of f)
371
+ for (const [t, v] of g)
374
372
  r[t] = v;
375
373
  return r;
376
374
  }, We = /* @__PURE__ */ Te(Ye, [["__scopeId", "data-v-10a253c1"]]), Ze = {
@@ -2,37 +2,37 @@ import '@das-fed/upf-ui/packages/components/spin/style.css';
2
2
  import { getVarValue as u, setThemeRule as _ } from "@das-fed/upf-web/packages/theme/index";
3
3
  import { setI18nRule as v, t as g } from "@das-fed/upf-web/packages/i18n/index";
4
4
  import { withInstall as $ } from "@das-fed/upf-utils/with-install/index";
5
- import { openBlock as d, createElementBlock as r, createStaticVNode as m, createElementVNode as l, defineComponent as C, ref as h, useAttrs as z, watch as p, h as n, normalizeClass as S, createVNode as I, unref as f, mergeProps as y, withCtx as L, renderSlot as b } from "vue";
6
- import { Spin as k } from "ant-design-vue";
5
+ import { openBlock as n, createElementBlock as d, createStaticVNode as m, createElementVNode as l, defineComponent as C, ref as h, useAttrs as z, watch as p, h as e, normalizeClass as S, createVNode as I, unref as f, mergeProps as y, withCtx as L, renderSlot as V } from "vue";
6
+ import { Spin as b } from "ant-design-vue";
7
7
  import "ant-design-vue/es/spin/style/css";
8
- import { DasIconLoad as x } from "@das-fed/upf-ui/packages/icons/load/index";
8
+ import { DasIconLoad as k } from "@das-fed/upf-ui/packages/icons/load/index";
9
9
  import "@das-fed/upf-ui/packages/global/theme";
10
- const c = (t, o) => {
11
- const a = t.__vccOpts || t;
12
- for (const [i, s] of o)
13
- a[i] = s;
14
- return a;
15
- }, N = {}, B = { class: "das-spin-container das-spin-page" };
16
- function D(t, o) {
17
- return d(), r("div", B, o[0] || (o[0] = [
10
+ const r = (t, s) => {
11
+ const o = t.__vccOpts || t;
12
+ for (const [i, a] of s)
13
+ o[i] = a;
14
+ return o;
15
+ }, x = {}, N = { class: "das-spin-container das-spin-page" };
16
+ function B(t, s) {
17
+ return n(), d("div", N, s[0] || (s[0] = [
18
18
  m('<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 E = /* @__PURE__ */ c(N, [["render", D], ["__scopeId", "data-v-323f37a9"]]), O = {}, P = { class: "das-spin-container das-spin-component" };
22
- function R(t, o) {
23
- return d(), r("div", P, o[0] || (o[0] = [
21
+ const w = /* @__PURE__ */ r(x, [["render", B], ["__scopeId", "data-v-323f37a9"]]), D = {}, E = { class: "das-spin-container das-spin-component" };
22
+ function O(t, s) {
23
+ return n(), d("div", E, s[0] || (s[0] = [
24
24
  l("div", { class: "das-spin-dot-spin" }, [
25
25
  l("i", { class: "das-spin-dot-item" })
26
26
  ], -1)
27
27
  ]));
28
28
  }
29
- const A = /* @__PURE__ */ c(O, [["render", R], ["__scopeId", "data-v-f47a1ae6"]]), M = {}, T = { class: "das-spin-container das-spin-containerload" };
30
- function V(t, o) {
31
- return d(), r("div", T, o[0] || (o[0] = [
29
+ const P = /* @__PURE__ */ r(D, [["render", O], ["__scopeId", "data-v-f47a1ae6"]]), R = {}, A = { class: "das-spin-container das-spin-containerload" };
30
+ function M(t, s) {
31
+ return n(), d("div", A, s[0] || (s[0] = [
32
32
  m('<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)
33
33
  ]));
34
34
  }
35
- const j = /* @__PURE__ */ c(M, [["render", V], ["__scopeId", "data-v-f7548f22"]]), q = /* @__PURE__ */ C({
35
+ const T = /* @__PURE__ */ r(R, [["render", M], ["__scopeId", "data-v-f7548f22"]]), j = /* @__PURE__ */ C({
36
36
  __name: "index",
37
37
  props: {
38
38
  type: { default: "page" },
@@ -42,37 +42,37 @@ const j = /* @__PURE__ */ c(M, [["render", V], ["__scopeId", "data-v-f7548f22"]]
42
42
  full: { type: Boolean, default: !0 }
43
43
  },
44
44
  setup(t) {
45
- let o = t, a = h("");
45
+ let s = t, o = h("");
46
46
  const i = z();
47
47
  return p(
48
- () => o.type,
49
- (s, e) => {
50
- console.log(s, e), s == "page" && (a.value = n(E)), s == "container" && (a.value = n(j)), s == "component" && (a.value = n(A)), s == "load" && (a.value = n(x, {
51
- iconColor: o.iconColor,
52
- customSize: o.customSize
48
+ () => s.type,
49
+ (a, c) => {
50
+ a == "page" && (o.value = e(w)), a == "container" && (o.value = e(T)), a == "component" && (o.value = e(P)), a == "load" && (o.value = e(k, {
51
+ iconColor: s.iconColor,
52
+ customSize: s.customSize
53
53
  }));
54
54
  },
55
55
  { immediate: !0 }
56
56
  ), p(
57
57
  () => i,
58
- (s, e) => {
59
- console.log("attrs", s, e), i.indicator && (a.value = i.indicator);
58
+ (a, c) => {
59
+ i.indicator && (o.value = i.indicator);
60
60
  },
61
61
  { immediate: !0 }
62
- ), (s, e) => (d(), r("div", {
63
- class: S({ "das-spin-container": !0, full: s.full })
62
+ ), (a, c) => (n(), d("div", {
63
+ class: S({ "das-spin-container": !0, full: a.full })
64
64
  }, [
65
- I(f(k), y({
66
- class: `das-slef-spin ${s.size} ${s.type} `
67
- }, s.$attrs, { indicator: f(a) }), {
65
+ I(f(b), y({
66
+ class: `das-slef-spin ${a.size} ${a.type} `
67
+ }, a.$attrs, { indicator: f(o) }), {
68
68
  default: L(() => [
69
- b(s.$slots, "default")
69
+ V(a.$slots, "default")
70
70
  ]),
71
71
  _: 3
72
72
  }, 16, ["class", "indicator"])
73
73
  ], 2));
74
74
  }
75
- }), w = {
75
+ }), q = {
76
76
  "--das-ui-spin-logo-1-color": "#2486ee",
77
77
  "--das-ui-spin-logo-2-color": "#02ccfe",
78
78
  "--das-ui-spin-logo-3-color": "#05c8c7",
@@ -81,8 +81,8 @@ const j = /* @__PURE__ */ c(M, [["render", V], ["__scopeId", "data-v-f7548f22"]]
81
81
  "--das-ui-spin-logo-6-color": "#ebebeb"
82
82
  }, F = { 加载中: { "zh-CN": "加载中", en: "Loading", "zh-MO": "加載中", _appCode: "framework" } };
83
83
  v(F);
84
- _(w);
85
- const Y = $(q), Z = { name: `Spin ${g("加载中")}` };
84
+ _(q);
85
+ const Y = $(j), Z = { name: `Spin ${g("加载中")}` };
86
86
  export {
87
87
  Y as DasSpin,
88
88
  Z as default