@teamix/pro 1.5.18 → 1.5.20
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/pro.all.min.css +1 -1
- package/dist/pro.css +1 -1
- package/dist/pro.js +1405 -252
- package/dist/pro.min.css +1 -1
- package/dist/pro.min.js +1 -1
- package/dist/pro.xconsole.min.css +1 -1
- package/es/form/Filter/index.scss +1 -0
- package/es/form/Filter/index2.scss +1 -0
- package/es/image/index.d.ts +21 -0
- package/es/image/index.js +72 -0
- package/es/image/index.scss +3 -0
- package/es/index.d.ts +4 -2
- package/es/index.js +4 -2
- package/es/sidebar/utils/index.d.ts +1 -1
- package/es/sidebar/utils/index.js +7 -0
- package/es/table/components/CardView/index.js +6 -11
- package/es/table/components/ToolBar/index.js +10 -7
- package/es/table/index.js +3 -1
- package/es/table/typing.d.ts +4 -0
- package/es/xconsole.scss +23 -0
- package/lib/form/Filter/index.scss +1 -0
- package/lib/form/Filter/index2.scss +1 -0
- package/lib/image/index.d.ts +21 -0
- package/lib/image/index.js +82 -0
- package/lib/image/index.scss +3 -0
- package/lib/index.d.ts +4 -2
- package/lib/index.js +20 -1
- package/lib/sidebar/utils/index.d.ts +1 -1
- package/lib/sidebar/utils/index.js +7 -0
- package/lib/table/components/CardView/index.js +5 -10
- package/lib/table/components/ToolBar/index.js +10 -7
- package/lib/table/index.js +3 -1
- package/lib/table/typing.d.ts +4 -0
- package/lib/xconsole.scss +23 -0
- package/package.json +1 -1
package/lib/table/index.js
CHANGED
@@ -989,7 +989,9 @@ var ProTable = function ProTable(props) {
|
|
989
989
|
scrollHeight: fullscreenState || fixedTableBody ? "calc(100vh - ".concat(headerHeight, "px)") : undefined,
|
990
990
|
actionRef: actionRef,
|
991
991
|
context: context,
|
992
|
-
columns: (0, _genProColumnToColumn.default)(filteredColumns, showSkeleton, actionRef, context)
|
992
|
+
columns: (0, _genProColumnToColumn.default)(filteredColumns, showSkeleton, actionRef, context),
|
993
|
+
emptyProps: emptyProps,
|
994
|
+
emptyContent: otherProps === null || otherProps === void 0 ? void 0 : otherProps.emptyContent
|
993
995
|
}));
|
994
996
|
} else {
|
995
997
|
// 不传 columns 直接返回原始 Table
|
package/lib/table/typing.d.ts
CHANGED
@@ -406,6 +406,10 @@ export declare type ProTableCardViewProps = {
|
|
406
406
|
cardProps?: ProTableCardProps['cardProps'];
|
407
407
|
/** 表格分页器参数 **/
|
408
408
|
tablePaginationProps?: PaginationProps;
|
409
|
+
/** 空数据配置 **/
|
410
|
+
emptyProps?: ProTableProps['emptyProps'];
|
411
|
+
/** 自定义渲染空数据 **/
|
412
|
+
emptyContent?: ProTableProps['emptyContent'];
|
409
413
|
};
|
410
414
|
export declare type ProTableBindUrlProps = {
|
411
415
|
/** 翻页器区域 **/
|
package/lib/xconsole.scss
CHANGED
@@ -500,4 +500,27 @@
|
|
500
500
|
border: 0 solid #d9d9d9;
|
501
501
|
border: var(--colortag-border-width,0) solid var(--color-line1-2,#d9d9d9);
|
502
502
|
}
|
503
|
+
.teamix-pro-table-toolbar-filter-column-all-select {
|
504
|
+
.next-menu-item-inner {
|
505
|
+
display: flex;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
.next-dialog-centered {
|
509
|
+
text-align: center;
|
510
|
+
}
|
511
|
+
.next-dialog-wrapper {
|
512
|
+
position: fixed;
|
513
|
+
left: 0;
|
514
|
+
top: 0;
|
515
|
+
right: 0;
|
516
|
+
bottom: 0;
|
517
|
+
|
518
|
+
.next-dialog-v2 {
|
519
|
+
margin: 40px 0;
|
520
|
+
display: inline-block;
|
521
|
+
text-align: left;
|
522
|
+
vertical-align: middle;
|
523
|
+
position: relative;
|
524
|
+
}
|
525
|
+
}
|
503
526
|
}
|