yc-design-vue 1.9.0 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Alert/index.vue.js +1 -1
- package/es/Calendar/Calendar.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +1 -1
- package/es/Checkbox/Checkbox.vue.js +1 -1
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Drawer/Drawer.vue.js +1 -1
- package/es/Input/Input.vue.js +1 -1
- package/es/Input/InputSuffix.vue.js +1 -1
- package/es/InputTag/index.vue.js +1 -1
- package/es/Menu/SubMenu.vue.js +2 -2
- package/es/Message/Message.vue.js +1 -1
- package/es/Modal/Modal.vue.js +1 -1
- package/es/Notification/Notification.vue.js +1 -1
- package/es/PageHeader/index.vue.js +1 -1
- package/es/Radio/Radio.vue.js +1 -1
- package/es/Select/SelectIcon.vue.js +1 -1
- package/es/Tabs/TabButton.vue.js +1 -1
- package/es/Tag/index.vue.js +1 -1
- package/es/Textarea/index.vue.js +1 -1
- package/es/TimePicker/TimePicker.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +1 -1
- package/es/Trigger/index.vue.js +1 -1
- package/es/_shared/components/ExpandTransition.vue3.js +2 -2
- package/es/_shared/utils/locale.d.ts +1 -13
- package/es/_shared/utils/locale.js +1 -1
- package/es/lang-es/ar-eg.js +154 -0
- package/es/lang-es/de-de.js +154 -0
- package/es/lang-es/en-us.js +158 -0
- package/es/lang-es/es-es.js +154 -0
- package/es/lang-es/fr-fr.js +154 -0
- package/es/lang-es/id-id.js +154 -0
- package/es/lang-es/it-it.js +154 -0
- package/es/lang-es/ja-jp.js +202 -0
- package/es/lang-es/km-kh.js +154 -0
- package/es/lang-es/ko-kr.js +154 -0
- package/es/lang-es/ms-my.js +154 -0
- package/es/lang-es/nl-nl.js +202 -0
- package/es/lang-es/pt-pt.js +154 -0
- package/es/lang-es/ru-ru.js +202 -0
- package/es/lang-es/th-th.js +154 -0
- package/es/lang-es/vi-vn.js +154 -0
- package/es/lang-es/zh-tw.js +202 -0
- package/es/lang-lib/ar-eg.js +1 -0
- package/es/lang-lib/de-de.js +1 -0
- package/es/lang-lib/en-us.js +1 -0
- package/es/lang-lib/es-es.js +1 -0
- package/es/lang-lib/fr-fr.js +1 -0
- package/es/lang-lib/id-id.js +1 -0
- package/es/lang-lib/it-it.js +1 -0
- package/es/lang-lib/ja-jp.js +1 -0
- package/es/lang-lib/km-kh.js +1 -0
- package/es/lang-lib/ko-kr.js +1 -0
- package/es/lang-lib/ms-my.js +1 -0
- package/es/lang-lib/nl-nl.js +1 -0
- package/es/lang-lib/pt-pt.js +1 -0
- package/es/lang-lib/ru-ru.js +1 -0
- package/es/lang-lib/th-th.js +1 -0
- package/es/lang-lib/vi-vn.js +1 -0
- package/es/lang-lib/zh-tw.js +1 -0
- package/es/public/lang-es/zh-cn.js +202 -0
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/utils/locale.d.ts +1 -13
- package/lib/_shared/utils/locale.js +1 -1
- package/lib/lang-es/ar-eg.d.ts +206 -0
- package/lib/lang-es/ar-eg.js +154 -0
- package/lib/lang-es/de-de.d.ts +206 -0
- package/lib/lang-es/de-de.js +154 -0
- package/lib/lang-es/en-us.d.ts +254 -0
- package/lib/lang-es/en-us.js +158 -0
- package/lib/lang-es/es-es.d.ts +206 -0
- package/lib/lang-es/es-es.js +154 -0
- package/lib/lang-es/fr-fr.d.ts +206 -0
- package/lib/lang-es/fr-fr.js +154 -0
- package/lib/lang-es/id-id.d.ts +206 -0
- package/lib/lang-es/id-id.js +154 -0
- package/lib/lang-es/it-it.d.ts +206 -0
- package/lib/lang-es/it-it.js +154 -0
- package/lib/lang-es/ja-jp.d.ts +254 -0
- package/lib/lang-es/ja-jp.js +202 -0
- package/lib/lang-es/km-kh.d.ts +206 -0
- package/lib/lang-es/km-kh.js +154 -0
- package/lib/lang-es/ko-kr.d.ts +206 -0
- package/lib/lang-es/ko-kr.js +154 -0
- package/lib/lang-es/ms-my.d.ts +206 -0
- package/lib/lang-es/ms-my.js +154 -0
- package/lib/lang-es/nl-nl.d.ts +254 -0
- package/lib/lang-es/nl-nl.js +202 -0
- package/lib/lang-es/pt-pt.d.ts +206 -0
- package/lib/lang-es/pt-pt.js +154 -0
- package/lib/lang-es/ru-ru.d.ts +254 -0
- package/lib/lang-es/ru-ru.js +202 -0
- package/lib/lang-es/th-th.d.ts +206 -0
- package/lib/lang-es/th-th.js +154 -0
- package/lib/lang-es/vi-vn.d.ts +206 -0
- package/lib/lang-es/vi-vn.js +154 -0
- package/lib/lang-es/zh-cn.d.ts +254 -0
- package/lib/lang-es/zh-cn.js +202 -0
- package/lib/lang-es/zh-tw.d.ts +254 -0
- package/lib/lang-es/zh-tw.js +202 -0
- package/lib/lang-lib/ar-eg.d.ts +206 -0
- package/lib/lang-lib/ar-eg.js +1 -0
- package/lib/lang-lib/de-de.d.ts +206 -0
- package/lib/lang-lib/de-de.js +1 -0
- package/lib/lang-lib/en-us.d.ts +254 -0
- package/lib/lang-lib/en-us.js +1 -0
- package/lib/lang-lib/es-es.d.ts +206 -0
- package/lib/lang-lib/es-es.js +1 -0
- package/lib/lang-lib/fr-fr.d.ts +206 -0
- package/lib/lang-lib/fr-fr.js +1 -0
- package/lib/lang-lib/id-id.d.ts +206 -0
- package/lib/lang-lib/id-id.js +1 -0
- package/lib/lang-lib/it-it.d.ts +206 -0
- package/lib/lang-lib/it-it.js +1 -0
- package/lib/lang-lib/ja-jp.d.ts +254 -0
- package/lib/lang-lib/ja-jp.js +1 -0
- package/lib/lang-lib/km-kh.d.ts +206 -0
- package/lib/lang-lib/km-kh.js +1 -0
- package/lib/lang-lib/ko-kr.d.ts +206 -0
- package/lib/lang-lib/ko-kr.js +1 -0
- package/lib/lang-lib/ms-my.d.ts +206 -0
- package/lib/lang-lib/ms-my.js +1 -0
- package/lib/lang-lib/nl-nl.d.ts +254 -0
- package/lib/lang-lib/nl-nl.js +1 -0
- package/lib/lang-lib/pt-pt.d.ts +206 -0
- package/lib/lang-lib/pt-pt.js +1 -0
- package/lib/lang-lib/ru-ru.d.ts +254 -0
- package/lib/lang-lib/ru-ru.js +1 -0
- package/lib/lang-lib/th-th.d.ts +206 -0
- package/lib/lang-lib/th-th.js +1 -0
- package/lib/lang-lib/vi-vn.d.ts +206 -0
- package/lib/lang-lib/vi-vn.js +1 -0
- package/lib/lang-lib/zh-cn.d.ts +254 -0
- package/lib/lang-lib/zh-cn.js +1 -0
- package/lib/lang-lib/zh-tw.d.ts +254 -0
- package/lib/lang-lib/zh-tw.js +1 -0
- package/lib/public/lang-es/zh-cn.js +1 -0
- package/package.json +6 -6
- package/es/_shared/lang/interface.d.ts +0 -151
- package/lib/_shared/lang/interface.d.ts +0 -151
- /package/es/_shared/components/{ExpandTransition.vue.js → ExpandTransition.vue2.js} +0 -0
- /package/es/{_shared/lang → lang-es}/ar-eg.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/de-de.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/en-us.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/es-es.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/fr-fr.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/id-id.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/it-it.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/ja-jp.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/km-kh.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/ko-kr.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/ms-my.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/nl-nl.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/pt-pt.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/ru-ru.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/th-th.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/vi-vn.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/zh-cn.d.ts +0 -0
- /package/es/{_shared/lang → lang-es}/zh-cn.js +0 -0
- /package/es/{_shared/lang → lang-es}/zh-tw.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/ar-eg.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/de-de.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/en-us.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/es-es.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/fr-fr.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/id-id.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/it-it.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/ja-jp.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/km-kh.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/ko-kr.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/ms-my.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/nl-nl.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/pt-pt.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/ru-ru.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/th-th.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/vi-vn.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/zh-cn.d.ts +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/zh-cn.js +0 -0
- /package/{lib/_shared/lang → es/lang-lib}/zh-tw.d.ts +0 -0
- /package/lib/_shared/components/{ExpandTransition.vue.js → ExpandTransition.vue2.js} +0 -0
package/es/Alert/index.vue.js
CHANGED
@@ -10,7 +10,7 @@ import { useI18n } from "../_shared/utils/locale.js";
|
|
10
10
|
import useControlValue from "../_shared/utils/control.js";
|
11
11
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
12
12
|
/* empty css */
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
import Button from "../Button/index.js";
|
15
15
|
import "../Radio/index.js";
|
16
16
|
import _sfc_main$4 from "./CalendarMonth.vue.js";
|
@@ -9,7 +9,7 @@ import "../_shared/utils/locale.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
import Spin from "../Spin/index.js";
|
14
14
|
const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
|
15
15
|
const _hoisted_2 = {
|
@@ -11,7 +11,7 @@ import useControlValue from "../_shared/utils/control.js";
|
|
11
11
|
import useContext from "./hooks/useContext.js";
|
12
12
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
13
13
|
/* empty css */
|
14
|
-
/* empty css
|
14
|
+
/* empty css */
|
15
15
|
const _hoisted_1 = ["value", "disabled", "checked"];
|
16
16
|
const _hoisted_2 = { class: "yc-checkbox-icon" };
|
17
17
|
const _hoisted_3 = {
|
@@ -9,8 +9,8 @@ import "../_shared/utils/locale.js";
|
|
9
9
|
import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
import _sfc_main$3 from "../_shared/components/ExpandTransition.
|
13
|
-
/* empty css
|
12
|
+
import _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
|
13
|
+
/* empty css */
|
14
14
|
const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
|
15
15
|
const _hoisted_2 = {
|
16
16
|
key: 1,
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -8,7 +8,7 @@ import useModalClose from "../Modal/hooks/useModalClose.js";
|
|
8
8
|
import Button from "../Button/index.js";
|
9
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
10
10
|
/* empty css */
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
const _hoisted_1 = {
|
14
14
|
key: 0,
|
package/es/Input/Input.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useLimitedInput from "./hooks/useLimitedInput.js";
|
|
9
9
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$3 from "./InputSuffix.vue.js";
|
15
15
|
/* empty css */
|
@@ -10,7 +10,7 @@ import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
|
|
10
10
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
16
16
|
class: "yc-input-word-limit"
|
package/es/InputTag/index.vue.js
CHANGED
@@ -12,7 +12,7 @@ import Tag from "../Tag/index.js";
|
|
12
12
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
15
|
-
/* empty css
|
15
|
+
/* empty css */
|
16
16
|
/* empty css */
|
17
17
|
const _hoisted_1 = ["disabled", "readonly", "placeholder"];
|
18
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -8,8 +8,8 @@ import "../Empty/index.js";
|
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
|
-
import _sfc_main$3 from "../_shared/components/ExpandTransition.
|
12
|
-
/* empty css
|
11
|
+
import _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
|
12
|
+
/* empty css */
|
13
13
|
import "./index.js";
|
14
14
|
import _sfc_main$1 from "./MenuItem.vue.js";
|
15
15
|
/* empty css */
|
@@ -9,7 +9,7 @@ import "../_shared/utils/locale.js";
|
|
9
9
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useModalDraggable from "./hooks/useModalDraggable.js";
|
|
9
9
|
import Button from "../Button/index.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
@@ -10,7 +10,7 @@ import "../Empty/index.js";
|
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
12
12
|
/* empty css */
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
15
15
|
const _hoisted_1 = { class: "yc-notification-left" };
|
16
16
|
const _hoisted_2 = {
|
@@ -9,7 +9,7 @@ import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
|
9
9
|
import Divider from "../Divider/index.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
const _hoisted_1 = { class: "yc-page-header" };
|
14
14
|
const _hoisted_2 = { class: "yc-page-header-wrapper" };
|
15
15
|
const _hoisted_3 = {
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useControlValue from "../_shared/utils/control.js";
|
|
9
9
|
import useContext from "./hooks/useContext.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
const _hoisted_1 = ["value", "checked", "disabled"];
|
14
14
|
const _hoisted_2 = {
|
15
15
|
key: 0,
|
@@ -9,7 +9,7 @@ import "../_shared/utils/locale.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
import Spin from "../Spin/index.js";
|
14
14
|
const _hoisted_1 = { class: "yc-select-suffix-icon" };
|
15
15
|
const _hoisted_2 = {
|
package/es/Tabs/TabButton.vue.js
CHANGED
package/es/Tag/index.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useControlValue from "../_shared/utils/control.js";
|
|
9
9
|
import Spin from "../Spin/index.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
package/es/Textarea/index.vue.js
CHANGED
@@ -10,7 +10,7 @@ import "../_shared/utils/time.js";
|
|
10
10
|
import "../Empty/index.js";
|
11
11
|
/* empty css */
|
12
12
|
import "../_shared/utils/locale.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
15
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
16
16
|
...{
|
@@ -8,7 +8,7 @@ import "../_shared/utils/locale.js";
|
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
10
10
|
/* empty css */
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
14
14
|
import Trigger from "../Trigger/index.js";
|
@@ -14,7 +14,7 @@ import Scrollbar from "../Scrollbar/index.js";
|
|
14
14
|
import Input from "../Input/index.js";
|
15
15
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
16
16
|
/* empty css */
|
17
|
-
/* empty css
|
17
|
+
/* empty css */
|
18
18
|
const _hoisted_1 = { class: "yc-transfer-view" };
|
19
19
|
const _hoisted_2 = { class: "yc-transfer-view-header" };
|
20
20
|
const _hoisted_3 = { class: "yc-transfer-view-header-title" };
|
package/es/Trigger/index.vue.js
CHANGED
@@ -10,7 +10,7 @@ import useTriggerPosition from "./hooks/useTriggerPosition.js";
|
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
15
|
...{
|
16
16
|
name: "Trigger",
|
@@ -1,20 +1,8 @@
|
|
1
|
-
/**
|
2
|
-
* 添加地区语言包。添加过后的语言包可以通过 `useLocale` 使用
|
3
|
-
* @param messages 需要添加的地区语言数据
|
4
|
-
* @param options
|
5
|
-
*/
|
6
1
|
export declare const addI18nMessages: (messages: Record<string, any>, options?: {
|
7
2
|
overwrite?: boolean;
|
8
3
|
}) => void;
|
9
|
-
/**
|
10
|
-
* 切换地区语言。仅在未提供ConfigProvider时生效。
|
11
|
-
* @param locale
|
12
|
-
*/
|
13
|
-
export declare const useLocale: (locale: string) => void;
|
14
|
-
/**
|
15
|
-
* 获取当前的地区语言
|
16
|
-
*/
|
17
4
|
export declare const getLocale: () => string;
|
5
|
+
export declare const useLocale: (locale: string) => void;
|
18
6
|
export declare const useI18n: () => {
|
19
7
|
i18nMessage: import('vue').ComputedRef<Record<string, any>>;
|
20
8
|
locale: import('vue').ComputedRef<any>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { computed, reactive, ref } from "vue";
|
2
2
|
import { isString } from "./is.js";
|
3
3
|
import { getGlobalConfig } from "./global-config.js";
|
4
|
-
import lang from "
|
4
|
+
import lang from "../../public/lang-es/zh-cn.js";
|
5
5
|
const LOCALE = ref("zh-CN");
|
6
6
|
const I18N_MESSAGES = reactive({
|
7
7
|
"zh-CN": lang
|
@@ -0,0 +1,154 @@
|
|
1
|
+
const calendarLang = {
|
2
|
+
formatYear: "YYYY",
|
3
|
+
formatMonth: "MMMM YYYY",
|
4
|
+
today: "اليوم",
|
5
|
+
view: {
|
6
|
+
month: "شهر",
|
7
|
+
year: "عام",
|
8
|
+
week: "أسبوع",
|
9
|
+
day: "يوم"
|
10
|
+
},
|
11
|
+
month: {
|
12
|
+
long: {
|
13
|
+
January: "ديسمبر",
|
14
|
+
February: "نوفمبر",
|
15
|
+
March: "أكتوبر",
|
16
|
+
April: "سبتمبر",
|
17
|
+
May: " أغسطس",
|
18
|
+
June: "يوليه",
|
19
|
+
July: "يونيو",
|
20
|
+
August: "مايو",
|
21
|
+
September: "أبريل",
|
22
|
+
October: "مارس",
|
23
|
+
November: "فبراير",
|
24
|
+
December: "يناير"
|
25
|
+
},
|
26
|
+
short: {
|
27
|
+
January: "ديسمبر",
|
28
|
+
February: "نوفمبر",
|
29
|
+
March: "أكتوبر",
|
30
|
+
April: "سبتمبر",
|
31
|
+
May: " أغسطس",
|
32
|
+
June: "يوليه",
|
33
|
+
July: "يونيو",
|
34
|
+
August: "مايو",
|
35
|
+
September: "أبريل",
|
36
|
+
October: "مارس",
|
37
|
+
November: "فبراير",
|
38
|
+
December: "يناير"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
week: {
|
42
|
+
long: {
|
43
|
+
self: "أسبوع",
|
44
|
+
monday: "الجمعة",
|
45
|
+
tuesday: "الخميس",
|
46
|
+
wednesday: "الأربعاء",
|
47
|
+
thursday: "الثلاثاء",
|
48
|
+
friday: "الإثنين",
|
49
|
+
saturday: "السبت",
|
50
|
+
sunday: "الأحد"
|
51
|
+
},
|
52
|
+
short: {
|
53
|
+
self: "أسبوع",
|
54
|
+
monday: "الجمعة",
|
55
|
+
tuesday: "الخميس",
|
56
|
+
wednesday: "الأربعاء",
|
57
|
+
thursday: "الثلاثاء",
|
58
|
+
friday: "الإثنين",
|
59
|
+
saturday: "السبت",
|
60
|
+
sunday: "الأحد"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
};
|
64
|
+
const lang = {
|
65
|
+
locale: "ar-EG",
|
66
|
+
empty: {
|
67
|
+
description: "لايوجد بيانات"
|
68
|
+
},
|
69
|
+
drawer: {
|
70
|
+
okText: "موافق",
|
71
|
+
cancelText: "إلغاء"
|
72
|
+
},
|
73
|
+
popconfirm: {
|
74
|
+
okText: "موافق",
|
75
|
+
cancelText: "إلغاء"
|
76
|
+
},
|
77
|
+
modal: {
|
78
|
+
okText: "موافق",
|
79
|
+
cancelText: "إلغاء"
|
80
|
+
},
|
81
|
+
pagination: {
|
82
|
+
goto: "اذهب إلى",
|
83
|
+
page: "الصفحة",
|
84
|
+
countPerPage: "عنصر / صفحة",
|
85
|
+
total: "{0} الإجمالي"
|
86
|
+
},
|
87
|
+
table: {
|
88
|
+
okText: "موافق",
|
89
|
+
resetText: "إعادة تعيين"
|
90
|
+
},
|
91
|
+
upload: {
|
92
|
+
start: "بداية",
|
93
|
+
cancel: "يلغي",
|
94
|
+
delete: "حذف",
|
95
|
+
retry: "انقر للمحاول مجددا",
|
96
|
+
buttonText: "انقر للتحميل",
|
97
|
+
preview: "معاينة",
|
98
|
+
drag: "انقر أو اسحب الملف إلى هذه المنطقة للتحميل",
|
99
|
+
dragHover: "حرر الملف وابدأ في التحميل",
|
100
|
+
error: "التحميل فشل"
|
101
|
+
},
|
102
|
+
calendar: calendarLang,
|
103
|
+
datePicker: {
|
104
|
+
view: calendarLang.view,
|
105
|
+
month: calendarLang.month,
|
106
|
+
week: calendarLang.week,
|
107
|
+
placeholder: {
|
108
|
+
date: "الرجاء تحديد تاريخ",
|
109
|
+
week: "الرجاء تحديد أسبوع",
|
110
|
+
month: "الرجاء تحديد شهر",
|
111
|
+
year: "الرجاء تحديد عام",
|
112
|
+
quarter: "الرجاء تحديد ربع",
|
113
|
+
time: "فترة الاختيار"
|
114
|
+
},
|
115
|
+
rangePlaceholder: {
|
116
|
+
date: ["تاريخ البدء", "تاريخ الانتهاء"],
|
117
|
+
week: ["أسبوع البدء", "نهاية الأسبوع"],
|
118
|
+
month: ["شهر البدء", "نهاية الشهر"],
|
119
|
+
year: ["سنة البدء", "نهاية عام"],
|
120
|
+
quarter: ["بداية ربع السنة", "نهاية الربع"],
|
121
|
+
time: ["وقت البدء", "وقت النهاية"]
|
122
|
+
},
|
123
|
+
selectTime: "فترة الاختيار",
|
124
|
+
today: "اليوم",
|
125
|
+
now: "الآن",
|
126
|
+
ok: "موافق"
|
127
|
+
},
|
128
|
+
image: {
|
129
|
+
loading: "loading"
|
130
|
+
},
|
131
|
+
imagePreview: {
|
132
|
+
fullScreen: "كامل الشاشة",
|
133
|
+
rotateRight: "استدارة لليمين",
|
134
|
+
rotateLeft: "استدر يسارا",
|
135
|
+
zoomIn: "تكبير",
|
136
|
+
zoomOut: "تصغير",
|
137
|
+
originalSize: "الحجم الأصلي"
|
138
|
+
},
|
139
|
+
typography: {
|
140
|
+
copy: "ينسخ",
|
141
|
+
copied: "نسخ",
|
142
|
+
edit: "تعديل",
|
143
|
+
collapse: "يطوى",
|
144
|
+
expand: "وسعت"
|
145
|
+
},
|
146
|
+
colorPicker: {
|
147
|
+
history: "ألوان تاريخية",
|
148
|
+
preset: "ألوان النظام المضبوطة مسبقاً",
|
149
|
+
empty: "غير متوفرة"
|
150
|
+
}
|
151
|
+
};
|
152
|
+
export {
|
153
|
+
lang as default
|
154
|
+
};
|
@@ -0,0 +1,154 @@
|
|
1
|
+
const calendarLang = {
|
2
|
+
formatYear: "YYYY",
|
3
|
+
formatMonth: "MMM YYYY",
|
4
|
+
today: "Heute",
|
5
|
+
view: {
|
6
|
+
month: "Monat",
|
7
|
+
year: "Jahr",
|
8
|
+
week: "Woche",
|
9
|
+
day: "Tag"
|
10
|
+
},
|
11
|
+
month: {
|
12
|
+
long: {
|
13
|
+
January: "Januar",
|
14
|
+
February: "Februar",
|
15
|
+
March: "März",
|
16
|
+
April: "April",
|
17
|
+
May: "Mai",
|
18
|
+
June: "Juni",
|
19
|
+
July: "Juli",
|
20
|
+
August: "August",
|
21
|
+
September: "September",
|
22
|
+
October: "Oktober",
|
23
|
+
November: "November",
|
24
|
+
December: "Dezember"
|
25
|
+
},
|
26
|
+
short: {
|
27
|
+
January: "Jan",
|
28
|
+
February: "Feb",
|
29
|
+
March: "Mär",
|
30
|
+
April: "Apr",
|
31
|
+
May: "Mai",
|
32
|
+
June: "Jun",
|
33
|
+
July: "Jul",
|
34
|
+
August: "Aug",
|
35
|
+
September: "Sep",
|
36
|
+
October: "Okt",
|
37
|
+
November: "Nov",
|
38
|
+
December: "Dez"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
week: {
|
42
|
+
long: {
|
43
|
+
self: "Woche",
|
44
|
+
monday: "Montag",
|
45
|
+
tuesday: "Dienstag",
|
46
|
+
wednesday: "Mittwoch",
|
47
|
+
thursday: "Donnerstag",
|
48
|
+
friday: "Freitag",
|
49
|
+
saturday: "Samstag",
|
50
|
+
sunday: "Sonntag"
|
51
|
+
},
|
52
|
+
short: {
|
53
|
+
self: "Woche",
|
54
|
+
monday: "Mo.",
|
55
|
+
tuesday: "Di.",
|
56
|
+
wednesday: "Mi.",
|
57
|
+
thursday: "Do.",
|
58
|
+
friday: "Fr.",
|
59
|
+
saturday: "Sa.",
|
60
|
+
sunday: "So."
|
61
|
+
}
|
62
|
+
}
|
63
|
+
};
|
64
|
+
const lang = {
|
65
|
+
locale: "de-DE",
|
66
|
+
empty: {
|
67
|
+
description: "Keine Daten"
|
68
|
+
},
|
69
|
+
drawer: {
|
70
|
+
okText: "OK",
|
71
|
+
cancelText: "Abbrechen"
|
72
|
+
},
|
73
|
+
popconfirm: {
|
74
|
+
okText: "OK",
|
75
|
+
cancelText: "Abbrechen"
|
76
|
+
},
|
77
|
+
modal: {
|
78
|
+
okText: "OK",
|
79
|
+
cancelText: "Abbrechen"
|
80
|
+
},
|
81
|
+
pagination: {
|
82
|
+
goto: "Gehe zu",
|
83
|
+
page: "",
|
84
|
+
countPerPage: "/ Seite",
|
85
|
+
total: "Gesamt {0}"
|
86
|
+
},
|
87
|
+
table: {
|
88
|
+
okText: "OK",
|
89
|
+
resetText: "Zurücksetzen"
|
90
|
+
},
|
91
|
+
upload: {
|
92
|
+
start: "Anfang",
|
93
|
+
cancel: "Abbrechen",
|
94
|
+
delete: "löschen",
|
95
|
+
retry: "Klicken Sie hier, um es erneut zu versuchen",
|
96
|
+
buttonText: "Zum Hochladen klicken",
|
97
|
+
preview: "Vorschau",
|
98
|
+
drag: "Klicken oder ziehen Sie Dateien, um sie hier hochzuladen",
|
99
|
+
dragHover: "Geben Sie die Datei frei und starten Sie den Upload",
|
100
|
+
error: "Upload fehlgeschlagen"
|
101
|
+
},
|
102
|
+
calendar: calendarLang,
|
103
|
+
datePicker: {
|
104
|
+
view: calendarLang.view,
|
105
|
+
month: calendarLang.month,
|
106
|
+
week: calendarLang.week,
|
107
|
+
placeholder: {
|
108
|
+
date: "Bitte wählen Sie ein Datum",
|
109
|
+
week: "Bitte wählen Sie eine Woche",
|
110
|
+
month: "Bitte wählen Sie einen Monat",
|
111
|
+
year: "Bitte wählen Sie ein Jahr aus",
|
112
|
+
quarter: "Bitte wählen Sie ein Quartal",
|
113
|
+
time: "Zeit auswählen"
|
114
|
+
},
|
115
|
+
rangePlaceholder: {
|
116
|
+
date: ["Startdatum", "Endtermin"],
|
117
|
+
week: ["Woche starten", "Ende der Woche"],
|
118
|
+
month: ["Startmonat", "Ende Monat"],
|
119
|
+
year: ["Startjahr", "Ende Jahr"],
|
120
|
+
quarter: ["Anfangsquartal", "Ende des Quartals"],
|
121
|
+
time: ["Startzeit", "Endzeit"]
|
122
|
+
},
|
123
|
+
selectTime: "Zeit auswählen",
|
124
|
+
today: "Heute",
|
125
|
+
now: "Jetzt",
|
126
|
+
ok: "OK"
|
127
|
+
},
|
128
|
+
image: {
|
129
|
+
loading: "Wird geladen"
|
130
|
+
},
|
131
|
+
imagePreview: {
|
132
|
+
fullScreen: "Vollbild",
|
133
|
+
rotateRight: "Nach rechts drehen",
|
134
|
+
rotateLeft: "Nach links drehen",
|
135
|
+
zoomIn: "Vergrößern",
|
136
|
+
zoomOut: "Rauszoomen",
|
137
|
+
originalSize: "Originalgröße"
|
138
|
+
},
|
139
|
+
typography: {
|
140
|
+
copy: "Kopieren",
|
141
|
+
copied: "Kopiert",
|
142
|
+
edit: "Bearbeiten",
|
143
|
+
collapse: "Falten",
|
144
|
+
expand: "Erweitern"
|
145
|
+
},
|
146
|
+
colorPicker: {
|
147
|
+
history: "Historische Farben",
|
148
|
+
preset: "Standardfarbe des Systems",
|
149
|
+
empty: "Noch keine"
|
150
|
+
}
|
151
|
+
};
|
152
|
+
export {
|
153
|
+
lang as default
|
154
|
+
};
|