@kne/table-page 0.1.36 → 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 +121 -73
- package/dist/index.css +1 -1
- package/dist/index.css.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 卡片视图切换、pagination.forceLoadMore(PC Table 触底下拉)、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>
|
|
@@ -811,7 +811,7 @@ const sharedGroups = [
|
|
|
811
811
|
|
|
812
812
|
const sharedGroupColumns = [
|
|
813
813
|
{ name: 'id', title: 'ID', width: 80, renderType: 'small' },
|
|
814
|
-
{ name: 'name', title: '共享组名称', width: 180, renderType: 'main' },
|
|
814
|
+
{ name: 'name', title: '共享组名称', width: 180, renderType: 'main', sort: true },
|
|
815
815
|
{ name: 'description', title: '描述', width: 320, renderType: 'description', ellipsis: true },
|
|
816
816
|
{
|
|
817
817
|
name: 'options',
|
|
@@ -825,79 +825,127 @@ const sharedGroupColumns = [
|
|
|
825
825
|
}
|
|
826
826
|
];
|
|
827
827
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
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。
|
|
844
875
|
</div>
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
<
|
|
848
|
-
<
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
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
|
+
/>
|
|
852
893
|
</Flex>
|
|
853
|
-
<div
|
|
854
|
-
style={{
|
|
855
|
-
display: '-webkit-box',
|
|
856
|
-
WebkitBoxOrient: 'vertical',
|
|
857
|
-
WebkitLineClamp: 2,
|
|
858
|
-
overflow: 'hidden',
|
|
859
|
-
fontSize: 13,
|
|
860
|
-
lineHeight: 1.5,
|
|
861
|
-
color: 'rgba(0,0,0,0.45)'
|
|
862
|
-
}}
|
|
863
|
-
>
|
|
864
|
-
{item.description}
|
|
865
|
-
</div>
|
|
866
|
-
</div>
|
|
867
|
-
</div>
|
|
868
|
-
);
|
|
869
894
|
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
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>
|
|
896
922
|
</Flex>
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
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
|
+
};
|
|
901
949
|
|
|
902
950
|
|
|
903
951
|
|
|
@@ -1242,7 +1290,7 @@ render(
|
|
|
1242
1290
|
<Flex vertical gap={32}>
|
|
1243
1291
|
<BaseExample />
|
|
1244
1292
|
<TreePageExample />
|
|
1245
|
-
<
|
|
1293
|
+
<SearchSelectSortMobileExample />
|
|
1246
1294
|
</Flex>
|
|
1247
1295
|
);
|
|
1248
1296
|
|
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;EACzB,yCAAyC;EACzC,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ChD;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;AACA;EACE,gCAAgC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;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/package.json
CHANGED