@kne/table-page 0.1.11 → 0.1.12
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 +253 -59
- package/dist/index.css +9 -0
- package/dist/index.css.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ npm i --save @kne/table-page
|
|
|
28
28
|
同时内置了顶部工具栏(`TableToolbar`),整合筛选、搜索、Tab 分类、批量操作等能力:
|
|
29
29
|
|
|
30
30
|
- **筛选(filter)**:基于 `@kne/react-filter` 的 `FilterLines`,支持多行多字段组合筛选,筛选值变化时自动 `reload` 并回到第 1 页
|
|
31
|
-
- **搜索(search)**:基于 `@kne/react-filter` 的 `SearchInput
|
|
31
|
+
- **搜索(search)**:基于 `@kne/react-filter` 的 `SearchInput`,支持关键词搜索与防抖自动提交,与筛选器共享筛选值状态;移动端开启 `renderMobile` 时,SearchInput 与下方卡片列表之间保留间距
|
|
32
32
|
- **Tab(tab)**:顶部分类切换,默认「全部」,选中值写入 filter value 并显示在已选标签;桌面端在表格边框外侧,移动端显示在 SearchInput 下方;可通过 `tabProps` 透传 antd Tabs 属性
|
|
33
33
|
- **批量操作(batchActions)**:配合 `rowSelection` 和 `useSelectedRow`,提供下拉菜单形式的批量操作(如批量导出、批量通知),未选中时自动禁用
|
|
34
34
|
- **已选筛选值展示**:工具栏下方展示当前生效的筛选条件标签,支持快速清除
|
|
@@ -115,7 +115,7 @@ npm i --save @kne/table-page
|
|
|
115
115
|
| `renderMobile` 值 | 行为 |
|
|
116
116
|
|-------------------|------|
|
|
117
117
|
| `true` | 默认卡片 List:每行一张卡片,字段列「标题 + 内容」纵向排列,`options` 操作列靠右(紧凑「⋯」入口) |
|
|
118
|
-
| `function` |
|
|
118
|
+
| `function` | 完全接管移动端渲染;回调含 `renderToolbar` / `getSelectionProps` / `getRowKey` 等,见 TableView API |
|
|
119
119
|
| `string` | 从 `preset({ renderMobile: { [name]: fn } })` 查找;未注册则视为未开启,回退普通表格 |
|
|
120
120
|
|
|
121
121
|
桌面端不受 `renderMobile` 影响:`Table` 仍走 antd Table,`TableView` 仍走 CSS Grid 或 `render`。
|
|
@@ -184,7 +184,7 @@ npm i --save @kne/table-page
|
|
|
184
184
|
#### 示例代码
|
|
185
185
|
|
|
186
186
|
- TablePage
|
|
187
|
-
- 表格页面组件,基于 @kne/react-fetch 实现数据加载与分页,支持 sticky 固定表头、useSort 服务端排序、renderMobile 移动端卡片、tab 分类切换、列配置、总结栏;空数据(total 为 0
|
|
187
|
+
- 表格页面组件,基于 @kne/react-fetch 实现数据加载与分页,支持 sticky 固定表头、useSort 服务端排序、renderMobile 移动端卡片、tab 分类切换、列配置、总结栏;空数据(total 为 0)时不显示分页器。文末含仅 SearchInput + renderMobile 自定义卡片示例(验证工具栏与卡片间距)
|
|
188
188
|
- _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)
|
|
189
189
|
|
|
190
190
|
```jsx
|
|
@@ -401,7 +401,7 @@ const Tips = () => (
|
|
|
401
401
|
</div>
|
|
402
402
|
<div>
|
|
403
403
|
<Tag style={TIP_TAG_STYLE} color="volcano">移动端</Tag>
|
|
404
|
-
设置 <code>renderMobile</code> 后,手机预览下启用卡片 List(含全选、排序工具栏);桌面端仍为 antd Table
|
|
404
|
+
设置 <code>renderMobile</code> 后,手机预览下启用卡片 List(含全选、排序工具栏);桌面端仍为 antd Table。下方另有「仅 SearchInput + 自定义卡片」示例,用于确认 SearchInput 与卡片列表间距。
|
|
405
405
|
</div>
|
|
406
406
|
<div>
|
|
407
407
|
<Tag style={TIP_TAG_STYLE} color="geekblue">固定表头</Tag>
|
|
@@ -579,8 +579,129 @@ const BaseExample = () => {
|
|
|
579
579
|
);
|
|
580
580
|
};
|
|
581
581
|
|
|
582
|
-
|
|
582
|
+
const sharedGroups = [
|
|
583
|
+
{
|
|
584
|
+
id: 1,
|
|
585
|
+
name: '华北销售共享组',
|
|
586
|
+
description: '覆盖华北区销售线索与客户跟进数据,成员可按只读或读写权限访问。',
|
|
587
|
+
members: [{ id: 'u1' }, { id: 'u2' }, { id: 'u3' }],
|
|
588
|
+
dataSources: [{ id: 'd1' }, { id: 'd2' }],
|
|
589
|
+
sharedModules: [{ id: 'm1' }]
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
id: 2,
|
|
593
|
+
name: '产品研发协作组',
|
|
594
|
+
description: '产品与研发跨部门协作,共享需求池与缺陷跟踪模块。',
|
|
595
|
+
members: [{ id: 'u4' }, { id: 'u5' }],
|
|
596
|
+
dataSources: [{ id: 'd3' }],
|
|
597
|
+
sharedModules: [{ id: 'm2' }, { id: 'm3' }]
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
id: 3,
|
|
601
|
+
name: '财务审计只读组',
|
|
602
|
+
description: '审计人员只读访问财务相关模块与导出记录。',
|
|
603
|
+
members: [{ id: 'u6' }],
|
|
604
|
+
dataSources: [{ id: 'd4' }, { id: 'd5' }, { id: 'd6' }],
|
|
605
|
+
sharedModules: [{ id: 'm4' }]
|
|
606
|
+
}
|
|
607
|
+
];
|
|
608
|
+
|
|
609
|
+
const sharedGroupColumns = [
|
|
610
|
+
{ name: 'id', title: 'ID', width: 80, renderType: 'small' },
|
|
611
|
+
{ name: 'name', title: '共享组名称', width: 180, renderType: 'main' },
|
|
612
|
+
{ name: 'description', title: '描述', width: 320, renderType: 'description', ellipsis: true },
|
|
613
|
+
{
|
|
614
|
+
name: 'options',
|
|
615
|
+
title: '操作',
|
|
616
|
+
width: 140,
|
|
617
|
+
renderType: 'options',
|
|
618
|
+
getValueOf: item => [
|
|
619
|
+
{ children: '编辑', type: 'link', onClick: () => console.log('edit', item.id) },
|
|
620
|
+
{ children: '删除', type: 'link', isDelete: true, message: `确定删除 ${item.name} 吗?`, onClick: () => console.log('remove', item.id) }
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
];
|
|
583
624
|
|
|
625
|
+
const SharedGroupMobileCard = ({ item }) => (
|
|
626
|
+
<div
|
|
627
|
+
style={{
|
|
628
|
+
display: 'flex',
|
|
629
|
+
flexDirection: 'column',
|
|
630
|
+
gap: 12,
|
|
631
|
+
padding: '14px 16px',
|
|
632
|
+
background: '#fff',
|
|
633
|
+
border: '1px solid #f0f0f0',
|
|
634
|
+
borderRadius: 12,
|
|
635
|
+
boxSizing: 'border-box'
|
|
636
|
+
}}
|
|
637
|
+
>
|
|
638
|
+
<div>
|
|
639
|
+
<div style={{ marginBottom: 8, fontSize: 16, fontWeight: 600, lineHeight: 1.4, color: 'rgba(0,0,0,0.88)' }}>
|
|
640
|
+
{item.name}
|
|
641
|
+
</div>
|
|
642
|
+
<Flex align="center" gap={8} wrap="wrap" style={{ marginBottom: 6, fontSize: 13, color: 'rgba(0,0,0,0.65)' }}>
|
|
643
|
+
<span>成员 {item.members.length}</span>
|
|
644
|
+
<span style={{ color: 'rgba(0,0,0,0.25)' }}>·</span>
|
|
645
|
+
<span>数据来源 {item.dataSources.length}</span>
|
|
646
|
+
<span style={{ color: 'rgba(0,0,0,0.25)' }}>·</span>
|
|
647
|
+
<span>模块 {item.sharedModules.length}</span>
|
|
648
|
+
<span style={{ fontSize: 12, color: 'rgba(0,0,0,0.45)' }}>#{item.id}</span>
|
|
649
|
+
</Flex>
|
|
650
|
+
<div
|
|
651
|
+
style={{
|
|
652
|
+
display: '-webkit-box',
|
|
653
|
+
WebkitBoxOrient: 'vertical',
|
|
654
|
+
WebkitLineClamp: 2,
|
|
655
|
+
overflow: 'hidden',
|
|
656
|
+
fontSize: 13,
|
|
657
|
+
lineHeight: 1.5,
|
|
658
|
+
color: 'rgba(0,0,0,0.45)'
|
|
659
|
+
}}
|
|
660
|
+
>
|
|
661
|
+
{item.description}
|
|
662
|
+
</div>
|
|
663
|
+
</div>
|
|
664
|
+
</div>
|
|
665
|
+
);
|
|
666
|
+
|
|
667
|
+
/** 仅 SearchInput + renderMobile:确认工具栏与卡片列表有间距、不紧贴 */
|
|
668
|
+
const SearchMobileExample = () => (
|
|
669
|
+
<Flex vertical gap={12}>
|
|
670
|
+
<div style={{ color: '#666', fontSize: 13, lineHeight: 1.7 }}>
|
|
671
|
+
<Tag color="blue" style={{ marginRight: 8 }}>
|
|
672
|
+
search only
|
|
673
|
+
</Tag>
|
|
674
|
+
仅配置 <code>search</code>(无 filter / batch / tab),移动端开启 <code>renderMobile</code> 自定义卡片时,
|
|
675
|
+
SearchInput 与下方卡片列表应有间距,不可紧挨。请切换手机预览查看。
|
|
676
|
+
</div>
|
|
677
|
+
<TablePage
|
|
678
|
+
name="demo-search-mobile-gap"
|
|
679
|
+
pagination={{ open: false }}
|
|
680
|
+
search={{ name: 'keyword', label: '关键词', placeholder: '搜索共享组名称' }}
|
|
681
|
+
columns={sharedGroupColumns}
|
|
682
|
+
loader={() =>
|
|
683
|
+
Promise.resolve({
|
|
684
|
+
pageData: sharedGroups,
|
|
685
|
+
totalCount: sharedGroups.length
|
|
686
|
+
})
|
|
687
|
+
}
|
|
688
|
+
renderMobile={({ dataSource }) => (
|
|
689
|
+
<Flex vertical gap={12} className="info-page-table-mobile-card-list">
|
|
690
|
+
{(dataSource || []).map(item => (
|
|
691
|
+
<SharedGroupMobileCard key={item.id} item={item} />
|
|
692
|
+
))}
|
|
693
|
+
</Flex>
|
|
694
|
+
)}
|
|
695
|
+
/>
|
|
696
|
+
</Flex>
|
|
697
|
+
);
|
|
698
|
+
|
|
699
|
+
render(
|
|
700
|
+
<Flex vertical gap={32}>
|
|
701
|
+
<BaseExample />
|
|
702
|
+
<SearchMobileExample />
|
|
703
|
+
</Flex>
|
|
704
|
+
);
|
|
584
705
|
```
|
|
585
706
|
|
|
586
707
|
- TablePage sticky scroll
|
|
@@ -1835,7 +1956,7 @@ render(<BaseExample />);
|
|
|
1835
1956
|
|
|
1836
1957
|
```jsx
|
|
1837
1958
|
const { Table, TableView, preset } = _TablePage;
|
|
1838
|
-
const { Flex, Tag, Card, Button, Dropdown, Tabs, Checkbox } = antd;
|
|
1959
|
+
const { Flex, Tag, Card, Button, Dropdown, Tabs, Checkbox, Radio } = antd;
|
|
1839
1960
|
const { useState, useMemo } = React;
|
|
1840
1961
|
|
|
1841
1962
|
const statusMap = {
|
|
@@ -1906,7 +2027,7 @@ const columns = [
|
|
|
1906
2027
|
|
|
1907
2028
|
preset({
|
|
1908
2029
|
renderMobile: {
|
|
1909
|
-
orderCard: ({ renderBody }) => {
|
|
2030
|
+
orderCard: ({ renderBody, dataSource = [] }) => {
|
|
1910
2031
|
const totalAmount = dataSource.reduce((sum, item) => sum + item.amount, 0);
|
|
1911
2032
|
return (
|
|
1912
2033
|
<div
|
|
@@ -1959,10 +2080,11 @@ const getOrderActions = item => [
|
|
|
1959
2080
|
{ key: 'delete', label: '删除', danger: true, onClick: () => console.log('删除', item.id) }
|
|
1960
2081
|
];
|
|
1961
2082
|
|
|
1962
|
-
const OrderMobileCard = ({ item, checked, disabled, onCheckChange }) => {
|
|
2083
|
+
const OrderMobileCard = ({ item, checked, disabled, onCheckChange, selectionType = 'checkbox' }) => {
|
|
1963
2084
|
const status = statusMap[item.status] || { color: 'default', text: item.status };
|
|
1964
2085
|
const actionItems = getOrderActions(item);
|
|
1965
2086
|
const isSelected = checked;
|
|
2087
|
+
const SelectionControl = selectionType === 'radio' ? Radio : Checkbox;
|
|
1966
2088
|
|
|
1967
2089
|
return (
|
|
1968
2090
|
<div
|
|
@@ -1979,7 +2101,7 @@ const OrderMobileCard = ({ item, checked, disabled, onCheckChange }) => {
|
|
|
1979
2101
|
boxSizing: 'border-box'
|
|
1980
2102
|
}}
|
|
1981
2103
|
>
|
|
1982
|
-
<
|
|
2104
|
+
<SelectionControl checked={checked} disabled={disabled} onChange={onCheckChange} style={{ marginTop: 2, flexShrink: 0 }} />
|
|
1983
2105
|
<div style={{ flex: 1, minWidth: 0 }}>
|
|
1984
2106
|
<Flex justify="space-between" align="center" gap={8} style={{ marginBottom: 10 }}>
|
|
1985
2107
|
<Flex align="center" gap={8} wrap="wrap" style={{ flex: 1, minWidth: 0 }}>
|
|
@@ -2166,33 +2288,18 @@ const MobileSortExample = ({ Component }) => {
|
|
|
2166
2288
|
|
|
2167
2289
|
const CustomMobileRender = ({ Component }) => {
|
|
2168
2290
|
const [selectKeys, setSelectKeys] = useState([]);
|
|
2169
|
-
const
|
|
2291
|
+
const { sort, sortRender, mobileSortToolbar } = Table.useSort({});
|
|
2292
|
+
const sortedData = useMemo(() => Table.sortDataSource(dataSource, sort, columns), [sort]);
|
|
2170
2293
|
const totalAmount = dataSource.reduce((sum, item) => sum + item.amount, 0);
|
|
2171
2294
|
const selectedAmount = selectKeys.reduce((sum, id) => sum + (dataSource.find(d => d.id === id)?.amount || 0), 0);
|
|
2172
|
-
const checkedAll = isSelectedAll || (dataSource.length > 0 && selectKeys.length === dataSource.length);
|
|
2173
|
-
const indeterminate = selectKeys.length > 0 && !checkedAll;
|
|
2174
|
-
|
|
2175
|
-
const handleSelectAllChange = e => {
|
|
2176
|
-
const checked = e.target.checked;
|
|
2177
|
-
if (!checked) {
|
|
2178
|
-
setIsSelectedAll(false);
|
|
2179
|
-
setSelectKeys([]);
|
|
2180
|
-
return;
|
|
2181
|
-
}
|
|
2182
|
-
setIsSelectedAll(true);
|
|
2183
|
-
setSelectKeys(dataSource.map(item => item.id));
|
|
2184
|
-
};
|
|
2185
|
-
|
|
2186
|
-
const handleCardCheckChange = (id, checked) => {
|
|
2187
|
-
setIsSelectedAll(false);
|
|
2188
|
-
setSelectKeys(keys => (checked ? keys.filter(key => key !== id) : [...keys, id]));
|
|
2189
|
-
};
|
|
2190
2295
|
|
|
2191
2296
|
return (
|
|
2192
2297
|
<div>
|
|
2193
2298
|
<div style={{ marginBottom: 12, color: '#666', fontSize: 13, lineHeight: 1.7 }}>
|
|
2194
|
-
<code>renderMobile</code> 为 function
|
|
2195
|
-
|
|
2299
|
+
<code>renderMobile</code> 为 function 时完全接管渲染,可自定义卡片内容;
|
|
2300
|
+
全选 / 排序请用回调里的 <code>renderToolbar()</code>(与默认 MobileCard 同一套实现),
|
|
2301
|
+
行勾选用 <code>getSelectionProps(item)</code>,不必自己维护全选状态或排序 UI。
|
|
2302
|
+
桌面端仍走 <code>render</code>。
|
|
2196
2303
|
</div>
|
|
2197
2304
|
<Flex justify="space-between" align="center" style={{ marginBottom: 12 }}>
|
|
2198
2305
|
<span>
|
|
@@ -2214,11 +2321,19 @@ const CustomMobileRender = ({ Component }) => {
|
|
|
2214
2321
|
<span style={{ color: 'rgba(0,0,0,0.45)', fontSize: 12 }}>桌面端 render 自定义外层</span>
|
|
2215
2322
|
</Flex>
|
|
2216
2323
|
<Component
|
|
2217
|
-
dataSource={
|
|
2324
|
+
dataSource={sortedData}
|
|
2218
2325
|
columns={columns}
|
|
2219
2326
|
controllerOpen={false}
|
|
2327
|
+
sortRender={sortRender}
|
|
2328
|
+
mobileSortToolbar={mobileSortToolbar}
|
|
2329
|
+
rowSelection={{
|
|
2330
|
+
type: 'checkbox',
|
|
2331
|
+
allowSelectedAll: true,
|
|
2332
|
+
selectedRowKeys: selectKeys,
|
|
2333
|
+
onChange: keys => setSelectKeys(keys)
|
|
2334
|
+
}}
|
|
2220
2335
|
render={({ renderBody }) => <div style={{ overflowX: 'auto' }}>{renderBody()}</div>}
|
|
2221
|
-
renderMobile={() => (
|
|
2336
|
+
renderMobile={({ dataSource: mobileList = [], renderToolbar, getSelectionProps, getRowKey }) => (
|
|
2222
2337
|
<div
|
|
2223
2338
|
style={{
|
|
2224
2339
|
borderRadius: 12,
|
|
@@ -2234,34 +2349,20 @@ const CustomMobileRender = ({ Component }) => {
|
|
|
2234
2349
|
</Tag>
|
|
2235
2350
|
</Flex>
|
|
2236
2351
|
<div style={{ fontSize: 12, color: 'rgba(0,0,0,0.45)' }}>
|
|
2237
|
-
{
|
|
2352
|
+
{mobileList.length} 笔 · 合计 ¥{mobileList.reduce((sum, item) => sum + item.amount, 0).toLocaleString()}
|
|
2238
2353
|
</div>
|
|
2239
2354
|
</div>
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
gap: 6,
|
|
2245
|
-
marginBottom: 12,
|
|
2246
|
-
padding: '4px 8px',
|
|
2247
|
-
background: 'var(--bg-color-grey-1, #fafafa)',
|
|
2248
|
-
borderRadius: 8,
|
|
2249
|
-
fontSize: 12
|
|
2250
|
-
}}
|
|
2251
|
-
>
|
|
2252
|
-
<Checkbox checked={checkedAll} indeterminate={indeterminate} onChange={handleSelectAllChange} />
|
|
2253
|
-
<span>全选</span>
|
|
2254
|
-
</div>
|
|
2255
|
-
<Flex vertical gap={12}>
|
|
2256
|
-
{dataSource.map(item => {
|
|
2257
|
-
const isChecked = selectKeys.indexOf(item.id) > -1;
|
|
2355
|
+
{renderToolbar()}
|
|
2356
|
+
<Flex vertical gap={12} style={{ marginTop: 12 }}>
|
|
2357
|
+
{mobileList.map(item => {
|
|
2358
|
+
const selection = getSelectionProps(item);
|
|
2258
2359
|
return (
|
|
2259
2360
|
<OrderMobileCard
|
|
2260
|
-
key={item
|
|
2361
|
+
key={getRowKey(item)}
|
|
2261
2362
|
item={item}
|
|
2262
|
-
checked={
|
|
2263
|
-
disabled={
|
|
2264
|
-
onCheckChange={
|
|
2363
|
+
checked={selection.checked}
|
|
2364
|
+
disabled={selection.disabled}
|
|
2365
|
+
onCheckChange={selection.onChange}
|
|
2265
2366
|
/>
|
|
2266
2367
|
);
|
|
2267
2368
|
})}
|
|
@@ -2274,6 +2375,73 @@ const CustomMobileRender = ({ Component }) => {
|
|
|
2274
2375
|
);
|
|
2275
2376
|
};
|
|
2276
2377
|
|
|
2378
|
+
const CustomMobileRadioRender = ({ Component }) => {
|
|
2379
|
+
const [selectKeys, setSelectKeys] = useState([]);
|
|
2380
|
+
const { sort, sortRender, mobileSortToolbar } = Table.useSort({});
|
|
2381
|
+
const sortedData = useMemo(() => Table.sortDataSource(dataSource, sort, columns), [sort]);
|
|
2382
|
+
const selectedOrder = dataSource.find(item => item.id === selectKeys[0]);
|
|
2383
|
+
|
|
2384
|
+
return (
|
|
2385
|
+
<div>
|
|
2386
|
+
<div style={{ marginBottom: 12, color: '#666', fontSize: 13, lineHeight: 1.7 }}>
|
|
2387
|
+
自定义 <code>renderMobile</code> 单选:<code>rowSelection.type</code> 设为 <code>radio</code>,
|
|
2388
|
+
卡片上的 Radio 直接绑 <code>getSelectionProps(item)</code>,选中态与切换逻辑由 TableView 管理;
|
|
2389
|
+
工具栏 <code>renderToolbar()</code> 此时仅显示排序(单选无全选)。
|
|
2390
|
+
</div>
|
|
2391
|
+
<Flex justify="space-between" align="center" style={{ marginBottom: 12 }}>
|
|
2392
|
+
<span>
|
|
2393
|
+
当前选中:
|
|
2394
|
+
{selectedOrder ? (
|
|
2395
|
+
<strong>
|
|
2396
|
+
{selectedOrder.id} · ¥{selectedOrder.amount.toLocaleString()}
|
|
2397
|
+
</strong>
|
|
2398
|
+
) : (
|
|
2399
|
+
<span style={{ color: '#999' }}>未选择</span>
|
|
2400
|
+
)}
|
|
2401
|
+
</span>
|
|
2402
|
+
</Flex>
|
|
2403
|
+
<Component
|
|
2404
|
+
dataSource={sortedData}
|
|
2405
|
+
columns={columns}
|
|
2406
|
+
controllerOpen={false}
|
|
2407
|
+
sortRender={sortRender}
|
|
2408
|
+
mobileSortToolbar={mobileSortToolbar}
|
|
2409
|
+
rowSelection={{
|
|
2410
|
+
type: 'radio',
|
|
2411
|
+
selectedRowKeys: selectKeys,
|
|
2412
|
+
onChange: keys => setSelectKeys(keys)
|
|
2413
|
+
}}
|
|
2414
|
+
renderMobile={({ dataSource: mobileList = [], renderToolbar, getSelectionProps, getRowKey }) => (
|
|
2415
|
+
<div
|
|
2416
|
+
style={{
|
|
2417
|
+
borderRadius: 12,
|
|
2418
|
+
background: '#f5f7fa',
|
|
2419
|
+
padding: 16
|
|
2420
|
+
}}
|
|
2421
|
+
>
|
|
2422
|
+
{renderToolbar()}
|
|
2423
|
+
<Flex vertical gap={12} style={{ marginTop: 12 }}>
|
|
2424
|
+
{mobileList.map(item => {
|
|
2425
|
+
const selection = getSelectionProps(item);
|
|
2426
|
+
return (
|
|
2427
|
+
<OrderMobileCard
|
|
2428
|
+
key={getRowKey(item)}
|
|
2429
|
+
item={item}
|
|
2430
|
+
selectionType="radio"
|
|
2431
|
+
checked={selection.checked}
|
|
2432
|
+
disabled={selection.disabled}
|
|
2433
|
+
onCheckChange={selection.onChange}
|
|
2434
|
+
/>
|
|
2435
|
+
);
|
|
2436
|
+
})}
|
|
2437
|
+
</Flex>
|
|
2438
|
+
</div>
|
|
2439
|
+
)}
|
|
2440
|
+
/>
|
|
2441
|
+
</div>
|
|
2442
|
+
);
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2277
2445
|
const PresetStringRender = ({ Component }) => {
|
|
2278
2446
|
const [selectKeys, setSelectKeys] = useState([]);
|
|
2279
2447
|
const { sort, sortRender, mobileSortToolbar } = Table.useSort({
|
|
@@ -2319,6 +2487,7 @@ const Examples = ({ Component }) => (
|
|
|
2319
2487
|
<DefaultMobileCards Component={Component} />
|
|
2320
2488
|
<MobileSortExample Component={Component} />
|
|
2321
2489
|
<CustomMobileRender Component={Component} />
|
|
2490
|
+
<CustomMobileRadioRender Component={Component} />
|
|
2322
2491
|
<PresetStringRender Component={Component} />
|
|
2323
2492
|
</Flex>
|
|
2324
2493
|
);
|
|
@@ -2840,7 +3009,7 @@ render(<BaseExample />);
|
|
|
2840
3009
|
| summary | function | - | 总结栏,回调参数包含 `data`、`requestParams`、`refresh`、`reload` 等 fetch 上下文 |
|
|
2841
3010
|
| columnRenderProps | object | `{}` | 列渲染扩展属性,会合并进列 `render` 的 context |
|
|
2842
3011
|
| filter | object | - | 顶部筛选器配置,基于 `@kne/react-filter` 的 `FilterLines`,见下方 |
|
|
2843
|
-
| search | object | - | 顶部搜索框配置,基于 `@kne/react-filter` 的 `SearchInput
|
|
3012
|
+
| search | object | - | 顶部搜索框配置,基于 `@kne/react-filter` 的 `SearchInput`,见下方;移动端 `renderMobile` 激活时,工具栏与下方卡片列表保留间距(勿紧贴) |
|
|
2844
3013
|
| tab | object | - | 顶部 Tab 分类切换,选中值写入 filter value,见下方 |
|
|
2845
3014
|
| tabProps | object | - | 透传给 antd `Tabs` 的额外属性(如 `tabBarExtraContent`) |
|
|
2846
3015
|
| batchActions | array | - | 批量操作下拉菜单项,需配合 `rowSelection` 使用,见下方 |
|
|
@@ -3003,11 +3172,36 @@ render(<BaseExample />);
|
|
|
3003
3172
|
| headerStyle | object | - | 表头自定义样式,仅在 `render` 自定义渲染时作用于 `header` |
|
|
3004
3173
|
| onRowSelect | function | - | 行点击回调 `(item, { columns, dataSource }) => void` |
|
|
3005
3174
|
| render | function | - | 自定义渲染 `(props) => ReactNode`,可获取 `header` 和 `renderBody` |
|
|
3006
|
-
| renderMobile | boolean \| function \| string | `true` | 仅移动端生效。`true` 使用默认卡片 List
|
|
3175
|
+
| renderMobile | boolean \| function \| string | `true` | 仅移动端生效。`true` 使用默认卡片 List;为 function 时完全接管渲染(见下方回调参数);为 string 时从 `preset({ renderMobile })` 按名称取渲染函数,未注册则视为未开启 |
|
|
3007
3176
|
| sortRender | function | - | 排序按钮渲染,由 `useSort` 提供(桌面端表头) |
|
|
3008
|
-
| mobileSortToolbar | function | - | 移动端排序工具栏,由 `useSort`
|
|
3177
|
+
| mobileSortToolbar | function | - | 移动端排序工具栏,由 `useSort` 提供;传入 TableView 后由 `renderToolbar` / 默认卡片复用 |
|
|
3009
3178
|
| size | `'small'` \| `'large'` | - | 单元格内边距:默认 `8px`,`small` 为 `4px`,`large` 为 `14px 8px`;可通过 CSS 变量覆盖 |
|
|
3010
3179
|
|
|
3180
|
+
`renderMobile` 为 function 时,TableView 会传入已接好 `rowSelection` / `mobileSortToolbar` 的能力,自定义布局只需选用:
|
|
3181
|
+
|
|
3182
|
+
| 回调参数 | 说明 |
|
|
3183
|
+
|------|------|
|
|
3184
|
+
| `dataSource` | 当前页数据 |
|
|
3185
|
+
| `columns` | 布局后的列配置 |
|
|
3186
|
+
| `rowKey` / `rowSelection` / `context` / `empty` | 与 TableView 一致 |
|
|
3187
|
+
| `renderBody` | 渲染默认移动端卡片 List(含顶部工具栏) |
|
|
3188
|
+
| `renderToolbar` | 渲染组件级工具栏(全选居左、排序居右);可自由决定摆放位置 |
|
|
3189
|
+
| `getRowKey(item)` | 按 `rowKey` 取行 key |
|
|
3190
|
+
| `getSelectionProps(item)` | 返回 `{ checked, disabled, onChange }`,可直接绑到卡片上的 Checkbox / Radio |
|
|
3191
|
+
| `onSelectionChange` | 行选择切换,签名与内部逻辑一致 |
|
|
3192
|
+
|
|
3193
|
+
```jsx
|
|
3194
|
+
renderMobile={({ dataSource, renderToolbar, getSelectionProps, getRowKey }) => (
|
|
3195
|
+
<>
|
|
3196
|
+
{renderToolbar()}
|
|
3197
|
+
{dataSource.map(item => {
|
|
3198
|
+
const selection = getSelectionProps(item);
|
|
3199
|
+
return <MyCard key={getRowKey(item)} item={item} {...selection} />;
|
|
3200
|
+
})}
|
|
3201
|
+
</>
|
|
3202
|
+
)}
|
|
3203
|
+
```
|
|
3204
|
+
|
|
3011
3205
|
单元格 padding 由 CSS 变量控制,可在外层覆盖:
|
|
3012
3206
|
|
|
3013
3207
|
```css
|
|
@@ -3150,7 +3344,7 @@ const sortedData = useMemo(() => Table.sortDataSource(dataSource, sort, columns)
|
|
|
3150
3344
|
| headerStyle | object | - | 表头自定义样式 |
|
|
3151
3345
|
| onRowSelect | function | - | 行点击回调 `(item, { columns, dataSource }) => void` |
|
|
3152
3346
|
| render | function | - | 自定义渲染 `(props) => ReactNode`,`header` 为 `null`,`renderBody` 返回 antd Table |
|
|
3153
|
-
| renderMobile | boolean \| function \| string | `true` |
|
|
3347
|
+
| renderMobile | boolean \| function \| string | `true` | 仅移动端生效,委托 `@kne/table-view` 处理;`true` 为默认卡片 List;为 function 时回调参数同 TableView(见 TableView 文档 `renderMobile` 回调参数);为 string 时从 preset 按名称查找 |
|
|
3154
3348
|
| sortRender | function | - | 排序按钮渲染,由 `useSort` 提供(桌面端表头) |
|
|
3155
3349
|
| mobileSortToolbar | function | - | 移动端排序工具栏,由 `useSort` 提供 |
|
|
3156
3350
|
| pagination | boolean \| object | `false` | 分页配置,默认不显示;传入对象时使用 antd 分页 |
|
package/dist/index.css
CHANGED
|
@@ -422,6 +422,9 @@
|
|
|
422
422
|
border-radius: var(--radius-default, 2px);
|
|
423
423
|
}
|
|
424
424
|
.kne-table-page_sf06r.kne-table-page_D6KGb {
|
|
425
|
+
display: flex;
|
|
426
|
+
flex-direction: column;
|
|
427
|
+
gap: 12px;
|
|
425
428
|
border: none;
|
|
426
429
|
border-radius: 0;
|
|
427
430
|
}
|
|
@@ -481,6 +484,9 @@
|
|
|
481
484
|
display: flex;
|
|
482
485
|
justify-content: flex-end;
|
|
483
486
|
}
|
|
487
|
+
.kne-table-page_DSTEf.ant-pagination.kne-table-page_D6KGb {
|
|
488
|
+
justify-content: center;
|
|
489
|
+
}
|
|
484
490
|
.kne-table-page_DSTEf.ant-pagination.kne-table-page_D6KGb .ant-pagination-prev,
|
|
485
491
|
.kne-table-page_DSTEf.ant-pagination.kne-table-page_D6KGb .ant-pagination-item,
|
|
486
492
|
.kne-table-page_DSTEf.ant-pagination.kne-table-page_D6KGb .ant-pagination-jump-prev,
|
|
@@ -691,6 +697,9 @@
|
|
|
691
697
|
.kne-table-page_I21Xn.kne-table-page_14SJt.kne-table-page_Y5IR1 .kne-table-page_zuGJv {
|
|
692
698
|
padding-bottom: 8px;
|
|
693
699
|
}
|
|
700
|
+
.kne-table-page_I21Xn.kne-table-page_14SJt.kne-table-page_J-AEV.kne-table-page_Y5IR1 .kne-table-page_zuGJv {
|
|
701
|
+
padding-bottom: 0;
|
|
702
|
+
}
|
|
694
703
|
.kne-table-page_I21Xn.kne-table-page_EImBh .kne-table-page_UTy3R {
|
|
695
704
|
padding-inline: 16px;
|
|
696
705
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["style.module.scss","columnConfig.module.scss","tableToolbar.module.scss"],"names":[],"mappings":"AAAA;EACE,oEAAoE;EACpE,sBAAsB;EACtB,kBAAkB;EAClB,yBAAyB;EACzB,yCAAyC;AAC3C;AACA;EACE,kEAAkE;AACpE;AACA;EACE,uEAAuE;AACzE;AACA;EACE,WAAW;AACb;AACA;EACE,gBAAgB;EAChB,WAAW;EACX,eAAe;AACjB;AACA;;;EAGE,2BAA2B;AAC7B;AACA;EACE,uBAAuB;EACvB,uCAAuC;EACvC,qCAAqC;EACrC,qCAAqC;EACrC,mCAAmC;AACrC;AACA;EACE,uBAAuB;EACvB,mCAAmC;AACrC;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,6CAA6C;EAC7C,qDAAqD;EACrD,mDAAmD;AACrD;AACA;EACE,kBAAkB;AACpB;AACA;;EAEE,UAAU;EACV,oBAAoB;EACpB,cAAc;EACd,mBAAmB;EACnB,2CAA2C;AAC7C;AACA;EACE,8DAA8D;EAC9D,0CAA0C;AAC5C;AACA;EACE,qBAAqB;AACvB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,6CAA6C;AAC/C;AACA;EACE,gEAAgE;AAClE;AACA;EACE,8DAA8D;AAChE;AACA;EACE,mBAAmB;EACnB,kCAAkC;EAClC,+BAA+B;AACjC;AACA;EACE,kCAAkC;EAClC,2BAA2B;AAC7B;AACA;EACE,mBAAmB;EACnB,+BAA+B;AACjC;AACA;EACE,kCAAkC;AACpC;AACA;EACE,2CAA2C;AAC7C;AACA;EACE,8DAA8D;AAChE;AACA;EACE,4DAA4D;AAC9D;AACA;EACE,2CAA2C;AAC7C;AACA;EACE,8DAA8D;AAChE;AACA;EACE,4DAA4D;AAC9D;AACA;EACE,sDAAsD;EACtD,gBAAgB;EAChB,2BAA2B;EAC3B,2CAA2C;AAC7C;AACA;EACE,uBAAuB;EACvB,8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EA;EACE;IACE,mBAAmB;EACrB;EACA;IACE,gBAAgB;EAClB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,oBAAoB;EACtB;EACA;IACE,cAAc;IACd,WAAW;IACX,cAAc;IACd,cAAc;IACd,sBAAsB;EACxB;EACA;IACE,cAAc;EAChB;EACA;;;;IAIE,sBAAsB;IACtB,eAAe;EACjB;AACF;AACA;EACE,OAAO;EACP,YAAY;EACZ,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,UAAU;EACV,kBAAkB;EAClB,YAAY;EACZ,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,oBAAoB;EACpB,4BAA4B;EAC5B,8BAA8B;AAChC;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;;EAEE,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.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}\n.table-with-toolbar.is-mobile-render {\n border: none;\n border-radius: 0;\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-in-toolbar {\n border: none !important;\n border-radius: 0 !important;\n}\n\n.is-mobile-render {\n border: none !important;\n border-radius: 0 !important;\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 :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}\n\n.floating-scrollbar {\n position: fixed;\n z-index: 998;\n background: var(--bg-color-white, #ffffff);\n border: solid 1px var(--font-color-grey-4, #eeeeee);\n box-sizing: border-box;\n}\n\n.floating-scrollbar-embedded {\n position: sticky;\n bottom: 0;\n}\n\n.floating-scrollbar-thumb {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n background: var(--font-color-grey-2, #cccccc);\n height: 60%;\n border-radius: 5px/50%;\n}\n.floating-scrollbar-thumb:hover, .floating-scrollbar-thumb.is-moving {\n background: var(--font-color-grey, #666666);\n}",".cell-resize-bar {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 60%;\n border-radius: 4px;\n width: 8px;\n font-size: 12px;\n background: var(--primary-color-1);\n color: var(--primary-color-2);\n top: 50%;\n right: 2px;\n cursor: col-resize;\n transform: translateY(-50%);\n visibility: hidden;\n}\n\n.table-changer-setting {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 28px;\n min-height: 28px;\n padding: 4px;\n border-radius: var(--radius-default, 4px);\n color: var(--font-color-grey-1, rgba(0, 0, 0, 0.45));\n transition: background-color 200ms, color 200ms;\n}\n.table-changer-setting:hover, .table-changer-setting.is-active {\n background: var(--primary-color-1);\n color: var(--primary-color);\n}\n\n.table-config-header {\n width: 100%;\n min-width: 0;\n}\n\n.table-config-header-title {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.columns-control-content {\n width: 300px;\n}\n.columns-control-content :global .ant-collapse {\n border: none;\n background: transparent;\n}\n.columns-control-content :global .ant-collapse-item {\n border-bottom: none;\n}\n.columns-control-content :global .ant-collapse-content-box {\n padding: 0 !important;\n}\n.columns-control-content :global .ant-list-item {\n border: none;\n}\n.columns-control-content :global .ant-collapse-header {\n font-weight: bold;\n padding: 8px 16px !important;\n}\n\n.columns-control-content-title {\n font-weight: bold;\n padding: 8px 16px;\n border-bottom: solid 1px var(--font-color-grey-4, #f0f0f0);\n}\n\n.columns-control-content-scroller {\n position: relative;\n max-height: 300px;\n overflow-y: auto;\n}\n\n.columns-control-sortable-list {\n display: block;\n}\n\n.columns-control-content-footer {\n border-top: solid 1px var(--font-color-grey-4, #f0f0f0);\n padding: 12px 16px;\n}\n\n.columns-control-content-input {\n width: 142px;\n}\n\n.columns-control-content-list {\n padding: 0;\n}\n\n.columns-control-content-item {\n display: flex;\n align-items: center;\n padding: 8px 14px !important;\n background: #ffffff;\n transition: box-shadow 500ms;\n box-sizing: border-box;\n}\n.columns-control-content-item :global .ant-checkbox-wrapper {\n flex: 1;\n}\n.columns-control-content-item.is-drag {\n cursor: move !important;\n}\n.columns-control-content-item.is-drag :global .ant-checkbox-wrapper {\n margin-left: 2px;\n}\n.columns-control-content-item:not(.is-drag) :global .ant-checkbox-wrapper {\n margin-left: 16px;\n}\n\n:global .table-page-sortable-drag {\n opacity: 1 !important;\n background: rgba(255, 255, 255, 0.9) !important;\n box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);\n z-index: 1050;\n display: flex !important;\n align-items: center;\n box-sizing: border-box;\n}\n:global .table-page-sortable-ghost {\n background: var(--primary-color-1) !important;\n border: 1px dashed var(--primary-color) !important;\n opacity: 0.6;\n}\n:global .table-page-sortable-chosen {\n background: var(--bg-color-grey-1, #fafafa);\n}\n\n.columns-control-content-item-icon {\n color: var(--font-color-grey-1, rgba(0, 0, 0, 0.45));\n flex-shrink: 0;\n}\n\n.columns-control-overlay {\n padding: 0 !important;\n}\n.columns-control-overlay > :global(.ant-popover-container) {\n padding: 0 !important;\n}\n.columns-control-overlay :global(.ant-popover-arrow) {\n display: none;\n}\n.columns-control-overlay :global(.ant-popover-inner-content),\n.columns-control-overlay :global(.ant-popover-inner),\n.columns-control-overlay :global(.ant-popover-container),\n.columns-control-overlay :global(.ant-popover-content) {\n padding: 0 !important;\n}\n\n.header-col:hover :global(.table-cell-resize-bar) {\n visibility: visible;\n}\n.header-col:global(.is-moving) :global(.table-cell-resize-bar) {\n visibility: visible;\n}\n\n.header-cell-inner {\n position: relative;\n display: block;\n width: 100%;\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: 100vh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100vh;\n}\n\n.kne-responsive-boundary {\n --kne-viewport-width: 100vw;\n --kne-viewport-height: 100vh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100vh;\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: 0;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.filter-title),\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.filter-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(.filter-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}\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-batch-clear-btn {\n border: none !important;\n box-shadow: none !important;\n color: var(--color-error, #ff4d4f) !important;\n background: var(--color-error-bg, #fff1f0) !important;\n}\n.table-toolbar-batch-clear-btn:not(:disabled):hover {\n border: none !important;\n color: var(--color-error, #ff4d4f) !important;\n background: var(--color-error-bg-hover, #ffccc7) !important;\n}\n\n.table-toolbar-search {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n margin-left: auto;\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}\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-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-tabs .table-page-tabs {\n padding-inline: 16px;\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 width: 100% !important;\n max-width: 100%;\n }\n}\n.table-toolbar-filter {\n flex: 1;\n min-width: 0;\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}\n\n.table-toolbar-filter-inner {\n width: 100%;\n}\n\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-title) {\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(.filter-title > .ant-space-item:first-child) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-label) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-list) {\n width: 100%;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-line) {\n min-height: 24px;\n gap: 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item-wrap) {\n height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item) {\n height: 24px;\n padding: 0 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item) :global(.ant-space-item) {\n line-height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item-label) {\n line-height: 24px;\n}\n\n.table-toolbar-value-display :global(.filter-value-display),\n.table-toolbar-value-display :global(.filter-title) {\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(.filter-value-display .filter-label) {\n line-height: 22px;\n}\n.table-toolbar-value-display :global(.filter-value-display-root .filter-line) {\n min-height: 22px;\n gap: 6px;\n}\n.table-toolbar-value-display :global(.filter-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(.filter-value-display),\n.table-toolbar-value-display.is-mobile-render :global(.filter-title) {\n padding-inline: 0 !important;\n}"]}
|
|
1
|
+
{"version":3,"sources":["style.module.scss","columnConfig.module.scss","tableToolbar.module.scss"],"names":[],"mappings":"AAAA;EACE,oEAAoE;EACpE,sBAAsB;EACtB,kBAAkB;EAClB,yBAAyB;EACzB,yCAAyC;AAC3C;AACA;EACE,kEAAkE;AACpE;AACA;EACE,uEAAuE;AACzE;AACA;EACE,WAAW;AACb;AACA;EACE,gBAAgB;EAChB,WAAW;EACX,eAAe;AACjB;AACA;;;EAGE,2BAA2B;AAC7B;AACA;EACE,uBAAuB;EACvB,uCAAuC;EACvC,qCAAqC;EACrC,qCAAqC;EACrC,mCAAmC;AACrC;AACA;EACE,uBAAuB;EACvB,m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AAY;AACd;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,oBAAoB;EACpB,4BAA4B;EAC5B,8BAA8B;AAChC;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;;EAEE,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.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}\n.table-with-toolbar.is-mobile-render {\n display: flex;\n flex-direction: column;\n gap: 12px;\n border: none;\n border-radius: 0;\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-in-toolbar {\n border: none !important;\n border-radius: 0 !important;\n}\n\n.is-mobile-render {\n border: none !important;\n border-radius: 0 !important;\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}\n\n.floating-scrollbar {\n position: fixed;\n z-index: 998;\n background: var(--bg-color-white, #ffffff);\n border: solid 1px var(--font-color-grey-4, #eeeeee);\n box-sizing: border-box;\n}\n\n.floating-scrollbar-embedded {\n position: sticky;\n bottom: 0;\n}\n\n.floating-scrollbar-thumb {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n background: var(--font-color-grey-2, #cccccc);\n height: 60%;\n border-radius: 5px/50%;\n}\n.floating-scrollbar-thumb:hover, .floating-scrollbar-thumb.is-moving {\n background: var(--font-color-grey, #666666);\n}",".cell-resize-bar {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 60%;\n border-radius: 4px;\n width: 8px;\n font-size: 12px;\n background: var(--primary-color-1);\n color: var(--primary-color-2);\n top: 50%;\n right: 2px;\n cursor: col-resize;\n transform: translateY(-50%);\n visibility: hidden;\n}\n\n.table-changer-setting {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 28px;\n min-height: 28px;\n padding: 4px;\n border-radius: var(--radius-default, 4px);\n color: var(--font-color-grey-1, rgba(0, 0, 0, 0.45));\n transition: background-color 200ms, color 200ms;\n}\n.table-changer-setting:hover, .table-changer-setting.is-active {\n background: var(--primary-color-1);\n color: var(--primary-color);\n}\n\n.table-config-header {\n width: 100%;\n min-width: 0;\n}\n\n.table-config-header-title {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.columns-control-content {\n width: 300px;\n}\n.columns-control-content :global .ant-collapse {\n border: none;\n background: transparent;\n}\n.columns-control-content :global .ant-collapse-item {\n border-bottom: none;\n}\n.columns-control-content :global .ant-collapse-content-box {\n padding: 0 !important;\n}\n.columns-control-content :global .ant-list-item {\n border: none;\n}\n.columns-control-content :global .ant-collapse-header {\n font-weight: bold;\n padding: 8px 16px !important;\n}\n\n.columns-control-content-title {\n font-weight: bold;\n padding: 8px 16px;\n border-bottom: solid 1px var(--font-color-grey-4, #f0f0f0);\n}\n\n.columns-control-content-scroller {\n position: relative;\n max-height: 300px;\n overflow-y: auto;\n}\n\n.columns-control-sortable-list {\n display: block;\n}\n\n.columns-control-content-footer {\n border-top: solid 1px var(--font-color-grey-4, #f0f0f0);\n padding: 12px 16px;\n}\n\n.columns-control-content-input {\n width: 142px;\n}\n\n.columns-control-content-list {\n padding: 0;\n}\n\n.columns-control-content-item {\n display: flex;\n align-items: center;\n padding: 8px 14px !important;\n background: #ffffff;\n transition: box-shadow 500ms;\n box-sizing: border-box;\n}\n.columns-control-content-item :global .ant-checkbox-wrapper {\n flex: 1;\n}\n.columns-control-content-item.is-drag {\n cursor: move !important;\n}\n.columns-control-content-item.is-drag :global .ant-checkbox-wrapper {\n margin-left: 2px;\n}\n.columns-control-content-item:not(.is-drag) :global .ant-checkbox-wrapper {\n margin-left: 16px;\n}\n\n:global .table-page-sortable-drag {\n opacity: 1 !important;\n background: rgba(255, 255, 255, 0.9) !important;\n box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);\n z-index: 1050;\n display: flex !important;\n align-items: center;\n box-sizing: border-box;\n}\n:global .table-page-sortable-ghost {\n background: var(--primary-color-1) !important;\n border: 1px dashed var(--primary-color) !important;\n opacity: 0.6;\n}\n:global .table-page-sortable-chosen {\n background: var(--bg-color-grey-1, #fafafa);\n}\n\n.columns-control-content-item-icon {\n color: var(--font-color-grey-1, rgba(0, 0, 0, 0.45));\n flex-shrink: 0;\n}\n\n.columns-control-overlay {\n padding: 0 !important;\n}\n.columns-control-overlay > :global(.ant-popover-container) {\n padding: 0 !important;\n}\n.columns-control-overlay :global(.ant-popover-arrow) {\n display: none;\n}\n.columns-control-overlay :global(.ant-popover-inner-content),\n.columns-control-overlay :global(.ant-popover-inner),\n.columns-control-overlay :global(.ant-popover-container),\n.columns-control-overlay :global(.ant-popover-content) {\n padding: 0 !important;\n}\n\n.header-col:hover :global(.table-cell-resize-bar) {\n visibility: visible;\n}\n.header-col:global(.is-moving) :global(.table-cell-resize-bar) {\n visibility: visible;\n}\n\n.header-cell-inner {\n position: relative;\n display: block;\n width: 100%;\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: 100vh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100vh;\n}\n\n.kne-responsive-boundary {\n --kne-viewport-width: 100vw;\n --kne-viewport-height: 100vh;\n --kne-viewport-inline-size: 100vw;\n --kne-viewport-block-size: 100vh;\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: 0;\n}\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.filter-title),\n.table-toolbar-section.has-value-display .table-toolbar-value-display :global(.filter-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(.filter-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}\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-batch-clear-btn {\n border: none !important;\n box-shadow: none !important;\n color: var(--color-error, #ff4d4f) !important;\n background: var(--color-error-bg, #fff1f0) !important;\n}\n.table-toolbar-batch-clear-btn:not(:disabled):hover {\n border: none !important;\n color: var(--color-error, #ff4d4f) !important;\n background: var(--color-error-bg-hover, #ffccc7) !important;\n}\n\n.table-toolbar-search {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n margin-left: auto;\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}\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-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 .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 width: 100% !important;\n max-width: 100%;\n }\n}\n.table-toolbar-filter {\n flex: 1;\n min-width: 0;\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}\n\n.table-toolbar-filter-inner {\n width: 100%;\n}\n\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-title) {\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(.filter-title > .ant-space-item:first-child) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-label) {\n display: none !important;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-list) {\n width: 100%;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-line) {\n min-height: 24px;\n gap: 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item-wrap) {\n height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item) {\n height: 24px;\n padding: 0 8px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item) :global(.ant-space-item) {\n line-height: 24px;\n}\n.table-toolbar:not(.is-mobile) .table-toolbar-filter-inner :global(.filter-item-label) {\n line-height: 24px;\n}\n\n.table-toolbar-value-display :global(.filter-value-display),\n.table-toolbar-value-display :global(.filter-title) {\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(.filter-value-display .filter-label) {\n line-height: 22px;\n}\n.table-toolbar-value-display :global(.filter-value-display-root .filter-line) {\n min-height: 22px;\n gap: 6px;\n}\n.table-toolbar-value-display :global(.filter-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(.filter-value-display),\n.table-toolbar-value-display.is-mobile-render :global(.filter-title) {\n padding-inline: 0 !important;\n}"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kne/table-page",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "A React table page component based on Ant Design, supporting column config, filter, sort and batch operations.",
|
|
5
5
|
"syntax": {
|
|
6
6
|
"esmodules": true
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@kne/react-filter": "^1.0.9",
|
|
111
111
|
"@kne/react-intl": "^0.1.9",
|
|
112
112
|
"@kne/responsive-utils": "^0.1.9",
|
|
113
|
-
"@kne/table-view": "^0.1.
|
|
113
|
+
"@kne/table-view": "^0.1.9",
|
|
114
114
|
"@kne/use-ref-callback": "^0.1.3",
|
|
115
115
|
"classnames": "^2.5.1",
|
|
116
116
|
"lodash": "^4.17.21",
|