antdv-next 1.4.1 → 1.4.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/hooks/useClosable.d.ts +5 -5
- package/dist/_util/vueNode.d.ts +2 -2
- package/dist/alert/Alert.d.ts +7 -7
- package/dist/antd-with-locales.esm.js +13320 -11032
- package/dist/antd-with-locales.js +80 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +11449 -10208
- 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/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/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/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/generatePicker/useComponents.d.ts +2 -2
- 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/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/result/index.d.ts +5 -5
- package/dist/segmented/index.d.ts +38 -20
- package/dist/segmented/index.js +5 -10
- 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/SplitBar.js +12 -1
- 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/util.js +2 -2
- package/dist/switch/index.d.ts +4 -4
- package/dist/switch/index.js +7 -7
- package/dist/switch/style/index.js +3 -1
- 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/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 +1674 -1662
- package/web-types.json +4801 -4762
|
@@ -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 { TooltipPlacement } from "../tooltip/index.js";
|
|
@@ -19,7 +19,7 @@ declare const FORMAT_HSB = "hsb";
|
|
|
19
19
|
type ColorFormatType = typeof FORMAT_HEX | typeof FORMAT_RGB | typeof FORMAT_HSB;
|
|
20
20
|
type ColorValueFormatType = ColorFormatType | ((value: AggregationColor) => string);
|
|
21
21
|
interface PresetsItem {
|
|
22
|
-
label: VueNode
|
|
22
|
+
label: VueNode;
|
|
23
23
|
colors: (string | AggregationColor)[];
|
|
24
24
|
/**
|
|
25
25
|
* Whether the initial state is collapsed
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
2
|
-
import { AnyObject, VueNode
|
|
2
|
+
import { AnyObject, VueNode } from "../_util/type.js";
|
|
3
3
|
import { WarningContextProps } from "../_util/warning.js";
|
|
4
4
|
import { SeedToken } from "../theme/interface/seeds.js";
|
|
5
5
|
import { MapToken } from "../theme/interface/maps/index.js";
|
|
@@ -19,6 +19,7 @@ import { SpinProps } from "../spin/index.js";
|
|
|
19
19
|
import { CheckboxProps } from "../checkbox/Checkbox.js";
|
|
20
20
|
import { MenuProps } from "../menu/index.js";
|
|
21
21
|
import { DropdownProps } from "../dropdown/dropdown.js";
|
|
22
|
+
import { ColumnType } from "../table/interface.js";
|
|
22
23
|
import { TableProps } from "../table/InternalTable.js";
|
|
23
24
|
import { TourProps } from "../tour/index.js";
|
|
24
25
|
import { TransferProps } from "../transfer/interface.js";
|
|
@@ -26,7 +27,6 @@ import { ProgressProps } from "../progress/progress.js";
|
|
|
26
27
|
import { UploadProps } from "../upload/interface.js";
|
|
27
28
|
import { Locale } from "../locale/index.js";
|
|
28
29
|
import { RenderEmptyHandler } from "./defaultRenderEmpty.js";
|
|
29
|
-
import { ConfigProviderProps } from "./index.js";
|
|
30
30
|
import { ShowWaveEffect } from "../_util/wave/interface.js";
|
|
31
31
|
import { AlertProps } from "../alert/Alert.js";
|
|
32
32
|
import { AnchorProps } from "../anchor/Anchor.js";
|
|
@@ -150,7 +150,7 @@ interface ThemeConfig {
|
|
|
150
150
|
* @default false
|
|
151
151
|
* @since 5.12.0
|
|
152
152
|
*/
|
|
153
|
-
cssVar?: {
|
|
153
|
+
cssVar?: true | {
|
|
154
154
|
/**
|
|
155
155
|
* @descCN css 变量的前缀
|
|
156
156
|
* @descEN Prefix for css variable.
|
|
@@ -185,8 +185,8 @@ interface ThemeConfig {
|
|
|
185
185
|
interface ComponentStyleConfig {
|
|
186
186
|
class?: string;
|
|
187
187
|
style?: CSSProperties;
|
|
188
|
-
classes?:
|
|
189
|
-
styles?:
|
|
188
|
+
classes?: unknown;
|
|
189
|
+
styles?: unknown;
|
|
190
190
|
}
|
|
191
191
|
type PopupOverflow = 'viewport' | 'scroll';
|
|
192
192
|
declare const Variants: readonly ["outlined", "borderless", "filled", "underlined"];
|
|
@@ -213,14 +213,14 @@ interface WaveConfig {
|
|
|
213
213
|
}
|
|
214
214
|
type SpaceConfig = ComponentStyleConfig & Pick<SpaceProps, 'size' | 'classes' | 'styles'>;
|
|
215
215
|
type ButtonConfig = ComponentStyleConfig & Pick<ButtonProps, 'classes' | 'styles' | 'autoInsertSpace' | 'variant' | 'color' | 'shape'> & {
|
|
216
|
-
loadingIcon?: VueNode
|
|
216
|
+
loadingIcon?: VueNode;
|
|
217
217
|
};
|
|
218
218
|
type FlexConfig = ComponentStyleConfig & Pick<FlexProps, 'vertical'>;
|
|
219
|
-
type AlertConfig = ComponentStyleConfig & Pick<AlertProps, 'closable' | 'closeIcon' | 'classes' | 'styles'> & {
|
|
220
|
-
successIcon?: VueNode
|
|
221
|
-
infoIcon?: VueNode
|
|
222
|
-
warningIcon?: VueNode
|
|
223
|
-
errorIcon?: VueNode
|
|
219
|
+
type AlertConfig = ComponentStyleConfig & Pick<AlertProps, 'variant' | 'closable' | 'closeIcon' | 'classes' | 'styles'> & {
|
|
220
|
+
successIcon?: VueNode;
|
|
221
|
+
infoIcon?: VueNode;
|
|
222
|
+
warningIcon?: VueNode;
|
|
223
|
+
errorIcon?: VueNode;
|
|
224
224
|
};
|
|
225
225
|
type BadgeConfig = ComponentStyleConfig & Pick<BadgeProps, 'classes' | 'styles'>;
|
|
226
226
|
type TagConfig = ComponentStyleConfig & Pick<TagProps, 'variant' | 'closeIcon' | 'closable' | 'classes' | 'styles'>;
|
|
@@ -239,10 +239,10 @@ type TypographyConfig = ComponentStyleConfig & Pick<BlockProps, 'classes' | 'sty
|
|
|
239
239
|
type SplitterConfig = ComponentStyleConfig & Pick<SplitterProps, 'classes' | 'styles'>;
|
|
240
240
|
type CalendarConfig = ComponentStyleConfig & Pick<CalendarProps<any>, 'classes' | 'styles'>;
|
|
241
241
|
type FloatButtonConfig = ComponentStyleConfig & Pick<FloatButtonProps, 'classes' | 'styles'> & {
|
|
242
|
-
backTopIcon?: VueNode
|
|
242
|
+
backTopIcon?: VueNode;
|
|
243
243
|
};
|
|
244
244
|
type FloatButtonGroupConfig = ComponentStyleConfig & Pick<FloatButtonGroupProps, 'classes' | 'styles'> & {
|
|
245
|
-
closeIcon?: VueNode
|
|
245
|
+
closeIcon?: VueNode;
|
|
246
246
|
};
|
|
247
247
|
type TooltipConfig = ComponentStyleConfig & Pick<TooltipProps, 'styles' | 'classes' | 'arrow' | 'trigger'> & {
|
|
248
248
|
/**
|
|
@@ -414,7 +414,13 @@ interface ConfigConsumerProps extends ConfigComponentProps {
|
|
|
414
414
|
iconPrefixCls: string;
|
|
415
415
|
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
416
416
|
renderEmpty?: RenderEmptyHandler;
|
|
417
|
-
|
|
417
|
+
/** Inlined (mirrors ConfigProviderProps#transformCellText in define.ts) to keep context.ts free of define/index imports — see the circular-any note below. */
|
|
418
|
+
transformCellText?: (ctx: {
|
|
419
|
+
text: any;
|
|
420
|
+
column: ColumnType<any>;
|
|
421
|
+
record: Record<string, any>;
|
|
422
|
+
index: number;
|
|
423
|
+
}) => any;
|
|
418
424
|
/**
|
|
419
425
|
* @descCN 设置 [Content Security Policy](https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CSP) 配置。
|
|
420
426
|
* @descEN Set the [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) config.
|
|
@@ -169,7 +169,7 @@ const ProviderChildren = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
169
169
|
prefixCls: iconPrefixCls.value,
|
|
170
170
|
csp: csp.value,
|
|
171
171
|
layer: layer.value ? "antd" : void 0,
|
|
172
|
-
zeroRuntime: mergedTheme.value?.zeroRuntime
|
|
172
|
+
zeroRuntime: !!layer.value || mergedTheme.value?.zeroRuntime
|
|
173
173
|
}));
|
|
174
174
|
const memoTheme = computed(() => {
|
|
175
175
|
const { algorithm, token, components, cssVar, ...rest } = mergedTheme.value ?? {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, VueNode
|
|
1
|
+
import { AnyObject, VueNode } from "../../_util/type.js";
|
|
2
2
|
import { RangePickerProps as RangePickerProps$1 } from "./interface.js";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { PickerMode } from "@v-c/picker";
|
|
@@ -20,7 +20,7 @@ interface RangePickerEmits<DateType = AnyObject> {
|
|
|
20
20
|
interface RangePickerSlots {
|
|
21
21
|
suffixIcon?: () => any;
|
|
22
22
|
renderExtraFooter?: (mode: PickerMode) => any;
|
|
23
|
-
panelRender?: (originPanel: VueNode
|
|
23
|
+
panelRender?: (originPanel: VueNode) => any;
|
|
24
24
|
inputRender?: (props: Record<string, any>) => any;
|
|
25
25
|
cellRender?: (ctx: {
|
|
26
26
|
current: AnyObject;
|
|
@@ -254,7 +254,19 @@ function generateRangePicker(generateConfig) {
|
|
|
254
254
|
type: [String, Object],
|
|
255
255
|
required: false
|
|
256
256
|
},
|
|
257
|
-
separator: {
|
|
257
|
+
separator: {
|
|
258
|
+
type: [
|
|
259
|
+
Object,
|
|
260
|
+
Function,
|
|
261
|
+
String,
|
|
262
|
+
Number,
|
|
263
|
+
null,
|
|
264
|
+
Boolean,
|
|
265
|
+
Array
|
|
266
|
+
],
|
|
267
|
+
required: false,
|
|
268
|
+
default: void 0
|
|
269
|
+
},
|
|
258
270
|
value: {
|
|
259
271
|
type: [Array, null],
|
|
260
272
|
required: false
|
|
@@ -330,14 +342,50 @@ function generateRangePicker(generateConfig) {
|
|
|
330
342
|
type: String,
|
|
331
343
|
required: false
|
|
332
344
|
},
|
|
333
|
-
prefix: {
|
|
334
|
-
|
|
345
|
+
prefix: {
|
|
346
|
+
type: [
|
|
347
|
+
Object,
|
|
348
|
+
Function,
|
|
349
|
+
String,
|
|
350
|
+
Number,
|
|
351
|
+
null,
|
|
352
|
+
Boolean,
|
|
353
|
+
Array
|
|
354
|
+
],
|
|
355
|
+
required: false,
|
|
356
|
+
default: void 0
|
|
357
|
+
},
|
|
358
|
+
suffixIcon: {
|
|
359
|
+
type: [
|
|
360
|
+
Object,
|
|
361
|
+
Function,
|
|
362
|
+
String,
|
|
363
|
+
Number,
|
|
364
|
+
null,
|
|
365
|
+
Boolean,
|
|
366
|
+
Array
|
|
367
|
+
],
|
|
368
|
+
required: false,
|
|
369
|
+
default: void 0
|
|
370
|
+
},
|
|
335
371
|
allowClear: {
|
|
336
372
|
type: [Boolean, Object],
|
|
337
373
|
required: false,
|
|
338
374
|
default: void 0
|
|
339
375
|
},
|
|
340
|
-
clearIcon: {
|
|
376
|
+
clearIcon: {
|
|
377
|
+
type: [
|
|
378
|
+
Object,
|
|
379
|
+
Function,
|
|
380
|
+
String,
|
|
381
|
+
Number,
|
|
382
|
+
null,
|
|
383
|
+
Boolean,
|
|
384
|
+
Array
|
|
385
|
+
],
|
|
386
|
+
required: false,
|
|
387
|
+
default: void 0
|
|
388
|
+
},
|
|
341
389
|
inputReadOnly: {
|
|
342
390
|
type: Boolean,
|
|
343
391
|
required: false,
|
|
@@ -365,12 +413,18 @@ function generateRangePicker(generateConfig) {
|
|
|
365
413
|
required: false,
|
|
366
414
|
default: void 0
|
|
367
415
|
},
|
|
368
|
-
popupAlign: {
|
|
416
|
+
popupAlign: {
|
|
417
|
+
type: Object,
|
|
418
|
+
required: false
|
|
419
|
+
},
|
|
369
420
|
getPopupContainer: {
|
|
370
421
|
type: Function,
|
|
371
422
|
required: false
|
|
372
423
|
},
|
|
373
|
-
builtinPlacements: {
|
|
424
|
+
builtinPlacements: {
|
|
425
|
+
type: Object,
|
|
426
|
+
required: false
|
|
427
|
+
},
|
|
374
428
|
needConfirm: {
|
|
375
429
|
type: Boolean,
|
|
376
430
|
required: false,
|
|
@@ -1316,10 +1370,58 @@ function generateRangePicker(generateConfig) {
|
|
|
1316
1370
|
type: Function,
|
|
1317
1371
|
required: false
|
|
1318
1372
|
},
|
|
1319
|
-
prevIcon: {
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1373
|
+
prevIcon: {
|
|
1374
|
+
type: [
|
|
1375
|
+
Object,
|
|
1376
|
+
Function,
|
|
1377
|
+
String,
|
|
1378
|
+
Number,
|
|
1379
|
+
null,
|
|
1380
|
+
Boolean,
|
|
1381
|
+
Array
|
|
1382
|
+
],
|
|
1383
|
+
required: false,
|
|
1384
|
+
default: void 0
|
|
1385
|
+
},
|
|
1386
|
+
nextIcon: {
|
|
1387
|
+
type: [
|
|
1388
|
+
Object,
|
|
1389
|
+
Function,
|
|
1390
|
+
String,
|
|
1391
|
+
Number,
|
|
1392
|
+
null,
|
|
1393
|
+
Boolean,
|
|
1394
|
+
Array
|
|
1395
|
+
],
|
|
1396
|
+
required: false,
|
|
1397
|
+
default: void 0
|
|
1398
|
+
},
|
|
1399
|
+
superPrevIcon: {
|
|
1400
|
+
type: [
|
|
1401
|
+
Object,
|
|
1402
|
+
Function,
|
|
1403
|
+
String,
|
|
1404
|
+
Number,
|
|
1405
|
+
null,
|
|
1406
|
+
Boolean,
|
|
1407
|
+
Array
|
|
1408
|
+
],
|
|
1409
|
+
required: false,
|
|
1410
|
+
default: void 0
|
|
1411
|
+
},
|
|
1412
|
+
superNextIcon: {
|
|
1413
|
+
type: [
|
|
1414
|
+
Object,
|
|
1415
|
+
Function,
|
|
1416
|
+
String,
|
|
1417
|
+
Number,
|
|
1418
|
+
null,
|
|
1419
|
+
Boolean,
|
|
1420
|
+
Array
|
|
1421
|
+
],
|
|
1422
|
+
required: false,
|
|
1423
|
+
default: void 0
|
|
1424
|
+
},
|
|
1323
1425
|
showHour: {
|
|
1324
1426
|
type: Boolean,
|
|
1325
1427
|
required: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, VueNode
|
|
1
|
+
import { AnyObject, VueNode } from "../../_util/type.js";
|
|
2
2
|
import { PickerProps as PickerProps$1 } from "./interface.js";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { PickerMode } from "@v-c/picker";
|
|
@@ -21,7 +21,7 @@ interface DatePickerEmits<DateType = AnyObject> {
|
|
|
21
21
|
interface DatePickerSlots {
|
|
22
22
|
suffixIcon?: () => any;
|
|
23
23
|
renderExtraFooter?: (mode: PickerMode) => any;
|
|
24
|
-
panelRender?: (originPanel: VueNode
|
|
24
|
+
panelRender?: (originPanel: VueNode) => any;
|
|
25
25
|
inputRender?: (props: Record<string, any>) => any;
|
|
26
26
|
cellRender?: (ctx: {
|
|
27
27
|
current: AnyObject;
|
|
@@ -22,7 +22,7 @@ import useComponents from "./useComponents.js";
|
|
|
22
22
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
|
23
23
|
import { clsx } from "@v-c/util";
|
|
24
24
|
import { getTransitionName } from "@v-c/util/dist/utils/transition";
|
|
25
|
-
import { omit } from "es-toolkit";
|
|
25
|
+
import { omit } from "es-toolkit/compat";
|
|
26
26
|
import Picker from "@v-c/picker";
|
|
27
27
|
//#region src/date-picker/generatePicker/generateSinglePicker.tsx
|
|
28
28
|
function generatePicker(generateConfig) {
|
|
@@ -112,7 +112,7 @@ function generatePicker(generateConfig) {
|
|
|
112
112
|
expose({
|
|
113
113
|
focus: (options) => innerRef.value?.focus?.(options),
|
|
114
114
|
blur: () => innerRef.value?.blur?.(),
|
|
115
|
-
nativeElement: computed(() =>
|
|
115
|
+
nativeElement: computed(() => innerRef.value?.nativeElement)
|
|
116
116
|
});
|
|
117
117
|
return () => {
|
|
118
118
|
const { placeholder, components, placement, suffixIcon, allowClear, popupClassName: _popupClassName, dropdownClassName: _dropdownClassName, popupStyle: _popupStyle, rootClass: _rootClass, classes: _classes, styles: _styles, status: _status, variant: _variant, bordered: _bordered, size: _size, disabled: _disabled, locale: _locale, getPopupContainer: _getPopupContainer, ...restProps } = props;
|
|
@@ -339,14 +339,50 @@ function generatePicker(generateConfig) {
|
|
|
339
339
|
type: String,
|
|
340
340
|
required: false
|
|
341
341
|
},
|
|
342
|
-
prefix: {
|
|
343
|
-
|
|
342
|
+
prefix: {
|
|
343
|
+
type: [
|
|
344
|
+
Object,
|
|
345
|
+
Function,
|
|
346
|
+
String,
|
|
347
|
+
Number,
|
|
348
|
+
null,
|
|
349
|
+
Boolean,
|
|
350
|
+
Array
|
|
351
|
+
],
|
|
352
|
+
required: false,
|
|
353
|
+
default: void 0
|
|
354
|
+
},
|
|
355
|
+
suffixIcon: {
|
|
356
|
+
type: [
|
|
357
|
+
Object,
|
|
358
|
+
Function,
|
|
359
|
+
String,
|
|
360
|
+
Number,
|
|
361
|
+
null,
|
|
362
|
+
Boolean,
|
|
363
|
+
Array
|
|
364
|
+
],
|
|
365
|
+
required: false,
|
|
366
|
+
default: void 0
|
|
367
|
+
},
|
|
344
368
|
allowClear: {
|
|
345
369
|
type: [Boolean, Object],
|
|
346
370
|
required: false,
|
|
347
371
|
default: void 0
|
|
348
372
|
},
|
|
349
|
-
clearIcon: {
|
|
373
|
+
clearIcon: {
|
|
374
|
+
type: [
|
|
375
|
+
Object,
|
|
376
|
+
Function,
|
|
377
|
+
String,
|
|
378
|
+
Number,
|
|
379
|
+
null,
|
|
380
|
+
Boolean,
|
|
381
|
+
Array
|
|
382
|
+
],
|
|
383
|
+
required: false,
|
|
384
|
+
default: void 0
|
|
385
|
+
},
|
|
350
386
|
inputReadOnly: {
|
|
351
387
|
type: Boolean,
|
|
352
388
|
required: false,
|
|
@@ -374,12 +410,18 @@ function generatePicker(generateConfig) {
|
|
|
374
410
|
required: false,
|
|
375
411
|
default: void 0
|
|
376
412
|
},
|
|
377
|
-
popupAlign: {
|
|
413
|
+
popupAlign: {
|
|
414
|
+
type: Object,
|
|
415
|
+
required: false
|
|
416
|
+
},
|
|
378
417
|
getPopupContainer: {
|
|
379
418
|
type: Function,
|
|
380
419
|
required: false
|
|
381
420
|
},
|
|
382
|
-
builtinPlacements: {
|
|
421
|
+
builtinPlacements: {
|
|
422
|
+
type: Object,
|
|
423
|
+
required: false
|
|
424
|
+
},
|
|
383
425
|
needConfirm: {
|
|
384
426
|
type: Boolean,
|
|
385
427
|
required: false,
|
|
@@ -1325,10 +1367,58 @@ function generatePicker(generateConfig) {
|
|
|
1325
1367
|
type: Function,
|
|
1326
1368
|
required: false
|
|
1327
1369
|
},
|
|
1328
|
-
prevIcon: {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1370
|
+
prevIcon: {
|
|
1371
|
+
type: [
|
|
1372
|
+
Object,
|
|
1373
|
+
Function,
|
|
1374
|
+
String,
|
|
1375
|
+
Number,
|
|
1376
|
+
null,
|
|
1377
|
+
Boolean,
|
|
1378
|
+
Array
|
|
1379
|
+
],
|
|
1380
|
+
required: false,
|
|
1381
|
+
default: void 0
|
|
1382
|
+
},
|
|
1383
|
+
nextIcon: {
|
|
1384
|
+
type: [
|
|
1385
|
+
Object,
|
|
1386
|
+
Function,
|
|
1387
|
+
String,
|
|
1388
|
+
Number,
|
|
1389
|
+
null,
|
|
1390
|
+
Boolean,
|
|
1391
|
+
Array
|
|
1392
|
+
],
|
|
1393
|
+
required: false,
|
|
1394
|
+
default: void 0
|
|
1395
|
+
},
|
|
1396
|
+
superPrevIcon: {
|
|
1397
|
+
type: [
|
|
1398
|
+
Object,
|
|
1399
|
+
Function,
|
|
1400
|
+
String,
|
|
1401
|
+
Number,
|
|
1402
|
+
null,
|
|
1403
|
+
Boolean,
|
|
1404
|
+
Array
|
|
1405
|
+
],
|
|
1406
|
+
required: false,
|
|
1407
|
+
default: void 0
|
|
1408
|
+
},
|
|
1409
|
+
superNextIcon: {
|
|
1410
|
+
type: [
|
|
1411
|
+
Object,
|
|
1412
|
+
Function,
|
|
1413
|
+
String,
|
|
1414
|
+
Number,
|
|
1415
|
+
null,
|
|
1416
|
+
Boolean,
|
|
1417
|
+
Array
|
|
1418
|
+
],
|
|
1419
|
+
required: false,
|
|
1420
|
+
default: void 0
|
|
1421
|
+
},
|
|
1332
1422
|
showHour: {
|
|
1333
1423
|
type: Boolean,
|
|
1334
1424
|
required: false,
|
|
@@ -4,11 +4,11 @@ import { Components } from "@v-c/picker";
|
|
|
4
4
|
//#region src/date-picker/generatePicker/useComponents.d.ts
|
|
5
5
|
declare function useComponents(components?: Components): {
|
|
6
6
|
time?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
7
|
+
year?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
8
|
+
month?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
7
9
|
date?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
8
10
|
week?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
9
|
-
month?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
10
11
|
quarter?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
11
|
-
year?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
12
12
|
decade?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
13
13
|
datetime?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
14
14
|
button: string | import("vue").DefineSetupFnComponent<ButtonProps, {}, {}, ButtonProps & {}, import("vue").PublicProps> | import("vue").DefineComponent;
|
|
@@ -6,7 +6,16 @@ import { PickerMode } from "@v-c/picker";
|
|
|
6
6
|
declare function getPlaceholder(locale: PickerLocale, picker?: PickerMode, customizePlaceholder?: string): string;
|
|
7
7
|
declare function getRangePlaceholder(locale: PickerLocale, picker?: PickerMode, customizePlaceholder?: [string, string]): [string, string] | undefined;
|
|
8
8
|
declare function useIcons(props: Pick<PickerProps$1, 'allowClear' | 'removeIcon'>, prefixCls: string): readonly [false, string | number | boolean | import("vue/jsx-runtime").JSX.Element | RenderNodeFn<any[]> | null] | readonly [{
|
|
9
|
-
clearIcon:
|
|
9
|
+
clearIcon: string | number | boolean | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}> | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
12
|
+
new (...args: any[]): any;
|
|
13
|
+
__isFragment?: never;
|
|
14
|
+
__isTeleport?: never;
|
|
15
|
+
__isSuspense?: never;
|
|
16
|
+
} | RenderNodeFn<any[]> | (string | number | boolean | void | import("vue").Component | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}> | null | undefined)[] | null | undefined;
|
|
10
19
|
}, string | number | boolean | import("vue/jsx-runtime").JSX.Element | RenderNodeFn<any[]> | null];
|
|
11
20
|
//#endregion
|
|
12
21
|
export { getPlaceholder, getRangePlaceholder, useIcons };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmptyEmit, VueNode
|
|
1
|
+
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
2
|
import { Breakpoint } from "../_util/responsiveObserver.js";
|
|
3
3
|
import { CellSemanticClassNames, CellSemanticStyles } from "./DescriptionsContext.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
@@ -9,10 +9,10 @@ declare const DESCRIPTIONS_ITEM_MARK = "_ANTDV_NEXT_DESCRIPTIONS_ITEM";
|
|
|
9
9
|
interface DescriptionsItemProps extends ComponentBaseProps {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: CSSProperties;
|
|
12
|
-
label?: VueNode
|
|
12
|
+
label?: VueNode;
|
|
13
13
|
classes?: CellSemanticClassNames;
|
|
14
14
|
styles?: CellSemanticStyles;
|
|
15
|
-
content?: VueNode
|
|
15
|
+
content?: VueNode;
|
|
16
16
|
span?: number | 'filled' | { [key in Breakpoint]?: number };
|
|
17
17
|
}
|
|
18
18
|
interface DescriptionsItemSlots {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../../_util/type.js";
|
|
2
2
|
import { ScreenMap } from "../../_util/responsiveObserver.js";
|
|
3
3
|
import { CellSemanticClassNames, CellSemanticStyles } from "../DescriptionsContext.js";
|
|
4
4
|
import { DescriptionsItemType } from "../index.js";
|
|
@@ -9,23 +9,23 @@ declare function useItems(screens: Ref<ScreenMap>, items: Ref<DescriptionsItemTy
|
|
|
9
9
|
filled: boolean;
|
|
10
10
|
_$index: number;
|
|
11
11
|
key?: import("@v-c/util/dist/type").Key;
|
|
12
|
-
label?: VueNode$1;
|
|
13
|
-
style?: import("vue").CSSProperties | undefined;
|
|
14
|
-
class?: string | undefined;
|
|
15
|
-
rootClass?: string | undefined;
|
|
16
12
|
classes?: CellSemanticClassNames | undefined;
|
|
17
13
|
styles?: CellSemanticStyles | undefined;
|
|
18
|
-
|
|
14
|
+
style?: import("vue").CSSProperties | undefined;
|
|
15
|
+
rootClass?: string | undefined;
|
|
16
|
+
label?: VueNode;
|
|
17
|
+
class?: string | undefined;
|
|
18
|
+
content?: VueNode;
|
|
19
19
|
} | {
|
|
20
20
|
span: number | undefined;
|
|
21
21
|
key?: import("@v-c/util/dist/type").Key;
|
|
22
|
-
label?: VueNode$1;
|
|
23
|
-
style?: import("vue").CSSProperties | undefined;
|
|
24
|
-
class?: string | undefined;
|
|
25
|
-
rootClass?: string | undefined;
|
|
26
22
|
classes?: CellSemanticClassNames | undefined;
|
|
27
23
|
styles?: CellSemanticStyles | undefined;
|
|
28
|
-
|
|
24
|
+
style?: import("vue").CSSProperties | undefined;
|
|
25
|
+
rootClass?: string | undefined;
|
|
26
|
+
label?: VueNode;
|
|
27
|
+
class?: string | undefined;
|
|
28
|
+
content?: VueNode;
|
|
29
29
|
_$index: number;
|
|
30
30
|
})[]>;
|
|
31
31
|
//#endregion
|
|
@@ -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 { SizeType } from "../config-provider/SizeContext.js";
|
|
4
4
|
import { Breakpoint } from "../_util/responsiveObserver.js";
|
|
@@ -47,8 +47,8 @@ type RenderDescriptionsItem = (params: {
|
|
|
47
47
|
interface DescriptionsProps extends ComponentBaseProps {
|
|
48
48
|
bordered?: boolean;
|
|
49
49
|
size?: SizeType | 'default';
|
|
50
|
-
title?: VueNode
|
|
51
|
-
extra?: VueNode
|
|
50
|
+
title?: VueNode;
|
|
51
|
+
extra?: VueNode;
|
|
52
52
|
labelRender?: RenderDescriptionsItem;
|
|
53
53
|
contentRender?: RenderDescriptionsItem;
|
|
54
54
|
column?: number | Partial<Record<Breakpoint, number>>;
|
|
@@ -57,11 +57,10 @@ const genDescriptionStyles = (token) => {
|
|
|
57
57
|
fontSize: token.fontSize
|
|
58
58
|
},
|
|
59
59
|
[`${componentCls}-view`]: {
|
|
60
|
-
width:
|
|
61
|
-
minWidth: "100%",
|
|
60
|
+
width: "100%",
|
|
62
61
|
borderRadius: token.borderRadiusLG,
|
|
63
62
|
table: {
|
|
64
|
-
|
|
63
|
+
minWidth: "100%",
|
|
65
64
|
tableLayout: "fixed",
|
|
66
65
|
borderCollapse: "collapse"
|
|
67
66
|
}
|
|
@@ -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 { DrawerProps as DrawerProps$1 } from "./index.js";
|
|
@@ -38,9 +38,9 @@ type DrawerStylesType = SemanticStylesType<DrawerProps$1, DrawerSemanticStyles>;
|
|
|
38
38
|
interface DrawerPanelProps {
|
|
39
39
|
prefixCls: string;
|
|
40
40
|
ariaId?: string;
|
|
41
|
-
title?: VueNode
|
|
42
|
-
footer?: VueNode
|
|
43
|
-
extra?: VueNode
|
|
41
|
+
title?: VueNode;
|
|
42
|
+
footer?: VueNode;
|
|
43
|
+
extra?: VueNode;
|
|
44
44
|
size?: DrawerProps$1['size'];
|
|
45
45
|
/**
|
|
46
46
|
* Recommend to use closeIcon instead
|
|
@@ -52,7 +52,7 @@ interface DrawerPanelProps {
|
|
|
52
52
|
closable?: boolean | (Extract<ClosableType, object> & {
|
|
53
53
|
placement?: 'start' | 'end';
|
|
54
54
|
});
|
|
55
|
-
closeIcon?: VueNode
|
|
55
|
+
closeIcon?: VueNode;
|
|
56
56
|
onClose?: DrawerProps['onClose'];
|
|
57
57
|
classes?: DrawerClassNamesType;
|
|
58
58
|
styles?: DrawerStylesType;
|
package/dist/empty/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 { ComponentBaseProps } from "../config-provider/context.js";
|
|
4
4
|
import { CSSProperties, SlotsType } from "vue";
|
|
@@ -28,8 +28,8 @@ type SemanticName = EmptySemanticName;
|
|
|
28
28
|
interface EmptyProps extends ComponentBaseProps {
|
|
29
29
|
classes?: EmptyClassNamesType;
|
|
30
30
|
styles?: EmptyStylesType;
|
|
31
|
-
image?: VueNode
|
|
32
|
-
description?: VueNode
|
|
31
|
+
image?: VueNode;
|
|
32
|
+
description?: VueNode;
|
|
33
33
|
}
|
|
34
34
|
interface EmptySlots {
|
|
35
35
|
image: () => any;
|
|
@@ -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 { TooltipProps } from "../tooltip/index.js";
|
|
4
4
|
import { BadgeProps } from "../badge/index.js";
|
|
@@ -20,13 +20,13 @@ type FloatButtonSemanticName = ButtonSemanticName;
|
|
|
20
20
|
type FloatButtonClassNamesType = SemanticClassNamesType<FloatButtonProps, ButtonSemanticClassNames>;
|
|
21
21
|
type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, ButtonSemanticStyles>;
|
|
22
22
|
interface FloatButtonProps extends ComponentBaseProps, FloatButtonEmitsProps {
|
|
23
|
-
icon?: VueNode
|
|
23
|
+
icon?: VueNode;
|
|
24
24
|
/** @deprecated Use `content` instead */
|
|
25
|
-
description?: VueNode
|
|
26
|
-
content?: VueNode
|
|
25
|
+
description?: VueNode;
|
|
26
|
+
content?: VueNode;
|
|
27
27
|
type?: FloatButtonType;
|
|
28
28
|
shape?: FloatButtonShape;
|
|
29
|
-
tooltip?: VueNode
|
|
29
|
+
tooltip?: VueNode | TooltipProps;
|
|
30
30
|
href?: string;
|
|
31
31
|
target?: '_self' | '_blank' | '_parent' | '_top' | string;
|
|
32
32
|
badge?: FloatButtonBadgeProps & {
|
|
@@ -13,7 +13,7 @@ import { Fragment, computed, createVNode, defineComponent, isVNode, mergeDefault
|
|
|
13
13
|
import { classNames } from "@v-c/util";
|
|
14
14
|
import { filterEmpty, removeUndefined } from "@v-c/util/dist/props-util";
|
|
15
15
|
import { FileTextOutlined } from "@antdv-next/icons";
|
|
16
|
-
import { omit } from "es-toolkit";
|
|
16
|
+
import { omit } from "es-toolkit/compat";
|
|
17
17
|
//#region src/float-button/FloatButton.tsx
|
|
18
18
|
function _isSlot(s) {
|
|
19
19
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|