pro-design-vue 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +26 -6
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +26 -6
- package/es/components/config-provider/src/config-provider-container.vue2.mjs +2 -0
- package/es/components/config-provider/src/config-provider-container.vue2.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider.vue2.mjs +4 -2
- package/es/components/config-provider/src/config-provider.vue2.mjs.map +1 -1
- package/es/components/config-provider/src/typing.d.ts +6 -0
- package/es/components/config-provider/src/useTokens.d.ts +24 -0
- package/es/components/config-provider/src/useTokens.mjs +58 -0
- package/es/components/config-provider/src/useTokens.mjs.map +1 -0
- package/es/components/counter/src/counter.vue.d.ts +2 -2
- package/es/components/form/src/Form.d.ts +10 -10
- package/es/components/form/src/base/BaseForm.d.ts +1 -1
- package/es/components/form/src/base/StepForm.d.ts +1 -1
- package/es/components/form/src/components/FormGroup.d.ts +50 -50
- package/es/components/form/src/components/FormList.d.ts +54 -54
- package/es/components/form/src/components/FormListContainer.d.ts +17 -17
- package/es/components/form/src/components/FormListItem.d.ts +16 -16
- package/es/components/form/src/components/FormRowWrapper.d.ts +12 -12
- package/es/components/form/src/components/FormSet.d.ts +51 -51
- package/es/components/form/src/fields/FieldCascader.d.ts +3 -3
- package/es/components/form/src/fields/FieldCheckbox.d.ts +1 -1
- package/es/components/form/src/fields/FieldCheckboxGroup.d.ts +1 -1
- package/es/components/form/src/fields/FieldDatePicker.d.ts +1 -1
- package/es/components/form/src/fields/FieldDateRangePicker.d.ts +2 -2
- package/es/components/form/src/fields/FieldDigit.d.ts +2 -2
- package/es/components/form/src/fields/FieldDigitRange.d.ts +3 -3
- package/es/components/form/src/fields/FieldPassword.d.ts +3 -3
- package/es/components/form/src/fields/FieldRadioGroup.d.ts +1 -1
- package/es/components/form/src/fields/FieldRate.d.ts +1 -1
- package/es/components/form/src/fields/FieldReadonly.d.ts +1 -1
- package/es/components/form/src/fields/FieldSelect.d.ts +1 -1
- package/es/components/form/src/fields/FieldSlider.d.ts +1 -1
- package/es/components/form/src/fields/FieldSwitch.d.ts +1 -1
- package/es/components/form/src/fields/FieldText.d.ts +3 -3
- package/es/components/form/src/fields/FieldTextarea.d.ts +3 -3
- package/es/components/form/src/fields/FieldTimePicker.d.ts +1 -1
- package/es/components/form/src/fields/FieldTimeRangePicker.d.ts +2 -2
- package/es/components/form/src/fields/FieldTreeSelect.d.ts +2 -2
- package/es/components/form/src/fields/FieldUploadButton.d.ts +2 -2
- package/es/components/form/src/fields/FieldUploadDragger.d.ts +2 -2
- package/es/components/form/src/fields/FieldUploadPicture.d.ts +6 -6
- package/es/components/form/src/fields/FieldUploadPictureList.d.ts +2 -2
- package/es/components/form/src/layouts/DrawerForm.d.ts +5 -5
- package/es/components/form/src/layouts/ModalForm.d.ts +1 -1
- package/es/components/form/src/layouts/QueryFilter.d.ts +10 -10
- package/es/components/form/src/layouts/StepsForm.d.ts +1 -1
- package/es/components/layout/src/layout.vue.d.ts +2 -2
- package/es/components/table/src/components/AutoHeightHeader/Header.vue.d.ts +3 -3
- package/es/components/table/src/components/AutoHeightHeader/HeaderRow.vue.d.ts +2 -2
- package/es/components/table/src/components/Body/EditInput.vue.d.ts +1 -1
- package/es/components/table/src/components/ColumnSetting/CheckboxList.vue.d.ts +1 -1
- package/es/components/table/src/components/ColumnSetting/ColumnSetting.vue.d.ts +2 -2
- package/es/components/table/src/components/ColumnSetting/GroupCheckboxList.vue.d.ts +1 -1
- package/es/components/table/src/components/Form/Form.d.ts +1 -1
- package/es/components/table/src/components/Header/Header.vue.d.ts +4 -4
- package/es/components/table/src/components/Header/HeaderCell.vue.d.ts +2 -2
- package/es/components/table/src/components/Header/HeaderGroupCell.vue.d.ts +1 -1
- package/es/components/table/src/components/Header/HeaderRows.vue.d.ts +3 -3
- package/es/components/table/src/components/Header/HeaderRowsWrap.vue.d.ts +3 -3
- package/es/components/table/src/components/InteralTable.vue.d.ts +12 -12
- package/es/components/table/src/components/Table.d.ts +5 -5
- package/es/components/table/src/components/ToolBar/ToolBar.vue.d.ts +3 -3
- package/es/components/table/src/hooks/useFetchData.mjs +20 -2
- package/es/components/table/src/hooks/useFetchData.mjs.map +1 -1
- package/es/index.d.ts +42 -37
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/config-provider/src/config-provider-container.vue2.js +2 -0
- package/lib/components/config-provider/src/config-provider-container.vue2.js.map +1 -1
- package/lib/components/config-provider/src/config-provider.vue2.js +4 -2
- package/lib/components/config-provider/src/config-provider.vue2.js.map +1 -1
- package/lib/components/config-provider/src/typing.d.ts +6 -0
- package/lib/components/config-provider/src/useTokens.d.ts +24 -0
- package/lib/components/config-provider/src/useTokens.js +60 -0
- package/lib/components/config-provider/src/useTokens.js.map +1 -0
- package/lib/components/counter/src/counter.vue.d.ts +2 -2
- package/lib/components/form/src/Form.d.ts +10 -10
- package/lib/components/form/src/base/BaseForm.d.ts +1 -1
- package/lib/components/form/src/base/StepForm.d.ts +1 -1
- package/lib/components/form/src/components/FormGroup.d.ts +50 -50
- package/lib/components/form/src/components/FormList.d.ts +54 -54
- package/lib/components/form/src/components/FormListContainer.d.ts +17 -17
- package/lib/components/form/src/components/FormListItem.d.ts +16 -16
- package/lib/components/form/src/components/FormRowWrapper.d.ts +12 -12
- package/lib/components/form/src/components/FormSet.d.ts +51 -51
- package/lib/components/form/src/fields/FieldCascader.d.ts +3 -3
- package/lib/components/form/src/fields/FieldCheckbox.d.ts +1 -1
- package/lib/components/form/src/fields/FieldCheckboxGroup.d.ts +1 -1
- package/lib/components/form/src/fields/FieldDatePicker.d.ts +1 -1
- package/lib/components/form/src/fields/FieldDateRangePicker.d.ts +2 -2
- package/lib/components/form/src/fields/FieldDigit.d.ts +2 -2
- package/lib/components/form/src/fields/FieldDigitRange.d.ts +3 -3
- package/lib/components/form/src/fields/FieldPassword.d.ts +3 -3
- package/lib/components/form/src/fields/FieldRadioGroup.d.ts +1 -1
- package/lib/components/form/src/fields/FieldRate.d.ts +1 -1
- package/lib/components/form/src/fields/FieldReadonly.d.ts +1 -1
- package/lib/components/form/src/fields/FieldSelect.d.ts +1 -1
- package/lib/components/form/src/fields/FieldSlider.d.ts +1 -1
- package/lib/components/form/src/fields/FieldSwitch.d.ts +1 -1
- package/lib/components/form/src/fields/FieldText.d.ts +3 -3
- package/lib/components/form/src/fields/FieldTextarea.d.ts +3 -3
- package/lib/components/form/src/fields/FieldTimePicker.d.ts +1 -1
- package/lib/components/form/src/fields/FieldTimeRangePicker.d.ts +2 -2
- package/lib/components/form/src/fields/FieldTreeSelect.d.ts +2 -2
- package/lib/components/form/src/fields/FieldUploadButton.d.ts +2 -2
- package/lib/components/form/src/fields/FieldUploadDragger.d.ts +2 -2
- package/lib/components/form/src/fields/FieldUploadPicture.d.ts +6 -6
- package/lib/components/form/src/fields/FieldUploadPictureList.d.ts +2 -2
- package/lib/components/form/src/layouts/DrawerForm.d.ts +5 -5
- package/lib/components/form/src/layouts/ModalForm.d.ts +1 -1
- package/lib/components/form/src/layouts/QueryFilter.d.ts +10 -10
- package/lib/components/form/src/layouts/StepsForm.d.ts +1 -1
- package/lib/components/layout/src/layout.vue.d.ts +2 -2
- package/lib/components/table/src/components/AutoHeightHeader/Header.vue.d.ts +3 -3
- package/lib/components/table/src/components/AutoHeightHeader/HeaderRow.vue.d.ts +2 -2
- package/lib/components/table/src/components/Body/EditInput.vue.d.ts +1 -1
- package/lib/components/table/src/components/ColumnSetting/CheckboxList.vue.d.ts +1 -1
- package/lib/components/table/src/components/ColumnSetting/ColumnSetting.vue.d.ts +2 -2
- package/lib/components/table/src/components/ColumnSetting/GroupCheckboxList.vue.d.ts +1 -1
- package/lib/components/table/src/components/Form/Form.d.ts +1 -1
- package/lib/components/table/src/components/Header/Header.vue.d.ts +4 -4
- package/lib/components/table/src/components/Header/HeaderCell.vue.d.ts +2 -2
- package/lib/components/table/src/components/Header/HeaderGroupCell.vue.d.ts +1 -1
- package/lib/components/table/src/components/Header/HeaderRows.vue.d.ts +3 -3
- package/lib/components/table/src/components/Header/HeaderRowsWrap.vue.d.ts +3 -3
- package/lib/components/table/src/components/InteralTable.vue.d.ts +12 -12
- package/lib/components/table/src/components/Table.d.ts +5 -5
- package/lib/components/table/src/components/ToolBar/ToolBar.vue.d.ts +3 -3
- package/lib/components/table/src/hooks/useFetchData.js +20 -2
- package/lib/components/table/src/hooks/useFetchData.js.map +1 -1
- package/lib/index.d.ts +42 -37
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
package/dist/index.full.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Pro Design Vue v1.
|
1
|
+
/*! Pro Design Vue v1.1.0 */
|
2
2
|
|
3
3
|
import { Modal, ConfigProvider, App, Button as Button$1, Tooltip, Popconfirm, Dropdown, Menu, Slider, Drawer, Input, InputNumber, Form as Form$1, Space, Textarea, Select, TreeSelect, Checkbox as Checkbox$1, CheckboxGroup, RadioGroup, Radio as Radio$1, Cascader, Switch, Rate, DatePicker, RangePicker, TimePicker, TimeRangePicker, Upload, theme as theme$1, FormItemRest, Spin, message, Row as Row$1, Col, FormItem as FormItem$3, Steps, Popover, MenuItem, SubMenu, Empty, Badge, Tag, Pagination, InputSearch, Tree, Card, Tabs, TabPane } from 'ant-design-vue';
|
4
4
|
import { inject, ref, getCurrentInstance, nextTick, h, reactive, defineComponent, createVNode, isVNode, Fragment, cloneVNode, provide, computed, renderSlot, createPropsRestProxy, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, watch, onMounted, hasInjectionContext, isRef, toRefs as toRefs$1, customRef, toRef as toRef$1, readonly, watchEffect, toRaw, createElementBlock, createCommentVNode, resolveDynamicComponent, mergeProps, createElementVNode, normalizeStyle, toDisplayString, normalizeClass, createSlots, useAttrs, useTemplateRef, defineAsyncComponent, Teleport, onUnmounted, Comment as Comment$1, useSlots, useModel, withModifiers, mergeModels, renderList, camelize, isReactive, onActivated, onDeactivated, onBeforeUnmount, triggerRef, resolveDirective, withDirectives, vShow, render as render$1, resolveComponent, createTextVNode, vModelText } from 'vue';
|
@@ -13,7 +13,7 @@ const ELEMENT_ID_MAIN_CONTENT = `__pro_main_content`;
|
|
13
13
|
const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
14
14
|
const DEFAULT_NAMESPACE = "pro";
|
15
15
|
|
16
|
-
const version$1 = "1.
|
16
|
+
const version$1 = "1.1.0";
|
17
17
|
|
18
18
|
const makeInstaller = (components = []) => {
|
19
19
|
const install = (app) => {
|
@@ -6845,6 +6845,7 @@ var _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
6845
6845
|
intl: { type: Object, required: false },
|
6846
6846
|
proPrefixCls: { type: String, required: false },
|
6847
6847
|
contentOffsetTop: { type: Number, required: false },
|
6848
|
+
pro: { type: Object, required: false },
|
6848
6849
|
iconPrefixCls: { type: String, required: false },
|
6849
6850
|
getTargetContainer: { type: Function, required: false },
|
6850
6851
|
getPopupContainer: { type: Function, required: false },
|
@@ -6873,6 +6874,7 @@ var _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
6873
6874
|
const props = __props;
|
6874
6875
|
const contentOffsetTop = ref(props.contentOffsetTop);
|
6875
6876
|
useProConfigProvide({
|
6877
|
+
pro: computed(() => props.pro),
|
6876
6878
|
proPrefixCls: computed(() => props.proPrefixCls),
|
6877
6879
|
intl: computed(() => props.intl),
|
6878
6880
|
locale: computed(() => props.locale),
|
@@ -6899,6 +6901,7 @@ var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
6899
6901
|
}) },
|
6900
6902
|
proPrefixCls: { type: String, required: false, default: "pro" },
|
6901
6903
|
contentOffsetTop: { type: Number, required: false },
|
6904
|
+
pro: { type: Object, required: false },
|
6902
6905
|
iconPrefixCls: { type: String, required: false },
|
6903
6906
|
getTargetContainer: { type: Function, required: false },
|
6904
6907
|
getPopupContainer: { type: Function, required: false },
|
@@ -6924,7 +6927,7 @@ var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
6924
6927
|
wave: { type: Object, required: false }
|
6925
6928
|
},
|
6926
6929
|
setup(__props) {
|
6927
|
-
const rest = createPropsRestProxy(__props, ["intl", "proPrefixCls"]);
|
6930
|
+
const rest = createPropsRestProxy(__props, ["intl", "pro", "proPrefixCls"]);
|
6928
6931
|
ConfigProvider.config({
|
6929
6932
|
prefixCls: rest.prefixCls
|
6930
6933
|
});
|
@@ -6940,6 +6943,7 @@ var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
6940
6943
|
contentOffsetTop: _ctx.contentOffsetTop,
|
6941
6944
|
intl: _ctx.intl,
|
6942
6945
|
proPrefixCls: _ctx.proPrefixCls,
|
6946
|
+
pro: _ctx.pro,
|
6943
6947
|
locale: rest.locale
|
6944
6948
|
}, {
|
6945
6949
|
default: withCtx(() => [
|
@@ -6947,7 +6951,7 @@ var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
6947
6951
|
]),
|
6948
6952
|
_: 3
|
6949
6953
|
/* FORWARDED */
|
6950
|
-
}, 8, ["contentOffsetTop", "intl", "proPrefixCls", "locale"])
|
6954
|
+
}, 8, ["contentOffsetTop", "intl", "proPrefixCls", "pro", "locale"])
|
6951
6955
|
]),
|
6952
6956
|
_: 3
|
6953
6957
|
/* FORWARDED */
|
@@ -20357,7 +20361,7 @@ const tableProps = () => ({
|
|
20357
20361
|
}
|
20358
20362
|
});
|
20359
20363
|
|
20360
|
-
const mergePropsAndPagination = (
|
20364
|
+
const mergePropsAndPagination = (intl, pagination) => {
|
20361
20365
|
if (pagination) {
|
20362
20366
|
const { current, pageSize, total, showTotal, showSizeChanger, ...rest } = pagination;
|
20363
20367
|
return {
|
@@ -20419,6 +20423,7 @@ const useFetchData = (getData, props) => {
|
|
20419
20423
|
const pollingLoading = ref(false);
|
20420
20424
|
const keyword = ref("");
|
20421
20425
|
const intl = useIntl();
|
20426
|
+
const { pro } = useProConfigInject();
|
20422
20427
|
const innerParams = ref({});
|
20423
20428
|
const sorters = ref();
|
20424
20429
|
const filter = ref();
|
@@ -20447,8 +20452,23 @@ const useFetchData = (getData, props) => {
|
|
20447
20452
|
// }
|
20448
20453
|
}
|
20449
20454
|
);
|
20455
|
+
const contextTable = computed(() => {
|
20456
|
+
var _a2, _b;
|
20457
|
+
return (_b = (_a2 = pro == null ? void 0 : pro.value) == null ? void 0 : _a2.table) != null ? _b : {};
|
20458
|
+
});
|
20459
|
+
const contextTablePagination = computed(() => {
|
20460
|
+
var _a2, _b;
|
20461
|
+
if (props.pagination === false) {
|
20462
|
+
return false;
|
20463
|
+
}
|
20464
|
+
if (props.pagination && ((_a2 = contextTable.value) == null ? void 0 : _a2.pagination)) {
|
20465
|
+
return merge(contextTable.value.pagination, props.pagination);
|
20466
|
+
} else {
|
20467
|
+
return (_b = props.pagination) != null ? _b : contextTable.value.pagination;
|
20468
|
+
}
|
20469
|
+
});
|
20450
20470
|
const [pagination, setPagination] = useMergedState$1(
|
20451
|
-
() => mergePropsAndPagination(
|
20471
|
+
() => mergePropsAndPagination(intl, contextTablePagination.value),
|
20452
20472
|
{
|
20453
20473
|
onChange(value) {
|
20454
20474
|
var _a2, _b, _c;
|
@@ -10,6 +10,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
intl: { type: Object, required: false },
|
11
11
|
proPrefixCls: { type: String, required: false },
|
12
12
|
contentOffsetTop: { type: Number, required: false },
|
13
|
+
pro: { type: Object, required: false },
|
13
14
|
iconPrefixCls: { type: String, required: false },
|
14
15
|
getTargetContainer: { type: Function, required: false },
|
15
16
|
getPopupContainer: { type: Function, required: false },
|
@@ -38,6 +39,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
39
|
const props = __props;
|
39
40
|
const contentOffsetTop = ref(props.contentOffsetTop);
|
40
41
|
useProConfigProvide({
|
42
|
+
pro: computed(() => props.pro),
|
41
43
|
proPrefixCls: computed(() => props.proPrefixCls),
|
42
44
|
intl: computed(() => props.intl),
|
43
45
|
locale: computed(() => props.locale),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config-provider-container.vue2.mjs","sources":["../../../../../../packages/components/config-provider/src/config-provider-container.vue"],"sourcesContent":["<!--\n * @Author: shen\n * @Date: 2025-05-22 09:08:36\n * @LastEditors: shen\n * @LastEditTime: 2025-
|
1
|
+
{"version":3,"file":"config-provider-container.vue2.mjs","sources":["../../../../../../packages/components/config-provider/src/config-provider-container.vue"],"sourcesContent":["<!--\n * @Author: shen\n * @Date: 2025-05-22 09:08:36\n * @LastEditors: shen\n * @LastEditTime: 2025-10-09 10:02:46\n * @Description:\n-->\n<script setup lang=\"ts\">\nimport type { ProConfigProviderProps } from './typing'\nimport { computed, ref } from 'vue'\nimport { useProConfigProvide } from './context'\n\ninterface Props extends ProConfigProviderProps {}\n\ndefineOptions({\n name: 'ConfigProviderContainer',\n})\n\nconst props = defineProps<Props>()\n\nconst contentOffsetTop = ref(props.contentOffsetTop)\nuseProConfigProvide({\n pro: computed(() => props.pro),\n proPrefixCls: computed(() => props.proPrefixCls),\n intl: computed(() => props.intl),\n locale: computed(() => props.locale),\n contentOffsetTop: computed(() => props.contentOffsetTop || contentOffsetTop.value),\n setContentOffsetTop: (offsetTop: number) => {\n contentOffsetTop.value = offsetTop\n },\n})\n</script>\n\n<template>\n <slot />\n</template>\n"],"names":["_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,IAAA,MAAM,KAAA,GAAQ,OAAA;AAEd,IAAA,MAAM,gBAAA,GAAmB,GAAA,CAAI,KAAA,CAAM,gBAAgB,CAAA;AACnD,IAAA,mBAAA,CAAoB;AAAA,MAClB,GAAA,EAAK,QAAA,CAAS,MAAM,KAAA,CAAM,GAAG,CAAA;AAAA,MAC7B,YAAA,EAAc,QAAA,CAAS,MAAM,KAAA,CAAM,YAAY,CAAA;AAAA,MAC/C,IAAA,EAAM,QAAA,CAAS,MAAM,KAAA,CAAM,IAAI,CAAA;AAAA,MAC/B,MAAA,EAAQ,QAAA,CAAS,MAAM,KAAA,CAAM,MAAM,CAAA;AAAA,MACnC,kBAAkB,QAAA,CAAS,MAAM,KAAA,CAAM,gBAAA,IAAoB,iBAAiB,KAAK,CAAA;AAAA,MACjF,mBAAA,EAAqB,CAAC,SAAA,KAAsB;AAC1C,QAAA,gBAAA,CAAiB,KAAA,GAAQ,SAAA;AAAA,MAC3B;AAAA,KACD,CAAA;;aAICA,UAAA,CAAQ,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA;;;;;;"}
|
@@ -15,6 +15,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
}) },
|
16
16
|
proPrefixCls: { type: String, required: false, default: "pro" },
|
17
17
|
contentOffsetTop: { type: Number, required: false },
|
18
|
+
pro: { type: Object, required: false },
|
18
19
|
iconPrefixCls: { type: String, required: false },
|
19
20
|
getTargetContainer: { type: Function, required: false },
|
20
21
|
getPopupContainer: { type: Function, required: false },
|
@@ -40,7 +41,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
41
|
wave: { type: Object, required: false }
|
41
42
|
},
|
42
43
|
setup(__props) {
|
43
|
-
const rest = createPropsRestProxy(__props, ["intl", "proPrefixCls"]);
|
44
|
+
const rest = createPropsRestProxy(__props, ["intl", "pro", "proPrefixCls"]);
|
44
45
|
ConfigProvider.config({
|
45
46
|
prefixCls: rest.prefixCls
|
46
47
|
});
|
@@ -56,6 +57,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
57
|
contentOffsetTop: _ctx.contentOffsetTop,
|
57
58
|
intl: _ctx.intl,
|
58
59
|
proPrefixCls: _ctx.proPrefixCls,
|
60
|
+
pro: _ctx.pro,
|
59
61
|
locale: rest.locale
|
60
62
|
}, {
|
61
63
|
default: withCtx(() => [
|
@@ -63,7 +65,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
65
|
]),
|
64
66
|
_: 3
|
65
67
|
/* FORWARDED */
|
66
|
-
}, 8, ["contentOffsetTop", "intl", "proPrefixCls", "locale"])
|
68
|
+
}, 8, ["contentOffsetTop", "intl", "proPrefixCls", "pro", "locale"])
|
67
69
|
]),
|
68
70
|
_: 3
|
69
71
|
/* FORWARDED */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config-provider.vue2.mjs","sources":["../../../../../../packages/components/config-provider/src/config-provider.vue"],"sourcesContent":["<!--\n * @Author: shen\n * @Date: 2025-05-22 09:08:36\n * @LastEditors: shen\n * @LastEditTime: 2025-
|
1
|
+
{"version":3,"file":"config-provider.vue2.mjs","sources":["../../../../../../packages/components/config-provider/src/config-provider.vue"],"sourcesContent":["<!--\n * @Author: shen\n * @Date: 2025-05-22 09:08:36\n * @LastEditors: shen\n * @LastEditTime: 2025-10-09 10:02:11\n * @Description:\n-->\n<script setup lang=\"ts\">\nimport type { ProConfigProviderProps } from './typing'\n\nimport { ConfigProvider, App } from 'ant-design-vue'\nimport { zhCNIntl } from './intl'\nimport ConfigProviderContainer from './config-provider-container.vue'\n\ninterface Props extends ProConfigProviderProps {}\n\ndefineOptions({\n name: 'ProConfigProvider',\n})\n\nconst {\n intl = {\n ...zhCNIntl,\n locale: 'default',\n },\n pro,\n proPrefixCls = 'pro',\n ...rest\n} = defineProps<Props>()\n\nConfigProvider.config({\n prefixCls: rest.prefixCls,\n})\n</script>\n\n<template>\n <ConfigProvider v-bind=\"rest\">\n <App>\n <ConfigProviderContainer :contentOffsetTop :intl :proPrefixCls :pro :locale=\"rest.locale\">\n <slot />\n </ConfigProviderContainer>\n </App>\n </ConfigProvider>\n</template>\n"],"names":["_createPropsRestProxy","_openBlock","_createBlock","_unref","_createVNode","ConfigProviderContainer","contentOffsetTop","intl","proPrefixCls","pro","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,IAAA,MAAM,OAQFA,oBAAA,CAAA,OAAA,EAAA,CAAA,MAAA,EAAA,KAAA,EAAA,cAAA,CAAA,CAAA;AAEJ,IAAA,cAAA,CAAe,MAAA,CAAO;AAAA,MACpB,WAAW,IAAA,CAAK;AAAA,KACjB,CAAA;;AAIC,MAAA,OAAAC,WAAA,EAAAC,WAAA;AAAA,QAMiBC;0CANO,IAAI,CAAA,CAAA;AAAA,QAAA;AAAA,2BAC1B,MAIM;AAAA,YAJNC,WAAA,CAIMD,KAAA,CAAA,GAAA,CAAA,EAAA,IAAA,EAAA;AAAA,+BAHJ,MAE0B;AAAA,gBAF1BC,YAE0BC,WAAA,EAAA;AAAA,kBAFA,kBAAAC,IAAAA,CAAAA,gBAAAA;AAAAA,kBAAkB,MAAAC,IAAAA,CAAAA,IAAAA;AAAAA,kBAAM,cAAAC,IAAAA,CAAAA,YAAAA;AAAAA,kBAAc,KAAAC,IAAAA,CAAAA,GAAAA;AAAAA,kBAAK,QAAQ,IAAA,CAAK;AAAA;mCAChF,MAAQ;AAAA,oBAARC,UAAA,CAAQ,IAAA,CAAA,MAAA,EAAA,SAAA;AAAA;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,8 +1,14 @@
|
|
1
1
|
import type { ConfigProviderProps } from 'ant-design-vue';
|
2
2
|
import type { IntlType } from './intl';
|
3
|
+
import type { ProTablePaginationConfig } from 'pro-design-vue/es/components/table';
|
3
4
|
interface ProConfigProviderProps extends ConfigProviderProps {
|
4
5
|
intl?: IntlType;
|
5
6
|
proPrefixCls?: string;
|
6
7
|
contentOffsetTop?: number;
|
8
|
+
pro?: {
|
9
|
+
table?: {
|
10
|
+
pagination?: ProTablePaginationConfig;
|
11
|
+
};
|
12
|
+
};
|
7
13
|
}
|
8
14
|
export type { ProConfigProviderProps };
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* 用于适配各个框架的设计系统
|
3
|
+
*/
|
4
|
+
export declare function useDesignTokens(theme: any): {
|
5
|
+
tokens: {
|
6
|
+
borderRadius: any;
|
7
|
+
colorBgBase: string;
|
8
|
+
colorBgContainer: string;
|
9
|
+
colorBgElevated: string;
|
10
|
+
colorBgLayout: string;
|
11
|
+
colorBgMask: string;
|
12
|
+
colorBorder: string;
|
13
|
+
colorBorderSecondary: string;
|
14
|
+
colorError: string;
|
15
|
+
colorInfo: string;
|
16
|
+
colorPrimary: string;
|
17
|
+
colorSuccess: string;
|
18
|
+
colorTextBase: string;
|
19
|
+
colorText: string;
|
20
|
+
colorTextTertiary: string;
|
21
|
+
colorWarning: string;
|
22
|
+
zIndexPopupBase: number;
|
23
|
+
};
|
24
|
+
};
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { reactive, watch } from 'vue';
|
2
|
+
import { DEFAULT_NAMESPACE } from '../../../constants/globals.mjs';
|
3
|
+
|
4
|
+
function useDesignTokens(theme) {
|
5
|
+
const rootStyles = getComputedStyle(document.documentElement);
|
6
|
+
const tokens = reactive({
|
7
|
+
borderRadius: "",
|
8
|
+
colorBgBase: "",
|
9
|
+
colorBgContainer: "",
|
10
|
+
colorBgElevated: "",
|
11
|
+
colorBgLayout: "",
|
12
|
+
colorBgMask: "",
|
13
|
+
colorBorder: "",
|
14
|
+
colorBorderSecondary: "",
|
15
|
+
colorError: "",
|
16
|
+
colorInfo: "",
|
17
|
+
colorPrimary: "",
|
18
|
+
colorSuccess: "",
|
19
|
+
colorTextBase: "",
|
20
|
+
colorText: "",
|
21
|
+
colorTextTertiary: "",
|
22
|
+
colorWarning: "",
|
23
|
+
zIndexPopupBase: 2e3
|
24
|
+
// 调整基础弹层层级,避免下拉等组件被弹窗或者最大化状态下的表格遮挡
|
25
|
+
});
|
26
|
+
const getCssVariableValue = (variable, isColor = true) => {
|
27
|
+
const value = rootStyles.getPropertyValue(`--${DEFAULT_NAMESPACE}-${variable}`);
|
28
|
+
return isColor ? `hsl(${value})` : value;
|
29
|
+
};
|
30
|
+
watch(
|
31
|
+
theme,
|
32
|
+
() => {
|
33
|
+
tokens.colorPrimary = getCssVariableValue("primary");
|
34
|
+
tokens.colorInfo = getCssVariableValue("primary");
|
35
|
+
tokens.colorError = getCssVariableValue("destructive");
|
36
|
+
tokens.colorWarning = getCssVariableValue("warning");
|
37
|
+
tokens.colorSuccess = getCssVariableValue("success");
|
38
|
+
tokens.colorTextBase = getCssVariableValue("foreground");
|
39
|
+
tokens.colorText = getCssVariableValue("foreground");
|
40
|
+
tokens.colorTextTertiary = getCssVariableValue("muted-foreground");
|
41
|
+
tokens.colorBorderSecondary = tokens.colorBorder = getCssVariableValue("border");
|
42
|
+
tokens.colorBgElevated = getCssVariableValue("popover");
|
43
|
+
tokens.colorBgContainer = getCssVariableValue("card");
|
44
|
+
tokens.colorBgBase = getCssVariableValue("background");
|
45
|
+
const radius = Number.parseFloat(getCssVariableValue("radius", false));
|
46
|
+
tokens.borderRadius = radius;
|
47
|
+
tokens.colorBgLayout = getCssVariableValue("background-deep");
|
48
|
+
tokens.colorBgMask = getCssVariableValue("overlay");
|
49
|
+
},
|
50
|
+
{ immediate: true }
|
51
|
+
);
|
52
|
+
return {
|
53
|
+
tokens
|
54
|
+
};
|
55
|
+
}
|
56
|
+
|
57
|
+
export { useDesignTokens };
|
58
|
+
//# sourceMappingURL=useTokens.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useTokens.mjs","sources":["../../../../../../packages/components/config-provider/src/useTokens.ts"],"sourcesContent":["/*\n * @Author: shen\n * @Date: 2025-06-06 09:26:03\n * @LastEditors: shen\n * @LastEditTime: 2025-10-09 09:03:00\n * @Description:\n */\nimport { reactive, watch } from 'vue'\n\nimport { DEFAULT_NAMESPACE } from '@pro-design-vue/constants'\n\n/**\n * 用于适配各个框架的设计系统\n */\n\nexport function useDesignTokens(theme) {\n const rootStyles = getComputedStyle(document.documentElement)\n\n const tokens = reactive({\n borderRadius: '' as any,\n colorBgBase: '',\n colorBgContainer: '',\n colorBgElevated: '',\n colorBgLayout: '',\n colorBgMask: '',\n colorBorder: '',\n colorBorderSecondary: '',\n colorError: '',\n colorInfo: '',\n colorPrimary: '',\n colorSuccess: '',\n colorTextBase: '',\n colorText: '',\n colorTextTertiary: '',\n colorWarning: '',\n zIndexPopupBase: 2000, // 调整基础弹层层级,避免下拉等组件被弹窗或者最大化状态下的表格遮挡\n })\n\n const getCssVariableValue = (variable: string, isColor: boolean = true) => {\n const value = rootStyles.getPropertyValue(`--${DEFAULT_NAMESPACE}-${variable}`)\n return isColor ? `hsl(${value})` : value\n }\n\n watch(\n theme,\n () => {\n tokens.colorPrimary = getCssVariableValue('primary')\n\n tokens.colorInfo = getCssVariableValue('primary')\n\n tokens.colorError = getCssVariableValue('destructive')\n\n tokens.colorWarning = getCssVariableValue('warning')\n\n tokens.colorSuccess = getCssVariableValue('success')\n\n tokens.colorTextBase = getCssVariableValue('foreground')\n tokens.colorText = getCssVariableValue('foreground')\n tokens.colorTextTertiary = getCssVariableValue('muted-foreground')\n\n tokens.colorBorderSecondary = tokens.colorBorder = getCssVariableValue('border')\n\n tokens.colorBgElevated = getCssVariableValue('popover')\n\n tokens.colorBgContainer = getCssVariableValue('card')\n\n tokens.colorBgBase = getCssVariableValue('background')\n\n const radius = Number.parseFloat(getCssVariableValue('radius', false))\n tokens.borderRadius = radius\n tokens.colorBgLayout = getCssVariableValue('background-deep')\n tokens.colorBgMask = getCssVariableValue('overlay')\n },\n { immediate: true },\n )\n\n return {\n tokens,\n }\n}\n"],"names":[],"mappings":";;;AAeO,SAAS,gBAAgB,KAAA,EAAO;AACrC,EAAA,MAAM,UAAA,GAAa,gBAAA,CAAiB,QAAA,CAAS,eAAe,CAAA;AAE5D,EAAA,MAAM,SAAS,QAAA,CAAS;AAAA,IACtB,YAAA,EAAc,EAAA;AAAA,IACd,WAAA,EAAa,EAAA;AAAA,IACb,gBAAA,EAAkB,EAAA;AAAA,IAClB,eAAA,EAAiB,EAAA;AAAA,IACjB,aAAA,EAAe,EAAA;AAAA,IACf,WAAA,EAAa,EAAA;AAAA,IACb,WAAA,EAAa,EAAA;AAAA,IACb,oBAAA,EAAsB,EAAA;AAAA,IACtB,UAAA,EAAY,EAAA;AAAA,IACZ,SAAA,EAAW,EAAA;AAAA,IACX,YAAA,EAAc,EAAA;AAAA,IACd,YAAA,EAAc,EAAA;AAAA,IACd,aAAA,EAAe,EAAA;AAAA,IACf,SAAA,EAAW,EAAA;AAAA,IACX,iBAAA,EAAmB,EAAA;AAAA,IACnB,YAAA,EAAc,EAAA;AAAA,IACd,eAAA,EAAiB;AAAA;AAAA,GAClB,CAAA;AAED,EAAA,MAAM,mBAAA,GAAsB,CAAC,QAAA,EAAkB,OAAA,GAAmB,IAAA,KAAS;AACzE,IAAA,MAAM,QAAQ,UAAA,CAAW,gBAAA,CAAiB,KAAK,iBAAiB,CAAA,CAAA,EAAI,QAAQ,CAAA,CAAE,CAAA;AAC9E,IAAA,OAAO,OAAA,GAAU,CAAA,IAAA,EAAO,KAAK,CAAA,CAAA,CAAA,GAAM,KAAA;AAAA,EACrC,CAAA;AAEA,EAAA,KAAA;AAAA,IACE,KAAA;AAAA,IACA,MAAM;AACJ,MAAA,MAAA,CAAO,YAAA,GAAe,oBAAoB,SAAS,CAAA;AAEnD,MAAA,MAAA,CAAO,SAAA,GAAY,oBAAoB,SAAS,CAAA;AAEhD,MAAA,MAAA,CAAO,UAAA,GAAa,oBAAoB,aAAa,CAAA;AAErD,MAAA,MAAA,CAAO,YAAA,GAAe,oBAAoB,SAAS,CAAA;AAEnD,MAAA,MAAA,CAAO,YAAA,GAAe,oBAAoB,SAAS,CAAA;AAEnD,MAAA,MAAA,CAAO,aAAA,GAAgB,oBAAoB,YAAY,CAAA;AACvD,MAAA,MAAA,CAAO,SAAA,GAAY,oBAAoB,YAAY,CAAA;AACnD,MAAA,MAAA,CAAO,iBAAA,GAAoB,oBAAoB,kBAAkB,CAAA;AAEjE,MAAA,MAAA,CAAO,oBAAA,GAAuB,MAAA,CAAO,WAAA,GAAc,mBAAA,CAAoB,QAAQ,CAAA;AAE/E,MAAA,MAAA,CAAO,eAAA,GAAkB,oBAAoB,SAAS,CAAA;AAEtD,MAAA,MAAA,CAAO,gBAAA,GAAmB,oBAAoB,MAAM,CAAA;AAEpD,MAAA,MAAA,CAAO,WAAA,GAAc,oBAAoB,YAAY,CAAA;AAErD,MAAA,MAAM,SAAS,MAAA,CAAO,UAAA,CAAW,mBAAA,CAAoB,QAAA,EAAU,KAAK,CAAC,CAAA;AACrE,MAAA,MAAA,CAAO,YAAA,GAAe,MAAA;AACtB,MAAA,MAAA,CAAO,aAAA,GAAgB,oBAAoB,iBAAiB,CAAA;AAC5D,MAAA,MAAA,CAAO,WAAA,GAAc,oBAAoB,SAAS,CAAA;AAAA,IACpD,CAAA;AAAA,IACA,EAAE,WAAW,IAAA;AAAK,GACpB;AAEA,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF;;;;"}
|
@@ -28,14 +28,14 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
28
28
|
prefix: string;
|
29
29
|
color: string;
|
30
30
|
decimal: string;
|
31
|
+
suffix: string;
|
32
|
+
separator: string;
|
31
33
|
transition: keyof typeof TransitionPresets;
|
32
34
|
autoplay: boolean;
|
33
35
|
decimals: number;
|
34
36
|
duration: number;
|
35
37
|
endVal: number;
|
36
|
-
separator: string;
|
37
38
|
startVal: number;
|
38
|
-
suffix: string;
|
39
39
|
useEasing: boolean;
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
41
41
|
export default _default;
|
@@ -452,14 +452,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
452
452
|
validateOnRuleChange: boolean | undefined;
|
453
453
|
scrollToFirstError: boolean | import("scroll-into-view-if-needed").Options<any> | undefined;
|
454
454
|
validateTrigger: string | string[] | undefined;
|
455
|
-
grid: boolean;
|
456
455
|
dateFormatter: false | "string" | "number" | ((value: import("dayjs").Dayjs, fieldType: `${import("pro-design-vue").ProFieldType}`) => string | number) | undefined;
|
457
456
|
submitter: false | import("pro-design-vue").SubmitterProps<import("pro-design-vue").Entity> | undefined;
|
457
|
+
preserve: boolean;
|
458
|
+
defaultCollapsed: boolean;
|
459
|
+
collapsed: boolean | undefined;
|
460
|
+
labelWidth: number | "auto";
|
461
|
+
searchGutter: number;
|
462
|
+
showHiddenNum: boolean;
|
463
|
+
ignoreRules: boolean;
|
464
|
+
resetOnSubmit: boolean;
|
465
|
+
onCollapse: (val: boolean) => void;
|
458
466
|
showLoading: boolean;
|
459
467
|
submitOnLoading: boolean;
|
460
468
|
gridSubmitter: boolean;
|
461
469
|
omitNil: boolean;
|
462
470
|
readonly: boolean;
|
471
|
+
grid: boolean;
|
463
472
|
isKeyPressSubmit: boolean;
|
464
473
|
customUi: boolean;
|
465
474
|
requestAbort: boolean;
|
@@ -497,15 +506,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
497
506
|
formProps?: import("./props").BaseFormProps;
|
498
507
|
})[];
|
499
508
|
onCurrentChange: (current: number) => void;
|
500
|
-
preserve: boolean;
|
501
|
-
defaultCollapsed: boolean;
|
502
|
-
collapsed: boolean | undefined;
|
503
|
-
labelWidth: number | "auto";
|
504
|
-
searchGutter: number;
|
505
|
-
showHiddenNum: boolean;
|
506
|
-
ignoreRules: boolean;
|
507
|
-
resetOnSubmit: boolean;
|
508
|
-
onCollapse: (val: boolean) => void;
|
509
509
|
submitTimeout: number;
|
510
510
|
closeOnFinish: boolean;
|
511
511
|
confirmOnValuesChange: boolean;
|
@@ -262,7 +262,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
262
262
|
validateOnRuleChange: boolean | undefined;
|
263
263
|
scrollToFirstError: boolean | import("scroll-into-view-if-needed").Options<any> | undefined;
|
264
264
|
validateTrigger: string | string[] | undefined;
|
265
|
-
grid: boolean;
|
266
265
|
dateFormatter: false | "string" | "number" | ((value: import("dayjs").Dayjs, fieldType: `${import("pro-design-vue").ProFieldType}`) => string | number) | undefined;
|
267
266
|
submitter: false | SubmitterProps<Entity> | undefined;
|
268
267
|
showLoading: boolean;
|
@@ -270,6 +269,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
270
269
|
gridSubmitter: boolean;
|
271
270
|
omitNil: boolean;
|
272
271
|
readonly: boolean;
|
272
|
+
grid: boolean;
|
273
273
|
isKeyPressSubmit: boolean;
|
274
274
|
customUi: boolean;
|
275
275
|
requestAbort: boolean;
|
@@ -266,7 +266,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
266
266
|
validateOnRuleChange: boolean | undefined;
|
267
267
|
scrollToFirstError: boolean | import("scroll-into-view-if-needed").Options<any> | undefined;
|
268
268
|
validateTrigger: string | string[] | undefined;
|
269
|
-
grid: boolean;
|
270
269
|
dateFormatter: false | "string" | "number" | ((value: import("dayjs").Dayjs, fieldType: `${import("pro-design-vue").ProFieldType}`) => string | number) | undefined;
|
271
270
|
submitter: false | import("pro-design-vue").SubmitterProps<import("pro-design-vue").Entity> | undefined;
|
272
271
|
showLoading: boolean;
|
@@ -274,6 +273,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
274
273
|
gridSubmitter: boolean;
|
275
274
|
omitNil: boolean;
|
276
275
|
readonly: boolean;
|
276
|
+
grid: boolean;
|
277
277
|
isKeyPressSubmit: boolean;
|
278
278
|
customUi: boolean;
|
279
279
|
requestAbort: boolean;
|
@@ -78,9 +78,44 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
78
78
|
title: import("pro-design-vue").ProVNode | ((params: {
|
79
79
|
formData: import("pro-design-vue").Entity;
|
80
80
|
}) => import("pro-design-vue").ProVNode);
|
81
|
-
items: ProFormItemType<import("pro-design-vue").Entity, "text" | "select" | "textarea" | "time" | "
|
81
|
+
items: ProFormItemType<import("pro-design-vue").Entity, "text" | "select" | "textarea" | "time" | "checkbox" | "date" | "password" | "formSet" | "formList" | "group" | "divider" | "digit" | "digitRange" | "treeSelect" | "cascader" | "checkboxGroup" | "radioGroup" | "switch" | "slider" | "rate" | "dateRange" | "timeRange" | "uploadButton" | "uploadDragger" | "uploadPicture" | "uploadPictureList" | "editor">[] | ((formData: import("pro-design-vue").Entity) => ProFormItemType<import("pro-design-vue").Entity, "text" | "select" | "textarea" | "time" | "checkbox" | "date" | "password" | "formSet" | "formList" | "group" | "divider" | "digit" | "digitRange" | "treeSelect" | "cascader" | "checkboxGroup" | "radioGroup" | "switch" | "slider" | "rate" | "dateRange" | "timeRange" | "uploadButton" | "uploadDragger" | "uploadPicture" | "uploadPictureList" | "editor">[]) | undefined;
|
82
82
|
item: ProFormItemType;
|
83
|
-
|
83
|
+
colProps: (Partial<import("vue").ExtractPropTypes<{
|
84
|
+
span: (StringConstructor | NumberConstructor)[];
|
85
|
+
order: (StringConstructor | NumberConstructor)[];
|
86
|
+
offset: (StringConstructor | NumberConstructor)[];
|
87
|
+
push: (StringConstructor | NumberConstructor)[];
|
88
|
+
pull: (StringConstructor | NumberConstructor)[];
|
89
|
+
xs: {
|
90
|
+
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
91
|
+
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
92
|
+
};
|
93
|
+
sm: {
|
94
|
+
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
95
|
+
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
96
|
+
};
|
97
|
+
md: {
|
98
|
+
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
99
|
+
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
100
|
+
};
|
101
|
+
lg: {
|
102
|
+
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
103
|
+
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
104
|
+
};
|
105
|
+
xl: {
|
106
|
+
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
107
|
+
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
108
|
+
};
|
109
|
+
xxl: {
|
110
|
+
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
111
|
+
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
112
|
+
};
|
113
|
+
prefixCls: StringConstructor;
|
114
|
+
flex: (StringConstructor | NumberConstructor)[];
|
115
|
+
}>> & {
|
116
|
+
class?: string;
|
117
|
+
style?: StyleSheet;
|
118
|
+
}) | undefined;
|
84
119
|
rowProps: (Partial<import("vue").ExtractPropTypes<{
|
85
120
|
align: {
|
86
121
|
type: import("vue").PropType<"top" | "bottom" | "stretch" | "middle" | {
|
@@ -102,20 +137,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
102
137
|
};
|
103
138
|
justify: {
|
104
139
|
type: import("vue").PropType<"center" | "end" | "start" | "space-around" | "space-between" | "space-evenly" | {
|
105
|
-
sm?: "start" | "
|
106
|
-
md?: "start" | "
|
107
|
-
lg?: "start" | "
|
108
|
-
xl?: "start" | "
|
109
|
-
xs?: "start" | "
|
110
|
-
xxl?: "start" | "
|
140
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
141
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
142
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
143
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
144
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
145
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
111
146
|
}>;
|
112
147
|
default: "center" | "end" | "start" | "space-around" | "space-between" | "space-evenly" | {
|
113
|
-
sm?: "start" | "
|
114
|
-
md?: "start" | "
|
115
|
-
lg?: "start" | "
|
116
|
-
xl?: "start" | "
|
117
|
-
xs?: "start" | "
|
118
|
-
xxl?: "start" | "
|
148
|
+
sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
149
|
+
md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
150
|
+
lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
151
|
+
xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
152
|
+
xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
153
|
+
xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | undefined;
|
119
154
|
};
|
120
155
|
};
|
121
156
|
prefixCls: StringConstructor;
|
@@ -131,43 +166,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
131
166
|
class?: string;
|
132
167
|
style?: StyleSheet;
|
133
168
|
}) | undefined;
|
134
|
-
colProps: (Partial<import("vue").ExtractPropTypes<{
|
135
|
-
span: (StringConstructor | NumberConstructor)[];
|
136
|
-
order: (StringConstructor | NumberConstructor)[];
|
137
|
-
offset: (StringConstructor | NumberConstructor)[];
|
138
|
-
push: (StringConstructor | NumberConstructor)[];
|
139
|
-
pull: (StringConstructor | NumberConstructor)[];
|
140
|
-
xs: {
|
141
|
-
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
142
|
-
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
143
|
-
};
|
144
|
-
sm: {
|
145
|
-
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
146
|
-
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
147
|
-
};
|
148
|
-
md: {
|
149
|
-
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
150
|
-
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
151
|
-
};
|
152
|
-
lg: {
|
153
|
-
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
154
|
-
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
155
|
-
};
|
156
|
-
xl: {
|
157
|
-
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
158
|
-
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
159
|
-
};
|
160
|
-
xxl: {
|
161
|
-
type: PropType<string | number | import("ant-design-vue/es/grid").ColSize>;
|
162
|
-
default: string | number | import("ant-design-vue/es/grid").ColSize;
|
163
|
-
};
|
164
|
-
prefixCls: StringConstructor;
|
165
|
-
flex: (StringConstructor | NumberConstructor)[];
|
166
|
-
}>> & {
|
167
|
-
class?: string;
|
168
|
-
style?: StyleSheet;
|
169
|
-
}) | undefined;
|
170
169
|
grid: boolean;
|
170
|
+
tooltip: string | boolean;
|
171
171
|
spaceProps: Partial<import("vue").ExtractPropTypes<{
|
172
172
|
prefixCls: StringConstructor;
|
173
173
|
size: {
|