@das-fed/upf-ui 6.4.0-dev.208 → 6.4.0-dev.210

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