yc-design-vue 1.7.4 → 1.7.6

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 (96) hide show
  1. package/es/Alert/index.vue2.js +1 -1
  2. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  3. package/es/Calendar/Calendar.vue2.js +1 -1
  4. package/es/Cascader/CascaderIcon.vue2.js +1 -1
  5. package/es/Checkbox/Checkbox.vue2.js +1 -1
  6. package/es/Collapse/CollapseItem.vue2.js +1 -1
  7. package/es/Drawer/Drawer.vue2.js +1 -1
  8. package/es/Input/Input.vue2.js +1 -1
  9. package/es/Input/InputSuffix.vue2.js +1 -1
  10. package/es/InputTag/index.vue2.js +1 -1
  11. package/es/Layout/LayoutSider.vue.js +1 -1
  12. package/es/Layout/LayoutSider.vue2.js +17 -16
  13. package/es/Menu/Menu.vue.d.ts +2 -2
  14. package/es/Menu/Menu.vue.js +1 -1
  15. package/es/Menu/Menu.vue2.js +11 -7
  16. package/es/Menu/SubMenu.vue2.js +1 -1
  17. package/es/Menu/index.css +1 -1
  18. package/es/Menu/index.d.ts +1 -1
  19. package/es/Message/Message.vue2.js +1 -1
  20. package/es/Modal/Modal.vue2.js +1 -1
  21. package/es/Notification/Notification.vue2.js +1 -1
  22. package/es/PageHeader/index.vue2.js +1 -1
  23. package/es/Radio/Radio.vue2.js +1 -1
  24. package/es/Scrollbar/index.css +1 -1
  25. package/es/Select/SelectIcon.vue2.js +1 -1
  26. package/es/Switch/index.css +1 -1
  27. package/es/Switch/index.vue.js +1 -1
  28. package/es/Switch/index.vue2.js +7 -7
  29. package/es/Tabs/TabButton.vue.js +1 -1
  30. package/es/Tabs/TabButton.vue2.js +1 -1
  31. package/es/Tabs/index.css +1 -1
  32. package/es/Tag/index.vue2.js +1 -1
  33. package/es/Textarea/index.vue2.js +1 -1
  34. package/es/TimePicker/TimePicker.vue2.js +1 -1
  35. package/es/Transfer/TransferPanel.vue2.js +1 -1
  36. package/es/Trigger/index.vue2.js +1 -1
  37. package/es/Typography/TypographyBase.vue2.js +2 -2
  38. package/es/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +2 -2
  39. package/es/_shared/components/IconButton.vue3.js +5 -5
  40. package/es/_shared/icons/IconCopy.vue.js +16 -1
  41. package/es/_shared/icons/IconCopy.vue2.js +1 -16
  42. package/es/_shared/icons/IconEdit.vue.js +16 -1
  43. package/es/_shared/icons/IconEdit.vue2.js +1 -16
  44. package/es/_shared/icons/IconSeparator.vue.js +1 -16
  45. package/es/_shared/icons/IconSeparator.vue2.js +16 -1
  46. package/es/shared.css +1 -1
  47. package/es/style.css +1 -1
  48. package/lib/Alert/index.vue2.js +1 -1
  49. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  50. package/lib/Calendar/Calendar.vue2.js +1 -1
  51. package/lib/Cascader/CascaderIcon.vue2.js +1 -1
  52. package/lib/Checkbox/Checkbox.vue2.js +1 -1
  53. package/lib/Collapse/CollapseItem.vue2.js +1 -1
  54. package/lib/Drawer/Drawer.vue2.js +1 -1
  55. package/lib/Input/Input.vue2.js +1 -1
  56. package/lib/Input/InputSuffix.vue2.js +1 -1
  57. package/lib/InputTag/index.vue2.js +1 -1
  58. package/lib/Layout/LayoutSider.vue.js +1 -1
  59. package/lib/Layout/LayoutSider.vue2.js +1 -1
  60. package/lib/Menu/Menu.vue.d.ts +2 -2
  61. package/lib/Menu/Menu.vue.js +1 -1
  62. package/lib/Menu/Menu.vue2.js +1 -1
  63. package/lib/Menu/SubMenu.vue2.js +1 -1
  64. package/lib/Menu/index.css +1 -1
  65. package/lib/Menu/index.d.ts +1 -1
  66. package/lib/Message/Message.vue2.js +1 -1
  67. package/lib/Modal/Modal.vue2.js +1 -1
  68. package/lib/Notification/Notification.vue2.js +1 -1
  69. package/lib/PageHeader/index.vue2.js +1 -1
  70. package/lib/Radio/Radio.vue2.js +1 -1
  71. package/lib/Scrollbar/index.css +1 -1
  72. package/lib/Select/SelectIcon.vue2.js +1 -1
  73. package/lib/Switch/index.css +1 -1
  74. package/lib/Switch/index.vue.js +1 -1
  75. package/lib/Switch/index.vue2.js +1 -1
  76. package/lib/Tabs/TabButton.vue.js +1 -1
  77. package/lib/Tabs/TabButton.vue2.js +1 -1
  78. package/lib/Tabs/index.css +1 -1
  79. package/lib/Tag/index.vue2.js +1 -1
  80. package/lib/Textarea/index.vue2.js +1 -1
  81. package/lib/TimePicker/TimePicker.vue2.js +1 -1
  82. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  83. package/lib/Trigger/index.vue2.js +1 -1
  84. package/lib/Typography/TypographyBase.vue2.js +1 -1
  85. package/lib/_shared/components/IconButton.vue2.js +1 -0
  86. package/lib/_shared/components/IconButton.vue3.js +1 -1
  87. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  88. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  89. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  90. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  91. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  92. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  93. package/lib/shared.css +1 -1
  94. package/lib/style.css +1 -1
  95. package/package.json +1 -1
  96. package/lib/_shared/components/IconButton.vue.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
2
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
- import IconButton from "../_shared/components/IconButton.vue.js";
3
+ import IconButton from "../_shared/components/IconButton.vue2.js";
4
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
@@ -5,7 +5,7 @@ import { isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$1 from "../_shared/icons/IconSeparator.vue.js";
8
+ import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
9
9
  const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  __name: "BreadcrumbSeparator",
@@ -7,7 +7,7 @@ import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
- import IconButton from "../_shared/components/IconButton.vue.js";
10
+ import IconButton from "../_shared/components/IconButton.vue2.js";
11
11
  /* empty css */
12
12
  import Button from "../Button/index.js";
13
13
  import "../Radio/index.js";
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  import Spin from "../Spin/index.js";
12
12
  const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
@@ -8,7 +8,7 @@ import "../Empty/index.js";
8
8
  import _sfc_main$1 from "../_shared/icons/IconCheckboxChecked.vue.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
10
  import useContext from "./hooks/useContext.js";
11
- import IconButton from "../_shared/components/IconButton.vue.js";
11
+ import IconButton from "../_shared/components/IconButton.vue2.js";
12
12
  /* empty css */
13
13
  const _hoisted_1 = ["value", "disabled", "checked"];
14
14
  const _hoisted_2 = { class: "yc-checkbox-icon" };
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../_shared/icons/IconRight.vue.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
11
11
  const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
12
12
  const _hoisted_2 = {
@@ -5,7 +5,7 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import useModalClose from "../Modal/hooks/useModalClose.js";
7
7
  import Button from "../Button/index.js";
8
- import IconButton from "../_shared/components/IconButton.vue.js";
8
+ import IconButton from "../_shared/components/IconButton.vue2.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  const _hoisted_1 = {
@@ -5,7 +5,7 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import useControlValue from "../_shared/utils/control.js";
7
7
  import useLimitedInput from "./hooks/useLimitedInput.js";
8
- import IconButton from "../_shared/components/IconButton.vue.js";
8
+ import IconButton from "../_shared/components/IconButton.vue2.js";
9
9
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
10
10
  /* empty css */
11
11
  /* empty css */
@@ -6,7 +6,7 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import _sfc_main$3 from "../_shared/icons/IconEyeClose.vue2.js";
8
8
  import _sfc_main$2 from "../_shared/icons/IconEyeOpen.vue2.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
11
11
  /* empty css */
12
12
  const _hoisted_1 = {
@@ -8,7 +8,7 @@ import "../_shared/utils/time.js";
8
8
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
10
  import Tag from "../Tag/index.js";
11
- import IconButton from "../_shared/components/IconButton.vue.js";
11
+ import IconButton from "../_shared/components/IconButton.vue2.js";
12
12
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
13
13
  /* empty css */
14
14
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./LayoutSider.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const LayoutSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-acb17cdf"]]);
4
+ const LayoutSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-226ee3ae"]]);
5
5
  export {
6
6
  LayoutSider as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent, useCssVars, computed, toRefs, ref, createBlock, createElementBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderSlot, createVNode } from "vue";
1
+ import { defineComponent, toRefs, ref, computed, createBlock, createElementBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderSlot, createVNode, normalizeStyle } from "vue";
2
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
- import { valueToPx, mediaQueryHandler } from "../_shared/utils/dom.js";
3
+ import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
@@ -11,7 +11,8 @@ const _hoisted_1 = { class: "yc-layout-sider-children" };
11
11
  const _hoisted_2 = { class: "yc-layout-sider-children" };
12
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  ...{
14
- name: "LayoutSider"
14
+ name: "LayoutSider",
15
+ inheritAttrs: false
15
16
  },
16
17
  __name: "LayoutSider",
17
18
  props: {
@@ -30,23 +31,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
31
  },
31
32
  emits: ["update:collapsed", "collapse", "breakpoint"],
32
33
  setup(__props, { emit: __emit }) {
33
- useCssVars((_ctx) => ({
34
- "bcd881b8": computedWidth.value,
35
- "718992b8": collapsedWidth.value
36
- }));
37
34
  const props = __props;
38
35
  const emits = __emit;
39
36
  const {
40
37
  collapsible,
41
38
  breakpoint,
42
39
  hideTrigger,
43
- width: _width,
44
- collapsedWidth: _collapsedWidth
40
+ collapsedWidth,
41
+ width: _width
45
42
  } = toRefs(props);
46
43
  const { theme, computedCollapsed } = useSiderContext().provide(props, emits);
47
44
  const asideWidth = ref(_width.value);
48
- const computedWidth = computed(() => valueToPx(asideWidth.value));
49
- const collapsedWidth = computed(() => valueToPx(_collapsedWidth.value));
50
45
  const showTrigger = computed(() => {
51
46
  return !hideTrigger.value && collapsible.value;
52
47
  });
@@ -54,18 +49,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
49
  if (!collapsible.value) return;
55
50
  const value = !computedCollapsed.value;
56
51
  computedCollapsed.value = value;
57
- asideWidth.value = value ? _collapsedWidth.value : _width.value;
52
+ asideWidth.value = value ? collapsedWidth.value : _width.value;
58
53
  emits("collapse", value, "clickTrigger");
59
54
  };
60
55
  mediaQueryHandler((_, order, i) => {
61
56
  if (!collapsible.value || !breakpoint.value) return;
62
57
  const value = i <= order[breakpoint.value];
63
58
  computedCollapsed.value = value;
64
- asideWidth.value = value ? _collapsedWidth.value : _width.value;
59
+ asideWidth.value = value ? collapsedWidth.value : _width.value;
65
60
  emits("collapse", value, "responsive");
66
61
  emits("breakpoint", value);
67
62
  });
68
63
  return (_ctx, _cache) => {
64
+ var _a;
69
65
  return _ctx.resizeDirections.length ? (openBlock(), createBlock(unref(ResizeBox), {
70
66
  key: 0,
71
67
  width: asideWidth.value,
@@ -74,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
70
  class: normalizeClass([
75
71
  "yc-layout-sider",
76
72
  `yc-layout-sider-${unref(theme)}`,
73
+ _ctx.$attrs.class,
77
74
  {
78
75
  "yc-layout-sider-has-trigger": showTrigger.value
79
76
  }
@@ -102,11 +99,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
99
  "yc-layout-sider",
103
100
  "yc-layout-sider-translation",
104
101
  `yc-layout-sider-${unref(theme)}`,
102
+ _ctx.$attrs.class,
105
103
  {
106
- "yc-layout-sider-collapsed": unref(computedCollapsed),
107
104
  "yc-layout-sider-has-trigger": showTrigger.value
108
105
  }
109
- ])
106
+ ]),
107
+ style: normalizeStyle({
108
+ ..._ctx.$attrs.style || {},
109
+ width: unref(computedCollapsed) ? unref(valueToPx)(unref(collapsedWidth)) : ((_a = _ctx.$attrs.style) == null ? void 0 : _a.width) || unref(valueToPx)(asideWidth.value)
110
+ })
110
111
  }, [
111
112
  createElementVNode("div", _hoisted_2, [
112
113
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -122,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
122
123
  }, null, 8, ["rotate"])
123
124
  ], true)
124
125
  ])) : createCommentVNode("", true)
125
- ], 2));
126
+ ], 6));
126
127
  };
127
128
  }
128
129
  });
@@ -5,7 +5,7 @@ declare function __VLS_template(): {
5
5
  refs: {
6
6
  menuRef: HTMLDivElement;
7
7
  };
8
- rootEl: HTMLDivElement;
8
+ rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<MenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -44,7 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<MenuProps, {}, {},
44
44
  autoScrollIntoView: boolean;
45
45
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
46
  menuRef: HTMLDivElement;
47
- }, HTMLDivElement>;
47
+ }, any>;
48
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
49
  export default _default;
50
50
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Menu.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _Menu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-990f2e81"]]);
4
+ const _Menu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fb059e13"]]);
5
5
  export {
6
6
  _Menu as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, useCssVars, unref, ref, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, renderSlot, createBlock } from "vue";
1
+ import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, createBlock } from "vue";
2
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import { mediaQueryHandler } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
@@ -10,7 +10,8 @@ import useMenuContext from "./hooks/useContext.js";
10
10
  import MenuEllipsis from "./MenuEllipsis.vue.js";
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  ...{
13
- name: "Menu"
13
+ name: "Menu",
14
+ inheritAttrs: false
14
15
  },
15
16
  __name: "Menu",
16
17
  props: {
@@ -41,9 +42,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
42
  },
42
43
  emits: ["update:selectedKeys", "update:openKeys", "update:collapsed", "collapse", "menu-item-click", "sub-menu-click"],
43
44
  setup(__props, { emit: __emit }) {
44
- useCssVars((_ctx) => ({
45
- "72e354a7": unref(collapsedWidth)
46
- }));
47
45
  const props = __props;
48
46
  const emits = __emit;
49
47
  const menuRef = ref();
@@ -60,15 +58,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
58
  emits("collapse", value, "responsive");
61
59
  });
62
60
  return (_ctx, _cache) => {
61
+ var _a;
63
62
  return openBlock(), createElementBlock("div", {
64
63
  class: normalizeClass([
65
64
  "yc-menu",
66
65
  `yc-menu-mode-${_ctx.mode}`,
67
66
  `yc-menu-${unref(theme)}`,
67
+ _ctx.$attrs.class,
68
68
  {
69
69
  "yc-menu-collapsed": unref(computedCollapsed) && _ctx.mode != "horizontal"
70
70
  }
71
- ])
71
+ ]),
72
+ style: normalizeStyle({
73
+ ..._ctx.$attrs.style || {},
74
+ width: unref(computedCollapsed) ? unref(collapsedWidth) : (_a = _ctx.$attrs.style) == null ? void 0 : _a.width
75
+ })
72
76
  }, [
73
77
  createElementVNode("div", {
74
78
  class: "yc-menu-inner",
@@ -85,7 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
89
  }, [
86
90
  !unref(computedCollapsed) ? (openBlock(), createBlock(unref(_sfc_main$1), { key: 0 })) : (openBlock(), createBlock(unref(_sfc_main$2), { key: 1 }))
87
91
  ])) : createCommentVNode("", true)
88
- ], 2);
92
+ ], 6);
89
93
  };
90
94
  }
91
95
  });
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- /* empty css */
9
+ /* empty css */
10
10
  import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
11
11
  import "./index.js";
12
12
  import MenuItem from "./MenuItem.vue.js";
package/es/Menu/index.css CHANGED
@@ -1 +1 @@
1
- .yc-menu-inline{display:flex;flex-direction:column;gap:4px}.yc-menu-inline .yc-menu-inline-content{display:flex;flex-direction:column;gap:4px}.yc-menu{position:relative;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-menu .yc-menu-inner{overflow:auto;padding:4px 8px;display:flex}.yc-menu .yc-menu-collapse-button{cursor:pointer;position:absolute;right:12px;bottom:12px;width:24px;height:24px;border-radius:2px;font-size:14px;display:flex;align-items:center;justify-content:center}.yc-menu-mode-vertical .yc-menu-inner{height:100%;flex-direction:column;gap:4px}.yc-menu-mode-horizontal .yc-menu-inner{position:relative;overflow:hidden;min-height:58px;width:100%;padding:14px 20px 14px 32px;display:flex;align-items:center;gap:12px}.yc-menu-mode-horizontal .yc-menu-inner:deep(.yc-menu-inline){flex-shrink:0}.yc-menu-light{background-color:#fff}.yc-menu-light .yc-menu-collapse-button{color:#86909c;background-color:#f7f8fa}.yc-menu-light .yc-menu-collapse-button:hover{background-color:#e5e6eb}.yc-menu-dark{background-color:#232324}.yc-menu-dark .yc-menu-collapse-button{color:#fff;background-color:#165dff}.yc-menu-dark .yc-menu-collapse-button:hover{background-color:#0e42d2}.yc-menu-item{cursor:pointer;flex-shrink:0;padding:0 12px;border-radius:2px;min-height:40px;line-height:40px;font-size:14px;transition:color .2s cubic-bezier(0, 0, 1, 1);display:flex;justify-content:center;align-items:center}.yc-menu-item .yc-menu-icon{line-height:1;margin-right:16px;color:#86909c}.yc-menu-item .yc-menu-item-title{flex-shrink:0;flex:1}.yc-menu-item .yc-menu-suffix-icon{margin-left:16px}.yc-menu-item-collapsed .yc-menu-icon{margin-right:0}.yc-menu-item-mode-horizontal{flex-shrink:0;position:relative}.yc-menu-item-mode-horizontal .yc-menu-item{min-height:30px;line-height:30px}.yc-menu-item-mode-horizontal .yc-menu-item .yc-menu-icon-suffix{margin-left:6px}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected::after{content:'';position:absolute;left:12px;right:12px;bottom:-14px;height:3px;background-color:#165dff}.yc-menu-item-ellipsis{position:absolute;top:50%;transform:translateY(-50%)}.yc-menu-item-light .yc-menu-item:not(.yc-menu-item-disabled){color:#4e5969}.yc-menu-item-light .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:#f2f3f5}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:#f2f3f5}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-light .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:#c9cdd4}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-dark .yc-menu-item:not(.yc-menu-item-disabled){color:#c9cdd4}.yc-menu-item-dark .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:rgba(255,255,255,0.04)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:rgba(255,255,255,0.04)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-dark .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:#4e5969}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-group{display:flex;flex-direction:column;gap:4px}.yc-menu-group .yc-menu-group-title{max-width:100%;padding:0 12px;line-height:40px;font-size:14px;color:var(--color-text-3);font-weight:400}
1
+ .yc-menu-inline{display:flex;flex-direction:column;gap:4px}.yc-menu-inline .yc-menu-inline-content{display:flex;flex-direction:column;gap:4px}.yc-menu{position:relative;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-menu .yc-menu-inner{overflow:auto;padding:4px 8px;display:flex}.yc-menu .yc-menu-collapse-button{cursor:pointer;position:absolute;right:12px;bottom:12px;width:24px;height:24px;border-radius:2px;font-size:14px;display:flex;align-items:center;justify-content:center}.yc-menu-mode-vertical .yc-menu-inner{height:100%;flex-direction:column;gap:4px}.yc-menu-mode-horizontal .yc-menu-inner{position:relative;overflow:hidden;min-height:58px;width:100%;padding:14px 20px 14px 32px;display:flex;align-items:center;gap:12px}.yc-menu-mode-horizontal .yc-menu-inner:deep(.yc-menu-inline){flex-shrink:0}.yc-menu-collapsed .yc-menu-inner{padding:4px}.yc-menu-light{background-color:#fff}.yc-menu-light .yc-menu-collapse-button{color:#86909c;background-color:#f7f8fa}.yc-menu-light .yc-menu-collapse-button:hover{background-color:#e5e6eb}.yc-menu-dark{background-color:#232324}.yc-menu-dark .yc-menu-collapse-button{color:#fff;background-color:#165dff}.yc-menu-dark .yc-menu-collapse-button:hover{background-color:#0e42d2}.yc-menu-item{cursor:pointer;flex-shrink:0;padding:0 12px;border-radius:2px;min-height:40px;line-height:40px;font-size:14px;transition:color .2s cubic-bezier(0, 0, 1, 1);display:flex;justify-content:center;align-items:center}.yc-menu-item .yc-menu-icon{line-height:1;margin-right:16px;color:#86909c}.yc-menu-item .yc-menu-item-title{flex-shrink:0;flex:1}.yc-menu-item .yc-menu-suffix-icon{margin-left:16px}.yc-menu-item-collapsed .yc-menu-icon{margin-right:0}.yc-menu-item-mode-horizontal{flex-shrink:0;position:relative}.yc-menu-item-mode-horizontal .yc-menu-item{min-height:30px;line-height:30px}.yc-menu-item-mode-horizontal .yc-menu-item .yc-menu-icon-suffix{margin-left:6px}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected::after{content:'';position:absolute;left:12px;right:12px;bottom:-14px;height:3px;background-color:#165dff}.yc-menu-item-ellipsis{position:absolute;top:50%;transform:translateY(-50%)}.yc-menu-item-light .yc-menu-item:not(.yc-menu-item-disabled){color:#4e5969}.yc-menu-item-light .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:#f2f3f5}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:#f2f3f5}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-light .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:#c9cdd4}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-dark .yc-menu-item:not(.yc-menu-item-disabled){color:#c9cdd4}.yc-menu-item-dark .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:rgba(255,255,255,0.04)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:rgba(255,255,255,0.04)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-dark .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:#4e5969}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-group{display:flex;flex-direction:column;gap:4px}.yc-menu-group .yc-menu-group-title{max-width:100%;padding:0 12px;line-height:40px;font-size:14px;color:var(--color-text-3);font-weight:400}
@@ -45,7 +45,7 @@ declare const Menu: {
45
45
  autoScrollIntoView: boolean;
46
46
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
47
47
  menuRef: HTMLDivElement;
48
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
48
+ }, any, import('vue').ComponentProvideOptions, {
49
49
  P: {};
50
50
  B: {};
51
51
  D: {};
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
12
12
  const _hoisted_1 = {
@@ -6,7 +6,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import useModalClose from "./hooks/useModalClose.js";
7
7
  import useModalDraggable from "./hooks/useModalDraggable.js";
8
8
  import Button from "../Button/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  const _hoisted_1 = {
@@ -7,7 +7,7 @@ import "../_shared/utils/time.js";
7
7
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
8
8
  import "../Empty/index.js";
9
9
  /* empty css */
10
- import IconButton from "../_shared/components/IconButton.vue.js";
10
+ import IconButton from "../_shared/components/IconButton.vue2.js";
11
11
  /* empty css */
12
12
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
13
13
  const _hoisted_1 = { class: "yc-notification-left" };
@@ -6,7 +6,7 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
8
8
  import Divider from "../Divider/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  const _hoisted_1 = { class: "yc-page-header" };
12
12
  const _hoisted_2 = { class: "yc-page-header-wrapper" };
@@ -6,7 +6,7 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import useContext from "./hooks/useContext.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  const _hoisted_1 = ["value", "checked", "disabled"];
12
12
  const _hoisted_2 = {
@@ -1 +1 @@
1
- .yc-scrollbar{position:relative;overflow:hidden}.yc-scrollbar:hover .yc-scrollbar-track .yc-scrollbar-thumb-bar{opacity:1}.yc-scrollbar .yc-scrollbar-container{overflow:auto}.yc-scrollbar .yc-scrollbar-container .yc-scrollbar-content{height:fit-content;width:fit-content;min-width:100%}.yc-scrollbar:not(.yc-scrollbar-real) .yc-scrollbar-container::-webkit-scrollbar{width:0;height:0}.yc-scrollbar-both-track::before{z-index:10;position:absolute;right:0;bottom:0;content:'';width:15px;height:15px;background-color:var(--color-neutral-1);border-right:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3)}.yc-scrollbar-vertical-track .yc-scrollbar-container{padding-right:15px}.yc-scrollbar-vertical-track:deep(.yc-scrollbar-track-direction-vertical){background-color:var(--color-neutral-1);border-left:1px solid var(--color-neutral-3);border-right:1px solid var(--color-neutral-3)}.yc-scrollbar-horizontal-track .yc-scrollbar-container{padding-bottom:15px}.yc-scrollbar-horizontal-track:deep(.yc-scrollbar-track-direction-horizontal){background-color:var(--color-neutral-1);border-top:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3)}.yc-scrollbar-track{z-index:1001;position:absolute}.yc-scrollbar-track .yc-scrollbar-thumb{position:absolute;display:flex;justify-content:center;align-items:center}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar{user-select:none;border-radius:5px;background-color:var(--color-neutral-4);opacity:0;transition:opacity .2s ease}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar:hover{background-color:var(--color-neutral-6);opacity:.8}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar.yc-scrollbar-thumb-bar-dragging{background-color:var(--color-neutral-6);opacity:.8}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar.yc-scrollbar-thumb-bar-hover{opacity:1}.yc-scrollbar-track-direction-vertical{width:15px;top:0;bottom:0;right:0;display:flex;justify-content:center}.yc-scrollbar-track-direction-vertical .yc-scrollbar-thumb-direction-vertical{width:100%}.yc-scrollbar-track-direction-vertical .yc-scrollbar-thumb-direction-vertical .yc-scrollbar-thumb-bar{height:100%;width:9px}.yc-scrollbar-track-direction-horizontal{height:15px;left:0;right:0;bottom:0;display:flex;align-items:center}.yc-scrollbar-track-direction-horizontal .yc-scrollbar-thumb-direction-horizontal{height:100%}.yc-scrollbar-track-direction-horizontal .yc-scrollbar-thumb-direction-horizontal .yc-scrollbar-thumb-bar{width:100%;height:9px}
1
+ .yc-scrollbar{position:relative;overflow:hidden}.yc-scrollbar:hover .yc-scrollbar-track .yc-scrollbar-thumb-bar{opacity:1}.yc-scrollbar .yc-scrollbar-container{overflow:auto}.yc-scrollbar .yc-scrollbar-container .yc-scrollbar-content{height:fit-content;width:fit-content;min-width:100%}.yc-scrollbar:not(.yc-scrollbar-real) .yc-scrollbar-container::-webkit-scrollbar{width:0;height:0}.yc-scrollbar-both-track::before{z-index:10;position:absolute;right:0;bottom:0;content:'';width:15px;height:15px;background-color:var(--color-neutral-1);border-right:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3)}.yc-scrollbar-vertical-track .yc-scrollbar-container{padding-right:15px}.yc-scrollbar-vertical-track:deep(.yc-scrollbar-track-direction-vertical){background-color:var(--color-neutral-1);border-left:1px solid var(--color-neutral-3);border-right:1px solid var(--color-neutral-3)}.yc-scrollbar-horizontal-track .yc-scrollbar-container{padding-bottom:15px}.yc-scrollbar-horizontal-track:deep(.yc-scrollbar-track-direction-horizontal){background-color:var(--color-neutral-1);border-top:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3)}.yc-scrollbar-track{z-index:11;position:absolute}.yc-scrollbar-track .yc-scrollbar-thumb{position:absolute;display:flex;justify-content:center;align-items:center}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar{user-select:none;border-radius:5px;background-color:var(--color-neutral-4);opacity:0;transition:opacity .2s ease}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar:hover{background-color:var(--color-neutral-6);opacity:.8}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar.yc-scrollbar-thumb-bar-dragging{background-color:var(--color-neutral-6);opacity:.8}.yc-scrollbar-track .yc-scrollbar-thumb .yc-scrollbar-thumb-bar.yc-scrollbar-thumb-bar-hover{opacity:1}.yc-scrollbar-track-direction-vertical{width:15px;top:0;bottom:0;right:0;display:flex;justify-content:center}.yc-scrollbar-track-direction-vertical .yc-scrollbar-thumb-direction-vertical{width:100%}.yc-scrollbar-track-direction-vertical .yc-scrollbar-thumb-direction-vertical .yc-scrollbar-thumb-bar{height:100%;width:9px}.yc-scrollbar-track-direction-horizontal{height:15px;left:0;right:0;bottom:0;display:flex;align-items:center}.yc-scrollbar-track-direction-horizontal .yc-scrollbar-thumb-direction-horizontal{height:100%}.yc-scrollbar-track-direction-horizontal .yc-scrollbar-thumb-direction-horizontal .yc-scrollbar-thumb-bar{width:100%;height:9px}
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  import Spin from "../Spin/index.js";
12
12
  const _hoisted_1 = { class: "yc-select-suffix-icon" };
@@ -1 +1 @@
1
- .yc-switch{cursor:pointer;position:relative;padding:0;outline:none;border:none;border-radius:20px;vertical-align:middle;transition:background-color .2s cubic-bezier(.34, .69, .1, 1)}.yc-switch .yc-switch-handle{z-index:1;position:absolute;top:50%;transform:translateY(-50%);border-radius:50%;transition:all .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon{font-size:inherit;display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon .yc-spin{font-size:inherit;color:inherit}.yc-switch .yc-switch-text{position:absolute;font-size:12px}.yc-switch .yc-switch-placeholder{visibility:hidden;font-size:12px;margin:0 8px 0 26px}.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-unchecked.yc-switch-shape-line::after{background-color:var(--color-fill-4)}.yc-switch-unchecked .yc-switch-handle{background-color:var(--color-bg-white);color:var(--color-neutral-3)}.yc-switch-unchecked .yc-switch-text{left:26px;color:var(--color-white)}.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-checked.yc-switch-shape-line::after{background-color:rgb(var(--primary-6))}.yc-switch-checked .yc-switch-handle{background-color:var(--color-bg-white);color:rgb(var(--primary-6))}.yc-switch-checked .yc-switch-text{left:8px;color:var(--color-white)}.yc-switch-checked .yc-switch-placeholder{margin:0 26px 0 8px}.yc-switch-loading.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-unchecked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-unchecked.yc-switch-shape-line::after{background-color:var(--color-fill-2)}.yc-switch-loading.yc-switch-unchecked .yc-switch-handle,.yc-switch-disabled.yc-switch-unchecked .yc-switch-handle{color:var(--color-neutral-3)}.yc-switch-loading.yc-switch-unchecked .yc-switch-text,.yc-switch-disabled.yc-switch-unchecked .yc-switch-text{color:var(--color-white)}.yc-switch-loading.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-checked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-checked.yc-switch-shape-line::after{background-color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-handle,.yc-switch-disabled.yc-switch-checked .yc-switch-handle{color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-text,.yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-primary-light-1)}body[yc-design-theme='dark'] .yc-switch-loading.yc-switch-checked .yc-switch-text,body[yc-design-theme='dark'] .yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-white)}.yc-switch-disabled{cursor:not-allowed}.yc-switch-size-small{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small .yc-switch-handle{left:2px;width:12px;height:12px;font-size:8px}.yc-switch-size-small.yc-switch-checked .yc-switch-handle{left:calc(100% - 14px)}.yc-switch-size-small.yc-switch-shape-line{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small.yc-switch-shape-line .yc-switch-handle{width:16px;height:16px}.yc-switch-size-small.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 16px)}.yc-switch-size-medium{min-width:40px;height:24px;line-height:24px}.yc-switch-size-medium .yc-switch-handle{left:4px;width:16px;height:16px;font-size:12px}.yc-switch-size-medium.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-size-medium.yc-switch-shape-line{min-width:36px;overflow:unset}.yc-switch-size-medium.yc-switch-shape-line .yc-switch-handle{left:0;width:20px;height:20px}.yc-switch-size-medium.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-shape-line{background:transparent}.yc-switch-shape-line::after{content:'';position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:6px;border-radius:3px}.yc-switch-shape-line .yc-switch-handle{box-shadow:0 1px 3px var(--color-neutral-6)}.yc-switch-shape-round{border-radius:2px}.yc-switch-shape-round .yc-switch-handle{border-radius:2px}
1
+ .yc-switch{cursor:pointer;position:relative;padding:0;background-color:var(--switch-background);outline:none;border:none;border-radius:20px;vertical-align:middle;transition:background-color .2s cubic-bezier(.34, .69, .1, 1)}.yc-switch::after{background-color:var(--switch-background)}.yc-switch .yc-switch-handle{z-index:1;position:absolute;top:50%;transform:translateY(-50%);border-radius:50%;transition:all .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon{font-size:inherit;display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon .yc-spin{font-size:inherit;color:inherit}.yc-switch .yc-switch-text{position:absolute;font-size:12px}.yc-switch .yc-switch-placeholder{visibility:hidden;font-size:12px;margin:0 8px 0 26px}.yc-switch-unchecked .yc-switch-handle{background-color:var(--color-bg-white);color:var(--color-neutral-3)}.yc-switch-unchecked .yc-switch-text{left:26px;color:var(--color-white)}.yc-switch-checked .yc-switch-handle{background-color:var(--color-bg-white);color:rgb(var(--primary-6))}.yc-switch-checked .yc-switch-text{left:8px;color:var(--color-white)}.yc-switch-checked .yc-switch-placeholder{margin:0 26px 0 8px}.yc-switch-loading.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-unchecked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-unchecked.yc-switch-shape-line::after{background-color:var(--color-fill-2)}.yc-switch-loading.yc-switch-unchecked .yc-switch-handle,.yc-switch-disabled.yc-switch-unchecked .yc-switch-handle{color:var(--color-neutral-3)}.yc-switch-loading.yc-switch-unchecked .yc-switch-text,.yc-switch-disabled.yc-switch-unchecked .yc-switch-text{color:var(--color-white)}.yc-switch-loading.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-checked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-checked.yc-switch-shape-line::after{background-color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-handle,.yc-switch-disabled.yc-switch-checked .yc-switch-handle{color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-text,.yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-primary-light-1)}body[yc-design-theme='dark'] .yc-switch-loading.yc-switch-checked .yc-switch-text,body[yc-design-theme='dark'] .yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-white)}.yc-switch-disabled{cursor:not-allowed}.yc-switch-size-small{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small .yc-switch-handle{left:2px;width:12px;height:12px;font-size:8px}.yc-switch-size-small.yc-switch-checked .yc-switch-handle{left:calc(100% - 14px)}.yc-switch-size-small.yc-switch-shape-line{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small.yc-switch-shape-line .yc-switch-handle{width:16px;height:16px}.yc-switch-size-small.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 16px)}.yc-switch-size-medium{min-width:40px;height:24px;line-height:24px}.yc-switch-size-medium .yc-switch-handle{left:4px;width:16px;height:16px;font-size:12px}.yc-switch-size-medium.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-size-medium.yc-switch-shape-line{min-width:36px;overflow:unset}.yc-switch-size-medium.yc-switch-shape-line .yc-switch-handle{left:0;width:20px;height:20px}.yc-switch-size-medium.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-shape-line{background:transparent}.yc-switch-shape-line::after{content:'';position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:6px;border-radius:3px}.yc-switch-shape-line .yc-switch-handle{box-shadow:0 1px 3px var(--color-neutral-6)}.yc-switch-shape-round{border-radius:2px}.yc-switch-shape-round .yc-switch-handle{border-radius:2px}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6bac3df6"]]);
4
+ const _Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4f66f082"]]);
5
5
  export {
6
6
  _Switch as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, useCssVars, computed, useSlots, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString } from "vue";
1
+ import { defineComponent, useSlots, toRefs, computed, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString } from "vue";
2
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import { isBoolean } from "../_shared/utils/is.js";
@@ -31,8 +31,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
31
  size: { default: void 0 },
32
32
  checkedValue: { type: [String, Number, Boolean], default: true },
33
33
  uncheckedValue: { type: [String, Number, Boolean], default: false },
34
- checkedColor: { default: "rgba(22, 93, 255)" },
35
- uncheckedColor: { default: "rgb(201, 205, 212)" },
34
+ checkedColor: { default: "rgb(var(--primary-6))" },
35
+ uncheckedColor: { default: "var(--color-fill-4)" },
36
36
  checkedText: { default: "" },
37
37
  uncheckedText: { default: "" },
38
38
  beforeChange: { type: Function, default: () => {
@@ -41,9 +41,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  },
42
42
  emits: ["update:modelValue", "change", "focus", "blur"],
43
43
  setup(__props, { emit: __emit }) {
44
- useCssVars((_ctx) => ({
45
- "66db34d3": background.value
46
- }));
47
44
  const slots = useSlots();
48
45
  const props = __props;
49
46
  const emits = __emit;
@@ -121,6 +118,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
121
118
  "yc-switch-disabled": unref(disabled)
122
119
  }
123
120
  ]),
121
+ style: normalizeStyle({
122
+ "--switch-background": background.value
123
+ }),
124
124
  "aria-checked": compuedChecked.value,
125
125
  role: "switch",
126
126
  onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("focus", $event)),
@@ -145,7 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
145
145
  createTextVNode(toDisplayString(compuedChecked.value ? unref(checkedText) : unref(uncheckedText)), 1)
146
146
  ], true)
147
147
  ])) : createCommentVNode("", true)
148
- ], 42, _hoisted_1);
148
+ ], 46, _hoisted_1);
149
149
  };
150
150
  }
151
151
  });
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./TabButton.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const TabButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1989807a"]]);
4
+ const TabButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-285ccf64"]]);
5
5
  export {
6
6
  TabButton as default
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
2
- import IconButton from "../_shared/components/IconButton.vue.js";
2
+ import IconButton from "../_shared/components/IconButton.vue2.js";
3
3
  import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
package/es/Tabs/index.css CHANGED
@@ -1 +1 @@
1
- .yc-tabs{position:relative;overflow:hidden;width:100%;display:flex}.yc-tabs .yc-tabs-nav{position:relative;overflow:hidden;display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab.yc-tabs-nav-tab-scroll{flex:1;overflow:hidden}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{position:relative;transition:transform .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list::-webkit-scrollbar{display:none}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{position:absolute;background-color:rgb(var(--primary-6));border-radius:2px}.yc-tabs .yc-tabs-nav .yc-tabs-nav-extra{height:100%;display:flex;align-items:center}.yc-tabs .yc-tabs-content{overflow:hidden}.yc-tabs .yc-tabs-content .yc-tabs-content-list{display:flex}.yc-tabs .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{flex-shrink:0}.yc-tabs-justify{height:100%}.yc-tabs-animation .yc-tabs-content-list{transition:all .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal{flex-direction:column}.yc-tabs-horizontal .yc-tabs-nav{width:100%}.yc-tabs-horizontal .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{bottom:0;height:2px;transition:left .2s cubic-bezier(.34, .69, .1, 1),width .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal .yc-tabs-content{width:100%;padding-top:16px}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list{width:100%}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{width:100%}.yc-tabs-vertical:not(.yc-tabs-type-card):not(.yc-tabs-type-card-gutter) .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:12px}.yc-tabs-vertical .yc-tabs-nav{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab{height:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab .yc-tabs-tab-title{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{right:0;width:2px;transition:top .2s cubic-bezier(.34, .69, .1, 1),height .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-vertical .yc-tabs-content{flex:1;height:100%;padding-left:16px}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{height:100%}.yc-tabs-right{flex-direction:row-reverse}.yc-tabs-right .yc-tabs-nav::before{left:0;right:unset}.yc-tabs-right .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{left:0;right:unset}.yc-tabs-right .yc-tabs-content{padding-left:0;padding-right:16px}.yc-tabs-bottom{flex-direction:column-reverse}.yc-tabs-bottom .yc-tabs-nav::before{top:0}.yc-tabs-bottom .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{top:0;bottom:unset}.yc-tabs-bottom .yc-tabs-content{padding-right:0;padding-bottom:16px}.yc-tabs-type-card.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-horizontal .yc-tabs-nav::before{content:'';position:absolute;right:0;bottom:0;left:0;display:block;height:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-vertical .yc-tabs-nav::before{content:'';position:absolute;top:0;bottom:0;right:0;width:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content{border:1px solid var(--color-neutral-3);border-top:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content{border-top:1px solid var(--color-neutral-3);border-bottom:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right{border-right:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content{border:1px solid var(--color-neutral-3);border-left:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right{border-right:none}.yc-tabs-type-card-gutter .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:4px}.yc-tabs-type-capsule .yc-tabs-nav{justify-content:flex-end}.yc-tabs-type-capsule .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex:unset;padding:3px;background-color:var(--color-fill-2);border-radius:2px;line-height:1;gap:3px}.yc-tabs-tab{flex-shrink:0;position:relative;cursor:pointer;outline:none;background-color:transparent;color:var(--color-text-2);line-height:1.5715;display:flex;align-items:center;gap:8px}.yc-tabs-tab .yc-tabs-tab-title{position:relative;padding:1px 0}.yc-tabs-tab.yc-tabs-tab-active{color:rgb(var(--primary-6));font-weight:500}.yc-tabs-tab-type-line,.yc-tabs-tab-type-text{margin:0 16px;transition:color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line .yc-tabs-tab-title::after,.yc-tabs-tab-type-text .yc-tabs-tab-title::after{content:'';z-index:-1;position:absolute;top:0;right:-8px;bottom:0;left:-8px;background-color:transparent;border-radius:2px;opacity:1;transition:background-color .2s cubic-bezier(0, 0, 1, 1),opacity .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after,.yc-tabs-tab-type-text:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after{background-color:var(--color-fill-2)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-type-text{margin:0 9px;padding:5px 0}.yc-tabs-tab-type-line.yc-tabs-tab-type-text:not(:first-child)::before,.yc-tabs-tab-type-text.yc-tabs-tab-type-text:not(:first-child)::before{content:'';position:absolute;top:50%;left:-9px;width:2px;height:12px;background-color:var(--color-fill-3);transform:translateY(-50%)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title{position:relative;padding-left:9px;padding-right:9px}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title::after,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title::after{left:0;top:0;right:0;bottom:0}.yc-tabs-tab-type-line.yc-tabs-tab-type-line.yc-tabs-tab-vertical,.yc-tabs-tab-type-text.yc-tabs-tab-type-line.yc-tabs-tab-vertical{margin:0;padding:0 20px}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding{margin-left:0}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding.yc-tabs-tab-type-text{margin-left:0}.yc-tabs-tab-type-card,.yc-tabs-tab-type-card-gutter{padding:0 16px;border:1px solid var(--color-neutral-3);transition:padding .2s cubic-bezier(0, 0, 1, 1),color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-card.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover,.yc-tabs-tab-type-card-gutter.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover{background-color:var(--color-fill-3)}.yc-tabs-tab-type-card.yc-tabs-tab-type-card-gutter,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-type-card-gutter{background-color:var(--color-fill-1);border-radius:2px 2px 0 0}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child){border-left:none}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child{border-top-left-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child{border-top-right-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active{background-color:transparent;border-bottom-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom{border-top-color:var(--color-bg-2);border-bottom-color:var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical{border-bottom:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical:not(:last-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child){border-top:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active{background-color:transparent;border-right-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right{border-right-color:var(--color-neutral-3);border-left-color:var(--color-bg-2)}.yc-tabs-tab-type-rounded{margin:0 6px;padding:0 16px;border-radius:32px}.yc-tabs-tab-type-rounded:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-fill-2)}.yc-tabs-tab-type-rounded.yc-tabs-tab-active{background-color:var(--color-fill-2)}.yc-tabs-tab-type-capsule{padding:0 10px}.yc-tabs-tab-type-capsule:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-bg-2)}.yc-tabs-tab-type-capsule.yc-tabs-tab-active{background-color:var(--color-bg-2)}.yc-tabs-tab-size-mini.yc-tabs-tab-type-line{font-size:12px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card-gutter{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-capsule{font-size:12px;line-height:18px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-rounded{font-size:12px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-small.yc-tabs-tab-type-line{font-size:14px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-capsule{font-size:14px;line-height:22px}.yc-tabs-tab-size-small.yc-tabs-tab-type-rounded{font-size:14px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-line{font-size:14px;padding-top:8px;padding-bottom:8px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-capsule{font-size:14px;line-height:26px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-rounded{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-line{font-size:14px;padding-top:10px;padding-bottom:10px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-capsule{font-size:14px;line-height:30px}.yc-tabs-tab-size-large.yc-tabs-tab-type-rounded{font-size:14px;padding-top:7px;padding-bottom:7px}.yc-tabs-tab-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-tabs-tab-disabled.yc-tabs-tab-active{color:var(--color-primary-light-3)}
1
+ .yc-tabs{position:relative;overflow:hidden;width:100%;display:flex}.yc-tabs .yc-tabs-nav{position:relative;overflow:hidden;display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab.yc-tabs-nav-tab-scroll{flex:1;overflow:hidden}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{position:relative;transition:transform .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list::-webkit-scrollbar{display:none}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{position:absolute;background-color:rgb(var(--primary-6));border-radius:2px}.yc-tabs .yc-tabs-nav .yc-tabs-nav-extra{height:100%;display:flex;align-items:center}.yc-tabs .yc-tabs-content{overflow:hidden}.yc-tabs .yc-tabs-content .yc-tabs-content-list{display:flex}.yc-tabs .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{flex-shrink:0}.yc-tabs-justify{height:100%}.yc-tabs-animation .yc-tabs-content-list{transition:all .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal{flex-direction:column}.yc-tabs-horizontal .yc-tabs-nav{width:100%}.yc-tabs-horizontal .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{bottom:0;height:2px;transition:left .2s cubic-bezier(.34, .69, .1, 1),width .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal .yc-tabs-content{width:100%;padding-top:16px}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list{width:100%}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{width:100%}.yc-tabs-vertical:not(.yc-tabs-type-card):not(.yc-tabs-type-card-gutter) .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:12px}.yc-tabs-vertical .yc-tabs-nav{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab{height:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab .yc-tabs-tab-title{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{right:0;width:2px;transition:top .2s cubic-bezier(.34, .69, .1, 1),height .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-vertical .yc-tabs-content{flex:1;height:100%;padding-left:16px}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{height:100%}.yc-tabs-right{flex-direction:row-reverse}.yc-tabs-right .yc-tabs-nav::before{left:0;right:unset}.yc-tabs-right .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{left:0;right:unset}.yc-tabs-right .yc-tabs-content{padding-left:0;padding-right:16px}.yc-tabs-bottom{flex-direction:column-reverse}.yc-tabs-bottom .yc-tabs-nav::before{top:0}.yc-tabs-bottom .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{top:0;bottom:unset}.yc-tabs-bottom .yc-tabs-content{padding-right:0;padding-bottom:16px}.yc-tabs-type-card.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-horizontal .yc-tabs-nav::before{content:'';position:absolute;right:0;bottom:0;left:0;display:block;height:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-vertical .yc-tabs-nav::before{content:'';position:absolute;top:0;bottom:0;right:0;width:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content{border:1px solid var(--color-neutral-3);border-top:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content{border-top:1px solid var(--color-neutral-3);border-bottom:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right{border-right:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content{border:1px solid var(--color-neutral-3);border-left:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right{border-right:none}.yc-tabs-type-card-gutter .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:4px}.yc-tabs-type-capsule .yc-tabs-nav{justify-content:flex-end}.yc-tabs-type-capsule .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex:unset;padding:3px;background-color:var(--color-fill-2);border-radius:2px;line-height:1;gap:3px}.yc-tabs-tab{flex-shrink:0;position:relative;cursor:pointer;outline:none;background-color:transparent;color:var(--color-text-2);line-height:1.5715;display:flex;align-items:center;gap:8px}.yc-tabs-tab .yc-tabs-tab-title{position:relative;padding:1px 0}.yc-tabs-tab.yc-tabs-tab-active{color:rgb(var(--primary-6));font-weight:500}.yc-tabs-tab-type-line,.yc-tabs-tab-type-text{margin:0 16px;transition:color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line .yc-tabs-tab-title::after,.yc-tabs-tab-type-text .yc-tabs-tab-title::after{content:'';z-index:-1;position:absolute;top:0;right:-8px;bottom:0;left:-8px;background-color:transparent;border-radius:2px;opacity:1;transition:background-color .2s cubic-bezier(0, 0, 1, 1),opacity .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after,.yc-tabs-tab-type-text:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after{background-color:var(--color-fill-2)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-type-text{margin:0 9px;padding:5px 0}.yc-tabs-tab-type-line.yc-tabs-tab-type-text:not(:first-child)::before,.yc-tabs-tab-type-text.yc-tabs-tab-type-text:not(:first-child)::before{content:'';position:absolute;top:50%;left:-9px;width:2px;height:12px;background-color:var(--color-fill-3);transform:translateY(-50%)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title{position:relative;padding-left:9px;padding-right:9px}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title::after,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title::after{left:0;top:0;right:0;bottom:0}.yc-tabs-tab-type-line.yc-tabs-tab-type-line.yc-tabs-tab-vertical,.yc-tabs-tab-type-text.yc-tabs-tab-type-line.yc-tabs-tab-vertical{margin:0;padding:0 20px}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding{margin-left:0}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding.yc-tabs-tab-type-text{margin-left:0}.yc-tabs-tab-type-card,.yc-tabs-tab-type-card-gutter{padding:0 16px;border:1px solid var(--color-neutral-3);transition:padding .2s cubic-bezier(0, 0, 1, 1),color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-card.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover,.yc-tabs-tab-type-card-gutter.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover{background-color:var(--color-fill-3)}.yc-tabs-tab-type-card.yc-tabs-tab-type-card-gutter,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-type-card-gutter{background-color:var(--color-fill-1);border-radius:2px 2px 0 0}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child){border-left:none}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child{border-top-left-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child{border-top-right-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active{background-color:transparent;border-bottom-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom{border-top-color:var(--color-bg-2);border-bottom-color:var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical{border-bottom:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical:not(:last-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child){border-top:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active{background-color:transparent;border-right-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right{border-right-color:var(--color-neutral-3);border-left-color:var(--color-bg-2)}.yc-tabs-tab-type-rounded{margin:0 6px;padding:0 16px;border-radius:32px}.yc-tabs-tab-type-rounded:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-fill-2)}.yc-tabs-tab-type-rounded.yc-tabs-tab-active{background-color:var(--color-fill-2)}.yc-tabs-tab-type-capsule{padding:0 10px}.yc-tabs-tab-type-capsule:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-bg-2)}.yc-tabs-tab-type-capsule.yc-tabs-tab-active{background-color:var(--color-bg-2)}.yc-tabs-tab-size-mini.yc-tabs-tab-type-line{font-size:12px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card-gutter{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-capsule{font-size:12px;line-height:18px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-rounded{font-size:12px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-small.yc-tabs-tab-type-line{font-size:14px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-capsule{font-size:14px;line-height:22px}.yc-tabs-tab-size-small.yc-tabs-tab-type-rounded{font-size:14px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-line{font-size:14px;padding-top:8px;padding-bottom:8px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-capsule{font-size:14px;line-height:26px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-rounded{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-line{font-size:14px;padding-top:10px;padding-bottom:10px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-capsule{font-size:14px;line-height:30px}.yc-tabs-tab-size-large.yc-tabs-tab-type-rounded{font-size:14px;padding-top:7px;padding-bottom:7px}.yc-tabs-tab-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-tabs-tab-disabled.yc-tabs-tab-active{color:var(--color-primary-light-3)}.yc-icon-button{color:inherit}.yc-icon-button.yc-tabs-nav-button-left{margin:0 6px 0 10px}.yc-icon-button.yc-tabs-nav-button-right{margin:0 10px 0 6px}.yc-icon-button.yc-tabs-nav-button-up{margin-bottom:10px}.yc-icon-button.yc-tabs-nav-button-down{margin-top:10px}.yc-icon-button.yc-tabs-tab-close-button{user-select:none;color:inherit}.yc-icon-button.yc-tabs-nav-add-button{padding:0 8px}
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import Spin from "../Spin/index.js";
9
- import IconButton from "../_shared/components/IconButton.vue.js";
9
+ import IconButton from "../_shared/components/IconButton.vue2.js";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  const _hoisted_1 = {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
2
2
  import useTextareaHeight from "./hooks/useTextareaHeight.js";
3
3
  import useLimitedInput from "../Input/hooks/useLimitedInput.js";
4
- import IconButton from "../_shared/components/IconButton.vue.js";
4
+ import IconButton from "../_shared/components/IconButton.vue2.js";
5
5
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
6
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
7
7
  import "../_shared/utils/dom.js";
@@ -5,7 +5,7 @@ import { isArray } from "../_shared/utils/is.js";
5
5
  import { isValidTimeRange } from "../_shared/utils/time.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useContext from "./hooks/useContext.js";
8
- import IconButton from "../_shared/components/IconButton.vue.js";
8
+ import IconButton from "../_shared/components/IconButton.vue2.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  import _sfc_main$1 from "../_shared/icons/IconTime.vue.js";
@@ -11,7 +11,7 @@ import useContext from "./hooks/useContext.js";
11
11
  import Checkbox from "../Checkbox/index.js";
12
12
  import Scrollbar from "../Scrollbar/index.js";
13
13
  import Input from "../Input/index.js";
14
- import IconButton from "../_shared/components/IconButton.vue.js";
14
+ import IconButton from "../_shared/components/IconButton.vue2.js";
15
15
  /* empty css */
16
16
  const _hoisted_1 = { class: "yc-transfer-view" };
17
17
  const _hoisted_2 = { class: "yc-transfer-view-header" };