@teamix/pro 1.5.34 → 1.5.36
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 +23694 -21714
- 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/AdvancedFilter.js +39 -18
- package/es/form/typing.d.ts +12 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/table/components/Cell/index.d.ts +1 -0
- package/es/table/components/Cell/index.js +5 -4
- package/es/table/components/Filter/index.js +0 -1
- package/es/table/components/ToolBar/FilterColumnIcon.js +14 -6
- package/es/table/index.js +17 -9
- package/es/table/index.scss +10 -1
- package/es/table/typing.d.ts +2 -0
- package/es/table/utils/useTableSelection.js +3 -0
- package/lib/form/Filter/AdvancedFilter.js +39 -18
- package/lib/form/typing.d.ts +12 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/table/components/Cell/index.d.ts +1 -0
- package/lib/table/components/Cell/index.js +5 -4
- package/lib/table/components/Filter/index.js +0 -1
- package/lib/table/components/ToolBar/FilterColumnIcon.js +14 -6
- package/lib/table/index.js +17 -9
- package/lib/table/index.scss +10 -1
- package/lib/table/typing.d.ts +2 -0
- package/lib/table/utils/useTableSelection.js +3 -0
- package/package.json +1 -1
package/lib/table/index.scss
CHANGED
@@ -71,7 +71,7 @@ $fullscreenPadding: 24px;
|
|
71
71
|
box-shadow: var(--shadow-1-up);
|
72
72
|
background-color: var(--table-row-bg, #ffffff);
|
73
73
|
margin: 0;
|
74
|
-
z-index:
|
74
|
+
z-index: 5;
|
75
75
|
}
|
76
76
|
|
77
77
|
.next-table-body {
|
@@ -126,6 +126,15 @@ $fullscreenPadding: 24px;
|
|
126
126
|
}
|
127
127
|
}
|
128
128
|
|
129
|
+
// .teamix-pro-table-fullscreen {
|
130
|
+
// .teamix-pro-table-container {
|
131
|
+
// height: calc(100vh - 74px);
|
132
|
+
// overflow: hidden;
|
133
|
+
// overflow-y: auto;
|
134
|
+
// }
|
135
|
+
// }
|
136
|
+
|
137
|
+
|
129
138
|
.teamix-pro-table-footer-suction {
|
130
139
|
margin-bottom: 50px;
|
131
140
|
.teamix-pro-table-footer {
|
package/lib/table/typing.d.ts
CHANGED
@@ -24,6 +24,8 @@ declare type TDataService = {
|
|
24
24
|
};
|
25
25
|
export declare type responsivePaginationType = 'mini' | 'small' | 'simple' | 'normal';
|
26
26
|
export declare type ProTableColumnProps = {
|
27
|
+
/** 是否强制刷新 */
|
28
|
+
forcedUpdate?: boolean;
|
27
29
|
/** 是否开启了自动计算宽度 */
|
28
30
|
isAutoWidth?: boolean;
|
29
31
|
/** 自动计算宽度时的被挤占的情况 */
|
@@ -99,6 +99,9 @@ function useTableSelection() {
|
|
99
99
|
// console.log('propResult', propResult, selectedRowKeys);
|
100
100
|
var resultProps = _objectSpread(_objectSpread({}, record), propResult);
|
101
101
|
var primaryKey = record === null || record === void 0 ? void 0 : record[resultProps === null || resultProps === void 0 ? void 0 : resultProps['_primaryKey']];
|
102
|
+
if ((config === null || config === void 0 ? void 0 : config.mode) === 'single') {
|
103
|
+
return resultProps;
|
104
|
+
}
|
102
105
|
return _objectSpread(_objectSpread({}, resultProps), {}, {
|
103
106
|
isPreview: true,
|
104
107
|
renderPreview: function renderPreview() {
|