@das-fed/ui 7.1.0-qatar.1 → 7.1.0-qatar.2

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 (171) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/area-phone-select/index.js +129 -118
  3. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  4. package/packages/business-components/area-phone-select/style.css +1 -1
  5. package/packages/business-components/area-phone-select/style.css.gz +0 -0
  6. package/packages/business-components/area-phone-select/theme/base.d.ts +10 -0
  7. package/packages/business-components/payment/index.js +266 -277
  8. package/packages/business-components/payment/index.js.gz +0 -0
  9. package/packages/business-components/payment/style.css +1 -1
  10. package/packages/business-components/payment/style.css.gz +0 -0
  11. package/packages/components/audio-video/index.js +111 -108
  12. package/packages/components/audio-video/index.js.gz +0 -0
  13. package/packages/components/audio-video/style.css +1 -1
  14. package/packages/components/breadcrumb/index.js +45 -44
  15. package/packages/components/breadcrumb/index.js.gz +0 -0
  16. package/packages/components/button/index.js +205 -206
  17. package/packages/components/button/index.js.gz +0 -0
  18. package/packages/components/button/style.css +1 -1
  19. package/packages/components/button/style.css.gz +0 -0
  20. package/packages/components/button/theme/index.d.ts +5 -7
  21. package/packages/components/calendar/index.js +98 -97
  22. package/packages/components/calendar/index.js.gz +0 -0
  23. package/packages/components/calendar/style.css +1 -1
  24. package/packages/components/calendar/style.css.gz +0 -0
  25. package/packages/components/cascader/index.js +131 -116
  26. package/packages/components/cascader/index.js.gz +0 -0
  27. package/packages/components/cascader/style.css +1 -1
  28. package/packages/components/cascader/style.css.gz +0 -0
  29. package/packages/components/cascader/theme/base.d.ts +7 -0
  30. package/packages/components/checkbox/index.js +155 -153
  31. package/packages/components/checkbox/index.js.gz +0 -0
  32. package/packages/components/checkbox/style.css +1 -1
  33. package/packages/components/checkbox/style.css.gz +0 -0
  34. package/packages/components/checkbox/theme/index.d.ts +5 -4
  35. package/packages/components/color-picker/index.js +90 -83
  36. package/packages/components/color-picker/index.js.gz +0 -0
  37. package/packages/components/color-picker/style.css +1 -1
  38. package/packages/components/color-picker/style.css.gz +0 -0
  39. package/packages/components/color-picker/theme/index.d.ts +7 -0
  40. package/packages/components/custom-search-item/index.js +18 -25
  41. package/packages/components/custom-search-item/index.js.gz +0 -0
  42. package/packages/components/date-picker/index.js +353 -344
  43. package/packages/components/date-picker/index.js.gz +0 -0
  44. package/packages/components/date-picker/style.css +1 -1
  45. package/packages/components/date-picker/style.css.gz +0 -0
  46. package/packages/components/date-picker/theme/base.d.ts +4 -0
  47. package/packages/components/image-upload/index.js +187 -183
  48. package/packages/components/image-upload/index.js.gz +0 -0
  49. package/packages/components/image-upload/style.css +1 -1
  50. package/packages/components/image-upload/style.css.gz +0 -0
  51. package/packages/components/image-upload/theme/index.d.ts +9 -0
  52. package/packages/components/image-viewer/index.js +481 -477
  53. package/packages/components/image-viewer/index.js.gz +0 -0
  54. package/packages/components/image-viewer/style.css +1 -1
  55. package/packages/components/image-viewer/style.css.gz +0 -0
  56. package/packages/components/image-viewer/theme/index.d.ts +9 -0
  57. package/packages/components/input/index.js +142 -140
  58. package/packages/components/input/index.js.gz +0 -0
  59. package/packages/components/input/style.css +1 -1
  60. package/packages/components/input/style.css.gz +0 -0
  61. package/packages/components/input/theme/base.d.ts +1 -0
  62. package/packages/components/input-dialog-select/index.js +84 -87
  63. package/packages/components/input-dialog-select/index.js.gz +0 -0
  64. package/packages/components/input-dialog-select/style.css +1 -1
  65. package/packages/components/input-dialog-select/style.css.gz +0 -0
  66. package/packages/components/input-dialog-select/theme/index.d.ts +0 -4
  67. package/packages/components/input-number/index.js +115 -113
  68. package/packages/components/input-number/index.js.gz +0 -0
  69. package/packages/components/input-number/style.css +1 -1
  70. package/packages/components/input-number/style.css.gz +0 -0
  71. package/packages/components/input-number/theme/index.d.ts +1 -0
  72. package/packages/components/map/index.js +243 -241
  73. package/packages/components/map/index.js.gz +0 -0
  74. package/packages/components/map/style.css +1 -1
  75. package/packages/components/map/style.css.gz +0 -0
  76. package/packages/components/notification/index.js +27 -26
  77. package/packages/components/notification/index.js.gz +0 -0
  78. package/packages/components/notification/style.css +1 -1
  79. package/packages/components/notification/style.css.gz +0 -0
  80. package/packages/components/pagination/index.js +176 -153
  81. package/packages/components/pagination/index.js.gz +0 -0
  82. package/packages/components/pagination/style.css +1 -1
  83. package/packages/components/pagination/style.css.gz +0 -0
  84. package/packages/components/pagination/theme/index.d.ts +8 -0
  85. package/packages/components/radio/index.js +143 -144
  86. package/packages/components/radio/index.js.gz +0 -0
  87. package/packages/components/radio/style.css +1 -1
  88. package/packages/components/radio/style.css.gz +0 -0
  89. package/packages/components/radio/theme/index.d.ts +2 -4
  90. package/packages/components/radio-tabs/index.js +63 -60
  91. package/packages/components/radio-tabs/index.js.gz +0 -0
  92. package/packages/components/radio-tabs/style.css +1 -1
  93. package/packages/components/radio-tabs/style.css.gz +0 -0
  94. package/packages/components/search/index.js +73 -70
  95. package/packages/components/search/index.js.gz +0 -0
  96. package/packages/components/search/style.css +1 -1
  97. package/packages/components/search/style.css.gz +0 -0
  98. package/packages/components/search/theme/index.d.ts +2 -0
  99. package/packages/components/search-form/index.js +582 -584
  100. package/packages/components/search-form/index.js.gz +0 -0
  101. package/packages/components/search-form/style.css +1 -1
  102. package/packages/components/search-form/style.css.gz +0 -0
  103. package/packages/components/search-form/theme/index.d.ts +1 -4
  104. package/packages/components/select/index.js +324 -311
  105. package/packages/components/select/index.js.gz +0 -0
  106. package/packages/components/select/style.css +1 -1
  107. package/packages/components/select/style.css.gz +0 -0
  108. package/packages/components/select/theme/base.d.ts +6 -0
  109. package/packages/components/select-list/index.js +230 -229
  110. package/packages/components/select-list/index.js.gz +0 -0
  111. package/packages/components/special-range-picker-month/index.js +198 -189
  112. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  113. package/packages/components/special-range-picker-month/src/hooks/use-error.d.ts +5 -6
  114. package/packages/components/special-range-picker-month/style.css +1 -1
  115. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  116. package/packages/components/special-range-picker-month/theme/index.d.ts +21 -34
  117. package/packages/components/special-range-picker-year/index.js +259 -250
  118. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  119. package/packages/components/special-range-picker-year/src/hooks/use-error.d.ts +5 -6
  120. package/packages/components/special-range-picker-year/style.css +1 -1
  121. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  122. package/packages/components/special-range-picker-year/theme/index.d.ts +21 -34
  123. package/packages/components/split-panel/index.js +161 -163
  124. package/packages/components/split-panel/index.js.gz +0 -0
  125. package/packages/components/switch/index.js +41 -32
  126. package/packages/components/switch/index.js.gz +0 -0
  127. package/packages/components/switch/style.css +1 -1
  128. package/packages/components/switch/style.css.gz +0 -0
  129. package/packages/components/switch/theme/base.d.ts +2 -0
  130. package/packages/components/table/index.js +1463 -1453
  131. package/packages/components/table/index.js.gz +0 -0
  132. package/packages/components/table/style.css +1 -1
  133. package/packages/components/table/style.css.gz +0 -0
  134. package/packages/components/table/theme/index.d.ts +9 -0
  135. package/packages/components/tabs/index.js +174 -167
  136. package/packages/components/tabs/index.js.gz +0 -0
  137. package/packages/components/tabs/style.css +1 -1
  138. package/packages/components/tabs/style.css.gz +0 -0
  139. package/packages/components/tabs/theme/base.d.ts +6 -0
  140. package/packages/components/tree/index.js +1341 -1330
  141. package/packages/components/tree/index.js.gz +0 -0
  142. package/packages/components/tree/src/App.vue.d.ts +12 -4
  143. package/packages/components/tree/style.css +1 -1
  144. package/packages/components/tree/style.css.gz +0 -0
  145. package/packages/components/tree/theme/base.d.ts +10 -0
  146. package/packages/components/tree-select/index.js +241 -239
  147. package/packages/components/tree-select/index.js.gz +0 -0
  148. package/packages/components/tree-select/style.css +1 -1
  149. package/packages/components/tree-select/style.css.gz +0 -0
  150. package/packages/components/tree-select/theme/base.d.ts +1 -0
  151. package/packages/components/tree-table/index.js +191 -187
  152. package/packages/components/tree-table/index.js.gz +0 -0
  153. package/packages/components/tree-table/style.css +1 -1
  154. package/packages/components/tree-table/style.css.gz +0 -0
  155. package/packages/components/tree-table/theme/base.d.ts +3 -0
  156. package/packages/components/tree-v2/index.js +1743 -1732
  157. package/packages/components/tree-v2/index.js.gz +0 -0
  158. package/packages/components/tree-v2/style.css +1 -1
  159. package/packages/components/tree-v2/style.css.gz +0 -0
  160. package/packages/components/tree-v2/theme/base.d.ts +10 -0
  161. package/packages/components/upload/index.js +127 -121
  162. package/packages/components/upload/index.js.gz +0 -0
  163. package/packages/components/upload/style.css +1 -1
  164. package/packages/components/upload/style.css.gz +0 -0
  165. package/packages/components/upload/theme/index.d.ts +8 -9
  166. package/packages/components/virtual-tree/index.js +98 -71
  167. package/packages/components/virtual-tree/index.js.gz +0 -0
  168. package/packages/components/virtual-tree/style.css +1 -1
  169. package/packages/components/virtual-tree/style.css.gz +0 -0
  170. package/packages/components/virtual-tree/theme/base.d.ts +26 -0
  171. package/packages/components/custom-search-item/theme/index.d.ts +0 -7
@@ -1,158 +1,158 @@
1
1
  import '@das-fed/ui/packages/components/split-panel/style.css';
2
- import { getCurrentScope as ge, onScopeDispose as be, getCurrentInstance as ye, onMounted as oe, nextTick as Se, unref as $, ref as y, watch as q, defineComponent as he, computed as x, createElementBlock as z, openBlock as L, normalizeStyle as A, createElementVNode as E, renderSlot as R, createCommentVNode as P, normalizeClass as Q, createVNode as J, withModifiers as X } from "vue";
3
- import { withInstall as Oe } from "@das-fed/utils/with-install/index";
4
- import { DasIconShuyoufanye as we } from "@das-fed/ui/packages/icons/shuyoufanye/index";
5
- import { DasIconShuzuofanye as Ee } from "@das-fed/ui/packages/icons/shuzuofanye/index";
6
- import { setThemeRule as Te } from "@das-fed/web/packages/theme/index";
7
- function V(e) {
2
+ import { getCurrentScope as be, onScopeDispose as ye, getCurrentInstance as Se, onMounted as ie, nextTick as he, unref as q, ref as y, watch as V, defineComponent as Oe, computed as x, createElementBlock as z, openBlock as L, normalizeStyle as A, createElementVNode as E, renderSlot as N, createCommentVNode as P, normalizeClass as Q, createVNode as Y, withModifiers as X } from "vue";
3
+ import { withInstall as we } from "@das-fed/utils/with-install/index";
4
+ import { DasIconShuyoufanye as Ee } from "@das-fed/ui/packages/icons/shuyoufanye/index";
5
+ import { DasIconShuzuofanye as Te } from "@das-fed/ui/packages/icons/shuzuofanye/index";
6
+ import { getVar as U, setGlobalThemeRule as Ie, setThemeRule as Fe } from "@das-fed/web/packages/theme/index";
7
+ function G(e) {
8
8
  var n = typeof e;
9
9
  return e != null && (n == "object" || n == "function");
10
10
  }
11
- var Fe = typeof global == "object" && global && global.Object === Object && global, Ie = typeof self == "object" && self && self.Object === Object && self, ie = Fe || Ie || Function("return this")(), U = function() {
12
- return ie.Date.now();
13
- }, ke = /\s/;
14
- function Me(e) {
15
- for (var n = e.length; n-- && ke.test(e.charAt(n)); )
11
+ var ke = typeof global == "object" && global && global.Object === Object && global, Me = typeof self == "object" && self && self.Object === Object && self, fe = ke || Me || Function("return this")(), $ = function() {
12
+ return fe.Date.now();
13
+ }, Ce = /\s/;
14
+ function _e(e) {
15
+ for (var n = e.length; n-- && Ce.test(e.charAt(n)); )
16
16
  ;
17
17
  return n;
18
18
  }
19
- var Ce = /^\s+/;
20
- function _e(e) {
21
- return e && e.slice(0, Me(e) + 1).replace(Ce, "");
19
+ var xe = /^\s+/;
20
+ function je(e) {
21
+ return e && e.slice(0, _e(e) + 1).replace(xe, "");
22
22
  }
23
- var W = ie.Symbol, fe = Object.prototype, xe = fe.hasOwnProperty, je = fe.toString, j = W ? W.toStringTag : void 0;
24
- function De(e) {
25
- var n = xe.call(e, j), t = e[j];
23
+ var W = fe.Symbol, ce = Object.prototype, Re = ce.hasOwnProperty, De = ce.toString, j = W ? W.toStringTag : void 0;
24
+ function Ne(e) {
25
+ var n = Re.call(e, j), t = e[j];
26
26
  try {
27
27
  e[j] = void 0;
28
- var o = !0;
28
+ var s = !0;
29
29
  } catch {
30
30
  }
31
- var l = je.call(e);
32
- return o && (n ? e[j] = t : delete e[j]), l;
31
+ var l = De.call(e);
32
+ return s && (n ? e[j] = t : delete e[j]), l;
33
33
  }
34
- var Ne = Object.prototype, Re = Ne.toString;
35
- function Pe(e) {
36
- return Re.call(e);
34
+ var Pe = Object.prototype, We = Pe.toString;
35
+ function Be(e) {
36
+ return We.call(e);
37
37
  }
38
- var We = "[object Null]", Be = "[object Undefined]", Y = W ? W.toStringTag : void 0;
39
- function ze(e) {
40
- return e == null ? e === void 0 ? Be : We : Y && Y in Object(e) ? De(e) : Pe(e);
38
+ var ze = "[object Null]", Le = "[object Undefined]", Z = W ? W.toStringTag : void 0;
39
+ function Ae(e) {
40
+ return e == null ? e === void 0 ? Le : ze : Z && Z in Object(e) ? Ne(e) : Be(e);
41
41
  }
42
- function Le(e) {
42
+ function Qe(e) {
43
43
  return e != null && typeof e == "object";
44
44
  }
45
- var Ae = "[object Symbol]";
46
- function Qe(e) {
47
- return typeof e == "symbol" || Le(e) && ze(e) == Ae;
45
+ var Xe = "[object Symbol]";
46
+ function Ue(e) {
47
+ return typeof e == "symbol" || Qe(e) && Ae(e) == Xe;
48
48
  }
49
- var Z = NaN, Xe = /^[-+]0x[0-9a-f]+$/i, Ue = /^0b[01]+$/i, $e = /^0o[0-7]+$/i, qe = parseInt;
50
- function ee(e) {
49
+ var ee = NaN, $e = /^[-+]0x[0-9a-f]+$/i, qe = /^0b[01]+$/i, Ve = /^0o[0-7]+$/i, Ge = parseInt;
50
+ function te(e) {
51
51
  if (typeof e == "number")
52
52
  return e;
53
- if (Qe(e))
54
- return Z;
55
- if (V(e)) {
53
+ if (Ue(e))
54
+ return ee;
55
+ if (G(e)) {
56
56
  var n = typeof e.valueOf == "function" ? e.valueOf() : e;
57
- e = V(n) ? n + "" : n;
57
+ e = G(n) ? n + "" : n;
58
58
  }
59
59
  if (typeof e != "string")
60
60
  return e === 0 ? e : +e;
61
- e = _e(e);
62
- var t = Ue.test(e);
63
- return t || $e.test(e) ? qe(e.slice(2), t ? 2 : 8) : Xe.test(e) ? Z : +e;
61
+ e = je(e);
62
+ var t = qe.test(e);
63
+ return t || Ve.test(e) ? Ge(e.slice(2), t ? 2 : 8) : $e.test(e) ? ee : +e;
64
64
  }
65
- var Ve = "Expected a function", Ge = Math.max, He = Math.min;
66
- function Ke(e, n, t) {
67
- var o, l, i, f, u, g, S = 0, a = !1, m = !1, v = !0;
65
+ var He = "Expected a function", Ke = Math.max, Je = Math.min;
66
+ function Ye(e, n, t) {
67
+ var s, l, i, f, u, g, S = 0, a = !1, m = !1, v = !0;
68
68
  if (typeof e != "function")
69
- throw new TypeError(Ve);
70
- n = ee(n) || 0, V(t) && (a = !!t.leading, m = "maxWait" in t, i = m ? Ge(ee(t.maxWait) || 0, n) : i, v = "trailing" in t ? !!t.trailing : v);
69
+ throw new TypeError(He);
70
+ n = te(n) || 0, G(t) && (a = !!t.leading, m = "maxWait" in t, i = m ? Ke(te(t.maxWait) || 0, n) : i, v = "trailing" in t ? !!t.trailing : v);
71
71
  function d(c) {
72
- var b = o, w = l;
73
- return o = l = void 0, S = c, f = e.apply(w, b), f;
72
+ var b = s, w = l;
73
+ return s = l = void 0, S = c, f = e.apply(w, b), f;
74
74
  }
75
- function s(c) {
75
+ function o(c) {
76
76
  return S = c, u = setTimeout(T, n), a ? d(c) : f;
77
77
  }
78
78
  function h(c) {
79
- var b = c - g, w = c - S, N = n - b;
80
- return m ? He(N, i - w) : N;
79
+ var b = c - g, w = c - S, D = n - b;
80
+ return m ? Je(D, i - w) : D;
81
81
  }
82
82
  function M(c) {
83
83
  var b = c - g, w = c - S;
84
84
  return g === void 0 || b >= n || b < 0 || m && w >= i;
85
85
  }
86
86
  function T() {
87
- var c = U();
87
+ var c = $();
88
88
  if (M(c))
89
- return D(c);
89
+ return R(c);
90
90
  u = setTimeout(T, h(c));
91
91
  }
92
- function D(c) {
93
- return u = void 0, v && o ? d(c) : (o = l = void 0, f);
92
+ function R(c) {
93
+ return u = void 0, v && s ? d(c) : (s = l = void 0, f);
94
94
  }
95
- function F() {
96
- u !== void 0 && clearTimeout(u), S = 0, o = g = l = u = void 0;
95
+ function I() {
96
+ u !== void 0 && clearTimeout(u), S = 0, s = g = l = u = void 0;
97
97
  }
98
98
  function O() {
99
- return u === void 0 ? f : D(U());
99
+ return u === void 0 ? f : R($());
100
100
  }
101
- function I() {
102
- var c = U(), b = M(c);
103
- if (o = arguments, l = this, g = c, b) {
101
+ function F() {
102
+ var c = $(), b = M(c);
103
+ if (s = arguments, l = this, g = c, b) {
104
104
  if (u === void 0)
105
- return s(g);
105
+ return o(g);
106
106
  if (m)
107
107
  return clearTimeout(u), u = setTimeout(T, n), d(g);
108
108
  }
109
109
  return u === void 0 && (u = setTimeout(T, n)), f;
110
110
  }
111
- return I.cancel = F, I.flush = O, I;
111
+ return F.cancel = I, F.flush = O, F;
112
112
  }
113
- var te;
114
- const G = typeof window < "u", Je = (e) => typeof e == "string", Ye = () => {
113
+ var ne;
114
+ const H = typeof window < "u", Ze = (e) => typeof e == "string", et = () => {
115
115
  };
116
- G && ((te = window == null ? void 0 : window.navigator) != null && te.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
117
- function ce(e) {
118
- return typeof e == "function" ? e() : $(e);
116
+ H && ((ne = window == null ? void 0 : window.navigator) != null && ne.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
117
+ function de(e) {
118
+ return typeof e == "function" ? e() : q(e);
119
119
  }
120
- function Ze(e) {
120
+ function tt(e) {
121
121
  return e;
122
122
  }
123
- function de(e) {
124
- return ge() ? (be(e), !0) : !1;
123
+ function ve(e) {
124
+ return be() ? (ye(e), !0) : !1;
125
125
  }
126
- function et(e, n = !0) {
127
- ye() ? oe(e) : n ? e() : Se(e);
126
+ function nt(e, n = !0) {
127
+ Se() ? ie(e) : n ? e() : he(e);
128
128
  }
129
- function ve(e) {
129
+ function pe(e) {
130
130
  var n;
131
- const t = ce(e);
131
+ const t = de(e);
132
132
  return (n = t == null ? void 0 : t.$el) != null ? n : t;
133
133
  }
134
- const tt = G ? window : void 0, nt = G ? window.document : void 0;
135
- function rt(...e) {
136
- let n, t, o, l;
137
- if (Je(e[0]) || Array.isArray(e[0]) ? ([t, o, l] = e, n = tt) : [n, t, o, l] = e, !n)
138
- return Ye;
139
- Array.isArray(t) || (t = [t]), Array.isArray(o) || (o = [o]);
134
+ const rt = H ? window : void 0, lt = H ? window.document : void 0;
135
+ function at(...e) {
136
+ let n, t, s, l;
137
+ if (Ze(e[0]) || Array.isArray(e[0]) ? ([t, s, l] = e, n = rt) : [n, t, s, l] = e, !n)
138
+ return et;
139
+ Array.isArray(t) || (t = [t]), Array.isArray(s) || (s = [s]);
140
140
  const i = [], f = () => {
141
141
  i.forEach((a) => a()), i.length = 0;
142
- }, u = (a, m, v, d) => (a.addEventListener(m, v, d), () => a.removeEventListener(m, v, d)), g = q(() => [ve(n), ce(l)], ([a, m]) => {
143
- f(), a && i.push(...t.flatMap((v) => o.map((d) => u(a, v, d, m))));
142
+ }, u = (a, m, v, d) => (a.addEventListener(m, v, d), () => a.removeEventListener(m, v, d)), g = V(() => [pe(n), de(l)], ([a, m]) => {
143
+ f(), a && i.push(...t.flatMap((v) => s.map((d) => u(a, v, d, m))));
144
144
  }, { immediate: !0, flush: "post" }), S = () => {
145
145
  g(), f();
146
146
  };
147
- return de(S), S;
147
+ return ve(S), S;
148
148
  }
149
- function lt(e, n = !1) {
150
- const t = y(), o = () => t.value = !!e();
151
- return o(), et(o, n), t;
149
+ function ut(e, n = !1) {
150
+ const t = y(), s = () => t.value = !!e();
151
+ return s(), nt(s, n), t;
152
152
  }
153
- const ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = "__vueuse_ssr_handlers__";
154
- ne[re] = ne[re] || {};
155
- const le = [
153
+ const re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, le = "__vueuse_ssr_handlers__";
154
+ re[le] = re[le] || {};
155
+ const ae = [
156
156
  [
157
157
  "requestFullscreen",
158
158
  "exitFullscreen",
@@ -194,12 +194,12 @@ const le = [
194
194
  "MSFullscreenError"
195
195
  ]
196
196
  ];
197
- function at(e, n = {}) {
198
- const { document: t = nt, autoExit: o = !1 } = n, l = t == null ? void 0 : t.querySelector("html"), i = y(!1);
199
- let f = le[0];
200
- const u = lt(() => {
197
+ function ot(e, n = {}) {
198
+ const { document: t = lt, autoExit: s = !1 } = n, l = t == null ? void 0 : t.querySelector("html"), i = y(!1);
199
+ let f = ae[0];
200
+ const u = ut(() => {
201
201
  if (t) {
202
- for (const h of le)
202
+ for (const h of ae)
203
203
  if (h[1] in t)
204
204
  return f = h, !0;
205
205
  } else
@@ -213,35 +213,35 @@ function at(e, n = {}) {
213
213
  if (!u.value)
214
214
  return;
215
215
  await v();
216
- const h = ve(l);
216
+ const h = pe(l);
217
217
  h && (await h[g](), i.value = !0);
218
218
  }
219
- async function s() {
219
+ async function o() {
220
220
  i.value ? await v() : await d();
221
221
  }
222
- return t && rt(t, m, () => {
222
+ return t && at(t, m, () => {
223
223
  i.value = !!(t != null && t[a]);
224
- }, !1), o && de(v), {
224
+ }, !1), s && ve(v), {
225
225
  isSupported: u,
226
226
  isFullscreen: i,
227
227
  enter: d,
228
228
  exit: v,
229
- toggle: s
229
+ toggle: o
230
230
  };
231
231
  }
232
- var ae;
232
+ var ue;
233
233
  (function(e) {
234
234
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
235
- })(ae || (ae = {}));
236
- var ut = Object.defineProperty, ue = Object.getOwnPropertySymbols, st = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable, se = (e, n, t) => n in e ? ut(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, it = (e, n) => {
235
+ })(ue || (ue = {}));
236
+ var st = Object.defineProperty, oe = Object.getOwnPropertySymbols, it = Object.prototype.hasOwnProperty, ft = Object.prototype.propertyIsEnumerable, se = (e, n, t) => n in e ? st(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ct = (e, n) => {
237
237
  for (var t in n || (n = {}))
238
- st.call(n, t) && se(e, t, n[t]);
239
- if (ue)
240
- for (var t of ue(n))
241
- ot.call(n, t) && se(e, t, n[t]);
238
+ it.call(n, t) && se(e, t, n[t]);
239
+ if (oe)
240
+ for (var t of oe(n))
241
+ ft.call(n, t) && se(e, t, n[t]);
242
242
  return e;
243
243
  };
244
- const ft = {
244
+ const dt = {
245
245
  easeInSine: [0.12, 0, 0.39, 0],
246
246
  easeOutSine: [0.61, 1, 0.88, 1],
247
247
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -267,13 +267,13 @@ const ft = {
267
267
  easeOutBack: [0.34, 1.56, 0.64, 1],
268
268
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
269
269
  };
270
- it({
271
- linear: Ze
272
- }, ft);
273
- const ct = { class: "das-split-panel-second" }, dt = {
270
+ ct({
271
+ linear: tt
272
+ }, dt);
273
+ const vt = { class: "das-split-panel-second" }, pt = {
274
274
  name: "DasSplitPanel"
275
- }, vt = /* @__PURE__ */ he({
276
- ...dt,
275
+ }, mt = /* @__PURE__ */ Oe({
276
+ ...pt,
277
277
  props: {
278
278
  canFold: { type: Boolean, default: !0 },
279
279
  canDrag: { type: Boolean, default: !0 },
@@ -288,65 +288,65 @@ const ct = { class: "das-split-panel-second" }, dt = {
288
288
  },
289
289
  emits: ["onLeft", "onRight", "onDefault", "onMouseDown", "onMouseMove", "onMouseUp"],
290
290
  setup(e, { expose: n, emit: t }) {
291
- const { isFullscreen: o } = at(), l = e, i = t, f = y(null), u = y(null), g = x(() => {
291
+ const { isFullscreen: s } = ot(), l = e, i = t, f = y(null), u = y(null), g = x(() => {
292
292
  var r;
293
293
  return u != null && u.value && Number((r = u == null ? void 0 : u.value) == null ? void 0 : r.offsetWidth) - 2 || 1;
294
294
  });
295
295
  x(() => g.value + "px");
296
- const S = y(null), a = y(), m = y(), v = y(), d = y(0), s = y(0), h = y(!0), M = x(() => s.value + "px"), T = x(() => ({ width: M.value })), D = x(() => ({ left: M.value })), F = y(!1), O = y(!1);
297
- q(
298
- s,
296
+ const S = y(null), a = y(), m = y(), v = y(), d = y(0), o = y(0), h = y(!0), M = x(() => o.value + "px"), T = x(() => ({ width: M.value })), R = x(() => ({ left: M.value })), I = y(!1), O = y(!1);
297
+ V(
298
+ o,
299
299
  (r, p) => {
300
- r === 0 ? F.value = !0 : F.value = !1, r === (a == null ? void 0 : a.value) ? O.value = !0 : O.value = !1;
300
+ r === 0 ? I.value = !0 : I.value = !1, r === (a == null ? void 0 : a.value) ? O.value = !0 : O.value = !1;
301
301
  },
302
302
  { immediate: !0 }
303
- ), q(o, (r) => {
303
+ ), V(s, (r) => {
304
304
  B();
305
305
  });
306
- const I = () => {
307
- s.value > d.value ? (s.value = d.value, i("onDefault")) : s.value <= d.value && s.value > 0 && (s.value = 0, i("onLeft"));
306
+ const F = () => {
307
+ o.value > d.value ? (o.value = d.value, i("onDefault")) : o.value <= d.value && o.value > 0 && (o.value = 0, i("onLeft"));
308
308
  }, c = () => {
309
- s.value < d.value ? (s.value = d.value, i("onDefault")) : s.value >= d.value && s.value < a.value && (s.value = a.value, i("onRight"));
309
+ o.value < d.value ? (o.value = d.value, i("onDefault")) : o.value >= d.value && o.value < a.value && (o.value = a.value, i("onRight"));
310
310
  }, b = y({
311
311
  mouseFlag: !1,
312
312
  startX: 0,
313
313
  startWidth: 0
314
314
  }), w = (r) => {
315
- l.canDrag && (b.value.mouseFlag = !0, b.value.startX = r.clientX, b.value.startWidth = s.value, document.onmousemove = N, document.onmouseup = pe, i("onMouseDown"));
316
- }, N = (r) => {
315
+ l.canDrag && (b.value.mouseFlag = !0, b.value.startX = r.clientX, b.value.startWidth = o.value, document.onmousemove = D, document.onmouseup = me, i("onMouseDown"));
316
+ }, D = (r) => {
317
317
  if (r.preventDefault(), !b.value.mouseFlag) return;
318
318
  let k = r.clientX - b.value.startX, _ = b.value.startWidth + k;
319
- _ < m.value ? s.value = m.value : _ > v.value ? s.value = v.value : _ > m.value && _ < v.value && (s.value = _), i("onMouseMove");
320
- }, pe = () => {
319
+ _ < m.value ? o.value = m.value : _ > v.value ? o.value = v.value : _ > m.value && _ < v.value && (o.value = _), i("onMouseMove");
320
+ }, me = () => {
321
321
  b.value.mouseFlag = !1, document.onmousemove = null, document.onmouseup = null, i("onMouseUp");
322
322
  }, C = (r, p) => {
323
323
  let k = 0;
324
324
  return typeof p == "number" && p <= 1 ? k = r * p : typeof p == "number" ? k = p : k = Number(p), k;
325
- }, H = () => {
325
+ }, K = () => {
326
326
  let r = 0;
327
- l.defaultSplit.first !== void 0 ? (r = C(a.value, l.defaultSplit.first), d.value = r, s.value = r) : l.defaultSplit.second !== void 0 && (typeof l.defaultSplit.second == "number" && l.defaultSplit.second <= 1 ? r = C(a.value, 1 - l.defaultSplit.second) : r = a.value - C(a.value, l.defaultSplit.second), d.value = r, s.value = r), l.defaultClose && l.defaultClose == "first" ? s.value = 0 : l.defaultClose && l.defaultClose == "second" && (s.value = a.value);
328
- }, me = () => {
329
- H();
327
+ l.defaultSplit.first !== void 0 ? (r = C(a.value, l.defaultSplit.first), d.value = r, o.value = r) : l.defaultSplit.second !== void 0 && (typeof l.defaultSplit.second == "number" && l.defaultSplit.second <= 1 ? r = C(a.value, 1 - l.defaultSplit.second) : r = a.value - C(a.value, l.defaultSplit.second), d.value = r, o.value = r), l.defaultClose && l.defaultClose == "first" ? o.value = 0 : l.defaultClose && l.defaultClose == "second" && (o.value = a.value);
328
+ }, ge = () => {
329
+ K();
330
330
  };
331
- let K = y(!0);
331
+ let J = y(!0);
332
332
  const B = () => {
333
333
  var p;
334
334
  let r = !1;
335
- if (O.value && (r = !0), !!(f != null && f.value) && (a.value = Number(((p = f == null ? void 0 : f.value) == null ? void 0 : p.offsetWidth) - (g == null ? void 0 : g.value)) || 0, m.value = C(a.value, l.firstMin), v.value = a.value - C(a.value, l.secondMin), r && (s.value = a.value), h.value === !0)) {
336
- if (H(), K.value) {
337
- K.value = !1;
335
+ if (O.value && (r = !0), !!(f != null && f.value) && (a.value = Number(((p = f == null ? void 0 : f.value) == null ? void 0 : p.offsetWidth) - (g == null ? void 0 : g.value)) || 0, m.value = C(a.value, l.firstMin), v.value = a.value - C(a.value, l.secondMin), r && (o.value = a.value), h.value === !0)) {
336
+ if (K(), J.value) {
337
+ J.value = !1;
338
338
  return;
339
339
  }
340
340
  h.value = !1;
341
341
  }
342
342
  };
343
- return oe(() => {
343
+ return ie(() => {
344
344
  var r;
345
- h.value = !0, S.value = new ResizeObserver(Ke(B, 30)), (r = S.value) == null || r.observe(f == null ? void 0 : f.value), B();
345
+ h.value = !0, S.value = new ResizeObserver(Ye(B, 30)), (r = S.value) == null || r.observe(f == null ? void 0 : f.value), B();
346
346
  }), n({
347
- toLeft: I,
347
+ toLeft: F,
348
348
  toRight: c,
349
- reset: me
349
+ reset: ge
350
350
  }), (r, p) => (L(), z(
351
351
  "div",
352
352
  {
@@ -363,7 +363,7 @@ const ct = { class: "das-split-panel-second" }, dt = {
363
363
  style: A(T.value)
364
364
  },
365
365
  [
366
- R(r.$slots, "firstSlot", {}, void 0, !0)
366
+ N(r.$slots, "firstSlot", {}, void 0, !0)
367
367
  ],
368
368
  4
369
369
  /* STYLE */
@@ -374,21 +374,21 @@ const ct = { class: "das-split-panel-second" }, dt = {
374
374
  class: "das-split-panel-mid",
375
375
  ref_key: "$splitLine",
376
376
  ref: u,
377
- style: A(D.value)
377
+ style: A(R.value)
378
378
  },
379
379
  [
380
380
  r.canFold ? (L(), z("span", {
381
381
  key: 0,
382
- onClick: I
382
+ onClick: F
383
383
  }, [
384
- R(r.$slots, "leftBtn", {}, () => [
384
+ N(r.$slots, "leftBtn", {}, () => [
385
385
  E(
386
386
  "span",
387
387
  {
388
388
  class: Q(["das-split-panel-btn left", [O.value ? "isBase" : ""]])
389
389
  },
390
390
  [
391
- J($(Ee), { size: "medium" })
391
+ Y(q(Te), { size: "medium" })
392
392
  ],
393
393
  2
394
394
  /* CLASS */
@@ -398,7 +398,7 @@ const ct = { class: "das-split-panel-second" }, dt = {
398
398
  E(
399
399
  "div",
400
400
  {
401
- class: Q(["das-split-panel-line", { hide: F.value || O.value, canDrag: l.canDrag }]),
401
+ class: Q(["das-split-panel-line", { hide: I.value || O.value, canDrag: l.canDrag }]),
402
402
  onDragstart: p[0] || (p[0] = X(() => {
403
403
  }, ["stop", "prevent"])),
404
404
  onMousedown: X(w, ["prevent"]),
@@ -423,14 +423,14 @@ const ct = { class: "das-split-panel-second" }, dt = {
423
423
  key: 1,
424
424
  onClick: c
425
425
  }, [
426
- R(r.$slots, "rightBtn", {}, () => [
426
+ N(r.$slots, "rightBtn", {}, () => [
427
427
  E(
428
428
  "span",
429
429
  {
430
- class: Q(["das-split-panel-btn right", [F.value ? "isBase" : ""]])
430
+ class: Q(["das-split-panel-btn right", [I.value ? "isBase" : ""]])
431
431
  },
432
432
  [
433
- J($(we), { size: "medium" })
433
+ Y(q(Ee), { size: "medium" })
434
434
  ],
435
435
  2
436
436
  /* CLASS */
@@ -441,31 +441,29 @@ const ct = { class: "das-split-panel-second" }, dt = {
441
441
  4
442
442
  /* STYLE */
443
443
  ),
444
- E("div", ct, [
445
- R(r.$slots, "secondSlot", {}, void 0, !0)
444
+ E("div", vt, [
445
+ N(r.$slots, "secondSlot", {}, void 0, !0)
446
446
  ])
447
447
  ],
448
448
  4
449
449
  /* STYLE */
450
450
  ));
451
451
  }
452
- }), pt = (e, n) => {
452
+ }), gt = (e, n) => {
453
453
  const t = e.__vccOpts || e;
454
- for (const [o, l] of n)
455
- t[o] = l;
454
+ for (const [s, l] of n)
455
+ t[s] = l;
456
456
  return t;
457
- }, mt = /* @__PURE__ */ pt(vt, [["__scopeId", "data-v-ba259a73"]]), gt = {
458
- "--das-ui-split-panel-color-primary": "#5582F3",
459
- // 主题色
460
- "--das-ui-split-panel-color-line": "#D9D9D9",
461
- // 线条色
462
- "--das-ui-split-panel-color-btn": "#999999"
463
- // 按钮icon色
457
+ }, bt = /* @__PURE__ */ gt(mt, [["__scopeId", "data-v-ba259a73"]]), yt = {
458
+ "--das-ui-split-panel-color-primary": U("--das-color-brand-primary"),
459
+ "--das-ui-split-panel-color-line": U("--das-color-border-strong"),
460
+ "--das-ui-split-panel-color-btn": U("--das-color-text-subtle")
464
461
  };
465
- Te(gt);
466
- const wt = Oe(mt), Et = () => y(null), Tt = { name: "splitPanel 分割面板" };
462
+ Ie();
463
+ Fe(yt);
464
+ const Tt = we(bt), It = () => y(null), Ft = { name: "splitPanel 分割面板" };
467
465
  export {
468
- wt as DasSplitPanel,
469
- Et as DasSplitPanelRef,
470
- Tt as default
466
+ Tt as DasSplitPanel,
467
+ It as DasSplitPanelRef,
468
+ Ft as default
471
469
  };
@@ -1,49 +1,58 @@
1
1
  import '@das-fed/ui/packages/components/switch/style.css';
2
2
  import { withInstall as u } from "@das-fed/utils/with-install/index";
3
- import { setThemeRule as d } from "@das-fed/web/packages/theme/index";
4
- import { defineComponent as m, computed as c, ref as f, onMounted as p, createElementBlock as _, openBlock as h, createVNode as w, unref as v, mergeProps as S } from "vue";
5
- import { ElSwitch as b } from "element-plus";
3
+ import { getVar as t, setGlobalThemeRule as m, setThemeRule as f } from "@das-fed/web/packages/theme/index";
4
+ import { defineComponent as p, computed as d, ref as h, onMounted as _, createElementBlock as w, openBlock as b, createVNode as v, unref as x, mergeProps as S } from "vue";
5
+ import { ElSwitch as V } from "element-plus";
6
6
  import "element-plus/es/components/switch/style/css";
7
- const x = { class: "das-ui-switch" }, B = {
7
+ const g = { class: "das-ui-switch" }, y = {
8
8
  inheritAttrs: !1
9
- }, V = /* @__PURE__ */ m({
10
- ...B,
9
+ }, z = /* @__PURE__ */ p({
10
+ ...y,
11
11
  __name: "Index",
12
12
  props: {
13
13
  modelValue: { type: [Boolean, String, Number], default: !0 },
14
14
  size: { default: "small" }
15
15
  },
16
- setup(o, { expose: i }) {
17
- const e = o, s = c(() => e.modelValue), n = c(() => e.size ? e.size : "small"), a = f(null);
18
- return p(() => {
19
- var t, r;
20
- const l = (r = (t = a.value) == null ? void 0 : t.$el) == null ? void 0 : r.querySelector(".el-switch__input");
21
- l && l.setAttribute("tabindex", "-1");
16
+ setup(s, { expose: i }) {
17
+ const e = s, r = d(() => e.modelValue), c = d(() => e.size ? e.size : "small"), n = h(null);
18
+ return _(() => {
19
+ var o, l;
20
+ const a = (l = (o = n.value) == null ? void 0 : o.$el) == null ? void 0 : l.querySelector(".el-switch__input");
21
+ a && a.setAttribute("tabindex", "-1");
22
22
  }), i({
23
- $refSwitch: a
24
- }), (l, t) => (h(), _("div", x, [
25
- w(v(b), S({
23
+ $refSwitch: n
24
+ }), (a, o) => (b(), w("div", g, [
25
+ v(x(V), S({
26
26
  ref_key: "$refSwitch",
27
- ref: a,
28
- modelValue: s.value,
29
- "onUpdate:modelValue": t[0] || (t[0] = (r) => s.value = r)
30
- }, l.$attrs, { size: n.value }), null, 16, ["modelValue", "size"])
27
+ ref: n,
28
+ modelValue: r.value,
29
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => r.value = l)
30
+ }, a.$attrs, { size: c.value }), null, 16, ["modelValue", "size"])
31
31
  ]));
32
32
  }
33
- }), z = (o, i) => {
34
- const e = o.__vccOpts || o;
35
- for (const [s, n] of i)
36
- e[s] = n;
33
+ }), I = (s, i) => {
34
+ const e = s.__vccOpts || s;
35
+ for (const [r, c] of i)
36
+ e[r] = c;
37
37
  return e;
38
- }, D = /* @__PURE__ */ z(V, [["__scopeId", "data-v-25cfdf31"]]), I = {
39
- "--das-ui-switch-on-color": "#5582F3",
40
- "--das-ui-switch-off-color": "#B2B2B2",
41
- "--das-ui-switch-on-color-disabled": "#B5CAFF",
42
- "--das-ui-switch-off-color-disabled": "#D9D9D9"
38
+ }, k = /* @__PURE__ */ I(z, [["__scopeId", "data-v-456ff5c0"]]), T = {
39
+ "--das-ui-switch-on-color": t("--das-color-brand-primary"),
40
+ // 开启态轨道颜色
41
+ "--das-ui-switch-off-color": t("--das-color-text-subtle"),
42
+ // 关闭态轨道颜色
43
+ "--das-ui-switch-action-color": t("--das-color-bg-container"),
44
+ // 滑块颜色
45
+ "--das-ui-switch-on-color-disabled": t("--das-color-brand-primary-disabled"),
46
+ // 禁用开启态轨道颜色
47
+ "--das-ui-switch-off-color-disabled": t("--das-color-border-strong"),
48
+ // 禁用关闭态轨道颜色
49
+ "--das-ui-switch-radius": t("--das-radius-pill")
50
+ // 开关轨道和滑块圆角
43
51
  };
44
- d(I);
45
- const T = u(D);
52
+ m();
53
+ f(T);
54
+ const R = u(k);
46
55
  export {
47
- T as DasSwitch,
48
- T as default
56
+ R as DasSwitch,
57
+ R as default
49
58
  };
@@ -1 +1 @@
1
- .das-ui-switch[data-v-25cfdf31]{display:inline-flex}.das-ui-switch[data-v-25cfdf31] .el-switch{--el-switch-on-color: var(--das-ui-switch-on-color);--el-switch-off-color: var(--das-ui-switch-off-color)}.das-ui-switch[data-v-25cfdf31] .el-switch.is-disabled{--el-switch-on-color: var(--das-ui-switch-on-color-disabled);--el-switch-off-color: var(--das-ui-switch-off-color-disabled);opacity:1}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--small{height:16px}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--small .el-switch__core{min-width:32px}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--small .el-switch__core .el-switch__action{width:14px;height:14px;left:0}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 14px)}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--default{height:20px}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--default .el-switch__core .el-switch__action{width:18px;height:18px;left:0}.das-ui-switch[data-v-25cfdf31] .el-switch.el-switch--default.is-checked .el-switch__core .el-switch__action{left:calc(100% - 18px)}.das-ui-switch[data-v-25cfdf31] .el-switch .el-switch__core .el-switch__action .el-icon{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1686210106297'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='11699'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%2064c247.424%200%20448%20200.576%20448%20448%200%2093.76-28.928%20183.296-81.92%20258.304a32%2032%200%200%201-52.256-36.96A382.048%20382.048%200%200%200%20896%20512c0-212.064-171.936-384-384-384a32%2032%200%200%201%200-64z'%20p-id='11700'%20fill='%235480F0'%3e%3c/path%3e%3c/svg%3e");background-size:cover}.das-ui-switch[data-v-25cfdf31] .el-switch .el-switch__core .el-switch__action .el-icon.is-loading{animation:rotating 1s linear infinite}.das-ui-switch[data-v-25cfdf31] .el-switch .el-switch__core .el-switch__action .el-icon svg{display:none}
1
+ .das-ui-switch[data-v-456ff5c0]{display:inline-flex}.das-ui-switch[data-v-456ff5c0] .el-switch{--el-switch-on-color: var(--das-ui-switch-on-color);--el-switch-off-color: var(--das-ui-switch-off-color)}.das-ui-switch[data-v-456ff5c0] .el-switch.is-disabled{--el-switch-on-color: var(--das-ui-switch-on-color-disabled);--el-switch-off-color: var(--das-ui-switch-off-color-disabled);opacity:1}.das-ui-switch[data-v-456ff5c0] .el-switch .el-switch__core{border-color:var(--el-switch-off-color);border-radius:var(--das-ui-switch-radius)}.das-ui-switch[data-v-456ff5c0] .el-switch .el-switch__core .el-switch__action{background-color:var(--das-ui-switch-action-color);border-radius:var(--das-ui-switch-radius)}.das-ui-switch[data-v-456ff5c0] .el-switch.is-checked .el-switch__core{border-color:var(--el-switch-on-color)}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--small{height:16px}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--small .el-switch__core{min-width:32px}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--small .el-switch__core .el-switch__action{width:14px;height:14px;left:0}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 14px)}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--default{height:20px}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--default .el-switch__core .el-switch__action{width:18px;height:18px;left:0}.das-ui-switch[data-v-456ff5c0] .el-switch.el-switch--default.is-checked .el-switch__core .el-switch__action{left:calc(100% - 18px)}.das-ui-switch[data-v-456ff5c0] .el-switch .el-switch__core .el-switch__action .el-icon{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1686210106297'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='11699'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%2064c247.424%200%20448%20200.576%20448%20448%200%2093.76-28.928%20183.296-81.92%20258.304a32%2032%200%200%201-52.256-36.96A382.048%20382.048%200%200%200%20896%20512c0-212.064-171.936-384-384-384a32%2032%200%200%201%200-64z'%20p-id='11700'%20fill='%235480F0'%3e%3c/path%3e%3c/svg%3e");background-size:cover}.das-ui-switch[data-v-456ff5c0] .el-switch .el-switch__core .el-switch__action .el-icon.is-loading{animation:rotating 1s linear infinite}.das-ui-switch[data-v-456ff5c0] .el-switch .el-switch__core .el-switch__action .el-icon svg{display:none}