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.
- package/es/Alert/index.vue.js +2 -2
- package/es/Calendar/Calendar.vue.js +2 -2
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Drawer/Drawer.vue.js +2 -2
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +4 -4
- package/es/InputTag/index.vue.js +2 -2
- package/es/Menu/SubMenu.vue.js +1 -1
- package/es/Message/Message.vue.js +2 -2
- package/es/Modal/Modal.vue.js +2 -2
- package/es/Notification/Notification.vue.js +2 -2
- package/es/PageHeader/index.vue.js +2 -2
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Tabs/TabButton.vue.js +2 -2
- package/es/Tag/index.vue.js +2 -2
- package/es/Textarea/index.vue.js +2 -2
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Trigger/index.vue.js +1 -1
- package/es/Typography/TypographyBase.vue.js +2 -2
- package/es/_shared/components/IconButton.vue3.js +2 -2
- package/es/_shared/icons/IconCopy.vue.js +1 -17
- package/es/_shared/icons/IconCopy.vue2.js +17 -1
- package/es/_shared/icons/IconEdit.vue.js +1 -17
- package/es/_shared/icons/IconEdit.vue2.js +17 -1
- package/es/_shared/icons/IconEyeClose.vue.js +1 -21
- package/es/_shared/icons/IconEyeClose.vue2.js +21 -1
- package/es/_shared/icons/IconEyeOpen.vue.js +1 -18
- package/es/_shared/icons/IconEyeOpen.vue2.js +18 -1
- package/es/_shared/locale/i18n.js +6 -5
- package/es/_shared/locale/lang/ar-eg.json.js +251 -0
- package/es/_shared/locale/lang/de-de.json.d.ts +207 -0
- package/es/_shared/locale/lang/de-de.json.js +251 -0
- package/es/_shared/locale/lang/en-us.json.d.ts +210 -0
- package/es/_shared/locale/lang/en-us.json.js +256 -0
- package/es/_shared/locale/lang/es-es.json.d.ts +207 -0
- package/es/_shared/locale/lang/es-es.json.js +251 -0
- package/es/_shared/locale/lang/fr-fr.json.d.ts +207 -0
- package/es/_shared/locale/lang/fr-fr.json.js +251 -0
- package/es/_shared/locale/lang/id-id.json.d.ts +207 -0
- package/es/_shared/locale/lang/id-id.json.js +251 -0
- package/es/_shared/locale/lang/it-it.json.d.ts +207 -0
- package/es/_shared/locale/lang/it-it.json.js +251 -0
- package/es/_shared/locale/lang/ja-jp.json.d.ts +255 -0
- package/es/_shared/locale/lang/ja-jp.json.js +301 -0
- package/es/_shared/locale/lang/km-kh.json.d.ts +207 -0
- package/es/_shared/locale/lang/km-kh.json.js +251 -0
- package/es/_shared/locale/lang/ko-kr.json.d.ts +207 -0
- package/es/_shared/locale/lang/ko-kr.json.js +251 -0
- package/es/_shared/locale/lang/ms-my.json.d.ts +207 -0
- package/es/_shared/locale/lang/ms-my.json.js +251 -0
- package/es/_shared/locale/lang/nl-nl.json.d.ts +255 -0
- package/es/_shared/locale/lang/nl-nl.json.js +301 -0
- package/es/_shared/locale/lang/pt-pt.json.d.ts +207 -0
- package/es/_shared/locale/lang/pt-pt.json.js +251 -0
- package/es/_shared/locale/lang/ru-ru.json.d.ts +255 -0
- package/es/_shared/locale/lang/ru-ru.json.js +301 -0
- package/es/_shared/locale/lang/th-th.json.d.ts +207 -0
- package/es/_shared/locale/lang/th-th.json.js +251 -0
- package/es/_shared/locale/lang/vi-vn.json.d.ts +207 -0
- package/es/_shared/locale/lang/vi-vn.json.js +251 -0
- package/es/_shared/locale/lang/zh-cn.json.d.ts +255 -0
- package/es/_shared/locale/lang/zh-cn.json.js +301 -0
- package/es/_shared/locale/lang/zh-tw.json.d.ts +255 -0
- package/es/_shared/locale/lang/zh-tw.json.js +301 -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/Typography/TypographyBase.vue.js +1 -1
- package/lib/_shared/components/IconButton.vue3.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/locale/i18n.js +1 -1
- package/lib/_shared/locale/lang/ar-eg.json.js +1 -0
- package/lib/_shared/locale/lang/de-de.json.d.ts +207 -0
- package/lib/_shared/locale/lang/de-de.json.js +1 -0
- package/lib/_shared/locale/lang/en-us.json.d.ts +210 -0
- package/lib/_shared/locale/lang/en-us.json.js +1 -0
- package/lib/_shared/locale/lang/es-es.json.d.ts +207 -0
- package/lib/_shared/locale/lang/es-es.json.js +1 -0
- package/lib/_shared/locale/lang/fr-fr.json.d.ts +207 -0
- package/lib/_shared/locale/lang/fr-fr.json.js +1 -0
- package/lib/_shared/locale/lang/id-id.json.d.ts +207 -0
- package/lib/_shared/locale/lang/id-id.json.js +1 -0
- package/lib/_shared/locale/lang/it-it.json.d.ts +207 -0
- package/lib/_shared/locale/lang/it-it.json.js +1 -0
- package/lib/_shared/locale/lang/ja-jp.json.d.ts +255 -0
- package/lib/_shared/locale/lang/ja-jp.json.js +1 -0
- package/lib/_shared/locale/lang/km-kh.json.d.ts +207 -0
- package/lib/_shared/locale/lang/km-kh.json.js +1 -0
- package/lib/_shared/locale/lang/ko-kr.json.d.ts +207 -0
- package/lib/_shared/locale/lang/ko-kr.json.js +1 -0
- package/lib/_shared/locale/lang/ms-my.json.d.ts +207 -0
- package/lib/_shared/locale/lang/ms-my.json.js +1 -0
- package/lib/_shared/locale/lang/nl-nl.json.d.ts +255 -0
- package/lib/_shared/locale/lang/nl-nl.json.js +1 -0
- package/lib/_shared/locale/lang/pt-pt.json.d.ts +207 -0
- package/lib/_shared/locale/lang/pt-pt.json.js +1 -0
- package/lib/_shared/locale/lang/ru-ru.json.d.ts +255 -0
- package/lib/_shared/locale/lang/ru-ru.json.js +1 -0
- package/lib/_shared/locale/lang/th-th.json.d.ts +207 -0
- package/lib/_shared/locale/lang/th-th.json.js +1 -0
- package/lib/_shared/locale/lang/vi-vn.json.d.ts +207 -0
- package/lib/_shared/locale/lang/vi-vn.json.js +1 -0
- package/lib/_shared/locale/lang/zh-cn.json.d.ts +255 -0
- package/lib/_shared/locale/lang/zh-cn.json.js +1 -0
- package/lib/_shared/locale/lang/zh-tw.json.d.ts +255 -0
- package/lib/_shared/locale/lang/zh-tw.json.js +1 -0
- package/package.json +1 -1
- package/es/_shared/locale/lang/ar-eg.d.ts +0 -205
- package/es/_shared/locale/lang/ar-eg.js +0 -153
- package/es/_shared/locale/lang/de-de.d.ts +0 -205
- package/es/_shared/locale/lang/de-de.js +0 -153
- package/es/_shared/locale/lang/en-us.d.ts +0 -253
- package/es/_shared/locale/lang/en-us.js +0 -158
- package/es/_shared/locale/lang/es-es.d.ts +0 -205
- package/es/_shared/locale/lang/es-es.js +0 -153
- package/es/_shared/locale/lang/fr-fr.d.ts +0 -205
- package/es/_shared/locale/lang/fr-fr.js +0 -153
- package/es/_shared/locale/lang/id-id.d.ts +0 -205
- package/es/_shared/locale/lang/id-id.js +0 -153
- package/es/_shared/locale/lang/it-it.d.ts +0 -205
- package/es/_shared/locale/lang/it-it.js +0 -153
- package/es/_shared/locale/lang/ja-jp.d.ts +0 -253
- package/es/_shared/locale/lang/ja-jp.js +0 -201
- package/es/_shared/locale/lang/km-kh.d.ts +0 -205
- package/es/_shared/locale/lang/km-kh.js +0 -153
- package/es/_shared/locale/lang/ko-kr.d.ts +0 -205
- package/es/_shared/locale/lang/ko-kr.js +0 -153
- package/es/_shared/locale/lang/ms-my.d.ts +0 -205
- package/es/_shared/locale/lang/ms-my.js +0 -153
- package/es/_shared/locale/lang/nl-nl.d.ts +0 -253
- package/es/_shared/locale/lang/nl-nl.js +0 -201
- package/es/_shared/locale/lang/pt-pt.d.ts +0 -205
- package/es/_shared/locale/lang/pt-pt.js +0 -153
- package/es/_shared/locale/lang/ru-ru.d.ts +0 -253
- package/es/_shared/locale/lang/ru-ru.js +0 -201
- package/es/_shared/locale/lang/th-th.d.ts +0 -205
- package/es/_shared/locale/lang/th-th.js +0 -153
- package/es/_shared/locale/lang/vi-vn.d.ts +0 -205
- package/es/_shared/locale/lang/vi-vn.js +0 -153
- package/es/_shared/locale/lang/zh-cn.js +0 -201
- package/es/_shared/locale/lang/zh-tw.d.ts +0 -253
- package/es/_shared/locale/lang/zh-tw.js +0 -201
- package/es/node_modules/b-validate/es/is.js +0 -27
- package/es/node_modules/b-validate/es/locale/en-US.js +0 -50
- package/es/node_modules/b-validate/es/rules/base.js +0 -86
- package/es/node_modules/b-validate/es/util.js +0 -25
- package/lib/_shared/locale/lang/ar-eg.d.ts +0 -205
- package/lib/_shared/locale/lang/ar-eg.js +0 -1
- package/lib/_shared/locale/lang/de-de.d.ts +0 -205
- package/lib/_shared/locale/lang/de-de.js +0 -1
- package/lib/_shared/locale/lang/en-us.d.ts +0 -253
- package/lib/_shared/locale/lang/en-us.js +0 -1
- package/lib/_shared/locale/lang/es-es.d.ts +0 -205
- package/lib/_shared/locale/lang/es-es.js +0 -1
- package/lib/_shared/locale/lang/fr-fr.d.ts +0 -205
- package/lib/_shared/locale/lang/fr-fr.js +0 -1
- package/lib/_shared/locale/lang/id-id.d.ts +0 -205
- package/lib/_shared/locale/lang/id-id.js +0 -1
- package/lib/_shared/locale/lang/it-it.d.ts +0 -205
- package/lib/_shared/locale/lang/it-it.js +0 -1
- package/lib/_shared/locale/lang/ja-jp.d.ts +0 -253
- package/lib/_shared/locale/lang/ja-jp.js +0 -1
- package/lib/_shared/locale/lang/km-kh.d.ts +0 -205
- package/lib/_shared/locale/lang/km-kh.js +0 -1
- package/lib/_shared/locale/lang/ko-kr.d.ts +0 -205
- package/lib/_shared/locale/lang/ko-kr.js +0 -1
- package/lib/_shared/locale/lang/ms-my.d.ts +0 -205
- package/lib/_shared/locale/lang/ms-my.js +0 -1
- package/lib/_shared/locale/lang/nl-nl.d.ts +0 -253
- package/lib/_shared/locale/lang/nl-nl.js +0 -1
- package/lib/_shared/locale/lang/pt-pt.d.ts +0 -205
- package/lib/_shared/locale/lang/pt-pt.js +0 -1
- package/lib/_shared/locale/lang/ru-ru.d.ts +0 -253
- package/lib/_shared/locale/lang/ru-ru.js +0 -1
- package/lib/_shared/locale/lang/th-th.d.ts +0 -205
- package/lib/_shared/locale/lang/th-th.js +0 -1
- package/lib/_shared/locale/lang/vi-vn.d.ts +0 -205
- package/lib/_shared/locale/lang/vi-vn.js +0 -1
- package/lib/_shared/locale/lang/zh-cn.js +0 -1
- package/lib/_shared/locale/lang/zh-tw.d.ts +0 -253
- package/lib/_shared/locale/lang/zh-tw.js +0 -1
- package/lib/node_modules/b-validate/es/is.js +0 -1
- package/lib/node_modules/b-validate/es/locale/en-US.js +0 -1
- package/lib/node_modules/b-validate/es/rules/base.js +0 -1
- package/lib/node_modules/b-validate/es/util.js +0 -1
- /package/es/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +0 -0
- /package/lib/_shared/components/{IconButton.vue.js → IconButton.vue2.js} +0 -0
package/es/Alert/index.vue.js
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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" };
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -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.
|
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";
|
package/es/Input/Input.vue.js
CHANGED
@@ -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.
|
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.
|
8
|
-
import _sfc_main$3 from "../_shared/icons/IconEyeOpen.
|
9
|
-
import _sfc_main$2 from "../_shared/components/IconButton.
|
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 = {
|
package/es/InputTag/index.vue.js
CHANGED
@@ -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.
|
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 */
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -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.
|
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 = {
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -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.
|
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.
|
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.
|
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" };
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -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.
|
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.
|
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" };
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -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.
|
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";
|
package/es/Tag/index.vue.js
CHANGED
@@ -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.
|
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 = {
|
package/es/Textarea/index.vue.js
CHANGED
@@ -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.
|
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.
|
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.
|
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" };
|
package/es/Trigger/index.vue.js
CHANGED
@@ -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.
|
9
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
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,20 +1,4 @@
|
|
1
|
-
import
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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":
|
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.
|
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}.
|
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}.
|
31
|
+
throw new Error(`无法找到语言文件: ${localeName}.json`);
|
31
32
|
}
|
32
33
|
} catch (error) {
|
33
34
|
console.error(`无法加载语言文件 ${locale}.ts:`, error);
|