antdv-next 1.0.0-beta.2 → 1.0.0-rc.1
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.mjs +4 -4
- package/dist/_util/hooks/useClosable.d.mts +0 -1
- package/dist/_util/hooks/useClosable.mjs +1 -1
- package/dist/_util/hooks/useMergeSemantic.d.mts +2 -3
- package/dist/_util/hooks/useMergeSemantic.mjs +9 -9
- package/dist/_util/tools.mjs +1 -1
- package/dist/_util/warning.d.mts +0 -1
- package/dist/affix/index.d.mts +3 -3
- package/dist/alert/Alert.d.mts +24 -7
- package/dist/alert/Alert.mjs +91 -28
- package/dist/anchor/Anchor.d.mts +18 -7
- package/dist/antd.css +1 -1
- package/dist/antd.js +101 -112
- package/dist/app/App.d.mts +2 -2
- package/dist/app/App.mjs +2 -2
- package/dist/auto-complete/index.d.mts +23 -11
- package/dist/auto-complete/index.mjs +1 -1
- package/dist/avatar/Avatar.d.mts +3 -3
- package/dist/avatar/AvatarGroup.d.mts +2 -2
- package/dist/avatar/style/index.mjs +2 -2
- package/dist/badge/Ribbon.d.mts +18 -2
- package/dist/badge/Ribbon.mjs +44 -23
- package/dist/badge/SingleNumber.mjs +2 -1
- package/dist/badge/index.d.mts +14 -7
- package/dist/badge/style/ribbon.mjs +1 -1
- package/dist/breadcrumb/Breadcrumb.d.mts +17 -6
- package/dist/breadcrumb/Breadcrumb.mjs +18 -3
- package/dist/breadcrumb/BreadcrumbItem.d.mts +1 -0
- package/dist/breadcrumb/BreadcrumbItem.mjs +29 -4
- package/dist/breadcrumb/style/index.mjs +5 -5
- package/dist/button/Button.d.mts +18 -10
- package/dist/button/buttonHelper.d.mts +0 -1
- package/dist/button/index.d.mts +1 -1
- package/dist/button/style/compact.mjs +28 -19
- package/dist/button/style/token.d.mts +0 -5
- package/dist/button/style/variant.mjs +27 -3
- package/dist/calendar/generateCalendar.d.mts +20 -7
- package/dist/calendar/generateCalendar.mjs +1 -1
- package/dist/calendar/index.d.mts +3 -3
- package/dist/card/Card.d.mts +23 -6
- package/dist/card/CardGrid.d.mts +2 -2
- package/dist/card/CardMeta.d.mts +20 -7
- package/dist/cascader/index.d.mts +28 -7
- package/dist/checkbox/Checkbox.d.mts +16 -7
- package/dist/checkbox/Checkbox.mjs +1 -1
- package/dist/checkbox/Group.d.mts +4 -3
- package/dist/checkbox/Group.mjs +11 -2
- package/dist/collapse/Collapse.d.mts +19 -6
- package/dist/collapse/Collapse.mjs +1 -1
- package/dist/color-picker/ColorPicker.d.mts +3 -3
- package/dist/color-picker/interface.d.mts +15 -7
- package/dist/color-picker/style/input.mjs +2 -0
- package/dist/components.d.mts +2 -3
- package/dist/config-provider/context.d.mts +58 -12
- package/dist/config-provider/context.mjs +3 -3
- package/dist/config-provider/define.d.mts +7 -1
- package/dist/config-provider/index.d.mts +3 -4
- package/dist/config-provider/index.mjs +82 -8
- package/dist/date-picker/generatePicker/index.d.mts +15 -15
- package/dist/date-picker/generatePicker/interface.d.mts +37 -10
- package/dist/date-picker/hooks/useMergedPickerSemantic.mjs +2 -2
- package/dist/date-picker/index.d.mts +25 -25
- package/dist/descriptions/Cell.mjs +5 -5
- package/dist/descriptions/DescriptionsContext.d.mts +13 -0
- package/dist/descriptions/Item.d.mts +3 -3
- package/dist/descriptions/hooks/useRow.mjs +7 -7
- package/dist/descriptions/index.d.mts +22 -7
- package/dist/divider/index.d.mts +15 -5
- package/dist/drawer/DrawerPanel.d.mts +28 -3
- package/dist/drawer/DrawerPanel.mjs +3 -3
- package/dist/drawer/index.d.mts +4 -4
- package/dist/drawer/index.mjs +4 -0
- package/dist/drawer/style/index.mjs +9 -2
- package/dist/dropdown/dropdown.d.mts +20 -7
- package/dist/empty/index.d.mts +18 -7
- package/dist/flex/index.d.mts +3 -3
- package/dist/float-button/FloatButton.d.mts +3 -4
- package/dist/float-button/FloatButtonGroup.d.mts +22 -3
- package/dist/form/Form.d.mts +16 -7
- package/dist/form/FormItem/index.d.mts +3 -3
- package/dist/form/FormItem/index.mjs +1 -1
- package/dist/form/FormItemInput.d.mts +0 -1
- package/dist/image/PreviewGroup.d.mts +3 -5
- package/dist/image/index.d.mts +34 -14
- package/dist/index.d.mts +3 -4
- package/dist/input/Input.d.mts +17 -4
- package/dist/input/Input.mjs +2 -2
- package/dist/input/OTP/index.d.mts +13 -4
- package/dist/input/Password.mjs +3 -3
- package/dist/input/Search.d.mts +21 -9
- package/dist/input/TextArea.d.mts +16 -7
- package/dist/input/TextArea.mjs +2 -2
- package/dist/input/index.d.mts +11 -11
- package/dist/input/style/index.mjs +5 -2
- package/dist/input/style/variants.mjs +2 -1
- package/dist/input-number/index.d.mts +20 -7
- package/dist/layout/index.d.mts +6 -6
- package/dist/layout/layout.d.mts +0 -1
- package/dist/locale/index.d.mts +0 -1
- package/dist/masonry/Masonry.d.mts +14 -7
- package/dist/masonry/MasonryItem.mjs +2 -2
- package/dist/mentions/index.d.mts +18 -7
- package/dist/mentions/index.mjs +2 -2
- package/dist/mentions/style/index.mjs +2 -2
- package/dist/menu/MenuContext.d.mts +0 -1
- package/dist/menu/MenuDivider.d.mts +2 -2
- package/dist/menu/MenuItem.d.mts +3 -3
- package/dist/menu/MenuItem.mjs +4 -3
- package/dist/menu/SubMenu.d.mts +3 -3
- package/dist/menu/SubMenu.mjs +5 -0
- package/dist/menu/index.d.mts +5 -5
- package/dist/menu/menu.d.mts +42 -10
- package/dist/menu/menu.mjs +2 -2
- package/dist/menu/style/index.d.mts +1 -1
- package/dist/menu/style/vertical.mjs +1 -1
- package/dist/message/PurePanel.d.mts +5 -7
- package/dist/message/index.mjs +2 -2
- package/dist/message/interface.d.mts +20 -4
- package/dist/message/useMessage.d.mts +0 -1
- package/dist/modal/Modal.d.mts +3 -3
- package/dist/modal/confirm.mjs +8 -4
- package/dist/modal/interface.d.mts +22 -3
- package/dist/modal/style/index.mjs +11 -8
- package/dist/notification/PurePanel.d.mts +8 -8
- package/dist/notification/index.mjs +2 -2
- package/dist/notification/interface.d.mts +18 -5
- package/dist/notification/style/index.mjs +8 -8
- package/dist/notification/useNotification.d.mts +2 -3
- package/dist/package.d.mts +4 -0
- package/dist/package.mjs +1 -1
- package/dist/pagination/Pagination.d.mts +3 -3
- package/dist/pagination/Pagination.mjs +11 -10
- package/dist/pagination/interface.d.mts +14 -5
- package/dist/pagination/style/bordered.mjs +2 -2
- package/dist/pagination/style/index.d.mts +10 -5
- package/dist/pagination/style/index.mjs +52 -103
- package/dist/popconfirm/PurePanel.d.mts +5 -7
- package/dist/popconfirm/index.d.mts +8 -6
- package/dist/popconfirm/index.mjs +7 -3
- package/dist/popover/index.d.mts +16 -9
- package/dist/popover/index.mjs +8 -5
- package/dist/progress/Line.mjs +3 -3
- package/dist/progress/progress.d.mts +20 -7
- package/dist/qrcode/index.d.mts +3 -3
- package/dist/qrcode/index.mjs +2 -1
- package/dist/qrcode/interface.d.mts +11 -3
- package/dist/radio/group.mjs +3 -3
- package/dist/radio/index.d.mts +5 -5
- package/dist/radio/interface.d.mts +13 -3
- package/dist/radio/radio.d.mts +3 -3
- package/dist/radio/radio.mjs +1 -1
- package/dist/rate/index.d.mts +3 -3
- package/dist/result/index.d.mts +22 -7
- package/dist/result/index.mjs +11 -6
- package/dist/result/noFound.d.mts +2 -2
- package/dist/result/serverError.d.mts +2 -2
- package/dist/result/unauthorized.d.mts +2 -2
- package/dist/segmented/index.d.mts +18 -7
- package/dist/select/index.d.mts +48 -20
- package/dist/skeleton/Avatar.d.mts +2 -2
- package/dist/skeleton/Button.d.mts +2 -2
- package/dist/skeleton/Image.d.mts +2 -2
- package/dist/skeleton/Input.d.mts +2 -2
- package/dist/skeleton/Node.d.mts +3 -3
- package/dist/skeleton/Skeleton.d.mts +22 -7
- package/dist/slider/index.d.mts +19 -6
- package/dist/slider/index.mjs +4 -4
- package/dist/space/index.d.mts +18 -9
- package/dist/spin/Indicator/Progress.mjs +3 -3
- package/dist/spin/index.d.mts +19 -6
- package/dist/splitter/SplitBar.mjs +12 -12
- package/dist/splitter/Splitter.d.mts +3 -3
- package/dist/splitter/Splitter.mjs +1 -1
- package/dist/splitter/hooks/useItems.mjs +2 -2
- package/dist/splitter/hooks/useResizable.mjs +5 -5
- package/dist/splitter/hooks/useResize.mjs +2 -2
- package/dist/splitter/index.d.mts +2 -2
- package/dist/splitter/interface.d.mts +21 -7
- package/dist/splitter/style/index.mjs +2 -28
- package/dist/statistic/Statistic.d.mts +21 -6
- package/dist/statistic/Statistic.mjs +1 -1
- package/dist/statistic/Timer.d.mts +5 -5
- package/dist/statistic/index.d.mts +5 -5
- package/dist/steps/context.mjs +5 -2
- package/dist/steps/index.d.mts +31 -9
- package/dist/steps/index.mjs +3 -3
- package/dist/style/motion/fade.mjs +25 -0
- package/dist/switch/index.d.mts +14 -7
- package/dist/switch/index.mjs +2 -2
- package/dist/table/Column.d.mts +3 -3
- package/dist/table/ColumnGroup.d.mts +3 -3
- package/dist/table/InternalTable.d.mts +35 -13
- package/dist/table/InternalTable.mjs +12 -6
- package/dist/table/Table.d.mts +3 -3
- package/dist/table/TableMeasureRowContext.mjs +20 -0
- package/dist/table/hooks/useFilter/FilterDropdown.mjs +17 -12
- package/dist/table/hooks/useSelection.mjs +1 -1
- package/dist/table/interface.d.mts +1 -2
- package/dist/table/style/virtual.mjs +1 -1
- package/dist/tabs/TabPane.d.mts +3 -3
- package/dist/tabs/index.d.mts +27 -11
- package/dist/tabs/index.mjs +5 -5
- package/dist/tag/CheckableTag.d.mts +3 -3
- package/dist/tag/CheckableTagGroup.d.mts +3 -3
- package/dist/tag/index.d.mts +16 -7
- package/dist/tag/index.mjs +1 -1
- package/dist/tag/style/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -2
- package/dist/theme/interface/maps/index.d.mts +0 -1
- package/dist/theme/useToken.mjs +3 -3
- package/dist/theme/util/genStyleUtils.mjs +3 -2
- package/dist/time-picker/index.d.mts +38 -14
- package/dist/time-picker/index.mjs +1 -1
- package/dist/timeline/Timeline.d.mts +49 -14
- package/dist/timeline/Timeline.mjs +82 -11
- package/dist/timeline/index.d.mts +1 -2
- package/dist/timeline/style/horizontal.mjs +73 -0
- package/dist/timeline/style/index.d.mts +10 -5
- package/dist/timeline/style/index.mjs +93 -137
- package/dist/timeline/useItems.mjs +52 -0
- package/dist/tooltip/PurePanel.d.mts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.mts +2 -2
- package/dist/tooltip/index.d.mts +17 -8
- package/dist/tooltip/index.mjs +11 -3
- package/dist/tooltip/style/index.d.mts +7 -1
- package/dist/tooltip/style/index.mjs +3 -2
- package/dist/tour/index.d.mts +3 -3
- package/dist/tour/index.mjs +1 -1
- package/dist/tour/interface.d.mts +29 -3
- package/dist/transfer/Actions.d.mts +2 -2
- package/dist/transfer/ListItem.mjs +4 -4
- package/dist/transfer/Section.d.mts +2 -2
- package/dist/transfer/Transfer.d.mts +3 -3
- package/dist/transfer/Transfer.mjs +4 -4
- package/dist/transfer/index.d.mts +1 -1
- package/dist/transfer/interface.d.mts +32 -7
- package/dist/transfer/search.d.mts +3 -3
- package/dist/tree/DirectoryTree.d.mts +3 -3
- package/dist/tree/Tree.d.mts +18 -7
- package/dist/tree/index.d.mts +0 -1
- package/dist/tree-select/index.d.mts +41 -12
- package/dist/tree-select/style/index.d.mts +1 -1
- package/dist/typography/Editable.mjs +4 -4
- package/dist/typography/Link.d.mts +3 -3
- package/dist/typography/Paragraph.d.mts +3 -3
- package/dist/typography/Text.d.mts +3 -3
- package/dist/typography/Title.d.mts +3 -3
- package/dist/typography/Typography.d.mts +3 -3
- package/dist/typography/Typography.mjs +2 -12
- package/dist/typography/index.d.mts +9 -10
- package/dist/typography/interface.d.mts +0 -2
- package/dist/typography/style/mixins.mjs +3 -3
- package/dist/upload/Dragger.d.mts +3 -3
- package/dist/upload/Upload.d.mts +3 -4
- package/dist/upload/index.d.mts +3 -3
- package/dist/upload/interface.d.mts +13 -4
- package/dist/watermark/index.d.mts +2 -2
- package/dist/watermark/index.mjs +3 -3
- package/package.json +45 -41
- package/web-tags.json +1108 -1067
- package/web-types.json +3861 -4257
- package/dist/timeline/TimelineItem.d.mts +0 -20
- package/dist/timeline/TimelineItem.mjs +0 -115
- package/dist/timeline/TimelineItemList.mjs +0 -158
- /package/dist/{reset.css/reset.css → reset.css} +0 -0
|
@@ -2,13 +2,26 @@ import { EmptyEmit } from "../_util/type.mjs";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
|
|
3
3
|
import "../_util/hooks/index.mjs";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
5
|
-
import * as
|
|
6
|
-
import { AriaAttributes, SlotsType } from "vue";
|
|
5
|
+
import * as vue133 from "vue";
|
|
6
|
+
import { AriaAttributes, CSSProperties, SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/progress/progress.d.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
interface ProgressSemanticClassNames {
|
|
10
|
+
root?: string;
|
|
11
|
+
body?: string;
|
|
12
|
+
rail?: string;
|
|
13
|
+
track?: string;
|
|
14
|
+
indicator?: string;
|
|
15
|
+
}
|
|
16
|
+
interface ProgressSemanticStyles {
|
|
17
|
+
root?: CSSProperties;
|
|
18
|
+
body?: CSSProperties;
|
|
19
|
+
rail?: CSSProperties;
|
|
20
|
+
track?: CSSProperties;
|
|
21
|
+
indicator?: CSSProperties;
|
|
22
|
+
}
|
|
23
|
+
type ProgressClassNamesType = SemanticClassNamesType<ProgressProps, ProgressSemanticClassNames>;
|
|
24
|
+
type ProgressStylesType = SemanticStylesType<ProgressProps, ProgressSemanticStyles>;
|
|
12
25
|
declare const ProgressTypes: readonly ["line", "circle", "dashboard"];
|
|
13
26
|
type ProgressType = (typeof ProgressTypes)[number];
|
|
14
27
|
declare const ProgressStatuses: readonly ["normal", "exception", "active", "success"];
|
|
@@ -67,8 +80,8 @@ interface ProgressProps extends ComponentBaseProps, ProgressAriaProps {
|
|
|
67
80
|
interface ProgressSlots {
|
|
68
81
|
default?: () => any;
|
|
69
82
|
}
|
|
70
|
-
declare const Progress:
|
|
83
|
+
declare const Progress: vue133.DefineSetupFnComponent<ProgressProps, EmptyEmit, SlotsType<ProgressSlots>, ProgressProps & {
|
|
71
84
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
72
|
-
},
|
|
85
|
+
}, vue133.PublicProps>;
|
|
73
86
|
//#endregion
|
|
74
87
|
export { Progress, ProgressAriaProps, ProgressProps };
|
package/dist/qrcode/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { QRCodeEmits, QRCodeProps, QRCodeSlots } from "./interface.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue135 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/qrcode/index.d.ts
|
|
6
|
-
declare const QRCode:
|
|
6
|
+
declare const QRCode: vue135.DefineSetupFnComponent<QRCodeProps, QRCodeEmits, SlotsType<QRCodeSlots>, QRCodeProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: (() => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue135.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { QRCode };
|
package/dist/qrcode/index.mjs
CHANGED
|
@@ -39,7 +39,7 @@ const QRCode = /* @__PURE__ */ defineComponent((props, { emit, attrs, slots }) =
|
|
|
39
39
|
});
|
|
40
40
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, styles), useToProps(mergedProps));
|
|
41
41
|
return () => {
|
|
42
|
-
const { type, value, size, errorLevel, bgColor, icon, boostLevel, bordered, rootClass, status } = props;
|
|
42
|
+
const { type, value, size, errorLevel, bgColor, icon, boostLevel, bordered, rootClass, status, marginSize } = props;
|
|
43
43
|
const statusRender = slots?.statusRender ?? props?.statusRender;
|
|
44
44
|
const a11yProps = pickAttrs(attrs, true);
|
|
45
45
|
const restProps = omit(attrs, Object.keys(a11yProps));
|
|
@@ -57,6 +57,7 @@ const QRCode = /* @__PURE__ */ defineComponent((props, { emit, attrs, slots }) =
|
|
|
57
57
|
},
|
|
58
58
|
imageSettings: icon ? imageSettings.value : void 0,
|
|
59
59
|
boostLevel,
|
|
60
|
+
marginSize,
|
|
60
61
|
...a11yProps
|
|
61
62
|
};
|
|
62
63
|
if (isDev) {
|
|
@@ -2,6 +2,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
2
2
|
import "../_util/hooks/index.mjs";
|
|
3
3
|
import { Locale } from "../locale/index.mjs";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
5
|
+
import { CSSProperties } from "vue";
|
|
5
6
|
import { QRProps } from "@v-c/qrcode";
|
|
6
7
|
|
|
7
8
|
//#region src/qrcode/interface.d.ts
|
|
@@ -11,9 +12,16 @@ interface StatusRenderInfo {
|
|
|
11
12
|
locale: Locale['QRCode'];
|
|
12
13
|
onRefresh?: () => void;
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
interface QRCodeSemanticClassNames {
|
|
16
|
+
root?: string;
|
|
17
|
+
cover?: string;
|
|
18
|
+
}
|
|
19
|
+
interface QRCodeSemanticStyles {
|
|
20
|
+
root?: CSSProperties;
|
|
21
|
+
cover?: CSSProperties;
|
|
22
|
+
}
|
|
23
|
+
type QRCodeClassNamesType = SemanticClassNamesType<QRCodeProps, QRCodeSemanticClassNames>;
|
|
24
|
+
type QRCodeStylesType = SemanticStylesType<QRCodeProps, QRCodeSemanticStyles>;
|
|
17
25
|
interface QRCodeProps extends QRProps, ComponentBaseProps {
|
|
18
26
|
type?: 'canvas' | 'svg';
|
|
19
27
|
icon?: string;
|
package/dist/radio/group.mjs
CHANGED
|
@@ -3,9 +3,9 @@ import { getAttrStyleAndClass as getAttrStyleAndClass$1 } from "../_util/hooks/u
|
|
|
3
3
|
import { useOrientation } from "../_util/hooks/useOrientation.mjs";
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
5
|
import { toPropsRefs } from "../_util/tools.mjs";
|
|
6
|
-
import { checkRenderNode } from "../_util/vueNode.mjs";
|
|
7
6
|
import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.mjs";
|
|
8
7
|
import { useSize } from "../config-provider/hooks/useSize.mjs";
|
|
8
|
+
import { checkRenderNode } from "../_util/vueNode.mjs";
|
|
9
9
|
import { useFormItemContext, useFormItemInputContext } from "../form/context.mjs";
|
|
10
10
|
import { toNamePathStr } from "../form/hooks/useForm.mjs";
|
|
11
11
|
import { useRadioGroupContextProvider } from "./context.mjs";
|
|
@@ -68,7 +68,7 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
68
68
|
const labelRender = slots?.labelRender ?? props?.labelRender;
|
|
69
69
|
if (options && options.length) childrenToRender = options.map((option, index) => {
|
|
70
70
|
if (typeof option === "string" || typeof option === "number") {
|
|
71
|
-
const _label
|
|
71
|
+
const _label = labelRender ? labelRender({
|
|
72
72
|
item: {
|
|
73
73
|
label: option,
|
|
74
74
|
value: option
|
|
@@ -81,7 +81,7 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
81
81
|
"disabled": disabled,
|
|
82
82
|
"value": option,
|
|
83
83
|
"checked": value.value === option
|
|
84
|
-
}, _isSlot(_label
|
|
84
|
+
}, _isSlot(_label) ? _label : { default: () => [_label] });
|
|
85
85
|
}
|
|
86
86
|
const _label = labelRender ? labelRender({
|
|
87
87
|
item: option,
|
package/dist/radio/index.d.mts
CHANGED
|
@@ -4,15 +4,15 @@ import "../checkbox/index.mjs";
|
|
|
4
4
|
import { RadioChangeEvent, RadioEmits, RadioGroupEmits, RadioGroupOptionType, RadioGroupProps, RadioGroupSlots, RadioProps, RadioSlots } from "./interface.mjs";
|
|
5
5
|
import { InternalRadio } from "./radio.mjs";
|
|
6
6
|
import "../index.mjs";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue139 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/radio/index.d.ts
|
|
10
10
|
type RadioOptionType = CheckboxOptionType;
|
|
11
|
-
declare const RadioGroup:
|
|
11
|
+
declare const RadioGroup: vue139.DefineSetupFnComponent<RadioGroupProps, RadioGroupEmits, vue139.SlotsType<RadioGroupSlots>, RadioGroupProps & {
|
|
12
12
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
13
|
-
},
|
|
14
|
-
declare const RadioButton:
|
|
13
|
+
}, vue139.PublicProps>;
|
|
14
|
+
declare const RadioButton: vue139.DefineSetupFnComponent<AbstractCheckboxProps, CheckboxEmits, vue139.SlotsType<CheckboxSlots>, AbstractCheckboxProps & {
|
|
15
15
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
16
|
-
},
|
|
16
|
+
}, vue139.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { RadioButton, RadioGroup, RadioOptionType };
|
|
@@ -4,6 +4,7 @@ import { Orientation } from "../_util/hooks/useOrientation.mjs";
|
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
5
|
import { AbstractCheckboxProps, CheckboxEmits } from "../checkbox/Checkbox.mjs";
|
|
6
6
|
import { AbstractCheckboxGroupProps, CheckboxOptionType } from "../checkbox/Group.mjs";
|
|
7
|
+
import { CSSProperties } from "vue";
|
|
7
8
|
|
|
8
9
|
//#region src/radio/interface.d.ts
|
|
9
10
|
type RadioGroupButtonStyle = 'outline' | 'solid';
|
|
@@ -41,9 +42,18 @@ interface RadioGroupSlots {
|
|
|
41
42
|
index: number;
|
|
42
43
|
}) => any;
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
interface RadioSemanticClassNames {
|
|
46
|
+
root?: string;
|
|
47
|
+
icon?: string;
|
|
48
|
+
label?: string;
|
|
49
|
+
}
|
|
50
|
+
interface RadioSemanticStyles {
|
|
51
|
+
root?: CSSProperties;
|
|
52
|
+
icon?: CSSProperties;
|
|
53
|
+
label?: CSSProperties;
|
|
54
|
+
}
|
|
55
|
+
type RadioClassNamesType = SemanticClassNamesType<RadioProps, RadioSemanticClassNames>;
|
|
56
|
+
type RadioStylesType = SemanticStylesType<RadioProps, RadioSemanticStyles>;
|
|
47
57
|
interface RadioProps extends AbstractCheckboxProps {
|
|
48
58
|
/**
|
|
49
59
|
* Control the appearance for Radio to display as button or not
|
package/dist/radio/radio.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioEmits, RadioProps, RadioSlots } from "./interface.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue403 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/radio/radio.d.ts
|
|
6
|
-
declare const InternalRadio:
|
|
6
|
+
declare const InternalRadio: vue403.DefineSetupFnComponent<RadioProps, RadioEmits, SlotsType<RadioSlots>, RadioProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue403.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { InternalRadio };
|
package/dist/radio/radio.mjs
CHANGED
|
@@ -3,11 +3,11 @@ import { getAttrStyleAndClass as getAttrStyleAndClass$1, useMergeSemantic, useTo
|
|
|
3
3
|
import { devUseWarning, isDev } from "../_util/warning.mjs";
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
5
|
import { toPropsRefs } from "../_util/tools.mjs";
|
|
6
|
-
import { checkRenderNode } from "../_util/vueNode.mjs";
|
|
7
6
|
import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.mjs";
|
|
8
7
|
import { useDisabledContext } from "../config-provider/DisabledContext.mjs";
|
|
9
8
|
import { TARGET_CLS } from "../_util/wave/interface.mjs";
|
|
10
9
|
import wave_default from "../_util/wave/index.mjs";
|
|
10
|
+
import { checkRenderNode } from "../_util/vueNode.mjs";
|
|
11
11
|
import { useFormItemInputContext } from "../form/context.mjs";
|
|
12
12
|
import { useRadioGroupContext, useRadioOptionTypeContext } from "./context.mjs";
|
|
13
13
|
import useBubbleLock from "../checkbox/useBubbleLock.mjs";
|
package/dist/rate/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipProps } from "../tooltip/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue137 from "vue";
|
|
3
3
|
import { RateProps } from "@v-c/rate";
|
|
4
4
|
|
|
5
5
|
//#region src/rate/index.d.ts
|
|
@@ -18,8 +18,8 @@ interface RateEmits {
|
|
|
18
18
|
'mouseleave': (e: FocusEvent) => void;
|
|
19
19
|
[key: string]: (...args: any[]) => void;
|
|
20
20
|
}
|
|
21
|
-
declare const Rate:
|
|
21
|
+
declare const Rate: vue137.DefineSetupFnComponent<RateProps$1, RateEmits, {}, RateProps$1 & {
|
|
22
22
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
23
|
-
},
|
|
23
|
+
}, vue137.PublicProps>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Rate, RateEmits, RateProps$1 as RateProps };
|
package/dist/result/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ import { NoFound } from "./noFound.mjs";
|
|
|
5
5
|
import { ServerError } from "./serverError.mjs";
|
|
6
6
|
import { Unauthorized } from "./unauthorized.mjs";
|
|
7
7
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
8
|
-
import * as
|
|
9
|
-
import { SlotsType } from "vue";
|
|
8
|
+
import * as vue151 from "vue";
|
|
9
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/result/index.d.ts
|
|
12
12
|
declare const IconMap: Record<string, any>;
|
|
@@ -17,9 +17,24 @@ declare const ExceptionMap: {
|
|
|
17
17
|
};
|
|
18
18
|
type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500';
|
|
19
19
|
type ResultStatusType = ExceptionStatusType | keyof typeof IconMap;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
interface ResultSemanticClassNames {
|
|
21
|
+
root?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
subTitle?: string;
|
|
24
|
+
body?: string;
|
|
25
|
+
extra?: string;
|
|
26
|
+
icon?: string;
|
|
27
|
+
}
|
|
28
|
+
interface ResultSemanticStyles {
|
|
29
|
+
root?: CSSProperties;
|
|
30
|
+
title?: CSSProperties;
|
|
31
|
+
subTitle?: CSSProperties;
|
|
32
|
+
body?: CSSProperties;
|
|
33
|
+
extra?: CSSProperties;
|
|
34
|
+
icon?: CSSProperties;
|
|
35
|
+
}
|
|
36
|
+
type ResultClassNamesType = SemanticClassNamesType<ResultProps, ResultSemanticClassNames>;
|
|
37
|
+
type ResultStylesType = SemanticStylesType<ResultProps, ResultSemanticStyles>;
|
|
23
38
|
interface ResultProps extends ComponentBaseProps {
|
|
24
39
|
icon?: VueNode;
|
|
25
40
|
status?: ResultStatusType;
|
|
@@ -36,9 +51,9 @@ interface ResultSlots {
|
|
|
36
51
|
extra?: () => any;
|
|
37
52
|
default?: () => any;
|
|
38
53
|
}
|
|
39
|
-
declare const Result:
|
|
54
|
+
declare const Result: vue151.DefineSetupFnComponent<ResultProps, EmptyEmit, SlotsType<ResultSlots>, ResultProps & {
|
|
40
55
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
41
|
-
},
|
|
56
|
+
}, vue151.PublicProps>;
|
|
42
57
|
declare const _default: typeof Result & {
|
|
43
58
|
PRESENTED_IMAGE_403: (typeof ExceptionMap)["403"];
|
|
44
59
|
PRESENTED_IMAGE_404: (typeof ExceptionMap)["404"];
|
package/dist/result/index.mjs
CHANGED
|
@@ -6,10 +6,11 @@ import noFound_default from "./noFound.mjs";
|
|
|
6
6
|
import serverError_default from "./serverError.mjs";
|
|
7
7
|
import style_default from "./style/index.mjs";
|
|
8
8
|
import unauthorized_default from "./unauthorized.mjs";
|
|
9
|
-
import { computed, createVNode, defineComponent, mergeDefaults } from "vue";
|
|
9
|
+
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
10
10
|
import { classNames } from "@v-c/util";
|
|
11
|
-
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
11
|
+
import { filterEmpty, getAttrStyleAndClass } from "@v-c/util/dist/props-util";
|
|
12
12
|
import { CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, WarningFilled } from "@antdv-next/icons";
|
|
13
|
+
import pickAttrs from "@v-c/util/dist/pickAttrs";
|
|
13
14
|
|
|
14
15
|
//#region src/result/index.tsx
|
|
15
16
|
const IconMap = {
|
|
@@ -86,7 +87,8 @@ const Result = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
86
87
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, styles), useToProps(mergedProps));
|
|
87
88
|
return () => {
|
|
88
89
|
const { status, rootClass } = props;
|
|
89
|
-
const
|
|
90
|
+
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
91
|
+
const rootClassNames = classNames(prefixCls.value, `${prefixCls.value}-${status}`, className, contextClassName.value, rootClass, { [`${prefixCls.value}-rtl`]: direction.value === "rtl" }, hashId.value, cssVarCls.value, mergedClassNames.value.root);
|
|
90
92
|
const subTitle = getSlotPropsFnRun(slots, props, "subTitle");
|
|
91
93
|
const title = getSlotPropsFnRun(slots, props, "title");
|
|
92
94
|
const extra = getSlotPropsFnRun(slots, props, "extra");
|
|
@@ -95,17 +97,20 @@ const Result = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
95
97
|
const rootStyles = [
|
|
96
98
|
mergedStyles.value.root,
|
|
97
99
|
contextStyle.value,
|
|
98
|
-
|
|
100
|
+
style
|
|
99
101
|
];
|
|
100
102
|
const titleClassNames = clsx$1(`${prefixCls.value}-title`, mergedClassNames.value.title);
|
|
101
103
|
const subTitleClassNames = clsx$1(`${prefixCls.value}-subtitle`, mergedClassNames.value.subTitle);
|
|
102
104
|
const extraClassNames = clsx$1(`${prefixCls.value}-extra`, mergedClassNames.value.extra);
|
|
103
105
|
const bodyClassNames = clsx$1(`${prefixCls.value}-body`, mergedClassNames.value.body);
|
|
104
106
|
const iconClassNames = clsx$1(`${prefixCls.value}-icon`, { [`${prefixCls.value}-image`]: ExceptionStatus.includes(`${status}`) }, mergedClassNames.value.icon);
|
|
105
|
-
return createVNode("div", {
|
|
107
|
+
return createVNode("div", mergeProps(pickAttrs(restAttrs, {
|
|
108
|
+
aria: true,
|
|
109
|
+
data: true
|
|
110
|
+
}), {
|
|
106
111
|
"class": rootClassNames,
|
|
107
112
|
"style": rootStyles
|
|
108
|
-
}, [
|
|
113
|
+
}), [
|
|
109
114
|
createVNode(Icon, {
|
|
110
115
|
"class": iconClassNames,
|
|
111
116
|
"status": status,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue_jsx_runtime3 from "vue/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/result/noFound.d.ts
|
|
4
|
-
declare function NoFound():
|
|
4
|
+
declare function NoFound(): vue_jsx_runtime3.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { NoFound };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue_jsx_runtime2 from "vue/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/result/serverError.d.ts
|
|
4
|
-
declare function ServerError():
|
|
4
|
+
declare function ServerError(): vue_jsx_runtime2.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { ServerError };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue_jsx_runtime1 from "vue/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/result/unauthorized.d.ts
|
|
4
|
-
declare function Unauthorized():
|
|
4
|
+
declare function Unauthorized(): vue_jsx_runtime1.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Unauthorized };
|
|
@@ -4,12 +4,23 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
4
4
|
import { Orientation } from "../_util/hooks/useOrientation.mjs";
|
|
5
5
|
import "../_util/hooks/index.mjs";
|
|
6
6
|
import { TooltipProps } from "../tooltip/index.mjs";
|
|
7
|
-
import * as
|
|
8
|
-
import { App, SlotsType } from "vue";
|
|
7
|
+
import * as vue145 from "vue";
|
|
8
|
+
import { App, CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { SegmentedLabeledOption, SegmentedProps, SegmentedRawOption, SegmentedValue } from "@v-c/segmented";
|
|
10
10
|
|
|
11
11
|
//#region src/segmented/index.d.ts
|
|
12
|
-
|
|
12
|
+
interface SegmentedSemanticClassNames {
|
|
13
|
+
root?: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
item?: string;
|
|
17
|
+
}
|
|
18
|
+
interface SegmentedSemanticStyles {
|
|
19
|
+
root?: CSSProperties;
|
|
20
|
+
icon?: CSSProperties;
|
|
21
|
+
label?: CSSProperties;
|
|
22
|
+
item?: CSSProperties;
|
|
23
|
+
}
|
|
13
24
|
interface SegmentedLabeledOptionWithoutIcon<ValueType = SegmentedValue> extends SegmentedLabeledOption<ValueType> {
|
|
14
25
|
label: SegmentedLabeledOption['label'];
|
|
15
26
|
tooltip?: string | TooltipProps;
|
|
@@ -22,8 +33,8 @@ interface SegmentedLabeledOptionWithIcon<ValueType = SegmentedValue> extends Omi
|
|
|
22
33
|
}
|
|
23
34
|
type SegmentedLabeledOption$1<ValueType = SegmentedValue> = SegmentedLabeledOptionWithIcon<ValueType> | SegmentedLabeledOptionWithoutIcon<ValueType>;
|
|
24
35
|
type SegmentedOptions<T = SegmentedRawOption> = (T | SegmentedLabeledOption$1<T>)[];
|
|
25
|
-
type SegmentedClassNamesType = SemanticClassNamesType<SegmentedProps$1,
|
|
26
|
-
type SegmentedStylesType = SemanticStylesType<SegmentedProps$1,
|
|
36
|
+
type SegmentedClassNamesType = SemanticClassNamesType<SegmentedProps$1, SegmentedSemanticClassNames>;
|
|
37
|
+
type SegmentedStylesType = SemanticStylesType<SegmentedProps$1, SegmentedSemanticStyles>;
|
|
27
38
|
interface SegmentedProps$1 extends Omit<SegmentedProps, 'size' | 'options' | 'itemRender' | 'styles' | 'classNames' | 'onChange'> {
|
|
28
39
|
options: SegmentedOptions;
|
|
29
40
|
rootClass?: string;
|
|
@@ -48,9 +59,9 @@ interface SegmentedSlots {
|
|
|
48
59
|
iconRender: (option: SegmentedLabeledOption$1) => any;
|
|
49
60
|
labelRender: (option: SegmentedLabeledOption$1) => any;
|
|
50
61
|
}
|
|
51
|
-
declare const InternalSegmented:
|
|
62
|
+
declare const InternalSegmented: vue145.DefineSetupFnComponent<SegmentedProps$1, SegmentedEmits, SlotsType<SegmentedSlots>, SegmentedProps$1 & {
|
|
52
63
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
|
-
},
|
|
64
|
+
}, vue145.PublicProps>;
|
|
54
65
|
declare const Segmented: typeof InternalSegmented & {
|
|
55
66
|
install: (app: App) => void;
|
|
56
67
|
};
|
package/dist/select/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SizeType } from "../config-provider/SizeContext.mjs";
|
|
2
2
|
import { VueNode } from "../_util/type.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.mjs";
|
|
6
6
|
import { SelectCommonPlacement } from "../_util/motion.mjs";
|
|
7
7
|
import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue147 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
import { SelectProps } from "@v-c/select";
|
|
11
11
|
import * as _v_c_select_dist_Option_js0 from "@v-c/select/dist/Option.js";
|
|
@@ -37,23 +37,51 @@ interface InternalSelectProps extends ComponentBaseProps, Omit<SelectProps, 'mod
|
|
|
37
37
|
* @default "outlined"
|
|
38
38
|
*/
|
|
39
39
|
variant?: Variant;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
styles?: SelectStylesType;
|
|
41
|
+
classes?: SelectClassNamesType;
|
|
42
|
+
}
|
|
43
|
+
interface SelectSemanticClassNames {
|
|
44
|
+
root?: string;
|
|
45
|
+
prefix?: string;
|
|
46
|
+
suffix?: string;
|
|
47
|
+
input?: string;
|
|
48
|
+
placeholder?: string;
|
|
49
|
+
content?: string;
|
|
50
|
+
item?: string;
|
|
51
|
+
itemContent?: string;
|
|
52
|
+
itemRemove?: string;
|
|
53
|
+
clear?: string;
|
|
54
|
+
}
|
|
55
|
+
interface SelectSemanticStyles {
|
|
56
|
+
root?: CSSProperties;
|
|
57
|
+
prefix?: CSSProperties;
|
|
58
|
+
suffix?: CSSProperties;
|
|
59
|
+
input?: CSSProperties;
|
|
60
|
+
placeholder?: CSSProperties;
|
|
61
|
+
content?: CSSProperties;
|
|
62
|
+
item?: CSSProperties;
|
|
63
|
+
itemContent?: CSSProperties;
|
|
64
|
+
itemRemove?: CSSProperties;
|
|
65
|
+
clear?: CSSProperties;
|
|
66
|
+
}
|
|
67
|
+
interface SelectPopupSemanticClassNames {
|
|
68
|
+
root?: string;
|
|
69
|
+
listItem?: string;
|
|
70
|
+
list?: string;
|
|
71
|
+
}
|
|
72
|
+
interface SelectPopupSemanticStyles {
|
|
73
|
+
root?: CSSProperties;
|
|
74
|
+
listItem?: CSSProperties;
|
|
75
|
+
list?: CSSProperties;
|
|
46
76
|
}
|
|
47
|
-
type
|
|
48
|
-
|
|
49
|
-
type SelectClassNamesType = SemanticClassNamesType<SelectProps$1, SemanticName, {
|
|
50
|
-
popup?: SemanticClassNames<PopupSemantic>;
|
|
77
|
+
type SelectClassNamesType = SemanticClassNamesType<SelectProps$1, SelectSemanticClassNames, {
|
|
78
|
+
popup?: SelectPopupSemanticClassNames;
|
|
51
79
|
}>;
|
|
52
|
-
type SelectStylesType = SemanticStylesType<SelectProps$1,
|
|
53
|
-
popup?:
|
|
80
|
+
type SelectStylesType = SemanticStylesType<SelectProps$1, SelectSemanticStyles, {
|
|
81
|
+
popup?: SelectPopupSemanticStyles;
|
|
54
82
|
}>;
|
|
55
83
|
type RcEventKeys = 'onClear' | 'onKeyUp' | 'onKeyDown' | 'onBlur' | 'onClick' | 'onActive' | 'onChange' | 'onDeselect' | 'onInputKeyDown' | 'onMouseDown' | 'onMouseLeave' | 'onMouseEnter' | 'onFocus' | 'onPopupScroll' | 'onPopupVisibleChange' | 'onSelect' | 'optionRender';
|
|
56
|
-
interface SelectProps$1 extends Omit<InternalSelectProps, 'mode' | 'getInputElement' | 'getRawInputElement' | 'backfill' | 'placement' | 'dropdownClassName' | 'dropdownStyle' | RcEventKeys> {
|
|
84
|
+
interface SelectProps$1 extends Omit<InternalSelectProps, 'mode' | 'getInputElement' | 'getRawInputElement' | 'backfill' | 'placement' | 'dropdownClassName' | 'dropdownStyle' | 'classes' | 'styles' | RcEventKeys> {
|
|
57
85
|
placement?: SelectCommonPlacement;
|
|
58
86
|
mode?: 'multiple' | 'tags';
|
|
59
87
|
status?: InputStatus;
|
|
@@ -110,10 +138,10 @@ interface SelectSlots {
|
|
|
110
138
|
maxTagPlaceholder?: (data: any[]) => any;
|
|
111
139
|
notFoundContent?: () => any;
|
|
112
140
|
}
|
|
113
|
-
declare const Select:
|
|
141
|
+
declare const Select: vue147.DefineSetupFnComponent<SelectProps$1, SelectEmits, SlotsType<SelectSlots>, SelectProps$1 & {
|
|
114
142
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
115
|
-
},
|
|
116
|
-
declare const SelectOption:
|
|
117
|
-
declare const SelectOptGroup:
|
|
143
|
+
}, vue147.PublicProps>;
|
|
144
|
+
declare const SelectOption: vue147.FunctionalComponent<_v_c_select_dist_Option_js0.OptionProps, {}, any, {}>;
|
|
145
|
+
declare const SelectOptGroup: vue147.FunctionalComponent<_v_c_select_dist_OptGroup_js0.OptGroupProps, {}, any, {}>;
|
|
118
146
|
//#endregion
|
|
119
|
-
export { InternalSelectProps, Select, SelectEmits, SelectOptGroup, SelectOption, SelectProps$1 as SelectProps, SelectSlots, SelectValue };
|
|
147
|
+
export { InternalSelectProps, Select, SelectEmits, SelectOptGroup, SelectOption, SelectPopupSemanticClassNames, SelectPopupSemanticStyles, SelectProps$1 as SelectProps, SelectSlots, SelectValue };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue435 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Avatar.d.ts
|
|
5
5
|
interface SkeletonAvatarProps extends Omit<SkeletonElementProps, 'shape'> {
|
|
6
6
|
shape?: 'circle' | 'square';
|
|
7
7
|
}
|
|
8
|
-
declare const SkeletonAvatar:
|
|
8
|
+
declare const SkeletonAvatar: vue435.DefineSetupFnComponent<SkeletonAvatarProps, {}, {}, SkeletonAvatarProps & {}, vue435.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SkeletonAvatar, SkeletonAvatarProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue441 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Button.d.ts
|
|
5
5
|
interface SkeletonButtonProps extends Omit<SkeletonElementProps, 'size'> {
|
|
6
6
|
size?: 'large' | 'small' | 'default';
|
|
7
7
|
block?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const SkeletonButton:
|
|
9
|
+
declare const SkeletonButton: vue441.DefineSetupFnComponent<SkeletonButtonProps, {}, {}, SkeletonButtonProps & {}, vue441.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SkeletonButton };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue443 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Image.d.ts
|
|
5
5
|
interface SkeletonImageProps extends Omit<SkeletonElementProps, 'size' | 'shape'> {}
|
|
6
|
-
declare const SkeletonImage:
|
|
6
|
+
declare const SkeletonImage: vue443.DefineSetupFnComponent<SkeletonImageProps, {}, {}, SkeletonImageProps & {}, vue443.PublicProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { SkeletonImage };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SkeletonElementProps } from "./Element.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue445 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/skeleton/Input.d.ts
|
|
5
5
|
interface SkeletonInputProps extends Omit<SkeletonElementProps, 'size' | 'shape'> {
|
|
6
6
|
size?: 'large' | 'small' | 'default';
|
|
7
7
|
block?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const SkeletonInput:
|
|
9
|
+
declare const SkeletonInput: vue445.DefineSetupFnComponent<SkeletonInputProps, {}, {}, SkeletonInputProps & {}, vue445.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SkeletonInput };
|
package/dist/skeleton/Node.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.mjs";
|
|
2
2
|
import { SkeletonElementProps } from "./Element.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue433 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/skeleton/Node.d.ts
|
|
@@ -10,8 +10,8 @@ interface SkeletonNodeProps extends Omit<SkeletonElementProps, 'size' | 'shape'>
|
|
|
10
10
|
interface SkeletonNodeSlots {
|
|
11
11
|
default?: () => any;
|
|
12
12
|
}
|
|
13
|
-
declare const SkeletonNode:
|
|
13
|
+
declare const SkeletonNode: vue433.DefineSetupFnComponent<SkeletonNodeProps, EmptyEmit, SlotsType<SkeletonNodeSlots>, SkeletonNodeProps & {
|
|
14
14
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
15
|
-
},
|
|
15
|
+
}, vue433.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SkeletonNode };
|
|
@@ -9,14 +9,29 @@ import { SkeletonImage } from "./Image.mjs";
|
|
|
9
9
|
import { SkeletonInput } from "./Input.mjs";
|
|
10
10
|
import { SkeletonNode } from "./Node.mjs";
|
|
11
11
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
12
|
-
import * as
|
|
13
|
-
import { SlotsType } from "vue";
|
|
12
|
+
import * as vue291 from "vue";
|
|
13
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
14
14
|
|
|
15
15
|
//#region src/skeleton/Skeleton.d.ts
|
|
16
16
|
type SkeletonAvatarProps = Omit<SkeletonAvatarProps$1, 'active'>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
interface SkeletonSemanticClassNames {
|
|
18
|
+
root?: string;
|
|
19
|
+
header?: string;
|
|
20
|
+
section?: string;
|
|
21
|
+
avatar?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
paragraph?: string;
|
|
24
|
+
}
|
|
25
|
+
interface SkeletonSemanticStyles {
|
|
26
|
+
root?: CSSProperties;
|
|
27
|
+
header?: CSSProperties;
|
|
28
|
+
section?: CSSProperties;
|
|
29
|
+
avatar?: CSSProperties;
|
|
30
|
+
title?: CSSProperties;
|
|
31
|
+
paragraph?: CSSProperties;
|
|
32
|
+
}
|
|
33
|
+
type SkeletonClassNamesType = SemanticClassNamesType<SkeletonProps, SkeletonSemanticClassNames>;
|
|
34
|
+
type SkeletonStylesType = SemanticStylesType<SkeletonProps, SkeletonSemanticStyles>;
|
|
20
35
|
interface SkeletonProps extends ComponentBaseProps {
|
|
21
36
|
active?: boolean;
|
|
22
37
|
loading?: boolean;
|
|
@@ -30,9 +45,9 @@ interface SkeletonProps extends ComponentBaseProps {
|
|
|
30
45
|
interface SkeletonSlots {
|
|
31
46
|
default?: () => any;
|
|
32
47
|
}
|
|
33
|
-
declare const Skeleton:
|
|
48
|
+
declare const Skeleton: vue291.DefineSetupFnComponent<SkeletonProps, EmptyEmit, SlotsType<SkeletonSlots>, SkeletonProps & {
|
|
34
49
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
35
|
-
},
|
|
50
|
+
}, vue291.PublicProps>;
|
|
36
51
|
type SkeletonType = typeof Skeleton & {
|
|
37
52
|
Button: typeof SkeletonButton;
|
|
38
53
|
Avatar: typeof SkeletonAvatar;
|