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.
- 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 +2 -2
- 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/Progress/ProgressCircle.vue.js +1 -1
- 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 +4 -4
- package/es/Trigger/index.vue.js +1 -1
- package/es/_shared/components/IconButton.vue3.js +2 -2
- package/es/_shared/icons/IconDelete.vue.js +17 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -17
- package/es/_shared/icons/IconExclamation.vue.js +1 -28
- package/es/_shared/icons/IconExclamation.vue2.js +28 -1
- package/es/_shared/icons/IconSearch.vue.js +17 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -17
- 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/Progress/ProgressCircle.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/IconButton.vue3.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.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 */
|
@@ -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.
|
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 = {
|
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" };
|
@@ -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.
|
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"];
|
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";
|
@@ -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.
|
9
|
-
import _sfc_main$3 from "../_shared/icons/IconSearch.
|
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.
|
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({
|
@@ -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: "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
|
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
|
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
|
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
|
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
|
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
|
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);
|