@das-fed/upf-ui 6.4.0-dev.136 → 6.4.0-dev.138

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 (53) hide show
  1. package/package.json +5 -5
  2. package/packages/components/cascader/index.d.ts +2 -0
  3. package/packages/components/cascader/index.js +54 -54
  4. package/packages/components/cascader/index.js.gz +0 -0
  5. package/packages/components/cascader/src/type.d.ts +3 -0
  6. package/packages/components/cascader/style.css +1 -1
  7. package/packages/components/cascader/style.css.gz +0 -0
  8. package/packages/components/checkbox/index.d.ts +2 -0
  9. package/packages/components/checkbox/index.js +45 -45
  10. package/packages/components/checkbox/index.js.gz +0 -0
  11. package/packages/components/checkbox/src/type.d.ts +4 -1
  12. package/packages/components/checkbox/style.css +1 -1
  13. package/packages/components/checkbox/style.css.gz +0 -0
  14. package/packages/components/color-picker/index.js +8 -7
  15. package/packages/components/color-picker/index.js.gz +0 -0
  16. package/packages/components/color-picker/src/type.d.ts +3 -0
  17. package/packages/components/date-picker/index.js +345 -341
  18. package/packages/components/date-picker/index.js.gz +0 -0
  19. package/packages/components/date-picker/src/type.d.ts +15 -0
  20. package/packages/components/date-picker/style.css +1 -1
  21. package/packages/components/date-picker/style.css.gz +0 -0
  22. package/packages/components/form/index.d.ts +0 -1
  23. package/packages/components/form/index.js +41 -50
  24. package/packages/components/form/index.js.gz +0 -0
  25. package/packages/components/form-item/index.js +531 -524
  26. package/packages/components/form-item/index.js.gz +0 -0
  27. package/packages/components/form-item/style.css +1 -1
  28. package/packages/components/form-item/style.css.gz +0 -0
  29. package/packages/components/input-dialog-select/index.js +39 -39
  30. package/packages/components/input-dialog-select/index.js.gz +0 -0
  31. package/packages/components/input-dialog-select/src/type.d.ts +3 -0
  32. package/packages/components/input-dialog-select/style.css +1 -1
  33. package/packages/components/input-dialog-select/style.css.gz +0 -0
  34. package/packages/components/radio/index.d.ts +2 -0
  35. package/packages/components/radio/index.js +44 -44
  36. package/packages/components/radio/index.js.gz +0 -0
  37. package/packages/components/radio/src/type.d.ts +5 -2
  38. package/packages/components/radio/style.css +1 -1
  39. package/packages/components/radio/style.css.gz +0 -0
  40. package/packages/components/select-input/index.js +36 -36
  41. package/packages/components/select-input/index.js.gz +0 -0
  42. package/packages/components/select-input/src/type.d.ts +6 -3
  43. package/packages/components/select-input/style.css +1 -1
  44. package/packages/components/select-input/style.css.gz +0 -0
  45. package/packages/components/switch/index.d.ts +2 -0
  46. package/packages/components/switch/index.js +24 -24
  47. package/packages/components/switch/index.js.gz +0 -0
  48. package/packages/components/switch/src/Index.vue.d.ts +4 -0
  49. package/packages/components/switch/style.css +1 -1
  50. package/packages/components/switch/style.css.gz +0 -0
  51. package/packages/components/tree-v2/index.js +364 -364
  52. package/packages/components/tree-v2/index.js.gz +0 -0
  53. package/packages/components/form/hooks/use-form-size.d.ts +0 -3
@@ -1,17 +1,16 @@
1
1
  import '@das-fed/upf-ui/packages/components/select-input/style.css';
2
- import { withInstall as F } from "@das-fed/upf-utils/with-install/index";
3
- import { setThemeRule as H } from "@das-fed/upf-web/packages/theme/index";
4
- import { computed as D, ref as b, defineComponent as k, createBlock as z, openBlock as L, unref as e, normalizeClass as x, isRef as v, createSlots as E, withCtx as y, createVNode as B } from "vue";
2
+ import { withInstall as H } from "@das-fed/upf-utils/with-install/index";
3
+ import { setThemeRule as z } from "@das-fed/upf-web/packages/theme/index";
4
+ import { computed as S, ref as b, defineComponent as D, createBlock as k, openBlock as L, unref as e, normalizeClass as x, isRef as v, createSlots as E, withCtx as y, createVNode as B } from "vue";
5
5
  import { DasInput as W } from "@das-fed/upf-ui/packages/components/input/index";
6
6
  import { DasIconSearch as K } from "@das-fed/upf-ui/packages/icons/search/index";
7
7
  import { DasSelect as N } from "@das-fed/upf-ui/packages/components/select/index";
8
8
  import { useModelValue as C } from "@das-fed/upf-utils/vue";
9
- import { useFormSize as P } from "@das-fed/upf-ui/packages/components/form";
10
9
  import "@das-fed/upf-ui/packages/global/theme";
11
- const A = (n, a) => {
12
- const u = C(n, "modelValue"), i = C(n, "optionValue"), l = C(n, "isExpandAtFocus"), s = D(() => typeof n.width == "number" ? n.width + "px" : n == null ? void 0 : n.width), f = () => {
13
- a("update:modelValue", u.value);
14
- }, m = (o) => {
10
+ const P = (n, a) => {
11
+ const s = C(n, "modelValue"), i = C(n, "optionValue"), l = C(n, "isExpandAtFocus"), u = S(() => typeof n.width == "number" ? n.width + "px" : n == null ? void 0 : n.width), m = () => {
12
+ a("update:modelValue", s.value);
13
+ }, f = (o) => {
15
14
  a("update:modelValue", o), a("inputChange", o);
16
15
  }, h = (o) => {
17
16
  a("update:modelValue", o), a("dasInput", o);
@@ -19,27 +18,27 @@ const A = (n, a) => {
19
18
  a("update:optionValue", o), a("selectChange", o);
20
19
  }, d = b(""), r = b(!1);
21
20
  return {
22
- innerValue: u,
21
+ innerValue: s,
23
22
  selectValue: i,
24
- inputChangeHandler: m,
23
+ inputChangeHandler: f,
25
24
  selectChangeHandler: V,
26
25
  inputInputHandler: h,
27
- searchHandler: f,
26
+ searchHandler: m,
28
27
  inputWidth: d,
29
28
  isFocus: r,
30
29
  onFocus: () => {
31
30
  var p;
32
31
  if (!l.value) return;
33
- let o = (p = s.value) == null ? void 0 : p.replace("px", "");
34
- d.value = s.value && o * 1 > 400 ? s.value : "400px", r.value = !0;
32
+ let o = (p = u.value) == null ? void 0 : p.replace("px", "");
33
+ d.value = u.value && o * 1 > 400 ? u.value : "400px", r.value = !0;
35
34
  },
36
35
  onBlur: () => {
37
36
  l.value && (d.value = "", r.value = !1);
38
37
  },
39
38
  isExpandInput: l,
40
- selectInputWidth: s
39
+ selectInputWidth: u
41
40
  };
42
- }, T = /* @__PURE__ */ k({
41
+ }, A = /* @__PURE__ */ D({
43
42
  __name: "Index",
44
43
  props: {
45
44
  options: { default: [] },
@@ -55,15 +54,16 @@ const A = (n, a) => {
55
54
  error: { type: Boolean },
56
55
  isSearch: { type: Boolean, default: !1 },
57
56
  isExpandAtFocus: { type: Boolean, default: !1 },
58
- width: { default: "268px" }
57
+ width: { default: "268px" },
58
+ formSize: {}
59
59
  },
60
60
  emits: ["update:modelValue", "update:optionValue", "inputChange", "dasInput", "selectChange"],
61
61
  setup(n, { emit: a }) {
62
- const u = n, i = a, {
62
+ const s = n, i = a, {
63
63
  innerValue: l,
64
- selectValue: s,
65
- inputChangeHandler: f,
66
- selectChangeHandler: m,
64
+ selectValue: u,
65
+ inputChangeHandler: m,
66
+ selectChangeHandler: f,
67
67
  inputInputHandler: h,
68
68
  searchHandler: V,
69
69
  inputWidth: d,
@@ -72,8 +72,8 @@ const A = (n, a) => {
72
72
  onBlur: w,
73
73
  isExpandInput: o,
74
74
  selectInputWidth: p
75
- } = A(u, i), S = P();
76
- return (t, c) => (L(), z(e(W), {
75
+ } = P(s, i), F = S(() => s.formSize);
76
+ return (t, c) => (L(), k(e(W), {
77
77
  class: x(["das-select-input", { "is-error": t.error, "is-search": t.isSearch, "is-disabled": t.disabled }]),
78
78
  modelValue: e(l),
79
79
  "onUpdate:modelValue": c[1] || (c[1] = (g) => v(l) ? l.value = g : null),
@@ -84,10 +84,10 @@ const A = (n, a) => {
84
84
  filterSpace: !1,
85
85
  isTitle: !t.isExpandAtFocus,
86
86
  onInput: e(h),
87
- onChange: e(f),
87
+ onChange: e(m),
88
88
  onFocus: e(I),
89
89
  onBlur: e(w),
90
- size: e(S) || "default"
90
+ size: F.value || "default"
91
91
  }, E({
92
92
  prepend: y(() => [
93
93
  B(e(N), {
@@ -95,8 +95,8 @@ const A = (n, a) => {
95
95
  disabled: t.disabled,
96
96
  isView: t.isView,
97
97
  dropdownClassName: "das-select-input-select-container",
98
- modelValue: e(s),
99
- "onUpdate:modelValue": c[0] || (c[0] = (g) => v(s) ? s.value = g : null),
98
+ modelValue: e(u),
99
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => v(u) ? u.value = g : null),
100
100
  width: "auto",
101
101
  dropdownMatchSelectWidth: !1,
102
102
  "border-type": "none",
@@ -106,7 +106,7 @@ const A = (n, a) => {
106
106
  value: t.optionsValueKey,
107
107
  label: t.optionsLabelKey
108
108
  },
109
- onChange: e(m)
109
+ onChange: e(f)
110
110
  }, null, 8, ["disabled", "isView", "modelValue", "options", "getPopupContainer", "fieldNames", "onChange"])
111
111
  ]),
112
112
  _: 2
@@ -124,17 +124,17 @@ const A = (n, a) => {
124
124
  } : void 0
125
125
  ]), 1032, ["class", "modelValue", "width", "disabled", "isView", "maxLength", "isTitle", "onInput", "onChange", "onFocus", "onBlur", "size"]));
126
126
  }
127
- }), M = (n, a) => {
128
- const u = n.__vccOpts || n;
127
+ }), T = (n, a) => {
128
+ const s = n.__vccOpts || n;
129
129
  for (const [i, l] of a)
130
- u[i] = l;
131
- return u;
132
- }, R = /* @__PURE__ */ M(T, [["__scopeId", "data-v-f738cff4"]]), U = {
130
+ s[i] = l;
131
+ return s;
132
+ }, M = /* @__PURE__ */ T(A, [["__scopeId", "data-v-23848c4a"]]), R = {
133
133
  "--das-ui-select-input-border-color": { light: "#999" },
134
134
  "--das-ui-select-input-border-color-search": { light: "#D9D9D9" }
135
- }, $ = F(R);
136
- H(U);
135
+ }, Y = H(M);
136
+ z(R);
137
137
  export {
138
- $ as DasSelectInput,
139
- $ as default
138
+ Y as DasSelectInput,
139
+ Y as default
140
140
  };
@@ -35,10 +35,13 @@ export interface Props {
35
35
 
36
36
  isSearch?: boolean
37
37
 
38
-
39
- isExpandAtFocus?: boolean
38
+
39
+ isExpandAtFocus?: boolean
40
+
41
+ width?: string | number
40
42
 
41
- width?:string | number
43
+
44
+ formSize?: 'small' | 'default' | 'large'
42
45
  }
43
46
 
44
47
  export interface Emits {
@@ -1 +1 @@
1
- .das-ui-input.only-border-bottom[data-v-f738cff4]{transition:width .3s ease}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input{height:24px}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group{border-color:var(--das-ui-select-input-border-color)}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group.is-search{border-color:var(--das-ui-select-input-border-color-search)}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group.input-focus-color,.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group:hover{border-color:var(--das-ui-input-only-bottom-active-border-color)}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group.is-disabled{border-color:var(--das-ui-select-input-border-color-search)}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group.is-error{border-color:var(--das-ui-input-error-color)}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group .el-input-group__prepend{padding-right:8px!important}.das-ui-input.only-border-bottom[data-v-f738cff4] .das-select-input.el-input.el-input-group .el-input-group__prepend .ant-select-selection-item{padding-right:18px}[data-v-f738cff4] .el-input__icon{font-size:16px}.das-select-input-select-container.ant-select-dropdown{min-width:100px!important;padding:8px 0;max-height:328px;max-width:180px}.das-select-input-select-container.ant-select-dropdown .rc-virtual-list-holder{max-height:160px!important}.das-select-input .das-ui-select{min-width:68px}
1
+ .das-ui-input.only-border-bottom[data-v-23848c4a]{transition:width .3s ease}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input{height:24px}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group{border-color:var(--das-ui-select-input-border-color)}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group.is-search{border-color:var(--das-ui-select-input-border-color-search)}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group.input-focus-color,.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group:hover{border-color:var(--das-ui-input-only-bottom-active-border-color)}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group.is-disabled{border-color:var(--das-ui-select-input-border-color-search)}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group.is-error{border-color:var(--das-ui-input-error-color)}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group .el-input-group__prepend{padding-right:8px!important}.das-ui-input.only-border-bottom[data-v-23848c4a] .das-select-input.el-input.el-input-group .el-input-group__prepend .ant-select-selection-item{padding-right:18px}[data-v-23848c4a] .el-input__icon{font-size:16px}.das-select-input-select-container.ant-select-dropdown{min-width:100px!important;padding:8px 0;max-height:328px;max-width:180px}.das-select-input-select-container.ant-select-dropdown .rc-virtual-list-holder{max-height:160px!important}.das-select-input .das-ui-select{min-width:68px}
@@ -1,11 +1,13 @@
1
1
  declare const DasSwitch: import("@das-fed/upf-utils").SFCWithInstall<import("vue").DefineComponent<{
2
2
  modelValue: boolean | string | number;
3
3
  size?: "" | "large" | "default" | "small";
4
+ formSize?: "small" | "default" | "large";
4
5
  }, {
5
6
  $refSwitch: import("vue").Ref<null, null>;
6
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
8
  modelValue: boolean | string | number;
8
9
  size?: "" | "large" | "default" | "small";
10
+ formSize?: "small" | "default" | "large";
9
11
  }> & Readonly<{}>, {
10
12
  size: "" | "large" | "default" | "small";
11
13
  modelValue: boolean | string | number;
@@ -1,65 +1,65 @@
1
1
  import '@das-fed/upf-ui/packages/components/switch/style.css';
2
2
  import { withInstall as f } from "@das-fed/upf-utils/with-install/index";
3
3
  import { setThemeRule as p } from "@das-fed/upf-web/packages/theme/index";
4
- import { defineComponent as h, computed as n, ref as _, onMounted as w, createElementBlock as S, openBlock as v, normalizeStyle as x, createVNode as z, unref as y, mergeProps as B } from "vue";
5
- import { ElSwitch as V } from "element-plus";
4
+ import { defineComponent as h, computed as a, ref as _, onMounted as w, createElementBlock as S, openBlock as v, normalizeStyle as z, createVNode as x, unref as b, mergeProps as y } from "vue";
5
+ import { ElSwitch as B } from "element-plus";
6
6
  import "element-plus/es/components/switch/style/css";
7
- import { useFormSize as b } from "@das-fed/upf-ui/packages/components/form";
8
- const g = {
7
+ const V = {
9
8
  inheritAttrs: !1
10
- }, D = /* @__PURE__ */ h({
11
- ...g,
9
+ }, g = /* @__PURE__ */ h({
10
+ ...V,
12
11
  __name: "Index",
13
12
  props: {
14
13
  modelValue: { type: [Boolean, String, Number], default: !0 },
15
- size: { default: "small" }
14
+ size: { default: "small" },
15
+ formSize: {}
16
16
  },
17
- setup(o, { expose: a }) {
18
- const e = o, s = n(() => e.modelValue), i = n(() => e.size ? e.size : "small"), c = _(null), m = () => {
17
+ setup(o, { expose: i }) {
18
+ const e = o, s = a(() => e.modelValue), c = a(() => e.size ? e.size : "small"), n = _(null), m = () => {
19
19
  var t, r;
20
- const l = (r = (t = c.value) == null ? void 0 : t.$el) == null ? void 0 : r.querySelector(".el-switch__input");
20
+ const l = (r = (t = n.value) == null ? void 0 : t.$el) == null ? void 0 : r.querySelector(".el-switch__input");
21
21
  l && l.setAttribute("tabindex", "-1");
22
- }, u = b(), d = n(() => ({
22
+ }, u = a(() => e.formSize), d = a(() => ({
23
23
  "--switch-height": u.value && {
24
24
  small: "24px",
25
25
  default: "32px",
26
26
  large: "40px"
27
27
  }[u.value]
28
28
  }));
29
- return w(m), a({
30
- $refSwitch: c
29
+ return w(m), i({
30
+ $refSwitch: n
31
31
  }), (l, t) => (v(), S(
32
32
  "div",
33
33
  {
34
34
  class: "das-ui-switch",
35
- style: x(d.value)
35
+ style: z(d.value)
36
36
  },
37
37
  [
38
- z(y(V), B({
38
+ x(b(B), y({
39
39
  ref_key: "$refSwitch",
40
- ref: c,
40
+ ref: n,
41
41
  modelValue: s.value,
42
42
  "onUpdate:modelValue": t[0] || (t[0] = (r) => s.value = r)
43
- }, l.$attrs, { size: i.value }), null, 16, ["modelValue", "size"])
43
+ }, l.$attrs, { size: c.value }), null, 16, ["modelValue", "size"])
44
44
  ],
45
45
  4
46
46
  /* STYLE */
47
47
  ));
48
48
  }
49
- }), k = (o, a) => {
49
+ }), D = (o, i) => {
50
50
  const e = o.__vccOpts || o;
51
- for (const [s, i] of a)
52
- e[s] = i;
51
+ for (const [s, c] of i)
52
+ e[s] = c;
53
53
  return e;
54
- }, F = /* @__PURE__ */ k(D, [["__scopeId", "data-v-2529e92f"]]), I = {
54
+ }, k = /* @__PURE__ */ D(g, [["__scopeId", "data-v-3b544fc6"]]), I = {
55
55
  "--das-ui-switch-on-color": "#5582F3",
56
56
  "--das-ui-switch-off-color": "#B2B2B2",
57
57
  "--das-ui-switch-on-color-disabled": "#B5CAFF",
58
58
  "--das-ui-switch-off-color-disabled": "#D9D9D9"
59
59
  };
60
60
  p(I);
61
- const q = f(F);
61
+ const N = f(k);
62
62
  export {
63
- q as DasSwitch,
64
- q as default
63
+ N as DasSwitch,
64
+ N as default
65
65
  };
@@ -2,11 +2,15 @@ import 'element-plus/es/components/switch/style/css';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  modelValue: boolean | string | number;
4
4
  size?: "" | "large" | "default" | "small";
5
+ /** 表单尺寸 */
6
+ formSize?: "small" | "default" | "large";
5
7
  }, {
6
8
  $refSwitch: import("vue").Ref<null, null>;
7
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
10
  modelValue: boolean | string | number;
9
11
  size?: "" | "large" | "default" | "small";
12
+ /** 表单尺寸 */
13
+ formSize?: "small" | "default" | "large";
10
14
  }> & Readonly<{}>, {
11
15
  size: "" | "large" | "default" | "small";
12
16
  modelValue: boolean | string | number;
@@ -1 +1 @@
1
- .das-ui-switch[data-v-2529e92f]{display:inline-flex;height:var(--switch-height);align-items:center}.das-ui-switch[data-v-2529e92f] .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-2529e92f] .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-2529e92f] .el-switch.el-switch--small{height:16px}.das-ui-switch[data-v-2529e92f] .el-switch.el-switch--small .el-switch__core{min-width:32px}.das-ui-switch[data-v-2529e92f] .el-switch.el-switch--small .el-switch__core .el-switch__action{width:14px;height:14px;left:0}.das-ui-switch[data-v-2529e92f] .el-switch.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 14px)}.das-ui-switch[data-v-2529e92f] .el-switch.el-switch--default{height:20px}.das-ui-switch[data-v-2529e92f] .el-switch.el-switch--default .el-switch__core .el-switch__action{width:18px;height:18px;left:0}.das-ui-switch[data-v-2529e92f] .el-switch.el-switch--default.is-checked .el-switch__core .el-switch__action{left:calc(100% - 18px)}.das-ui-switch[data-v-2529e92f] .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-2529e92f] .el-switch .el-switch__core .el-switch__action .el-icon.is-loading{animation:rotating 1s linear infinite}.das-ui-switch[data-v-2529e92f] .el-switch .el-switch__core .el-switch__action .el-icon svg{display:none}
1
+ .das-ui-switch[data-v-3b544fc6]{display:inline-flex;height:var(--switch-height);align-items:center}.das-ui-switch[data-v-3b544fc6] .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-3b544fc6] .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-3b544fc6] .el-switch.el-switch--small{height:16px}.das-ui-switch[data-v-3b544fc6] .el-switch.el-switch--small .el-switch__core{min-width:32px}.das-ui-switch[data-v-3b544fc6] .el-switch.el-switch--small .el-switch__core .el-switch__action{width:14px;height:14px;left:0}.das-ui-switch[data-v-3b544fc6] .el-switch.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 14px)}.das-ui-switch[data-v-3b544fc6] .el-switch.el-switch--default{height:20px}.das-ui-switch[data-v-3b544fc6] .el-switch.el-switch--default .el-switch__core .el-switch__action{width:18px;height:18px;left:0}.das-ui-switch[data-v-3b544fc6] .el-switch.el-switch--default.is-checked .el-switch__core .el-switch__action{left:calc(100% - 18px)}.das-ui-switch[data-v-3b544fc6] .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-3b544fc6] .el-switch .el-switch__core .el-switch__action .el-icon.is-loading{animation:rotating 1s linear infinite}.das-ui-switch[data-v-3b544fc6] .el-switch .el-switch__core .el-switch__action .el-icon svg{display:none}