@das-fed/ui 7.0.7-hot.21 → 7.0.7-hot.23

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 (99) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DMJXZM7n.js} +1067 -1056
  3. package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-MqhMkLo9.js} +9 -9
  5. package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-_q72oKSF.js} +63 -62
  7. package/packages/business-components/ai-panel/index-_q72oKSF.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.js +14908 -14808
  10. package/packages/business-components/device-panel/index.js.gz +0 -0
  11. package/packages/business-components/echarts/index.js +2056 -2049
  12. package/packages/business-components/echarts/index.js.gz +0 -0
  13. package/packages/business-components/process-configuration/index.js +46 -46
  14. package/packages/business-components/process-configuration/index.js.gz +0 -0
  15. package/packages/business-components/process-form/index.js +99 -99
  16. package/packages/business-components/process-form/index.js.gz +0 -0
  17. package/packages/business-components/process-search-form/index.js +77 -77
  18. package/packages/business-components/process-search-form/index.js.gz +0 -0
  19. package/packages/business-components/process-table/index.js +215 -213
  20. package/packages/business-components/process-table/index.js.gz +0 -0
  21. package/packages/business-components/urgent-panel/index.js +1104 -1096
  22. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  23. package/packages/business-components/user-org-dialog/index.js +243 -240
  24. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  25. package/packages/business-components/video-dialog/index.js +65 -64
  26. package/packages/business-components/video-dialog/index.js.gz +0 -0
  27. package/packages/components/autocomplete/index.js +12 -6
  28. package/packages/components/autocomplete/index.js.gz +0 -0
  29. package/packages/components/calendar/index.js +99 -99
  30. package/packages/components/calendar/index.js.gz +0 -0
  31. package/packages/components/cascader/index.js +2 -2
  32. package/packages/components/cascader/index.js.gz +0 -0
  33. package/packages/components/checkbox/index.js +30 -30
  34. package/packages/components/checkbox/index.js.gz +0 -0
  35. package/packages/components/date-picker/index.js +212 -212
  36. package/packages/components/date-picker/index.js.gz +0 -0
  37. package/packages/components/dimple-layout/index.js +77 -75
  38. package/packages/components/dimple-layout/index.js.gz +0 -0
  39. package/packages/components/dropdown/index.js +25 -24
  40. package/packages/components/dropdown/index.js.gz +0 -0
  41. package/packages/components/edit-table/index.js +398 -397
  42. package/packages/components/edit-table/index.js.gz +0 -0
  43. package/packages/components/error-overlay-model/index.js +47 -45
  44. package/packages/components/error-overlay-model/index.js.gz +0 -0
  45. package/packages/components/form-item/index.js +67 -67
  46. package/packages/components/form-item/index.js.gz +0 -0
  47. package/packages/components/hls-player/index.js +14 -7
  48. package/packages/components/hls-player/index.js.gz +0 -0
  49. package/packages/components/image-upload/index.js +147 -143
  50. package/packages/components/image-upload/index.js.gz +0 -0
  51. package/packages/components/image-viewer/index.js +297 -293
  52. package/packages/components/image-viewer/index.js.gz +0 -0
  53. package/packages/components/input/index.js +52 -52
  54. package/packages/components/input/index.js.gz +0 -0
  55. package/packages/components/input-number/index.js +26 -26
  56. package/packages/components/input-number/index.js.gz +0 -0
  57. package/packages/components/live-player/index.js +251 -248
  58. package/packages/components/live-player/index.js.gz +0 -0
  59. package/packages/components/map/index.js +421 -415
  60. package/packages/components/map/index.js.gz +0 -0
  61. package/packages/components/menu-aside/index.js +1 -1
  62. package/packages/components/menu-aside/index.js.gz +0 -0
  63. package/packages/components/message/index.js +6 -6
  64. package/packages/components/message/index.js.gz +0 -0
  65. package/packages/components/popover/index.js +12 -12
  66. package/packages/components/popover/index.js.gz +0 -0
  67. package/packages/components/radio-tabs/index.js +34 -34
  68. package/packages/components/radio-tabs/index.js.gz +0 -0
  69. package/packages/components/rich-editor/index.js +4613 -4583
  70. package/packages/components/rich-editor/index.js.gz +0 -0
  71. package/packages/components/scrollbar/index.js +135 -135
  72. package/packages/components/scrollbar/index.js.gz +0 -0
  73. package/packages/components/search/index.js +24 -24
  74. package/packages/components/search/index.js.gz +0 -0
  75. package/packages/components/select/index.js +60 -60
  76. package/packages/components/select/index.js.gz +0 -0
  77. package/packages/components/select-list/index.js +9 -5
  78. package/packages/components/select-list/index.js.gz +0 -0
  79. package/packages/components/special-range-picker-month/index.js +16 -14
  80. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  81. package/packages/components/special-range-picker-year/index.js +53 -51
  82. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  83. package/packages/components/spin/index.js +33 -33
  84. package/packages/components/spin/index.js.gz +0 -0
  85. package/packages/components/split-panel/index.js +129 -128
  86. package/packages/components/split-panel/index.js.gz +0 -0
  87. package/packages/components/table/index.js +179 -178
  88. package/packages/components/table/index.js.gz +0 -0
  89. package/packages/components/time-line/index.js +1 -1
  90. package/packages/components/time-line/index.js.gz +0 -0
  91. package/packages/components/tree-select/index.js +1 -1
  92. package/packages/components/tree-select/index.js.gz +0 -0
  93. package/packages/components/tree-table/index.js +2 -2
  94. package/packages/components/tree-table/index.js.gz +0 -0
  95. package/packages/components/tree-v2/index.js +1117 -1093
  96. package/packages/components/tree-v2/index.js.gz +0 -0
  97. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  98. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  99. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
@@ -15,63 +15,63 @@ import "@das-fed/ui/packages/global/theme";
15
15
  const oe = () => ({ 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 } = oe();
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 } = oe();
20
20
  return {
21
21
  popClickData: i,
22
22
  isInRange: (n, 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
- }, o = f(`${u(m[s])}/${u(n)}`), D = f(i.value.begin), $ = f(i.value.end);
26
+ right: f.value
27
+ }, o = h(`${u(m[s])}/${u(n)}`), D = h(i.value.begin), $ = h(i.value.end);
28
28
  return o <= $ && o >= D;
29
29
  },
30
30
  isInHoverRange: (n, 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
- }, o = f(`${u(m[s])}/${u(n)}`), D = f(r.value[0]), $ = f(r.value[1]);
34
+ right: f.value
35
+ }, o = h(`${u(m[s])}/${u(n)}`), D = h(r.value[0]), $ = h(r.value[1]);
36
36
  return o <= $ && o >= D;
37
37
  },
38
38
  isInNewRange: (n, 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
- }, o = f(`${u(m[s])}/${u(n)}`), D = f(C.value);
44
- let $ = f(i.value.begin), L = f(i.value.end);
42
+ right: f.value
43
+ }, o = h(`${u(m[s])}/${u(n)}`), D = h(C.value);
44
+ let $ = h(i.value.begin), L = h(i.value.end);
45
45
  return t.value === "begin" ? (D > $ && ($ = D), o <= L && o >= $) : (D < L && (L = D), o <= L && o >= $);
46
46
  },
47
47
  outBeginDate: (n, s) => {
48
48
  if (!i.value.begin) return !1;
49
49
  const m = {
50
50
  left: k.value,
51
- right: g.value
52
- }, o = f(`${u(m[s])}/${u(n)}`), D = f(i.value.begin);
51
+ right: f.value
52
+ }, o = h(`${u(m[s])}/${u(n)}`), D = h(i.value.begin);
53
53
  return v.value === 1 && t.value === "end" && o < D;
54
54
  },
55
55
  outEndDate: (n, s) => {
56
56
  if (!i.value.end) return !1;
57
57
  const m = {
58
58
  left: k.value,
59
- right: g.value
60
- }, o = f(`${u(m[s])}/${u(n)}`), D = f(i.value.end);
59
+ right: f.value
60
+ }, o = h(`${u(m[s])}/${u(n)}`), D = h(i.value.end);
61
61
  return v.value === 1 && t.value === "begin" && o > D;
62
62
  },
63
63
  clickData: (n, s) => {
64
64
  v.value++;
65
65
  const m = {
66
66
  left: k.value,
67
- right: g.value
67
+ right: f.value
68
68
  }, o = `${u(m[s])}/${u(n)}`;
69
69
  t.value === "begin" ? i.value.begin = o : i.value.end = o, v.value === 1 ? t.value = t.value === "begin" ? "end" : "begin" : w();
70
70
  },
71
71
  mouseEnter: (n, s) => {
72
72
  const m = {
73
73
  left: k.value,
74
- right: g.value
74
+ right: f.value
75
75
  }, o = `${u(m[s])}/${u(n)}`;
76
76
  C.value = o, t.value === "begin" ? r.value[0] = o : r.value[1] = o;
77
77
  },
@@ -80,7 +80,7 @@ const oe = () => ({ 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 oe = () => ({ getDateTime: (t) => {
106
106
  // 'word-break': 'break-all',
107
107
  }), C = () => {
108
108
  var R, B, z;
109
- t.value = (R = g.value) == null ? void 0 : R.clientWidth;
110
- const { top: h = 0, left: b = 0 } = ((B = g.value) == null ? void 0 : B.getBoundingClientRect()) ?? {}, M = (z = g.value) == null ? void 0 : z.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 } = ((B = f.value) == null ? void 0 : B.getBoundingClientRect()) ?? {};
111
+ console.log(p, b, "=============");
112
+ const M = (z = f.value) == null ? void 0 : z.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 oe = () => ({ 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 B = y(0), z = W(() => !r.disabled && !r.isView && l.value[0] && l.value[1]), T = (p, c) => {
150
+ const B = y(0), z = W(() => !r.disabled && !r.isView && l.value[0] && l.value[1]), T = (g, c) => {
149
151
  if (!(r.disabled || r.isView)) {
150
- if (R = !1, v.value = !0, M.value = c, B.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, B.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: n } = oe(), {
162
164
  popClickData: s,
163
165
  isInRange: m,
@@ -168,7 +170,7 @@ const oe = () => ({ getDateTime: (t) => {
168
170
  clickData: A,
169
171
  mouseEnter: j,
170
172
  mouseLeave: F
171
- } = Ee(h, b, w, M, B, l, Z), {
173
+ } = Ee(p, b, w, M, B, l, Z), {
172
174
  $dasSpecialRangeYearPicker: ne,
173
175
  isHoverInInput: q,
174
176
  errorModalBaseSyle: le,
@@ -177,9 +179,9 @@ const oe = () => ({ 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,20 +192,20 @@ const oe = () => ({ 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 = (_) => Array.from({ length: _ }, (Q, pe) => pe + 1), a = /* @__PURE__ */ new Date();
195
- C.value = a.getMonth() + 1, f.forEach((_, Q) => {
196
- p[Q + 1] = c(_);
197
+ C.value = a.getMonth() + 1, h.forEach((_, Q) => {
198
+ g[Q + 1] = c(_);
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(
203
+ }), (g, c) => (I(), E(
202
204
  "div",
203
205
  {
204
206
  ref_key: "$dasSpecialRangeYearPicker",
205
207
  ref: ne,
206
- style: P({ width: p.width, position: "relative" }),
208
+ style: P({ width: g.width, position: "relative" }),
207
209
  onMouseenter: c[4] || (c[4] = //@ts-ignore
208
210
  (...a) => e(J) && e(J)(...a)),
209
211
  onMouseleave: c[5] || (c[5] = //@ts-ignore
@@ -214,12 +216,12 @@ const oe = () => ({ getDateTime: (t) => {
214
216
  "div",
215
217
  {
216
218
  class: S(["das-ui-special-range-picker-year-container", [
217
- p.borderType,
219
+ g.borderType,
218
220
  r.disabled ? "disabled" : "",
219
221
  r.isView ? "readonly" : "",
220
222
  { active: M.value !== void 0 },
221
223
  e(i) ? "is-error" : "",
222
- p.size
224
+ g.size
223
225
  ]])
224
226
  },
225
227
  [
@@ -296,7 +298,7 @@ const oe = () => ({ getDateTime: (t) => {
296
298
  d(
297
299
  "div",
298
300
  {
299
- class: S(["turn-btn turn-left", { disabled: h.value === 1 }])
301
+ class: S(["turn-btn turn-left", { disabled: p.value === 1 }])
300
302
  },
301
303
  [
302
304
  V(e(xe), {
@@ -310,7 +312,7 @@ const oe = () => ({ getDateTime: (t) => {
310
312
  /* CLASS */
311
313
  ),
312
314
  O(
313
- " " + x(h.value) + x(e(N)("das-special-range-picker-month").value),
315
+ " " + x(p.value) + x(e(N)("das-special-range-picker-month").value),
314
316
  1
315
317
  /* TEXT */
316
318
  )
@@ -326,12 +328,12 @@ const oe = () => ({ getDateTime: (t) => {
326
328
  (I(!0), E(
327
329
  Y,
328
330
  null,
329
- re(u.value[h.value], (a) => (I(), E("div", {
331
+ re(u.value[p.value], (a) => (I(), E("div", {
330
332
  class: S(["item", {
331
333
  "in-range": e(m)(a, "left") || e(o)(a, "left"),
332
334
  "new-range": e(D)(a, "left"),
333
- "range-start": e(s).begin === `${e(n)(h.value)}/${e(n)(a)}`,
334
- "range-end": e(s).end === `${e(n)(h.value)}/${e(n)(a)}`,
335
+ "range-start": e(s).begin === `${e(n)(p.value)}/${e(n)(a)}`,
336
+ "range-end": e(s).end === `${e(n)(p.value)}/${e(n)(a)}`,
335
337
  "out-range": e($)(a, "left") || e(L)(a, "left")
336
338
  }]),
337
339
  onMouseenter: (_) => e(j)(a, "left"),
@@ -426,13 +428,13 @@ const oe = () => ({ getDateTime: (t) => {
426
428
  2
427
429
  /* CLASS */
428
430
  ),
429
- e(i) && p.errorLabel ? (I(), E(
431
+ e(i) && g.errorLabel ? (I(), E(
430
432
  Y,
431
433
  { key: 0 },
432
434
  [
433
- p.errorMode === "default" ? ae((I(), E("div", Ye, [
435
+ g.errorMode === "default" ? ae((I(), E("div", Ye, [
434
436
  O(
435
- x(p.errorLabel),
437
+ x(g.errorLabel),
436
438
  1
437
439
  /* TEXT */
438
440
  )
@@ -457,7 +459,7 @@ const oe = () => ({ getDateTime: (t) => {
457
459
  {
458
460
  style: P(e(G))
459
461
  },
460
- x(p.errorLabel),
462
+ x(g.errorLabel),
461
463
  5
462
464
  /* TEXT, STYLE */
463
465
  )
@@ -478,7 +480,7 @@ const oe = () => ({ getDateTime: (t) => {
478
480
  {
479
481
  style: P(e(G))
480
482
  },
481
- x(p.errorLabel),
483
+ x(g.errorLabel),
482
484
  5
483
485
  /* TEXT, STYLE */
484
486
  )
@@ -499,9 +501,9 @@ const oe = () => ({ getDateTime: (t) => {
499
501
  /* STYLE, NEED_HYDRATION */
500
502
  ));
501
503
  }
502
- }), Oe = (k, g) => {
504
+ }), Oe = (k, f) => {
503
505
  const r = k.__vccOpts || k;
504
- for (const [t, v] of g)
506
+ for (const [t, v] of f)
505
507
  r[t] = v;
506
508
  return r;
507
509
  }, We = /* @__PURE__ */ Oe(Te, [["__scopeId", "data-v-124b18e9"]]), Ze = {
@@ -2,25 +2,25 @@ import '@das-fed/ui/packages/components/spin/style.css';
2
2
  import { getVarValue as u, setThemeRule as _ } from "@das-fed/web/packages/theme/index";
3
3
  import { setI18nRule as v, t as g } from "@das-fed/web/packages/i18n/index";
4
4
  import { withInstall as $ } from "@das-fed/utils/with-install/index";
5
- import { createElementBlock as n, openBlock as d, createStaticVNode as m, createElementVNode as l, defineComponent as C, ref as h, useAttrs as S, watch as p, h as e, normalizeClass as z, 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 { createElementBlock as d, openBlock as r, createStaticVNode as m, createElementVNode as l, defineComponent as C, ref as h, useAttrs as S, watch as p, h as n, normalizeClass as z, 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/ui/packages/icons/load/index";
8
+ import { DasIconLoad as x } from "@das-fed/ui/packages/icons/load/index";
9
9
  import "@das-fed/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 d(), n("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 r(), d("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 P(t, s) {
23
- return d(), n("div", E, s[0] || (s[0] = [
21
+ const E = /* @__PURE__ */ c(N, [["render", D], ["__scopeId", "data-v-323f37a9"]]), P = {}, R = { class: "das-spin-container das-spin-component" };
22
+ function A(t, o) {
23
+ return r(), d("div", R, o[0] || (o[0] = [
24
24
  l(
25
25
  "div",
26
26
  { class: "das-spin-dot-spin" },
@@ -32,13 +32,13 @@ function P(t, s) {
32
32
  )
33
33
  ]));
34
34
  }
35
- const R = /* @__PURE__ */ r(D, [["render", P], ["__scopeId", "data-v-f47a1ae6"]]), A = {}, O = { class: "das-spin-container das-spin-containerload" };
36
- function T(t, s) {
37
- return d(), n("div", O, s[0] || (s[0] = [
35
+ const O = /* @__PURE__ */ c(P, [["render", A], ["__scopeId", "data-v-f47a1ae6"]]), T = {}, V = { class: "das-spin-container das-spin-containerload" };
36
+ function j(t, o) {
37
+ return r(), d("div", V, o[0] || (o[0] = [
38
38
  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)
39
39
  ]));
40
40
  }
41
- const j = /* @__PURE__ */ r(A, [["render", T], ["__scopeId", "data-v-f7548f22"]]), q = /* @__PURE__ */ C({
41
+ const q = /* @__PURE__ */ c(T, [["render", j], ["__scopeId", "data-v-f7548f22"]]), w = /* @__PURE__ */ C({
42
42
  __name: "index",
43
43
  props: {
44
44
  type: { default: "page" },
@@ -48,34 +48,34 @@ const j = /* @__PURE__ */ r(A, [["render", T], ["__scopeId", "data-v-f7548f22"]]
48
48
  full: { type: Boolean, default: !0 }
49
49
  },
50
50
  setup(t) {
51
- let s = t, o = h("");
51
+ let o = t, a = h("");
52
52
  const i = S();
53
53
  return p(
54
- () => s.type,
55
- (a, c) => {
56
- a == "page" && (o.value = e(w)), a == "container" && (o.value = e(j)), a == "component" && (o.value = e(R)), a == "load" && (o.value = e(k, {
57
- iconColor: s.iconColor,
58
- customSize: s.customSize
54
+ () => o.type,
55
+ (s, e) => {
56
+ console.log(s, e), s == "page" && (a.value = n(E)), s == "container" && (a.value = n(q)), s == "component" && (a.value = n(O)), s == "load" && (a.value = n(x, {
57
+ iconColor: o.iconColor,
58
+ customSize: o.customSize
59
59
  }));
60
60
  },
61
61
  { immediate: !0 }
62
62
  ), p(
63
63
  () => i,
64
- (a, c) => {
65
- i.indicator && (o.value = i.indicator);
64
+ (s, e) => {
65
+ console.log("attrs", s, e), i.indicator && (a.value = i.indicator);
66
66
  },
67
67
  { immediate: !0 }
68
- ), (a, c) => (d(), n(
68
+ ), (s, e) => (r(), d(
69
69
  "div",
70
70
  {
71
- class: z({ "das-spin-container": !0, full: a.full })
71
+ class: z({ "das-spin-container": !0, full: s.full })
72
72
  },
73
73
  [
74
- I(f(b), y({
75
- class: `das-slef-spin ${a.size} ${a.type} `
76
- }, a.$attrs, { indicator: f(o) }), {
74
+ I(f(k), y({
75
+ class: `das-slef-spin ${s.size} ${s.type} `
76
+ }, s.$attrs, { indicator: f(a) }), {
77
77
  default: L(() => [
78
- V(a.$slots, "default")
78
+ b(s.$slots, "default")
79
79
  ]),
80
80
  _: 3
81
81
  /* FORWARDED */
@@ -95,7 +95,7 @@ const j = /* @__PURE__ */ r(A, [["render", T], ["__scopeId", "data-v-f7548f22"]]
95
95
  }, G = { 加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" } };
96
96
  v(G);
97
97
  _(F);
98
- const Y = $(q), Z = { name: `Spin ${g("加载中")}` };
98
+ const Y = $(w), Z = { name: `Spin ${g("加载中")}` };
99
99
  export {
100
100
  Y as DasSpin,
101
101
  Z as default