@koi-design/uxd-ui 14.0.45 → 14.0.46
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/components/Table/BaseTable.vue.d.ts +2 -0
- package/es/components/Table/BodyTable.vue.d.ts +2 -0
- package/es/components/Table/HeadTable.vue.d.ts +2 -0
- package/es/components/Table/Table.mjs +15 -1
- package/es/components/Table/Table.mjs.map +1 -1
- package/es/components/Table/Table.type.d.ts +5 -0
- package/es/components/Table/Table.type.mjs +4 -0
- package/es/components/Table/Table.type.mjs.map +1 -1
- package/es/components/Table/Table.vue.d.ts +13 -0
- package/es/components/Table/TableBox.vue.d.ts +4 -0
- package/es/components/Table/tableUnits/ExpandRows.vue.d.ts +1 -0
- package/es/components/Table/tableUnits/TableBody.vue.d.ts +2 -0
- package/es/components/Table/tableUnits/TableCell.mjs +4 -3
- package/es/components/Table/tableUnits/TableCell.mjs.map +1 -1
- package/es/components/Table/tableUnits/TableCell.vue.d.ts +1 -0
- package/es/components/Table/tableUnits/TableRow.vue.d.ts +1 -0
- package/lib/components/Table/BaseTable.vue.d.ts +2 -0
- package/lib/components/Table/BodyTable.vue.d.ts +2 -0
- package/lib/components/Table/HeadTable.vue.d.ts +2 -0
- package/lib/components/Table/Table.js +15 -1
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Table/Table.type.d.ts +5 -0
- package/lib/components/Table/Table.type.js +4 -0
- package/lib/components/Table/Table.type.js.map +1 -1
- package/lib/components/Table/Table.vue.d.ts +13 -0
- package/lib/components/Table/TableBox.vue.d.ts +4 -0
- package/lib/components/Table/tableUnits/ExpandRows.vue.d.ts +1 -0
- package/lib/components/Table/tableUnits/TableBody.vue.d.ts +2 -0
- package/lib/components/Table/tableUnits/TableCell.js +4 -3
- package/lib/components/Table/tableUnits/TableCell.js.map +1 -1
- package/lib/components/Table/tableUnits/TableCell.vue.d.ts +1 -0
- package/lib/components/Table/tableUnits/TableRow.vue.d.ts +1 -0
- package/package.json +1 -1
- package/types/components/Table/BaseTable.vue.d.ts +2 -0
- package/types/components/Table/BodyTable.vue.d.ts +2 -0
- package/types/components/Table/HeadTable.vue.d.ts +2 -0
- package/types/components/Table/Table.type.d.ts +5 -0
- package/types/components/Table/Table.vue.d.ts +13 -0
- package/types/components/Table/TableBox.vue.d.ts +4 -0
- package/types/components/Table/tableUnits/ExpandRows.vue.d.ts +1 -0
- package/types/components/Table/tableUnits/TableBody.vue.d.ts +2 -0
- package/types/components/Table/tableUnits/TableCell.vue.d.ts +1 -0
- package/types/components/Table/tableUnits/TableRow.vue.d.ts +1 -0
- package/uxd-ui.esm.min.mjs +6 -6
- package/uxd-ui.esm.mjs +24 -5
- package/uxd-ui.umd.js +24 -5
- package/uxd-ui.umd.min.js +6 -6
package/uxd-ui.esm.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @koi-design/uxd-ui@14.0.
|
|
1
|
+
/*! @koi-design/uxd-ui@14.0.46 */
|
|
2
2
|
|
|
3
3
|
import { defineComponent, reactive, watch, provide, inject, computed, onMounted, ref, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, withDirectives, vShow, createBlock, resolveDynamicComponent, createCommentVNode, toRaw, resolveComponent, Transition, withCtx, createVNode, toDisplayString, isVNode, Comment as Comment$1, Fragment, Text as Text$1, h, shallowRef, toRef, nextTick, onUpdated, onUnmounted, cloneVNode, Teleport, toRefs, withModifiers, mergeProps, renderList, onBeforeUpdate, createTextVNode, createStaticVNode, normalizeProps, guardReactiveProps, watchEffect, onActivated, onDeactivated, withKeys, TransitionGroup, createApp, onBeforeMount, unref } from 'vue';
|
|
4
4
|
import { X, Terminal, CircleAlert, Info, CircleCheck, LoaderCircle, CircleX, Search, Eye, EyeOff, Check, CornerDownLeft, ChevronUp, ChevronDown, ChevronRight, MenuIcon, Minus, ChevronLeft, CheckIcon, ChevronsLeft, ChevronsRight, Calendar as Calendar$1, ZoomIn, ZoomOut, RotateCcw, RotateCw, PanelLeft, PanelRight, Image as Image$2, CheckCircle, XCircle, Star as Star$1, XIcon, FilterIcon, GripVertical, Plus, Clock, FileIcon, HelpCircle, CircleHelp, AlertCircle, SearchIcon } from 'lucide-vue-next';
|
|
@@ -33217,7 +33217,7 @@ const _sfc_main$G = defineComponent({
|
|
|
33217
33217
|
setup(props) {
|
|
33218
33218
|
const {
|
|
33219
33219
|
prefixCls: tablePrefixCls,
|
|
33220
|
-
props: { indentSize },
|
|
33220
|
+
props: { indentSize, cellEmptyText },
|
|
33221
33221
|
expand: { handleExpandChange, isRowExpanded },
|
|
33222
33222
|
filterAndSorter: { hasAction, hasSorters, hasFilters, isSortColumn },
|
|
33223
33223
|
size: { syncColumnWidth },
|
|
@@ -33332,7 +33332,8 @@ const _sfc_main$G = defineComponent({
|
|
|
33332
33332
|
cellRef,
|
|
33333
33333
|
ellipsisSpanRef,
|
|
33334
33334
|
isOverflow,
|
|
33335
|
-
checkWidth
|
|
33335
|
+
checkWidth,
|
|
33336
|
+
cellEmptyText
|
|
33336
33337
|
};
|
|
33337
33338
|
}
|
|
33338
33339
|
});
|
|
@@ -33422,7 +33423,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33422
33423
|
]),
|
|
33423
33424
|
_: 1
|
|
33424
33425
|
}, 8, ["title", "disabled"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
33425
|
-
createTextVNode(toDisplayString(_ctx.displayCell), 1)
|
|
33426
|
+
createTextVNode(toDisplayString(_ctx.displayCell || _ctx.cellEmptyText), 1)
|
|
33426
33427
|
], 64))
|
|
33427
33428
|
], 64))
|
|
33428
33429
|
], 64))
|
|
@@ -35564,6 +35565,10 @@ const tableProps = {
|
|
|
35564
35565
|
skeletonRows: {
|
|
35565
35566
|
type: Number,
|
|
35566
35567
|
default: 3
|
|
35568
|
+
},
|
|
35569
|
+
cellEmptyText: {
|
|
35570
|
+
type: String,
|
|
35571
|
+
default: ""
|
|
35567
35572
|
}
|
|
35568
35573
|
};
|
|
35569
35574
|
const rowEmitFn = (data, index, e) => typeof data === "object" && typeof index === "number" && e instanceof Event;
|
|
@@ -35733,7 +35738,20 @@ const _sfc_main$u = defineComponent({
|
|
|
35733
35738
|
const handleColumnResize = (columnWidth, changeWidth, column, event) => {
|
|
35734
35739
|
emit("column-resize", columnWidth, changeWidth, column, event);
|
|
35735
35740
|
};
|
|
35736
|
-
const {
|
|
35741
|
+
const {
|
|
35742
|
+
showHeader,
|
|
35743
|
+
maxHeight,
|
|
35744
|
+
expandIcon,
|
|
35745
|
+
rowClassName,
|
|
35746
|
+
indentSize,
|
|
35747
|
+
showSummary,
|
|
35748
|
+
disabledHover,
|
|
35749
|
+
expandIndent,
|
|
35750
|
+
headerSticky,
|
|
35751
|
+
loading,
|
|
35752
|
+
width,
|
|
35753
|
+
cellEmptyText
|
|
35754
|
+
} = toRefs(props);
|
|
35737
35755
|
provide("tableContext", {
|
|
35738
35756
|
prefixCls,
|
|
35739
35757
|
locale,
|
|
@@ -35748,6 +35766,7 @@ const _sfc_main$u = defineComponent({
|
|
|
35748
35766
|
rowClassName,
|
|
35749
35767
|
indentSize,
|
|
35750
35768
|
emptyText,
|
|
35769
|
+
cellEmptyText,
|
|
35751
35770
|
showSummary,
|
|
35752
35771
|
disabledHover,
|
|
35753
35772
|
expandIndent,
|
package/uxd-ui.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @koi-design/uxd-ui@14.0.
|
|
1
|
+
/*! @koi-design/uxd-ui@14.0.46 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('lucide-vue-next')) :
|
|
@@ -33220,7 +33220,7 @@
|
|
|
33220
33220
|
setup(props) {
|
|
33221
33221
|
const {
|
|
33222
33222
|
prefixCls: tablePrefixCls,
|
|
33223
|
-
props: { indentSize },
|
|
33223
|
+
props: { indentSize, cellEmptyText },
|
|
33224
33224
|
expand: { handleExpandChange, isRowExpanded },
|
|
33225
33225
|
filterAndSorter: { hasAction, hasSorters, hasFilters, isSortColumn },
|
|
33226
33226
|
size: { syncColumnWidth },
|
|
@@ -33335,7 +33335,8 @@
|
|
|
33335
33335
|
cellRef,
|
|
33336
33336
|
ellipsisSpanRef,
|
|
33337
33337
|
isOverflow,
|
|
33338
|
-
checkWidth
|
|
33338
|
+
checkWidth,
|
|
33339
|
+
cellEmptyText
|
|
33339
33340
|
};
|
|
33340
33341
|
}
|
|
33341
33342
|
});
|
|
@@ -33425,7 +33426,7 @@
|
|
|
33425
33426
|
]),
|
|
33426
33427
|
_: 1
|
|
33427
33428
|
}, 8, ["title", "disabled"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
33428
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.displayCell), 1)
|
|
33429
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.displayCell || _ctx.cellEmptyText), 1)
|
|
33429
33430
|
], 64))
|
|
33430
33431
|
], 64))
|
|
33431
33432
|
], 64))
|
|
@@ -35567,6 +35568,10 @@
|
|
|
35567
35568
|
skeletonRows: {
|
|
35568
35569
|
type: Number,
|
|
35569
35570
|
default: 3
|
|
35571
|
+
},
|
|
35572
|
+
cellEmptyText: {
|
|
35573
|
+
type: String,
|
|
35574
|
+
default: ""
|
|
35570
35575
|
}
|
|
35571
35576
|
};
|
|
35572
35577
|
const rowEmitFn = (data, index, e) => typeof data === "object" && typeof index === "number" && e instanceof Event;
|
|
@@ -35736,7 +35741,20 @@
|
|
|
35736
35741
|
const handleColumnResize = (columnWidth, changeWidth, column, event) => {
|
|
35737
35742
|
emit("column-resize", columnWidth, changeWidth, column, event);
|
|
35738
35743
|
};
|
|
35739
|
-
const {
|
|
35744
|
+
const {
|
|
35745
|
+
showHeader,
|
|
35746
|
+
maxHeight,
|
|
35747
|
+
expandIcon,
|
|
35748
|
+
rowClassName,
|
|
35749
|
+
indentSize,
|
|
35750
|
+
showSummary,
|
|
35751
|
+
disabledHover,
|
|
35752
|
+
expandIndent,
|
|
35753
|
+
headerSticky,
|
|
35754
|
+
loading,
|
|
35755
|
+
width,
|
|
35756
|
+
cellEmptyText
|
|
35757
|
+
} = vue.toRefs(props);
|
|
35740
35758
|
vue.provide("tableContext", {
|
|
35741
35759
|
prefixCls,
|
|
35742
35760
|
locale,
|
|
@@ -35751,6 +35769,7 @@
|
|
|
35751
35769
|
rowClassName,
|
|
35752
35770
|
indentSize,
|
|
35753
35771
|
emptyText,
|
|
35772
|
+
cellEmptyText,
|
|
35754
35773
|
showSummary,
|
|
35755
35774
|
disabledHover,
|
|
35756
35775
|
expandIndent,
|