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

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
@@ -1,7 +1,7 @@
1
1
  import { withInstall as D } from "@das-fed/utils/with-install/index";
2
- import { defineComponent as L, ref as d, computed as y, onMounted as V, nextTick as I, createBlock as O, openBlock as R, Teleport as T, createElementVNode as M, normalizeStyle as H, toDisplayString as j } from "vue";
3
- import { getVarValue as W } from "@das-fed/web/packages/theme/index";
4
- const F = /* @__PURE__ */ L({
2
+ import { defineComponent as L, ref as a, computed as H, onMounted as T, nextTick as V, createBlock as I, openBlock as O, Teleport as P, createElementVNode as W, normalizeStyle as E, toDisplayString as R } from "vue";
3
+ import { getVarValue as k } from "@das-fed/web/packages/theme/index";
4
+ const j = /* @__PURE__ */ L({
5
5
  __name: "index",
6
6
  props: {
7
7
  getEl: {},
@@ -9,69 +9,71 @@ const F = /* @__PURE__ */ L({
9
9
  errorModelZIndex: { default: 2e3 },
10
10
  errorWidth: { default: void 0 }
11
11
  },
12
- setup(k) {
13
- const r = k, E = d(null), l = d(), n = d({
12
+ setup(w) {
13
+ const r = w, C = a(null), n = a(), l = a({
14
14
  x: 0,
15
15
  y: 0
16
- }), m = y(() => ({
16
+ }), v = H(() => ({
17
17
  "box-sizing": "border-box",
18
18
  "font-size": "12px",
19
- "background-color": W("--das-ui-color-overlay-error").value,
19
+ "background-color": k("--das-ui-color-overlay-error").value,
20
20
  "box-shadow": "0px 4px 10px 0px rgba(0, 0, 0, 0.2)",
21
21
  "border-radius": "1px",
22
22
  padding: "2px 8px",
23
23
  "z-index": r.errorModelZIndex
24
- })), w = y(() => ({
25
- ...m.value,
26
- width: l.value + "px",
24
+ })), _ = H(() => ({
25
+ ...v.value,
26
+ width: n.value + "px",
27
27
  position: "fixed",
28
28
  visibility: "visible",
29
- top: n.value.y + "px",
30
- left: n.value.x + "px"
31
- })), s = d({
29
+ top: l.value.y + "px",
30
+ left: l.value.x + "px"
31
+ })), u = a({
32
32
  // display: 'block',
33
- color: W("--das-ui-input-error-color").value,
33
+ color: k("--das-ui-input-error-color").value,
34
34
  "white-space": "break-spaces"
35
- }), C = () => {
36
- const c = (i = 0) => {
37
- const t = document.createElement("div");
38
- for (let [h, p] of Object.entries({
39
- ...m.value,
40
- ...s.value,
41
- width: i + "px"
35
+ }), S = () => {
36
+ const h = (c = 0) => {
37
+ const o = document.createElement("div");
38
+ for (let [m, x] of Object.entries({
39
+ ...v.value,
40
+ ...u.value,
41
+ width: c + "px"
42
42
  }))
43
- t.style[h] = p;
44
- const o = document.createElement("span");
45
- for (let [h, p] of Object.entries(s.value))
46
- o.style[h] = p;
47
- o.textContent = r.errorLabel, t.appendChild(o), document.body.appendChild(t);
48
- const f = t.offsetHeight, B = o.offsetWidth;
49
- return document.body.removeChild(t), { height: f, textWidth: B };
50
- }, x = () => {
51
- const i = document.documentElement.clientHeight, o = document.documentElement.scrollHeight - i;
52
- return i - o;
53
- }, e = r.getEl(), a = (e == null ? void 0 : e.clientWidth) ?? 0, v = c(a), g = v.textWidth;
54
- r.errorWidth ? l.value = r.errorWidth : g > a ? l.value = g + 2 + 8 + "px" : l.value = a + "px";
55
- const { left: _ = 0, bottom: u = 0, height: S = 0 } = (e == null ? void 0 : e.getBoundingClientRect()) ?? {}, z = x(), b = v.height;
56
- n.value.y = Math.ceil(u + b) >= z ? u - S - b : u, n.value.x = _;
43
+ o.style[m] = x;
44
+ const t = document.createElement("span");
45
+ for (let [m, x] of Object.entries(u.value))
46
+ t.style[m] = x;
47
+ t.textContent = r.errorLabel, o.appendChild(t), document.body.appendChild(o);
48
+ const d = o.offsetHeight, B = t.offsetWidth;
49
+ return document.body.removeChild(o), { height: d, textWidth: B };
50
+ }, f = () => {
51
+ const c = document.documentElement.clientHeight, t = document.documentElement.scrollHeight - c, d = c - t;
52
+ return console.log("可视区域高度(不包括滚动条):" + d), d;
53
+ }, e = r.getEl(), i = (e == null ? void 0 : e.clientWidth) ?? 0, b = h(i), p = b.textWidth;
54
+ console.log("inputTextWidth========" + p), console.log("inputElWidth========" + i), r.errorWidth ? n.value = r.errorWidth : p > i ? n.value = p + 2 + 8 + "px" : n.value = i + "px";
55
+ const { left: y = 0, bottom: s = 0, height: M = 0 } = (e == null ? void 0 : e.getBoundingClientRect()) ?? {};
56
+ console.log("left====", y), console.log("bottom====", s), console.log("height====", M);
57
+ const z = f(), g = b.height;
58
+ console.log("errorModelHeight====", g), l.value.y = Math.ceil(s + g) >= z ? s - M - g : s, l.value.x = y, console.log("errorModelPosition====", l.value);
57
59
  };
58
- return V(async () => {
59
- await I(), C();
60
- }), (c, x) => (R(), O(T, { to: "body" }, [
61
- M(
60
+ return T(async () => {
61
+ await V(), S();
62
+ }), (h, f) => (O(), I(P, { to: "body" }, [
63
+ W(
62
64
  "div",
63
65
  {
64
66
  ref_key: "$errorModel",
65
- ref: E,
66
- style: H(w.value)
67
+ ref: C,
68
+ style: E(_.value)
67
69
  },
68
70
  [
69
- M(
71
+ W(
70
72
  "span",
71
73
  {
72
- style: H(s.value)
74
+ style: E(u.value)
73
75
  },
74
- j(c.errorLabel),
76
+ R(h.errorLabel),
75
77
  5
76
78
  /* TEXT, STYLE */
77
79
  )
@@ -81,7 +83,7 @@ const F = /* @__PURE__ */ L({
81
83
  )
82
84
  ]));
83
85
  }
84
- }), N = D(F);
86
+ }), N = D(j);
85
87
  export {
86
88
  N as DasErrorOverlayModel
87
89
  };
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/ui/packages/components/form-item/style.css';
2
2
  import { withInstall as Bt } from "@das-fed/utils/with-install/index";
3
3
  import { getVarValue as He, getVar as zt, setThemeRule as kt } from "@das-fed/web/packages/theme/index";
4
- import { useAttrs as Tt, inject as Kt, ref as Z, watch as Ae, computed as K, reactive as Ht, onMounted as Wt, onUnmounted as Gt, defineComponent as Zt, useCssVars as Jt, unref as l, createElementBlock as C, openBlock as S, normalizeStyle as be, normalizeClass as Fe, createElementVNode as Se, withDirectives as We, createCommentVNode as E, createBlock as Ee, createTextVNode as Ge, toDisplayString as Ze, mergeProps as D, createSlots as Je, withCtx as te, createVNode as _, renderSlot as re, isRef as I, Fragment as L } from "vue";
4
+ import { useAttrs as Tt, inject as Kt, ref as Z, watch as Ae, computed as K, reactive as Ht, onMounted as Wt, onUnmounted as Gt, defineComponent as Zt, useCssVars as Jt, unref as l, createElementBlock as P, openBlock as S, normalizeStyle as be, normalizeClass as Fe, createElementVNode as Se, withDirectives as We, createCommentVNode as E, createBlock as Ee, createTextVNode as Ge, toDisplayString as Ze, mergeProps as D, createSlots as Je, withCtx as te, createVNode as _, renderSlot as re, isRef as I, Fragment as L } from "vue";
5
5
  import { DasTreeSelectRef as Yt, DasTreeSelect as Xt } from "@das-fed/ui/packages/components/tree-select/index";
6
6
  import { DasSelectInput as Qt } from "@das-fed/ui/packages/components/select-input/index";
7
7
  import { DasInputDialogSelect as er } from "@das-fed/ui/packages/components/input-dialog-select/index";
@@ -93,7 +93,7 @@ var jr = /%[sdj%]/g, Ot = function() {
93
93
  typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (Ot = function(t, r) {
94
94
  typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && r.every(function(n) {
95
95
  return typeof n == "string";
96
- });
96
+ }) && console.warn(t, r);
97
97
  });
98
98
  function Ie(e) {
99
99
  if (!e || !e.length) return null;
@@ -138,7 +138,7 @@ function B(e) {
138
138
  function Vr(e) {
139
139
  return e === "string" || e === "url" || e === "hex" || e === "email" || e === "date" || e === "pattern";
140
140
  }
141
- function P(e, t) {
141
+ function M(e, t) {
142
142
  return !!(e == null || t === "array" && Array.isArray(e) && !e.length || Vr(t) && typeof e == "string" && !e);
143
143
  }
144
144
  function $r(e, t, r) {
@@ -234,7 +234,7 @@ function tt(e, t) {
234
234
  return e;
235
235
  }
236
236
  var At = function(t, r, n, a, i, o) {
237
- t.required && (!n.hasOwnProperty(t.field) || P(r, o || t.type)) && a.push(B(i.messages.required, t.fullField));
237
+ t.required && (!n.hasOwnProperty(t.field) || M(r, o || t.type)) && a.push(B(i.messages.required, t.fullField));
238
238
  }, Sr = function(t, r, n, a, i) {
239
239
  (/^\s+$/.test(r) || r === "") && a.push(B(i.messages.whitespace, t.fullField));
240
240
  }, ve, Er = function() {
@@ -344,15 +344,15 @@ var At = function(t, r, n, a, i, o) {
344
344
  }, xr = function(t, r, n, a, i) {
345
345
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
346
346
  if (u) {
347
- if (P(r, "string") && !t.required)
347
+ if (M(r, "string") && !t.required)
348
348
  return n();
349
- v.required(t, r, a, o, i, "string"), P(r, "string") || (v.type(t, r, a, o, i), v.range(t, r, a, o, i), v.pattern(t, r, a, o, i), t.whitespace === !0 && v.whitespace(t, r, a, o, i));
349
+ v.required(t, r, a, o, i, "string"), M(r, "string") || (v.type(t, r, a, o, i), v.range(t, r, a, o, i), v.pattern(t, r, a, o, i), t.whitespace === !0 && v.whitespace(t, r, a, o, i));
350
350
  }
351
351
  n(o);
352
352
  }, Dr = function(t, r, n, a, i) {
353
353
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
354
354
  if (u) {
355
- if (P(r) && !t.required)
355
+ if (M(r) && !t.required)
356
356
  return n();
357
357
  v.required(t, r, a, o, i), r !== void 0 && v.type(t, r, a, o, i);
358
358
  }
@@ -360,7 +360,7 @@ var At = function(t, r, n, a, i, o) {
360
360
  }, Ir = function(t, r, n, a, i) {
361
361
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
362
362
  if (u) {
363
- if (r === "" && (r = void 0), P(r) && !t.required)
363
+ if (r === "" && (r = void 0), M(r) && !t.required)
364
364
  return n();
365
365
  v.required(t, r, a, o, i), r !== void 0 && (v.type(t, r, a, o, i), v.range(t, r, a, o, i));
366
366
  }
@@ -368,7 +368,7 @@ var At = function(t, r, n, a, i, o) {
368
368
  }, Rr = function(t, r, n, a, i) {
369
369
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
370
370
  if (u) {
371
- if (P(r) && !t.required)
371
+ if (M(r) && !t.required)
372
372
  return n();
373
373
  v.required(t, r, a, o, i), r !== void 0 && v.type(t, r, a, o, i);
374
374
  }
@@ -376,15 +376,15 @@ var At = function(t, r, n, a, i, o) {
376
376
  }, Nr = function(t, r, n, a, i) {
377
377
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
378
378
  if (u) {
379
- if (P(r) && !t.required)
379
+ if (M(r) && !t.required)
380
380
  return n();
381
- v.required(t, r, a, o, i), P(r) || v.type(t, r, a, o, i);
381
+ v.required(t, r, a, o, i), M(r) || v.type(t, r, a, o, i);
382
382
  }
383
383
  n(o);
384
384
  }, _r = function(t, r, n, a, i) {
385
385
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
386
386
  if (u) {
387
- if (P(r) && !t.required)
387
+ if (M(r) && !t.required)
388
388
  return n();
389
389
  v.required(t, r, a, o, i), r !== void 0 && (v.type(t, r, a, o, i), v.range(t, r, a, o, i));
390
390
  }
@@ -392,7 +392,7 @@ var At = function(t, r, n, a, i, o) {
392
392
  }, Lr = function(t, r, n, a, i) {
393
393
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
394
394
  if (u) {
395
- if (P(r) && !t.required)
395
+ if (M(r) && !t.required)
396
396
  return n();
397
397
  v.required(t, r, a, o, i), r !== void 0 && (v.type(t, r, a, o, i), v.range(t, r, a, o, i));
398
398
  }
@@ -408,7 +408,7 @@ var At = function(t, r, n, a, i, o) {
408
408
  }, Br = function(t, r, n, a, i) {
409
409
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
410
410
  if (u) {
411
- if (P(r) && !t.required)
411
+ if (M(r) && !t.required)
412
412
  return n();
413
413
  v.required(t, r, a, o, i), r !== void 0 && v.type(t, r, a, o, i);
414
414
  }
@@ -416,7 +416,7 @@ var At = function(t, r, n, a, i, o) {
416
416
  }, zr = "enum", kr = function(t, r, n, a, i) {
417
417
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
418
418
  if (u) {
419
- if (P(r) && !t.required)
419
+ if (M(r) && !t.required)
420
420
  return n();
421
421
  v.required(t, r, a, o, i), r !== void 0 && v[zr](t, r, a, o, i);
422
422
  }
@@ -424,17 +424,17 @@ var At = function(t, r, n, a, i, o) {
424
424
  }, Kr = function(t, r, n, a, i) {
425
425
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
426
426
  if (u) {
427
- if (P(r, "string") && !t.required)
427
+ if (M(r, "string") && !t.required)
428
428
  return n();
429
- v.required(t, r, a, o, i), P(r, "string") || v.pattern(t, r, a, o, i);
429
+ v.required(t, r, a, o, i), M(r, "string") || v.pattern(t, r, a, o, i);
430
430
  }
431
431
  n(o);
432
432
  }, Hr = function(t, r, n, a, i) {
433
433
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
434
434
  if (u) {
435
- if (P(r, "date") && !t.required)
435
+ if (M(r, "date") && !t.required)
436
436
  return n();
437
- if (v.required(t, r, a, o, i), !P(r, "date")) {
437
+ if (v.required(t, r, a, o, i), !M(r, "date")) {
438
438
  var d;
439
439
  r instanceof Date ? d = r : d = new Date(r), v.type(t, d, a, o, i), d && v.range(t, d.getTime(), a, o, i);
440
440
  }
@@ -446,15 +446,15 @@ var At = function(t, r, n, a, i, o) {
446
446
  }, Pe = function(t, r, n, a, i) {
447
447
  var o = t.type, u = [], d = t.required || !t.required && a.hasOwnProperty(t.field);
448
448
  if (d) {
449
- if (P(r, o) && !t.required)
449
+ if (M(r, o) && !t.required)
450
450
  return n();
451
- v.required(t, r, a, u, i, o), P(r, o) || v.type(t, r, a, u, i);
451
+ v.required(t, r, a, u, i, o), M(r, o) || v.type(t, r, a, u, i);
452
452
  }
453
453
  n(u);
454
454
  }, Gr = function(t, r, n, a, i) {
455
455
  var o = [], u = t.required || !t.required && a.hasOwnProperty(t.field);
456
456
  if (u) {
457
- if (P(r) && !t.required)
457
+ if (M(r) && !t.required)
458
458
  return n();
459
459
  v.required(t, r, a, o, i);
460
460
  }
@@ -559,8 +559,8 @@ var Ne = Re(), ye = /* @__PURE__ */ function() {
559
559
  var j = [], p = {};
560
560
  function U(O) {
561
561
  if (Array.isArray(O)) {
562
- var M;
563
- j = (M = j).concat.apply(M, O);
562
+ var q;
563
+ j = (q = j).concat.apply(q, O);
564
564
  } else
565
565
  j.push(O);
566
566
  }
@@ -592,15 +592,15 @@ var Ne = Re(), ye = /* @__PURE__ */ function() {
592
592
  return Or(b, d, function(y, j) {
593
593
  var p = y.rule, U = (p.type === "object" || p.type === "array") && (typeof p.fields == "object" || typeof p.defaultField == "object");
594
594
  U = U && (p.required || !p.required && y.value), p.field = y.field;
595
- function h(q, R) {
595
+ function h(C, R) {
596
596
  return J({}, R, {
597
- fullField: p.fullField + "." + q,
598
- fullFields: p.fullFields ? [].concat(p.fullFields, [q]) : [q]
597
+ fullField: p.fullField + "." + C,
598
+ fullFields: p.fullFields ? [].concat(p.fullFields, [C]) : [C]
599
599
  });
600
600
  }
601
- function O(q) {
602
- q === void 0 && (q = []);
603
- var R = Array.isArray(q) ? q : [q];
601
+ function O(C) {
602
+ C === void 0 && (C = []);
603
+ var R = Array.isArray(C) ? C : [C];
604
604
  !d.suppressWarning && R.length && e.warning("async-validator:", R), R.length && p.message !== void 0 && (R = [].concat(p.message));
605
605
  var T = R.map(et(p, u));
606
606
  if (d.first && T.length)
@@ -626,23 +626,23 @@ var Ne = Re(), ye = /* @__PURE__ */ function() {
626
626
  });
627
627
  }
628
628
  }
629
- var M;
629
+ var q;
630
630
  if (p.asyncValidator)
631
- M = p.asyncValidator(p, y.value, O, y.source, d);
631
+ q = p.asyncValidator(p, y.value, O, y.source, d);
632
632
  else if (p.validator) {
633
633
  try {
634
- M = p.validator(p, y.value, O, y.source, d);
635
- } catch (q) {
636
- console.error == null, d.suppressValidatorError || setTimeout(function() {
637
- throw q;
638
- }, 0), O(q.message);
634
+ q = p.validator(p, y.value, O, y.source, d);
635
+ } catch (C) {
636
+ console.error == null || console.error(C), d.suppressValidatorError || setTimeout(function() {
637
+ throw C;
638
+ }, 0), O(C.message);
639
639
  }
640
- M === !0 ? O() : M === !1 ? O(typeof p.message == "function" ? p.message(p.fullField || p.field) : p.message || (p.fullField || p.field) + " fails") : M instanceof Array ? O(M) : M instanceof Error && O(M.message);
640
+ q === !0 ? O() : q === !1 ? O(typeof p.message == "function" ? p.message(p.fullField || p.field) : p.message || (p.fullField || p.field) + " fails") : q instanceof Array ? O(q) : q instanceof Error && O(q.message);
641
641
  }
642
- M && M.then && M.then(function() {
642
+ q && q.then && q.then(function() {
643
643
  return O();
644
- }, function(q) {
645
- return O(q);
644
+ }, function(C) {
645
+ return O(C);
646
646
  });
647
647
  }, function(y) {
648
648
  w(y);
@@ -1207,7 +1207,7 @@ const $o = (e, t, r) => {
1207
1207
  immediate: !0
1208
1208
  }
1209
1209
  );
1210
- const $ = Ce(e, "modelValue"), f = Ce(e, "error"), y = Ce(e, "optionValue"), j = K(() => $o(e.rules, u, i.rules)), p = K(() => e.errorMode || i.errorMode), U = K(() => e.marginRight || i.marginRight || "30px"), h = K(() => e.marginBottom || i.marginBottom || "30px"), O = "8px", M = K(() => i.alignType === "horizontal" && !i.cols ? O : e.labelMarginRight || i.labelMarginRight), q = K(() => f.value !== "");
1210
+ const $ = Ce(e, "modelValue"), f = Ce(e, "error"), y = Ce(e, "optionValue"), j = K(() => $o(e.rules, u, i.rules)), p = K(() => e.errorMode || i.errorMode), U = K(() => e.marginRight || i.marginRight || "30px"), h = K(() => e.marginBottom || i.marginBottom || "30px"), O = "8px", q = K(() => i.alignType === "horizontal" && !i.cols ? O : e.labelMarginRight || i.labelMarginRight), C = K(() => f.value !== "");
1211
1211
  Ae(
1212
1212
  $,
1213
1213
  (s, c) => {
@@ -1259,11 +1259,11 @@ const $o = (e, t, r) => {
1259
1259
  }), {
1260
1260
  innerValue: $,
1261
1261
  selectModelValue: y,
1262
- errored: q,
1262
+ errored: C,
1263
1263
  erroredMode: p,
1264
1264
  innerError: f,
1265
1265
  labelWidth: V,
1266
- formLabelMarginRight: M,
1266
+ formLabelMarginRight: q,
1267
1267
  contentWidth: w,
1268
1268
  flexConfig: b,
1269
1269
  marginRight: U,
@@ -1367,15 +1367,15 @@ const $o = (e, t, r) => {
1367
1367
  flexConfig: U,
1368
1368
  formProps: h,
1369
1369
  marginRight: O,
1370
- marginBottom: M,
1371
- className: q,
1370
+ marginBottom: q,
1371
+ className: C,
1372
1372
  inputHandler: R,
1373
1373
  changeHandler: T,
1374
1374
  selectChangeHandler: k
1375
1375
  } = Oo(n, a, g), { $dasFormItem: G, isHoverInInput: ee, errorModalInputMouseEnter: N, errorModallInputMouseLeave: x } = Ao(n);
1376
- return t({ $treeSelect: u, $cascader: d }), (s, c) => (S(), C("div", {
1377
- class: Fe(["das-ui-form-item", [l(q), l(h).labelPosition, l(h).alignType, { "flex-layout": l(p) === "" }]]),
1378
- style: be({ marginRight: l(O), marginBottom: l(M), alignItems: s.alignItems, flex: l(U), "min-width": 0 }),
1376
+ return t({ $treeSelect: u, $cascader: d }), (s, c) => (S(), P("div", {
1377
+ class: Fe(["das-ui-form-item", [l(C), l(h).labelPosition, l(h).alignType, { "flex-layout": l(p) === "" }]]),
1378
+ style: be({ marginRight: l(O), marginBottom: l(q), alignItems: s.alignItems, flex: l(U), "min-width": 0 }),
1379
1379
  "data-col": s.col
1380
1380
  }, [
1381
1381
  Se(
@@ -1391,7 +1391,7 @@ const $o = (e, t, r) => {
1391
1391
  class: Fe(["label", { "required-mark": s.required, "has-help": s.helpMessage }])
1392
1392
  },
1393
1393
  [
1394
- We((S(), C("div", So, [
1394
+ We((S(), P("div", So, [
1395
1395
  Ge(
1396
1396
  Ze(s.label),
1397
1397
  1
@@ -1400,7 +1400,7 @@ const $o = (e, t, r) => {
1400
1400
  ])), [
1401
1401
  [l(Ye)]
1402
1402
  ]),
1403
- s.showColon ? (S(), C("span", Eo, ":")) : E("v-if", !0),
1403
+ s.showColon ? (S(), P("span", Eo, ":")) : E("v-if", !0),
1404
1404
  s.helpMessage || s.$slots.helpContent ? (S(), Ee(l(or), D({
1405
1405
  key: 1,
1406
1406
  effect: "light",
@@ -1491,7 +1491,7 @@ const $o = (e, t, r) => {
1491
1491
  ]),
1492
1492
  key: "3"
1493
1493
  } : void 0
1494
- ]), 1040, ["modelValue", "isView", "disabled", "type", "error", "width", "onInput", "onChange"])) : l(g)("radio") ? (S(), C(
1494
+ ]), 1040, ["modelValue", "isView", "disabled", "type", "error", "width", "onInput", "onChange"])) : l(g)("radio") ? (S(), P(
1495
1495
  L,
1496
1496
  { key: 1 },
1497
1497
  [
@@ -1512,7 +1512,7 @@ const $o = (e, t, r) => {
1512
1512
  ],
1513
1513
  2112
1514
1514
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1515
- )) : l(g)("checkbox") ? (S(), C(
1515
+ )) : l(g)("checkbox") ? (S(), P(
1516
1516
  L,
1517
1517
  { key: 2 },
1518
1518
  [
@@ -1533,7 +1533,7 @@ const $o = (e, t, r) => {
1533
1533
  ],
1534
1534
  2112
1535
1535
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1536
- )) : l(g)("switch") ? (S(), C(
1536
+ )) : l(g)("switch") ? (S(), P(
1537
1537
  L,
1538
1538
  { key: 3 },
1539
1539
  [
@@ -1547,7 +1547,7 @@ const $o = (e, t, r) => {
1547
1547
  ],
1548
1548
  2112
1549
1549
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1550
- )) : l(g)("select") ? (S(), C(
1550
+ )) : l(g)("select") ? (S(), P(
1551
1551
  L,
1552
1552
  { key: 4 },
1553
1553
  [
@@ -1570,7 +1570,7 @@ const $o = (e, t, r) => {
1570
1570
  ],
1571
1571
  2112
1572
1572
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1573
- )) : l(g)("cascader") ? (S(), C(
1573
+ )) : l(g)("cascader") ? (S(), P(
1574
1574
  L,
1575
1575
  { key: 5 },
1576
1576
  [
@@ -1591,7 +1591,7 @@ const $o = (e, t, r) => {
1591
1591
  ],
1592
1592
  2112
1593
1593
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1594
- )) : l(g)("treeSelect") ? (S(), C(
1594
+ )) : l(g)("treeSelect") ? (S(), P(
1595
1595
  L,
1596
1596
  { key: 6 },
1597
1597
  [
@@ -1612,7 +1612,7 @@ const $o = (e, t, r) => {
1612
1612
  ],
1613
1613
  2112
1614
1614
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1615
- )) : l(g)("colorPicker") ? (S(), C(
1615
+ )) : l(g)("colorPicker") ? (S(), P(
1616
1616
  L,
1617
1617
  { key: 7 },
1618
1618
  [
@@ -1630,7 +1630,7 @@ const $o = (e, t, r) => {
1630
1630
  ],
1631
1631
  2112
1632
1632
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1633
- )) : l(g)("inputNumber") ? (S(), C(
1633
+ )) : l(g)("inputNumber") ? (S(), P(
1634
1634
  L,
1635
1635
  { key: 8 },
1636
1636
  [
@@ -1648,7 +1648,7 @@ const $o = (e, t, r) => {
1648
1648
  ],
1649
1649
  2112
1650
1650
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1651
- )) : l(g)("selectInput") ? (S(), C(
1651
+ )) : l(g)("selectInput") ? (S(), P(
1652
1652
  L,
1653
1653
  { key: 9 },
1654
1654
  [
@@ -1672,7 +1672,7 @@ const $o = (e, t, r) => {
1672
1672
  ],
1673
1673
  2112
1674
1674
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1675
- )) : l(g)("inputDialogSelect") ? (S(), C(
1675
+ )) : l(g)("inputDialogSelect") ? (S(), P(
1676
1676
  L,
1677
1677
  { key: 10 },
1678
1678
  [
@@ -1694,7 +1694,7 @@ const $o = (e, t, r) => {
1694
1694
  ],
1695
1695
  2112
1696
1696
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1697
- )) : l(g)("date", "dateTime", "week", "month", "quarter", "year") ? (S(), C(
1697
+ )) : l(g)("date", "dateTime", "week", "month", "quarter", "year") ? (S(), P(
1698
1698
  L,
1699
1699
  { key: 11 },
1700
1700
  [
@@ -1714,7 +1714,7 @@ const $o = (e, t, r) => {
1714
1714
  ],
1715
1715
  2112
1716
1716
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1717
- )) : l(g)("dateRange", "dateTimeRange", "weekRange", "monthRange", "yearRange") ? (S(), C(
1717
+ )) : l(g)("dateRange", "dateTimeRange", "weekRange", "monthRange", "yearRange") ? (S(), P(
1718
1718
  L,
1719
1719
  { key: 12 },
1720
1720
  [
@@ -1734,7 +1734,7 @@ const $o = (e, t, r) => {
1734
1734
  ],
1735
1735
  2112
1736
1736
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1737
- )) : l(g)("time") ? (S(), C(
1737
+ )) : l(g)("time") ? (S(), P(
1738
1738
  L,
1739
1739
  { key: 13 },
1740
1740
  [
@@ -1751,7 +1751,7 @@ const $o = (e, t, r) => {
1751
1751
  ],
1752
1752
  2112
1753
1753
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1754
- )) : l(g)("timeRange") ? (S(), C(
1754
+ )) : l(g)("timeRange") ? (S(), P(
1755
1755
  L,
1756
1756
  { key: 14 },
1757
1757
  [
@@ -1772,11 +1772,11 @@ const $o = (e, t, r) => {
1772
1772
  E(" 插槽 "),
1773
1773
  re(s.$slots, "default", {}, void 0, !0),
1774
1774
  E(" 错误提示 "),
1775
- l(b) && l(w) ? (S(), C(
1775
+ l(b) && l(w) ? (S(), P(
1776
1776
  L,
1777
1777
  { key: 15 },
1778
1778
  [
1779
- l($) === "default" ? We((S(), C(
1779
+ l($) === "default" ? We((S(), P(
1780
1780
  "div",
1781
1781
  {
1782
1782
  key: 0,
@@ -5745,8 +5745,12 @@ function Cl(a) {
5745
5745
  mimeType: null,
5746
5746
  pictureType: null
5747
5747
  }, t = 3;
5748
- if (a.size < 2 || a.data[0] !== t)
5748
+ if (a.size < 2)
5749
+ return;
5750
+ if (a.data[0] !== t) {
5751
+ console.log("Ignore frame with unrecognized character encoding");
5749
5752
  return;
5753
+ }
5750
5754
  const s = a.data.subarray(1).indexOf(0);
5751
5755
  if (s === -1)
5752
5756
  return;
@@ -21064,7 +21068,10 @@ const Su = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAACQCAYAAAB3anPqAA
21064
21068
  loading: o = !1,
21065
21069
  errorText: c = _i("das-ui-hls-player-videoLoadFailedRetry")
21066
21070
  } = va(s), l = Ee(s.errorTime || 10), h = (_) => {
21067
- l.value !== 0 && (l.value = l.value - 1, _.target, K());
21071
+ if (l.value === 0) return;
21072
+ l.value = l.value - 1;
21073
+ const $ = _.target;
21074
+ console.log("Video error:", $.error), K();
21068
21075
  }, u = Sa(() => s.src || "");
21069
21076
  Pa(s, "videoError");
21070
21077
  const d = Ee(!0), f = Ee(null), g = Ee(null);
@@ -21116,21 +21123,21 @@ const Su = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAACQCAYAAAB3anPqAA
21116
21123
  // 分片加载超时
21117
21124
  };
21118
21125
  g.value = new Te(_), g.value.loadSource(u.value), g.value.autoLevelCapping = -1, g.value.attachMedia(f.value), g.value.on(Te.Events.MANIFEST_PARSED, () => {
21119
- p.value && clearTimeout(p.value), p.value = setTimeout(() => {
21126
+ console.log("HLS 流加载成功,尝试播放..."), p.value && clearTimeout(p.value), p.value = setTimeout(() => {
21120
21127
  f.value.play().catch(() => {
21121
21128
  }), i("loaded", f.value);
21122
21129
  }, 300);
21123
21130
  }), g.value.on(Te.Events.ERROR, ($, w) => {
21124
21131
  O(w);
21125
21132
  });
21126
- } else f.value.canPlayType("application/vnd.apple.mpegurl") || O({ type: "UNSUPPORTED" });
21133
+ } else f.value.canPlayType("application/vnd.apple.mpegurl") ? console.log("ios用原生播放") : O({ type: "UNSUPPORTED" });
21127
21134
  f.value.addEventListener("playing", x), f.value.addEventListener("waiting", D);
21128
21135
  }, x = () => {
21129
- d.value = !1, E.value = "", T.value = "";
21136
+ console.log("视频开始播放"), d.value = !1, E.value = "", T.value = "";
21130
21137
  }, R = () => {
21131
21138
  d.value = !0, y.value = !1;
21132
21139
  }, D = () => {
21133
- E.value = "视频缓冲中...";
21140
+ console.log("视频缓冲中..."), E.value = "视频缓冲中...";
21134
21141
  }, A = () => {
21135
21142
  var _, $, w;
21136
21143
  (_ = f.value) == null || _.removeEventListener("playing", x), ($ = f.value) == null || $.removeEventListener("play", R), (w = f.value) == null || w.removeEventListener("waiting", D);
@@ -21138,7 +21145,7 @@ const Su = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAACQCAYAAAB3anPqAA
21138
21145
  g.value && (g.value.destroy(), g.value = null);
21139
21146
  }, O = (_) => {
21140
21147
  var $, w;
21141
- if (E.value = "视频加载失败", T.value = JSON.stringify(_), _.fatal)
21148
+ if (E.value = "视频加载失败", T.value = JSON.stringify(_), console.log(_, "============dadta"), _.fatal)
21142
21149
  switch (_.type) {
21143
21150
  case Te.ErrorTypes.NETWORK_ERROR:
21144
21151
  E.value = "网络错误或视频流404,正在加载中...", ($ = g.value) == null || $.startLoad(), K();