pro-design-vue 1.3.19 → 1.3.21
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.css +1 -1
- package/dist/index.full.js +60 -32
- package/dist/index.full.min.js +8 -8
- 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 +60 -32
- package/es/components/config-provider/src/typing.d.ts +2 -1
- package/es/components/table/src/components/Body/Body.vue.d.ts +9 -0
- package/es/components/table/src/components/Body/BodyExtraCell.vue.d.ts +6 -1
- package/es/components/table/src/components/Body/BodyRow.vue.d.ts +9 -0
- package/es/components/table/src/components/Body/BodyRows.vue.d.ts +9 -0
- package/es/components/table/src/components/ExpandIcon.vue.d.ts +3 -0
- package/es/components/table/src/components/InteralTable.vue.d.ts +18 -0
- package/es/components/table/src/components/Table.d.ts +9 -0
- package/es/components/table/src/components/context/TableContext.d.ts +2 -1
- package/es/components/table/src/components/interface.d.ts +13 -0
- package/es/components/table/src/hooks/useContainer.d.ts +2 -0
- package/es/index.d.ts +15 -0
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue.mjs +2 -1
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue2.mjs +1 -0
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyRow.vue.mjs +4 -2
- package/es/packages/components/table/src/components/Body/BodyRow.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyRow.vue2.mjs +2 -0
- package/es/packages/components/table/src/components/Body/BodyRow.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/ExpandIcon.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/ExpandIcon.vue2.mjs +4 -2
- package/es/packages/components/table/src/components/ExpandIcon.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs +9 -2
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Scrollbar/XScroll.mjs +10 -4
- package/es/packages/components/table/src/components/Scrollbar/XScroll.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs +4 -2
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/components/context/TableContext.mjs.map +1 -1
- package/es/packages/components/table/src/components/interface.mjs +4 -0
- package/es/packages/components/table/src/components/interface.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useContainer.mjs +4 -0
- package/es/packages/components/table/src/hooks/useContainer.mjs.map +1 -1
- 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/typing.d.ts +2 -1
- package/lib/components/table/src/components/Body/Body.vue.d.ts +9 -0
- package/lib/components/table/src/components/Body/BodyExtraCell.vue.d.ts +6 -1
- package/lib/components/table/src/components/Body/BodyRow.vue.d.ts +9 -0
- package/lib/components/table/src/components/Body/BodyRows.vue.d.ts +9 -0
- package/lib/components/table/src/components/ExpandIcon.vue.d.ts +3 -0
- package/lib/components/table/src/components/InteralTable.vue.d.ts +18 -0
- package/lib/components/table/src/components/Table.d.ts +9 -0
- package/lib/components/table/src/components/context/TableContext.d.ts +2 -1
- package/lib/components/table/src/components/interface.d.ts +13 -0
- package/lib/components/table/src/hooks/useContainer.d.ts +2 -0
- package/lib/index.d.ts +15 -0
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue.js +2 -1
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue2.js +1 -0
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyRow.vue.js +4 -2
- package/lib/packages/components/table/src/components/Body/BodyRow.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyRow.vue2.js +2 -0
- package/lib/packages/components/table/src/components/Body/BodyRow.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/ExpandIcon.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/ExpandIcon.vue2.js +4 -2
- package/lib/packages/components/table/src/components/ExpandIcon.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue2.js +9 -2
- package/lib/packages/components/table/src/components/InteralTable.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Scrollbar/XScroll.js +10 -4
- package/lib/packages/components/table/src/components/Scrollbar/XScroll.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js +4 -2
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/components/context/TableContext.js.map +1 -1
- package/lib/packages/components/table/src/components/interface.js +4 -0
- package/lib/packages/components/table/src/components/interface.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useContainer.js +7 -3
- package/lib/packages/components/table/src/hooks/useContainer.js.map +1 -1
- 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/theme-chalk/index.css +1 -1
- package/theme-chalk/src/table/table.less +55 -24
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.21 */
|
|
2
2
|
|
|
3
3
|
import { Modal, theme as theme$1, 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, FormItemRest, Spin, message, Row as Row$1, Col, FormItem as FormItem$1, 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, watch, computed, renderSlot, createPropsRestProxy, createBlock, openBlock, unref, mergeProps, withCtx, normalizeProps, guardReactiveProps, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, onMounted, hasInjectionContext, isRef, toRefs as toRefs$1, customRef, toRef as toRef$1, readonly, watchEffect, toRaw, createElementBlock, createCommentVNode, resolveDynamicComponent, createElementVNode, normalizeStyle, toDisplayString, normalizeClass, createSlots, createTextVNode, useAttrs, useTemplateRef, 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, vModelText } from 'vue';
|
|
@@ -30,7 +30,7 @@ const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
|
|
30
30
|
const DEFAULT_NAMESPACE = "pro";
|
|
31
31
|
const DEFAULT_LOCALE = "zh-CN";
|
|
32
32
|
|
|
33
|
-
const version$1 = "1.3.
|
|
33
|
+
const version$1 = "1.3.21";
|
|
34
34
|
|
|
35
35
|
const makeInstaller = (components = []) => {
|
|
36
36
|
const install = (app) => {
|
|
@@ -24061,6 +24061,10 @@ const baseTableProps = () => ({
|
|
|
24061
24061
|
type: Function,
|
|
24062
24062
|
default: void 0
|
|
24063
24063
|
},
|
|
24064
|
+
expandIconType: {
|
|
24065
|
+
type: String,
|
|
24066
|
+
default: void 0
|
|
24067
|
+
},
|
|
24064
24068
|
onExpand: {
|
|
24065
24069
|
type: Function,
|
|
24066
24070
|
default: void 0
|
|
@@ -24714,6 +24718,7 @@ const useContainer = (props) => {
|
|
|
24714
24718
|
const hasFullScreen = ref(false);
|
|
24715
24719
|
const { componentSize, table } = useProConfigInject();
|
|
24716
24720
|
const sortKeyColumns = ref([]);
|
|
24721
|
+
const [scrollViewportHeight, setScrollViewportHeight] = useState(0);
|
|
24717
24722
|
const [tableSize, setTableSize] = useMergedState$1(
|
|
24718
24723
|
() => {
|
|
24719
24724
|
var _a2, _b, _c, _d;
|
|
@@ -24855,6 +24860,8 @@ const useContainer = (props) => {
|
|
|
24855
24860
|
hasFullScreen,
|
|
24856
24861
|
rootDomRef,
|
|
24857
24862
|
tableSize,
|
|
24863
|
+
scrollViewportHeight,
|
|
24864
|
+
setScrollViewportHeight,
|
|
24858
24865
|
setTableSize,
|
|
24859
24866
|
sortKeyColumns,
|
|
24860
24867
|
setSortKeyColumns: (keys) => {
|
|
@@ -24956,6 +24963,23 @@ const flatColumnsHandle = (columns) => {
|
|
|
24956
24963
|
return flatColumns;
|
|
24957
24964
|
};
|
|
24958
24965
|
|
|
24966
|
+
let isMacOsUserAgentCache;
|
|
24967
|
+
function isMacOsUserAgent() {
|
|
24968
|
+
if (!isMacOsUserAgentCache) {
|
|
24969
|
+
isMacOsUserAgentCache = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);
|
|
24970
|
+
}
|
|
24971
|
+
return isMacOsUserAgentCache;
|
|
24972
|
+
}
|
|
24973
|
+
let isIOSUserAgentCache;
|
|
24974
|
+
function isIOSUserAgent() {
|
|
24975
|
+
if (!isIOSUserAgentCache) {
|
|
24976
|
+
isIOSUserAgentCache = (/iPad|iPhone|iPod/.test(navigator.platform) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 1) && !window.MSStream;
|
|
24977
|
+
}
|
|
24978
|
+
return isIOSUserAgentCache;
|
|
24979
|
+
}
|
|
24980
|
+
const chrome = /Chrome\/(\d+)/.exec(navigator.userAgent);
|
|
24981
|
+
chrome && +chrome[1];
|
|
24982
|
+
|
|
24959
24983
|
function useMergedState(defaultStateValue, option) {
|
|
24960
24984
|
const { defaultValue, value = ref() } = option || {};
|
|
24961
24985
|
let initValue = typeof defaultStateValue === "function" ? defaultStateValue() : defaultStateValue;
|
|
@@ -29051,23 +29075,6 @@ const useInjectHeader = () => {
|
|
|
29051
29075
|
return inject(HeaderContextKey, {});
|
|
29052
29076
|
};
|
|
29053
29077
|
|
|
29054
|
-
let isMacOsUserAgentCache;
|
|
29055
|
-
function isMacOsUserAgent() {
|
|
29056
|
-
if (!isMacOsUserAgentCache) {
|
|
29057
|
-
isMacOsUserAgentCache = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);
|
|
29058
|
-
}
|
|
29059
|
-
return isMacOsUserAgentCache;
|
|
29060
|
-
}
|
|
29061
|
-
let isIOSUserAgentCache;
|
|
29062
|
-
function isIOSUserAgent() {
|
|
29063
|
-
if (!isIOSUserAgentCache) {
|
|
29064
|
-
isIOSUserAgentCache = (/iPad|iPhone|iPod/.test(navigator.platform) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 1) && !window.MSStream;
|
|
29065
|
-
}
|
|
29066
|
-
return isIOSUserAgentCache;
|
|
29067
|
-
}
|
|
29068
|
-
const chrome = /Chrome\/(\d+)/.exec(navigator.userAgent);
|
|
29069
|
-
chrome && +chrome[1];
|
|
29070
|
-
|
|
29071
29078
|
function addClass(node, className) {
|
|
29072
29079
|
if ((node == null ? void 0 : node.classList) && className) {
|
|
29073
29080
|
const clases = Array.isArray(className) ? className : className.split(" ");
|
|
@@ -29092,6 +29099,7 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
29092
29099
|
},
|
|
29093
29100
|
setup: (props) => {
|
|
29094
29101
|
const tableContext = useInjectTable();
|
|
29102
|
+
const counter = useInjectContainer();
|
|
29095
29103
|
const prefixCls = computed(() => `${tableContext.props.prefixCls}`);
|
|
29096
29104
|
const scrollViewportRef = ref();
|
|
29097
29105
|
const rootRef = ref();
|
|
@@ -29108,10 +29116,10 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
29108
29116
|
});
|
|
29109
29117
|
const isApple = isMacOsUserAgent() || isIOSUserAgent();
|
|
29110
29118
|
const stickyStyle = computed(() => {
|
|
29111
|
-
const scrollBarSize = `-${tableContext.scrollBarSize.value || 15}px`;
|
|
29112
29119
|
const horizontalScrollSticky = tableContext.props.horizontalScrollSticky;
|
|
29113
|
-
const
|
|
29114
|
-
if (horizontalScrollSticky === true) {
|
|
29120
|
+
const scrollBarSize = `-${tableContext.scrollBarSize.value || 15}px`;
|
|
29121
|
+
if (horizontalScrollSticky === true && !counter.hasFullScreen.value && !tableContext.props.height) {
|
|
29122
|
+
const paginationSticky = tableContext.props.paginationSticky;
|
|
29115
29123
|
let bottom = 0;
|
|
29116
29124
|
if (tableContext.pos.value.bottom && !!paginationSticky) {
|
|
29117
29125
|
bottom += paginationSticky === true ? tableContext.bottomPaginationHeight.value : (paginationSticky.offsetBottom || 0) + tableContext.bottomPaginationHeight.value;
|
|
@@ -29123,7 +29131,9 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
29123
29131
|
marginTop: isApple ? scrollBarSize : 0
|
|
29124
29132
|
};
|
|
29125
29133
|
}
|
|
29126
|
-
return {
|
|
29134
|
+
return {
|
|
29135
|
+
marginTop: isApple ? scrollBarSize : 0
|
|
29136
|
+
};
|
|
29127
29137
|
});
|
|
29128
29138
|
const isIosScroll = computed(() => 0 === tableContext.scrollBarSize.value && isApple);
|
|
29129
29139
|
const rootClass = computed(() => ({
|
|
@@ -29164,6 +29174,7 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
29164
29174
|
};
|
|
29165
29175
|
onMounted(() => {
|
|
29166
29176
|
watch(scrollViewportRef, () => {
|
|
29177
|
+
var _a, _b;
|
|
29167
29178
|
if (scrollViewportRef.value) {
|
|
29168
29179
|
removeHScrollDom(scrollViewportRef.value);
|
|
29169
29180
|
scrollViewportRef.value.removeEventListener("scroll", onScroll);
|
|
@@ -29171,6 +29182,7 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
29171
29182
|
scrollViewportRef.value.addEventListener("scroll", onScroll, {
|
|
29172
29183
|
passive: true
|
|
29173
29184
|
});
|
|
29185
|
+
counter.setScrollViewportHeight(((_b = (_a = scrollViewportRef.value) == null ? void 0 : _a.getBoundingClientRect()) == null ? void 0 : _b.height) || 0);
|
|
29174
29186
|
}
|
|
29175
29187
|
}, {
|
|
29176
29188
|
immediate: true
|
|
@@ -33524,16 +33536,18 @@ var _sfc_main$l = defineComponent({
|
|
|
33524
33536
|
expanded: Boolean,
|
|
33525
33537
|
expandable: Boolean,
|
|
33526
33538
|
disabled: Boolean,
|
|
33527
|
-
onExpand: Function
|
|
33539
|
+
onExpand: Function,
|
|
33540
|
+
expandIconType: String
|
|
33528
33541
|
},
|
|
33529
33542
|
emits: ["expand"],
|
|
33530
33543
|
setup(props, { emit }) {
|
|
33531
33544
|
const tableContext = useInjectTable();
|
|
33532
33545
|
const className = computed(() => {
|
|
33533
|
-
const { prefixCls, expanded, expandable, disabled } = props;
|
|
33546
|
+
const { prefixCls, expanded, expandable, disabled, expandIconType } = props;
|
|
33534
33547
|
const expandIconClass = `${prefixCls}-row-expand-icon`;
|
|
33535
33548
|
return {
|
|
33536
33549
|
[expandIconClass]: true,
|
|
33550
|
+
[`${expandIconClass}-${expandIconType}`]: true,
|
|
33537
33551
|
[`${expandIconClass}-spaced`]: !expandable,
|
|
33538
33552
|
[`${expandIconClass}-expanded`]: expandable && expanded,
|
|
33539
33553
|
[`${expandIconClass}-collapsed`]: expandable && !expanded,
|
|
@@ -33586,6 +33600,7 @@ var _sfc_main$k = defineComponent({
|
|
|
33586
33600
|
record: { type: Object },
|
|
33587
33601
|
rowKey: { type: [Number, String] },
|
|
33588
33602
|
expanded: Boolean,
|
|
33603
|
+
expandIconType: String,
|
|
33589
33604
|
supportExpand: Boolean
|
|
33590
33605
|
},
|
|
33591
33606
|
setup(props) {
|
|
@@ -33823,11 +33838,12 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33823
33838
|
key: 1,
|
|
33824
33839
|
"prefix-cls": _ctx.prefixCls,
|
|
33825
33840
|
expandable: "",
|
|
33841
|
+
expandIconType: _ctx.expandIconType,
|
|
33826
33842
|
expanded: _ctx.expanded,
|
|
33827
33843
|
record: _ctx.record,
|
|
33828
33844
|
disabled: !_ctx.supportExpand,
|
|
33829
33845
|
onExpand: _ctx.onInternalTriggerExpand
|
|
33830
|
-
}, null, 8, ["prefix-cls", "expanded", "record", "disabled", "onExpand"])) : _ctx.column.type === "draggable" ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
33846
|
+
}, null, 8, ["prefix-cls", "expandIconType", "expanded", "record", "disabled", "onExpand"])) : _ctx.column.type === "draggable" ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
33831
33847
|
renderSlot(_ctx.$slots, "draggable-handle", {}, () => [
|
|
33832
33848
|
createVNode(_component_MenuOutlined)
|
|
33833
33849
|
])
|
|
@@ -33940,6 +33956,7 @@ var _sfc_main$j = defineComponent({
|
|
|
33940
33956
|
});
|
|
33941
33957
|
const isExpanded = ref(false);
|
|
33942
33958
|
const expandedRowKeys = computed(() => tableContext.expandedRowKeys.value);
|
|
33959
|
+
const expandIconType = computed(() => tableContext.expandIconType.value);
|
|
33943
33960
|
const expanded = eagerComputed(() => {
|
|
33944
33961
|
var _a, _b;
|
|
33945
33962
|
return (_b = (_a = expandedRowKeys.value).has) == null ? void 0 : _b.call(_a, props.rowKey);
|
|
@@ -34086,6 +34103,7 @@ var _sfc_main$j = defineComponent({
|
|
|
34086
34103
|
expandIconColumnIndex,
|
|
34087
34104
|
indentSize,
|
|
34088
34105
|
expanded,
|
|
34106
|
+
expandIconType,
|
|
34089
34107
|
onInternalTriggerExpand,
|
|
34090
34108
|
customRowProps,
|
|
34091
34109
|
expandColumnKey: ExpandColumnKey,
|
|
@@ -34174,11 +34192,12 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34174
34192
|
type: _ctx.type,
|
|
34175
34193
|
column: (_a = _ctx.mergedColumns) == null ? void 0 : _a[index],
|
|
34176
34194
|
expanded: _ctx.expanded,
|
|
34195
|
+
expandIconType: _ctx.expandIconType,
|
|
34177
34196
|
"support-expand": _ctx.mergedExpandable,
|
|
34178
34197
|
record: _ctx.record,
|
|
34179
34198
|
onMouseenter: ($event) => _ctx.handleCellHover(_ctx.rowKey, column.columnKey, _ctx.tableContext.draggingRowKey.value),
|
|
34180
34199
|
onMouseleave: _ctx.handleCellBlur
|
|
34181
|
-
}, null, 8, ["prefix-cls", "row-key", "row-index", "type", "column", "expanded", "support-expand", "record", "onMouseenter", "onMouseleave"])) : column ? (openBlock(), createBlock(_component_BodyCell, {
|
|
34200
|
+
}, null, 8, ["prefix-cls", "row-key", "row-index", "type", "column", "expanded", "expandIconType", "support-expand", "record", "onMouseenter", "onMouseleave"])) : column ? (openBlock(), createBlock(_component_BodyCell, {
|
|
34182
34201
|
key: 1,
|
|
34183
34202
|
"prefix-cls": _ctx.prefixCls,
|
|
34184
34203
|
item: _ctx.record,
|
|
@@ -34223,12 +34242,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34223
34242
|
),
|
|
34224
34243
|
createVNode(_component_ExpandIcon, {
|
|
34225
34244
|
expanded: _ctx.expanded,
|
|
34245
|
+
expandIconType: _ctx.expandIconType,
|
|
34226
34246
|
"prefix-cls": _ctx.prefixCls,
|
|
34227
34247
|
expandable: _ctx.hasNestChildren,
|
|
34228
34248
|
record: _ctx.record,
|
|
34229
34249
|
disabled: !_ctx.mergedExpandable,
|
|
34230
34250
|
onExpand: _ctx.onInternalTriggerExpand
|
|
34231
|
-
}, null, 8, ["expanded", "prefix-cls", "expandable", "record", "disabled", "onExpand"])
|
|
34251
|
+
}, null, 8, ["expanded", "expandIconType", "prefix-cls", "expandable", "record", "disabled", "onExpand"])
|
|
34232
34252
|
],
|
|
34233
34253
|
2
|
|
34234
34254
|
/* CLASS */
|
|
@@ -35611,6 +35631,12 @@ var _sfc_main$g = defineComponent({
|
|
|
35611
35631
|
return (_c = (_b = props.childrenColumnName) != null ? _b : (_a = table == null ? void 0 : table.value) == null ? void 0 : _a.childrenColumnName) != null ? _c : "children";
|
|
35612
35632
|
}
|
|
35613
35633
|
);
|
|
35634
|
+
const expandIconType = computed(
|
|
35635
|
+
() => {
|
|
35636
|
+
var _a, _b, _c;
|
|
35637
|
+
return (_c = (_b = props.expandIconType) != null ? _b : (_a = table == null ? void 0 : table.value) == null ? void 0 : _a.expandIconType) != null ? _c : "default";
|
|
35638
|
+
}
|
|
35639
|
+
);
|
|
35614
35640
|
const { getRecordByKey, getIndexsByKey, getKeyByIndexs, allDataRowKeys, allDataRootRowKeys } = useKVMap(rawData, childrenColumnName, getRowKey);
|
|
35615
35641
|
const defaultExpandedRowKeys = shallowRef([]);
|
|
35616
35642
|
watchEffect(() => {
|
|
@@ -35918,7 +35944,7 @@ var _sfc_main$g = defineComponent({
|
|
|
35918
35944
|
const bottomPaginationHeight = ref(0);
|
|
35919
35945
|
const bottomPaginationStyle = computed(() => {
|
|
35920
35946
|
var _a, _b;
|
|
35921
|
-
if (!props.paginationSticky) {
|
|
35947
|
+
if (!props.paginationSticky || counter.hasFullScreen.value || !!props.height) {
|
|
35922
35948
|
return {};
|
|
35923
35949
|
}
|
|
35924
35950
|
if (props.paginationSticky === true) {
|
|
@@ -35927,7 +35953,7 @@ var _sfc_main$g = defineComponent({
|
|
|
35927
35953
|
return {
|
|
35928
35954
|
position: "sticky",
|
|
35929
35955
|
"z-index": 9,
|
|
35930
|
-
bottom:
|
|
35956
|
+
bottom: `${(_b = (_a = props.paginationSticky) == null ? void 0 : _a.offsetBottom) != null ? _b : 0}px`
|
|
35931
35957
|
};
|
|
35932
35958
|
});
|
|
35933
35959
|
const indentSize = computed(() => typeof props.indentSize == "number" ? props.indentSize : 15);
|
|
@@ -35966,6 +35992,7 @@ var _sfc_main$g = defineComponent({
|
|
|
35966
35992
|
status,
|
|
35967
35993
|
useAnimate,
|
|
35968
35994
|
animateRows,
|
|
35995
|
+
expandIconType,
|
|
35969
35996
|
watermarkMsg,
|
|
35970
35997
|
onResizeColumn: (w, col, action) => {
|
|
35971
35998
|
var _a;
|
|
@@ -37934,6 +37961,7 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
37934
37961
|
dark
|
|
37935
37962
|
} = useProConfigInject();
|
|
37936
37963
|
const prefixCls = usePrefixCls("table");
|
|
37964
|
+
const isApple = isMacOsUserAgent() || isIOSUserAgent();
|
|
37937
37965
|
const {
|
|
37938
37966
|
hoverRowKey
|
|
37939
37967
|
} = useProvideHover({
|
|
@@ -38230,13 +38258,13 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38230
38258
|
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
38231
38259
|
if (props.autoHeight || counter.hasFullScreen.value) {
|
|
38232
38260
|
await nextTick();
|
|
38233
|
-
const height = window.innerHeight - (((_c = (_b2 = (_a2 = tableRef.value) == null ? void 0 : _a2.rootRef) == null ? void 0 : _b2.getBoundingClientRect()) == null ? void 0 : _c.top) || 0) - (((_f = (_e = (_d = tableRef.value) == null ? void 0 : _d.paginationRef) == null ? void 0 : _e.getBoundingClientRect()) == null ? void 0 : _f.height) || 0);
|
|
38261
|
+
const height = window.innerHeight - (((_c = (_b2 = (_a2 = tableRef.value) == null ? void 0 : _a2.rootRef) == null ? void 0 : _b2.getBoundingClientRect()) == null ? void 0 : _c.top) || 0) - (((_f = (_e = (_d = tableRef.value) == null ? void 0 : _d.paginationRef) == null ? void 0 : _e.getBoundingClientRect()) == null ? void 0 : _f.height) || 0) - (!isApple ? counter.scrollViewportHeight.value : 0);
|
|
38234
38262
|
tableHeight.value = typeof props.autoHeight === "function" && !counter.hasFullScreen.value ? (_g = props.autoHeight) == null ? void 0 : _g.call(props, height) : height;
|
|
38235
38263
|
} else {
|
|
38236
38264
|
tableHeight.value = props.height;
|
|
38237
38265
|
}
|
|
38238
38266
|
};
|
|
38239
|
-
watch(
|
|
38267
|
+
watch([counter.tableSize, counter.scrollViewportHeight], () => {
|
|
38240
38268
|
calcTableHeight();
|
|
38241
38269
|
});
|
|
38242
38270
|
onMounted(async () => {
|
|
@@ -2,7 +2,7 @@ import type { AliasToken } from 'ant-design-vue/es/theme/interface';
|
|
|
2
2
|
import type { ColProps, ConfigProviderProps, NotificationPlacement } from 'ant-design-vue';
|
|
3
3
|
import type { IntlType } from './intl';
|
|
4
4
|
import type { ValidateMessages, FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
5
|
-
import type { Bordered, OptionConfig, TablePaginationConfig, DensitySize } from 'pro-design-vue/es/components/table/src/components/interface';
|
|
5
|
+
import type { Bordered, OptionConfig, TablePaginationConfig, DensitySize, ExpandIconType } from 'pro-design-vue/es/components/table/src/components/interface';
|
|
6
6
|
interface ProConfigProviderProps extends Omit<ConfigProviderProps, 'form'> {
|
|
7
7
|
intl?: IntlType;
|
|
8
8
|
proPrefixCls?: string;
|
|
@@ -19,6 +19,7 @@ interface ProConfigProviderProps extends Omit<ConfigProviderProps, 'form'> {
|
|
|
19
19
|
expandRowByClick?: boolean;
|
|
20
20
|
rowKey?: string;
|
|
21
21
|
size?: DensitySize;
|
|
22
|
+
expandIconType?: ExpandIconType;
|
|
22
23
|
rowHover?: boolean;
|
|
23
24
|
summaryFixed?: boolean;
|
|
24
25
|
columnEmptyText?: string;
|
|
@@ -212,6 +212,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
212
212
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
213
213
|
indentSize: import("vue").ComputedRef<number>;
|
|
214
214
|
expanded: import("vue").ComputedRef<boolean>;
|
|
215
|
+
expandIconType: import("vue").ComputedRef<import("../interface").ExpandIconType>;
|
|
215
216
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
216
217
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
217
218
|
style?: CSSProperties;
|
|
@@ -273,6 +274,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
273
274
|
expandable: BooleanConstructor;
|
|
274
275
|
disabled: BooleanConstructor;
|
|
275
276
|
onExpand: FunctionConstructor;
|
|
277
|
+
expandIconType: StringConstructor;
|
|
276
278
|
}>, {
|
|
277
279
|
handleClick: () => void;
|
|
278
280
|
className: import("vue").ComputedRef<{
|
|
@@ -287,6 +289,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
287
289
|
expandable: BooleanConstructor;
|
|
288
290
|
disabled: BooleanConstructor;
|
|
289
291
|
onExpand: FunctionConstructor;
|
|
292
|
+
expandIconType: StringConstructor;
|
|
290
293
|
}>> & Readonly<{
|
|
291
294
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
292
295
|
}> & {}>;
|
|
@@ -297,6 +300,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
297
300
|
expandable: BooleanConstructor;
|
|
298
301
|
disabled: BooleanConstructor;
|
|
299
302
|
onExpand: FunctionConstructor;
|
|
303
|
+
expandIconType: StringConstructor;
|
|
300
304
|
}>> & Readonly<{
|
|
301
305
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
302
306
|
}>, {
|
|
@@ -1959,6 +1963,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1959
1963
|
type: (StringConstructor | NumberConstructor)[];
|
|
1960
1964
|
};
|
|
1961
1965
|
expanded: PropType<boolean>;
|
|
1966
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1962
1967
|
supportExpand: BooleanConstructor;
|
|
1963
1968
|
}>, {
|
|
1964
1969
|
handleRadioChange: (e: Event) => void;
|
|
@@ -2013,6 +2018,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2013
2018
|
type: (StringConstructor | NumberConstructor)[];
|
|
2014
2019
|
};
|
|
2015
2020
|
expanded: PropType<boolean>;
|
|
2021
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
2016
2022
|
supportExpand: BooleanConstructor;
|
|
2017
2023
|
}>> & Readonly<{}>, {
|
|
2018
2024
|
column: import("../interface").FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
@@ -2055,6 +2061,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2055
2061
|
expandable: BooleanConstructor;
|
|
2056
2062
|
disabled: BooleanConstructor;
|
|
2057
2063
|
onExpand: FunctionConstructor;
|
|
2064
|
+
expandIconType: StringConstructor;
|
|
2058
2065
|
}>, {
|
|
2059
2066
|
handleClick: () => void;
|
|
2060
2067
|
className: import("vue").ComputedRef<{
|
|
@@ -2069,6 +2076,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2069
2076
|
expandable: BooleanConstructor;
|
|
2070
2077
|
disabled: BooleanConstructor;
|
|
2071
2078
|
onExpand: FunctionConstructor;
|
|
2079
|
+
expandIconType: StringConstructor;
|
|
2072
2080
|
}>> & Readonly<{
|
|
2073
2081
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
2074
2082
|
}> & {}>;
|
|
@@ -2079,6 +2087,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2079
2087
|
expandable: BooleanConstructor;
|
|
2080
2088
|
disabled: BooleanConstructor;
|
|
2081
2089
|
onExpand: FunctionConstructor;
|
|
2090
|
+
expandIconType: StringConstructor;
|
|
2082
2091
|
}>> & Readonly<{
|
|
2083
2092
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
2084
2093
|
}>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { FinallyColumnType, RowType, Key, DefaultRecordType, RowSelectionType, CellType } from '../interface';
|
|
2
|
+
import type { FinallyColumnType, RowType, Key, DefaultRecordType, RowSelectionType, CellType, ExpandIconType } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
prefixCls: PropType<string>;
|
|
5
5
|
rowIndex: {
|
|
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: (StringConstructor | NumberConstructor)[];
|
|
21
21
|
};
|
|
22
22
|
expanded: PropType<boolean>;
|
|
23
|
+
expandIconType: PropType<ExpandIconType>;
|
|
23
24
|
supportExpand: BooleanConstructor;
|
|
24
25
|
}>, {
|
|
25
26
|
handleRadioChange: (e: Event) => void;
|
|
@@ -74,6 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
74
75
|
type: (StringConstructor | NumberConstructor)[];
|
|
75
76
|
};
|
|
76
77
|
expanded: PropType<boolean>;
|
|
78
|
+
expandIconType: PropType<ExpandIconType>;
|
|
77
79
|
supportExpand: BooleanConstructor;
|
|
78
80
|
}>> & Readonly<{}>, {
|
|
79
81
|
column: FinallyColumnType<DefaultRecordType>;
|
|
@@ -116,6 +118,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
116
118
|
expandable: BooleanConstructor;
|
|
117
119
|
disabled: BooleanConstructor;
|
|
118
120
|
onExpand: FunctionConstructor;
|
|
121
|
+
expandIconType: StringConstructor;
|
|
119
122
|
}>, {
|
|
120
123
|
handleClick: () => void;
|
|
121
124
|
className: import("vue").ComputedRef<{
|
|
@@ -130,6 +133,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
133
|
expandable: BooleanConstructor;
|
|
131
134
|
disabled: BooleanConstructor;
|
|
132
135
|
onExpand: FunctionConstructor;
|
|
136
|
+
expandIconType: StringConstructor;
|
|
133
137
|
}>> & Readonly<{
|
|
134
138
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
135
139
|
}> & {}>;
|
|
@@ -140,6 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
140
144
|
expandable: BooleanConstructor;
|
|
141
145
|
disabled: BooleanConstructor;
|
|
142
146
|
onExpand: FunctionConstructor;
|
|
147
|
+
expandIconType: StringConstructor;
|
|
143
148
|
}>> & Readonly<{
|
|
144
149
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
145
150
|
}>, {
|
|
@@ -44,6 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
45
45
|
indentSize: import("vue").ComputedRef<number>;
|
|
46
46
|
expanded: import("vue").ComputedRef<boolean>;
|
|
47
|
+
expandIconType: import("vue").ComputedRef<import("../interface").ExpandIconType>;
|
|
47
48
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
48
49
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
49
50
|
style?: CSSProperties;
|
|
@@ -105,6 +106,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
106
|
expandable: BooleanConstructor;
|
|
106
107
|
disabled: BooleanConstructor;
|
|
107
108
|
onExpand: FunctionConstructor;
|
|
109
|
+
expandIconType: StringConstructor;
|
|
108
110
|
}>, {
|
|
109
111
|
handleClick: () => void;
|
|
110
112
|
className: import("vue").ComputedRef<{
|
|
@@ -119,6 +121,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
121
|
expandable: BooleanConstructor;
|
|
120
122
|
disabled: BooleanConstructor;
|
|
121
123
|
onExpand: FunctionConstructor;
|
|
124
|
+
expandIconType: StringConstructor;
|
|
122
125
|
}>> & Readonly<{
|
|
123
126
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
124
127
|
}> & {}>;
|
|
@@ -129,6 +132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
132
|
expandable: BooleanConstructor;
|
|
130
133
|
disabled: BooleanConstructor;
|
|
131
134
|
onExpand: FunctionConstructor;
|
|
135
|
+
expandIconType: StringConstructor;
|
|
132
136
|
}>> & Readonly<{
|
|
133
137
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
134
138
|
}>, {
|
|
@@ -1791,6 +1795,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1791
1795
|
type: (StringConstructor | NumberConstructor)[];
|
|
1792
1796
|
};
|
|
1793
1797
|
expanded: PropType<boolean>;
|
|
1798
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1794
1799
|
supportExpand: BooleanConstructor;
|
|
1795
1800
|
}>, {
|
|
1796
1801
|
handleRadioChange: (e: Event) => void;
|
|
@@ -1845,6 +1850,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1845
1850
|
type: (StringConstructor | NumberConstructor)[];
|
|
1846
1851
|
};
|
|
1847
1852
|
expanded: PropType<boolean>;
|
|
1853
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1848
1854
|
supportExpand: BooleanConstructor;
|
|
1849
1855
|
}>> & Readonly<{}>, {
|
|
1850
1856
|
column: import("../interface").FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
@@ -1887,6 +1893,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1887
1893
|
expandable: BooleanConstructor;
|
|
1888
1894
|
disabled: BooleanConstructor;
|
|
1889
1895
|
onExpand: FunctionConstructor;
|
|
1896
|
+
expandIconType: StringConstructor;
|
|
1890
1897
|
}>, {
|
|
1891
1898
|
handleClick: () => void;
|
|
1892
1899
|
className: import("vue").ComputedRef<{
|
|
@@ -1901,6 +1908,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1901
1908
|
expandable: BooleanConstructor;
|
|
1902
1909
|
disabled: BooleanConstructor;
|
|
1903
1910
|
onExpand: FunctionConstructor;
|
|
1911
|
+
expandIconType: StringConstructor;
|
|
1904
1912
|
}>> & Readonly<{
|
|
1905
1913
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1906
1914
|
}> & {}>;
|
|
@@ -1911,6 +1919,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1911
1919
|
expandable: BooleanConstructor;
|
|
1912
1920
|
disabled: BooleanConstructor;
|
|
1913
1921
|
onExpand: FunctionConstructor;
|
|
1922
|
+
expandIconType: StringConstructor;
|
|
1914
1923
|
}>> & Readonly<{
|
|
1915
1924
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1916
1925
|
}>, {
|
|
@@ -76,6 +76,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
76
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
77
77
|
indentSize: import("vue").ComputedRef<number>;
|
|
78
78
|
expanded: import("vue").ComputedRef<boolean>;
|
|
79
|
+
expandIconType: import("vue").ComputedRef<import("../interface").ExpandIconType>;
|
|
79
80
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
80
81
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
81
82
|
style?: import("vue").CSSProperties;
|
|
@@ -137,6 +138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
137
138
|
expandable: BooleanConstructor;
|
|
138
139
|
disabled: BooleanConstructor;
|
|
139
140
|
onExpand: FunctionConstructor;
|
|
141
|
+
expandIconType: StringConstructor;
|
|
140
142
|
}>, {
|
|
141
143
|
handleClick: () => void;
|
|
142
144
|
className: import("vue").ComputedRef<{
|
|
@@ -151,6 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
153
|
expandable: BooleanConstructor;
|
|
152
154
|
disabled: BooleanConstructor;
|
|
153
155
|
onExpand: FunctionConstructor;
|
|
156
|
+
expandIconType: StringConstructor;
|
|
154
157
|
}>> & Readonly<{
|
|
155
158
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
156
159
|
}> & {}>;
|
|
@@ -161,6 +164,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
164
|
expandable: BooleanConstructor;
|
|
162
165
|
disabled: BooleanConstructor;
|
|
163
166
|
onExpand: FunctionConstructor;
|
|
167
|
+
expandIconType: StringConstructor;
|
|
164
168
|
}>> & Readonly<{
|
|
165
169
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
166
170
|
}>, {
|
|
@@ -1823,6 +1827,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1823
1827
|
type: (StringConstructor | NumberConstructor)[];
|
|
1824
1828
|
};
|
|
1825
1829
|
expanded: PropType<boolean>;
|
|
1830
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1826
1831
|
supportExpand: BooleanConstructor;
|
|
1827
1832
|
}>, {
|
|
1828
1833
|
handleRadioChange: (e: Event) => void;
|
|
@@ -1877,6 +1882,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1877
1882
|
type: (StringConstructor | NumberConstructor)[];
|
|
1878
1883
|
};
|
|
1879
1884
|
expanded: PropType<boolean>;
|
|
1885
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1880
1886
|
supportExpand: BooleanConstructor;
|
|
1881
1887
|
}>> & Readonly<{}>, {
|
|
1882
1888
|
column: FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
@@ -1919,6 +1925,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1919
1925
|
expandable: BooleanConstructor;
|
|
1920
1926
|
disabled: BooleanConstructor;
|
|
1921
1927
|
onExpand: FunctionConstructor;
|
|
1928
|
+
expandIconType: StringConstructor;
|
|
1922
1929
|
}>, {
|
|
1923
1930
|
handleClick: () => void;
|
|
1924
1931
|
className: import("vue").ComputedRef<{
|
|
@@ -1933,6 +1940,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1933
1940
|
expandable: BooleanConstructor;
|
|
1934
1941
|
disabled: BooleanConstructor;
|
|
1935
1942
|
onExpand: FunctionConstructor;
|
|
1943
|
+
expandIconType: StringConstructor;
|
|
1936
1944
|
}>> & Readonly<{
|
|
1937
1945
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1938
1946
|
}> & {}>;
|
|
@@ -1943,6 +1951,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1943
1951
|
expandable: BooleanConstructor;
|
|
1944
1952
|
disabled: BooleanConstructor;
|
|
1945
1953
|
onExpand: FunctionConstructor;
|
|
1954
|
+
expandIconType: StringConstructor;
|
|
1946
1955
|
}>> & Readonly<{
|
|
1947
1956
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1948
1957
|
}>, {
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5
5
|
expandable: BooleanConstructor;
|
|
6
6
|
disabled: BooleanConstructor;
|
|
7
7
|
onExpand: FunctionConstructor;
|
|
8
|
+
expandIconType: StringConstructor;
|
|
8
9
|
}>, {
|
|
9
10
|
handleClick: () => void;
|
|
10
11
|
className: import("vue").ComputedRef<{
|
|
@@ -19,6 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
20
|
expandable: BooleanConstructor;
|
|
20
21
|
disabled: BooleanConstructor;
|
|
21
22
|
onExpand: FunctionConstructor;
|
|
23
|
+
expandIconType: StringConstructor;
|
|
22
24
|
}>> & Readonly<{
|
|
23
25
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
24
26
|
}> & {}>;
|
|
@@ -29,6 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
31
|
expandable: BooleanConstructor;
|
|
30
32
|
disabled: BooleanConstructor;
|
|
31
33
|
onExpand: FunctionConstructor;
|
|
34
|
+
expandIconType: StringConstructor;
|
|
32
35
|
}>> & Readonly<{
|
|
33
36
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
34
37
|
}>, {
|