@das-fed/ui 7.1.0-dev.10 → 7.1.0-dev.11

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