@qin-ui/antd-vue-pro 1.1.14 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/form/{index-297bff03.js → index-f9088d5a.js} +110 -98
- package/es/form/index.js +1 -1
- package/es/index.d.ts +51 -51
- package/es/index.js +2 -2
- package/es/style.css +5 -5
- package/es/table/index.js +29 -26
- package/package.json +7 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject, ref, h as h$1, getCurrentInstance, nextTick, reactive, defineComponent, createVNode, shallowRef, watch, unref, provide, watchEffect, onBeforeUnmount, computed,
|
|
1
|
+
import { inject, ref, h as h$1, getCurrentInstance, nextTick, reactive, defineComponent, createVNode, shallowRef, watch, unref, provide, watchEffect, onBeforeUnmount, computed, triggerRef, Fragment, Comment, Text, isVNode, onMounted, cloneVNode, Transition, withDirectives, resolveDirective, onUpdated, onUnmounted, toRef, withModifiers, vShow, onBeforeMount, Teleport, TransitionGroup, toRaw, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, renderList, createSlots, createTextVNode, createCommentVNode, useAttrs, resolveDynamicComponent, normalizeProps, renderSlot, toDisplayString, shallowReactive } from "vue";
|
|
2
2
|
import { Input, Textarea, InputSearch, InputPassword, InputNumber, Select, Cascader, DatePicker as DatePicker$1, RangePicker, TimePicker as TimePicker$1, CheckboxGroup, RadioGroup, Switch, Slider, TreeSelect, Transfer, Row as Row$1, Col as Col$1, FormItem as FormItem$1, message, Form as Form$2 } from "ant-design-vue";
|
|
3
3
|
import { INIT_PROPS_MAP, useInjectProps, INJECT_KEYS } from "../component-provider/index.js";
|
|
4
4
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -4635,7 +4635,9 @@ function supportLayer() {
|
|
|
4635
4635
|
return canLayer;
|
|
4636
4636
|
}
|
|
4637
4637
|
const EMPTY_OVERRIDE = {};
|
|
4638
|
-
const
|
|
4638
|
+
const isProduction = process.env.NODE_ENV === "production";
|
|
4639
|
+
const isPrerender = process.env.NODE_ENV === "prerender";
|
|
4640
|
+
const hashPrefix = !isProduction && !isPrerender ? "css-dev-only-do-not-override" : "css";
|
|
4639
4641
|
const tokenKeys = /* @__PURE__ */ new Map();
|
|
4640
4642
|
function recordCleanToken(tokenKey) {
|
|
4641
4643
|
tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) + 1);
|
|
@@ -5390,7 +5392,7 @@ class Keyframe {
|
|
|
5390
5392
|
}
|
|
5391
5393
|
}
|
|
5392
5394
|
const Keyframes = Keyframe;
|
|
5393
|
-
const version = "4.
|
|
5395
|
+
const version = "4.2.5";
|
|
5394
5396
|
const PresetColors = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
5395
5397
|
const genControlHeight = (token2) => {
|
|
5396
5398
|
const {
|
|
@@ -6185,46 +6187,21 @@ function statisticToken(token2) {
|
|
|
6185
6187
|
flush
|
|
6186
6188
|
};
|
|
6187
6189
|
}
|
|
6188
|
-
function toReactive(objectRef) {
|
|
6189
|
-
if (!isRef(objectRef))
|
|
6190
|
-
return reactive(objectRef);
|
|
6191
|
-
const proxy = new Proxy({}, {
|
|
6192
|
-
get(_2, p, receiver) {
|
|
6193
|
-
return Reflect.get(objectRef.value, p, receiver);
|
|
6194
|
-
},
|
|
6195
|
-
set(_2, p, value) {
|
|
6196
|
-
objectRef.value[p] = value;
|
|
6197
|
-
return true;
|
|
6198
|
-
},
|
|
6199
|
-
deleteProperty(_2, p) {
|
|
6200
|
-
return Reflect.deleteProperty(objectRef.value, p);
|
|
6201
|
-
},
|
|
6202
|
-
has(_2, p) {
|
|
6203
|
-
return Reflect.has(objectRef.value, p);
|
|
6204
|
-
},
|
|
6205
|
-
ownKeys() {
|
|
6206
|
-
return Object.keys(objectRef.value);
|
|
6207
|
-
},
|
|
6208
|
-
getOwnPropertyDescriptor() {
|
|
6209
|
-
return {
|
|
6210
|
-
enumerable: true,
|
|
6211
|
-
configurable: true
|
|
6212
|
-
};
|
|
6213
|
-
}
|
|
6214
|
-
});
|
|
6215
|
-
return reactive(proxy);
|
|
6216
|
-
}
|
|
6217
6190
|
const defaultTheme = createTheme(derivative);
|
|
6218
6191
|
const defaultConfig = {
|
|
6219
6192
|
token: defaultSeedToken,
|
|
6220
6193
|
hashed: true
|
|
6221
6194
|
};
|
|
6222
6195
|
const DesignTokenContextKey = Symbol("DesignTokenContext");
|
|
6223
|
-
const globalDesignTokenApi =
|
|
6196
|
+
const globalDesignTokenApi = shallowRef();
|
|
6224
6197
|
const useDesignTokenProvider = (value) => {
|
|
6225
6198
|
provide(DesignTokenContextKey, value);
|
|
6226
|
-
|
|
6227
|
-
globalDesignTokenApi.value = value;
|
|
6199
|
+
watch(value, () => {
|
|
6200
|
+
globalDesignTokenApi.value = unref(value);
|
|
6201
|
+
triggerRef(globalDesignTokenApi);
|
|
6202
|
+
}, {
|
|
6203
|
+
immediate: true,
|
|
6204
|
+
deep: true
|
|
6228
6205
|
});
|
|
6229
6206
|
};
|
|
6230
6207
|
defineComponent({
|
|
@@ -6235,7 +6212,7 @@ defineComponent({
|
|
|
6235
6212
|
let {
|
|
6236
6213
|
slots
|
|
6237
6214
|
} = _ref;
|
|
6238
|
-
useDesignTokenProvider(
|
|
6215
|
+
useDesignTokenProvider(computed(() => props.value));
|
|
6239
6216
|
return () => {
|
|
6240
6217
|
var _a;
|
|
6241
6218
|
return (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots);
|
|
@@ -6243,17 +6220,17 @@ defineComponent({
|
|
|
6243
6220
|
}
|
|
6244
6221
|
});
|
|
6245
6222
|
function useToken() {
|
|
6246
|
-
const designTokenContext = inject(DesignTokenContextKey, globalDesignTokenApi.value || defaultConfig);
|
|
6247
|
-
const salt = computed(() => `${version}-${designTokenContext.hashed || ""}`);
|
|
6248
|
-
const mergedTheme = computed(() => designTokenContext.theme || defaultTheme);
|
|
6249
|
-
const cacheToken = useCacheToken(mergedTheme, computed(() => [defaultSeedToken, designTokenContext.token]), computed(() => ({
|
|
6223
|
+
const designTokenContext = inject(DesignTokenContextKey, computed(() => globalDesignTokenApi.value || defaultConfig));
|
|
6224
|
+
const salt = computed(() => `${version}-${designTokenContext.value.hashed || ""}`);
|
|
6225
|
+
const mergedTheme = computed(() => designTokenContext.value.theme || defaultTheme);
|
|
6226
|
+
const cacheToken = useCacheToken(mergedTheme, computed(() => [defaultSeedToken, designTokenContext.value.token]), computed(() => ({
|
|
6250
6227
|
salt: salt.value,
|
|
6251
6228
|
override: _extends$1({
|
|
6252
|
-
override: designTokenContext.token
|
|
6253
|
-
}, designTokenContext.components),
|
|
6229
|
+
override: designTokenContext.value.token
|
|
6230
|
+
}, designTokenContext.value.components),
|
|
6254
6231
|
formatToken
|
|
6255
6232
|
})));
|
|
6256
|
-
return [mergedTheme, computed(() => cacheToken.value[0]), computed(() => designTokenContext.hashed ? cacheToken.value[1] : "")];
|
|
6233
|
+
return [mergedTheme, computed(() => cacheToken.value[0]), computed(() => designTokenContext.value.hashed ? cacheToken.value[1] : "")];
|
|
6257
6234
|
}
|
|
6258
6235
|
const responsiveArray = ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
|
|
6259
6236
|
const getResponsiveMap = (token2) => ({
|
|
@@ -6533,7 +6510,8 @@ const localeValues = {
|
|
|
6533
6510
|
},
|
|
6534
6511
|
QRCode: {
|
|
6535
6512
|
expired: "QR code expired",
|
|
6536
|
-
refresh: "Refresh"
|
|
6513
|
+
refresh: "Refresh",
|
|
6514
|
+
scanned: "Scanned"
|
|
6537
6515
|
}
|
|
6538
6516
|
};
|
|
6539
6517
|
const defaultLocale = localeValues;
|
|
@@ -7015,8 +6993,6 @@ var __rest$1 = globalThis && globalThis.__rest || function(s2, e2) {
|
|
|
7015
6993
|
}
|
|
7016
6994
|
return t2;
|
|
7017
6995
|
};
|
|
7018
|
-
const defaultEmptyImg = createVNode(DefaultEmptyImg, null, null);
|
|
7019
|
-
const simpleEmptyImg = createVNode(SimpleEmptyImg, null, null);
|
|
7020
6996
|
const emptyProps = () => ({
|
|
7021
6997
|
prefixCls: String,
|
|
7022
6998
|
imageStyle: objectType(),
|
|
@@ -7044,11 +7020,13 @@ const Empty = defineComponent({
|
|
|
7044
7020
|
var _a, _b;
|
|
7045
7021
|
const prefixCls = prefixClsRef.value;
|
|
7046
7022
|
const _c = _extends$1(_extends$1({}, props), attrs), {
|
|
7047
|
-
image = ((_a = slots.image) === null || _a === void 0 ? void 0 : _a.call(slots)) ||
|
|
7023
|
+
image: mergedImage = ((_a = slots.image) === null || _a === void 0 ? void 0 : _a.call(slots)) || h$1(DefaultEmptyImg),
|
|
7048
7024
|
description = ((_b = slots.description) === null || _b === void 0 ? void 0 : _b.call(slots)) || void 0,
|
|
7049
7025
|
imageStyle,
|
|
7050
7026
|
class: className = ""
|
|
7051
7027
|
} = _c, restProps = __rest$1(_c, ["image", "description", "imageStyle", "class"]);
|
|
7028
|
+
const image = typeof mergedImage === "function" ? mergedImage() : mergedImage;
|
|
7029
|
+
const isNormal = typeof image === "object" && "type" in image && image.type.PRESENTED_IMAGE_SIMPLE;
|
|
7052
7030
|
return wrapSSR(createVNode(LocaleReceiver, {
|
|
7053
7031
|
"componentName": "Empty",
|
|
7054
7032
|
"children": (locale2) => {
|
|
@@ -7065,7 +7043,7 @@ const Empty = defineComponent({
|
|
|
7065
7043
|
}
|
|
7066
7044
|
return createVNode("div", _objectSpread2$1({
|
|
7067
7045
|
"class": classNames(prefixCls, className, hashId.value, {
|
|
7068
|
-
[`${prefixCls}-normal`]:
|
|
7046
|
+
[`${prefixCls}-normal`]: isNormal,
|
|
7069
7047
|
[`${prefixCls}-rtl`]: direction.value === "rtl"
|
|
7070
7048
|
})
|
|
7071
7049
|
}, restProps), [createVNode("div", {
|
|
@@ -7081,8 +7059,8 @@ const Empty = defineComponent({
|
|
|
7081
7059
|
};
|
|
7082
7060
|
}
|
|
7083
7061
|
});
|
|
7084
|
-
Empty.PRESENTED_IMAGE_DEFAULT =
|
|
7085
|
-
Empty.PRESENTED_IMAGE_SIMPLE =
|
|
7062
|
+
Empty.PRESENTED_IMAGE_DEFAULT = () => h$1(DefaultEmptyImg);
|
|
7063
|
+
Empty.PRESENTED_IMAGE_SIMPLE = () => h$1(SimpleEmptyImg);
|
|
7086
7064
|
const Empty$1 = withInstall(Empty);
|
|
7087
7065
|
const DefaultRenderEmpty = (props) => {
|
|
7088
7066
|
const {
|
|
@@ -7174,6 +7152,10 @@ const useConfigInject = (name, props) => {
|
|
|
7174
7152
|
var _a;
|
|
7175
7153
|
return (_a = props.csp) !== null && _a !== void 0 ? _a : configProvider.csp;
|
|
7176
7154
|
});
|
|
7155
|
+
const wave = computed(() => {
|
|
7156
|
+
var _a, _b;
|
|
7157
|
+
return (_a = props.wave) !== null && _a !== void 0 ? _a : (_b = configProvider.wave) === null || _b === void 0 ? void 0 : _b.value;
|
|
7158
|
+
});
|
|
7177
7159
|
return {
|
|
7178
7160
|
configProvider,
|
|
7179
7161
|
prefixCls,
|
|
@@ -7194,7 +7176,8 @@ const useConfigInject = (name, props) => {
|
|
|
7194
7176
|
csp,
|
|
7195
7177
|
iconPrefixCls,
|
|
7196
7178
|
disabled,
|
|
7197
|
-
select: configProvider.select
|
|
7179
|
+
select: configProvider.select,
|
|
7180
|
+
wave
|
|
7198
7181
|
};
|
|
7199
7182
|
};
|
|
7200
7183
|
const canUseDocElement = () => canUseDom() && window.document.documentElement;
|
|
@@ -7270,6 +7253,9 @@ const genGridRowStyle = (token2) => {
|
|
|
7270
7253
|
"&-space-around ": {
|
|
7271
7254
|
justifyContent: "space-around"
|
|
7272
7255
|
},
|
|
7256
|
+
"&-space-evenly ": {
|
|
7257
|
+
justifyContent: "space-evenly"
|
|
7258
|
+
},
|
|
7273
7259
|
// Align at the top
|
|
7274
7260
|
"&-top": {
|
|
7275
7261
|
alignItems: "flex-start"
|
|
@@ -9084,6 +9070,7 @@ const triggerProps = () => ({
|
|
|
9084
9070
|
onPopupVisibleChange: Function,
|
|
9085
9071
|
afterPopupVisibleChange: PropTypes$1.func.def(noop$1),
|
|
9086
9072
|
popup: PropTypes$1.any,
|
|
9073
|
+
arrow: PropTypes$1.bool.def(true),
|
|
9087
9074
|
popupStyle: {
|
|
9088
9075
|
type: Object,
|
|
9089
9076
|
default: void 0
|
|
@@ -9211,6 +9198,10 @@ const innerProps = {
|
|
|
9211
9198
|
zIndex: Number,
|
|
9212
9199
|
destroyPopupOnHide: Boolean,
|
|
9213
9200
|
forceRender: Boolean,
|
|
9201
|
+
arrow: {
|
|
9202
|
+
type: Boolean,
|
|
9203
|
+
default: true
|
|
9204
|
+
},
|
|
9214
9205
|
// Legacy Motion
|
|
9215
9206
|
animation: [String, Object],
|
|
9216
9207
|
transitionName: String,
|
|
@@ -9231,6 +9222,9 @@ const innerProps = {
|
|
|
9231
9222
|
getClassNameFromAlign: {
|
|
9232
9223
|
type: Function
|
|
9233
9224
|
},
|
|
9225
|
+
onAlign: {
|
|
9226
|
+
type: Function
|
|
9227
|
+
},
|
|
9234
9228
|
onMouseenter: {
|
|
9235
9229
|
type: Function
|
|
9236
9230
|
},
|
|
@@ -11386,7 +11380,7 @@ const PopupInner = defineComponent({
|
|
|
11386
11380
|
"class": `${prefixCls}-content`
|
|
11387
11381
|
}, [childNode]);
|
|
11388
11382
|
}
|
|
11389
|
-
const mergedClassName = classNames(prefixCls, attrs.class, alignedClassName.value);
|
|
11383
|
+
const mergedClassName = classNames(prefixCls, attrs.class, alignedClassName.value, !props.arrow && `${prefixCls}-arrow-hidden`);
|
|
11390
11384
|
const hasAnimate = visible.value || !props.visible;
|
|
11391
11385
|
const transitionProps = hasAnimate ? getTransitionProps(motion.value.name, motion.value) : {};
|
|
11392
11386
|
return createVNode(Transition, _objectSpread2$1(_objectSpread2$1({
|
|
@@ -11744,6 +11738,7 @@ const Portal = defineComponent({
|
|
|
11744
11738
|
const container = shallowRef();
|
|
11745
11739
|
const componentRef = shallowRef();
|
|
11746
11740
|
const rafId = shallowRef();
|
|
11741
|
+
const triggerUpdate = shallowRef(1);
|
|
11747
11742
|
const defaultContainer = canUseDom() && document.createElement("div");
|
|
11748
11743
|
const removeCurrentContainer = () => {
|
|
11749
11744
|
var _a, _b;
|
|
@@ -11788,7 +11783,6 @@ const Portal = defineComponent({
|
|
|
11788
11783
|
setWrapperClassName();
|
|
11789
11784
|
attachToParent();
|
|
11790
11785
|
});
|
|
11791
|
-
const instance = getCurrentInstance();
|
|
11792
11786
|
useScrollLocker(computed(() => {
|
|
11793
11787
|
return props.autoLock && props.visible && canUseDom() && (container.value === document.body || container.value === defaultContainer);
|
|
11794
11788
|
}));
|
|
@@ -11821,7 +11815,7 @@ const Portal = defineComponent({
|
|
|
11821
11815
|
nextTick(() => {
|
|
11822
11816
|
if (!attachToParent()) {
|
|
11823
11817
|
rafId.value = wrapperRaf(() => {
|
|
11824
|
-
|
|
11818
|
+
triggerUpdate.value += 1;
|
|
11825
11819
|
});
|
|
11826
11820
|
}
|
|
11827
11821
|
});
|
|
@@ -11846,7 +11840,7 @@ const Portal = defineComponent({
|
|
|
11846
11840
|
getOpenCount: () => openCount,
|
|
11847
11841
|
getContainer: getContainer2
|
|
11848
11842
|
};
|
|
11849
|
-
if (forceRender || visible || componentRef.value) {
|
|
11843
|
+
if (triggerUpdate.value && (forceRender || visible || componentRef.value)) {
|
|
11850
11844
|
portal = createVNode(Portal$1, {
|
|
11851
11845
|
"getContainer": getContainer2,
|
|
11852
11846
|
"ref": componentRef,
|
|
@@ -12017,7 +12011,9 @@ const Trigger = defineComponent({
|
|
|
12017
12011
|
if (e2 && e2.relatedTarget && !e2.relatedTarget.setTimeout && contains((_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.getElement(), e2.relatedTarget)) {
|
|
12018
12012
|
return;
|
|
12019
12013
|
}
|
|
12020
|
-
this.
|
|
12014
|
+
if (this.isMouseLeaveToHide()) {
|
|
12015
|
+
this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
|
|
12016
|
+
}
|
|
12021
12017
|
const {
|
|
12022
12018
|
vcTriggerContext = {}
|
|
12023
12019
|
} = this;
|
|
@@ -12198,6 +12194,7 @@ const Trigger = defineComponent({
|
|
|
12198
12194
|
stretch,
|
|
12199
12195
|
alignPoint: alignPoint2,
|
|
12200
12196
|
mobile,
|
|
12197
|
+
arrow,
|
|
12201
12198
|
forceRender
|
|
12202
12199
|
} = this.$props;
|
|
12203
12200
|
const {
|
|
@@ -12206,6 +12203,7 @@ const Trigger = defineComponent({
|
|
|
12206
12203
|
} = this.$data;
|
|
12207
12204
|
const popupProps2 = _extends$1(_extends$1({
|
|
12208
12205
|
prefixCls,
|
|
12206
|
+
arrow,
|
|
12209
12207
|
destroyPopupOnHide,
|
|
12210
12208
|
visible: sPopupVisible,
|
|
12211
12209
|
point: alignPoint2 ? point : null,
|
|
@@ -12665,7 +12663,11 @@ const Tooltip$1 = defineComponent({
|
|
|
12665
12663
|
default: void 0
|
|
12666
12664
|
},
|
|
12667
12665
|
onVisibleChange: Function,
|
|
12668
|
-
onPopupAlign: Function
|
|
12666
|
+
onPopupAlign: Function,
|
|
12667
|
+
arrow: {
|
|
12668
|
+
type: Boolean,
|
|
12669
|
+
default: true
|
|
12670
|
+
}
|
|
12669
12671
|
},
|
|
12670
12672
|
setup(props, _ref) {
|
|
12671
12673
|
let {
|
|
@@ -12680,10 +12682,10 @@ const Tooltip$1 = defineComponent({
|
|
|
12680
12682
|
tipId,
|
|
12681
12683
|
overlayInnerStyle
|
|
12682
12684
|
} = props;
|
|
12683
|
-
return [createVNode("div", {
|
|
12685
|
+
return [!!props.arrow ? createVNode("div", {
|
|
12684
12686
|
"class": `${prefixCls}-arrow`,
|
|
12685
12687
|
"key": "arrow"
|
|
12686
|
-
}, [getPropsSlot(slots, props, "arrowContent")]), createVNode(Content, {
|
|
12688
|
+
}, [getPropsSlot(slots, props, "arrowContent")]) : null, createVNode(Content, {
|
|
12687
12689
|
"key": "content",
|
|
12688
12690
|
"prefixCls": prefixCls,
|
|
12689
12691
|
"id": tipId,
|
|
@@ -12759,6 +12761,7 @@ const Tooltip$1 = defineComponent({
|
|
|
12759
12761
|
onPopupVisibleChange: props.onVisibleChange || noop,
|
|
12760
12762
|
onPopupAlign: props.onPopupAlign || noop,
|
|
12761
12763
|
ref: triggerDOM,
|
|
12764
|
+
arrow: !!props.arrow,
|
|
12762
12765
|
popup: getPopupElement()
|
|
12763
12766
|
});
|
|
12764
12767
|
return createVNode(Trigger, triggerProps2, {
|
|
@@ -12789,10 +12792,15 @@ const abstractTooltipProps = () => ({
|
|
|
12789
12792
|
mouseEnterDelay: Number,
|
|
12790
12793
|
mouseLeaveDelay: Number,
|
|
12791
12794
|
getPopupContainer: Function,
|
|
12795
|
+
/**@deprecated Please use `arrow={{ pointAtCenter: true }}` instead. */
|
|
12792
12796
|
arrowPointAtCenter: {
|
|
12793
12797
|
type: Boolean,
|
|
12794
12798
|
default: void 0
|
|
12795
12799
|
},
|
|
12800
|
+
arrow: {
|
|
12801
|
+
type: [Boolean, Object],
|
|
12802
|
+
default: true
|
|
12803
|
+
},
|
|
12796
12804
|
autoAdjustOverflow: {
|
|
12797
12805
|
type: [Boolean, Object],
|
|
12798
12806
|
default: void 0
|
|
@@ -13317,22 +13325,22 @@ function getArrowStyle(token2, options) {
|
|
|
13317
13325
|
// =========================== Offset ============================
|
|
13318
13326
|
// Offset the popover to account for the dropdown arrow
|
|
13319
13327
|
// >>>>> Top
|
|
13320
|
-
[connectArrowCls([`&-placement-topLeft`, `&-placement-top`, `&-placement-topRight`], showArrowCls)]: {
|
|
13328
|
+
[connectArrowCls([`&-placement-topLeft`, `&-placement-top`, `&-placement-topRight`].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: {
|
|
13321
13329
|
paddingBottom: dropdownArrowDistance
|
|
13322
13330
|
},
|
|
13323
13331
|
// >>>>> Bottom
|
|
13324
|
-
[connectArrowCls([`&-placement-bottomLeft`, `&-placement-bottom`, `&-placement-bottomRight`], showArrowCls)]: {
|
|
13332
|
+
[connectArrowCls([`&-placement-bottomLeft`, `&-placement-bottom`, `&-placement-bottomRight`].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: {
|
|
13325
13333
|
paddingTop: dropdownArrowDistance
|
|
13326
13334
|
},
|
|
13327
13335
|
// >>>>> Left
|
|
13328
|
-
[connectArrowCls([`&-placement-leftTop`, `&-placement-left`, `&-placement-leftBottom`], showArrowCls)]: {
|
|
13336
|
+
[connectArrowCls([`&-placement-leftTop`, `&-placement-left`, `&-placement-leftBottom`].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: {
|
|
13329
13337
|
paddingRight: {
|
|
13330
13338
|
_skip_check_: true,
|
|
13331
13339
|
value: dropdownArrowDistance
|
|
13332
13340
|
}
|
|
13333
13341
|
},
|
|
13334
13342
|
// >>>>> Right
|
|
13335
|
-
[connectArrowCls([`&-placement-rightTop`, `&-placement-right`, `&-placement-rightBottom`], showArrowCls)]: {
|
|
13343
|
+
[connectArrowCls([`&-placement-rightTop`, `&-placement-right`, `&-placement-rightBottom`].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: {
|
|
13336
13344
|
paddingLeft: {
|
|
13337
13345
|
_skip_check_: true,
|
|
13338
13346
|
value: dropdownArrowDistance
|
|
@@ -13561,13 +13569,19 @@ const ToolTip = defineComponent({
|
|
|
13561
13569
|
}
|
|
13562
13570
|
});
|
|
13563
13571
|
const tooltipPlacements = computed(() => {
|
|
13572
|
+
var _a;
|
|
13564
13573
|
const {
|
|
13565
13574
|
builtinPlacements,
|
|
13566
|
-
|
|
13567
|
-
|
|
13575
|
+
autoAdjustOverflow: autoAdjustOverflow2,
|
|
13576
|
+
arrow,
|
|
13577
|
+
arrowPointAtCenter
|
|
13568
13578
|
} = props;
|
|
13579
|
+
let mergedArrowPointAtCenter = arrowPointAtCenter;
|
|
13580
|
+
if (typeof arrow === "object") {
|
|
13581
|
+
mergedArrowPointAtCenter = (_a = arrow.pointAtCenter) !== null && _a !== void 0 ? _a : arrowPointAtCenter;
|
|
13582
|
+
}
|
|
13569
13583
|
return builtinPlacements || getPlacements({
|
|
13570
|
-
arrowPointAtCenter,
|
|
13584
|
+
arrowPointAtCenter: mergedArrowPointAtCenter,
|
|
13571
13585
|
autoAdjustOverflow: autoAdjustOverflow2
|
|
13572
13586
|
});
|
|
13573
13587
|
});
|
|
@@ -13664,6 +13678,7 @@ const ToolTip = defineComponent({
|
|
|
13664
13678
|
const arrowContentStyle = colorInfo.value.arrowStyle;
|
|
13665
13679
|
const vcTooltipProps = _extends$1(_extends$1(_extends$1({}, attrs), props), {
|
|
13666
13680
|
prefixCls: prefixCls.value,
|
|
13681
|
+
arrow: !!props.arrow,
|
|
13667
13682
|
getPopupContainer: getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer.value,
|
|
13668
13683
|
builtinPlacements: tooltipPlacements.value,
|
|
13669
13684
|
visible: tempVisible,
|
|
@@ -14964,7 +14979,7 @@ const FormItem = defineComponent({
|
|
|
14964
14979
|
"class": [itemClassName.value, withHelp ? `${prefixCls.value}-item-with-help` : "", attrs.class],
|
|
14965
14980
|
"ref": itemRef
|
|
14966
14981
|
}, [createVNode(Row, _objectSpread2$1(_objectSpread2$1({}, attrs), {}, {
|
|
14967
|
-
"class": `${prefixCls.value}-row`,
|
|
14982
|
+
"class": `${prefixCls.value}-item-row`,
|
|
14968
14983
|
"key": "row"
|
|
14969
14984
|
}), {
|
|
14970
14985
|
default: () => {
|
|
@@ -15263,11 +15278,11 @@ function useForm$1(modelRef) {
|
|
|
15263
15278
|
return Promise.reject([]);
|
|
15264
15279
|
}).catch((results) => {
|
|
15265
15280
|
const errorList = results.filter((result) => result && result.errors.length);
|
|
15266
|
-
return Promise.reject({
|
|
15281
|
+
return errorList.length ? Promise.reject({
|
|
15267
15282
|
values,
|
|
15268
15283
|
errorFields: errorList,
|
|
15269
15284
|
outOfDate: lastValidatePromise !== summaryPromise
|
|
15270
|
-
});
|
|
15285
|
+
}) : Promise.resolve(values);
|
|
15271
15286
|
});
|
|
15272
15287
|
returnPromise.catch((e2) => e2);
|
|
15273
15288
|
return returnPromise;
|
|
@@ -15781,13 +15796,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
15781
15796
|
const props = __props;
|
|
15782
15797
|
useProviderDisabled(computed(() => props.disabled));
|
|
15783
15798
|
const updateRefs = inject(UPDATE_REFS);
|
|
15784
|
-
const getPath = (
|
|
15785
|
-
|
|
15799
|
+
const getPath = (field) => {
|
|
15800
|
+
const path = (field == null ? void 0 : field.name) ?? [props.path, field == null ? void 0 : field.key].filter(Boolean);
|
|
15801
|
+
return toPath(path).join(".");
|
|
15786
15802
|
};
|
|
15787
15803
|
const setFormItemRef = (el, field) => {
|
|
15788
15804
|
if (!el)
|
|
15789
15805
|
return;
|
|
15790
|
-
const path = getPath(field
|
|
15806
|
+
const path = getPath(field);
|
|
15791
15807
|
updateRefs == null ? void 0 : updateRefs("formItemRefs", path, el);
|
|
15792
15808
|
};
|
|
15793
15809
|
const proFormPropKeys = computed(() => {
|
|
@@ -15838,16 +15854,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
15838
15854
|
default: withCtx(() => [
|
|
15839
15855
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fields, (field, index2) => {
|
|
15840
15856
|
return openBlock(), createElementBlock(Fragment, {
|
|
15841
|
-
key: getPath(field
|
|
15857
|
+
key: getPath(field) || index2
|
|
15842
15858
|
}, [
|
|
15843
|
-
field && !field.hidden ? (openBlock(), createBlock(
|
|
15859
|
+
field && !field.hidden ? (openBlock(), createBlock(unref(_sfc_main$2), mergeProps({
|
|
15844
15860
|
key: 0,
|
|
15861
|
+
component: _ctx.grid ? unref(Col$1) : void 0,
|
|
15845
15862
|
ref_for: true
|
|
15846
|
-
},
|
|
15863
|
+
}, unref(withDefaultGridItem)(field)), {
|
|
15847
15864
|
default: withCtx(() => [
|
|
15848
15865
|
createVNode(unref(_sfc_main$2), {
|
|
15849
15866
|
component: field.container,
|
|
15850
|
-
path: getPath(field
|
|
15867
|
+
path: getPath(field)
|
|
15851
15868
|
}, {
|
|
15852
15869
|
default: withCtx(() => [
|
|
15853
15870
|
createVNode(unref(FormItem$1), mergeProps({ ref_for: true }, withDefault(field), {
|
|
@@ -15856,15 +15873,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
15856
15873
|
class: field.className,
|
|
15857
15874
|
style: field.style,
|
|
15858
15875
|
"hide-feedback": field.hideFeedback,
|
|
15859
|
-
name:
|
|
15860
|
-
path: getPath(field
|
|
15876
|
+
name: unref(toPath)(getPath(field)),
|
|
15877
|
+
path: getPath(field)
|
|
15861
15878
|
}), createSlots({
|
|
15862
15879
|
default: withCtx(() => [
|
|
15863
15880
|
field.fields ? (openBlock(), createBlock(_component_BaseFormItem, {
|
|
15864
15881
|
key: 0,
|
|
15865
15882
|
grid: field.grid ?? _ctx.grid,
|
|
15866
15883
|
fields: field.fields,
|
|
15867
|
-
path: getPath(field
|
|
15884
|
+
path: getPath(field),
|
|
15868
15885
|
disabled: field.disabled
|
|
15869
15886
|
}, null, 8, ["grid", "fields", "path", "disabled"])) : !field.component ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
15870
15887
|
createTextVNode(' missing "component" prop ')
|
|
@@ -15873,7 +15890,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
15873
15890
|
ref_for: true
|
|
15874
15891
|
}, unref(omitFormItemProps)(field), {
|
|
15875
15892
|
label: field.label,
|
|
15876
|
-
path: getPath(field
|
|
15893
|
+
path: getPath(field)
|
|
15877
15894
|
}), null, 16, ["label", "path"]))
|
|
15878
15895
|
]),
|
|
15879
15896
|
_: 2
|
|
@@ -15881,11 +15898,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
15881
15898
|
renderList(field.slots, (slot, name) => {
|
|
15882
15899
|
return {
|
|
15883
15900
|
name,
|
|
15884
|
-
fn: withCtx(() => [
|
|
15901
|
+
fn: withCtx((scoped) => [
|
|
15885
15902
|
unref(FORM_ITEM_SLOT_KEYS).includes(name) ? (openBlock(), createBlock(unref(_sfc_main$1), mergeProps({
|
|
15886
15903
|
key: 0,
|
|
15904
|
+
path: getPath(field),
|
|
15905
|
+
component: slot,
|
|
15887
15906
|
ref_for: true
|
|
15888
|
-
},
|
|
15907
|
+
}, scoped), null, 16, ["path", "component"])) : createCommentVNode("", true)
|
|
15889
15908
|
])
|
|
15890
15909
|
};
|
|
15891
15910
|
})
|
|
@@ -15895,7 +15914,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
15895
15914
|
}, 1032, ["component", "path"])
|
|
15896
15915
|
]),
|
|
15897
15916
|
_: 2
|
|
15898
|
-
}, 1040)) : createCommentVNode("", true)
|
|
15917
|
+
}, 1040, ["component"])) : createCommentVNode("", true)
|
|
15899
15918
|
], 64);
|
|
15900
15919
|
}), 128))
|
|
15901
15920
|
]),
|
|
@@ -15912,24 +15931,17 @@ const useFields = (initFields) => {
|
|
|
15912
15931
|
return false;
|
|
15913
15932
|
for (let i2 = 0; i2 < fieldList.length; i2 += 1) {
|
|
15914
15933
|
const field = fieldList[i2];
|
|
15915
|
-
const { key = "" } = field;
|
|
15916
|
-
const concatPath = `${parentPath}${parentPath && key ? "." : ""}${key}`;
|
|
15934
|
+
const { name, key = "" } = field;
|
|
15935
|
+
const concatPath = name ?? `${parentPath}${parentPath && key ? "." : ""}${key}`;
|
|
15917
15936
|
const selfPath = toPath(concatPath).join(".");
|
|
15918
|
-
if (!parsedPath.startsWith(selfPath))
|
|
15937
|
+
if (parsedPath.includes(".") && !parsedPath.startsWith(selfPath))
|
|
15919
15938
|
continue;
|
|
15920
15939
|
const fieldPath = `${parentFieldPath}[${i2}]`;
|
|
15921
15940
|
if (selfPath && selfPath === parsedPath) {
|
|
15922
15941
|
updater({ field, fieldIndex: i2, parentFields: fieldList, fieldPath });
|
|
15923
15942
|
return true;
|
|
15924
15943
|
}
|
|
15925
|
-
if (field.fields && updateField(
|
|
15926
|
-
path,
|
|
15927
|
-
updater,
|
|
15928
|
-
field.fields,
|
|
15929
|
-
selfPath,
|
|
15930
|
-
`${fieldPath}.fields`,
|
|
15931
|
-
parsedPath
|
|
15932
|
-
)) {
|
|
15944
|
+
if (field.fields && updateField(path, updater, field.fields, selfPath, `${fieldPath}.fields`, parsedPath)) {
|
|
15933
15945
|
return true;
|
|
15934
15946
|
}
|
|
15935
15947
|
}
|
|
@@ -16472,11 +16484,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16472
16484
|
}
|
|
16473
16485
|
return (_ctx, _cache) => {
|
|
16474
16486
|
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
16475
|
-
component:
|
|
16487
|
+
component: mergedAttrs.value.componentContainer,
|
|
16476
16488
|
path: _ctx.path
|
|
16477
16489
|
}, {
|
|
16478
16490
|
default: withCtx(() => [
|
|
16479
|
-
(openBlock(), createBlock(resolveDynamicComponent(is.value), mergeProps({ key: forceUpdateKey.value }, mergedAttrs.value, {
|
|
16491
|
+
(openBlock(), createBlock(resolveDynamicComponent(is.value), mergeProps({ key: forceUpdateKey.value }, unref(omit$1)(mergedAttrs.value, "componentContainer"), {
|
|
16480
16492
|
ref: setComponentRef,
|
|
16481
16493
|
[modelName.value]: value.value,
|
|
16482
16494
|
["onUpdate:" + modelName.value]: _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
@@ -16503,7 +16515,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16503
16515
|
};
|
|
16504
16516
|
}
|
|
16505
16517
|
});
|
|
16506
|
-
const
|
|
16518
|
+
const index_vue_vue_type_style_index_0_scoped_5475a3b8_lang = "";
|
|
16507
16519
|
const _export_sfc = (sfc, props) => {
|
|
16508
16520
|
const target = sfc.__vccOpts || sfc;
|
|
16509
16521
|
for (const [key, val] of props) {
|
|
@@ -16511,7 +16523,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
16511
16523
|
}
|
|
16512
16524
|
return target;
|
|
16513
16525
|
};
|
|
16514
|
-
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
16526
|
+
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-5475a3b8"]]);
|
|
16515
16527
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
16516
16528
|
...{
|
|
16517
16529
|
name: "ContainerFragment",
|
package/es/form/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l, B, d, i, C, b, f, F, k, G, R, e, j, U, h, _, m, p, n, s, q, u, r, t } from "./index-
|
|
1
|
+
import { l, B, d, i, C, b, f, F, k, G, R, e, j, U, h, _, m, p, n, s, q, u, r, t } from "./index-f9088d5a.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ant-design-vue";
|
|
4
4
|
import "../component-provider/index.js";
|
package/es/index.d.ts
CHANGED
|
@@ -408,7 +408,7 @@ export declare type Condition = {
|
|
|
408
408
|
disabled?: boolean;
|
|
409
409
|
};
|
|
410
410
|
|
|
411
|
-
export declare type ContainerComponent = Component<DefaultProps
|
|
411
|
+
export declare type ContainerComponent = Component<DefaultProps> | null;
|
|
412
412
|
|
|
413
413
|
export declare const ContainerFragment: __VLS_WithTemplateSlots_2<DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<Props_4>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<Props_4>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
414
414
|
default?(_: {}): any;
|
|
@@ -1087,45 +1087,45 @@ declare const _default_3: __VLS_WithTemplateSlots_3<DefineComponent<ExtractPropT
|
|
|
1087
1087
|
immediateSearch: boolean;
|
|
1088
1088
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<CustomSlots & Readonly<{
|
|
1089
1089
|
emptyText?: any;
|
|
1090
|
-
expandIcon?: Slot<RenderExpandIconProps<any
|
|
1090
|
+
expandIcon?: Slot<RenderExpandIconProps<any> | undefined> | undefined;
|
|
1091
1091
|
title?: any;
|
|
1092
1092
|
footer?: any;
|
|
1093
1093
|
summary?: any;
|
|
1094
1094
|
expandedRowRender?: any;
|
|
1095
1095
|
expandColumnTitle?: any;
|
|
1096
|
-
bodyCell?:
|
|
1096
|
+
bodyCell?: ((props: {
|
|
1097
1097
|
text: any;
|
|
1098
1098
|
value: any;
|
|
1099
1099
|
record: Record<string, any>;
|
|
1100
1100
|
index: number;
|
|
1101
1101
|
column: ColumnType<any>;
|
|
1102
|
-
}
|
|
1103
|
-
headerCell?:
|
|
1102
|
+
}) => void) | undefined;
|
|
1103
|
+
headerCell?: ((props: {
|
|
1104
1104
|
title: any;
|
|
1105
1105
|
column: ColumnType<any>;
|
|
1106
|
-
}
|
|
1106
|
+
}) => void) | undefined;
|
|
1107
1107
|
customFilterIcon?: any;
|
|
1108
1108
|
customFilterDropdown?: any;
|
|
1109
1109
|
default: any;
|
|
1110
1110
|
}>> & CustomSlots & Readonly<{
|
|
1111
1111
|
emptyText?: any;
|
|
1112
|
-
expandIcon?: Slot<RenderExpandIconProps<any
|
|
1112
|
+
expandIcon?: Slot<RenderExpandIconProps<any> | undefined> | undefined;
|
|
1113
1113
|
title?: any;
|
|
1114
1114
|
footer?: any;
|
|
1115
1115
|
summary?: any;
|
|
1116
1116
|
expandedRowRender?: any;
|
|
1117
1117
|
expandColumnTitle?: any;
|
|
1118
|
-
bodyCell?:
|
|
1118
|
+
bodyCell?: ((props: {
|
|
1119
1119
|
text: any;
|
|
1120
1120
|
value: any;
|
|
1121
1121
|
record: Record<string, any>;
|
|
1122
1122
|
index: number;
|
|
1123
1123
|
column: ColumnType<any>;
|
|
1124
|
-
}
|
|
1125
|
-
headerCell?:
|
|
1124
|
+
}) => void) | undefined;
|
|
1125
|
+
headerCell?: ((props: {
|
|
1126
1126
|
title: any;
|
|
1127
1127
|
column: ColumnType<any>;
|
|
1128
|
-
}
|
|
1128
|
+
}) => void) | undefined;
|
|
1129
1129
|
customFilterIcon?: any;
|
|
1130
1130
|
customFilterDropdown?: any;
|
|
1131
1131
|
default: any;
|
|
@@ -1535,21 +1535,21 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
1535
1535
|
'input-password': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "maxlength" | "loading" | "bordered" | "showCount" | "htmlSize" | "onPressEnter" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "onCompositionstart" | "onCompositionend" | "valueModifiers" | "hidden" | "status" | "value" | "defaultValue" | "inputElement" | "prefixCls" | "disabled" | "focused" | "triggerFocus" | "readonly" | "handleReset" | "addonBefore" | "addonAfter" | "prefix" | "suffix" | "clearIcon" | "allowClear" | ("type" | "lazy"), any> & Common<FormData_2>>;
|
|
1536
1536
|
'input-search': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "maxlength" | "loading" | "bordered" | "showCount" | "htmlSize" | "onPressEnter" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "onCompositionstart" | "onCompositionend" | "valueModifiers" | "hidden" | "status" | "value" | "defaultValue" | "inputElement" | "prefixCls" | "disabled" | "focused" | "triggerFocus" | "readonly" | "handleReset" | "addonBefore" | "addonAfter" | "prefix" | "suffix" | "clearIcon" | "allowClear" | ("type" | "lazy"), any> & Common<FormData_2>>;
|
|
1537
1537
|
'input-number': Partial<Record<"id" | "placeholder" | "type" | "name" | "valueModifiers" | "addonBefore" | "addonAfter" | "prefix" | "tabindex" | "precision" | "decimalSeparator" | ("size" | "autofocus" | "bordered" | "onPressEnter" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "readonly" | "stringMode" | "min" | "max" | "step" | "controls" | "keyboard" | "parser" | "formatter" | "onStep"), any> & Common<FormData_2>>;
|
|
1538
|
-
select: Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "itemIcon" | "transitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1539
|
-
cascader: Partial<Record<"id" | "placeholder" | "size" | "loading" | "bordered" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "placement" | "children" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "
|
|
1540
|
-
'date-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1541
|
-
'date-picker.date': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1542
|
-
'date-picker.week': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1543
|
-
'date-picker.month': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1544
|
-
'date-picker.year': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1545
|
-
'date-picker.quarter': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1546
|
-
'range-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "
|
|
1538
|
+
select: Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "itemIcon" | "transitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "animation" | "direction" | "getPopupContainer" | "virtual" | "dropdownMatchSelectWidth" | "options" | "showAction" | "onDeselect" | "onSearch" | "fieldNames" | "dropdownStyle" | "dropdownRender" | "dropdownAlign" | "showSearch" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tokenSeparators" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "menuItemSelectedIcon" | "listItemHeight" | "inputValue" | "autoClearSearchValue" | "filterOption" | "filterSort" | "optionFilterProp" | "optionLabelProp" | "defaultActiveFirstOption" | "labelInValue" | ("size" | "autofocus" | "bordered" | "onUpdate:value" | "status" | "value" | "defaultValue" | "mode" | "choiceTransitionName" | "placement"), any> & Common<FormData_2>>;
|
|
1539
|
+
cascader: Partial<Record<"id" | "placeholder" | "size" | "loading" | "bordered" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "placement" | "children" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "open" | "animation" | "direction" | "getPopupContainer" | "dropdownMatchSelectWidth" | "options" | "showAction" | "onSearch" | "dropdownRender" | "dropdownAlign" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "multiple" | "onPopupVisibleChange" | "popupPlacement" | "popupVisible" | "expandIcon" | "loadData" | "getInputElement" | "getRawInputElement" | "inputIcon" | "changeOnSelect" | "displayRender" | "expandTrigger" | "dropdownPrefixCls" | "loadingIcon" | ("autofocus" | "fieldNames" | "dropdownStyle" | "showSearch" | "popupStyle" | "showCheckedStrategy" | "dropdownMenuColumnStyle"), any> & Common<FormData_2>>;
|
|
1540
|
+
'date-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1541
|
+
'date-picker.date': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1542
|
+
'date-picker.week': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1543
|
+
'date-picker.month': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1544
|
+
'date-picker.year': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1545
|
+
'date-picker.quarter': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1546
|
+
'range-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "disabledTime" | "ranges" | "separator" | "allowEmpty" | "onCalendarChange" | "activePickerIndex" | "valueFormat", any> & Common<FormData_2>>;
|
|
1547
1547
|
'time-picker': Partial<Record<keyof TimePickerProps, any> & Common<FormData_2>>;
|
|
1548
1548
|
'checkbox-group': Partial<Record<"id" | "name" | "prefixCls" | ("onChange" | "onUpdate:value" | "value" | "defaultValue" | "disabled" | "options"), any> & Common<FormData_2>>;
|
|
1549
1549
|
'radio-group': Partial<Record<"id" | "name" | "value" | "prefixCls" | ("size" | "onChange" | "onUpdate:value" | "disabled" | "options" | "buttonStyle" | "optionType"), any> & Common<FormData_2>>;
|
|
1550
1550
|
switch: Partial<Record<"id" | "size" | "autofocus" | "loading" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "tabindex" | "onClick" | "onMouseup" | "checkedChildren" | "unCheckedChildren" | "checked" | "onUpdate:checked" | ("checkedValue" | "unCheckedValue"), any> & Common<FormData_2>>;
|
|
1551
1551
|
slider: Partial<Record<"id" | "prefixCls" | "min" | "max" | "tooltipPrefixCls" | "tipFormatter" | ("autofocus" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "value" | "defaultValue" | "disabled" | "range" | "step" | "reverse" | "marks" | "dots" | "included" | "vertical" | "tooltipOpen" | "tooltipVisible" | "tooltipPlacement" | "getTooltipPopupContainer" | "handleStyle" | "trackStyle" | "onAfterChange"), any> & Common<FormData_2>>;
|
|
1552
|
-
'tree-select': Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1552
|
+
'tree-select': Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "animation" | "direction" | "getPopupContainer" | "virtual" | "dropdownMatchSelectWidth" | "showAction" | "onDeselect" | "onSearch" | "fieldNames" | "dropdownStyle" | "dropdownRender" | "dropdownAlign" | "showSearch" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tokenSeparators" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "listItemHeight" | "inputValue" | "autoClearSearchValue" | "labelInValue" | "multiple" | "loadData" | "getRawInputElement" | "showCheckedStrategy" | "switcherIcon" | "filterTreeNode" | "treeData" | "treeCheckable" | "treeExpandAction" | "treeDefaultExpandAll" | "treeIcon" | "treeLoadedKeys" | "onTreeLoad" | "treeNodeFilterProp" | "treeNodeLabelProp" | "treeCheckStrictly" | "treeDataSimpleMode" | "treeExpandedKeys" | "treeDefaultExpandedKeys" | "onTreeExpand" | "dropdownPopupAlign" | ("size" | "autofocus" | "bordered" | "onUpdate:value" | "status" | "placement" | "treeLine" | "replaceFields" | "onUpdate:treeExpandedKeys" | "onUpdate:searchValue"), any> & Common<FormData_2>>;
|
|
1553
1553
|
transfer: Partial<Record<"id" | "prefixCls" | "notFoundContent" | "searchPlaceholder" | ("onChange" | "status" | "disabled" | "children" | "onSearch" | "showSearch" | "filterOption" | "locale" | "dataSource" | "targetKeys" | "selectedKeys" | "render" | "listStyle" | "operationStyle" | "titles" | "operations" | "rowKey" | "showSelectAll" | "selectAllLabels" | "oneWay" | "pagination" | "onSelectChange" | "onScroll" | "onUpdate:targetKeys" | "onUpdate:selectedKeys"), any> & Common<FormData_2>>;
|
|
1554
1554
|
}>>;
|
|
1555
1555
|
required: true;
|
|
@@ -1689,21 +1689,21 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
1689
1689
|
'input-password': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "maxlength" | "loading" | "bordered" | "showCount" | "htmlSize" | "onPressEnter" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "onCompositionstart" | "onCompositionend" | "valueModifiers" | "hidden" | "status" | "value" | "defaultValue" | "inputElement" | "prefixCls" | "disabled" | "focused" | "triggerFocus" | "readonly" | "handleReset" | "addonBefore" | "addonAfter" | "prefix" | "suffix" | "clearIcon" | "allowClear" | ("type" | "lazy"), any> & Common<FormData_2>>;
|
|
1690
1690
|
'input-search': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "maxlength" | "loading" | "bordered" | "showCount" | "htmlSize" | "onPressEnter" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "onCompositionstart" | "onCompositionend" | "valueModifiers" | "hidden" | "status" | "value" | "defaultValue" | "inputElement" | "prefixCls" | "disabled" | "focused" | "triggerFocus" | "readonly" | "handleReset" | "addonBefore" | "addonAfter" | "prefix" | "suffix" | "clearIcon" | "allowClear" | ("type" | "lazy"), any> & Common<FormData_2>>;
|
|
1691
1691
|
'input-number': Partial<Record<"id" | "placeholder" | "type" | "name" | "valueModifiers" | "addonBefore" | "addonAfter" | "prefix" | "tabindex" | "precision" | "decimalSeparator" | ("size" | "autofocus" | "bordered" | "onPressEnter" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "readonly" | "stringMode" | "min" | "max" | "step" | "controls" | "keyboard" | "parser" | "formatter" | "onStep"), any> & Common<FormData_2>>;
|
|
1692
|
-
select: Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "itemIcon" | "transitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1693
|
-
cascader: Partial<Record<"id" | "placeholder" | "size" | "loading" | "bordered" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "placement" | "children" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "
|
|
1694
|
-
'date-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1695
|
-
'date-picker.date': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1696
|
-
'date-picker.week': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1697
|
-
'date-picker.month': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1698
|
-
'date-picker.year': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1699
|
-
'date-picker.quarter': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1700
|
-
'range-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "
|
|
1692
|
+
select: Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "itemIcon" | "transitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "animation" | "direction" | "getPopupContainer" | "virtual" | "dropdownMatchSelectWidth" | "options" | "showAction" | "onDeselect" | "onSearch" | "fieldNames" | "dropdownStyle" | "dropdownRender" | "dropdownAlign" | "showSearch" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tokenSeparators" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "menuItemSelectedIcon" | "listItemHeight" | "inputValue" | "autoClearSearchValue" | "filterOption" | "filterSort" | "optionFilterProp" | "optionLabelProp" | "defaultActiveFirstOption" | "labelInValue" | ("size" | "autofocus" | "bordered" | "onUpdate:value" | "status" | "value" | "defaultValue" | "mode" | "choiceTransitionName" | "placement"), any> & Common<FormData_2>>;
|
|
1693
|
+
cascader: Partial<Record<"id" | "placeholder" | "size" | "loading" | "bordered" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "placement" | "children" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "open" | "animation" | "direction" | "getPopupContainer" | "dropdownMatchSelectWidth" | "options" | "showAction" | "onSearch" | "dropdownRender" | "dropdownAlign" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "multiple" | "onPopupVisibleChange" | "popupPlacement" | "popupVisible" | "expandIcon" | "loadData" | "getInputElement" | "getRawInputElement" | "inputIcon" | "changeOnSelect" | "displayRender" | "expandTrigger" | "dropdownPrefixCls" | "loadingIcon" | ("autofocus" | "fieldNames" | "dropdownStyle" | "showSearch" | "popupStyle" | "showCheckedStrategy" | "dropdownMenuColumnStyle"), any> & Common<FormData_2>>;
|
|
1694
|
+
'date-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1695
|
+
'date-picker.date': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1696
|
+
'date-picker.week': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1697
|
+
'date-picker.month': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1698
|
+
'date-picker.year': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1699
|
+
'date-picker.quarter': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1700
|
+
'range-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "disabledTime" | "ranges" | "separator" | "allowEmpty" | "onCalendarChange" | "activePickerIndex" | "valueFormat", any> & Common<FormData_2>>;
|
|
1701
1701
|
'time-picker': Partial<Record<keyof TimePickerProps, any> & Common<FormData_2>>;
|
|
1702
1702
|
'checkbox-group': Partial<Record<"id" | "name" | "prefixCls" | ("onChange" | "onUpdate:value" | "value" | "defaultValue" | "disabled" | "options"), any> & Common<FormData_2>>;
|
|
1703
1703
|
'radio-group': Partial<Record<"id" | "name" | "value" | "prefixCls" | ("size" | "onChange" | "onUpdate:value" | "disabled" | "options" | "buttonStyle" | "optionType"), any> & Common<FormData_2>>;
|
|
1704
1704
|
switch: Partial<Record<"id" | "size" | "autofocus" | "loading" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "tabindex" | "onClick" | "onMouseup" | "checkedChildren" | "unCheckedChildren" | "checked" | "onUpdate:checked" | ("checkedValue" | "unCheckedValue"), any> & Common<FormData_2>>;
|
|
1705
1705
|
slider: Partial<Record<"id" | "prefixCls" | "min" | "max" | "tooltipPrefixCls" | "tipFormatter" | ("autofocus" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "value" | "defaultValue" | "disabled" | "range" | "step" | "reverse" | "marks" | "dots" | "included" | "vertical" | "tooltipOpen" | "tooltipVisible" | "tooltipPlacement" | "getTooltipPopupContainer" | "handleStyle" | "trackStyle" | "onAfterChange"), any> & Common<FormData_2>>;
|
|
1706
|
-
'tree-select': Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1706
|
+
'tree-select': Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "animation" | "direction" | "getPopupContainer" | "virtual" | "dropdownMatchSelectWidth" | "showAction" | "onDeselect" | "onSearch" | "fieldNames" | "dropdownStyle" | "dropdownRender" | "dropdownAlign" | "showSearch" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tokenSeparators" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "listItemHeight" | "inputValue" | "autoClearSearchValue" | "labelInValue" | "multiple" | "loadData" | "getRawInputElement" | "showCheckedStrategy" | "switcherIcon" | "filterTreeNode" | "treeData" | "treeCheckable" | "treeExpandAction" | "treeDefaultExpandAll" | "treeIcon" | "treeLoadedKeys" | "onTreeLoad" | "treeNodeFilterProp" | "treeNodeLabelProp" | "treeCheckStrictly" | "treeDataSimpleMode" | "treeExpandedKeys" | "treeDefaultExpandedKeys" | "onTreeExpand" | "dropdownPopupAlign" | ("size" | "autofocus" | "bordered" | "onUpdate:value" | "status" | "placement" | "treeLine" | "replaceFields" | "onUpdate:treeExpandedKeys" | "onUpdate:searchValue"), any> & Common<FormData_2>>;
|
|
1707
1707
|
transfer: Partial<Record<"id" | "prefixCls" | "notFoundContent" | "searchPlaceholder" | ("onChange" | "status" | "disabled" | "children" | "onSearch" | "showSearch" | "filterOption" | "locale" | "dataSource" | "targetKeys" | "selectedKeys" | "render" | "listStyle" | "operationStyle" | "titles" | "operations" | "rowKey" | "showSelectAll" | "selectAllLabels" | "oneWay" | "pagination" | "onSelectChange" | "onScroll" | "onUpdate:targetKeys" | "onUpdate:selectedKeys"), any> & Common<FormData_2>>;
|
|
1708
1708
|
}>>;
|
|
1709
1709
|
required: true;
|
|
@@ -1840,21 +1840,21 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
1840
1840
|
'input-password': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "maxlength" | "loading" | "bordered" | "showCount" | "htmlSize" | "onPressEnter" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "onCompositionstart" | "onCompositionend" | "valueModifiers" | "hidden" | "status" | "value" | "defaultValue" | "inputElement" | "prefixCls" | "disabled" | "focused" | "triggerFocus" | "readonly" | "handleReset" | "addonBefore" | "addonAfter" | "prefix" | "suffix" | "clearIcon" | "allowClear" | ("type" | "lazy"), any> & Common<FormData_2>>;
|
|
1841
1841
|
'input-search': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "maxlength" | "loading" | "bordered" | "showCount" | "htmlSize" | "onPressEnter" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "onCompositionstart" | "onCompositionend" | "valueModifiers" | "hidden" | "status" | "value" | "defaultValue" | "inputElement" | "prefixCls" | "disabled" | "focused" | "triggerFocus" | "readonly" | "handleReset" | "addonBefore" | "addonAfter" | "prefix" | "suffix" | "clearIcon" | "allowClear" | ("type" | "lazy"), any> & Common<FormData_2>>;
|
|
1842
1842
|
'input-number': Partial<Record<"id" | "placeholder" | "type" | "name" | "valueModifiers" | "addonBefore" | "addonAfter" | "prefix" | "tabindex" | "precision" | "decimalSeparator" | ("size" | "autofocus" | "bordered" | "onPressEnter" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "readonly" | "stringMode" | "min" | "max" | "step" | "controls" | "keyboard" | "parser" | "formatter" | "onStep"), any> & Common<FormData_2>>;
|
|
1843
|
-
select: Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "itemIcon" | "transitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1844
|
-
cascader: Partial<Record<"id" | "placeholder" | "size" | "loading" | "bordered" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "placement" | "children" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "
|
|
1845
|
-
'date-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1846
|
-
'date-picker.date': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1847
|
-
'date-picker.week': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1848
|
-
'date-picker.month': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1849
|
-
'date-picker.year': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1850
|
-
'date-picker.quarter': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1851
|
-
'range-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "
|
|
1843
|
+
select: Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "itemIcon" | "transitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "animation" | "direction" | "getPopupContainer" | "virtual" | "dropdownMatchSelectWidth" | "options" | "showAction" | "onDeselect" | "onSearch" | "fieldNames" | "dropdownStyle" | "dropdownRender" | "dropdownAlign" | "showSearch" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tokenSeparators" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "menuItemSelectedIcon" | "listItemHeight" | "inputValue" | "autoClearSearchValue" | "filterOption" | "filterSort" | "optionFilterProp" | "optionLabelProp" | "defaultActiveFirstOption" | "labelInValue" | ("size" | "autofocus" | "bordered" | "onUpdate:value" | "status" | "value" | "defaultValue" | "mode" | "choiceTransitionName" | "placement"), any> & Common<FormData_2>>;
|
|
1844
|
+
cascader: Partial<Record<"id" | "placeholder" | "size" | "loading" | "bordered" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "status" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "placement" | "children" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "open" | "animation" | "direction" | "getPopupContainer" | "dropdownMatchSelectWidth" | "options" | "showAction" | "onSearch" | "dropdownRender" | "dropdownAlign" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "multiple" | "onPopupVisibleChange" | "popupPlacement" | "popupVisible" | "expandIcon" | "loadData" | "getInputElement" | "getRawInputElement" | "inputIcon" | "changeOnSelect" | "displayRender" | "expandTrigger" | "dropdownPrefixCls" | "loadingIcon" | ("autofocus" | "fieldNames" | "dropdownStyle" | "showSearch" | "popupStyle" | "showCheckedStrategy" | "dropdownMenuColumnStyle"), any> & Common<FormData_2>>;
|
|
1845
|
+
'date-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1846
|
+
'date-picker.date': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1847
|
+
'date-picker.week': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1848
|
+
'date-picker.month': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1849
|
+
'date-picker.year': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1850
|
+
'date-picker.quarter': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "showToday" | "showTime" | "valueFormat", any> & Common<FormData_2>>;
|
|
1851
|
+
'range-picker': Partial<Record<"id" | "placeholder" | "autocomplete" | "name" | "size" | "autofocus" | "bordered" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "suffixIcon" | "mode" | "transitionName" | "dropdownClassName" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "open" | "direction" | "getPopupContainer" | "dropdownAlign" | "defaultOpen" | "popupStyle" | "locale" | "picker" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "inputReadOnly" | "presets" | "format" | "panelRender" | "inputRender" | "onOpenChange" | "onMouseup" | "onContextmenu" | "role" | "disabledTime" | "ranges" | "separator" | "allowEmpty" | "onCalendarChange" | "activePickerIndex" | "valueFormat", any> & Common<FormData_2>>;
|
|
1852
1852
|
'time-picker': Partial<Record<keyof TimePickerProps, any> & Common<FormData_2>>;
|
|
1853
1853
|
'checkbox-group': Partial<Record<"id" | "name" | "prefixCls" | ("onChange" | "onUpdate:value" | "value" | "defaultValue" | "disabled" | "options"), any> & Common<FormData_2>>;
|
|
1854
1854
|
'radio-group': Partial<Record<"id" | "name" | "value" | "prefixCls" | ("size" | "onChange" | "onUpdate:value" | "disabled" | "options" | "buttonStyle" | "optionType"), any> & Common<FormData_2>>;
|
|
1855
1855
|
switch: Partial<Record<"id" | "size" | "autofocus" | "loading" | "onKeydown" | "onFocus" | "onBlur" | "onChange" | "prefixCls" | "disabled" | "tabindex" | "onClick" | "onMouseup" | "checkedChildren" | "unCheckedChildren" | "checked" | "onUpdate:checked" | ("checkedValue" | "unCheckedValue"), any> & Common<FormData_2>>;
|
|
1856
1856
|
slider: Partial<Record<"id" | "prefixCls" | "min" | "max" | "tooltipPrefixCls" | "tipFormatter" | ("autofocus" | "onFocus" | "onBlur" | "onChange" | "onUpdate:value" | "value" | "defaultValue" | "disabled" | "range" | "step" | "reverse" | "marks" | "dots" | "included" | "vertical" | "tooltipOpen" | "tooltipVisible" | "tooltipPlacement" | "getTooltipPopupContainer" | "handleStyle" | "trackStyle" | "onAfterChange"), any> & Common<FormData_2>>;
|
|
1857
|
-
'tree-select': Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "
|
|
1857
|
+
'tree-select': Partial<Record<"id" | "placeholder" | "loading" | "onKeydown" | "onKeyup" | "onFocus" | "onBlur" | "onChange" | "value" | "defaultValue" | "prefixCls" | "disabled" | "clearIcon" | "allowClear" | "tabindex" | "notFoundContent" | "suffixIcon" | "transitionName" | "choiceTransitionName" | "popupClassName" | "dropdownClassName" | "children" | "listHeight" | "onMouseenter" | "onMouseleave" | "onClick" | "onMousedown" | "onSelect" | "open" | "animation" | "direction" | "getPopupContainer" | "virtual" | "dropdownMatchSelectWidth" | "showAction" | "onDeselect" | "onSearch" | "fieldNames" | "dropdownStyle" | "dropdownRender" | "dropdownAlign" | "showSearch" | "searchValue" | "onInputKeyDown" | "removeIcon" | "maxTagCount" | "maxTagTextLength" | "maxTagPlaceholder" | "tokenSeparators" | "tagRender" | "optionLabelRender" | "onClear" | "defaultOpen" | "onDropdownVisibleChange" | "showArrow" | "onPopupScroll" | "listItemHeight" | "inputValue" | "autoClearSearchValue" | "labelInValue" | "multiple" | "loadData" | "getRawInputElement" | "showCheckedStrategy" | "switcherIcon" | "filterTreeNode" | "treeData" | "treeCheckable" | "treeExpandAction" | "treeDefaultExpandAll" | "treeIcon" | "treeLoadedKeys" | "onTreeLoad" | "treeNodeFilterProp" | "treeNodeLabelProp" | "treeCheckStrictly" | "treeDataSimpleMode" | "treeExpandedKeys" | "treeDefaultExpandedKeys" | "onTreeExpand" | "dropdownPopupAlign" | ("size" | "autofocus" | "bordered" | "onUpdate:value" | "status" | "placement" | "treeLine" | "replaceFields" | "onUpdate:treeExpandedKeys" | "onUpdate:searchValue"), any> & Common<FormData_2>>;
|
|
1858
1858
|
transfer: Partial<Record<"id" | "prefixCls" | "notFoundContent" | "searchPlaceholder" | ("onChange" | "status" | "disabled" | "children" | "onSearch" | "showSearch" | "filterOption" | "locale" | "dataSource" | "targetKeys" | "selectedKeys" | "render" | "listStyle" | "operationStyle" | "titles" | "operations" | "rowKey" | "showSelectAll" | "selectAllLabels" | "oneWay" | "pagination" | "onSelectChange" | "onScroll" | "onUpdate:targetKeys" | "onUpdate:selectedKeys"), any> & Common<FormData_2>>;
|
|
1859
1859
|
}>>;
|
|
1860
1860
|
required: true;
|
|
@@ -5472,23 +5472,23 @@ export declare const ProTable: SFCWithInstall<{
|
|
|
5472
5472
|
table(): any;
|
|
5473
5473
|
} & Readonly<{
|
|
5474
5474
|
emptyText?: any;
|
|
5475
|
-
expandIcon?: Slot<RenderExpandIconProps<any
|
|
5475
|
+
expandIcon?: Slot<RenderExpandIconProps<any> | undefined> | undefined;
|
|
5476
5476
|
title?: any;
|
|
5477
5477
|
footer?: any;
|
|
5478
5478
|
summary?: any;
|
|
5479
5479
|
expandedRowRender?: any;
|
|
5480
5480
|
expandColumnTitle?: any;
|
|
5481
|
-
bodyCell?:
|
|
5481
|
+
bodyCell?: ((props: {
|
|
5482
5482
|
text: any;
|
|
5483
5483
|
value: any;
|
|
5484
5484
|
record: Record<string, any>;
|
|
5485
5485
|
index: number;
|
|
5486
5486
|
column: TableColumnType<any>;
|
|
5487
|
-
}
|
|
5488
|
-
headerCell?:
|
|
5487
|
+
}) => void) | undefined;
|
|
5488
|
+
headerCell?: ((props: {
|
|
5489
5489
|
title: any;
|
|
5490
5490
|
column: TableColumnType<any>;
|
|
5491
|
-
}
|
|
5491
|
+
}) => void) | undefined;
|
|
5492
5492
|
customFilterIcon?: any;
|
|
5493
5493
|
customFilterDropdown?: any;
|
|
5494
5494
|
default: any;
|
|
@@ -5498,23 +5498,23 @@ export declare const ProTable: SFCWithInstall<{
|
|
|
5498
5498
|
table(): any;
|
|
5499
5499
|
} & Readonly<{
|
|
5500
5500
|
emptyText?: any;
|
|
5501
|
-
expandIcon?: Slot<RenderExpandIconProps<any
|
|
5501
|
+
expandIcon?: Slot<RenderExpandIconProps<any> | undefined> | undefined;
|
|
5502
5502
|
title?: any;
|
|
5503
5503
|
footer?: any;
|
|
5504
5504
|
summary?: any;
|
|
5505
5505
|
expandedRowRender?: any;
|
|
5506
5506
|
expandColumnTitle?: any;
|
|
5507
|
-
bodyCell?:
|
|
5507
|
+
bodyCell?: ((props: {
|
|
5508
5508
|
text: any;
|
|
5509
5509
|
value: any;
|
|
5510
5510
|
record: Record<string, any>;
|
|
5511
5511
|
index: number;
|
|
5512
5512
|
column: TableColumnType<any>;
|
|
5513
|
-
}
|
|
5514
|
-
headerCell?:
|
|
5513
|
+
}) => void) | undefined;
|
|
5514
|
+
headerCell?: ((props: {
|
|
5515
5515
|
title: any;
|
|
5516
5516
|
column: TableColumnType<any>;
|
|
5517
|
-
}
|
|
5517
|
+
}) => void) | undefined;
|
|
5518
5518
|
customFilterIcon?: any;
|
|
5519
5519
|
customFilterDropdown?: any;
|
|
5520
5520
|
default: any;
|
package/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { _ as _sfc_main } from "./form/index-
|
|
3
|
-
import { l, B, d, i, C, b, f, F, k, G, R, e, j, U, h, m, p, n, s, q, u, r, t } from "./form/index-
|
|
2
|
+
import { _ as _sfc_main } from "./form/index-f9088d5a.js";
|
|
3
|
+
import { l, B, d, i, C, b, f, F, k, G, R, e, j, U, h, m, p, n, s, q, u, r, t } from "./form/index-f9088d5a.js";
|
|
4
4
|
import BaseTable from "./table/index.js";
|
|
5
5
|
import { useTable } from "./table/index.js";
|
|
6
6
|
import _sfc_main$1 from "./component-provider/index.js";
|
package/es/style.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.ant-form-item:has(> [hide-feedback='true']) {
|
|
2
2
|
margin-bottom: 0;
|
|
3
3
|
}
|
|
4
|
-
.field-component[data-v-
|
|
4
|
+
.field-component[data-v-5475a3b8]:not(.ant-switch) {
|
|
5
5
|
width: 100%;
|
|
6
6
|
min-width: 120px;
|
|
7
7
|
}
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
.search .expand-transition[data-v-917bc550] {
|
|
23
23
|
transition: all 0.25s;
|
|
24
24
|
}
|
|
25
|
-
.control-icon[data-v-
|
|
25
|
+
.control-icon[data-v-4f46d39e] {
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
}
|
|
28
|
-
.control-icon[data-v-
|
|
28
|
+
.control-icon[data-v-4f46d39e] :hover {
|
|
29
29
|
color: #1677ff;
|
|
30
30
|
}
|
|
31
31
|
.search-container[data-v-c00ace37] {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
padding: 24px 24px 16px;
|
|
45
45
|
background-color: #fff;
|
|
46
46
|
}
|
|
47
|
-
.pro-table[data-v-
|
|
47
|
+
.pro-table[data-v-0b26f35d] {
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
min-width: 800px;
|
|
51
51
|
}
|
|
52
|
-
.pro-table[data-v-
|
|
52
|
+
.pro-table[data-v-0b26f35d] .ant-pagination .ant-pagination-total-text {
|
|
53
53
|
flex: 1;
|
|
54
54
|
}
|
package/es/table/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createVNode, defineComponent, ref, onMounted, openBlock, createElementBlock, unref, normalizeStyle, createElementVNode, withCtx, createTextVNode, createBlock, toDisplayString, createCommentVNode, mergeModels, useModel, computed, watch, Fragment, renderList, withModifiers, renderSlot, useAttrs, useSlots, mergeProps, createSlots, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
|
2
2
|
import { Button, Space, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
|
|
3
3
|
import { useInjectProps, INJECT_KEYS } from "../component-provider/index.js";
|
|
4
|
-
import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-
|
|
4
|
+
import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-f9088d5a.js";
|
|
5
5
|
var ColumnHeightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" } }] }, "name": "column-height", "theme": "outlined" };
|
|
6
6
|
const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
|
|
7
7
|
function _objectSpread$2(target) {
|
|
@@ -368,8 +368,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
368
368
|
};
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
|
-
const
|
|
372
|
-
const Control = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
371
|
+
const Control_vue_vue_type_style_index_0_scoped_4f46d39e_lang = "";
|
|
372
|
+
const Control = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-4f46d39e"]]);
|
|
373
373
|
const DefaultSearchContainer_vue_vue_type_style_index_0_scoped_c00ace37_lang = "";
|
|
374
374
|
const _sfc_main$3 = {};
|
|
375
375
|
const _hoisted_1$3 = { class: "search-container" };
|
|
@@ -552,13 +552,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
552
552
|
component: _ctx.searchContainer
|
|
553
553
|
}, {
|
|
554
554
|
default: withCtx(() => [
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
555
|
+
renderSlot(_ctx.$slots, "search", {}, () => [
|
|
556
|
+
createVNode(unref(SearchForm), {
|
|
557
|
+
form,
|
|
558
|
+
cache: unref(cache),
|
|
559
|
+
onSearch: searchPage1st,
|
|
560
|
+
onReset: reset
|
|
561
|
+
}, null, 8, ["form", "cache"])
|
|
562
|
+
], true)
|
|
562
563
|
]),
|
|
563
564
|
_: 3
|
|
564
565
|
}, 8, ["component"])) : createCommentVNode("", true),
|
|
@@ -583,20 +584,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
583
584
|
}, 8, ["component"])) : createCommentVNode("", true),
|
|
584
585
|
createVNode(unref(_sfc_main$7), { component: _ctx.tableContainer }, {
|
|
585
586
|
default: withCtx(() => [
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
587
|
+
renderSlot(_ctx.$slots, "table", {}, () => [
|
|
588
|
+
createVNode(unref(Table), mergeProps(mergeTableProps.value, {
|
|
589
|
+
columns: visibleColumns.value,
|
|
590
|
+
class: "base-table",
|
|
591
|
+
size: size.value
|
|
592
|
+
}), createSlots({ _: 2 }, [
|
|
593
|
+
renderList(unref(tableSlots), (slot, name) => {
|
|
594
|
+
return {
|
|
595
|
+
name,
|
|
596
|
+
fn: withCtx((scoped) => [
|
|
597
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(scoped)), void 0, true)
|
|
598
|
+
])
|
|
599
|
+
};
|
|
600
|
+
})
|
|
601
|
+
]), 1040, ["columns", "size"])
|
|
602
|
+
], true)
|
|
600
603
|
]),
|
|
601
604
|
_: 3
|
|
602
605
|
}, 8, ["component"])
|
|
@@ -604,8 +607,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
604
607
|
};
|
|
605
608
|
}
|
|
606
609
|
});
|
|
607
|
-
const
|
|
608
|
-
const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
610
|
+
const Table_vue_vue_type_style_index_0_scoped_0b26f35d_lang = "";
|
|
611
|
+
const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0b26f35d"]]);
|
|
609
612
|
const getDefaultPagination = () => ({ current: 1, pageSize: 10, total: 0 });
|
|
610
613
|
const useTable = ({
|
|
611
614
|
columns: initColumns = [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qin-ui/antd-vue-pro",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"description": "二次封装antd vue组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "",
|
|
@@ -28,12 +28,15 @@
|
|
|
28
28
|
"private": false,
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"ant-design-vue": "^4.0.6",
|
|
31
|
-
"vue": "^3.
|
|
31
|
+
"vue": "^3.5.0"
|
|
32
32
|
},
|
|
33
33
|
"bugs": {
|
|
34
34
|
"url": "https://github.com/dufan3715/pro-components/issues"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
37
|
-
"@ant-design/icons-vue": "^7.0.1"
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@ant-design/icons-vue": "^7.0.1",
|
|
38
|
+
"ant-design-vue": "^4.2.5",
|
|
39
|
+
"lodash-es": "^4.17.21",
|
|
40
|
+
"vue": "^3.5.12"
|
|
38
41
|
}
|
|
39
42
|
}
|