3h1-ui 2.6.0 → 2.7.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/es/index.js +41 -22
- package/es/style.css +3 -3
- package/es/ui/src/Table/index.d.ts +2 -1
- package/es/ui/src/Table/src/const.d.ts +2 -1
- package/es/ui/src/Table/src/props.d.ts +506 -44
- package/es/ui/src/TablePlus/TablePlus.vue.d.ts +6 -6
- package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +3 -3
- package/es/ui/src/Tree/src/BasicTree.vue.d.ts +1 -1
- package/lib/index.js +38 -19
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, nextTick, createVNode, defineComponent, ref, computed, unref, watchEffect, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createSlots, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, onMounted, normalizeClass, createCommentVNode, normalizeStyle, Transition, toHandlers, useSlots, withDirectives, vShow, getCurrentInstance, inject, onUnmounted, provide, onBeforeUnmount, resolveDynamicComponent, reactive, toRef, toRefs, TransitionGroup, getCurrentScope, onScopeDispose, readonly, isVNode, shallowReactive, toRaw, shallowRef, withKeys, withModifiers, render as render$1, resolveDirective, isRef, useAttrs as useAttrs$2 } from "vue";
|
|
2
2
|
import { Radio, Select, Tree, TreeSelect, Cascader, Transfer, Input, Tooltip, Skeleton, Popover, Pagination, Empty, Button as Button$1, Table as Table$1, Form, FormItem, DatePicker, InputNumber, AutoComplete, Switch, Checkbox, Slider, Rate, TimePicker, Divider, Col, Popconfirm, Modal as Modal$2, Row, Dropdown, Menu, MenuItem, MenuDivider, Spin, PageHeader, Image, Badge, Tag, FormItemRest, Drawer, Space, Upload, Avatar } from "ant-design-vue";
|
|
3
|
-
import { propTypes, isFunction as isFunction$4, isString as isString$3, isArray as isArray$3, getSlot as getSlot$1, addClass as addClass$1, removeClass as removeClass$1, getPopupContainer as getPopupContainer$1, triggerWindowResize, off, on, addResizeListener, removeResizeListener, isNumber as isNumber$2, isBoolean, isNull, extendSlots as extendSlots$1, withInstall as withInstall$
|
|
3
|
+
import { propTypes, isFunction as isFunction$4, isString as isString$3, isArray as isArray$3, getSlot as getSlot$1, addClass as addClass$1, removeClass as removeClass$1, getPopupContainer as getPopupContainer$1, triggerWindowResize, off, on, addResizeListener, removeResizeListener, isNumber as isNumber$2, isBoolean, isNull, extendSlots as extendSlots$1, withInstall as withInstall$2, isObject as isObject$3, dateUtil, isNullOrUnDef, isDef as isDef$1, error as error$1, deepMerge as deepMerge$1, getDynamicProps, buildProps, createBEM, forEach as forEach$1, isClient as isClient$1, filter, treeToList, eachTree, isEmpty, isServer, formatToDate, isMap as isMap$2, buildUUID, findNodeAll, getViewportOffset, warn as warn$1, isNullAndUnDef, dataURLtoBlob } from "@shy-plugins/utils";
|
|
4
4
|
import { useAttrs as useAttrs$1, useRuleFormItem, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useCopyToClipboard, useMessage, usePagination as usePagination$2, createContext as createContext$1, useContext as useContext$2, useBreakpoint, useI18n as useI18n$1, useContentHeight, useDesign as useDesign$1, useWindowSizeFn as useWindowSizeFn$1, onMountedOrActivated, useEventListener as useEventListener$1 } from "@shy-plugins/use";
|
|
5
5
|
import { zxcvbn } from "@zxcvbn-ts/core";
|
|
6
6
|
import Iconify from "@purge-icons/generated";
|
|
@@ -7902,7 +7902,7 @@ const _sfc_main$J = defineComponent({
|
|
|
7902
7902
|
};
|
|
7903
7903
|
}
|
|
7904
7904
|
});
|
|
7905
|
-
const Button = withInstall$
|
|
7905
|
+
const Button = withInstall$2(_sfc_main$K);
|
|
7906
7906
|
const key$3 = Symbol();
|
|
7907
7907
|
function createFormContext(context) {
|
|
7908
7908
|
return createContext$1(context, key$3);
|
|
@@ -7967,7 +7967,10 @@ const _sfc_main$I = defineComponent({
|
|
|
7967
7967
|
{
|
|
7968
7968
|
text: "查询"
|
|
7969
7969
|
},
|
|
7970
|
-
|
|
7970
|
+
{
|
|
7971
|
+
...props2.submitButtonOptions,
|
|
7972
|
+
loading: false
|
|
7973
|
+
}
|
|
7971
7974
|
);
|
|
7972
7975
|
});
|
|
7973
7976
|
const getPreIcon = computed(() => {
|
|
@@ -7992,7 +7995,6 @@ const _sfc_main$I = defineComponent({
|
|
|
7992
7995
|
});
|
|
7993
7996
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7994
7997
|
const _component_BasicButton = resolveComponent("BasicButton");
|
|
7995
|
-
const _component_SearchOutlined = resolveComponent("SearchOutlined");
|
|
7996
7998
|
const _component_Button = resolveComponent("Button");
|
|
7997
7999
|
const _component_FormItem = resolveComponent("FormItem");
|
|
7998
8000
|
return _ctx.showActionButtonGroup ? (openBlock(), createElementBlock("div", {
|
|
@@ -8006,10 +8008,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8006
8008
|
key: 0,
|
|
8007
8009
|
type: "default",
|
|
8008
8010
|
class: "mr-2"
|
|
8009
|
-
}, _ctx.getResetBtnOptions, {
|
|
8010
|
-
onClick: _ctx.resetAction,
|
|
8011
|
-
preIcon: "ant-design:sync-outlined"
|
|
8012
|
-
}), {
|
|
8011
|
+
}, _ctx.getResetBtnOptions, { onClick: _ctx.resetAction }), {
|
|
8013
8012
|
default: withCtx(() => [
|
|
8014
8013
|
createTextVNode(toDisplayString(_ctx.getResetBtnOptions.text), 1)
|
|
8015
8014
|
]),
|
|
@@ -8021,11 +8020,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8021
8020
|
type: "primary",
|
|
8022
8021
|
class: "mr-2"
|
|
8023
8022
|
}, { ..._ctx.getSubmitBtnOptions }, { onClick: _ctx.submitAction }), {
|
|
8024
|
-
icon: withCtx(() => [
|
|
8025
|
-
createVNode(_component_SearchOutlined, { style: { "line-height": "14px", "transform": "translateY(3px)", "font-size": "14px", "box-sizing": "border-box" } })
|
|
8026
|
-
]),
|
|
8027
8023
|
default: withCtx(() => [
|
|
8028
|
-
createTextVNode(
|
|
8024
|
+
createTextVNode(toDisplayString(_ctx.getSubmitBtnOptions.text), 1)
|
|
8029
8025
|
]),
|
|
8030
8026
|
_: 1
|
|
8031
8027
|
}, 16, ["onClick"])) : createCommentVNode("", true),
|
|
@@ -9840,7 +9836,7 @@ const useModalInner = (callbackFn) => {
|
|
|
9840
9836
|
}
|
|
9841
9837
|
];
|
|
9842
9838
|
};
|
|
9843
|
-
const BasicModal = withInstall$
|
|
9839
|
+
const BasicModal = withInstall$2(basicModal);
|
|
9844
9840
|
const basicProps$4 = {
|
|
9845
9841
|
model: {
|
|
9846
9842
|
type: Object,
|
|
@@ -10249,7 +10245,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10249
10245
|
class: normalizeClass(_ctx.getToggleClass),
|
|
10250
10246
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleToggleAdvanced && _ctx.handleToggleAdvanced(...args))
|
|
10251
10247
|
}, [
|
|
10252
|
-
createVNode(_component_DownOutlined, { style: { fontSize: "10px", color: "#
|
|
10248
|
+
createVNode(_component_DownOutlined, { style: { fontSize: "10px", color: "#AED0FA " } })
|
|
10253
10249
|
], 2)
|
|
10254
10250
|
], 2)) : createCommentVNode("", true)
|
|
10255
10251
|
];
|
|
@@ -11851,9 +11847,12 @@ const FETCH_SETTING = fetchSetting;
|
|
|
11851
11847
|
const DEFAULT_SIZE = defaultSize;
|
|
11852
11848
|
const DEFAULT_SORT_FN = defaultSortFn;
|
|
11853
11849
|
const DEFAULT_FILTER_FN = defaultFilterFn;
|
|
11854
|
-
|
|
11850
|
+
let DEFAULT_ALIGN = "left";
|
|
11855
11851
|
const INDEX_COLUMN_FLAG = "INDEX";
|
|
11856
11852
|
const ACTION_COLUMN_FLAG = "ACTION";
|
|
11853
|
+
const setConstConfig = (config) => {
|
|
11854
|
+
DEFAULT_ALIGN = config.align;
|
|
11855
|
+
};
|
|
11857
11856
|
function itemRender({
|
|
11858
11857
|
page,
|
|
11859
11858
|
type,
|
|
@@ -14393,6 +14392,7 @@ function useTableForm(propsRef, slots, fetch, getLoading) {
|
|
|
14393
14392
|
const { submitButtonOptions } = formConfig || {};
|
|
14394
14393
|
return {
|
|
14395
14394
|
showAdvancedButton: true,
|
|
14395
|
+
rowProps: { gutter: 20 },
|
|
14396
14396
|
...formConfig,
|
|
14397
14397
|
submitButtonOptions: {
|
|
14398
14398
|
loading: unref(getLoading),
|
|
@@ -14425,7 +14425,7 @@ function useTableForm(propsRef, slots, fetch, getLoading) {
|
|
|
14425
14425
|
handleSearchInfoChange
|
|
14426
14426
|
};
|
|
14427
14427
|
}
|
|
14428
|
-
const basicProps$3 = {
|
|
14428
|
+
const basicProps$3 = reactive({
|
|
14429
14429
|
clickToRowSelect: { type: Boolean, default: true },
|
|
14430
14430
|
isTreeTable: Boolean,
|
|
14431
14431
|
tableSetting: propTypes.shape({}),
|
|
@@ -14552,6 +14552,11 @@ const basicProps$3 = {
|
|
|
14552
14552
|
type: String,
|
|
14553
14553
|
default: DEFAULT_SIZE
|
|
14554
14554
|
}
|
|
14555
|
+
});
|
|
14556
|
+
const basicPropChange = (options) => {
|
|
14557
|
+
Object.keys(options).forEach((name) => {
|
|
14558
|
+
basicProps$3[name] = options[name];
|
|
14559
|
+
});
|
|
14555
14560
|
};
|
|
14556
14561
|
const _sfc_main$i = defineComponent({
|
|
14557
14562
|
components: {
|
|
@@ -15010,7 +15015,11 @@ const _sfc_main$g = defineComponent({
|
|
|
15010
15015
|
},
|
|
15011
15016
|
divider: propTypes.bool.def(true),
|
|
15012
15017
|
outside: propTypes.bool,
|
|
15013
|
-
stopButtonPropagation: propTypes.bool.def(false)
|
|
15018
|
+
stopButtonPropagation: propTypes.bool.def(false),
|
|
15019
|
+
showCount: {
|
|
15020
|
+
type: Number,
|
|
15021
|
+
default: () => 2
|
|
15022
|
+
}
|
|
15014
15023
|
},
|
|
15015
15024
|
setup(props2) {
|
|
15016
15025
|
const { prefixCls: prefixCls2 } = useDesign$1("basic-table-action");
|
|
@@ -15030,8 +15039,8 @@ const _sfc_main$g = defineComponent({
|
|
|
15030
15039
|
return isIfShow2;
|
|
15031
15040
|
}
|
|
15032
15041
|
const getActions = computed(() => {
|
|
15033
|
-
return (toRaw(props2.actions) || []).filter((action) => {
|
|
15034
|
-
return isIfShow(action);
|
|
15042
|
+
return (toRaw(props2.actions) || []).filter((action, index2) => {
|
|
15043
|
+
return isIfShow(action) && index2 < props2.showCount;
|
|
15035
15044
|
}).map((action) => {
|
|
15036
15045
|
const { popConfirm } = action;
|
|
15037
15046
|
return {
|
|
@@ -15047,8 +15056,8 @@ const _sfc_main$g = defineComponent({
|
|
|
15047
15056
|
});
|
|
15048
15057
|
});
|
|
15049
15058
|
const getDropdownList = computed(() => {
|
|
15050
|
-
const list = (toRaw(props2.
|
|
15051
|
-
return isIfShow(action);
|
|
15059
|
+
const list = (toRaw(props2.actions) || []).filter((action, index2) => {
|
|
15060
|
+
return isIfShow(action) && index2 >= props2.showCount;
|
|
15052
15061
|
});
|
|
15053
15062
|
return list.map((action, index2) => {
|
|
15054
15063
|
const { label, popConfirm } = action;
|
|
@@ -15151,7 +15160,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15151
15160
|
})) : createCommentVNode("", true)
|
|
15152
15161
|
], 64);
|
|
15153
15162
|
}), 128)),
|
|
15154
|
-
_ctx.
|
|
15163
|
+
_ctx.getDropdownList.length > 0 ? (openBlock(), createBlock(_component_Dropdown, {
|
|
15155
15164
|
key: 0,
|
|
15156
15165
|
trigger: ["hover"],
|
|
15157
15166
|
dropMenuList: _ctx.getDropdownList,
|
|
@@ -15435,6 +15444,16 @@ function useTable(tableProps) {
|
|
|
15435
15444
|
};
|
|
15436
15445
|
return [register, methods2];
|
|
15437
15446
|
}
|
|
15447
|
+
const withInstall$1 = (component) => {
|
|
15448
|
+
const comp = component;
|
|
15449
|
+
comp.install = (app, options = {}, config = {}) => {
|
|
15450
|
+
basicPropChange(options);
|
|
15451
|
+
setConstConfig(config);
|
|
15452
|
+
app.component("BasicTable", component);
|
|
15453
|
+
};
|
|
15454
|
+
return component;
|
|
15455
|
+
};
|
|
15456
|
+
withInstall$1(BasicTable);
|
|
15438
15457
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
15439
15458
|
__name: "Table",
|
|
15440
15459
|
setup(__props, { expose }) {
|
package/es/style.css
CHANGED
|
@@ -25064,9 +25064,9 @@ span.iconify {
|
|
|
25064
25064
|
align-items: center;
|
|
25065
25065
|
width: 32px;
|
|
25066
25066
|
height: 12px;
|
|
25067
|
-
border: 1px solid #
|
|
25068
|
-
border-radius:
|
|
25069
|
-
transition: all 0.
|
|
25067
|
+
border: 1px solid #aed0fa;
|
|
25068
|
+
border-radius: 0;
|
|
25069
|
+
transition: all 0.1;
|
|
25070
25070
|
cursor: pointer;
|
|
25071
25071
|
}
|
|
25072
25072
|
.shy-basic-form-toggle-icon.expend {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import BasicTable from './src/BasicTable.vue';
|
|
2
2
|
export { default as TableAction } from './src/components/TableAction.vue';
|
|
3
3
|
export { default as EditTableHeaderIcon } from './src/components/EditTableHeaderIcon.vue';
|
|
4
4
|
export { default as TableImg } from './src/components/TableImg.vue';
|
|
@@ -9,3 +9,4 @@ export * from './src/types/tableAction';
|
|
|
9
9
|
export { useTable } from './src/hooks/useTable';
|
|
10
10
|
export type { FormSchema, FormProps } from '../form';
|
|
11
11
|
export type { EditRecordRow } from './src/components/editable';
|
|
12
|
+
export { BasicTable };
|
|
@@ -17,6 +17,7 @@ export declare const DEFAULT_SORT_FN: (sortInfo: SorterResult) => {
|
|
|
17
17
|
order?: undefined;
|
|
18
18
|
};
|
|
19
19
|
export declare const DEFAULT_FILTER_FN: (data: Partial<Recordable<string[]>>) => Partial<Recordable<string[]>>;
|
|
20
|
-
export declare
|
|
20
|
+
export declare let DEFAULT_ALIGN: string;
|
|
21
21
|
export declare const INDEX_COLUMN_FLAG = "INDEX";
|
|
22
22
|
export declare const ACTION_COLUMN_FLAG = "ACTION";
|
|
23
|
+
export declare const setConstConfig: (config: any) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
1
|
import type { PaginationProps } from './types/pagination';
|
|
3
2
|
import type { BasicColumn, FetchSetting, TableSetting, SorterResult, TableCustomRecord, TableRowSelection, SizeType } from './types/table';
|
|
4
3
|
import type { FormProps } from '../../Form';
|
|
@@ -8,10 +7,140 @@ export declare const basicProps: {
|
|
|
8
7
|
default: boolean;
|
|
9
8
|
};
|
|
10
9
|
isTreeTable: BooleanConstructor;
|
|
11
|
-
tableSetting:
|
|
10
|
+
tableSetting: {
|
|
11
|
+
readonly loose: {
|
|
12
|
+
readonly loose: any;
|
|
13
|
+
readonly _vueTypes_isLoose: true;
|
|
14
|
+
_vueTypes_name: string;
|
|
15
|
+
type?: import("vue-types/dist/types").Prop<TableSetting> | import("vue-types/dist/types").Prop<TableSetting>[];
|
|
16
|
+
readonly def: (def?: import("vue-types/dist/types").DefaultFactory<Partial<TableSetting & {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>>) => import("vue-types").VueTypeLooseShape<TableSetting> & {
|
|
19
|
+
default: () => Partial<TableSetting> & {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
readonly isRequired: {
|
|
24
|
+
readonly loose: any;
|
|
25
|
+
readonly _vueTypes_isLoose: true;
|
|
26
|
+
_vueTypes_name: string;
|
|
27
|
+
type?: import("vue-types/dist/types").Prop<TableSetting> | import("vue-types/dist/types").Prop<TableSetting>[];
|
|
28
|
+
readonly def: (def?: import("vue-types/dist/types").DefaultFactory<Partial<TableSetting & {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>>) => import("vue-types").VueTypeLooseShape<TableSetting> & {
|
|
31
|
+
required: true;
|
|
32
|
+
} & {
|
|
33
|
+
default: () => Partial<TableSetting> & {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly isRequired: any;
|
|
38
|
+
required: true;
|
|
39
|
+
default?: object | (() => TableSetting) | ((props: Record<string, unknown>) => TableSetting) | {
|
|
40
|
+
redo?: boolean;
|
|
41
|
+
size?: boolean;
|
|
42
|
+
setting?: boolean;
|
|
43
|
+
fullScreen?: boolean;
|
|
44
|
+
};
|
|
45
|
+
validator?: (value: TableSetting) => boolean;
|
|
46
|
+
};
|
|
47
|
+
required?: boolean;
|
|
48
|
+
default?: object | (() => TableSetting) | ((props: Record<string, unknown>) => TableSetting) | {
|
|
49
|
+
redo?: boolean;
|
|
50
|
+
size?: boolean;
|
|
51
|
+
setting?: boolean;
|
|
52
|
+
fullScreen?: boolean;
|
|
53
|
+
};
|
|
54
|
+
validator?: (value: TableSetting) => boolean;
|
|
55
|
+
};
|
|
56
|
+
_vueTypes_name: string;
|
|
57
|
+
type?: import("vue-types/dist/types").Prop<TableSetting> | import("vue-types/dist/types").Prop<TableSetting>[];
|
|
58
|
+
readonly def: (def?: import("vue-types/dist/types").DefaultFactory<Partial<TableSetting>>) => import("vue-types").VueTypeShape<TableSetting> & {
|
|
59
|
+
default: () => Partial<TableSetting>;
|
|
60
|
+
};
|
|
61
|
+
readonly isRequired: {
|
|
62
|
+
readonly loose: {
|
|
63
|
+
readonly loose: any;
|
|
64
|
+
readonly _vueTypes_isLoose: true;
|
|
65
|
+
_vueTypes_name: string;
|
|
66
|
+
type?: import("vue-types/dist/types").Prop<TableSetting> | import("vue-types/dist/types").Prop<TableSetting>[];
|
|
67
|
+
readonly def: (def?: import("vue-types/dist/types").DefaultFactory<Partial<TableSetting & {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>>) => import("vue-types").VueTypeLooseShape<TableSetting> & {
|
|
70
|
+
default: () => Partial<TableSetting> & {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly isRequired: {
|
|
75
|
+
readonly loose: any;
|
|
76
|
+
readonly _vueTypes_isLoose: true;
|
|
77
|
+
_vueTypes_name: string;
|
|
78
|
+
type?: import("vue-types/dist/types").Prop<TableSetting> | import("vue-types/dist/types").Prop<TableSetting>[];
|
|
79
|
+
readonly def: (def?: import("vue-types/dist/types").DefaultFactory<Partial<TableSetting & {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}>>) => import("vue-types").VueTypeLooseShape<TableSetting> & {
|
|
82
|
+
required: true;
|
|
83
|
+
} & {
|
|
84
|
+
default: () => Partial<TableSetting> & {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly isRequired: any;
|
|
89
|
+
required: true;
|
|
90
|
+
default?: object | (() => TableSetting) | ((props: Record<string, unknown>) => TableSetting) | {
|
|
91
|
+
redo?: boolean;
|
|
92
|
+
size?: boolean;
|
|
93
|
+
setting?: boolean;
|
|
94
|
+
fullScreen?: boolean;
|
|
95
|
+
};
|
|
96
|
+
validator?: (value: TableSetting) => boolean;
|
|
97
|
+
};
|
|
98
|
+
required?: boolean;
|
|
99
|
+
default?: object | (() => TableSetting) | ((props: Record<string, unknown>) => TableSetting) | {
|
|
100
|
+
redo?: boolean;
|
|
101
|
+
size?: boolean;
|
|
102
|
+
setting?: boolean;
|
|
103
|
+
fullScreen?: boolean;
|
|
104
|
+
};
|
|
105
|
+
validator?: (value: TableSetting) => boolean;
|
|
106
|
+
};
|
|
107
|
+
_vueTypes_name: string;
|
|
108
|
+
type?: import("vue-types/dist/types").Prop<TableSetting> | import("vue-types/dist/types").Prop<TableSetting>[];
|
|
109
|
+
readonly def: (def?: import("vue-types/dist/types").DefaultFactory<Partial<TableSetting>>) => import("vue-types").VueTypeShape<TableSetting> & {
|
|
110
|
+
required: true;
|
|
111
|
+
} & {
|
|
112
|
+
default: () => Partial<TableSetting>;
|
|
113
|
+
};
|
|
114
|
+
readonly isRequired: any;
|
|
115
|
+
required: true;
|
|
116
|
+
default?: object | (() => TableSetting) | ((props: Record<string, unknown>) => TableSetting) | {
|
|
117
|
+
redo?: boolean;
|
|
118
|
+
size?: boolean;
|
|
119
|
+
setting?: boolean;
|
|
120
|
+
fullScreen?: boolean;
|
|
121
|
+
};
|
|
122
|
+
validator?: (value: TableSetting) => boolean;
|
|
123
|
+
};
|
|
124
|
+
required?: boolean;
|
|
125
|
+
default?: object | (() => TableSetting) | ((props: Record<string, unknown>) => TableSetting) | {
|
|
126
|
+
redo?: boolean;
|
|
127
|
+
size?: boolean;
|
|
128
|
+
setting?: boolean;
|
|
129
|
+
fullScreen?: boolean;
|
|
130
|
+
};
|
|
131
|
+
validator?: (value: TableSetting) => boolean;
|
|
132
|
+
};
|
|
12
133
|
inset: BooleanConstructor;
|
|
13
134
|
sortFn: {
|
|
14
|
-
type:
|
|
135
|
+
type: ((new (...args: any[]) => (sortInfo: SorterResult) => any) | (() => (sortInfo: SorterResult) => any) | {
|
|
136
|
+
(): (sortInfo: SorterResult) => any;
|
|
137
|
+
new (): any;
|
|
138
|
+
readonly prototype: any;
|
|
139
|
+
}) | ((new (...args: any[]) => (sortInfo: SorterResult) => any) | (() => (sortInfo: SorterResult) => any) | {
|
|
140
|
+
(): (sortInfo: SorterResult) => any;
|
|
141
|
+
new (): any;
|
|
142
|
+
readonly prototype: any;
|
|
143
|
+
})[];
|
|
15
144
|
default: (sortInfo: SorterResult) => {
|
|
16
145
|
field: string;
|
|
17
146
|
order: import("./types/table").SortOrder;
|
|
@@ -21,7 +150,15 @@ export declare const basicProps: {
|
|
|
21
150
|
};
|
|
22
151
|
};
|
|
23
152
|
filterFn: {
|
|
24
|
-
type:
|
|
153
|
+
type: ((new (...args: any[]) => (data: Partial<Recordable<string[]>>) => any) | (() => (data: Partial<Recordable<string[]>>) => any) | {
|
|
154
|
+
(): (data: Partial<Recordable<string[]>>) => any;
|
|
155
|
+
new (): any;
|
|
156
|
+
readonly prototype: any;
|
|
157
|
+
}) | ((new (...args: any[]) => (data: Partial<Recordable<string[]>>) => any) | (() => (data: Partial<Recordable<string[]>>) => any) | {
|
|
158
|
+
(): (data: Partial<Recordable<string[]>>) => any;
|
|
159
|
+
new (): any;
|
|
160
|
+
readonly prototype: any;
|
|
161
|
+
})[];
|
|
25
162
|
default: (data: Partial<Recordable<string[]>>) => Partial<Recordable<string[]>>;
|
|
26
163
|
};
|
|
27
164
|
showTableSetting: {
|
|
@@ -38,40 +175,118 @@ export declare const basicProps: {
|
|
|
38
175
|
};
|
|
39
176
|
showSummary: BooleanConstructor;
|
|
40
177
|
summaryFunc: {
|
|
41
|
-
type:
|
|
178
|
+
type: ((new (...args: any[]) => (...arg: any[]) => any[]) | (() => (...arg: any[]) => any[]) | {
|
|
179
|
+
(): (...arg: any[]) => any[];
|
|
180
|
+
new (): any;
|
|
181
|
+
readonly prototype: any;
|
|
182
|
+
}) | ((new (...args: any[]) => (...arg: any[]) => any[]) | (() => (...arg: any[]) => any[]) | {
|
|
183
|
+
(): (...arg: any[]) => any[];
|
|
184
|
+
new (): any;
|
|
185
|
+
readonly prototype: any;
|
|
186
|
+
})[];
|
|
42
187
|
default: any;
|
|
43
188
|
};
|
|
44
189
|
summaryData: {
|
|
45
|
-
type:
|
|
190
|
+
type: ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[])) | ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[]))[];
|
|
46
191
|
default: any;
|
|
47
192
|
};
|
|
48
|
-
indentSize:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
193
|
+
indentSize: {
|
|
194
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<number> & {
|
|
195
|
+
default: number;
|
|
196
|
+
} & {
|
|
197
|
+
default: number;
|
|
198
|
+
} & {
|
|
199
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
200
|
+
};
|
|
201
|
+
_vueTypes_name: string;
|
|
202
|
+
type?: import("vue-types/dist/types").Prop<number> | import("vue-types/dist/types").Prop<number>[];
|
|
203
|
+
readonly def: (def?: number) => import("vue-types").VueTypeValidableDef<number> & {
|
|
204
|
+
default: number;
|
|
205
|
+
} & {
|
|
206
|
+
default: number;
|
|
207
|
+
};
|
|
208
|
+
readonly isRequired: {
|
|
209
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<number> & {
|
|
210
|
+
default: number;
|
|
211
|
+
} & {
|
|
212
|
+
default: number;
|
|
213
|
+
} & {
|
|
214
|
+
required: true;
|
|
215
|
+
} & {
|
|
216
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
217
|
+
};
|
|
218
|
+
_vueTypes_name: string;
|
|
219
|
+
type?: import("vue-types/dist/types").Prop<number> | import("vue-types/dist/types").Prop<number>[];
|
|
220
|
+
readonly def: (def?: number) => import("vue-types").VueTypeValidableDef<number> & {
|
|
221
|
+
default: number;
|
|
222
|
+
} & {
|
|
223
|
+
default: number;
|
|
224
|
+
} & {
|
|
225
|
+
required: true;
|
|
226
|
+
};
|
|
227
|
+
readonly isRequired: any;
|
|
228
|
+
required: true;
|
|
229
|
+
default: number | ((() => number) & number) | (((props: Record<string, unknown>) => number) & number);
|
|
230
|
+
validator?: (value: number) => boolean;
|
|
231
|
+
};
|
|
232
|
+
required?: boolean;
|
|
233
|
+
default: number | ((() => number) & number) | (((props: Record<string, unknown>) => number) & number);
|
|
234
|
+
validator?: (value: number) => boolean;
|
|
52
235
|
};
|
|
53
236
|
canColDrag: {
|
|
54
237
|
type: BooleanConstructor;
|
|
55
238
|
default: boolean;
|
|
56
239
|
};
|
|
57
240
|
api: {
|
|
58
|
-
type:
|
|
241
|
+
type: ((new (...args: any[]) => (...arg: any[]) => Promise<any>) | (() => (...arg: any[]) => Promise<any>) | {
|
|
242
|
+
(): (...arg: any[]) => Promise<any>;
|
|
243
|
+
new (): any;
|
|
244
|
+
readonly prototype: any;
|
|
245
|
+
}) | ((new (...args: any[]) => (...arg: any[]) => Promise<any>) | (() => (...arg: any[]) => Promise<any>) | {
|
|
246
|
+
(): (...arg: any[]) => Promise<any>;
|
|
247
|
+
new (): any;
|
|
248
|
+
readonly prototype: any;
|
|
249
|
+
})[];
|
|
59
250
|
default: any;
|
|
60
251
|
};
|
|
61
252
|
beforeFetch: {
|
|
62
|
-
type:
|
|
253
|
+
type: ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
254
|
+
(): Fn<any, any>;
|
|
255
|
+
new (): any;
|
|
256
|
+
readonly prototype: any;
|
|
257
|
+
}) | ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
258
|
+
(): Fn<any, any>;
|
|
259
|
+
new (): any;
|
|
260
|
+
readonly prototype: any;
|
|
261
|
+
})[];
|
|
63
262
|
default: any;
|
|
64
263
|
};
|
|
65
264
|
afterFetch: {
|
|
66
|
-
type:
|
|
265
|
+
type: ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
266
|
+
(): Fn<any, any>;
|
|
267
|
+
new (): any;
|
|
268
|
+
readonly prototype: any;
|
|
269
|
+
}) | ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
270
|
+
(): Fn<any, any>;
|
|
271
|
+
new (): any;
|
|
272
|
+
readonly prototype: any;
|
|
273
|
+
})[];
|
|
67
274
|
default: any;
|
|
68
275
|
};
|
|
69
276
|
handleSearchInfoFn: {
|
|
70
|
-
type:
|
|
277
|
+
type: ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
278
|
+
(): Fn<any, any>;
|
|
279
|
+
new (): any;
|
|
280
|
+
readonly prototype: any;
|
|
281
|
+
}) | ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
|
|
282
|
+
(): Fn<any, any>;
|
|
283
|
+
new (): any;
|
|
284
|
+
readonly prototype: any;
|
|
285
|
+
})[];
|
|
71
286
|
default: any;
|
|
72
287
|
};
|
|
73
288
|
fetchSetting: {
|
|
74
|
-
type:
|
|
289
|
+
type: ((new (...args: any[]) => FetchSetting) | (() => FetchSetting)) | ((new (...args: any[]) => FetchSetting) | (() => FetchSetting))[];
|
|
75
290
|
default: () => {
|
|
76
291
|
pageField: string;
|
|
77
292
|
sizeField: string;
|
|
@@ -88,20 +303,50 @@ export declare const basicProps: {
|
|
|
88
303
|
default: boolean;
|
|
89
304
|
};
|
|
90
305
|
searchInfo: {
|
|
91
|
-
type:
|
|
306
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
92
307
|
default: any;
|
|
93
308
|
};
|
|
94
309
|
defSort: {
|
|
95
|
-
type:
|
|
310
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
96
311
|
default: any;
|
|
97
312
|
};
|
|
98
|
-
useSearchForm:
|
|
313
|
+
useSearchForm: {
|
|
314
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
315
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
316
|
+
};
|
|
317
|
+
_vueTypes_name: string;
|
|
318
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
319
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
320
|
+
default: boolean;
|
|
321
|
+
};
|
|
322
|
+
readonly isRequired: {
|
|
323
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
324
|
+
required: true;
|
|
325
|
+
} & {
|
|
326
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
327
|
+
};
|
|
328
|
+
_vueTypes_name: string;
|
|
329
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
330
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
331
|
+
required: true;
|
|
332
|
+
} & {
|
|
333
|
+
default: boolean;
|
|
334
|
+
};
|
|
335
|
+
readonly isRequired: any;
|
|
336
|
+
required: true;
|
|
337
|
+
default?: boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean);
|
|
338
|
+
validator?: (value: boolean) => boolean;
|
|
339
|
+
};
|
|
340
|
+
required?: boolean;
|
|
341
|
+
default?: boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean);
|
|
342
|
+
validator?: (value: boolean) => boolean;
|
|
343
|
+
};
|
|
99
344
|
formConfig: {
|
|
100
|
-
type:
|
|
345
|
+
type: ((new (...args: any[]) => Partial<FormProps>) | (() => Partial<FormProps>)) | ((new (...args: any[]) => Partial<FormProps>) | (() => Partial<FormProps>))[];
|
|
101
346
|
default: any;
|
|
102
347
|
};
|
|
103
348
|
columns: {
|
|
104
|
-
type:
|
|
349
|
+
type: ((new (...args: any[]) => BasicColumn[]) | (() => BasicColumn[])) | ((new (...args: any[]) => BasicColumn[]) | (() => BasicColumn[]))[];
|
|
105
350
|
default: () => any[];
|
|
106
351
|
};
|
|
107
352
|
showIndexColumn: {
|
|
@@ -109,11 +354,11 @@ export declare const basicProps: {
|
|
|
109
354
|
default: boolean;
|
|
110
355
|
};
|
|
111
356
|
indexColumnProps: {
|
|
112
|
-
type:
|
|
357
|
+
type: ((new (...args: any[]) => BasicColumn) | (() => BasicColumn)) | ((new (...args: any[]) => BasicColumn) | (() => BasicColumn))[];
|
|
113
358
|
default: any;
|
|
114
359
|
};
|
|
115
360
|
actionColumn: {
|
|
116
|
-
type:
|
|
361
|
+
type: ((new (...args: any[]) => BasicColumn) | (() => BasicColumn)) | ((new (...args: any[]) => BasicColumn) | (() => BasicColumn))[];
|
|
117
362
|
default: any;
|
|
118
363
|
};
|
|
119
364
|
ellipsis: {
|
|
@@ -128,62 +373,279 @@ export declare const basicProps: {
|
|
|
128
373
|
type: BooleanConstructor;
|
|
129
374
|
default: boolean;
|
|
130
375
|
};
|
|
131
|
-
clearSelectOnPageChange:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
376
|
+
clearSelectOnPageChange: {
|
|
377
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
378
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
379
|
+
};
|
|
380
|
+
_vueTypes_name: string;
|
|
381
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
382
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
383
|
+
default: boolean;
|
|
384
|
+
};
|
|
385
|
+
readonly isRequired: {
|
|
386
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
387
|
+
required: true;
|
|
388
|
+
} & {
|
|
389
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
390
|
+
};
|
|
391
|
+
_vueTypes_name: string;
|
|
392
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
393
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
394
|
+
required: true;
|
|
395
|
+
} & {
|
|
396
|
+
default: boolean;
|
|
397
|
+
};
|
|
398
|
+
readonly isRequired: any;
|
|
399
|
+
required: true;
|
|
400
|
+
default?: boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean);
|
|
401
|
+
validator?: (value: boolean) => boolean;
|
|
402
|
+
};
|
|
403
|
+
required?: boolean;
|
|
404
|
+
default?: boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean);
|
|
405
|
+
validator?: (value: boolean) => boolean;
|
|
406
|
+
};
|
|
407
|
+
resizeHeightOffset: {
|
|
408
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<number> & {
|
|
409
|
+
default: number;
|
|
410
|
+
} & {
|
|
411
|
+
default: number;
|
|
412
|
+
} & {
|
|
413
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
414
|
+
};
|
|
415
|
+
_vueTypes_name: string;
|
|
416
|
+
type?: import("vue-types/dist/types").Prop<number> | import("vue-types/dist/types").Prop<number>[];
|
|
417
|
+
readonly def: (def?: number) => import("vue-types").VueTypeValidableDef<number> & {
|
|
418
|
+
default: number;
|
|
419
|
+
} & {
|
|
420
|
+
default: number;
|
|
421
|
+
};
|
|
422
|
+
readonly isRequired: {
|
|
423
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<number> & {
|
|
424
|
+
default: number;
|
|
425
|
+
} & {
|
|
426
|
+
default: number;
|
|
427
|
+
} & {
|
|
428
|
+
required: true;
|
|
429
|
+
} & {
|
|
430
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
431
|
+
};
|
|
432
|
+
_vueTypes_name: string;
|
|
433
|
+
type?: import("vue-types/dist/types").Prop<number> | import("vue-types/dist/types").Prop<number>[];
|
|
434
|
+
readonly def: (def?: number) => import("vue-types").VueTypeValidableDef<number> & {
|
|
435
|
+
default: number;
|
|
436
|
+
} & {
|
|
437
|
+
default: number;
|
|
438
|
+
} & {
|
|
439
|
+
required: true;
|
|
440
|
+
};
|
|
441
|
+
readonly isRequired: any;
|
|
442
|
+
required: true;
|
|
443
|
+
default: number | ((() => number) & number) | (((props: Record<string, unknown>) => number) & number);
|
|
444
|
+
validator?: (value: number) => boolean;
|
|
445
|
+
};
|
|
446
|
+
required?: boolean;
|
|
447
|
+
default: number | ((() => number) & number) | (((props: Record<string, unknown>) => number) & number);
|
|
448
|
+
validator?: (value: number) => boolean;
|
|
136
449
|
};
|
|
137
450
|
rowSelection: {
|
|
138
|
-
type:
|
|
451
|
+
type: ((new (...args: any[]) => TableRowSelection<any>) | (() => TableRowSelection<any>)) | ((new (...args: any[]) => TableRowSelection<any>) | (() => TableRowSelection<any>))[];
|
|
139
452
|
default: any;
|
|
140
453
|
};
|
|
141
454
|
title: {
|
|
142
|
-
type:
|
|
455
|
+
type: ((new (...args: any[]) => string | ((data: Recordable) => string)) | (() => string | ((data: Recordable) => string))) | ((new (...args: any[]) => string | ((data: Recordable) => string)) | (() => string | ((data: Recordable) => string)))[];
|
|
143
456
|
default: any;
|
|
144
457
|
};
|
|
145
458
|
titleHelpMessage: {
|
|
146
|
-
type:
|
|
459
|
+
type: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
|
|
147
460
|
};
|
|
148
|
-
maxHeight:
|
|
149
|
-
|
|
461
|
+
maxHeight: {
|
|
462
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<number> & {
|
|
463
|
+
default: number;
|
|
464
|
+
} & {
|
|
465
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
466
|
+
};
|
|
467
|
+
_vueTypes_name: string;
|
|
468
|
+
type?: import("vue-types/dist/types").Prop<number> | import("vue-types/dist/types").Prop<number>[];
|
|
469
|
+
readonly def: (def?: number) => import("vue-types").VueTypeValidableDef<number> & {
|
|
470
|
+
default: number;
|
|
471
|
+
} & {
|
|
472
|
+
default: number;
|
|
473
|
+
};
|
|
474
|
+
readonly isRequired: {
|
|
475
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<number> & {
|
|
476
|
+
default: number;
|
|
477
|
+
} & {
|
|
478
|
+
required: true;
|
|
479
|
+
} & {
|
|
480
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
481
|
+
};
|
|
482
|
+
_vueTypes_name: string;
|
|
483
|
+
type?: import("vue-types/dist/types").Prop<number> | import("vue-types/dist/types").Prop<number>[];
|
|
484
|
+
readonly def: (def?: number) => import("vue-types").VueTypeValidableDef<number> & {
|
|
485
|
+
default: number;
|
|
486
|
+
} & {
|
|
487
|
+
required: true;
|
|
488
|
+
} & {
|
|
489
|
+
default: number;
|
|
490
|
+
};
|
|
491
|
+
readonly isRequired: any;
|
|
492
|
+
required: true;
|
|
493
|
+
default: number | ((() => number) & number) | (((props: Record<string, unknown>) => number) & number);
|
|
494
|
+
validator?: (value: number) => boolean;
|
|
495
|
+
};
|
|
496
|
+
required?: boolean;
|
|
497
|
+
default: number | ((() => number) & number) | (((props: Record<string, unknown>) => number) & number);
|
|
498
|
+
validator?: (value: number) => boolean;
|
|
150
499
|
};
|
|
151
500
|
dataSource: {
|
|
152
|
-
type:
|
|
501
|
+
type: ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[])) | ((new (...args: any[]) => Recordable<any>[]) | (() => Recordable<any>[]))[];
|
|
153
502
|
default: any;
|
|
154
503
|
};
|
|
155
504
|
rowKey: {
|
|
156
|
-
type:
|
|
505
|
+
type: ((new (...args: any[]) => string | ((record: Recordable) => string)) | (() => string | ((record: Recordable) => string))) | ((new (...args: any[]) => string | ((record: Recordable) => string)) | (() => string | ((record: Recordable) => string)))[];
|
|
157
506
|
default: string;
|
|
158
507
|
};
|
|
159
|
-
bordered:
|
|
160
|
-
|
|
508
|
+
bordered: {
|
|
509
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
510
|
+
default: boolean;
|
|
511
|
+
} & {
|
|
512
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
513
|
+
};
|
|
514
|
+
_vueTypes_name: string;
|
|
515
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
516
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
517
|
+
default: boolean;
|
|
518
|
+
};
|
|
519
|
+
readonly isRequired: {
|
|
520
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
521
|
+
default: boolean;
|
|
522
|
+
} & {
|
|
523
|
+
required: true;
|
|
524
|
+
} & {
|
|
525
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
526
|
+
};
|
|
527
|
+
_vueTypes_name: string;
|
|
528
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
529
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
530
|
+
default: boolean;
|
|
531
|
+
} & {
|
|
532
|
+
required: true;
|
|
533
|
+
};
|
|
534
|
+
readonly isRequired: any;
|
|
535
|
+
required: true;
|
|
536
|
+
default: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
|
537
|
+
validator?: (value: boolean) => boolean;
|
|
538
|
+
};
|
|
539
|
+
required?: boolean;
|
|
540
|
+
default: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
|
|
541
|
+
validator?: (value: boolean) => boolean;
|
|
161
542
|
};
|
|
162
543
|
pagination: {
|
|
163
|
-
type:
|
|
544
|
+
type: ((new (...args: any[]) => boolean | PaginationProps) | (() => boolean | PaginationProps)) | ((new (...args: any[]) => boolean | PaginationProps) | (() => boolean | PaginationProps))[];
|
|
164
545
|
default: any;
|
|
165
546
|
};
|
|
166
|
-
loading:
|
|
547
|
+
loading: {
|
|
548
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
549
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
550
|
+
};
|
|
551
|
+
_vueTypes_name: string;
|
|
552
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
553
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
554
|
+
default: boolean;
|
|
555
|
+
};
|
|
556
|
+
readonly isRequired: {
|
|
557
|
+
readonly validate: (fn: import("vue-types/dist/types").ValidatorFunction<unknown>) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
558
|
+
required: true;
|
|
559
|
+
} & {
|
|
560
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
|
561
|
+
};
|
|
562
|
+
_vueTypes_name: string;
|
|
563
|
+
type?: import("vue-types/dist/types").Prop<boolean> | import("vue-types/dist/types").Prop<boolean>[];
|
|
564
|
+
readonly def: (def?: boolean) => import("vue-types").VueTypeValidableDef<boolean> & {
|
|
565
|
+
required: true;
|
|
566
|
+
} & {
|
|
567
|
+
default: boolean;
|
|
568
|
+
};
|
|
569
|
+
readonly isRequired: any;
|
|
570
|
+
required: true;
|
|
571
|
+
default?: boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean);
|
|
572
|
+
validator?: (value: boolean) => boolean;
|
|
573
|
+
};
|
|
574
|
+
required?: boolean;
|
|
575
|
+
default?: boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean);
|
|
576
|
+
validator?: (value: boolean) => boolean;
|
|
577
|
+
};
|
|
167
578
|
rowClassName: {
|
|
168
|
-
type:
|
|
579
|
+
type: ((new (...args: any[]) => (record: TableCustomRecord<any>, index: number) => string) | (() => (record: TableCustomRecord<any>, index: number) => string) | {
|
|
580
|
+
(): (record: TableCustomRecord<any>, index: number) => string;
|
|
581
|
+
new (): any;
|
|
582
|
+
readonly prototype: any;
|
|
583
|
+
}) | ((new (...args: any[]) => (record: TableCustomRecord<any>, index: number) => string) | (() => (record: TableCustomRecord<any>, index: number) => string) | {
|
|
584
|
+
(): (record: TableCustomRecord<any>, index: number) => string;
|
|
585
|
+
new (): any;
|
|
586
|
+
readonly prototype: any;
|
|
587
|
+
})[];
|
|
169
588
|
};
|
|
170
589
|
scroll: {
|
|
171
|
-
type:
|
|
590
|
+
type: ((new (...args: any[]) => {
|
|
591
|
+
x: number | true;
|
|
592
|
+
y: number;
|
|
593
|
+
}) | (() => {
|
|
594
|
+
x: number | true;
|
|
595
|
+
y: number;
|
|
596
|
+
})) | ((new (...args: any[]) => {
|
|
172
597
|
x: number | true;
|
|
173
598
|
y: number;
|
|
174
|
-
}
|
|
599
|
+
}) | (() => {
|
|
600
|
+
x: number | true;
|
|
601
|
+
y: number;
|
|
602
|
+
}))[];
|
|
175
603
|
default: any;
|
|
176
604
|
};
|
|
177
605
|
beforeEditSubmit: {
|
|
178
|
-
type:
|
|
606
|
+
type: ((new (...args: any[]) => (data: {
|
|
607
|
+
record: Recordable;
|
|
608
|
+
index: number;
|
|
609
|
+
key: string | number;
|
|
610
|
+
value: any;
|
|
611
|
+
}) => Promise<any>) | (() => (data: {
|
|
612
|
+
record: Recordable;
|
|
613
|
+
index: number;
|
|
614
|
+
key: string | number;
|
|
615
|
+
value: any;
|
|
616
|
+
}) => Promise<any>) | {
|
|
617
|
+
(): (data: {
|
|
618
|
+
record: Recordable;
|
|
619
|
+
index: number;
|
|
620
|
+
key: string | number;
|
|
621
|
+
value: any;
|
|
622
|
+
}) => Promise<any>;
|
|
623
|
+
new (): any;
|
|
624
|
+
readonly prototype: any;
|
|
625
|
+
}) | ((new (...args: any[]) => (data: {
|
|
626
|
+
record: Recordable;
|
|
627
|
+
index: number;
|
|
628
|
+
key: string | number;
|
|
629
|
+
value: any;
|
|
630
|
+
}) => Promise<any>) | (() => (data: {
|
|
179
631
|
record: Recordable;
|
|
180
632
|
index: number;
|
|
181
633
|
key: string | number;
|
|
182
634
|
value: any;
|
|
183
|
-
}) => Promise<any
|
|
635
|
+
}) => Promise<any>) | {
|
|
636
|
+
(): (data: {
|
|
637
|
+
record: Recordable;
|
|
638
|
+
index: number;
|
|
639
|
+
key: string | number;
|
|
640
|
+
value: any;
|
|
641
|
+
}) => Promise<any>;
|
|
642
|
+
new (): any;
|
|
643
|
+
readonly prototype: any;
|
|
644
|
+
})[];
|
|
184
645
|
};
|
|
185
646
|
size: {
|
|
186
|
-
type:
|
|
647
|
+
type: ((new (...args: any[]) => "small" | "default" | "middle" | "large") | (() => SizeType)) | ((new (...args: any[]) => "small" | "default" | "middle" | "large") | (() => SizeType))[];
|
|
187
648
|
default: string;
|
|
188
649
|
};
|
|
189
650
|
};
|
|
651
|
+
export declare const basicPropChange: (options: any) => void;
|
|
@@ -468,7 +468,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
468
468
|
default: any;
|
|
469
469
|
};
|
|
470
470
|
}, {
|
|
471
|
-
emit: (event: "
|
|
471
|
+
emit: (event: "edit-cancel" | "updateStatusEdit" | "edit-ensure", ...args: any[]) => void;
|
|
472
472
|
props: any;
|
|
473
473
|
getActions: import("vue").ComputedRef<{
|
|
474
474
|
label: string;
|
|
@@ -476,14 +476,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
476
476
|
ifShow: boolean;
|
|
477
477
|
}[]>;
|
|
478
478
|
TableAction: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
479
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
479
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("edit-cancel" | "updateStatusEdit" | "edit-ensure")[], "edit-cancel" | "updateStatusEdit" | "edit-ensure", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
480
480
|
row: {
|
|
481
481
|
default: any;
|
|
482
482
|
};
|
|
483
483
|
}>> & {
|
|
484
|
+
"onEdit-cancel"?: (...args: any[]) => any;
|
|
484
485
|
onUpdateStatusEdit?: (...args: any[]) => any;
|
|
485
486
|
"onEdit-ensure"?: (...args: any[]) => any;
|
|
486
|
-
"onEdit-cancel"?: (...args: any[]) => any;
|
|
487
487
|
}, {
|
|
488
488
|
row: any;
|
|
489
489
|
}>;
|
|
@@ -595,9 +595,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
595
595
|
}, {
|
|
596
596
|
columns: unknown[];
|
|
597
597
|
api: any;
|
|
598
|
+
searchInfo: any;
|
|
599
|
+
formConfig: any;
|
|
600
|
+
actionColumn: any;
|
|
598
601
|
isShowSeq: boolean;
|
|
599
602
|
isCompatible: boolean;
|
|
600
|
-
actionColumn: any;
|
|
601
603
|
isShowSearch: boolean;
|
|
602
604
|
isShowRowSelection: boolean;
|
|
603
605
|
isShowAction: boolean;
|
|
@@ -606,8 +608,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
606
608
|
isShowToolbar: boolean;
|
|
607
609
|
isImmediate: boolean;
|
|
608
610
|
configRowSelection: any;
|
|
609
|
-
formConfig: any;
|
|
610
|
-
searchInfo: any;
|
|
611
611
|
transSearchInfoBeforeReload: any;
|
|
612
612
|
isUseEdit: boolean;
|
|
613
613
|
transDataAfterReload: any;
|
|
@@ -3,7 +3,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3
3
|
default: any;
|
|
4
4
|
};
|
|
5
5
|
}, {
|
|
6
|
-
emit: (event: "
|
|
6
|
+
emit: (event: "edit-cancel" | "updateStatusEdit" | "edit-ensure", ...args: any[]) => void;
|
|
7
7
|
props: any;
|
|
8
8
|
getActions: import("vue").ComputedRef<{
|
|
9
9
|
label: string;
|
|
@@ -11,14 +11,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
11
11
|
ifShow: boolean;
|
|
12
12
|
}[]>;
|
|
13
13
|
TableAction: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
14
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("edit-cancel" | "updateStatusEdit" | "edit-ensure")[], "edit-cancel" | "updateStatusEdit" | "edit-ensure", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
row: {
|
|
16
16
|
default: any;
|
|
17
17
|
};
|
|
18
18
|
}>> & {
|
|
19
|
+
"onEdit-cancel"?: (...args: any[]) => any;
|
|
19
20
|
onUpdateStatusEdit?: (...args: any[]) => any;
|
|
20
21
|
"onEdit-ensure"?: (...args: any[]) => any;
|
|
21
|
-
"onEdit-cancel"?: (...args: any[]) => any;
|
|
22
22
|
}, {
|
|
23
23
|
row: any;
|
|
24
24
|
}>;
|
|
@@ -71,6 +71,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
71
71
|
loading: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
72
72
|
helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
|
|
73
73
|
selectedKeys: KeyType[];
|
|
74
|
+
filterFn: (searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean;
|
|
74
75
|
fieldNames: undefined;
|
|
75
76
|
searchValue: string;
|
|
76
77
|
treeData: import("ant-design-vue/es/tree").DataNode[];
|
|
@@ -85,7 +86,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
85
86
|
checkedKeys: CheckKeys;
|
|
86
87
|
beforeRightClick: (...arg: any) => import("./types/tree").ContextMenuOptions | import("./types/tree").ContextMenuItem[];
|
|
87
88
|
rightMenuList: import("./types/tree").ContextMenuItem[];
|
|
88
|
-
filterFn: (searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean;
|
|
89
89
|
highlight: import("@shy-plugins/utils").BuildPropType<PropType<String | Boolean>, unknown, unknown>;
|
|
90
90
|
expandOnSearch: boolean;
|
|
91
91
|
checkOnSearch: boolean;
|
package/lib/index.js
CHANGED
|
@@ -7969,7 +7969,10 @@ const _sfc_main$I = vue.defineComponent({
|
|
|
7969
7969
|
{
|
|
7970
7970
|
text: "查询"
|
|
7971
7971
|
},
|
|
7972
|
-
|
|
7972
|
+
{
|
|
7973
|
+
...props2.submitButtonOptions,
|
|
7974
|
+
loading: false
|
|
7975
|
+
}
|
|
7973
7976
|
);
|
|
7974
7977
|
});
|
|
7975
7978
|
const getPreIcon = vue.computed(() => {
|
|
@@ -7994,7 +7997,6 @@ const _sfc_main$I = vue.defineComponent({
|
|
|
7994
7997
|
});
|
|
7995
7998
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7996
7999
|
const _component_BasicButton = vue.resolveComponent("BasicButton");
|
|
7997
|
-
const _component_SearchOutlined = vue.resolveComponent("SearchOutlined");
|
|
7998
8000
|
const _component_Button = vue.resolveComponent("Button");
|
|
7999
8001
|
const _component_FormItem = vue.resolveComponent("FormItem");
|
|
8000
8002
|
return _ctx.showActionButtonGroup ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -8008,10 +8010,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8008
8010
|
key: 0,
|
|
8009
8011
|
type: "default",
|
|
8010
8012
|
class: "mr-2"
|
|
8011
|
-
}, _ctx.getResetBtnOptions, {
|
|
8012
|
-
onClick: _ctx.resetAction,
|
|
8013
|
-
preIcon: "ant-design:sync-outlined"
|
|
8014
|
-
}), {
|
|
8013
|
+
}, _ctx.getResetBtnOptions, { onClick: _ctx.resetAction }), {
|
|
8015
8014
|
default: vue.withCtx(() => [
|
|
8016
8015
|
vue.createTextVNode(vue.toDisplayString(_ctx.getResetBtnOptions.text), 1)
|
|
8017
8016
|
]),
|
|
@@ -8023,11 +8022,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8023
8022
|
type: "primary",
|
|
8024
8023
|
class: "mr-2"
|
|
8025
8024
|
}, { ..._ctx.getSubmitBtnOptions }, { onClick: _ctx.submitAction }), {
|
|
8026
|
-
icon: vue.withCtx(() => [
|
|
8027
|
-
vue.createVNode(_component_SearchOutlined, { style: { "line-height": "14px", "transform": "translateY(3px)", "font-size": "14px", "box-sizing": "border-box" } })
|
|
8028
|
-
]),
|
|
8029
8025
|
default: vue.withCtx(() => [
|
|
8030
|
-
vue.createTextVNode(
|
|
8026
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.getSubmitBtnOptions.text), 1)
|
|
8031
8027
|
]),
|
|
8032
8028
|
_: 1
|
|
8033
8029
|
}, 16, ["onClick"])) : vue.createCommentVNode("", true),
|
|
@@ -10251,7 +10247,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10251
10247
|
class: vue.normalizeClass(_ctx.getToggleClass),
|
|
10252
10248
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleToggleAdvanced && _ctx.handleToggleAdvanced(...args))
|
|
10253
10249
|
}, [
|
|
10254
|
-
vue.createVNode(_component_DownOutlined, { style: { fontSize: "10px", color: "#
|
|
10250
|
+
vue.createVNode(_component_DownOutlined, { style: { fontSize: "10px", color: "#AED0FA " } })
|
|
10255
10251
|
], 2)
|
|
10256
10252
|
], 2)) : vue.createCommentVNode("", true)
|
|
10257
10253
|
];
|
|
@@ -11853,9 +11849,12 @@ const FETCH_SETTING = fetchSetting;
|
|
|
11853
11849
|
const DEFAULT_SIZE = defaultSize;
|
|
11854
11850
|
const DEFAULT_SORT_FN = defaultSortFn;
|
|
11855
11851
|
const DEFAULT_FILTER_FN = defaultFilterFn;
|
|
11856
|
-
|
|
11852
|
+
let DEFAULT_ALIGN = "left";
|
|
11857
11853
|
const INDEX_COLUMN_FLAG = "INDEX";
|
|
11858
11854
|
const ACTION_COLUMN_FLAG = "ACTION";
|
|
11855
|
+
const setConstConfig = (config) => {
|
|
11856
|
+
DEFAULT_ALIGN = config.align;
|
|
11857
|
+
};
|
|
11859
11858
|
function itemRender({
|
|
11860
11859
|
page,
|
|
11861
11860
|
type,
|
|
@@ -14395,6 +14394,7 @@ function useTableForm(propsRef, slots, fetch, getLoading) {
|
|
|
14395
14394
|
const { submitButtonOptions } = formConfig || {};
|
|
14396
14395
|
return {
|
|
14397
14396
|
showAdvancedButton: true,
|
|
14397
|
+
rowProps: { gutter: 20 },
|
|
14398
14398
|
...formConfig,
|
|
14399
14399
|
submitButtonOptions: {
|
|
14400
14400
|
loading: vue.unref(getLoading),
|
|
@@ -14427,7 +14427,7 @@ function useTableForm(propsRef, slots, fetch, getLoading) {
|
|
|
14427
14427
|
handleSearchInfoChange
|
|
14428
14428
|
};
|
|
14429
14429
|
}
|
|
14430
|
-
const basicProps$3 = {
|
|
14430
|
+
const basicProps$3 = vue.reactive({
|
|
14431
14431
|
clickToRowSelect: { type: Boolean, default: true },
|
|
14432
14432
|
isTreeTable: Boolean,
|
|
14433
14433
|
tableSetting: utils.propTypes.shape({}),
|
|
@@ -14554,6 +14554,11 @@ const basicProps$3 = {
|
|
|
14554
14554
|
type: String,
|
|
14555
14555
|
default: DEFAULT_SIZE
|
|
14556
14556
|
}
|
|
14557
|
+
});
|
|
14558
|
+
const basicPropChange = (options) => {
|
|
14559
|
+
Object.keys(options).forEach((name) => {
|
|
14560
|
+
basicProps$3[name] = options[name];
|
|
14561
|
+
});
|
|
14557
14562
|
};
|
|
14558
14563
|
const _sfc_main$i = vue.defineComponent({
|
|
14559
14564
|
components: {
|
|
@@ -15012,7 +15017,11 @@ const _sfc_main$g = vue.defineComponent({
|
|
|
15012
15017
|
},
|
|
15013
15018
|
divider: utils.propTypes.bool.def(true),
|
|
15014
15019
|
outside: utils.propTypes.bool,
|
|
15015
|
-
stopButtonPropagation: utils.propTypes.bool.def(false)
|
|
15020
|
+
stopButtonPropagation: utils.propTypes.bool.def(false),
|
|
15021
|
+
showCount: {
|
|
15022
|
+
type: Number,
|
|
15023
|
+
default: () => 2
|
|
15024
|
+
}
|
|
15016
15025
|
},
|
|
15017
15026
|
setup(props2) {
|
|
15018
15027
|
const { prefixCls: prefixCls2 } = use.useDesign("basic-table-action");
|
|
@@ -15032,8 +15041,8 @@ const _sfc_main$g = vue.defineComponent({
|
|
|
15032
15041
|
return isIfShow2;
|
|
15033
15042
|
}
|
|
15034
15043
|
const getActions = vue.computed(() => {
|
|
15035
|
-
return (vue.toRaw(props2.actions) || []).filter((action) => {
|
|
15036
|
-
return isIfShow(action);
|
|
15044
|
+
return (vue.toRaw(props2.actions) || []).filter((action, index2) => {
|
|
15045
|
+
return isIfShow(action) && index2 < props2.showCount;
|
|
15037
15046
|
}).map((action) => {
|
|
15038
15047
|
const { popConfirm } = action;
|
|
15039
15048
|
return {
|
|
@@ -15049,8 +15058,8 @@ const _sfc_main$g = vue.defineComponent({
|
|
|
15049
15058
|
});
|
|
15050
15059
|
});
|
|
15051
15060
|
const getDropdownList = vue.computed(() => {
|
|
15052
|
-
const list = (vue.toRaw(props2.
|
|
15053
|
-
return isIfShow(action);
|
|
15061
|
+
const list = (vue.toRaw(props2.actions) || []).filter((action, index2) => {
|
|
15062
|
+
return isIfShow(action) && index2 >= props2.showCount;
|
|
15054
15063
|
});
|
|
15055
15064
|
return list.map((action, index2) => {
|
|
15056
15065
|
const { label, popConfirm } = action;
|
|
@@ -15153,7 +15162,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15153
15162
|
})) : vue.createCommentVNode("", true)
|
|
15154
15163
|
], 64);
|
|
15155
15164
|
}), 128)),
|
|
15156
|
-
_ctx.
|
|
15165
|
+
_ctx.getDropdownList.length > 0 ? (vue.openBlock(), vue.createBlock(_component_Dropdown, {
|
|
15157
15166
|
key: 0,
|
|
15158
15167
|
trigger: ["hover"],
|
|
15159
15168
|
dropMenuList: _ctx.getDropdownList,
|
|
@@ -15437,6 +15446,16 @@ function useTable(tableProps) {
|
|
|
15437
15446
|
};
|
|
15438
15447
|
return [register, methods2];
|
|
15439
15448
|
}
|
|
15449
|
+
const withInstall$1 = (component) => {
|
|
15450
|
+
const comp = component;
|
|
15451
|
+
comp.install = (app, options = {}, config = {}) => {
|
|
15452
|
+
basicPropChange(options);
|
|
15453
|
+
setConstConfig(config);
|
|
15454
|
+
app.component("BasicTable", component);
|
|
15455
|
+
};
|
|
15456
|
+
return component;
|
|
15457
|
+
};
|
|
15458
|
+
withInstall$1(BasicTable);
|
|
15440
15459
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
15441
15460
|
__name: "Table",
|
|
15442
15461
|
setup(__props, { expose }) {
|