yc-design-vue 1.8.2 → 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 (213) 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 +2 -2
  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/Progress/ProgressCircle.vue.js +1 -1
  16. package/es/Radio/Radio.vue.js +2 -2
  17. package/es/Select/SelectIcon.vue.js +2 -2
  18. package/es/Tabs/TabButton.vue.js +2 -2
  19. package/es/Tag/index.vue.js +2 -2
  20. package/es/Textarea/index.vue.js +2 -2
  21. package/es/TimePicker/TimePicker.vue.js +2 -2
  22. package/es/Transfer/TransferPanel.vue.js +4 -4
  23. package/es/Trigger/index.vue.js +1 -1
  24. package/es/_shared/components/IconButton.vue3.js +2 -2
  25. package/es/_shared/icons/IconDelete.vue.js +17 -1
  26. package/es/_shared/icons/IconDelete.vue2.js +1 -17
  27. package/es/_shared/icons/IconExclamation.vue.js +1 -28
  28. package/es/_shared/icons/IconExclamation.vue2.js +28 -1
  29. package/es/_shared/icons/IconSearch.vue.js +17 -1
  30. package/es/_shared/icons/IconSearch.vue2.js +1 -17
  31. package/es/_shared/locale/i18n.js +6 -5
  32. package/es/_shared/locale/lang/ar-eg.json.js +251 -0
  33. package/es/_shared/locale/lang/de-de.json.d.ts +207 -0
  34. package/es/_shared/locale/lang/de-de.json.js +251 -0
  35. package/es/_shared/locale/lang/en-us.json.d.ts +210 -0
  36. package/es/_shared/locale/lang/en-us.json.js +256 -0
  37. package/es/_shared/locale/lang/es-es.json.d.ts +207 -0
  38. package/es/_shared/locale/lang/es-es.json.js +251 -0
  39. package/es/_shared/locale/lang/fr-fr.json.d.ts +207 -0
  40. package/es/_shared/locale/lang/fr-fr.json.js +251 -0
  41. package/es/_shared/locale/lang/id-id.json.d.ts +207 -0
  42. package/es/_shared/locale/lang/id-id.json.js +251 -0
  43. package/es/_shared/locale/lang/it-it.json.d.ts +207 -0
  44. package/es/_shared/locale/lang/it-it.json.js +251 -0
  45. package/es/_shared/locale/lang/ja-jp.json.d.ts +255 -0
  46. package/es/_shared/locale/lang/ja-jp.json.js +301 -0
  47. package/es/_shared/locale/lang/km-kh.json.d.ts +207 -0
  48. package/es/_shared/locale/lang/km-kh.json.js +251 -0
  49. package/es/_shared/locale/lang/ko-kr.json.d.ts +207 -0
  50. package/es/_shared/locale/lang/ko-kr.json.js +251 -0
  51. package/es/_shared/locale/lang/ms-my.json.d.ts +207 -0
  52. package/es/_shared/locale/lang/ms-my.json.js +251 -0
  53. package/es/_shared/locale/lang/nl-nl.json.d.ts +255 -0
  54. package/es/_shared/locale/lang/nl-nl.json.js +301 -0
  55. package/es/_shared/locale/lang/pt-pt.json.d.ts +207 -0
  56. package/es/_shared/locale/lang/pt-pt.json.js +251 -0
  57. package/es/_shared/locale/lang/ru-ru.json.d.ts +255 -0
  58. package/es/_shared/locale/lang/ru-ru.json.js +301 -0
  59. package/es/_shared/locale/lang/th-th.json.d.ts +207 -0
  60. package/es/_shared/locale/lang/th-th.json.js +251 -0
  61. package/es/_shared/locale/lang/vi-vn.json.d.ts +207 -0
  62. package/es/_shared/locale/lang/vi-vn.json.js +251 -0
  63. package/es/_shared/locale/lang/zh-cn.json.d.ts +255 -0
  64. package/es/_shared/locale/lang/zh-cn.json.js +301 -0
  65. package/es/_shared/locale/lang/zh-tw.json.d.ts +255 -0
  66. package/es/_shared/locale/lang/zh-tw.json.js +301 -0
  67. package/lib/Alert/index.vue.js +1 -1
  68. package/lib/Calendar/Calendar.vue.js +1 -1
  69. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  70. package/lib/Checkbox/Checkbox.vue.js +1 -1
  71. package/lib/Collapse/CollapseItem.vue.js +1 -1
  72. package/lib/Drawer/Drawer.vue.js +1 -1
  73. package/lib/Input/Input.vue.js +1 -1
  74. package/lib/Input/InputSuffix.vue.js +1 -1
  75. package/lib/InputTag/index.vue.js +1 -1
  76. package/lib/Menu/SubMenu.vue.js +1 -1
  77. package/lib/Message/Message.vue.js +1 -1
  78. package/lib/Modal/Modal.vue.js +1 -1
  79. package/lib/Notification/Notification.vue.js +1 -1
  80. package/lib/PageHeader/index.vue.js +1 -1
  81. package/lib/Progress/ProgressCircle.vue.js +1 -1
  82. package/lib/Radio/Radio.vue.js +1 -1
  83. package/lib/Select/SelectIcon.vue.js +1 -1
  84. package/lib/Tabs/TabButton.vue.js +1 -1
  85. package/lib/Tag/index.vue.js +1 -1
  86. package/lib/Textarea/index.vue.js +1 -1
  87. package/lib/TimePicker/TimePicker.vue.js +1 -1
  88. package/lib/Transfer/TransferPanel.vue.js +1 -1
  89. package/lib/Trigger/index.vue.js +1 -1
  90. package/lib/_shared/components/IconButton.vue3.js +1 -1
  91. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  92. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  93. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  94. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  95. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  96. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  97. package/lib/_shared/locale/i18n.js +1 -1
  98. package/lib/_shared/locale/lang/ar-eg.json.js +1 -0
  99. package/lib/_shared/locale/lang/de-de.json.d.ts +207 -0
  100. package/lib/_shared/locale/lang/de-de.json.js +1 -0
  101. package/lib/_shared/locale/lang/en-us.json.d.ts +210 -0
  102. package/lib/_shared/locale/lang/en-us.json.js +1 -0
  103. package/lib/_shared/locale/lang/es-es.json.d.ts +207 -0
  104. package/lib/_shared/locale/lang/es-es.json.js +1 -0
  105. package/lib/_shared/locale/lang/fr-fr.json.d.ts +207 -0
  106. package/lib/_shared/locale/lang/fr-fr.json.js +1 -0
  107. package/lib/_shared/locale/lang/id-id.json.d.ts +207 -0
  108. package/lib/_shared/locale/lang/id-id.json.js +1 -0
  109. package/lib/_shared/locale/lang/it-it.json.d.ts +207 -0
  110. package/lib/_shared/locale/lang/it-it.json.js +1 -0
  111. package/lib/_shared/locale/lang/ja-jp.json.d.ts +255 -0
  112. package/lib/_shared/locale/lang/ja-jp.json.js +1 -0
  113. package/lib/_shared/locale/lang/km-kh.json.d.ts +207 -0
  114. package/lib/_shared/locale/lang/km-kh.json.js +1 -0
  115. package/lib/_shared/locale/lang/ko-kr.json.d.ts +207 -0
  116. package/lib/_shared/locale/lang/ko-kr.json.js +1 -0
  117. package/lib/_shared/locale/lang/ms-my.json.d.ts +207 -0
  118. package/lib/_shared/locale/lang/ms-my.json.js +1 -0
  119. package/lib/_shared/locale/lang/nl-nl.json.d.ts +255 -0
  120. package/lib/_shared/locale/lang/nl-nl.json.js +1 -0
  121. package/lib/_shared/locale/lang/pt-pt.json.d.ts +207 -0
  122. package/lib/_shared/locale/lang/pt-pt.json.js +1 -0
  123. package/lib/_shared/locale/lang/ru-ru.json.d.ts +255 -0
  124. package/lib/_shared/locale/lang/ru-ru.json.js +1 -0
  125. package/lib/_shared/locale/lang/th-th.json.d.ts +207 -0
  126. package/lib/_shared/locale/lang/th-th.json.js +1 -0
  127. package/lib/_shared/locale/lang/vi-vn.json.d.ts +207 -0
  128. package/lib/_shared/locale/lang/vi-vn.json.js +1 -0
  129. package/lib/_shared/locale/lang/zh-cn.json.d.ts +255 -0
  130. package/lib/_shared/locale/lang/zh-cn.json.js +1 -0
  131. package/lib/_shared/locale/lang/zh-tw.json.d.ts +255 -0
  132. package/lib/_shared/locale/lang/zh-tw.json.js +1 -0
  133. package/package.json +1 -1
  134. package/es/_shared/locale/lang/ar-eg.d.ts +0 -205
  135. package/es/_shared/locale/lang/ar-eg.js +0 -153
  136. package/es/_shared/locale/lang/de-de.d.ts +0 -205
  137. package/es/_shared/locale/lang/de-de.js +0 -153
  138. package/es/_shared/locale/lang/en-us.d.ts +0 -253
  139. package/es/_shared/locale/lang/en-us.js +0 -158
  140. package/es/_shared/locale/lang/es-es.d.ts +0 -205
  141. package/es/_shared/locale/lang/es-es.js +0 -153
  142. package/es/_shared/locale/lang/fr-fr.d.ts +0 -205
  143. package/es/_shared/locale/lang/fr-fr.js +0 -153
  144. package/es/_shared/locale/lang/id-id.d.ts +0 -205
  145. package/es/_shared/locale/lang/id-id.js +0 -153
  146. package/es/_shared/locale/lang/it-it.d.ts +0 -205
  147. package/es/_shared/locale/lang/it-it.js +0 -153
  148. package/es/_shared/locale/lang/ja-jp.d.ts +0 -253
  149. package/es/_shared/locale/lang/ja-jp.js +0 -201
  150. package/es/_shared/locale/lang/km-kh.d.ts +0 -205
  151. package/es/_shared/locale/lang/km-kh.js +0 -153
  152. package/es/_shared/locale/lang/ko-kr.d.ts +0 -205
  153. package/es/_shared/locale/lang/ko-kr.js +0 -153
  154. package/es/_shared/locale/lang/ms-my.d.ts +0 -205
  155. package/es/_shared/locale/lang/ms-my.js +0 -153
  156. package/es/_shared/locale/lang/nl-nl.d.ts +0 -253
  157. package/es/_shared/locale/lang/nl-nl.js +0 -201
  158. package/es/_shared/locale/lang/pt-pt.d.ts +0 -205
  159. package/es/_shared/locale/lang/pt-pt.js +0 -153
  160. package/es/_shared/locale/lang/ru-ru.d.ts +0 -253
  161. package/es/_shared/locale/lang/ru-ru.js +0 -201
  162. package/es/_shared/locale/lang/th-th.d.ts +0 -205
  163. package/es/_shared/locale/lang/th-th.js +0 -153
  164. package/es/_shared/locale/lang/vi-vn.d.ts +0 -205
  165. package/es/_shared/locale/lang/vi-vn.js +0 -153
  166. package/es/_shared/locale/lang/zh-cn.js +0 -201
  167. package/es/_shared/locale/lang/zh-tw.d.ts +0 -253
  168. package/es/_shared/locale/lang/zh-tw.js +0 -201
  169. package/es/node_modules/b-validate/es/is.js +0 -27
  170. package/es/node_modules/b-validate/es/locale/en-US.js +0 -50
  171. package/es/node_modules/b-validate/es/rules/base.js +0 -86
  172. package/es/node_modules/b-validate/es/util.js +0 -25
  173. package/lib/_shared/locale/lang/ar-eg.d.ts +0 -205
  174. package/lib/_shared/locale/lang/ar-eg.js +0 -1
  175. package/lib/_shared/locale/lang/de-de.d.ts +0 -205
  176. package/lib/_shared/locale/lang/de-de.js +0 -1
  177. package/lib/_shared/locale/lang/en-us.d.ts +0 -253
  178. package/lib/_shared/locale/lang/en-us.js +0 -1
  179. package/lib/_shared/locale/lang/es-es.d.ts +0 -205
  180. package/lib/_shared/locale/lang/es-es.js +0 -1
  181. package/lib/_shared/locale/lang/fr-fr.d.ts +0 -205
  182. package/lib/_shared/locale/lang/fr-fr.js +0 -1
  183. package/lib/_shared/locale/lang/id-id.d.ts +0 -205
  184. package/lib/_shared/locale/lang/id-id.js +0 -1
  185. package/lib/_shared/locale/lang/it-it.d.ts +0 -205
  186. package/lib/_shared/locale/lang/it-it.js +0 -1
  187. package/lib/_shared/locale/lang/ja-jp.d.ts +0 -253
  188. package/lib/_shared/locale/lang/ja-jp.js +0 -1
  189. package/lib/_shared/locale/lang/km-kh.d.ts +0 -205
  190. package/lib/_shared/locale/lang/km-kh.js +0 -1
  191. package/lib/_shared/locale/lang/ko-kr.d.ts +0 -205
  192. package/lib/_shared/locale/lang/ko-kr.js +0 -1
  193. package/lib/_shared/locale/lang/ms-my.d.ts +0 -205
  194. package/lib/_shared/locale/lang/ms-my.js +0 -1
  195. package/lib/_shared/locale/lang/nl-nl.d.ts +0 -253
  196. package/lib/_shared/locale/lang/nl-nl.js +0 -1
  197. package/lib/_shared/locale/lang/pt-pt.d.ts +0 -205
  198. package/lib/_shared/locale/lang/pt-pt.js +0 -1
  199. package/lib/_shared/locale/lang/ru-ru.d.ts +0 -253
  200. package/lib/_shared/locale/lang/ru-ru.js +0 -1
  201. package/lib/_shared/locale/lang/th-th.d.ts +0 -205
  202. package/lib/_shared/locale/lang/th-th.js +0 -1
  203. package/lib/_shared/locale/lang/vi-vn.d.ts +0 -205
  204. package/lib/_shared/locale/lang/vi-vn.js +0 -1
  205. package/lib/_shared/locale/lang/zh-cn.js +0 -1
  206. package/lib/_shared/locale/lang/zh-tw.d.ts +0 -253
  207. package/lib/_shared/locale/lang/zh-tw.js +0 -1
  208. package/lib/node_modules/b-validate/es/is.js +0 -1
  209. package/lib/node_modules/b-validate/es/locale/en-US.js +0 -1
  210. package/lib/node_modules/b-validate/es/rules/base.js +0 -1
  211. package/lib/node_modules/b-validate/es/util.js +0 -1
  212. /package/es/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +0 -0
  213. /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 */
@@ -6,8 +6,8 @@ import "../Empty/index.js";
6
6
  /* empty css */
7
7
  import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
8
8
  import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
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
  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,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/IconCheck.vue.js";
9
- import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
9
+ import _sfc_main$2 from "../_shared/icons/IconExclamation.vue2.js";
10
10
  import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
11
11
  const _hoisted_1 = ["aria-valuenow"];
12
12
  const _hoisted_2 = ["viewBox"];
@@ -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";
@@ -5,14 +5,14 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  /* empty css */
7
7
  import _sfc_main$4 from "../_shared/icons/IconClose.vue.js";
8
- import _sfc_main$2 from "../_shared/icons/IconDelete.vue2.js";
9
- import _sfc_main$3 from "../_shared/icons/IconSearch.vue2.js";
8
+ import _sfc_main$2 from "../_shared/icons/IconDelete.vue.js";
9
+ import _sfc_main$3 from "../_shared/icons/IconSearch.vue.js";
10
10
  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({
@@ -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,4 +1,20 @@
1
- import _sfc_main from "./IconDelete.vue2.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: "IconDelete",
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: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, 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: "IconDelete",
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: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
11
- ])),
12
- _: 1,
13
- __: [0]
14
- }, 16);
15
- };
16
- }
17
- });
1
+ import _sfc_main from "./IconDelete.vue.js";
18
2
  export {
19
3
  _sfc_main as default
20
4
  };
@@ -1,31 +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: "IconExclamation",
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: "M23 9h2v21h-2z" }, null, -1),
11
- createElementVNode("path", {
12
- fill: "currentColor",
13
- stroke: "none",
14
- d: "M23 9h2v21h-2z"
15
- }, null, -1),
16
- createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
17
- createElementVNode("path", {
18
- fill: "currentColor",
19
- stroke: "none",
20
- d: "M23 37h2v2h-2z"
21
- }, null, -1)
22
- ])),
23
- _: 1,
24
- __: [0]
25
- }, 16);
26
- };
27
- }
28
- });
1
+ import _sfc_main from "./IconExclamation.vue2.js";
29
2
  export {
30
3
  _sfc_main as default
31
4
  };
@@ -1,4 +1,31 @@
1
- import _sfc_main from "./IconExclamation.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: "IconExclamation",
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: "M23 9h2v21h-2z" }, null, -1),
11
+ createElementVNode("path", {
12
+ fill: "currentColor",
13
+ stroke: "none",
14
+ d: "M23 9h2v21h-2z"
15
+ }, null, -1),
16
+ createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
17
+ createElementVNode("path", {
18
+ fill: "currentColor",
19
+ stroke: "none",
20
+ d: "M23 37h2v2h-2z"
21
+ }, null, -1)
22
+ ])),
23
+ _: 1,
24
+ __: [0]
25
+ }, 16);
26
+ };
27
+ }
28
+ });
2
29
  export {
3
30
  _sfc_main as default
4
31
  };
@@ -1,4 +1,20 @@
1
- import _sfc_main from "./IconSearch.vue2.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: "IconSearch",
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: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, 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: "IconSearch",
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: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
11
- ])),
12
- _: 1,
13
- __: [0]
14
- }, 16);
15
- };
16
- }
17
- });
1
+ import _sfc_main from "./IconSearch.vue.js";
18
2
  export {
19
3
  _sfc_main as default
20
4
  };
@@ -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);