antdv-next 1.4.1 → 1.4.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/dist/_util/hooks/useClosable.d.ts +5 -5
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +8 -4
- package/dist/alert/Alert.d.ts +7 -7
- package/dist/antd-with-locales.esm.js +13344 -11050
- package/dist/antd-with-locales.js +80 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10337 -9090
- package/dist/antd.js +74 -74
- package/dist/auto-complete/index.d.ts +4 -4
- package/dist/avatar/Avatar.d.ts +3 -3
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/border-beam/style/index.js +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +4 -4
- package/dist/breadcrumb/BreadcrumbItem.d.ts +4 -4
- package/dist/button/Button.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.js +13 -0
- package/dist/calendar/generateCalendar.d.ts +8 -8
- package/dist/card/Card.d.ts +9 -9
- package/dist/card/CardMeta.d.ts +4 -4
- package/dist/carousel/index.d.ts +3 -3
- package/dist/cascader/Panel.js +26 -2
- package/dist/cascader/index.d.ts +53 -21
- package/dist/cascader/index.js +33 -5
- package/dist/checkbox/Checkbox.d.ts +1 -1
- package/dist/checkbox/Checkbox.js +4 -4
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.js +3 -3
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/collapse/CollapsePanel.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/interface.d.ts +2 -2
- package/dist/config-provider/context.d.ts +20 -14
- package/dist/config-provider/index.js +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +112 -10
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.js +101 -11
- package/dist/date-picker/util.d.ts +10 -1
- package/dist/descriptions/Item.d.ts +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +11 -11
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/descriptions/style/index.js +2 -3
- package/dist/drawer/DrawerPanel.d.ts +5 -5
- package/dist/empty/index.d.ts +3 -3
- package/dist/float-button/FloatButton.d.ts +5 -5
- package/dist/float-button/FloatButton.js +1 -1
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/context.d.ts +1 -1
- package/dist/form/hooks/useVariant.d.ts +1 -1
- package/dist/image/index.d.ts +2 -2
- package/dist/input/Input.d.ts +5 -5
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +3 -3
- package/dist/input/TextArea.js +1 -1
- package/dist/input/style/search.js +1 -0
- package/dist/input-number/index.d.ts +8 -8
- package/dist/input-number/index.js +0 -4
- package/dist/layout/layout.js +54 -48
- package/dist/locale/ar_EG.js +18 -4
- package/dist/locale/az_AZ.js +2 -1
- package/dist/locale/bg_BG.js +44 -3
- package/dist/locale/bn_BD.js +20 -4
- package/dist/locale/by_BY.js +17 -3
- package/dist/locale/ca_ES.js +22 -4
- package/dist/locale/cs_CZ.js +6 -3
- package/dist/locale/da_DK.js +34 -3
- package/dist/locale/de_DE.js +14 -4
- package/dist/locale/el_GR.js +4 -2
- package/dist/locale/en_GB.js +6 -3
- package/dist/locale/en_US.js +2 -1
- package/dist/locale/es_ES.js +17 -3
- package/dist/locale/et_EE.js +17 -3
- package/dist/locale/eu_ES.js +8 -4
- package/dist/locale/fa_IR.js +2 -1
- package/dist/locale/fi_FI.js +35 -4
- package/dist/locale/fr_BE.js +20 -3
- package/dist/locale/fr_CA.js +20 -3
- package/dist/locale/fr_FR.js +20 -3
- package/dist/locale/ga_IE.js +24 -5
- package/dist/locale/gl_ES.js +36 -5
- package/dist/locale/he_IL.js +30 -5
- package/dist/locale/hi_IN.js +20 -4
- package/dist/locale/hr_HR.js +21 -4
- package/dist/locale/hu_HU.js +43 -3
- package/dist/locale/hy_AM.js +33 -4
- package/dist/locale/id_ID.js +2 -1
- package/dist/locale/is_IS.js +44 -3
- package/dist/locale/it_IT.js +6 -3
- package/dist/locale/ja_JP.js +2 -1
- package/dist/locale/ka_GE.js +20 -4
- package/dist/locale/kk_KZ.js +22 -5
- package/dist/locale/km_KH.js +35 -4
- package/dist/locale/kmr_IQ.js +45 -4
- package/dist/locale/kn_IN.js +18 -3
- package/dist/locale/ko_KR.js +8 -4
- package/dist/locale/ku_IQ.js +45 -4
- package/dist/locale/lt_LT.js +8 -4
- package/dist/locale/lv_LV.js +45 -4
- package/dist/locale/mk_MK.js +36 -4
- package/dist/locale/ml_IN.js +20 -4
- package/dist/locale/mn_MN.js +17 -3
- package/dist/locale/mr_IN.js +13 -1
- package/dist/locale/ms_MY.js +8 -4
- package/dist/locale/my_MM.js +18 -5
- package/dist/locale/ne_NP.js +2 -1
- package/dist/locale/nl_BE.js +20 -4
- package/dist/locale/nl_NL.js +20 -4
- package/dist/locale/pl_PL.js +17 -3
- package/dist/locale/pt_BR.js +6 -3
- package/dist/locale/pt_PT.js +2 -1
- package/dist/locale/ro_RO.js +20 -4
- package/dist/locale/ru_RU.js +4 -2
- package/dist/locale/si_LK.js +17 -3
- package/dist/locale/sk_SK.js +17 -3
- package/dist/locale/sl_SI.js +45 -4
- package/dist/locale/sr_RS.js +20 -4
- package/dist/locale/sv_SE.js +14 -4
- package/dist/locale/ta_IN.js +23 -5
- package/dist/locale/th_TH.js +2 -1
- package/dist/locale/tk_TK.js +21 -5
- package/dist/locale/tr_TR.js +17 -2
- package/dist/locale/uk_UA.js +12 -3
- package/dist/locale/ur_PK.js +20 -4
- package/dist/locale/uz_UZ.js +14 -4
- package/dist/locale/vi_VN.js +2 -1
- package/dist/locale/zh_CN.js +2 -1
- package/dist/locale/zh_HK.js +4 -2
- package/dist/locale/zh_TW.js +4 -2
- package/dist/masonry/Masonry.d.ts +18 -10
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/mentions/index.d.ts +4 -4
- package/dist/mentions/index.js +62 -1
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/MenuItem.js +1 -1
- package/dist/menu/MenuItemGroup.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +2 -2
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/message/PureList.d.ts +3 -1
- package/dist/message/PureList.js +4 -0
- package/dist/message/interface.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +5 -1
- package/dist/modal/ConfirmDialog.js +40 -19
- package/dist/modal/Modal.d.ts +12 -3
- package/dist/modal/Modal.js +24 -7
- package/dist/modal/interface.d.ts +14 -14
- package/dist/notification/PureList.d.ts +3 -1
- package/dist/notification/PureList.js +4 -0
- package/dist/notification/interface.d.ts +8 -8
- package/dist/notification/util.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +1 -1
- package/dist/pagination/interface.d.ts +7 -7
- package/dist/pagination/style/index.js +1 -1
- package/dist/popconfirm/index.d.ts +6 -6
- package/dist/popover/index.d.ts +4 -4
- package/dist/radio/radio.js +4 -4
- package/dist/radio/radioButton.js +4 -4
- package/dist/radio/style/index.js +2 -2
- package/dist/result/index.d.ts +5 -5
- package/dist/segmented/index.d.ts +38 -20
- package/dist/segmented/index.js +5 -10
- package/dist/segmented/style/index.js +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/select-input-customize.js +1 -0
- package/dist/slider/index.js +1 -1
- package/dist/space/Compact.d.ts +1 -1
- package/dist/space/index.d.ts +2 -2
- package/dist/spin/index.d.ts +5 -5
- package/dist/splitter/interface.d.ts +6 -6
- package/dist/statistic/Statistic.d.ts +4 -4
- package/dist/steps/index.d.ts +6 -6
- package/dist/style/motion/index.d.ts +2 -2
- package/dist/style/motion/index.js +2 -2
- package/dist/style/motion/util.d.ts +8 -1
- package/dist/style/motion/util.js +13 -1
- package/dist/switch/index.d.ts +4 -4
- package/dist/switch/index.js +7 -7
- package/dist/switch/style/index.js +5 -3
- package/dist/table/InternalTable.js +8 -25
- package/dist/table/Table.d.ts +20 -9
- package/dist/table/hooks/useColumnTitleProps.d.ts +8 -0
- package/dist/table/hooks/useColumnTitleProps.js +16 -0
- package/dist/table/hooks/useFilter/FilterDropdown.js +2 -1
- package/dist/table/hooks/useSpinProps.d.ts +7 -0
- package/dist/table/hooks/useSpinProps.js +14 -0
- package/dist/table/util.d.ts +5 -2
- package/dist/table/util.js +10 -1
- package/dist/tabs/index.d.ts +5 -5
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tag/index.d.ts +3 -3
- package/dist/time-picker/index.d.ts +2 -2
- package/dist/time-picker/index.js +211 -19
- package/dist/timeline/Timeline.d.ts +9 -9
- package/dist/tooltip/PurePanel.js +1 -1
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tour/interface.d.ts +4 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/index.d.ts +27 -6
- package/dist/transfer/interface.d.ts +17 -17
- package/dist/transfer/search.d.ts +2 -2
- package/dist/tree/Tree.d.ts +6 -6
- package/dist/tree-select/index.d.ts +57 -28
- package/dist/tree-select/index.js +4 -3
- package/dist/typography/Base/Ellipsis.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/interface.d.ts +8 -8
- package/dist/upload/UploadList/index.js +1 -1
- package/package.json +10 -10
- package/web-tags.json +1301 -1285
- package/web-types.json +3864 -3812
|
@@ -18,6 +18,7 @@ import { clsx } from "@v-c/util";
|
|
|
18
18
|
import { CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled } from "@antdv-next/icons";
|
|
19
19
|
import { getTransitionName } from "@v-c/util/dist/utils/transition";
|
|
20
20
|
//#region src/modal/ConfirmDialog.tsx
|
|
21
|
+
const CONFIRM_OMIT_SEMANTIC_NAMES = ["body"];
|
|
21
22
|
const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
|
|
22
23
|
if (isDev) {
|
|
23
24
|
const { icon } = props;
|
|
@@ -46,7 +47,7 @@ const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
46
47
|
...props
|
|
47
48
|
})));
|
|
48
49
|
return () => {
|
|
49
|
-
const { confirmPrefixCls, footer } = props;
|
|
50
|
+
const { confirmPrefixCls, footer, contentClassName, contentStyle } = props;
|
|
50
51
|
const content = getSlotPropsFnRun({}, props, "content", false);
|
|
51
52
|
const icon = getSlotPropsFnRun({}, props, "icon", false);
|
|
52
53
|
const title = getSlotPropsFnRun({}, props, "title", false);
|
|
@@ -71,7 +72,10 @@ const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
71
72
|
createVNode("div", { "class": clsx(bodyCls, {
|
|
72
73
|
[`${bodyCls}-has-title`]: hasTitle,
|
|
73
74
|
[`${bodyCls}-no-icon`]: !hasIcon
|
|
74
|
-
}) }, [mergedIcon, createVNode("div", { "class": `${confirmPrefixCls}-paragraph` }, [hasTitle && createVNode("span", { "class": `${confirmPrefixCls}-title` }, [title]), createVNode("div", {
|
|
75
|
+
}) }, [mergedIcon, createVNode("div", { "class": `${confirmPrefixCls}-paragraph` }, [hasTitle && createVNode("span", { "class": `${confirmPrefixCls}-title` }, [title]), createVNode("div", {
|
|
76
|
+
"class": clsx(`${confirmPrefixCls}-content`, contentClassName),
|
|
77
|
+
"style": contentStyle
|
|
78
|
+
}, [content])])]),
|
|
75
79
|
footer === void 0 || typeof footer === "function" ? createVNode("div", { "class": `${confirmPrefixCls}-btns` }, [typeof footer === "function" ? footer({
|
|
76
80
|
originNode: footerOriginNode,
|
|
77
81
|
extra: {
|
|
@@ -410,6 +414,14 @@ const ConfirmContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
410
414
|
confirmPrefixCls: {
|
|
411
415
|
type: String,
|
|
412
416
|
required: true
|
|
417
|
+
},
|
|
418
|
+
contentClassName: {
|
|
419
|
+
type: String,
|
|
420
|
+
required: false
|
|
421
|
+
},
|
|
422
|
+
contentStyle: {
|
|
423
|
+
type: Object,
|
|
424
|
+
required: false
|
|
413
425
|
}
|
|
414
426
|
},
|
|
415
427
|
name: "ConfirmContent",
|
|
@@ -434,6 +446,15 @@ const ConfirmDialog = /* @__PURE__ */ defineComponent((props) => {
|
|
|
434
446
|
return nextMaskConfig;
|
|
435
447
|
};
|
|
436
448
|
const mergedMask = mergedMaskFn();
|
|
449
|
+
const semanticStyles = typeof styles === "function" ? (info) => ({
|
|
450
|
+
body: bodyStyle,
|
|
451
|
+
mask: maskStyle,
|
|
452
|
+
...styles(info)
|
|
453
|
+
}) : {
|
|
454
|
+
body: bodyStyle,
|
|
455
|
+
mask: maskStyle,
|
|
456
|
+
...styles
|
|
457
|
+
};
|
|
437
458
|
return createVNode(Modal, mergeProps(restProps, {
|
|
438
459
|
"class": clsx(confirmPrefixCls, `${confirmPrefixCls}-${type || "confirm"}`, { [`${confirmPrefixCls}-rtl`]: direction === "rtl" }, className),
|
|
439
460
|
"wrapClassName": clsx({ [`${confirmPrefixCls}-centered`]: !!props.centered }, wrapClassName),
|
|
@@ -447,25 +468,25 @@ const ConfirmDialog = /* @__PURE__ */ defineComponent((props) => {
|
|
|
447
468
|
"maskTransitionName": getTransitionName(rootPrefixCls || "", "fade", props.maskTransitionName),
|
|
448
469
|
"mask": mergedMask,
|
|
449
470
|
"style": style,
|
|
450
|
-
"styles":
|
|
451
|
-
body: bodyStyle,
|
|
452
|
-
mask: maskStyle,
|
|
453
|
-
...styles
|
|
454
|
-
},
|
|
471
|
+
"styles": semanticStyles,
|
|
455
472
|
"width": width,
|
|
456
473
|
"zIndex": mergedZIndex.value,
|
|
457
|
-
"closable": closable
|
|
458
|
-
|
|
459
|
-
"
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
474
|
+
"closable": closable,
|
|
475
|
+
"_semanticOmit": CONFIRM_OMIT_SEMANTIC_NAMES,
|
|
476
|
+
"_renderSemanticContent": ({ classNames: mergedClassNames, styles: mergedStyles }) => createVNode(ConfirmContent, mergeProps(props, {
|
|
477
|
+
"confirmPrefixCls": confirmPrefixCls,
|
|
478
|
+
"okButtonProps": {
|
|
479
|
+
...contextOkButtonProps.value,
|
|
480
|
+
...props.okButtonProps
|
|
481
|
+
},
|
|
482
|
+
"cancelButtonProps": {
|
|
483
|
+
...contextCancelButtonProps.value,
|
|
484
|
+
...props.cancelButtonProps
|
|
485
|
+
},
|
|
486
|
+
"contentClassName": mergedClassNames.body,
|
|
487
|
+
"contentStyle": mergedStyles.body
|
|
488
|
+
}), null)
|
|
489
|
+
}), null);
|
|
469
490
|
};
|
|
470
491
|
}, {
|
|
471
492
|
props: /*@__PURE__*/ mergeDefaults({
|
package/dist/modal/Modal.d.ts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { ModalEmits, ModalProps, ModalSlots } from "./interface.js";
|
|
2
|
-
import { SlotsType } from "vue";
|
|
2
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/modal/Modal.d.ts
|
|
5
|
-
interface
|
|
5
|
+
interface ModalSemanticRenderInfo {
|
|
6
|
+
classNames: Record<string, string | undefined>;
|
|
7
|
+
styles: Record<string, CSSProperties | undefined>;
|
|
8
|
+
}
|
|
9
|
+
interface InternalModalProps extends ModalProps, ModalEmitsProps {
|
|
10
|
+
/** @private Internal usage for Modal static methods. Do not use in your production. */
|
|
11
|
+
_semanticOmit?: string[];
|
|
12
|
+
/** @private Internal usage for Modal static methods. Do not use in your production. */
|
|
13
|
+
_renderSemanticContent?: (semantic: ModalSemanticRenderInfo) => any;
|
|
14
|
+
}
|
|
6
15
|
interface ModalEmitsProps {
|
|
7
16
|
onOk?: ModalEmits['ok'];
|
|
8
17
|
onCancel?: ModalEmits['cancel'];
|
|
@@ -10,4 +19,4 @@ interface ModalEmitsProps {
|
|
|
10
19
|
}
|
|
11
20
|
declare const Modal: import("vue").DefineSetupFnComponent<InternalModalProps, ModalEmits, SlotsType<ModalSlots>, InternalModalProps, import("vue").PublicProps>;
|
|
12
21
|
//#endregion
|
|
13
|
-
export { InternalModalProps, ModalEmitsProps, Modal as default };
|
|
22
|
+
export { InternalModalProps, ModalEmitsProps, ModalSemanticRenderInfo, Modal as default };
|
package/dist/modal/Modal.js
CHANGED
|
@@ -187,11 +187,20 @@ const Modal = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
187
187
|
"mousePosition",
|
|
188
188
|
"focusTriggerAfterClose",
|
|
189
189
|
"panelRef",
|
|
190
|
-
"focusable"
|
|
190
|
+
"focusable",
|
|
191
|
+
"_semanticOmit",
|
|
192
|
+
"_renderSemanticContent"
|
|
191
193
|
]);
|
|
194
|
+
const { _semanticOmit, _renderSemanticContent } = props;
|
|
195
|
+
const dialogClassNames = _semanticOmit ? omit(mergedClassNames.value, _semanticOmit) : mergedClassNames.value;
|
|
196
|
+
const dialogStyles = _semanticOmit ? omit(mergedStyles.value, _semanticOmit) : mergedStyles.value;
|
|
197
|
+
const renderSemanticContent = () => _renderSemanticContent ? _renderSemanticContent({
|
|
198
|
+
classNames: mergedClassNames.value,
|
|
199
|
+
styles: mergedStyles.value
|
|
200
|
+
}) : slots.default?.();
|
|
192
201
|
const titleNode = getSlotPropsFnRun(slots, props, "title");
|
|
193
202
|
const mergedClassName = clsx(hashId.value, contextClassName.value, className);
|
|
194
|
-
const mergedRootClassName = clsx(hashId.value, rootClassRef.value, cssVarCls.value, rootCls.value,
|
|
203
|
+
const mergedRootClassName = clsx(hashId.value, rootClassRef.value, cssVarCls.value, rootCls.value, dialogClassNames.root);
|
|
195
204
|
const getContainer = customizeGetContainer === void 0 ? getContextPopupContainer : customizeGetContainer;
|
|
196
205
|
return createVNode(ContextIsolator, {
|
|
197
206
|
"form": true,
|
|
@@ -204,7 +213,7 @@ const Modal = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
204
213
|
"rootClassName": mergedRootClassName,
|
|
205
214
|
"rootStyle": {
|
|
206
215
|
...rootStyleRef.value,
|
|
207
|
-
...
|
|
216
|
+
...dialogStyles.root
|
|
208
217
|
},
|
|
209
218
|
"footer": dialogFooter,
|
|
210
219
|
"title": titleNode,
|
|
@@ -227,10 +236,10 @@ const Modal = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
227
236
|
...attrStyle
|
|
228
237
|
},
|
|
229
238
|
"classNames": {
|
|
230
|
-
...
|
|
231
|
-
wrapper: clsx(
|
|
239
|
+
...dialogClassNames,
|
|
240
|
+
wrapper: clsx(dialogClassNames.wrapper, wrapClassNameExtended)
|
|
232
241
|
},
|
|
233
|
-
"styles":
|
|
242
|
+
"styles": dialogStyles,
|
|
234
243
|
"panelRef": mergedPanelRef,
|
|
235
244
|
"destroyOnHidden": destroyOnHidden ?? destroyOnClose,
|
|
236
245
|
"modalRender": mergedModalRender
|
|
@@ -239,10 +248,18 @@ const Modal = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
239
248
|
"title": false,
|
|
240
249
|
"paragraph": { rows: 4 },
|
|
241
250
|
"class": `${prefixCls.value}-body-skeleton`
|
|
242
|
-
}, null) :
|
|
251
|
+
}, null) : renderSemanticContent()] })] })] });
|
|
243
252
|
};
|
|
244
253
|
}, {
|
|
245
254
|
props: /*@__PURE__*/ mergeDefaults({
|
|
255
|
+
_semanticOmit: {
|
|
256
|
+
type: Array,
|
|
257
|
+
required: false
|
|
258
|
+
},
|
|
259
|
+
_renderSemanticContent: {
|
|
260
|
+
type: Function,
|
|
261
|
+
required: false
|
|
262
|
+
},
|
|
246
263
|
open: {
|
|
247
264
|
type: Boolean,
|
|
248
265
|
required: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
2
|
-
import { VueNode
|
|
2
|
+
import { VueNode } from "../_util/type.js";
|
|
3
3
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import { Breakpoint } from "../_util/responsiveObserver.js";
|
|
5
5
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
@@ -42,8 +42,8 @@ interface ModalSemanticStyles {
|
|
|
42
42
|
type ModalClassNamesType = SemanticClassNamesType<ModalProps, ModalSemanticClassNames>;
|
|
43
43
|
type ModalStylesType = SemanticStylesType<ModalProps, ModalSemanticStyles>;
|
|
44
44
|
interface ModalCommonProps extends Omit<DialogProps, 'footer' | 'width' | 'onClose' | 'animation' | 'maskAnimation' | 'transitionName' | 'maskTransitionName' | 'mask' | 'classNames' | 'styles' | 'modalRender' | 'rootStyle' | 'style' | OmitFocusType> {
|
|
45
|
-
footer?: VueNode
|
|
46
|
-
originNode: VueNode
|
|
45
|
+
footer?: VueNode | ((params: {
|
|
46
|
+
originNode: VueNode;
|
|
47
47
|
extra: {
|
|
48
48
|
OkBtn: any;
|
|
49
49
|
CancelBtn: any;
|
|
@@ -63,7 +63,7 @@ interface ModalProps extends ModalCommonProps {
|
|
|
63
63
|
/** Whether to apply loading visual effect for OK button or not */
|
|
64
64
|
confirmLoading?: boolean;
|
|
65
65
|
/** The modal dialog's title */
|
|
66
|
-
title?: VueNode
|
|
66
|
+
title?: VueNode;
|
|
67
67
|
afterClose?: () => void;
|
|
68
68
|
/** Callback when the animation ends when Modal is turned on and off */
|
|
69
69
|
afterOpenChange?: (open: boolean) => void;
|
|
@@ -72,11 +72,11 @@ interface ModalProps extends ModalCommonProps {
|
|
|
72
72
|
/** Width of the modal dialog */
|
|
73
73
|
width?: string | number | Partial<Record<Breakpoint, string | number>>;
|
|
74
74
|
/** Text of the OK button */
|
|
75
|
-
okText?: VueNode
|
|
75
|
+
okText?: VueNode;
|
|
76
76
|
/** Button `type` of the OK button */
|
|
77
77
|
okType?: LegacyButtonType;
|
|
78
78
|
/** Text of the Cancel button */
|
|
79
|
-
cancelText?: VueNode
|
|
79
|
+
cancelText?: VueNode;
|
|
80
80
|
/** Force render Modal */
|
|
81
81
|
forceRender?: boolean;
|
|
82
82
|
okButtonProps?: ButtonProps;
|
|
@@ -109,7 +109,7 @@ interface ModalProps extends ModalCommonProps {
|
|
|
109
109
|
scrollLock?: boolean;
|
|
110
110
|
wrapProps?: any;
|
|
111
111
|
prefixCls?: string;
|
|
112
|
-
closeIcon?: VueNode
|
|
112
|
+
closeIcon?: VueNode;
|
|
113
113
|
modalRender?: (node: any) => any;
|
|
114
114
|
focusTriggerAfterClose?: boolean;
|
|
115
115
|
mousePosition?: MousePosition;
|
|
@@ -133,7 +133,7 @@ interface ModalSlots {
|
|
|
133
133
|
closeIcon?: () => any;
|
|
134
134
|
modalRender?: (node: any) => any;
|
|
135
135
|
footer?: (params: {
|
|
136
|
-
originNode: VueNode
|
|
136
|
+
originNode: VueNode;
|
|
137
137
|
extra: {
|
|
138
138
|
OkBtn: any;
|
|
139
139
|
CancelBtn: any;
|
|
@@ -146,8 +146,8 @@ interface ModalFuncProps extends ModalCommonProps {
|
|
|
146
146
|
class?: string;
|
|
147
147
|
rootClass?: string;
|
|
148
148
|
open?: boolean;
|
|
149
|
-
title?: VueNode
|
|
150
|
-
content?: VueNode
|
|
149
|
+
title?: VueNode;
|
|
150
|
+
content?: VueNode;
|
|
151
151
|
onOk?: (...args: any[]) => any;
|
|
152
152
|
onCancel?: (...args: any[]) => any;
|
|
153
153
|
onClose?: DialogProps['onClose'];
|
|
@@ -156,10 +156,10 @@ interface ModalFuncProps extends ModalCommonProps {
|
|
|
156
156
|
cancelButtonProps?: ButtonProps;
|
|
157
157
|
centered?: boolean;
|
|
158
158
|
width?: string | number;
|
|
159
|
-
okText?: VueNode
|
|
159
|
+
okText?: VueNode;
|
|
160
160
|
okType?: LegacyButtonType;
|
|
161
|
-
cancelText?: VueNode
|
|
162
|
-
icon?: VueNode
|
|
161
|
+
cancelText?: VueNode;
|
|
162
|
+
icon?: VueNode;
|
|
163
163
|
mask?: MaskType;
|
|
164
164
|
maskClosable?: boolean;
|
|
165
165
|
zIndex?: number;
|
|
@@ -179,7 +179,7 @@ interface ModalFuncProps extends ModalCommonProps {
|
|
|
179
179
|
direction?: DirectionType;
|
|
180
180
|
/** @deprecated Please use `styles.body` instead */
|
|
181
181
|
bodyStyle?: CSSProperties;
|
|
182
|
-
closeIcon?: VueNode
|
|
182
|
+
closeIcon?: VueNode;
|
|
183
183
|
footer?: ModalProps['footer'];
|
|
184
184
|
modalRender?: ModalProps['modalRender'];
|
|
185
185
|
focusTriggerAfterClose?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
1
2
|
import { IconType, NotificationClassNamesType, NotificationPlacement } from "./interface.js";
|
|
2
|
-
import { CSSProperties, SlotsType
|
|
3
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
3
4
|
|
|
4
5
|
//#region src/notification/PureList.d.ts
|
|
5
6
|
interface PureListItem {
|
|
@@ -12,6 +13,7 @@ interface PureListItem {
|
|
|
12
13
|
showProgress?: boolean;
|
|
13
14
|
}
|
|
14
15
|
interface PureListProps {
|
|
16
|
+
prefixCls?: string;
|
|
15
17
|
items: PureListItem[];
|
|
16
18
|
placement?: NotificationPlacement;
|
|
17
19
|
classes?: NotificationClassNamesType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
4
4
|
import { AppContext, CSSProperties, HTMLAttributes } from "vue";
|
|
@@ -29,15 +29,15 @@ interface NotificationSemanticStyles {
|
|
|
29
29
|
type NotificationClassNamesType = SemanticClassNamesType<ArgsProps, NotificationSemanticClassNames>;
|
|
30
30
|
type NotificationStylesType = SemanticStylesType<ArgsProps, NotificationSemanticStyles>;
|
|
31
31
|
interface ArgsProps {
|
|
32
|
-
title?: VueNode
|
|
33
|
-
description?: VueNode
|
|
34
|
-
actions?: VueNode
|
|
32
|
+
title?: VueNode;
|
|
33
|
+
description?: VueNode;
|
|
34
|
+
actions?: VueNode;
|
|
35
35
|
key?: Key;
|
|
36
36
|
onClose?: () => void;
|
|
37
37
|
duration?: number | false;
|
|
38
38
|
showProgress?: boolean;
|
|
39
39
|
pauseOnHover?: boolean;
|
|
40
|
-
icon?: VueNode
|
|
40
|
+
icon?: VueNode;
|
|
41
41
|
placement?: NotificationPlacement;
|
|
42
42
|
style?: CSSProperties;
|
|
43
43
|
class?: string;
|
|
@@ -45,7 +45,7 @@ interface ArgsProps {
|
|
|
45
45
|
styles?: NotificationStylesType;
|
|
46
46
|
readonly type?: IconType;
|
|
47
47
|
onClick?: () => void;
|
|
48
|
-
closeIcon?: VueNode
|
|
48
|
+
closeIcon?: VueNode;
|
|
49
49
|
closable?: boolean | (Exclude<ClosableType, boolean> & {
|
|
50
50
|
onClose?: () => void;
|
|
51
51
|
});
|
|
@@ -66,7 +66,7 @@ interface NotificationConfig {
|
|
|
66
66
|
duration?: number | false;
|
|
67
67
|
showProgress?: boolean;
|
|
68
68
|
pauseOnHover?: boolean;
|
|
69
|
-
closeIcon?: VueNode
|
|
69
|
+
closeIcon?: VueNode;
|
|
70
70
|
classes?: NotificationClassNamesType;
|
|
71
71
|
styles?: NotificationStylesType;
|
|
72
72
|
}
|
|
@@ -88,7 +88,7 @@ interface GlobalConfigProps {
|
|
|
88
88
|
prefixCls?: string;
|
|
89
89
|
getContainer?: () => HTMLElement | ShadowRoot;
|
|
90
90
|
placement?: NotificationPlacement;
|
|
91
|
-
closeIcon?: VueNode
|
|
91
|
+
closeIcon?: VueNode;
|
|
92
92
|
closable?: ClosableType;
|
|
93
93
|
rtl?: boolean;
|
|
94
94
|
maxCount?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { NotificationConfig, NotificationPlacement } from "./interface.js";
|
|
3
3
|
import { NotificationConfig as NotificationConfig$1 } from "../config-provider/context.js";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
@@ -17,6 +17,6 @@ declare function getPlacementOffsetStyle(top?: number | string, bottom?: number
|
|
|
17
17
|
/** @deprecated kept for the message wrapper; routes through getPlacementOffsetStyle. */
|
|
18
18
|
declare function getPlacementStyle(_placement: NotificationPlacement, top: number, bottom: number): CSSProperties;
|
|
19
19
|
declare function getMotion(prefixCls: string): CSSMotionProps;
|
|
20
|
-
declare function getCloseIconConfig(closeIcon: VueNode
|
|
20
|
+
declare function getCloseIconConfig(closeIcon: VueNode, notificationConfig?: NotificationConfig, notification?: NotificationConfig$1): VueNode;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { getCloseIconConfig, getMotion, getPlacementOffsetStyle, getPlacementStyle };
|
package/dist/package.js
CHANGED
|
@@ -78,7 +78,7 @@ const Pagination = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
78
78
|
propSelectOnChange?.(nextSize, option);
|
|
79
79
|
},
|
|
80
80
|
"size": mergedSize.value,
|
|
81
|
-
"class": clsx(sizeChangerClassName, propSelectClass)
|
|
81
|
+
"class": clsx(`${prefixCls.value}-options-size-changer-select`, sizeChangerClassName, propSelectClass)
|
|
82
82
|
}), null);
|
|
83
83
|
};
|
|
84
84
|
if (isDev) devUseWarning("Pagination")(!props.selectComponentClass, "usage", "`selectComponentClass` is not official api which will be removed.");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
4
|
import { SelectProps } from "../select/index.js";
|
|
@@ -33,7 +33,7 @@ type PaginationClassNamesType = SemanticClassNamesType<PaginationProps, Paginati
|
|
|
33
33
|
type PaginationStylesType = SemanticStylesType<PaginationProps, PaginationSemanticStyles>;
|
|
34
34
|
interface PaginationProps extends Omit<PaginationProps$1, 'className' | 'style' | 'classNames' | 'styles' | 'locale' | 'showSizeChanger' | 'pageSizeOptions' | 'prevIcon' | 'nextIcon' | 'jumpPrevIcon' | 'jumpNextIcon' | 'onChange' | 'onShowSizeChange'> {
|
|
35
35
|
showQuickJumper?: boolean | {
|
|
36
|
-
goButton?: VueNode
|
|
36
|
+
goButton?: VueNode;
|
|
37
37
|
};
|
|
38
38
|
size?: SizeType;
|
|
39
39
|
responsive?: boolean;
|
|
@@ -44,10 +44,10 @@ interface PaginationProps extends Omit<PaginationProps$1, 'className' | 'style'
|
|
|
44
44
|
classes?: PaginationClassNamesType;
|
|
45
45
|
styles?: PaginationStylesType;
|
|
46
46
|
locale?: PaginationLocale;
|
|
47
|
-
prevIcon?: VueNode
|
|
48
|
-
nextIcon?: VueNode
|
|
49
|
-
jumpPrevIcon?: VueNode
|
|
50
|
-
jumpNextIcon?: VueNode
|
|
47
|
+
prevIcon?: VueNode;
|
|
48
|
+
nextIcon?: VueNode;
|
|
49
|
+
jumpPrevIcon?: VueNode;
|
|
50
|
+
jumpNextIcon?: VueNode;
|
|
51
51
|
/** @deprecated Not official support. Will be removed in next major version. */
|
|
52
52
|
selectComponentClass?: any;
|
|
53
53
|
}
|
|
@@ -65,7 +65,7 @@ interface PaginationSlots {
|
|
|
65
65
|
itemRender?: (ctx: {
|
|
66
66
|
page: number;
|
|
67
67
|
type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next';
|
|
68
|
-
element: VueNode
|
|
68
|
+
element: VueNode;
|
|
69
69
|
}) => any;
|
|
70
70
|
showTotal?: (ctx: {
|
|
71
71
|
total: number;
|
|
@@ -279,7 +279,7 @@ const genPaginationJumpStyle = (token) => {
|
|
|
279
279
|
display: "inline-block",
|
|
280
280
|
marginInlineStart: token.margin,
|
|
281
281
|
verticalAlign: "middle",
|
|
282
|
-
|
|
282
|
+
[`&-size-changer, &-size-changer${componentCls}-options-size-changer-select`]: { width: "auto" },
|
|
283
283
|
"&-quick-jumper": {
|
|
284
284
|
display: "inline-block",
|
|
285
285
|
height: varRef(`item-size-actual`),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { TooltipEmits, TooltipRef } from "../tooltip/index.js";
|
|
4
4
|
import { PopoverProps, PopoverSemanticClassNames, PopoverSemanticName, PopoverSemanticStyles } from "../popover/index.js";
|
|
@@ -17,16 +17,16 @@ type PopconfirmSemanticStyles = PopoverSemanticStyles & {
|
|
|
17
17
|
type PopconfirmClassNamesType = SemanticClassNamesType<PopconfirmProps, PopconfirmSemanticClassNames>;
|
|
18
18
|
type PopconfirmStylesType = SemanticStylesType<PopconfirmProps, PopconfirmSemanticStyles>;
|
|
19
19
|
interface PopconfirmProps extends Omit<PopoverProps, 'title' | 'content' | 'classes' | 'styles' | 'onOpenChange'>, PopconfirmEmitsProps {
|
|
20
|
-
title?: VueNode
|
|
21
|
-
description?: VueNode
|
|
20
|
+
title?: VueNode;
|
|
21
|
+
description?: VueNode;
|
|
22
22
|
disabled?: boolean;
|
|
23
|
-
okText?: VueNode
|
|
24
|
-
cancelText?: VueNode
|
|
23
|
+
okText?: VueNode;
|
|
24
|
+
cancelText?: VueNode;
|
|
25
25
|
okType?: LegacyButtonType;
|
|
26
26
|
okButtonProps?: ButtonProps;
|
|
27
27
|
cancelButtonProps?: ButtonProps;
|
|
28
28
|
showCancel?: boolean;
|
|
29
|
-
icon?: VueNode
|
|
29
|
+
icon?: VueNode;
|
|
30
30
|
classes?: PopconfirmClassNamesType;
|
|
31
31
|
styles?: PopconfirmStylesType;
|
|
32
32
|
onConfirm?: (e?: MouseEvent) => void;
|
package/dist/popover/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { TooltipEmits, TooltipProps, TooltipRef, TooltipSemanticClassNames, TooltipSemanticStyles } from "../tooltip/index.js";
|
|
4
4
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
@@ -15,9 +15,9 @@ type PopoverSemanticStyles = TooltipSemanticStyles & {
|
|
|
15
15
|
};
|
|
16
16
|
type PopoverClassNamesType = SemanticClassNamesType<PopoverProps, PopoverSemanticClassNames>;
|
|
17
17
|
type PopoverStylesType = SemanticStylesType<PopoverProps, PopoverSemanticStyles>;
|
|
18
|
-
interface PopoverProps extends TooltipProps, PopoverEmitsProps {
|
|
19
|
-
title?: VueNode
|
|
20
|
-
content?: VueNode
|
|
18
|
+
interface PopoverProps extends Omit<TooltipProps, 'onOpenChange'>, PopoverEmitsProps {
|
|
19
|
+
title?: VueNode;
|
|
20
|
+
content?: VueNode;
|
|
21
21
|
classes?: PopoverClassNamesType;
|
|
22
22
|
styles?: PopoverStylesType;
|
|
23
23
|
}
|
package/dist/radio/radio.js
CHANGED
|
@@ -131,9 +131,9 @@ const InternalRadio = /* @__PURE__ */ defineComponent((props, { slots, expose, a
|
|
|
131
131
|
},
|
|
132
132
|
defaultChecked: {
|
|
133
133
|
type: [
|
|
134
|
+
Boolean,
|
|
134
135
|
String,
|
|
135
136
|
Number,
|
|
136
|
-
Boolean,
|
|
137
137
|
Object
|
|
138
138
|
],
|
|
139
139
|
required: false,
|
|
@@ -141,9 +141,9 @@ const InternalRadio = /* @__PURE__ */ defineComponent((props, { slots, expose, a
|
|
|
141
141
|
},
|
|
142
142
|
checked: {
|
|
143
143
|
type: [
|
|
144
|
+
Boolean,
|
|
144
145
|
String,
|
|
145
146
|
Number,
|
|
146
|
-
Boolean,
|
|
147
147
|
Object
|
|
148
148
|
],
|
|
149
149
|
required: false,
|
|
@@ -192,9 +192,9 @@ const InternalRadio = /* @__PURE__ */ defineComponent((props, { slots, expose, a
|
|
|
192
192
|
},
|
|
193
193
|
checkedValue: {
|
|
194
194
|
type: [
|
|
195
|
+
Boolean,
|
|
195
196
|
String,
|
|
196
197
|
Number,
|
|
197
|
-
Boolean,
|
|
198
198
|
Object
|
|
199
199
|
],
|
|
200
200
|
required: false,
|
|
@@ -202,9 +202,9 @@ const InternalRadio = /* @__PURE__ */ defineComponent((props, { slots, expose, a
|
|
|
202
202
|
},
|
|
203
203
|
unCheckedValue: {
|
|
204
204
|
type: [
|
|
205
|
+
Boolean,
|
|
205
206
|
String,
|
|
206
207
|
Number,
|
|
207
|
-
Boolean,
|
|
208
208
|
Object
|
|
209
209
|
],
|
|
210
210
|
required: false,
|
|
@@ -13,9 +13,9 @@ const RadioButton = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
13
13
|
props: {
|
|
14
14
|
defaultChecked: {
|
|
15
15
|
type: [
|
|
16
|
+
Boolean,
|
|
16
17
|
String,
|
|
17
18
|
Number,
|
|
18
|
-
Boolean,
|
|
19
19
|
Object
|
|
20
20
|
],
|
|
21
21
|
required: false,
|
|
@@ -23,9 +23,9 @@ const RadioButton = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
23
23
|
},
|
|
24
24
|
checked: {
|
|
25
25
|
type: [
|
|
26
|
+
Boolean,
|
|
26
27
|
String,
|
|
27
28
|
Number,
|
|
28
|
-
Boolean,
|
|
29
29
|
Object
|
|
30
30
|
],
|
|
31
31
|
required: false,
|
|
@@ -74,9 +74,9 @@ const RadioButton = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
74
74
|
},
|
|
75
75
|
checkedValue: {
|
|
76
76
|
type: [
|
|
77
|
+
Boolean,
|
|
77
78
|
String,
|
|
78
79
|
Number,
|
|
79
|
-
Boolean,
|
|
80
80
|
Object
|
|
81
81
|
],
|
|
82
82
|
required: false,
|
|
@@ -84,9 +84,9 @@ const RadioButton = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =>
|
|
|
84
84
|
},
|
|
85
85
|
unCheckedValue: {
|
|
86
86
|
type: [
|
|
87
|
+
Boolean,
|
|
87
88
|
String,
|
|
88
89
|
Number,
|
|
89
|
-
Boolean,
|
|
90
90
|
Object
|
|
91
91
|
],
|
|
92
92
|
required: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { genFocusOutline, resetComponent } from "../../style/index.js";
|
|
2
2
|
import { genStyleHooks } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { mergeToken } from "../../theme/internal.js";
|
|
4
|
-
import { genNoMotionStyle } from "../../style/motion/util.js";
|
|
4
|
+
import { genNoMotionRawStyle, genNoMotionStyle } from "../../style/motion/util.js";
|
|
5
5
|
import { unit } from "@antdv-next/cssinjs";
|
|
6
6
|
//#region src/radio/style/index.ts
|
|
7
7
|
const getGroupRadioStyle = (token) => {
|
|
@@ -104,7 +104,7 @@ const getRadioBasicStyle = (token) => {
|
|
|
104
104
|
transformOrigin: "50% 50%",
|
|
105
105
|
opacity: 0,
|
|
106
106
|
transition: `all ${motionDurationSlow} ${motionEaseInOutCirc}`,
|
|
107
|
-
...
|
|
107
|
+
...genNoMotionRawStyle()
|
|
108
108
|
},
|
|
109
109
|
[`${componentCls}-input`]: {
|
|
110
110
|
position: "absolute",
|
package/dist/result/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmptyEmit, VueNode
|
|
1
|
+
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import NoFound from "./noFound.js";
|
|
4
4
|
import ServerError from "./serverError.js";
|
|
@@ -35,11 +35,11 @@ interface ResultSemanticStyles {
|
|
|
35
35
|
type ResultClassNamesType = SemanticClassNamesType<ResultProps, ResultSemanticClassNames>;
|
|
36
36
|
type ResultStylesType = SemanticStylesType<ResultProps, ResultSemanticStyles>;
|
|
37
37
|
interface ResultProps extends ComponentBaseProps {
|
|
38
|
-
icon?: VueNode
|
|
38
|
+
icon?: VueNode;
|
|
39
39
|
status?: ResultStatusType;
|
|
40
|
-
title?: VueNode
|
|
41
|
-
subTitle?: VueNode
|
|
42
|
-
extra?: VueNode
|
|
40
|
+
title?: VueNode;
|
|
41
|
+
subTitle?: VueNode;
|
|
42
|
+
extra?: VueNode;
|
|
43
43
|
classes?: ResultClassNamesType;
|
|
44
44
|
styles?: ResultStylesType;
|
|
45
45
|
}
|