antdv-next 1.8.0 → 1.8.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/dist/_util/PurePanel.js +1 -1
- package/dist/_util/hooks/index.js +1 -1
- package/dist/_util/hooks/useZIndex.js +14 -15
- package/dist/affix/index.js +25 -5
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/Alert.js +3 -3
- package/dist/alert/style/index.js +14 -8
- package/dist/anchor/Anchor.js +3 -1
- package/dist/antd-with-locales.esm.js +19221 -16952
- package/dist/antd-with-locales.js +114 -111
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +19006 -16739
- package/dist/antd.js +114 -111
- package/dist/app/App.js +2 -2
- package/dist/auto-complete/index.js +2 -2
- package/dist/avatar/Avatar.js +2 -2
- package/dist/avatar/AvatarGroup.js +1 -1
- package/dist/badge/Ribbon.js +1 -1
- package/dist/badge/index.js +2 -2
- package/dist/badge/style/ribbon.d.ts +0 -1
- package/dist/border-beam/BorderBeam.js +1 -1
- package/dist/border-beam/style/index.d.ts +0 -1
- package/dist/breadcrumb/Breadcrumb.js +2 -2
- package/dist/button/Button.js +1 -1
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.d.ts +0 -1
- package/dist/calendar/generateCalendar.js +2 -2
- package/dist/card/Card.js +2 -2
- package/dist/card/CardGrid.js +1 -1
- package/dist/card/CardMeta.js +1 -1
- package/dist/card/style/index.js +2 -2
- package/dist/carousel/index.js +2 -2
- package/dist/cascader/Panel.js +1 -1
- package/dist/cascader/index.js +4 -4
- package/dist/cascader/style/panel.d.ts +0 -1
- package/dist/checkbox/Checkbox.js +2 -2
- package/dist/checkbox/Group.js +1 -1
- package/dist/collapse/Collapse.js +2 -2
- package/dist/color-picker/ColorPicker.js +2 -2
- package/dist/components.d.ts +2 -2
- package/dist/config-provider/context.d.ts +2 -0
- package/dist/config-provider/define.d.ts +5 -1
- package/dist/config-provider/index.js +38 -4
- package/dist/date-picker/generatePicker/generateRangePicker.js +3 -3
- package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -3
- package/dist/date-picker/generatePicker/useComponents.js +2 -2
- package/dist/date-picker/hooks/useMergedPickerSemantic.js +1 -1
- package/dist/date-picker/style/index.d.ts +0 -1
- package/dist/date-picker/style/panel.js +14 -13
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/index.js +2 -2
- package/dist/divider/index.js +1 -1
- package/dist/drawer/DrawerPanel.js +1 -1
- package/dist/drawer/index.js +3 -3
- package/dist/dropdown/dropdown.js +3 -3
- package/dist/empty/index.js +2 -1
- package/dist/empty/style/index.d.ts +0 -1
- package/dist/float-button/BackTop.js +2 -2
- package/dist/float-button/FloatButton.js +1 -1
- package/dist/float-button/FloatButtonGroup.js +2 -2
- package/dist/float-button/PurePanel.js +1 -1
- package/dist/form/ErrorList.js +1 -1
- package/dist/form/Form.js +2 -2
- package/dist/form/FormItem/ItemHolder.js +3 -3
- package/dist/form/FormItem/index.js +1 -1
- package/dist/form/FormItemLabel.js +1 -1
- package/dist/form/context.d.ts +1 -1
- package/dist/form/hooks/useVariant.js +1 -1
- package/dist/grid/col.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +6 -6
- package/dist/image/index.js +9 -5
- package/dist/index.d.ts +2 -2
- package/dist/input/Group.js +2 -2
- package/dist/input/Input.js +2 -2
- package/dist/input/OTP/OTPInput.js +1 -1
- package/dist/input/OTP/index.js +2 -2
- package/dist/input/Password.js +1 -1
- package/dist/input/Search.js +2 -2
- package/dist/input/TextArea.js +2 -2
- package/dist/input/style/otp.d.ts +0 -1
- package/dist/input/style/search.d.ts +0 -1
- package/dist/input/style/textarea.d.ts +0 -1
- package/dist/input-number/index.js +3 -3
- package/dist/input-number/style/index.d.ts +0 -1
- package/dist/layout/Sider.js +2 -2
- package/dist/layout/style/sider.d.ts +0 -1
- package/dist/listy/index.js +1 -1
- package/dist/locale/id_ID.js +8 -6
- package/dist/locale/uz_UZ.js +12 -12
- package/dist/masonry/Masonry.js +1 -1
- package/dist/mentions/index.js +3 -3
- package/dist/menu/MenuDivider.js +1 -1
- package/dist/menu/menu.js +3 -3
- package/dist/message/PurePanel.js +2 -2
- package/dist/message/style/index.d.ts +0 -1
- package/dist/message/useMessage.js +2 -2
- package/dist/modal/ConfirmDialog.js +2 -2
- package/dist/modal/Modal.js +4 -4
- package/dist/modal/PurePanel.js +1 -1
- package/dist/modal/confirm.js +5 -6
- package/dist/notification/PurePanel.js +2 -2
- package/dist/notification/index.js +6 -7
- package/dist/notification/useNotification.js +2 -2
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +4 -4
- package/dist/popconfirm/index.js +2 -2
- package/dist/popover/PurePanel.js +2 -2
- package/dist/popover/index.js +1 -1
- package/dist/progress/progress.js +3 -3
- package/dist/qrcode/index.js +3 -3
- package/dist/radio/group.js +2 -2
- package/dist/radio/radio.js +2 -2
- package/dist/rate/index.js +2 -2
- package/dist/result/index.js +1 -1
- package/dist/segmented/index.js +1 -1
- package/dist/select/index.js +4 -4
- package/dist/select/style/index.d.ts +0 -1
- package/dist/skeleton/Avatar.js +1 -1
- package/dist/skeleton/Button.js +1 -1
- package/dist/skeleton/Element.js +1 -1
- package/dist/skeleton/Input.js +1 -1
- package/dist/skeleton/Node.js +1 -1
- package/dist/skeleton/Skeleton.js +1 -1
- package/dist/slider/index.js +1 -1
- package/dist/space/Addon.js +1 -1
- package/dist/space/index.js +1 -1
- package/dist/space/style/addon.d.ts +0 -1
- package/dist/space/style/compact.d.ts +0 -1
- package/dist/spin/index.js +2 -2
- package/dist/splitter/Splitter.js +2 -2
- package/dist/statistic/Statistic.js +1 -1
- package/dist/statistic/Timer.js +1 -1
- package/dist/steps/index.js +3 -3
- package/dist/switch/index.js +2 -2
- package/dist/table/InternalTable.js +10 -4
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/table/hooks/useSelection.js +1 -1
- package/dist/table/hooks/useSorter.js +22 -11
- package/dist/table/style/expand.js +4 -1
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/index.js +3 -3
- package/dist/tag/CheckableTag.js +1 -1
- package/dist/tag/CheckableTagGroup.d.ts +0 -1
- package/dist/tag/CheckableTagGroup.js +0 -4
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/themes/dark/index.js +1 -1
- package/dist/theme/useToken.js +2 -2
- package/dist/timeline/Timeline.js +1 -1
- package/dist/timeline/useItems.js +1 -1
- package/dist/tooltip/PurePanel.js +1 -1
- package/dist/tooltip/index.js +2 -2
- package/dist/tour/index.js +1 -1
- package/dist/transfer/Section.js +1 -1
- package/dist/transfer/Transfer.js +3 -3
- package/dist/tree/DirectoryTree.js +2 -2
- package/dist/tree/Tree.js +4 -4
- package/dist/tree-select/index.js +4 -4
- package/dist/typography/Base/index.js +2 -2
- package/dist/typography/Editable.js +6 -2
- package/dist/typography/Typography.js +1 -1
- package/dist/upload/Upload.js +11 -6
- package/dist/upload/UploadList/ListItem.js +1 -1
- package/dist/upload/UploadList/index.js +19 -12
- package/dist/version/token.json +1 -1
- package/dist/watermark/index.d.ts +13 -4
- package/dist/watermark/index.js +11 -7
- package/dist/watermark/useRafDebounce.js +1 -2
- package/package.json +10 -10
- package/web-tags.json +14 -6
- package/web-types.json +29 -12
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
4
|
import { useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
5
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
6
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
6
7
|
import { ContextIsolator } from "../_util/ContextIsolator.js";
|
|
7
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
8
8
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
9
9
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
10
10
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
@@ -15,8 +15,8 @@ import { SpaceAddon, SpaceCompact } from "../space/index.js";
|
|
|
15
15
|
import style_default from "./style/index.js";
|
|
16
16
|
import { Fragment, computed, createVNode, defineComponent, isVNode, mergeProps, shallowRef } from "vue";
|
|
17
17
|
import { clsx } from "@v-c/util";
|
|
18
|
-
import { DownOutlined, MinusOutlined, PlusOutlined, UpOutlined } from "@antdv-next/icons";
|
|
19
18
|
import { omit as omit$1 } from "es-toolkit";
|
|
19
|
+
import { DownOutlined, MinusOutlined, PlusOutlined, UpOutlined } from "@antdv-next/icons";
|
|
20
20
|
import VcInputNumber from "@v-c/input-number";
|
|
21
21
|
//#region src/input-number/index.tsx
|
|
22
22
|
function _isSlot(s) {
|
|
@@ -3,7 +3,6 @@ import { AliasToken } from "../../theme/interface/alias.js";
|
|
|
3
3
|
import { ComponentToken } from "./token.js";
|
|
4
4
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
5
5
|
import "../../theme/interface/index.js";
|
|
6
|
-
import "../../theme/internal.js";
|
|
7
6
|
//#region src/input-number/style/index.d.ts
|
|
8
7
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
9
8
|
//#endregion
|
package/dist/layout/Sider.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
4
4
|
import { addMediaQueryListener, removeMediaQueryListener } from "../_util/mediaQueryUtil.js";
|
|
5
5
|
import { useLayoutCtx } from "./context.js";
|
|
6
6
|
import sider_default from "./style/sider.js";
|
|
7
7
|
import { computed, createVNode, defineComponent, inject, mergeDefaults, mergeProps, onBeforeUnmount, provide, ref, shallowRef, watch } from "vue";
|
|
8
8
|
import { classNames } from "@v-c/util";
|
|
9
|
-
import { BarsOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
|
|
10
9
|
import { omit as omit$1 } from "es-toolkit";
|
|
10
|
+
import { BarsOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
|
|
11
11
|
import canUseDom from "@v-c/util/dist/Dom/canUseDom";
|
|
12
12
|
//#region src/layout/Sider.tsx
|
|
13
13
|
const dimensionMaxMap = {
|
|
@@ -2,7 +2,6 @@ import { SeedToken } from "../../theme/interface/seeds.js";
|
|
|
2
2
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
3
3
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
4
4
|
import "../../theme/interface/index.js";
|
|
5
|
-
import "../../theme/internal.js";
|
|
6
5
|
//#region src/layout/style/sider.d.ts
|
|
7
6
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
8
7
|
//#endregion
|
package/dist/listy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import useToken from "../theme/useToken.js";
|
|
3
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
5
|
import style_default from "./style/index.js";
|
|
6
6
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef, useAttrs } from "vue";
|
package/dist/locale/id_ID.js
CHANGED
|
@@ -3,7 +3,7 @@ import locale$1 from "../date-picker/locale/id_ID.js";
|
|
|
3
3
|
import id_ID_default from "../calendar/locale/id_ID.js";
|
|
4
4
|
import Pagination from "@v-c/pagination/locale/id_ID";
|
|
5
5
|
//#region src/locale/id_ID.ts
|
|
6
|
-
const typeTemplate = "${label}
|
|
6
|
+
const typeTemplate = "${label} bukan ${type} yang valid";
|
|
7
7
|
const localeValues = {
|
|
8
8
|
locale: "id",
|
|
9
9
|
Pagination,
|
|
@@ -11,11 +11,12 @@ const localeValues = {
|
|
|
11
11
|
TimePicker: locale,
|
|
12
12
|
Calendar: id_ID_default,
|
|
13
13
|
global: {
|
|
14
|
-
placeholder: "
|
|
14
|
+
placeholder: "Silakan pilih",
|
|
15
15
|
close: "Tutup",
|
|
16
16
|
sortable: "dapat diurutkan",
|
|
17
17
|
show: "Tampilkan",
|
|
18
|
-
hide: "Sembunyikan"
|
|
18
|
+
hide: "Sembunyikan",
|
|
19
|
+
clear: "Hapus"
|
|
19
20
|
},
|
|
20
21
|
Table: {
|
|
21
22
|
filterTitle: "Menu filter",
|
|
@@ -93,7 +94,7 @@ const localeValues = {
|
|
|
93
94
|
nextSlide: "Slide berikutnya"
|
|
94
95
|
},
|
|
95
96
|
Form: {
|
|
96
|
-
optional: "(
|
|
97
|
+
optional: "(opsional)",
|
|
97
98
|
defaultValidateMessages: {
|
|
98
99
|
default: "Kesalahan validasi untuk ${label}",
|
|
99
100
|
required: "Tolong masukkan ${label}",
|
|
@@ -123,7 +124,7 @@ const localeValues = {
|
|
|
123
124
|
len: "${label} harus berupa ${len} karakter",
|
|
124
125
|
min: "${label} harus minimal ${min} karakter",
|
|
125
126
|
max: "${label} harus maksimal ${max} karakter",
|
|
126
|
-
range: "${label} harus
|
|
127
|
+
range: "${label} harus di antara ${min}-${max} karakter"
|
|
127
128
|
},
|
|
128
129
|
number: {
|
|
129
130
|
len: "${label} harus sama dengan ${len}",
|
|
@@ -150,7 +151,8 @@ const localeValues = {
|
|
|
150
151
|
transparent: "Transparan",
|
|
151
152
|
singleColor: "Warna tunggal",
|
|
152
153
|
gradientColor: "Warna gradien"
|
|
153
|
-
}
|
|
154
|
+
},
|
|
155
|
+
Input: { otpCell: "Karakter ${index} dari ${total}" }
|
|
154
156
|
};
|
|
155
157
|
//#endregion
|
|
156
158
|
export { localeValues as default };
|
package/dist/locale/uz_UZ.js
CHANGED
|
@@ -33,16 +33,16 @@ const localeValues = {
|
|
|
33
33
|
selectedRow: "Qator tanlandi",
|
|
34
34
|
selectionMenu: "Tanlash menyusi",
|
|
35
35
|
sortTitle: "Tartiblash",
|
|
36
|
-
expand: "
|
|
37
|
-
collapse: "
|
|
38
|
-
expandAll: "Barcha
|
|
39
|
-
collapseAll: "Barcha
|
|
36
|
+
expand: "Qatorni yoyish",
|
|
37
|
+
collapse: "Qatorni yig'ish",
|
|
38
|
+
expandAll: "Barcha qatorlarni yoyish",
|
|
39
|
+
collapseAll: "Barcha qatorlarni yig'ish",
|
|
40
40
|
triggerDesc: "Kamayish tartibida tartiblash uchun bosing",
|
|
41
41
|
triggerAsc: "O'sish tartibida tartiblash uchun bosing",
|
|
42
|
-
cancelSort: "
|
|
42
|
+
cancelSort: "Tartiblashni bekor qilish uchun bosing"
|
|
43
43
|
},
|
|
44
44
|
Tour: {
|
|
45
|
-
Next: "
|
|
45
|
+
Next: "Keyingi",
|
|
46
46
|
Previous: "Ortga",
|
|
47
47
|
Finish: "Tugatish"
|
|
48
48
|
},
|
|
@@ -65,7 +65,7 @@ const localeValues = {
|
|
|
65
65
|
itemUnit: "elem.",
|
|
66
66
|
itemsUnit: "elem.",
|
|
67
67
|
remove: "Oʻchirish",
|
|
68
|
-
selectAll: "
|
|
68
|
+
selectAll: "Barcha ma'lumotlarni tanlash",
|
|
69
69
|
selectCurrent: "Joriy sahifani tanlash",
|
|
70
70
|
selectInvert: "Tanlovni aylantirish",
|
|
71
71
|
removeAll: "Barcha ma'lumotlarni o'chirish",
|
|
@@ -85,8 +85,8 @@ const localeValues = {
|
|
|
85
85
|
edit: "Tahrirlash",
|
|
86
86
|
copy: "Nusxalash",
|
|
87
87
|
copied: "Nusxalandi",
|
|
88
|
-
expand: "
|
|
89
|
-
collapse: "
|
|
88
|
+
expand: "Yoyish",
|
|
89
|
+
collapse: "Yigʻish"
|
|
90
90
|
},
|
|
91
91
|
Carousel: {
|
|
92
92
|
prevSlide: "Oldingi slayd",
|
|
@@ -102,7 +102,7 @@ const localeValues = {
|
|
|
102
102
|
date: {
|
|
103
103
|
format: "${label} toʻgʻri sana formatida emas",
|
|
104
104
|
parse: "${label} sanaga aylantirilmaydi",
|
|
105
|
-
invalid: "${label}
|
|
105
|
+
invalid: "${label} toʻgʻri sana emas"
|
|
106
106
|
},
|
|
107
107
|
types: {
|
|
108
108
|
string: typeTemplate,
|
|
@@ -121,8 +121,8 @@ const localeValues = {
|
|
|
121
121
|
},
|
|
122
122
|
string: {
|
|
123
123
|
len: "${label}, ${len} ta belgidan iborat boʻlishi kerak",
|
|
124
|
-
min: "${label}
|
|
125
|
-
max: "${label}
|
|
124
|
+
min: "${label} kamida ${min} ta belgidan iborat boʻlishi kerak",
|
|
125
|
+
max: "${label} koʻpi bilan ${max} ta belgidan iborat boʻlishi kerak",
|
|
126
126
|
range: "${label} uzunligi ${min}-${max} belgilar orasida boʻlishi kerak"
|
|
127
127
|
},
|
|
128
128
|
number: {
|
package/dist/masonry/Masonry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import { genCssVar } from "../theme/util/genStyleUtils.js";
|
|
3
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import { toPropsRefs } from "../_util/tools.js";
|
|
5
5
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
6
6
|
import { responsiveArray } from "../_util/responsiveObserver.js";
|
package/dist/mentions/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
|
+
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
2
5
|
import { useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
6
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
6
|
-
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
7
7
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
8
8
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
9
9
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
package/dist/menu/MenuDivider.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { pureAttrs } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { createVNode, defineComponent, mergeProps } from "vue";
|
|
4
4
|
import { clsx } from "@v-c/util";
|
|
5
5
|
import { Divider } from "@v-c/menu";
|
package/dist/menu/menu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
4
|
import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
5
5
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
6
6
|
import initCollapseMotion from "../_util/motion.js";
|
|
@@ -13,8 +13,8 @@ import SubMenu$1 from "./SubMenu.js";
|
|
|
13
13
|
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef } from "vue";
|
|
14
14
|
import { clsx } from "@v-c/util";
|
|
15
15
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
16
|
-
import { EllipsisOutlined } from "@antdv-next/icons";
|
|
17
16
|
import { omit as omit$1 } from "es-toolkit";
|
|
17
|
+
import { EllipsisOutlined } from "@antdv-next/icons";
|
|
18
18
|
import VcMenu from "@v-c/menu";
|
|
19
19
|
//#region src/menu/menu.tsx
|
|
20
20
|
const omitPropKeys = [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { pureAttrs, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { toPropsRefs } from "../_util/tools.js";
|
|
4
4
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
5
|
import { isRenderable } from "../_util/is.js";
|
|
6
6
|
import style_default from "./style/index.js";
|
|
7
7
|
import { Fragment, computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
8
8
|
import { clsx } from "@v-c/util";
|
|
9
|
-
import { CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined } from "@antdv-next/icons";
|
|
10
9
|
import { omit as omit$1 } from "es-toolkit";
|
|
10
|
+
import { CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined } from "@antdv-next/icons";
|
|
11
11
|
import { Notification } from "@v-c/notification";
|
|
12
12
|
//#region src/message/PurePanel.tsx
|
|
13
13
|
const TypeIcon = {
|
|
@@ -2,7 +2,6 @@ import { SeedToken } from "../../theme/interface/seeds.js";
|
|
|
2
2
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
3
3
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
4
4
|
import "../../theme/interface/index.js";
|
|
5
|
-
import "../../theme/internal.js";
|
|
6
5
|
import { CSSProperties } from "vue";
|
|
7
6
|
//#region src/message/style/index.d.ts
|
|
8
7
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning } from "../_util/warning.js";
|
|
2
|
-
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { resolveStyleOrClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning } from "../_util/warning.js";
|
|
4
4
|
import { toPropsRefs } from "../_util/tools.js";
|
|
5
5
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
6
6
|
import style_default from "./style/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { normalizeMaskConfig } from "../_util/hooks/useMergedMask.js";
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import useToken from "../theme/useToken.js";
|
|
4
|
-
import {
|
|
4
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
5
5
|
import "../_util/hooks/useZIndex.js";
|
|
6
6
|
import fallbackProp from "../_util/fallbackProp.js";
|
|
7
7
|
import { getSlotPropsFnRun } from "../_util/tools.js";
|
package/dist/modal/Modal.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
-
import { ContextIsolator } from "../_util/ContextIsolator.js";
|
|
4
1
|
import { useMergedMask } from "../_util/hooks/useMergedMask.js";
|
|
5
2
|
import { normalizeStyle as normalizeStyle$1 } from "../_util/styleUtils.js";
|
|
6
3
|
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
4
|
+
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
5
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
7
6
|
import { ZIndexProvider } from "../_util/zindexContext.js";
|
|
8
7
|
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
8
|
+
import { ContextIsolator } from "../_util/ContextIsolator.js";
|
|
9
9
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
10
10
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
11
11
|
import useClosable, { pickClosable } from "../_util/hooks/useClosable.js";
|
|
@@ -17,9 +17,9 @@ import { Footer, renderCloseIcon } from "./shared.js";
|
|
|
17
17
|
import style_default from "./style/index.js";
|
|
18
18
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
19
19
|
import { clsx } from "@v-c/util";
|
|
20
|
+
import { omit as omit$1 } from "es-toolkit";
|
|
20
21
|
import { CloseOutlined } from "@antdv-next/icons";
|
|
21
22
|
import { getTransitionName } from "@v-c/util/dist/utils/transition";
|
|
22
|
-
import { omit as omit$1 } from "es-toolkit";
|
|
23
23
|
import Dialog from "@v-c/dialog";
|
|
24
24
|
//#region src/modal/Modal.tsx
|
|
25
25
|
let mousePosition;
|
package/dist/modal/PurePanel.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun } from "../_util/tools.js";
|
|
4
4
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
5
|
import { Footer, renderCloseIcon } from "./shared.js";
|
package/dist/modal/confirm.js
CHANGED
|
@@ -319,10 +319,12 @@ function confirm(config) {
|
|
|
319
319
|
close,
|
|
320
320
|
open: true
|
|
321
321
|
};
|
|
322
|
+
const stopThemeWatch = watch(() => global.theme.value, () => renderWithProps(currentConfig));
|
|
322
323
|
function destroy(...args) {
|
|
323
324
|
if (args.some((param) => param?.triggerCancel)) config.onCancel?.(() => {}, ...args.slice(1));
|
|
324
325
|
const index = destroyFns.indexOf(close);
|
|
325
326
|
if (index !== -1) destroyFns.splice(index, 1);
|
|
327
|
+
stopThemeWatch();
|
|
326
328
|
render(null, container);
|
|
327
329
|
container.parentNode?.removeChild(container);
|
|
328
330
|
}
|
|
@@ -345,12 +347,9 @@ function confirm(config) {
|
|
|
345
347
|
theme,
|
|
346
348
|
locale: global.locale
|
|
347
349
|
}, { default: () => holderNode });
|
|
348
|
-
const
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
vnode.component?.update?.();
|
|
352
|
-
});
|
|
353
|
-
render(vnode, container);
|
|
350
|
+
const nextVnode = global.holderRender ? global.holderRender(configHolderNode) : configHolderNode;
|
|
351
|
+
nextVnode.appContext = appContext;
|
|
352
|
+
render(nextVnode, container);
|
|
354
353
|
}
|
|
355
354
|
function close(...args) {
|
|
356
355
|
currentConfig = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { normalizeStyle as normalizeStyle$1 } from "../_util/styleUtils.js";
|
|
3
2
|
import { pureAttrs, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
4
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
5
5
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
6
6
|
import { isRenderable } from "../_util/is.js";
|
|
@@ -8,8 +8,8 @@ import style_default, { PurePanelStyle } from "./style/index.js";
|
|
|
8
8
|
import useClosable, { pickClosable } from "../_util/hooks/useClosable.js";
|
|
9
9
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
10
10
|
import { clsx } from "@v-c/util";
|
|
11
|
-
import { CheckCircleFilled, CloseCircleFilled, CloseOutlined, ExclamationCircleFilled, InfoCircleFilled } from "@antdv-next/icons";
|
|
12
11
|
import { omit as omit$1 } from "es-toolkit";
|
|
12
|
+
import { CheckCircleFilled, CloseCircleFilled, CloseOutlined, ExclamationCircleFilled, InfoCircleFilled } from "@antdv-next/icons";
|
|
13
13
|
import { Notification } from "@v-c/notification";
|
|
14
14
|
//#region src/notification/PurePanel.tsx
|
|
15
15
|
function getCloseIcon(prefixCls, closeIcon) {
|
|
@@ -4,7 +4,7 @@ import { useAppConfig } from "../app/context.js";
|
|
|
4
4
|
import PurePanel from "./PurePanel.js";
|
|
5
5
|
import PureList from "./PureList.js";
|
|
6
6
|
import useNotification, { useInternalNotification } from "./useNotification.js";
|
|
7
|
-
import { createVNode, defineComponent, getCurrentInstance, isVNode, onMounted, render, shallowRef, watch } from "vue";
|
|
7
|
+
import { computed, createVNode, defineComponent, getCurrentInstance, isVNode, onMounted, render, shallowRef, watch } from "vue";
|
|
8
8
|
//#region src/notification/index.tsx
|
|
9
9
|
function _isSlot(s) {
|
|
10
10
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
@@ -32,15 +32,14 @@ function getGlobalContext() {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
const GlobalHolder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
35
|
-
const {
|
|
35
|
+
const { sync } = props;
|
|
36
36
|
const { getPrefixCls } = useBaseConfig();
|
|
37
|
-
const prefixCls = defaultGlobalConfig?.prefixCls || getPrefixCls("notification");
|
|
38
37
|
const appConfig = useAppConfig();
|
|
39
|
-
const [api, holder] = useInternalNotification({
|
|
40
|
-
...notificationConfig,
|
|
41
|
-
prefixCls,
|
|
38
|
+
const [api, holder] = useInternalNotification(computed(() => ({
|
|
39
|
+
...props.notificationConfig,
|
|
40
|
+
prefixCls: defaultGlobalConfig?.prefixCls || getPrefixCls("notification"),
|
|
42
41
|
...appConfig.notification || {}
|
|
43
|
-
});
|
|
42
|
+
})));
|
|
44
43
|
onMounted(() => {
|
|
45
44
|
sync?.();
|
|
46
45
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveStyleOrClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
2
|
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import useToken from "../theme/useToken.js";
|
|
4
|
-
import {
|
|
4
|
+
import { devUseWarning } from "../_util/warning.js";
|
|
5
5
|
import { toPropsRefs } from "../_util/tools.js";
|
|
6
6
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
7
|
import { isRenderable } from "../_util/is.js";
|
package/dist/package.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
-
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
3
|
import useToken from "../theme/useToken.js";
|
|
5
|
-
import {
|
|
4
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
5
|
+
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
6
6
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
7
7
|
import useVariant from "../form/hooks/useVariant.js";
|
|
8
8
|
import useLocale from "../locale/useLocale.js";
|
|
@@ -13,8 +13,8 @@ import bordered_default from "./style/bordered.js";
|
|
|
13
13
|
import resolveShowSizeChanger from "./useShowSizeChanger.js";
|
|
14
14
|
import { Fragment, computed, createVNode, defineComponent, h, mergeProps } from "vue";
|
|
15
15
|
import { clsx } from "@v-c/util";
|
|
16
|
-
import { DoubleLeftOutlined, DoubleRightOutlined, EllipsisOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
|
|
17
16
|
import { omit as omit$1 } from "es-toolkit";
|
|
17
|
+
import { DoubleLeftOutlined, DoubleRightOutlined, EllipsisOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
|
|
18
18
|
import Pagination$1 from "@v-c/pagination/locale/en_US";
|
|
19
19
|
import VcPagination from "@v-c/pagination";
|
|
20
20
|
//#region src/pagination/Pagination.tsx
|
package/dist/popconfirm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1, useLiveListener } from "../_util/tools.js";
|
|
4
4
|
import useMergedArrow from "../tooltip/hooks/useMergedArrow.js";
|
|
5
5
|
import { cloneIfVNode } from "../_util/vueNode.js";
|
|
@@ -9,8 +9,8 @@ import PurePanel, { Overlay } from "./PurePanel.js";
|
|
|
9
9
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
|
|
10
10
|
import { clsx } from "@v-c/util";
|
|
11
11
|
import { removeUndefined } from "@v-c/util/dist/props-util";
|
|
12
|
-
import { ExclamationCircleFilled } from "@antdv-next/icons";
|
|
13
12
|
import { omit as omit$1 } from "es-toolkit";
|
|
13
|
+
import { ExclamationCircleFilled } from "@antdv-next/icons";
|
|
14
14
|
//#region src/popconfirm/index.tsx
|
|
15
15
|
const OMITTED_PROP_KEYS = [
|
|
16
16
|
"title",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
4
4
|
import { isRenderable } from "../_util/is.js";
|
|
5
5
|
import style_default from "./style/index.js";
|
|
6
6
|
import { Fragment, computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
7
7
|
import { clsx } from "@v-c/util";
|
|
8
8
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
9
|
-
import { Popup } from "@v-c/tooltip";
|
|
10
9
|
import { omit as omit$1 } from "es-toolkit";
|
|
10
|
+
import { Popup } from "@v-c/tooltip";
|
|
11
11
|
//#region src/popover/PurePanel.tsx
|
|
12
12
|
const Overlay = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
13
13
|
return () => {
|
package/dist/popover/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
4
4
|
import useMergedArrow from "../tooltip/hooks/useMergedArrow.js";
|
|
5
5
|
import InternalTooltip from "../tooltip/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
4
|
import { clsx, toPropsRefs } from "../_util/tools.js";
|
|
5
5
|
import { getSize, getSuccessPercent, validProgress } from "./utils.js";
|
|
6
6
|
import Circle from "./Circle.js";
|
|
@@ -8,8 +8,8 @@ import style_default from "./style/index.js";
|
|
|
8
8
|
import Line from "./Line.js";
|
|
9
9
|
import Steps from "./Steps.js";
|
|
10
10
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
11
|
-
import { CheckCircleFilled, CheckOutlined, CloseCircleFilled, CloseOutlined } from "@antdv-next/icons";
|
|
12
11
|
import { FastColor } from "@ant-design/fast-color";
|
|
12
|
+
import { CheckCircleFilled, CheckOutlined, CloseCircleFilled, CloseOutlined } from "@antdv-next/icons";
|
|
13
13
|
//#region src/progress/progress.tsx
|
|
14
14
|
const ProgressTypes = [
|
|
15
15
|
"line",
|
package/dist/qrcode/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
-
import useToken from "../theme/useToken.js";
|
|
4
1
|
import { normalizeStyle as normalizeStyle$1 } from "../_util/styleUtils.js";
|
|
5
2
|
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
|
+
import useToken from "../theme/useToken.js";
|
|
5
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
6
6
|
import { toPropsRefs } from "../_util/tools.js";
|
|
7
7
|
import useLocale from "../locale/useLocale.js";
|
|
8
8
|
import QRcodeStatus from "./QrcodeStatus.js";
|
package/dist/radio/group.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
2
|
import { useOrientation } from "../_util/hooks/useOrientation.js";
|
|
3
3
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
|
+
import { useFormItemContext, useFormItemInputContext } from "../form/context.js";
|
|
4
5
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
|
-
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
6
6
|
import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
7
7
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
8
8
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
package/dist/radio/radio.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
4
|
import { useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
6
6
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
7
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
package/dist/rate/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
|
-
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import InternalTooltip from "../tooltip/index.js";
|
|
5
5
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
6
6
|
import style_default from "./style/index.js";
|
|
7
7
|
import { createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef } from "vue";
|
|
8
8
|
import { clsx } from "@v-c/util";
|
|
9
|
-
import { StarFilled } from "@antdv-next/icons";
|
|
10
9
|
import { omit as omit$1 } from "es-toolkit";
|
|
10
|
+
import { StarFilled } from "@antdv-next/icons";
|
|
11
11
|
import VcRate from "@v-c/rate";
|
|
12
12
|
//#region src/rate/index.tsx
|
|
13
13
|
function _isSlot(s) {
|
package/dist/result/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { clsx as clsx$1, getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
4
4
|
import { isRenderable } from "../_util/is.js";
|
|
5
5
|
import NoFound from "./noFound.js";
|
package/dist/segmented/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { pureAttrs, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useOrientation } from "../_util/hooks/useOrientation.js";
|
|
2
3
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
4
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
|
-
import { pureAttrs, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
6
6
|
import InternalTooltip from "../tooltip/index.js";
|
|
7
7
|
import { isRenderable } from "../_util/is.js";
|
package/dist/select/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig, useConfig } from "../config-provider/context.js";
|
|
3
|
+
import useToken from "../theme/useToken.js";
|
|
1
4
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
5
|
+
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
2
6
|
import { useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig, useConfig } from "../config-provider/context.js";
|
|
4
7
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
|
-
import useToken from "../theme/useToken.js";
|
|
6
8
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
7
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
8
|
-
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
9
9
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
10
10
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
11
11
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
@@ -3,7 +3,6 @@ import { AliasToken } from "../../theme/interface/alias.js";
|
|
|
3
3
|
import { ComponentToken } from "./token.js";
|
|
4
4
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
5
5
|
import "../../theme/interface/index.js";
|
|
6
|
-
import "../../theme/internal.js";
|
|
7
6
|
//#region src/select/style/index.d.ts
|
|
8
7
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
9
8
|
//#endregion
|
package/dist/skeleton/Avatar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
|
-
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import Element from "./Element.js";
|
|
5
5
|
import style_default from "./style/index.js";
|
|
6
6
|
import { createVNode, defineComponent, mergeDefaults, mergeProps, toRef } from "vue";
|