yc-design-vue 1.8.1 → 1.8.3

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 (217) hide show
  1. package/es/Alert/index.vue.js +2 -2
  2. package/es/Calendar/Calendar.vue.js +2 -2
  3. package/es/Cascader/CascaderIcon.vue.js +2 -2
  4. package/es/Checkbox/Checkbox.vue.js +2 -2
  5. package/es/Collapse/CollapseItem.vue.js +2 -2
  6. package/es/Drawer/Drawer.vue.js +2 -2
  7. package/es/Input/Input.vue.js +2 -2
  8. package/es/Input/InputSuffix.vue.js +4 -4
  9. package/es/InputTag/index.vue.js +2 -2
  10. package/es/Menu/SubMenu.vue.js +1 -1
  11. package/es/Message/Message.vue.js +2 -2
  12. package/es/Modal/Modal.vue.js +2 -2
  13. package/es/Notification/Notification.vue.js +2 -2
  14. package/es/PageHeader/index.vue.js +2 -2
  15. package/es/Radio/Radio.vue.js +2 -2
  16. package/es/Select/SelectIcon.vue.js +2 -2
  17. package/es/Tabs/TabButton.vue.js +2 -2
  18. package/es/Tag/index.vue.js +2 -2
  19. package/es/Textarea/index.vue.js +2 -2
  20. package/es/TimePicker/TimePicker.vue.js +2 -2
  21. package/es/Transfer/TransferPanel.vue.js +2 -2
  22. package/es/Trigger/index.vue.js +1 -1
  23. package/es/Typography/TypographyBase.vue.js +2 -2
  24. package/es/_shared/components/IconButton.vue3.js +2 -2
  25. package/es/_shared/icons/IconCopy.vue.js +1 -17
  26. package/es/_shared/icons/IconCopy.vue2.js +17 -1
  27. package/es/_shared/icons/IconEdit.vue.js +1 -17
  28. package/es/_shared/icons/IconEdit.vue2.js +17 -1
  29. package/es/_shared/icons/IconEyeClose.vue.js +1 -21
  30. package/es/_shared/icons/IconEyeClose.vue2.js +21 -1
  31. package/es/_shared/icons/IconEyeOpen.vue.js +1 -18
  32. package/es/_shared/icons/IconEyeOpen.vue2.js +18 -1
  33. package/es/_shared/locale/i18n.js +6 -5
  34. package/es/_shared/locale/lang/ar-eg.json.js +251 -0
  35. package/es/_shared/locale/lang/de-de.json.d.ts +207 -0
  36. package/es/_shared/locale/lang/de-de.json.js +251 -0
  37. package/es/_shared/locale/lang/en-us.json.d.ts +210 -0
  38. package/es/_shared/locale/lang/en-us.json.js +256 -0
  39. package/es/_shared/locale/lang/es-es.json.d.ts +207 -0
  40. package/es/_shared/locale/lang/es-es.json.js +251 -0
  41. package/es/_shared/locale/lang/fr-fr.json.d.ts +207 -0
  42. package/es/_shared/locale/lang/fr-fr.json.js +251 -0
  43. package/es/_shared/locale/lang/id-id.json.d.ts +207 -0
  44. package/es/_shared/locale/lang/id-id.json.js +251 -0
  45. package/es/_shared/locale/lang/it-it.json.d.ts +207 -0
  46. package/es/_shared/locale/lang/it-it.json.js +251 -0
  47. package/es/_shared/locale/lang/ja-jp.json.d.ts +255 -0
  48. package/es/_shared/locale/lang/ja-jp.json.js +301 -0
  49. package/es/_shared/locale/lang/km-kh.json.d.ts +207 -0
  50. package/es/_shared/locale/lang/km-kh.json.js +251 -0
  51. package/es/_shared/locale/lang/ko-kr.json.d.ts +207 -0
  52. package/es/_shared/locale/lang/ko-kr.json.js +251 -0
  53. package/es/_shared/locale/lang/ms-my.json.d.ts +207 -0
  54. package/es/_shared/locale/lang/ms-my.json.js +251 -0
  55. package/es/_shared/locale/lang/nl-nl.json.d.ts +255 -0
  56. package/es/_shared/locale/lang/nl-nl.json.js +301 -0
  57. package/es/_shared/locale/lang/pt-pt.json.d.ts +207 -0
  58. package/es/_shared/locale/lang/pt-pt.json.js +251 -0
  59. package/es/_shared/locale/lang/ru-ru.json.d.ts +255 -0
  60. package/es/_shared/locale/lang/ru-ru.json.js +301 -0
  61. package/es/_shared/locale/lang/th-th.json.d.ts +207 -0
  62. package/es/_shared/locale/lang/th-th.json.js +251 -0
  63. package/es/_shared/locale/lang/vi-vn.json.d.ts +207 -0
  64. package/es/_shared/locale/lang/vi-vn.json.js +251 -0
  65. package/es/_shared/locale/lang/zh-cn.json.d.ts +255 -0
  66. package/es/_shared/locale/lang/zh-cn.json.js +301 -0
  67. package/es/_shared/locale/lang/zh-tw.json.d.ts +255 -0
  68. package/es/_shared/locale/lang/zh-tw.json.js +301 -0
  69. package/lib/Alert/index.vue.js +1 -1
  70. package/lib/Calendar/Calendar.vue.js +1 -1
  71. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  72. package/lib/Checkbox/Checkbox.vue.js +1 -1
  73. package/lib/Collapse/CollapseItem.vue.js +1 -1
  74. package/lib/Drawer/Drawer.vue.js +1 -1
  75. package/lib/Input/Input.vue.js +1 -1
  76. package/lib/Input/InputSuffix.vue.js +1 -1
  77. package/lib/InputTag/index.vue.js +1 -1
  78. package/lib/Menu/SubMenu.vue.js +1 -1
  79. package/lib/Message/Message.vue.js +1 -1
  80. package/lib/Modal/Modal.vue.js +1 -1
  81. package/lib/Notification/Notification.vue.js +1 -1
  82. package/lib/PageHeader/index.vue.js +1 -1
  83. package/lib/Radio/Radio.vue.js +1 -1
  84. package/lib/Select/SelectIcon.vue.js +1 -1
  85. package/lib/Tabs/TabButton.vue.js +1 -1
  86. package/lib/Tag/index.vue.js +1 -1
  87. package/lib/Textarea/index.vue.js +1 -1
  88. package/lib/TimePicker/TimePicker.vue.js +1 -1
  89. package/lib/Transfer/TransferPanel.vue.js +1 -1
  90. package/lib/Trigger/index.vue.js +1 -1
  91. package/lib/Typography/TypographyBase.vue.js +1 -1
  92. package/lib/_shared/components/IconButton.vue3.js +1 -1
  93. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  94. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  95. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  96. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  97. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  98. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  99. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  100. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  101. package/lib/_shared/locale/i18n.js +1 -1
  102. package/lib/_shared/locale/lang/ar-eg.json.js +1 -0
  103. package/lib/_shared/locale/lang/de-de.json.d.ts +207 -0
  104. package/lib/_shared/locale/lang/de-de.json.js +1 -0
  105. package/lib/_shared/locale/lang/en-us.json.d.ts +210 -0
  106. package/lib/_shared/locale/lang/en-us.json.js +1 -0
  107. package/lib/_shared/locale/lang/es-es.json.d.ts +207 -0
  108. package/lib/_shared/locale/lang/es-es.json.js +1 -0
  109. package/lib/_shared/locale/lang/fr-fr.json.d.ts +207 -0
  110. package/lib/_shared/locale/lang/fr-fr.json.js +1 -0
  111. package/lib/_shared/locale/lang/id-id.json.d.ts +207 -0
  112. package/lib/_shared/locale/lang/id-id.json.js +1 -0
  113. package/lib/_shared/locale/lang/it-it.json.d.ts +207 -0
  114. package/lib/_shared/locale/lang/it-it.json.js +1 -0
  115. package/lib/_shared/locale/lang/ja-jp.json.d.ts +255 -0
  116. package/lib/_shared/locale/lang/ja-jp.json.js +1 -0
  117. package/lib/_shared/locale/lang/km-kh.json.d.ts +207 -0
  118. package/lib/_shared/locale/lang/km-kh.json.js +1 -0
  119. package/lib/_shared/locale/lang/ko-kr.json.d.ts +207 -0
  120. package/lib/_shared/locale/lang/ko-kr.json.js +1 -0
  121. package/lib/_shared/locale/lang/ms-my.json.d.ts +207 -0
  122. package/lib/_shared/locale/lang/ms-my.json.js +1 -0
  123. package/lib/_shared/locale/lang/nl-nl.json.d.ts +255 -0
  124. package/lib/_shared/locale/lang/nl-nl.json.js +1 -0
  125. package/lib/_shared/locale/lang/pt-pt.json.d.ts +207 -0
  126. package/lib/_shared/locale/lang/pt-pt.json.js +1 -0
  127. package/lib/_shared/locale/lang/ru-ru.json.d.ts +255 -0
  128. package/lib/_shared/locale/lang/ru-ru.json.js +1 -0
  129. package/lib/_shared/locale/lang/th-th.json.d.ts +207 -0
  130. package/lib/_shared/locale/lang/th-th.json.js +1 -0
  131. package/lib/_shared/locale/lang/vi-vn.json.d.ts +207 -0
  132. package/lib/_shared/locale/lang/vi-vn.json.js +1 -0
  133. package/lib/_shared/locale/lang/zh-cn.json.d.ts +255 -0
  134. package/lib/_shared/locale/lang/zh-cn.json.js +1 -0
  135. package/lib/_shared/locale/lang/zh-tw.json.d.ts +255 -0
  136. package/lib/_shared/locale/lang/zh-tw.json.js +1 -0
  137. package/package.json +1 -1
  138. package/es/_shared/locale/lang/ar-eg.d.ts +0 -205
  139. package/es/_shared/locale/lang/ar-eg.js +0 -153
  140. package/es/_shared/locale/lang/de-de.d.ts +0 -205
  141. package/es/_shared/locale/lang/de-de.js +0 -153
  142. package/es/_shared/locale/lang/en-us.d.ts +0 -253
  143. package/es/_shared/locale/lang/en-us.js +0 -158
  144. package/es/_shared/locale/lang/es-es.d.ts +0 -205
  145. package/es/_shared/locale/lang/es-es.js +0 -153
  146. package/es/_shared/locale/lang/fr-fr.d.ts +0 -205
  147. package/es/_shared/locale/lang/fr-fr.js +0 -153
  148. package/es/_shared/locale/lang/id-id.d.ts +0 -205
  149. package/es/_shared/locale/lang/id-id.js +0 -153
  150. package/es/_shared/locale/lang/it-it.d.ts +0 -205
  151. package/es/_shared/locale/lang/it-it.js +0 -153
  152. package/es/_shared/locale/lang/ja-jp.d.ts +0 -253
  153. package/es/_shared/locale/lang/ja-jp.js +0 -201
  154. package/es/_shared/locale/lang/km-kh.d.ts +0 -205
  155. package/es/_shared/locale/lang/km-kh.js +0 -153
  156. package/es/_shared/locale/lang/ko-kr.d.ts +0 -205
  157. package/es/_shared/locale/lang/ko-kr.js +0 -153
  158. package/es/_shared/locale/lang/ms-my.d.ts +0 -205
  159. package/es/_shared/locale/lang/ms-my.js +0 -153
  160. package/es/_shared/locale/lang/nl-nl.d.ts +0 -253
  161. package/es/_shared/locale/lang/nl-nl.js +0 -201
  162. package/es/_shared/locale/lang/pt-pt.d.ts +0 -205
  163. package/es/_shared/locale/lang/pt-pt.js +0 -153
  164. package/es/_shared/locale/lang/ru-ru.d.ts +0 -253
  165. package/es/_shared/locale/lang/ru-ru.js +0 -201
  166. package/es/_shared/locale/lang/th-th.d.ts +0 -205
  167. package/es/_shared/locale/lang/th-th.js +0 -153
  168. package/es/_shared/locale/lang/vi-vn.d.ts +0 -205
  169. package/es/_shared/locale/lang/vi-vn.js +0 -153
  170. package/es/_shared/locale/lang/zh-cn.js +0 -201
  171. package/es/_shared/locale/lang/zh-tw.d.ts +0 -253
  172. package/es/_shared/locale/lang/zh-tw.js +0 -201
  173. package/es/node_modules/b-validate/es/is.js +0 -27
  174. package/es/node_modules/b-validate/es/locale/en-US.js +0 -50
  175. package/es/node_modules/b-validate/es/rules/base.js +0 -86
  176. package/es/node_modules/b-validate/es/util.js +0 -25
  177. package/lib/_shared/locale/lang/ar-eg.d.ts +0 -205
  178. package/lib/_shared/locale/lang/ar-eg.js +0 -1
  179. package/lib/_shared/locale/lang/de-de.d.ts +0 -205
  180. package/lib/_shared/locale/lang/de-de.js +0 -1
  181. package/lib/_shared/locale/lang/en-us.d.ts +0 -253
  182. package/lib/_shared/locale/lang/en-us.js +0 -1
  183. package/lib/_shared/locale/lang/es-es.d.ts +0 -205
  184. package/lib/_shared/locale/lang/es-es.js +0 -1
  185. package/lib/_shared/locale/lang/fr-fr.d.ts +0 -205
  186. package/lib/_shared/locale/lang/fr-fr.js +0 -1
  187. package/lib/_shared/locale/lang/id-id.d.ts +0 -205
  188. package/lib/_shared/locale/lang/id-id.js +0 -1
  189. package/lib/_shared/locale/lang/it-it.d.ts +0 -205
  190. package/lib/_shared/locale/lang/it-it.js +0 -1
  191. package/lib/_shared/locale/lang/ja-jp.d.ts +0 -253
  192. package/lib/_shared/locale/lang/ja-jp.js +0 -1
  193. package/lib/_shared/locale/lang/km-kh.d.ts +0 -205
  194. package/lib/_shared/locale/lang/km-kh.js +0 -1
  195. package/lib/_shared/locale/lang/ko-kr.d.ts +0 -205
  196. package/lib/_shared/locale/lang/ko-kr.js +0 -1
  197. package/lib/_shared/locale/lang/ms-my.d.ts +0 -205
  198. package/lib/_shared/locale/lang/ms-my.js +0 -1
  199. package/lib/_shared/locale/lang/nl-nl.d.ts +0 -253
  200. package/lib/_shared/locale/lang/nl-nl.js +0 -1
  201. package/lib/_shared/locale/lang/pt-pt.d.ts +0 -205
  202. package/lib/_shared/locale/lang/pt-pt.js +0 -1
  203. package/lib/_shared/locale/lang/ru-ru.d.ts +0 -253
  204. package/lib/_shared/locale/lang/ru-ru.js +0 -1
  205. package/lib/_shared/locale/lang/th-th.d.ts +0 -205
  206. package/lib/_shared/locale/lang/th-th.js +0 -1
  207. package/lib/_shared/locale/lang/vi-vn.d.ts +0 -205
  208. package/lib/_shared/locale/lang/vi-vn.js +0 -1
  209. package/lib/_shared/locale/lang/zh-cn.js +0 -1
  210. package/lib/_shared/locale/lang/zh-tw.d.ts +0 -253
  211. package/lib/_shared/locale/lang/zh-tw.js +0 -1
  212. package/lib/node_modules/b-validate/es/is.js +0 -1
  213. package/lib/node_modules/b-validate/es/locale/en-US.js +0 -1
  214. package/lib/node_modules/b-validate/es/rules/base.js +0 -1
  215. package/lib/node_modules/b-validate/es/util.js +0 -1
  216. /package/es/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +0 -0
  217. /package/lib/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +0 -0
@@ -1,7 +1,7 @@
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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
4
- /* empty css */
3
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
4
+ /* empty css */
5
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
6
6
  import "../_shared/utils/dom.js";
7
7
  import "../_shared/utils/time.js";
@@ -7,8 +7,8 @@ import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
9
9
  import useControlValue from "../_shared/utils/control.js";
10
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
11
- /* empty css */
10
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
11
+ /* empty css */
12
12
  /* empty css */
13
13
  import Button from "../Button/index.js";
14
14
  import "../Radio/index.js";
@@ -6,8 +6,8 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$2 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  import Spin from "../Spin/index.js";
13
13
  const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
@@ -8,8 +8,8 @@ import "../Empty/index.js";
8
8
  import _sfc_main$2 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
12
- /* empty css */
11
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
12
+ /* empty css */
13
13
  /* empty css */
14
14
  const _hoisted_1 = ["value", "disabled", "checked"];
15
15
  const _hoisted_2 = { class: "yc-checkbox-icon" };
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
8
  import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
9
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  import _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
12
12
  /* empty css */
13
13
  const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
@@ -5,8 +5,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
9
- /* empty css */
8
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import { useI18n } from "../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js";
@@ -5,8 +5,8 @@ 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 _sfc_main$2 from "../_shared/components/IconButton.vue.js";
9
- /* empty css */
8
+ import _sfc_main$2 from "../_shared/components/IconButton.vue2.js";
9
+ /* empty css */
10
10
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
11
11
  /* empty css */
12
12
  /* empty css */
@@ -4,10 +4,10 @@ import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
7
- import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue.js";
8
- import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue.js";
9
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
7
+ import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
8
+ import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
9
+ import _sfc_main$2 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
12
12
  /* empty css */
13
13
  const _hoisted_1 = {
@@ -8,8 +8,8 @@ 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 _sfc_main$2 from "../_shared/components/IconButton.vue.js";
12
- /* empty css */
11
+ import _sfc_main$2 from "../_shared/components/IconButton.vue2.js";
12
+ /* empty css */
13
13
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
14
14
  /* empty css */
15
15
  /* empty css */
@@ -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 _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
11
11
  /* empty css */
12
12
  import "./index.js";
@@ -6,8 +6,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
13
13
  const _hoisted_1 = {
@@ -6,8 +6,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  import { useI18n } from "../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js";
@@ -7,8 +7,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
11
- /* empty css */
10
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
11
+ /* empty css */
12
12
  /* empty css */
13
13
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
14
14
  const _hoisted_1 = { class: "yc-notification-left" };
@@ -6,8 +6,8 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
8
8
  import Divider from "../Divider/index.js";
9
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  const _hoisted_1 = { class: "yc-page-header" };
13
13
  const _hoisted_2 = { class: "yc-page-header-wrapper" };
@@ -6,8 +6,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  const _hoisted_1 = ["value", "checked", "disabled"];
13
13
  const _hoisted_2 = {
@@ -6,8 +6,8 @@ import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$2 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  import Spin from "../Spin/index.js";
13
13
  const _hoisted_1 = { class: "yc-select-suffix-icon" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
2
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
3
- /* empty css */
2
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
3
+ /* empty css */
4
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
@@ -6,8 +6,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  const _hoisted_1 = {
@@ -1,8 +1,8 @@
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 _sfc_main$2 from "../_shared/components/IconButton.vue.js";
5
- /* empty css */
4
+ import _sfc_main$2 from "../_shared/components/IconButton.vue2.js";
5
+ /* empty css */
6
6
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
7
7
  import "../node_modules/tinycolor2/esm/tinycolor.js";
8
8
  import "../_shared/utils/dom.js";
@@ -5,8 +5,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
9
- /* empty css */
8
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
@@ -11,8 +11,8 @@ 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 _sfc_main$1 from "../_shared/components/IconButton.vue.js";
15
- /* empty css */
14
+ import _sfc_main$1 from "../_shared/components/IconButton.vue2.js";
15
+ /* empty css */
16
16
  /* empty css */
17
17
  const _hoisted_1 = { class: "yc-transfer-view" };
18
18
  const _hoisted_2 = { class: "yc-transfer-view-header" };
@@ -7,7 +7,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useTriggerVisible from "./hooks/useTriggerVisible.js";
8
8
  import useTriggerPosition from "./hooks/useTriggerPosition.js";
9
9
  /* empty css */
10
- /* empty css */
10
+ /* empty css */
11
11
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
12
12
  /* empty css */
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -5,8 +5,8 @@ import { getDomText, sleep } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
- import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
9
- import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
8
+ import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
9
+ import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
10
10
  import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
11
11
  import useControlValue from "../_shared/utils/control.js";
12
12
  import Input from "../Input/index.js";
@@ -1,5 +1,5 @@
1
- import _sfc_main from "./IconButton.vue.js";
2
- /* empty css */
1
+ import _sfc_main from "./IconButton.vue2.js";
2
+ /* empty css */
3
3
  export {
4
4
  _sfc_main as default
5
5
  };
@@ -1,20 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../components/Icon.vue3.js";
3
- /* empty css */
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "IconCopy",
6
- setup(__props) {
7
- return (_ctx, _cache) => {
8
- return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
- default: withCtx(() => _cache[0] || (_cache[0] = [
10
- createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
11
- ])),
12
- _: 1,
13
- __: [0]
14
- }, 16);
15
- };
16
- }
17
- });
1
+ import _sfc_main from "./IconCopy.vue2.js";
18
2
  export {
19
3
  _sfc_main as default
20
4
  };
@@ -1,4 +1,20 @@
1
- import _sfc_main from "./IconCopy.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import _sfc_main$1 from "../components/Icon.vue3.js";
3
+ /* empty css */
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "IconCopy",
6
+ setup(__props) {
7
+ return (_ctx, _cache) => {
8
+ return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
+ default: withCtx(() => _cache[0] || (_cache[0] = [
10
+ createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
11
+ ])),
12
+ _: 1,
13
+ __: [0]
14
+ }, 16);
15
+ };
16
+ }
17
+ });
2
18
  export {
3
19
  _sfc_main as default
4
20
  };
@@ -1,20 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../components/Icon.vue3.js";
3
- /* empty css */
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "IconEdit",
6
- setup(__props) {
7
- return (_ctx, _cache) => {
8
- return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
- default: withCtx(() => _cache[0] || (_cache[0] = [
10
- createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
11
- ])),
12
- _: 1,
13
- __: [0]
14
- }, 16);
15
- };
16
- }
17
- });
1
+ import _sfc_main from "./IconEdit.vue2.js";
18
2
  export {
19
3
  _sfc_main as default
20
4
  };
@@ -1,4 +1,20 @@
1
- import _sfc_main from "./IconEdit.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import _sfc_main$1 from "../components/Icon.vue3.js";
3
+ /* empty css */
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "IconEdit",
6
+ setup(__props) {
7
+ return (_ctx, _cache) => {
8
+ return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
+ default: withCtx(() => _cache[0] || (_cache[0] = [
10
+ createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
11
+ ])),
12
+ _: 1,
13
+ __: [0]
14
+ }, 16);
15
+ };
16
+ }
17
+ });
2
18
  export {
3
19
  _sfc_main as default
4
20
  };
@@ -1,24 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../components/Icon.vue3.js";
3
- /* empty css */
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "IconEyeClose",
6
- setup(__props) {
7
- return (_ctx, _cache) => {
8
- return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
- default: withCtx(() => _cache[0] || (_cache[0] = [
10
- createElementVNode("path", {
11
- d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
12
- "clip-rule": "evenodd"
13
- }, null, -1),
14
- createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
15
- ])),
16
- _: 1,
17
- __: [0]
18
- }, 16);
19
- };
20
- }
21
- });
1
+ import _sfc_main from "./IconEyeClose.vue2.js";
22
2
  export {
23
3
  _sfc_main as default
24
4
  };
@@ -1,4 +1,24 @@
1
- import _sfc_main from "./IconEyeClose.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import _sfc_main$1 from "../components/Icon.vue3.js";
3
+ /* empty css */
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "IconEyeClose",
6
+ setup(__props) {
7
+ return (_ctx, _cache) => {
8
+ return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
+ default: withCtx(() => _cache[0] || (_cache[0] = [
10
+ createElementVNode("path", {
11
+ d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z",
12
+ "clip-rule": "evenodd"
13
+ }, null, -1),
14
+ createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
15
+ ])),
16
+ _: 1,
17
+ __: [0]
18
+ }, 16);
19
+ };
20
+ }
21
+ });
2
22
  export {
3
23
  _sfc_main as default
4
24
  };
@@ -1,21 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../components/Icon.vue3.js";
3
- /* empty css */
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "IconEyeOpen",
6
- setup(__props) {
7
- return (_ctx, _cache) => {
8
- return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
- default: withCtx(() => _cache[0] || (_cache[0] = [
10
- createElementVNode("path", { d: "M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14" }, null, -1),
11
- createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294" }, null, -1)
12
- ])),
13
- _: 1,
14
- __: [0]
15
- }, 16);
16
- };
17
- }
18
- });
1
+ import _sfc_main from "./IconEyeOpen.vue2.js";
19
2
  export {
20
3
  _sfc_main as default
21
4
  };
@@ -1,4 +1,21 @@
1
- import _sfc_main from "./IconEyeOpen.vue.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import _sfc_main$1 from "../components/Icon.vue3.js";
3
+ /* empty css */
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "IconEyeOpen",
6
+ setup(__props) {
7
+ return (_ctx, _cache) => {
8
+ return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
+ default: withCtx(() => _cache[0] || (_cache[0] = [
10
+ createElementVNode("path", { d: "M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14" }, null, -1),
11
+ createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294" }, null, -1)
12
+ ])),
13
+ _: 1,
14
+ __: [0]
15
+ }, 16);
16
+ };
17
+ }
18
+ });
2
19
  export {
3
20
  _sfc_main as default
4
21
  };
@@ -1,17 +1,18 @@
1
- import lang from "./lang/zh-cn.js";
1
+ import zhCN from "./lang/zh-cn.json.js";
2
2
  import { createI18n } from "../../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js";
3
+ console.log(zhCN, "zhCn");
3
4
  const i18n = createI18n({
4
5
  locale: "zh-CN",
5
6
  fallbackLocale: "zh-CN",
6
7
  messages: {
7
- "zh-CN": lang
8
+ "zh-CN": zhCN
8
9
  },
9
10
  globalInjection: true,
10
11
  missingWarn: false,
11
12
  fallbackWarn: false
12
13
  });
13
14
  const i18nGlobal = i18n.global;
14
- const langModules = /* @__PURE__ */ Object.assign({ "./lang/ar-eg.ts": () => import("./lang/ar-eg.js"), "./lang/de-de.ts": () => import("./lang/de-de.js"), "./lang/en-us.ts": () => import("./lang/en-us.js"), "./lang/es-es.ts": () => import("./lang/es-es.js"), "./lang/fr-fr.ts": () => import("./lang/fr-fr.js"), "./lang/id-id.ts": () => import("./lang/id-id.js"), "./lang/it-it.ts": () => import("./lang/it-it.js"), "./lang/ja-jp.ts": () => import("./lang/ja-jp.js"), "./lang/km-kh.ts": () => import("./lang/km-kh.js"), "./lang/ko-kr.ts": () => import("./lang/ko-kr.js"), "./lang/ms-my.ts": () => import("./lang/ms-my.js"), "./lang/nl-nl.ts": () => import("./lang/nl-nl.js"), "./lang/pt-pt.ts": () => import("./lang/pt-pt.js"), "./lang/ru-ru.ts": () => import("./lang/ru-ru.js"), "./lang/th-th.ts": () => import("./lang/th-th.js"), "./lang/vi-vn.ts": () => import("./lang/vi-vn.js"), "./lang/zh-cn.ts": () => import("./lang/zh-cn.js"), "./lang/zh-tw.ts": () => import("./lang/zh-tw.js") });
15
+ const langModules = /* @__PURE__ */ Object.assign({ "./lang/ar-eg.json": () => import("./lang/ar-eg.json.js"), "./lang/de-de.json": () => import("./lang/de-de.json.js"), "./lang/en-us.json": () => import("./lang/en-us.json.js"), "./lang/es-es.json": () => import("./lang/es-es.json.js"), "./lang/fr-fr.json": () => import("./lang/fr-fr.json.js"), "./lang/id-id.json": () => import("./lang/id-id.json.js"), "./lang/it-it.json": () => import("./lang/it-it.json.js"), "./lang/ja-jp.json": () => import("./lang/ja-jp.json.js"), "./lang/km-kh.json": () => import("./lang/km-kh.json.js"), "./lang/ko-kr.json": () => import("./lang/ko-kr.json.js"), "./lang/ms-my.json": () => import("./lang/ms-my.json.js"), "./lang/nl-nl.json": () => import("./lang/nl-nl.json.js"), "./lang/pt-pt.json": () => import("./lang/pt-pt.json.js"), "./lang/ru-ru.json": () => import("./lang/ru-ru.json.js"), "./lang/th-th.json": () => import("./lang/th-th.json.js"), "./lang/vi-vn.json": () => import("./lang/vi-vn.json.js"), "./lang/zh-cn.json": () => import("./lang/zh-cn.json.js"), "./lang/zh-tw.json": () => import("./lang/zh-tw.json.js") });
15
16
  async function loadLanguageAsync(locale) {
16
17
  const loadedLanguages = Object.keys(i18nGlobal.messages.value);
17
18
  if (i18nGlobal.locale.value === locale || loadedLanguages.includes(locale)) {
@@ -20,14 +21,14 @@ async function loadLanguageAsync(locale) {
20
21
  }
21
22
  try {
22
23
  const localeName = locale.split("-").map((v) => v.toLocaleLowerCase()).join("-");
23
- const modulePath = `./lang/${localeName}.ts`;
24
+ const modulePath = `./lang/${localeName}.json`;
24
25
  if (langModules[modulePath]) {
25
26
  const module = await langModules[modulePath]();
26
27
  i18nGlobal.setLocaleMessage(locale, module.default);
27
28
  i18nGlobal.locale.value = locale;
28
29
  return locale;
29
30
  } else {
30
- throw new Error(`无法找到语言文件: ${localeName}.ts`);
31
+ throw new Error(`无法找到语言文件: ${localeName}.json`);
31
32
  }
32
33
  } catch (error) {
33
34
  console.error(`无法加载语言文件 ${locale}.ts:`, error);