@kne/table-page 0.1.35 → 0.1.37
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/README.md +144 -78
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -191,7 +191,7 @@ npm i --save @kne/table-page
|
|
|
191
191
|
#### 示例代码
|
|
192
192
|
|
|
193
193
|
- TablePage
|
|
194
|
-
- 表格页面组件,基于 @kne/react-fetch 实现数据加载与分页,支持 sticky 固定表头、useSort 服务端排序、renderMobile 移动端卡片、renderCard PC 卡片视图切换、tab 分类切换、列配置、总结栏、树形 dataType(含筛选/批量/操作列/卡片切换/懒加载);空数据(total 为 0
|
|
194
|
+
- 表格页面组件,基于 @kne/react-fetch 实现数据加载与分页,支持 sticky 固定表头、useSort 服务端排序、renderMobile 移动端卡片、renderCard PC 卡片视图切换、pagination.forceLoadMore(PC Table 触底下拉)、tab 分类切换、列配置、总结栏、树形 dataType(含筛选/批量/操作列/卡片切换/懒加载);空数据(total 为 0)时不显示分页器。文末对照仅 SearchInput 与 Search+全选/排序条两种移动端间距(开关可拆开全选/排序)
|
|
195
195
|
- _TablePage(@kne/current-lib_table-page)[import * as _TablePage from "@kne/table-page"],(@kne/current-lib_table-page/dist/index.css),antd(antd),_ReactFilter(@kne/react-filter)[import * as _ReactFilter from "@kne/react-filter"],(@kne/react-filter/dist/index.css)
|
|
196
196
|
|
|
197
197
|
```jsx
|
|
@@ -454,7 +454,7 @@ const Tips = () => (
|
|
|
454
454
|
</div>
|
|
455
455
|
<div>
|
|
456
456
|
<Tag style={TIP_TAG_STYLE} color="volcano">移动端</Tag>
|
|
457
|
-
设置 <code>renderMobile</code> 后,手机预览下启用卡片 List(含全选、排序工具栏);桌面端仍为 antd Table
|
|
457
|
+
设置 <code>renderMobile</code> 后,手机预览下启用卡片 List(含全选、排序工具栏);桌面端仍为 antd Table。文末对照「仅 SearchInput」与「Search + 全选/排序条」两种间距(情况 B 可用开关拆开全选/排序)。
|
|
458
458
|
</div>
|
|
459
459
|
<div>
|
|
460
460
|
<Tag style={TIP_TAG_STYLE} color="geekblue">固定表头</Tag>
|
|
@@ -472,6 +472,10 @@ const Tips = () => (
|
|
|
472
472
|
<Tag style={TIP_TAG_STYLE} color="red">PC 卡片</Tag>
|
|
473
473
|
传入 <code>renderCard</code>(签名同 <code>renderMobile</code>)后,工具栏 <code>buttonGroup</code> 前出现表格/卡片切换按钮,状态按 <code>name</code> 持久化到 localStorage;卡片模式下外框透明、默认触底下拉加载(<code>pagination.forcePagination</code> 可改回分页);<code>forceCard</code> 强制卡片并隐藏切换按钮;移动端忽略。
|
|
474
474
|
</div>
|
|
475
|
+
<div>
|
|
476
|
+
<Tag style={TIP_TAG_STYLE} color="lime">Table 下拉加载</Tag>
|
|
477
|
+
PC Table 默认底部分页;设置 <code>pagination.forceLoadMore</code> 可在不切换卡片的情况下触底下拉(与 <code>forcePagination</code> 同时为 true 时以后者为准)。开启后勿再设 Table <code>scroll.y</code>。
|
|
478
|
+
</div>
|
|
475
479
|
</div>
|
|
476
480
|
);
|
|
477
481
|
|
|
@@ -527,6 +531,7 @@ const BaseExample = () => {
|
|
|
527
531
|
const tableRef = React.useRef();
|
|
528
532
|
const [empty, setEmpty] = useState(false);
|
|
529
533
|
const [cardForcePagination, setCardForcePagination] = useState(false);
|
|
534
|
+
const [tableForceLoadMore, setTableForceLoadMore] = useState(false);
|
|
530
535
|
const [renderType, setRenderType] = useState('Table');
|
|
531
536
|
const emptyRef = React.useRef(false);
|
|
532
537
|
const slowReloadRef = React.useRef(false);
|
|
@@ -606,13 +611,22 @@ const BaseExample = () => {
|
|
|
606
611
|
<span>卡片模式数据加载:</span>
|
|
607
612
|
<Switch checkedChildren="分页" unCheckedChildren="下拉加载" checked={cardForcePagination} onChange={setCardForcePagination} />
|
|
608
613
|
</Flex>
|
|
614
|
+
<Flex align="center" gap={8}>
|
|
615
|
+
<span>Table 数据加载:</span>
|
|
616
|
+
<Switch
|
|
617
|
+
checkedChildren="下拉加载"
|
|
618
|
+
unCheckedChildren="分页"
|
|
619
|
+
checked={tableForceLoadMore}
|
|
620
|
+
onChange={setTableForceLoadMore}
|
|
621
|
+
/>
|
|
622
|
+
</Flex>
|
|
609
623
|
</Space>
|
|
610
624
|
<TablePage
|
|
611
625
|
ref={tableRef}
|
|
612
626
|
name="demo-employee-table"
|
|
613
627
|
renderType={renderType}
|
|
614
|
-
sticky={renderType === 'Table'}
|
|
615
|
-
scroll={renderType === 'Table' ? { x: 1600, y: 400 } : undefined}
|
|
628
|
+
sticky={renderType === 'Table' && !tableForceLoadMore}
|
|
629
|
+
scroll={renderType === 'Table' ? (tableForceLoadMore ? { x: 1600 } : { x: 1600, y: 400 }) : undefined}
|
|
616
630
|
size="large"
|
|
617
631
|
renderMobile
|
|
618
632
|
renderCard={renderEmployeeCard}
|
|
@@ -713,7 +727,8 @@ const BaseExample = () => {
|
|
|
713
727
|
showSizeChanger: true,
|
|
714
728
|
showQuickJumper: true,
|
|
715
729
|
pageSizeOptions: ['10', '20', '50', '100'],
|
|
716
|
-
forcePagination: cardForcePagination
|
|
730
|
+
forcePagination: cardForcePagination,
|
|
731
|
+
forceLoadMore: tableForceLoadMore
|
|
717
732
|
}}
|
|
718
733
|
dataFormat={data => ({
|
|
719
734
|
list: data.pageData,
|
|
@@ -796,7 +811,7 @@ const sharedGroups = [
|
|
|
796
811
|
|
|
797
812
|
const sharedGroupColumns = [
|
|
798
813
|
{ name: 'id', title: 'ID', width: 80, renderType: 'small' },
|
|
799
|
-
{ name: 'name', title: '共享组名称', width: 180, renderType: 'main' },
|
|
814
|
+
{ name: 'name', title: '共享组名称', width: 180, renderType: 'main', sort: true },
|
|
800
815
|
{ name: 'description', title: '描述', width: 320, renderType: 'description', ellipsis: true },
|
|
801
816
|
{
|
|
802
817
|
name: 'options',
|
|
@@ -810,79 +825,127 @@ const sharedGroupColumns = [
|
|
|
810
825
|
}
|
|
811
826
|
];
|
|
812
827
|
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
828
|
+
/** 移动端间距:仅 Search vs Search + 全选/排序条(双情况对照,开关可拆开全选/排序) */
|
|
829
|
+
const SearchSelectSortMobileExample = () => {
|
|
830
|
+
const searchOnlyRef = useRef();
|
|
831
|
+
const withToolbarRef = useRef();
|
|
832
|
+
const [enableSelectAll, setEnableSelectAll] = useState(true);
|
|
833
|
+
const [enableSort, setEnableSort] = useState(true);
|
|
834
|
+
const { selectedRows, getRowSelection, clearSelectedRows } = Table.useSelectedRow({ rowKey: 'id' });
|
|
835
|
+
const { sort, sortRender, mobileSortToolbar } = Table.useSort({
|
|
836
|
+
onSortChange: newSort => {
|
|
837
|
+
withToolbarRef.current?.reload({ data: { sort: newSort } });
|
|
838
|
+
}
|
|
839
|
+
});
|
|
840
|
+
|
|
841
|
+
const loadSharedGroups = ({ data, requestParams }, { applySort = false } = {}) => {
|
|
842
|
+
const keyword = String(data?.keyword ?? requestParams?.data?.keyword ?? '').trim().toLowerCase();
|
|
843
|
+
const sortParams = data?.sort ?? requestParams?.data?.sort ?? sort;
|
|
844
|
+
let list = sharedGroups;
|
|
845
|
+
if (keyword) {
|
|
846
|
+
list = list.filter(
|
|
847
|
+
item =>
|
|
848
|
+
String(item.name).toLowerCase().includes(keyword) ||
|
|
849
|
+
String(item.description).toLowerCase().includes(keyword)
|
|
850
|
+
);
|
|
851
|
+
}
|
|
852
|
+
const sorted =
|
|
853
|
+
applySort && sortParams?.length ? Table.sortDataSource(list, sortParams, sharedGroupColumns) : list;
|
|
854
|
+
return Promise.resolve({
|
|
855
|
+
pageData: sorted,
|
|
856
|
+
totalCount: sorted.length
|
|
857
|
+
});
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
const dataFormat = data => ({
|
|
861
|
+
list: data.pageData,
|
|
862
|
+
total: data.totalCount,
|
|
863
|
+
data
|
|
864
|
+
});
|
|
865
|
+
|
|
866
|
+
return (
|
|
867
|
+
<Flex vertical gap={24}>
|
|
868
|
+
<div style={{ color: '#666', fontSize: 13, lineHeight: 1.7 }}>
|
|
869
|
+
<Tag color="blue" style={{ marginRight: 8 }}>
|
|
870
|
+
移动端 Search 间距
|
|
871
|
+
</Tag>
|
|
872
|
+
对照两种布局(请切手机预览):
|
|
873
|
+
<strong>仅 SearchInput</strong> → 与卡片列表有间距;
|
|
874
|
+
<strong>SearchInput + 全选/排序条</strong> → Search 与下方「全选 | 排序」行有间距。无 filter / tab / batch。
|
|
829
875
|
</div>
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
<
|
|
833
|
-
<
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
876
|
+
|
|
877
|
+
<Flex vertical gap={12} style={{ padding: 16, background: '#fafafa', borderRadius: 8 }}>
|
|
878
|
+
<div style={{ fontWeight: 600, color: 'rgba(0,0,0,0.88)' }}>情况 A:只有 SearchInput</div>
|
|
879
|
+
<div style={{ color: '#666', fontSize: 13, lineHeight: 1.7 }}>
|
|
880
|
+
只配 <code>search</code> + <code>renderMobile</code>,不配 <code>rowSelection</code> / <code>mobileSortToolbar</code>。
|
|
881
|
+
SearchInput 正下方应直接是卡片列表,中间保留间距。
|
|
882
|
+
</div>
|
|
883
|
+
<TablePage
|
|
884
|
+
ref={searchOnlyRef}
|
|
885
|
+
name="demo-mobile-gap-search-only"
|
|
886
|
+
pagination={{ open: false }}
|
|
887
|
+
search={{ name: 'keyword', label: '关键词', placeholder: '搜索共享组名称' }}
|
|
888
|
+
columns={sharedGroupColumns}
|
|
889
|
+
renderMobile
|
|
890
|
+
dataFormat={dataFormat}
|
|
891
|
+
loader={ctx => loadSharedGroups(ctx, { applySort: false })}
|
|
892
|
+
/>
|
|
837
893
|
</Flex>
|
|
838
|
-
<div
|
|
839
|
-
style={{
|
|
840
|
-
display: '-webkit-box',
|
|
841
|
-
WebkitBoxOrient: 'vertical',
|
|
842
|
-
WebkitLineClamp: 2,
|
|
843
|
-
overflow: 'hidden',
|
|
844
|
-
fontSize: 13,
|
|
845
|
-
lineHeight: 1.5,
|
|
846
|
-
color: 'rgba(0,0,0,0.45)'
|
|
847
|
-
}}
|
|
848
|
-
>
|
|
849
|
-
{item.description}
|
|
850
|
-
</div>
|
|
851
|
-
</div>
|
|
852
|
-
</div>
|
|
853
|
-
);
|
|
854
894
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
895
|
+
<Flex vertical gap={12} style={{ padding: 16, background: '#fafafa', borderRadius: 8 }}>
|
|
896
|
+
<Flex justify="space-between" align="center" wrap="wrap" gap={12}>
|
|
897
|
+
<div style={{ fontWeight: 600, color: 'rgba(0,0,0,0.88)' }}>情况 B:SearchInput + 全选 / 排序条</div>
|
|
898
|
+
<Space wrap>
|
|
899
|
+
<Flex align="center" gap={8}>
|
|
900
|
+
<Switch
|
|
901
|
+
checked={enableSelectAll}
|
|
902
|
+
onChange={checked => {
|
|
903
|
+
setEnableSelectAll(checked);
|
|
904
|
+
if (!checked) {
|
|
905
|
+
clearSelectedRows();
|
|
906
|
+
}
|
|
907
|
+
}}
|
|
908
|
+
/>
|
|
909
|
+
<span>全选条</span>
|
|
910
|
+
</Flex>
|
|
911
|
+
<Flex align="center" gap={8}>
|
|
912
|
+
<Switch
|
|
913
|
+
checked={enableSort}
|
|
914
|
+
onChange={checked => {
|
|
915
|
+
setEnableSort(checked);
|
|
916
|
+
withToolbarRef.current?.reload({ data: { sort: checked ? sort : [] } });
|
|
917
|
+
}}
|
|
918
|
+
/>
|
|
919
|
+
<span>排序条</span>
|
|
920
|
+
</Flex>
|
|
921
|
+
</Space>
|
|
881
922
|
</Flex>
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
923
|
+
<div style={{ color: '#666', fontSize: 13, lineHeight: 1.7 }}>
|
|
924
|
+
默认同时开启全选与排序(工具栏左侧全选、右侧排序)。可用开关单独关掉某一项;两项都开时,SearchInput 与「全选 | 排序」行之间不可紧贴。
|
|
925
|
+
</div>
|
|
926
|
+
<TablePage
|
|
927
|
+
key={`mobile-gap-with-toolbar-${enableSelectAll}-${enableSort}`}
|
|
928
|
+
ref={withToolbarRef}
|
|
929
|
+
name="demo-mobile-gap-search-select-sort"
|
|
930
|
+
pagination={{ open: false }}
|
|
931
|
+
search={{ name: 'keyword', label: '关键词', placeholder: '搜索共享组名称' }}
|
|
932
|
+
columns={sharedGroupColumns}
|
|
933
|
+
renderMobile
|
|
934
|
+
sortRender={enableSort ? sortRender : undefined}
|
|
935
|
+
mobileSortToolbar={enableSort ? mobileSortToolbar : undefined}
|
|
936
|
+
rowSelection={
|
|
937
|
+
enableSelectAll
|
|
938
|
+
? getRowSelection(sharedGroups, { type: 'checkbox', allowSelectedAll: true })
|
|
939
|
+
: undefined
|
|
940
|
+
}
|
|
941
|
+
selectedRows={enableSelectAll ? selectedRows : undefined}
|
|
942
|
+
dataFormat={dataFormat}
|
|
943
|
+
loader={ctx => loadSharedGroups(ctx, { applySort: enableSort })}
|
|
944
|
+
/>
|
|
945
|
+
</Flex>
|
|
946
|
+
</Flex>
|
|
947
|
+
);
|
|
948
|
+
};
|
|
886
949
|
|
|
887
950
|
|
|
888
951
|
|
|
@@ -1227,7 +1290,7 @@ render(
|
|
|
1227
1290
|
<Flex vertical gap={32}>
|
|
1228
1291
|
<BaseExample />
|
|
1229
1292
|
<TreePageExample />
|
|
1230
|
-
<
|
|
1293
|
+
<SearchSelectSortMobileExample />
|
|
1231
1294
|
</Flex>
|
|
1232
1295
|
);
|
|
1233
1296
|
|
|
@@ -4219,6 +4282,7 @@ render(<BaseExample />);
|
|
|
4219
4282
|
| onChange | function | - | 自定义翻页回调 `(page, size) => void`,传入后覆盖默认请求逻辑 |
|
|
4220
4283
|
| onShowSizeChange | function | - | 每页条数变化回调,组件内部已处理持久化 |
|
|
4221
4284
|
| forcePagination | boolean | `false` | 移动端(`renderMobile` 激活时)与 PC 卡片模式(`renderCard` 生效且切到卡片视图时)默认改为触底下拉加载;设为 `true` 时强制仍使用分页器 |
|
|
4285
|
+
| forceLoadMore | boolean | `false` | PC Table / TableView(非移动端、非卡片视图)默认使用底部分页器;设为 `true` 时改为触底下拉加载并隐藏分页器。与 `forcePagination` 同时为 `true` 时以 `forcePagination` 为准。触底由外层 `ScrollLoader` 驱动,勿再给 Table 设 `scroll.y`(表体内滚动会导致触底不触发);弹窗等场景请给外层定高 |
|
|
4222
4286
|
| mergeList | function | 合并 `pageData` | 下拉加载时合并新旧数据 `(prev, next) => data`,需与 `loader` 返回结构一致 |
|
|
4223
4287
|
| loadMore | object | - | 透传给 `@kne/scroll-loader` 的额外配置(如 `completeTips`、`maxFullCount`) |
|
|
4224
4288
|
| mobile | object | - | 强制分页时的移动端分页器微调(如 `showSizeChanger`、`showLessItems`) |
|
|
@@ -4333,6 +4397,8 @@ render(<BaseExample />);
|
|
|
4333
4397
|
|
|
4334
4398
|
移动端(`renderMobile` 激活)默认使用触底下拉加载(`@kne/scroll-loader` + `react-fetch` 的 `loadMore`),不再展示分页器。若需移动端仍使用分页,请设置 `pagination.forcePagination: true`。
|
|
4335
4399
|
|
|
4400
|
+
PC 桌面 Table 默认使用底部分页器。若需在 Table 模式下也触底下拉加载,请设置 `pagination.forceLoadMore: true`(与 `forcePagination` 同时开启时以后者为准)。
|
|
4401
|
+
|
|
4336
4402
|
#### renderType
|
|
4337
4403
|
|
|
4338
4404
|
通过 `renderType` 选择内部使用的表格组件,默认为 `Table`:
|
|
@@ -4369,7 +4435,7 @@ render(<BaseExample />);
|
|
|
4369
4435
|
|
|
4370
4436
|
### TableView
|
|
4371
4437
|
|
|
4372
|
-
表格视图组件,基于
|
|
4438
|
+
表格视图组件,基于 CSS Grid 布局实现。实现位于 `@kne/table-view`,本包为兼容继续导出。
|
|
4373
4439
|
|
|
4374
4440
|
#### 属性
|
|
4375
4441
|
|
|
@@ -4548,7 +4614,7 @@ const sortedData = useMemo(() => Table.sortDataSource(dataSource, sort, columns)
|
|
|
4548
4614
|
|
|
4549
4615
|
### Table
|
|
4550
4616
|
|
|
4551
|
-
表格组件,以 antd `Table`
|
|
4617
|
+
表格组件,以 antd `Table` 作为展示层。实现位于 `@kne/table-view`,本包为兼容继续导出。外层 API 与 `TableView` 保持一致。
|
|
4552
4618
|
|
|
4553
4619
|
#### 属性
|
|
4554
4620
|
|
package/dist/index.css
CHANGED
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["style.module.scss","tableToolbar.module.scss"],"names":[],"mappings":"AAAA;EACE,YAAY;EACZ,oBAAoB;EACpB,kBAAkB;EAClB,yBAAyB;AAC3B;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,aAAa;EACb,4BAA4B;EAC5B,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,oBAAoB;EACpB,gBAAgB;EAChB,WAAW;AACb;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;AACd;AACA;EACE,wFAAwF;AAC1F;;AAEA;EACE,yBAAyB;EACz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EAClC,8CAA8C;AAChD;AACA;;;EAGE,uBAAuB;EACvB,2BAA2B;EAC3B,sDAAsD;EACtD,wDAAwD;AAC1D;AACA;EACE,uBAAuB;EACvB,kCAAkC;EAClC,UAAU;AACZ;;AAEA;EACE,uBAAuB;EACvB,UAAU;EACV,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,gBAAgB;AAClB;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,iBAAiB;AACnB;;AAEA;EACE;IACE,sBAAsB;IACtB,oBAAoB;IACpB,QAAQ;EACV;EACA;IACE,WAAW;IACX,YAAY;IACZ,aAAa;IACb,mBAAmB;EACrB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,gBAAgB;EAClB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,iBAAiB;EACnB;EACA;IACE,oBAAoB;EACtB;AACF;AACA;EACE,WAAW;EACX,eAAe;EACf,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,yBAAyB;EACzB,QAAQ;AACV;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,wBAAwB;EACxB,eAAe;EACf,YAAY;AACd;AACA;;;EAGE,uBAAuB;EACvB,eAAe;AACjB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;;AAEA;EACE,cAAc;EACd,WAAW;EACX,cAAc;EACd,cAAc;EACd,sBAAsB;AACxB;AACA;EACE,cAAc;AAChB;AACA;;;;;EAKE,sBAAsB;EACtB,eAAe;EACf,sBAAsB;AACxB;;AAEA;EACE,OAAO;EACP,YAAY;EACZ,eAAe;EACf,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,UAAU;EACV,kBAAkB;EAClB,YAAY;EACZ,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;;AAEA;;;EAGE,WAAW;EACX,qBAAqB;EACrB,oBAAoB;EACpB,4BAA4B;EAC5B,8BAA8B;AAChC;AACA;EACE,wBAAwB;EACxB,oBAAoB;EACpB,wBAAwB;EACxB,2BAA2B;AAC7B;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,WAAW;AACb;AACA;EACE,gBAAgB;EAChB,QAAQ;AACV;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;EACZ,cAAc;AAChB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;;AAEA;EACE,eAAe;EACf,YAAY;AACd;AACA;;EAEE,sBAAsB;EACtB,wBAAwB;EACxB,WAAW;EACX,eAAe;EACf,YAAY;EACZ,8BAA8B;EAC9B,wBAAwB;EACxB,4BAA4B;EAC5B,8BAA8B;EAC9B,mBAAmB;AACrB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,gBAAgB;EAChB,QAAQ;AACV;AACA;EACE,oBAAoB;AACtB;;AAEA;EACE,mBAAmB;AACrB;AACA;;;EAGE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;AACA;;EAEE,4BAA4B;AAC9B","file":"index.css","sourcesContent":[":global(.loading-container.is-loading) {\n opacity: 0.5;\n pointer-events: none;\n position: relative;\n transition: opacity 300ms;\n}\n\n.table-page {\n display: flex;\n flex-direction: column;\n min-width: 0;\n max-width: 100%;\n}\n\n.fetch-stack {\n display: grid;\n grid-template-areas: \"stack\";\n width: 100%;\n min-width: 0;\n max-width: 100%;\n}\n.fetch-stack > * {\n grid-area: stack;\n min-width: 0;\n max-width: 100%;\n}\n\n.toolbar-height-reserve {\n visibility: hidden;\n pointer-events: none;\n min-height: 41px;\n width: 100%;\n}\n\n.table-page-tabs-outer {\n margin-bottom: 8px;\n}\n\n.table-content {\n min-width: 0;\n}\n.table-content :global(.info-page-table) {\n scroll-margin-top: var(--scroll-top-inset, var(--sticky-offset, var(--nav-height, 0px)));\n}\n\n.table-with-toolbar {\n border: 1px solid #f0f0f0;\n border-radius: var(--radius-default, 2px);\n overflow: hidden;\n}\n.table-with-toolbar.is-sticky {\n overflow: visible;\n}\n.table-with-toolbar.is-loading-shell {\n border-bottom: 1px solid #f0f0f0;\n}\n.table-with-toolbar.is-mobile-render {\n display: flex;\n flex-direction: column;\n gap: 0;\n border: none;\n border-radius: 0;\n overflow: visible;\n}\n.table-with-toolbar.is-mobile-render.is-loading-shell {\n border-bottom: none;\n}\n.table-with-toolbar :global(.table-page-toolbar) {\n border-start-start-radius: var(--radius-default, 2px);\n border-start-end-radius: var(--radius-default, 2px);\n}\n.table-with-toolbar :global(.table-page-toolbar-section) {\n scroll-margin-top: var(--scroll-top-inset, var(--sticky-offset, var(--nav-height, 0px)));\n}\n.table-with-toolbar :global(.info-page-table) {\n border: none;\n border-radius: 0;\n}\n.table-with-toolbar :global(.info-page-table) :global(.ant-table-header) {\n border-start-start-radius: 0 !important;\n border-start-end-radius: 0 !important;\n}\n.table-with-toolbar :global(.info-page-table):not(.has-summary) :global(.ant-table-tbody > tr:last-child > .ant-table-cell:first-child) {\n border-end-start-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table):not(.has-summary) :global(.ant-table-tbody > tr:last-child > .ant-table-cell:last-child) {\n border-end-end-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table).has-summary :global(.ant-table-summary > tr > .ant-table-cell:first-child) {\n border-end-start-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table).has-summary :global(.ant-table-summary > tr > .ant-table-cell:last-child) {\n border-end-end-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table) :global(.ant-table-placeholder > .ant-table-cell) {\n border-end-start-radius: var(--radius-default, 2px) !important;\n border-end-end-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.table-page-toolbar-section--has-value) + :global(.info-page-table) :global(.ant-table-thead > tr.info-page-table-header:first-child > .ant-table-cell) {\n border-top: none !important;\n}\n.table-with-toolbar :global(.ant-table-thead > tr.info-page-table-header:first-child > .ant-table-cell:first-child) {\n border-start-start-radius: 0 !important;\n}\n.table-with-toolbar :global(.ant-table-thead > tr.info-page-table-header:first-child > .ant-table-cell:last-child) {\n border-start-end-radius: 0 !important;\n}\n\n.table-cell-skeleton {\n max-width: 120px !important;\n height: 16px !important;\n min-height: 16px !important;\n vertical-align: top;\n}\n\n.table-skeleton-spin {\n width: 100%;\n min-height: 160px;\n}\n\n.table-in-toolbar {\n border: none !important;\n border-radius: 0 !important;\n}\n\n.table-with-toolbar.is-card-mode {\n border-color: transparent;\n}\n.table-with-toolbar.is-card-mode :global(.table-page-toolbar) {\n padding-inline: 0;\n}\n\n.is-card-render {\n padding-top: 12px;\n}\n\n.card-mode-toggle {\n flex-shrink: 0;\n background: var(--bg-color-grey-1, #f5f5f5);\n}\n.card-mode-toggle :global(.ant-segmented-item:not(.ant-segmented-item-selected)) {\n color: var(--font-color-grey, #666);\n}\n.card-mode-toggle :global(.ant-segmented-item-selected) {\n color: var(--primary-color, #1677ff);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n\n.is-mobile-render {\n border: none !important;\n border-radius: 0 !important;\n}\n\n.mobile-load-more {\n width: 100%;\n}\n\n.pagination:global(.ant-pagination) {\n margin-top: 16px;\n display: flex;\n justify-content: flex-end;\n}\n.pagination:global(.ant-pagination).is-mobile-render {\n justify-content: center;\n}\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-prev),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-item),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-prev),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-next),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-next) {\n margin: 0 !important;\n margin-inline: 0 !important;\n border: none !important;\n box-shadow: none !important;\n}\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-prev .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-next .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-prev .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-next .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-item a) {\n border: none !important;\n box-shadow: none !important;\n}\n\n.total_text {\n color: var(--primary-color, #1677ff);\n font-weight: 500;\n padding: 0 2px;\n}",".kne-responsive-boundary {\n position: relative;\n}\n\n.kne-responsive-scroll {\n overflow: auto;\n}\n\n:root {\n --kne-viewport-width: 100vw;\n --kne-viewport-height: 100dvh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100dvh;\n}\n\n.kne-responsive-boundary {\n --kne-viewport-width: 100vw;\n --kne-viewport-height: 100dvh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100dvh;\n}\n\n.table-toolbar-section {\n border-bottom: 1px solid #f0f0f0;\n position: relative;\n z-index: 2;\n}\n.table-toolbar-section.has-value-display .table-toolbar {\n padding-bottom: 0;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display {\n padding-top: 8px;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.title),\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.value-display),\n.table-toolbar-section.has-value-display .table-toolbar-value-display > :global(.ant-space) {\n border-bottom: none !important;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.line) {\n border-bottom: none !important;\n}\n\n.table-toolbar {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n box-sizing: border-box;\n}\n.table-toolbar:not(.is-mobile) {\n min-height: 41px;\n}\n\n.table-toolbar-batch {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.table-toolbar-batch-btn {\n border: none !important;\n box-shadow: none !important;\n background: var(--bg-color-grey-1, #f5f5f5) !important;\n}\n.table-toolbar-batch-btn:not(:disabled):hover {\n border: none !important;\n background: var(--bg-color-grey-2, #f0f0f0) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n.table-toolbar-batch-btn:disabled {\n border: none !important;\n background: var(--bg-color-grey-1, #f5f5f5) !important;\n color: var(--font-color-grey-2, #cccccc) !important;\n}\n\n.table-toolbar:not(.is-mobile) .table-toolbar-batch-btn {\n min-width: 96px;\n}\n\n.table-toolbar-batch-clear-btn {\n border: none !important;\n box-shadow: none !important;\n background: var(--bg-color-grey-1, #f5f5f5) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n.table-toolbar-batch-clear-btn:not(:disabled):hover {\n border: none !important;\n background: var(--bg-color-grey-2, #f0f0f0) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n\n.table-toolbar-actions {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n margin-left: auto;\n min-width: 0;\n}\n\n.table-toolbar-button-group {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n}\n\n.table-toolbar-search {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.table-toolbar-search:not(.table-toolbar-search-row) .table-toolbar-search-input,\n.table-toolbar-search:not(.table-toolbar-search-row) :global(.ant-input-search),\n.table-toolbar-search:not(.table-toolbar-search-row) :global(.ant-input-group-wrapper) {\n width: 180px !important;\n max-width: 100%;\n}\n.table-toolbar-search :global(.ant-input-search) {\n background: var(--bg-color-grey-1, #f5f5f5);\n border-radius: var(--radius-default, 2px);\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input) {\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper:hover),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper-focused),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper-focused-within),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input:hover),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input:focus) {\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-btn),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-button),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-btn) {\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n color: var(--font-color-grey, #666) !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-btn):not(:disabled):hover,\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-button):not(:disabled):hover,\n.table-toolbar-search :global(.ant-input-search) :global(.ant-btn):not(:disabled):hover {\n border: none !important;\n box-shadow: none !important;\n background: var(--bg-color-grey-2, #f0f0f0) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-group-addon) {\n border: none !important;\n background: transparent !important;\n padding: 0;\n}\n\n.table-page-tabs {\n background: transparent;\n padding: 0;\n position: relative;\n z-index: 2;\n}\n.table-page-tabs :global(.ant-tabs) {\n margin-bottom: 0;\n}\n.table-page-tabs :global(.ant-tabs-nav) {\n margin-bottom: 0 !important;\n}\n.table-page-tabs :global(.ant-tabs-nav)::before {\n border-bottom-color: #f0f0f0;\n}\n.table-page-tabs :global(.ant-tabs-tab) {\n padding: 10px 0 !important;\n}\n.table-page-tabs.is-mobile-render {\n padding-inline: 0;\n}\n\n@container kne-responsive (max-width: 768px) {\n .table-toolbar.is-mobile {\n flex-direction: column;\n align-items: stretch;\n gap: 8px;\n }\n .table-toolbar-mobile-actions {\n width: 100%;\n min-width: 0;\n display: flex;\n align-items: center;\n }\n .table-toolbar-section.has-mobile-search .table-toolbar-search-row {\n padding: 8px 16px 0;\n }\n .table-toolbar-section.has-mobile-search .table-toolbar.is-mobile {\n padding-top: 8px;\n }\n .table-toolbar-section.has-mobile-search.has-mobile-search-only .table-toolbar-search-row {\n padding-bottom: 8px;\n }\n .table-toolbar-section.has-mobile-search.is-mobile-render.has-mobile-search-only .table-toolbar-search-row {\n padding-bottom: 0;\n }\n .table-toolbar-section.has-tabs .table-page-tabs {\n padding-inline: 16px;\n }\n}\n.table-toolbar-mobile-filter-row {\n width: 100%;\n max-width: 100%;\n min-width: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter {\n flex: 1 1 0;\n min-width: 0;\n max-width: 100%;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner {\n width: 100%;\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.title) {\n display: flex !important;\n max-width: 100%;\n min-width: 0;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.list),\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.list-scroll-wrap),\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.list-scroll) {\n min-width: 0 !important;\n max-width: 100%;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-button-group {\n flex-shrink: 0;\n margin-left: auto;\n}\n\n.table-toolbar-search-row {\n display: block;\n width: 100%;\n margin-left: 0;\n flex-shrink: 1;\n box-sizing: border-box;\n}\n.table-toolbar-search-row.table-toolbar-search {\n margin-left: 0;\n}\n.table-toolbar-search-row .table-toolbar-search-input,\n.table-toolbar-search-row :global(.ant-input-search),\n.table-toolbar-search-row :global(.ant-input-group-wrapper),\n.table-toolbar-search-row :global(.ant-input-group),\n.table-toolbar-search-row :global(.ant-input-affix-wrapper) {\n width: 100% !important;\n max-width: 100%;\n box-sizing: border-box;\n}\n\n.table-toolbar-filter {\n flex: 1;\n min-width: 0;\n max-width: 100%;\n display: flex;\n align-items: center;\n}\n\n.table-toolbar-divider {\n flex-shrink: 0;\n width: 1px;\n align-self: center;\n height: 16px;\n background: #f0f0f0;\n}\n\n.table-toolbar-filter-outer {\n width: 100%;\n min-width: 0;\n max-width: 100%;\n}\n\n.table-toolbar-filter-inner {\n width: 100%;\n min-width: 0;\n max-width: 100%;\n}\n\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.title),\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.more-row),\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.children) {\n width: 100%;\n padding: 0 !important;\n margin: 0 !important;\n line-height: 24px !important;\n border-bottom: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.children:not(:has(.ant-space-item))) {\n display: none !important;\n height: 0 !important;\n min-height: 0 !important;\n overflow: hidden !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.title > .ant-space-item:first-child) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.label) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.list) {\n width: 100%;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.line) {\n min-height: 24px;\n gap: 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item-wrap) {\n height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item) {\n height: 24px;\n padding: 0 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item) :global(.ant-space-item) {\n line-height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item-label) {\n line-height: 24px;\n}\n\n.table-toolbar-value-display {\n max-width: 100%;\n min-width: 0;\n}\n.table-toolbar-value-display :global(.value-display),\n.table-toolbar-value-display :global(.title) {\n box-sizing: border-box;\n display: flex !important;\n width: 100%;\n max-width: 100%;\n min-width: 0;\n padding: 0 16px 6px !important;\n margin-top: 0 !important;\n line-height: 22px !important;\n border-bottom: none !important;\n gap: 8px !important;\n}\n.table-toolbar-value-display :global(.value-display .label) {\n line-height: 22px;\n}\n.table-toolbar-value-display :global(.value-display .line) {\n min-height: 22px;\n gap: 6px;\n}\n.table-toolbar-value-display :global(.value-tag) {\n margin-inline-end: 0;\n}\n\n.table-toolbar-section.is-mobile-render {\n border-bottom: none;\n}\n.table-toolbar-section.is-mobile-render .table-toolbar,\n.table-toolbar-section.is-mobile-render .table-toolbar-search-row,\n.table-toolbar-section.is-mobile-render .table-page-tabs {\n padding-inline: 0;\n}\n.table-toolbar-section.is-mobile-render.has-mobile-search .table-toolbar-search-row {\n padding-inline: 0;\n}\n\n.table-toolbar-value-display.is-mobile-render {\n padding-inline: 0;\n}\n.table-toolbar-value-display.is-mobile-render :global(.value-display),\n.table-toolbar-value-display.is-mobile-render :global(.title) {\n padding-inline: 0 !important;\n}"]}
|
|
1
|
+
{"version":3,"sources":["style.module.scss","tableToolbar.module.scss"],"names":[],"mappings":"AAAA;EACE,YAAY;EACZ,oBAAoB;EACpB,kBAAkB;EAClB,yBAAyB;AAC3B;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,aAAa;EACb,4BAA4B;EAC5B,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,oBAAoB;EACpB,gBAAgB;EAChB,WAAW;AACb;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;AACd;AACA;EACE,wFAAwF;AAC1F;;AAEA;EACE,yBAAyB;EACzB,yCAAyC;EACzC,gBAAgB;AAClB;AACA;EACE,iBAAiB;AACnB;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B;EAC3B,sDAAsD;EACtD,wDAAwD;AAC1D;AACA;EACE,uBAAuB;EACvB,kCAAkC;EAClC,UAAU;AACZ;;AAEA;EACE,uBAAuB;EACvB,UAAU;EACV,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,gBAAgB;AAClB;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,iBAAiB;AACnB;;AAEA;EACE;IACE,sBAAsB;IACtB,oBAAoB;IACpB,QAAQ;EACV;EACA;IACE,WAAW;IACX,YAAY;IACZ,aAAa;IACb,mBAAmB;EACrB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,gBAAgB;EAClB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,iBAAiB;EACnB;EACA;IACE,oBAAoB;EACtB;AACF;AACA;EACE,WAAW;EACX,eAAe;EACf,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,yBAAyB;EACzB,QAAQ;AACV;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,wBAAwB;EACxB,eAAe;EACf,YAAY;AACd;AACA;;;EAGE,uBAAuB;EACvB,eAAe;AACjB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;;AAEA;EACE,cAAc;EACd,WAAW;EACX,cAAc;EACd,cAAc;EACd,sBAAsB;AACxB;AACA;EACE,cAAc;AAChB;AACA;;;;;EAKE,sBAAsB;EACtB,eAAe;EACf,sBAAsB;AACxB;;AAEA;EACE,OAAO;EACP,YAAY;EACZ,eAAe;EACf,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,UAAU;EACV,kBAAkB;EAClB,YAAY;EACZ,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;;AAEA;;;EAGE,WAAW;EACX,qBAAqB;EACrB,oBAAoB;EACpB,4BAA4B;EAC5B,8BAA8B;AAChC;AACA;EACE,wBAAwB;EACxB,oBAAoB;EACpB,wBAAwB;EACxB,2BAA2B;AAC7B;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,WAAW;AACb;AACA;EACE,gBAAgB;EAChB,QAAQ;AACV;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;EACZ,cAAc;AAChB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;;AAEA;EACE,eAAe;EACf,YAAY;AACd;AACA;;EAEE,sBAAsB;EACtB,wBAAwB;EACxB,WAAW;EACX,eAAe;EACf,YAAY;EACZ,8BAA8B;EAC9B,wBAAwB;EACxB,4BAA4B;EAC5B,8BAA8B;EAC9B,mBAAmB;AACrB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,gBAAgB;EAChB,QAAQ;AACV;AACA;EACE,oBAAoB;AACtB;;AAEA;EACE,mBAAmB;AACrB;AACA;;;EAGE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;AACA;;EAEE,4BAA4B;AAC9B","file":"index.css","sourcesContent":[":global(.loading-container.is-loading) {\n opacity: 0.5;\n pointer-events: none;\n position: relative;\n transition: opacity 300ms;\n}\n\n.table-page {\n display: flex;\n flex-direction: column;\n min-width: 0;\n max-width: 100%;\n}\n\n.fetch-stack {\n display: grid;\n grid-template-areas: \"stack\";\n width: 100%;\n min-width: 0;\n max-width: 100%;\n}\n.fetch-stack > * {\n grid-area: stack;\n min-width: 0;\n max-width: 100%;\n}\n\n.toolbar-height-reserve {\n visibility: hidden;\n pointer-events: none;\n min-height: 41px;\n width: 100%;\n}\n\n.table-page-tabs-outer {\n margin-bottom: 8px;\n}\n\n.table-content {\n min-width: 0;\n}\n.table-content :global(.info-page-table) {\n scroll-margin-top: var(--scroll-top-inset, var(--sticky-offset, var(--nav-height, 0px)));\n}\n\n.table-with-toolbar {\n border: 1px solid #f0f0f0;\n border-radius: var(--radius-default, 2px);\n overflow: hidden;\n}\n.table-with-toolbar.is-sticky {\n overflow: visible;\n}\n.table-with-toolbar.is-loading-shell {\n border-bottom: 1px solid #f0f0f0;\n}\n.table-with-toolbar.is-mobile-render {\n display: flex;\n flex-direction: column;\n gap: 8px;\n border: none;\n border-radius: 0;\n overflow: visible;\n}\n.table-with-toolbar.is-mobile-render.is-loading-shell {\n border-bottom: none;\n}\n.table-with-toolbar :global(.table-page-toolbar) {\n border-start-start-radius: var(--radius-default, 2px);\n border-start-end-radius: var(--radius-default, 2px);\n}\n.table-with-toolbar :global(.table-page-toolbar-section) {\n scroll-margin-top: var(--scroll-top-inset, var(--sticky-offset, var(--nav-height, 0px)));\n}\n.table-with-toolbar :global(.info-page-table) {\n border: none;\n border-radius: 0;\n}\n.table-with-toolbar :global(.info-page-table) :global(.ant-table-header) {\n border-start-start-radius: 0 !important;\n border-start-end-radius: 0 !important;\n}\n.table-with-toolbar :global(.info-page-table):not(.has-summary) :global(.ant-table-tbody > tr:last-child > .ant-table-cell:first-child) {\n border-end-start-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table):not(.has-summary) :global(.ant-table-tbody > tr:last-child > .ant-table-cell:last-child) {\n border-end-end-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table).has-summary :global(.ant-table-summary > tr > .ant-table-cell:first-child) {\n border-end-start-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table).has-summary :global(.ant-table-summary > tr > .ant-table-cell:last-child) {\n border-end-end-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.info-page-table) :global(.ant-table-placeholder > .ant-table-cell) {\n border-end-start-radius: var(--radius-default, 2px) !important;\n border-end-end-radius: var(--radius-default, 2px) !important;\n}\n.table-with-toolbar :global(.table-page-toolbar-section--has-value) + :global(.info-page-table) :global(.ant-table-thead > tr.info-page-table-header:first-child > .ant-table-cell) {\n border-top: none !important;\n}\n.table-with-toolbar :global(.ant-table-thead > tr.info-page-table-header:first-child > .ant-table-cell:first-child) {\n border-start-start-radius: 0 !important;\n}\n.table-with-toolbar :global(.ant-table-thead > tr.info-page-table-header:first-child > .ant-table-cell:last-child) {\n border-start-end-radius: 0 !important;\n}\n\n.table-cell-skeleton {\n max-width: 120px !important;\n height: 16px !important;\n min-height: 16px !important;\n vertical-align: top;\n}\n\n.table-skeleton-spin {\n width: 100%;\n min-height: 160px;\n}\n\n.table-in-toolbar {\n border: none !important;\n border-radius: 0 !important;\n}\n\n.table-with-toolbar.is-card-mode {\n border-color: transparent;\n}\n.table-with-toolbar.is-card-mode :global(.table-page-toolbar) {\n padding-inline: 0;\n}\n\n.is-card-render {\n padding-top: 12px;\n}\n\n.card-mode-toggle {\n flex-shrink: 0;\n background: var(--bg-color-grey-1, #f5f5f5);\n}\n.card-mode-toggle :global(.ant-segmented-item:not(.ant-segmented-item-selected)) {\n color: var(--font-color-grey, #666);\n}\n.card-mode-toggle :global(.ant-segmented-item-selected) {\n color: var(--primary-color, #1677ff);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n\n.is-mobile-render {\n border: none !important;\n border-radius: 0 !important;\n}\n\n.mobile-load-more {\n width: 100%;\n}\n\n.pagination:global(.ant-pagination) {\n margin-top: 16px;\n display: flex;\n justify-content: flex-end;\n}\n.pagination:global(.ant-pagination).is-mobile-render {\n justify-content: center;\n}\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-prev),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-item),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-prev),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-next),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-next) {\n margin: 0 !important;\n margin-inline: 0 !important;\n border: none !important;\n box-shadow: none !important;\n}\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-prev .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-next .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-prev .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-jump-next .ant-pagination-item-link),\n.pagination:global(.ant-pagination).is-mobile-render :global(.ant-pagination-item a) {\n border: none !important;\n box-shadow: none !important;\n}\n\n.total_text {\n color: var(--primary-color, #1677ff);\n font-weight: 500;\n padding: 0 2px;\n}",".kne-responsive-boundary {\n position: relative;\n}\n\n.kne-responsive-scroll {\n overflow: auto;\n}\n\n:root {\n --kne-viewport-width: 100vw;\n --kne-viewport-height: 100dvh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100dvh;\n}\n\n.kne-responsive-boundary {\n --kne-viewport-width: 100vw;\n --kne-viewport-height: 100dvh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100dvh;\n}\n\n.table-toolbar-section {\n border-bottom: 1px solid #f0f0f0;\n position: relative;\n z-index: 2;\n}\n.table-toolbar-section.has-value-display .table-toolbar {\n padding-bottom: 0;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display {\n padding-top: 8px;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.title),\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.value-display),\n.table-toolbar-section.has-value-display .table-toolbar-value-display > :global(.ant-space) {\n border-bottom: none !important;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.line) {\n border-bottom: none !important;\n}\n\n.table-toolbar {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n box-sizing: border-box;\n}\n.table-toolbar:not(.is-mobile) {\n min-height: 41px;\n}\n\n.table-toolbar-batch {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.table-toolbar-batch-btn {\n border: none !important;\n box-shadow: none !important;\n background: var(--bg-color-grey-1, #f5f5f5) !important;\n}\n.table-toolbar-batch-btn:not(:disabled):hover {\n border: none !important;\n background: var(--bg-color-grey-2, #f0f0f0) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n.table-toolbar-batch-btn:disabled {\n border: none !important;\n background: var(--bg-color-grey-1, #f5f5f5) !important;\n color: var(--font-color-grey-2, #cccccc) !important;\n}\n\n.table-toolbar:not(.is-mobile) .table-toolbar-batch-btn {\n min-width: 96px;\n}\n\n.table-toolbar-batch-clear-btn {\n border: none !important;\n box-shadow: none !important;\n background: var(--bg-color-grey-1, #f5f5f5) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n.table-toolbar-batch-clear-btn:not(:disabled):hover {\n border: none !important;\n background: var(--bg-color-grey-2, #f0f0f0) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n\n.table-toolbar-actions {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n margin-left: auto;\n min-width: 0;\n}\n\n.table-toolbar-button-group {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n}\n\n.table-toolbar-search {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.table-toolbar-search:not(.table-toolbar-search-row) .table-toolbar-search-input,\n.table-toolbar-search:not(.table-toolbar-search-row) :global(.ant-input-search),\n.table-toolbar-search:not(.table-toolbar-search-row) :global(.ant-input-group-wrapper) {\n width: 180px !important;\n max-width: 100%;\n}\n.table-toolbar-search :global(.ant-input-search) {\n background: var(--bg-color-grey-1, #f5f5f5);\n border-radius: var(--radius-default, 2px);\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input) {\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper:hover),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper-focused),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-affix-wrapper-focused-within),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input:hover),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input:focus) {\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-btn),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-button),\n.table-toolbar-search :global(.ant-input-search) :global(.ant-btn) {\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n color: var(--font-color-grey, #666) !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-btn):not(:disabled):hover,\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-search-button):not(:disabled):hover,\n.table-toolbar-search :global(.ant-input-search) :global(.ant-btn):not(:disabled):hover {\n border: none !important;\n box-shadow: none !important;\n background: var(--bg-color-grey-2, #f0f0f0) !important;\n color: var(--font-color, rgba(0, 0, 0, 0.88)) !important;\n}\n.table-toolbar-search :global(.ant-input-search) :global(.ant-input-group-addon) {\n border: none !important;\n background: transparent !important;\n padding: 0;\n}\n\n.table-page-tabs {\n background: transparent;\n padding: 0;\n position: relative;\n z-index: 2;\n}\n.table-page-tabs :global(.ant-tabs) {\n margin-bottom: 0;\n}\n.table-page-tabs :global(.ant-tabs-nav) {\n margin-bottom: 0 !important;\n}\n.table-page-tabs :global(.ant-tabs-nav)::before {\n border-bottom-color: #f0f0f0;\n}\n.table-page-tabs :global(.ant-tabs-tab) {\n padding: 10px 0 !important;\n}\n.table-page-tabs.is-mobile-render {\n padding-inline: 0;\n}\n\n@container kne-responsive (max-width: 768px) {\n .table-toolbar.is-mobile {\n flex-direction: column;\n align-items: stretch;\n gap: 8px;\n }\n .table-toolbar-mobile-actions {\n width: 100%;\n min-width: 0;\n display: flex;\n align-items: center;\n }\n .table-toolbar-section.has-mobile-search .table-toolbar-search-row {\n padding: 8px 16px 0;\n }\n .table-toolbar-section.has-mobile-search .table-toolbar.is-mobile {\n padding-top: 8px;\n }\n .table-toolbar-section.has-mobile-search.has-mobile-search-only .table-toolbar-search-row {\n padding-bottom: 8px;\n }\n .table-toolbar-section.has-mobile-search.is-mobile-render.has-mobile-search-only .table-toolbar-search-row {\n padding-bottom: 0;\n }\n .table-toolbar-section.has-tabs .table-page-tabs {\n padding-inline: 16px;\n }\n}\n.table-toolbar-mobile-filter-row {\n width: 100%;\n max-width: 100%;\n min-width: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter {\n flex: 1 1 0;\n min-width: 0;\n max-width: 100%;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner {\n width: 100%;\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.title) {\n display: flex !important;\n max-width: 100%;\n min-width: 0;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.list),\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.list-scroll-wrap),\n.table-toolbar-mobile-filter-row .table-toolbar-filter-inner :global(.list-scroll) {\n min-width: 0 !important;\n max-width: 100%;\n}\n.table-toolbar-mobile-filter-row .table-toolbar-button-group {\n flex-shrink: 0;\n margin-left: auto;\n}\n\n.table-toolbar-search-row {\n display: block;\n width: 100%;\n margin-left: 0;\n flex-shrink: 1;\n box-sizing: border-box;\n}\n.table-toolbar-search-row.table-toolbar-search {\n margin-left: 0;\n}\n.table-toolbar-search-row .table-toolbar-search-input,\n.table-toolbar-search-row :global(.ant-input-search),\n.table-toolbar-search-row :global(.ant-input-group-wrapper),\n.table-toolbar-search-row :global(.ant-input-group),\n.table-toolbar-search-row :global(.ant-input-affix-wrapper) {\n width: 100% !important;\n max-width: 100%;\n box-sizing: border-box;\n}\n\n.table-toolbar-filter {\n flex: 1;\n min-width: 0;\n max-width: 100%;\n display: flex;\n align-items: center;\n}\n\n.table-toolbar-divider {\n flex-shrink: 0;\n width: 1px;\n align-self: center;\n height: 16px;\n background: #f0f0f0;\n}\n\n.table-toolbar-filter-outer {\n width: 100%;\n min-width: 0;\n max-width: 100%;\n}\n\n.table-toolbar-filter-inner {\n width: 100%;\n min-width: 0;\n max-width: 100%;\n}\n\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.title),\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.more-row),\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.children) {\n width: 100%;\n padding: 0 !important;\n margin: 0 !important;\n line-height: 24px !important;\n border-bottom: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.children:not(:has(.ant-space-item))) {\n display: none !important;\n height: 0 !important;\n min-height: 0 !important;\n overflow: hidden !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.title > .ant-space-item:first-child) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.label) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.list) {\n width: 100%;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.line) {\n min-height: 24px;\n gap: 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item-wrap) {\n height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item) {\n height: 24px;\n padding: 0 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item) :global(.ant-space-item) {\n line-height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.item-label) {\n line-height: 24px;\n}\n\n.table-toolbar-value-display {\n max-width: 100%;\n min-width: 0;\n}\n.table-toolbar-value-display :global(.value-display),\n.table-toolbar-value-display :global(.title) {\n box-sizing: border-box;\n display: flex !important;\n width: 100%;\n max-width: 100%;\n min-width: 0;\n padding: 0 16px 6px !important;\n margin-top: 0 !important;\n line-height: 22px !important;\n border-bottom: none !important;\n gap: 8px !important;\n}\n.table-toolbar-value-display :global(.value-display .label) {\n line-height: 22px;\n}\n.table-toolbar-value-display :global(.value-display .line) {\n min-height: 22px;\n gap: 6px;\n}\n.table-toolbar-value-display :global(.value-tag) {\n margin-inline-end: 0;\n}\n\n.table-toolbar-section.is-mobile-render {\n border-bottom: none;\n}\n.table-toolbar-section.is-mobile-render .table-toolbar,\n.table-toolbar-section.is-mobile-render .table-toolbar-search-row,\n.table-toolbar-section.is-mobile-render .table-page-tabs {\n padding-inline: 0;\n}\n.table-toolbar-section.is-mobile-render.has-mobile-search .table-toolbar-search-row {\n padding-inline: 0;\n}\n\n.table-toolbar-value-display.is-mobile-render {\n padding-inline: 0;\n}\n.table-toolbar-value-display.is-mobile-render :global(.value-display),\n.table-toolbar-value-display.is-mobile-render :global(.title) {\n padding-inline: 0 !important;\n}"]}
|
package/dist/index.js
CHANGED
|
@@ -1383,7 +1383,9 @@ const TablePageInnerContent = withLocale(_ref3 => {
|
|
|
1383
1383
|
const useMobileLoadMore = isMobileRenderActive && pagination.open && !pagination.forcePagination;
|
|
1384
1384
|
// PC 卡片模式默认下拉加载,pagination.forcePagination 为 true 时仍用分页
|
|
1385
1385
|
const useCardLoadMore = isCardModeActive && pagination.open && !pagination.forcePagination;
|
|
1386
|
-
|
|
1386
|
+
// PC Table:默认分页;pagination.forceLoadMore 强制触底下拉(与 forcePagination 互斥时以后者为准)
|
|
1387
|
+
const useTableLoadMore = !isMobileRenderActive && !isCardModeActive && pagination.open && !!pagination.forceLoadMore && !pagination.forcePagination;
|
|
1388
|
+
const useLoadMoreMode = useMobileLoadMore || useCardLoadMore || useTableLoadMore;
|
|
1387
1389
|
const currentPage = get__default["default"](requestParams, [pagination.paramsType, pagination.currentName], 1);
|
|
1388
1390
|
const currentPageSize = Number(get__default["default"](requestParams, [pagination.paramsType, pagination.pageSizeName], pagination.pageSize)) || pagination.pageSize || 20;
|
|
1389
1391
|
const loadMoreNoMore = !formatData.total || currentPage * currentPageSize >= formatData.total;
|